1 write to _compilation
Microsoft.Extensions.Logging.Generators (1)
LoggerMessageGenerator.Parser.cs (1)
29
_compilation
= compilation;
8 references to _compilation
Microsoft.Extensions.Logging.Generators (8)
LoggerMessageGenerator.Parser.cs (8)
39
INamedTypeSymbol? loggerMessageAttribute =
_compilation
.GetBestTypeByMetadataName(LoggerMessageAttribute);
46
INamedTypeSymbol? loggerSymbol =
_compilation
.GetBestTypeByMetadataName("Microsoft.Extensions.Logging.ILogger");
53
INamedTypeSymbol? logLevelSymbol =
_compilation
.GetBestTypeByMetadataName("Microsoft.Extensions.Logging.LogLevel");
60
INamedTypeSymbol? exceptionSymbol =
_compilation
.GetBestTypeByMetadataName("System.Exception");
67
INamedTypeSymbol enumerableSymbol =
_compilation
.GetSpecialType(SpecialType.System_Collections_IEnumerable);
68
INamedTypeSymbol stringSymbol =
_compilation
.GetSpecialType(SpecialType.System_String);
78
SemanticModel sm =
_compilation
.GetSemanticModel(syntaxTree);
594
if (results.Count > 0 &&
_compilation
is CSharpCompilation { LanguageVersion : LanguageVersion version and < LanguageVersion.CSharp8 })