16 references to GetBestTypeByMetadataName
Microsoft.Gen.Logging (16)
Parsing\SymbolLoader.cs (14)
56var loggerSymbol = compilation.GetBestTypeByMetadataName(ILoggerType); 57var logLevelSymbol = compilation.GetBestTypeByMetadataName(LogLevelType); 58var loggerMessageAttributeSymbol = compilation.GetBestTypeByMetadataName(LoggerMessageAttribute); 59var logPropertiesAttributeSymbol = compilation.GetBestTypeByMetadataName(LogPropertiesAttribute); 60var tagProviderAttributeSymbol = compilation.GetBestTypeByMetadataName(TagProviderAttribute); 61var tagNameAttributeSymbol = compilation.GetBestTypeByMetadataName(TagNameAttribute); 62var tagCollectorSymbol = compilation.GetBestTypeByMetadataName(ITagCollectorType); 63var logPropertyIgnoreAttributeSymbol = compilation.GetBestTypeByMetadataName(LogPropertyIgnoreAttribute); 64var dataClassificationAttribute = compilation.GetBestTypeByMetadataName(DataClassificationAttribute); 65var noDataClassificationAttribute = compilation.GetBestTypeByMetadataName(NoDataClassificationAttribute); 82var exceptionSymbol = compilation.GetBestTypeByMetadataName(ExceptionType); 90var formatProviderSymbol = compilation.GetBestTypeByMetadataName(IFormatProviderType)!; 91var spanFormattableSymbol = compilation.GetBestTypeByMetadataName(ISpanFormattableType); 97var s = compilation.GetBestTypeByMetadataName(ign);
src\Generators\Shared\RoslynExtensions.cs (2)
96/// A thin wrapper over <see cref="GetBestTypeByMetadataName(Compilation, string)"/>, 104: GetBestTypeByMetadataName(compilation, type.FullName);