1 write to LogLevelParamIndex
Microsoft.Analyzers.Extra (1)
CallAnalysis\Fixers\LegacyLoggingFixer.FixDetails.cs (1)
40
(MessageParamIndex, ExceptionParamIndex, EventIdParamIndex,
LogLevelParamIndex
, ArgsParamIndex) = IdentifyParameters(method);
3 references to LogLevelParamIndex
Microsoft.Analyzers.Extra (3)
CallAnalysis\Fixers\LegacyLoggingFixer.cs (1)
482
if ((index == details.MessageParamIndex) || (index == details.
LogLevelParamIndex
))
CallAnalysis\Fixers\LegacyLoggingFixer.FixDetails.cs (2)
102
if (
LogLevelParamIndex
> 0)
106
var op = invocationOp.Arguments[
LogLevelParamIndex
].Descendants().SingleOrDefault(x => x.Kind == OperationKind.Literal || x.Kind == OperationKind.FieldReference);