15 references to ParserUtilities
Microsoft.Gen.Logging (15)
Parsing\Parser.cs (9)
106
var logPropertiesAttribute =
ParserUtilities
.GetSymbolAttributeAnnotationOrDefault(symbols.LogPropertiesAttribute, paramSymbol);
121
var tagProviderAttribute =
ParserUtilities
.GetSymbolAttributeAnnotationOrDefault(symbols.TagProviderAttribute, paramSymbol);
368
var attr =
ParserUtilities
.GetSymbolAttributeAnnotationOrDefault(symbols.LoggerMessageAttribute, methodSymbol)!;
474
.Where(x => x is not null && symbols.DataClassificationAttribute is not null &&
ParserUtilities
.IsBaseOrIdentity(x, symbols.DataClassificationAttribute, symbols.Compilation))
571
var tagNameAttribute =
ParserUtilities
.GetSymbolAttributeAnnotationOrDefault(symbols.TagNameAttribute, paramSymbol);
586
IsLogger = !parsingState.FoundLogger &&
ParserUtilities
.IsBaseOrIdentity(paramTypeSymbol, symbols.ILoggerSymbol, _compilation),
587
IsException = !parsingState.FoundException &&
ParserUtilities
.IsBaseOrIdentity(paramTypeSymbol, symbols.ExceptionSymbol, _compilation),
672
if (
ParserUtilities
.IsBaseOrIdentity(typeSymbol, loggerSymbol, _compilation))
716
if (
ParserUtilities
.IsBaseOrIdentity(parameter.Type, loggerSymbol, _compilation))
Parsing\Parser.LogProperties.cs (5)
130
var logPropertiesAttribute =
ParserUtilities
.GetSymbolAttributeAnnotationOrDefault(symbols.LogPropertiesAttribute, property);
131
var logPropertyIgnoreAttribute =
ParserUtilities
.GetSymbolAttributeAnnotationOrDefault(symbols.LogPropertyIgnoreAttribute, property);
132
var tagProviderAttribute =
ParserUtilities
.GetSymbolAttributeAnnotationOrDefault(symbols.TagProviderAttribute, property);
190
var tagNameAttribute =
ParserUtilities
.GetSymbolAttributeAnnotationOrDefault(symbols.TagNameAttribute, property);
242
if (
ParserUtilities
.PropertyHasModifier(property, SyntaxKind.NewKeyword, _cancellationToken))
Parsing\Parser.TagProvider.cs (1)
179
return
ParserUtilities
.IsBaseOrIdentity(type, target, _compilation);