1 write to SemanticModel
Microsoft.CodeAnalysis (1)
SourceGeneration\Nodes\SyntaxValueProvider_ForAttributeWithMetadataName.cs (1)
52
SemanticModel
= semanticModel;
6 references to SemanticModel
Microsoft.Extensions.Logging.Generators (1)
LoggerMessageGenerator.Roslyn4.0.cs (1)
43
SemanticModel semanticModel = context.
SemanticModel
;
Microsoft.Extensions.Options.SourceGeneration (1)
Generator.cs (1)
24
(context, _) => (TypeSyntax:context.TargetNode as TypeDeclarationSyntax, SemanticModel: context.
SemanticModel
))
Microsoft.Interop.ComInterfaceGenerator (1)
ComClassGenerator.cs (1)
31
Compilation compilation = context.
SemanticModel
.Compilation;
Microsoft.Interop.SourceGeneration (1)
IncrementalGeneratorInitializationContextExtensions.cs (1)
33
(context, ct) => SymbolEqualityComparer.Default.Equals(context.Attributes[0].AttributeClass.ContainingAssembly, context.
SemanticModel
.Compilation.GetSpecialType(SpecialType.System_Object).ContainingAssembly))
System.Text.Json.SourceGeneration (1)
JsonSourceGenerator.Roslyn4.0.cs (1)
41
(context, _) => (ContextClass: (ClassDeclarationSyntax)context.TargetNode, context.
SemanticModel
))
System.Text.RegularExpressions.Generator (1)
RegexGenerator.Parser.cs (1)
39
SemanticModel sm = context.
SemanticModel
;