4 references to DecodeNamedArgument
Microsoft.CodeAnalysis (4)
CommandLine\SarifV2ErrorLogger.cs (1)
80string? justification = suppressionInfo?.Attribute?.DecodeNamedArgument<string>("Justification", SpecialType.System_String);
DiagnosticAnalyzer\SuppressMessageAttributeState.cs (3)
401info.Scope = attribute.DecodeNamedArgument<string>("Scope", SpecialType.System_String); 402info.Target = attribute.DecodeNamedArgument<string>("Target", SpecialType.System_String); 403info.MessageId = attribute.DecodeNamedArgument<string>("MessageId", SpecialType.System_String);