2 writes to TypeSource
Microsoft.AspNetCore.Mvc.Razor.Extensions.UnitTests (1)
InjectTargetExtensionTest.cs (1)
53
TypeSource
= new SourceSpan(
Microsoft.CodeAnalysis.Razor.Compiler (1)
Mvc\InjectDirective.cs (1)
100
TypeSource
= typeSpan,
3 references to TypeSource
Microsoft.CodeAnalysis.Razor.Compiler (3)
Mvc\InjectTargetExtension.cs (3)
28
if (!context.Options.DesignTime && !string.IsNullOrWhiteSpace(node.
TypeSource
?.FilePath))
33
using (context.BuildEnhancedLinePragma(node.
TypeSource
.Value))
41
context.CodeWriter.WriteAutoPropertyDeclaration(["public"], node.TypeName, memberName, node.
TypeSource
, node.MemberSource, context, privateSetter: true, defaultValue: true);