9 references to WRN_CallerArgumentExpressionAttributeHasInvalidParameterName
Microsoft.CodeAnalysis.CSharp (4)
Errors\ErrorFacts.cs (2)
508
case ErrorCode.
WRN_CallerArgumentExpressionAttributeHasInvalidParameterName
:
2218
or ErrorCode.
WRN_CallerArgumentExpressionAttributeHasInvalidParameterName
Generated\ErrorFacts.Generated.cs (1)
277
case ErrorCode.
WRN_CallerArgumentExpressionAttributeHasInvalidParameterName
:
Symbols\Source\SourceComplexParameterSymbol.cs (1)
1201
diagnostics.Add(ErrorCode.
WRN_CallerArgumentExpressionAttributeHasInvalidParameterName
, node.Name.Location, ParameterSyntax.Identifier.ValueText);
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (4)
Attributes\AttributeTests_CallerInfoAttributes.cs (4)
379
Diagnostic(ErrorCode.
WRN_CallerArgumentExpressionAttributeHasInvalidParameterName
, "CallerArgumentExpression").WithArguments("s2").WithLocation(29, 33)
771
Diagnostic(ErrorCode.
WRN_CallerArgumentExpressionAttributeHasInvalidParameterName
, "CallerArgumentExpression").WithArguments("arg").WithLocation(12, 22)
1617
Diagnostic(ErrorCode.
WRN_CallerArgumentExpressionAttributeHasInvalidParameterName
, "CallerArgumentExpression").WithArguments("arg").WithLocation(9, 25)
5945
Diagnostic(ErrorCode.
WRN_CallerArgumentExpressionAttributeHasInvalidParameterName
, "CallerArgumentExpression").WithArguments("argumentExpression").WithLocation(27, 29));
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (1)
Diagnostics\DiagnosticTest.cs (1)
300
case ErrorCode.
WRN_CallerArgumentExpressionAttributeHasInvalidParameterName
: