7 references to IsBaseOrIdentity
Microsoft.Extensions.Logging.Generators (7)
LoggerMessageGenerator.Parser.cs (7)
433IsLogger = !foundLogger && IsBaseOrIdentity(paramTypeSymbol, _loggerSymbol, sm.Compilation),
434IsException = !foundException && IsBaseOrIdentity(paramTypeSymbol, _exceptionSymbol, sm.Compilation),
435IsLogLevel = !foundLogLevel && IsBaseOrIdentity(paramTypeSymbol, _logLevelSymbol, sm.Compilation),
436IsEnumerable = IsBaseOrIdentity(paramTypeSymbol, _enumerableSymbol, sm.Compilation) && !IsBaseOrIdentity(paramTypeSymbol, _stringSymbol, sm.Compilation),
708if (IsBaseOrIdentity(fs.Type, loggerSymbol, sm.Compilation))
743if (IsBaseOrIdentity(parameter.Type, loggerSymbol, sm.Compilation))