1 write to ParameterName
Microsoft.Gen.Logging (1)
Parsing\Parser.cs (1)
578
ParameterName
= paramName,
21 references to ParameterName
Microsoft.Gen.Logging (21)
Emission\Emitter.Method.cs (8)
77
var stateName = PickUniqueName("state", lm.Parameters.Select(p => p.
ParameterName
));
248
exceptionArg = p.
ParameterName
;
276
var tmpVarName = PickUniqueName("tmp", lm.Parameters.Select(p => p.
ParameterName
));
532
OutLn($"var {atSign}{p.
ParameterName
} = {lambdaStateName}.TagArray[{index}].Value ?? {Null};");
536
OutLn($"var {atSign}{p.
ParameterName
} = {lambdaStateName}.TagArray[{index}].Value;");
561
OutLn($"var {atSign}{p.
ParameterName
} = {lambdaStateName}.RedactedTagArray[{index}].Value ?? {Null};");
565
OutLn($"var {atSign}{p.
ParameterName
} = {lambdaStateName}.RedactedTagArray[{index}].Value;");
588
logger = p.
ParameterName
;
Emission\Emitter.Utils.cs (1)
58
level = p.
ParameterName
;
Model\LoggingMethod.cs (1)
63
if (parameterName == p.
ParameterName
)
Model\LoggingMethodParameter.cs (2)
38
public string ParameterNameWithAtIfNeeded => NeedsAtSign ? "@" +
ParameterName
:
ParameterName
;
Model\LoggingMethodParameterExtensions.cs (1)
19
PropertyName = parameter.
ParameterName
,
Parsing\Parser.cs (8)
162
lm.Templates.Contains($"@{lp.
ParameterName
}", StringComparer.OrdinalIgnoreCase);
167
Diag(DiagDescriptors.ShouldntMentionLoggerInMessage, attrLoc, lp.
ParameterName
);
172
Diag(DiagDescriptors.ShouldntMentionExceptionInMessage, attrLoc, lp.
ParameterName
);
177
Diag(DiagDescriptors.ShouldntMentionLogLevelInMessage, attrLoc, lp.
ParameterName
);
182
Diag(DiagDescriptors.ParameterHasNoCorrespondingTemplate, paramSymbol.GetLocation(), lp.
ParameterName
);
194
Diag(DiagDescriptors.RecordTypeSensitiveArgumentIsInTemplate, paramSymbol.GetLocation(), lp.
ParameterName
, lm.Name);
501
Diag(DiagDescriptors.TagNameCollision, parameterSymbols[parameter].GetLocation(), parameter.
ParameterName
, fullName, lm.Name);
507
Diag(DiagDescriptors.TagNameCollision, parameterSymbols[parameter].GetLocation(), parameter.
ParameterName
, parameter.TagName, lm.Name);