1 write to ExceptionParamIndex
Microsoft.Analyzers.Extra (1)
CallAnalysis\Fixers\LegacyLoggingFixer.FixDetails.cs (1)
40(MessageParamIndex, ExceptionParamIndex, EventIdParamIndex, LogLevelParamIndex, ArgsParamIndex) = IdentifyParameters(method);
4 references to ExceptionParamIndex
Microsoft.Analyzers.Extra (4)
CallAnalysis\Fixers\LegacyLoggingFixer.cs (4)
384if (details.ExceptionParamIndex >= 0) 386parameters.Add(gen.ParameterDeclaration("exception", gen.TypeExpression(invocationOp.Arguments[details.ExceptionParamIndex].Value.Type!))); 434if (details.ExceptionParamIndex >= 0) 436args.Add(invocationOp.Arguments[details.ExceptionParamIndex].Value.Type!);