3 references to GetLogMethodAttributeParameter
Microsoft.Analyzers.Extra (3)
CallAnalysis\Fixers\LegacyLoggingFixer.cs (3)
203
var argLevel =
GetLogMethodAttributeParameter
(methodAttr.AttributeConstructor.Parameters, methodAttr.ConstructorArguments, "level");
211
var argMessage =
GetLogMethodAttributeParameter
(methodAttr.AttributeConstructor.Parameters, methodAttr.ConstructorArguments, "message");
642
var arg =
GetLogMethodAttributeParameter
(methodAttr.AttributeConstructor.Parameters, methodAttr.ConstructorArguments, "eventId");