public void RenderTagHelperAttributeInline_NonString_StatementInAttribute_Errors()
        {
            // Arrange
            var extension = new DefaultTagHelperTargetExtension();
            var context   = TestCodeRenderingContext.CreateRuntime();
            var node      = new DefaultTagHelperPropertyIntermediateNode()
            {
                BoundAttribute     = IntPropertyTagHelper.BoundAttributes.Single(),
                IsIndexerNameMatch = false,
            };
            var expectedLocation   = new SourceSpan(100, 10);
            var expectedDiagnostic = RazorDiagnosticFactory.CreateTagHelper_CodeBlocksNotSupportedInAttributes(expectedLocation);

            // Act
            extension.RenderTagHelperAttributeInline(context, node, new CSharpCodeIntermediateNode(), expectedLocation);

            // Assert
            var diagnostic = Assert.Single(context.Diagnostics);

            Assert.Equal(expectedDiagnostic, diagnostic);
        }