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