1 write to Text
Microsoft.CodeAnalysis.Razor.Compiler (1)
Language\RazorCSharpDocument.cs (1)
51
Text
= text;
14 references to Text
Microsoft.CodeAnalysis.Razor.Compiler (13)
Language\RazorCSharpDocument.cs (2)
33
/// The generated C# code as a string. Prefer <see cref="
Text
"/>, which avoids materializing the
36
public string GeneratedCode =>
Text
.ToString();
SourceGenerators\RazorSourceGenerator.cs (11)
137
a.declCSharpDocument!.
Text
.ContentEquals(b.declCSharpDocument!.
Text
))
144
context.AddSource(GetDeclIdentifierFromHintName(hintName), declCSharpDocument!.
Text
);
157
.WithLambdaComparer(static (a, b) => a!.
Text
.ContentEquals(b!.
Text
))
160
CSharpSyntaxTree.ParseText(pair.Left!.
Text
, (CSharpParseOptions)pair.Right, cancellationToken: ct))
460
if (!a.csharpDocument.
Text
.ContentEquals(b.csharpDocument.
Text
))
468
(not null, not null) => a.declCSharpDocument.
Text
.ContentEquals(b.declCSharpDocument.
Text
),
498
context.AddSource(hintName, csharpDocument.
Text
);
rzc (1)
GenerateCommand.cs (1)
276
var generatedCode = result.CSharpDocument.
Text
.ToString();