8 writes to Content
Microsoft.AspNetCore.Razor.Language.UnitTests (6)
CodeGeneration\DesignTimeNodeWriterTest.cs (3)
29Content = "System" 56Content = "System", 92Content = "System",
CodeGeneration\RuntimeNodeWriterTest.cs (3)
30Content = "System", 54Content = "System", 85Content = "System",
Microsoft.CodeAnalysis.Razor.Compiler (2)
Language\DefaultRazorIntermediateNodeLoweringPhase.cs (1)
118Content = reference.Namespace,
Mvc\ModelDirective.cs (1)
100Content = $"TModel = {typeName}"
17 references to Content
Microsoft.AspNetCore.Mvc.Razor.Extensions.UnitTests (2)
ModelDirectiveTest.cs (2)
206Assert.Equal($"TModel = global::{typeof(object).FullName}", usingNode.Content); 238Assert.Equal($"TModel = global::System.Object", usingNode.Content);
Microsoft.AspNetCore.Razor.Test.Common (2)
Language\IntegrationTests\IntermediateNodeWriter.cs (1)
122WriteContentNode(node, node.Content);
Language\Intermediate\IntermediateNodeAssert.cs (1)
141Assert.Equal(expected, @using.Content);
Microsoft.CodeAnalysis.Razor.Compiler (12)
Language\CodeGeneration\DesignTimeNodeWriter.cs (2)
26context.CodeWriter.WriteUsing(node.Content); 31context.CodeWriter.WriteUsing(node.Content);
Language\CodeGeneration\RuntimeNodeWriter.cs (2)
43context.CodeWriter.WriteUsing(node.Content, endLine: node.HasExplicitSemicolon); 57context.CodeWriter.WriteUsing(node.Content);
Language\Components\ComponentDesignTimeNodeWriter.cs (2)
75context.CodeWriter.WriteUsing(node.Content); 80context.CodeWriter.WriteUsing(node.Content);
Language\Components\ComponentLoweringPass.cs (1)
102var usingNamespace = usings[j].Content;
Language\Components\ComponentRuntimeNodeWriter.cs (2)
322context.CodeWriter.WriteUsing(node.Content, endLine: node.HasExplicitSemicolon); 336context.CodeWriter.WriteUsing(node.Content, endLine: true);
Language\Intermediate\UsingDirectiveIntermediateNode.cs (3)
32formatter.WriteContent(Content); 34formatter.WriteProperty(nameof(Content), Content);
Microsoft.CodeAnalysis.Razor.Workspaces (1)
CodeActions\Razor\ExtractToCodeBehindCodeActionResolver.cs (1)
92var content = usingDirective.Content;