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)
39INamedTypeSymbol? loggerMessageAttribute = _compilation.GetBestTypeByMetadataName(LoggerMessageAttribute); 46INamedTypeSymbol? loggerSymbol = _compilation.GetBestTypeByMetadataName("Microsoft.Extensions.Logging.ILogger"); 53INamedTypeSymbol? logLevelSymbol = _compilation.GetBestTypeByMetadataName("Microsoft.Extensions.Logging.LogLevel"); 60INamedTypeSymbol? exceptionSymbol = _compilation.GetBestTypeByMetadataName("System.Exception"); 67INamedTypeSymbol enumerableSymbol = _compilation.GetSpecialType(SpecialType.System_Collections_IEnumerable); 68INamedTypeSymbol stringSymbol = _compilation.GetSpecialType(SpecialType.System_String); 78SemanticModel sm = _compilation.GetSemanticModel(syntaxTree); 594if (results.Count > 0 && _compilation is CSharpCompilation { LanguageVersion : LanguageVersion version and < LanguageVersion.CSharp8 })