11 references to WRN_CallerArgumentExpressionAttributeHasInvalidParameterName
Microsoft.CodeAnalysis.CSharp (4)
Errors\ErrorFacts.cs (2)
507
case ErrorCode.
WRN_CallerArgumentExpressionAttributeHasInvalidParameterName
:
2216
or ErrorCode.
WRN_CallerArgumentExpressionAttributeHasInvalidParameterName
Generated\ErrorFacts.Generated.cs (1)
276
case ErrorCode.
WRN_CallerArgumentExpressionAttributeHasInvalidParameterName
:
Symbols\Source\SourceComplexParameterSymbol.cs (1)
1233
diagnostics.Add(ErrorCode.
WRN_CallerArgumentExpressionAttributeHasInvalidParameterName
, node.Name.Location, ParameterSyntax.Identifier.ValueText);
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (6)
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));
Semantics\ExtensionTests2.cs (2)
34386
Diagnostic(ErrorCode.
WRN_CallerArgumentExpressionAttributeHasInvalidParameterName
, "System.Runtime.CompilerServices.CallerArgumentExpression").WithArguments("caller").WithLocation(5, 35));
34641
Diagnostic(ErrorCode.
WRN_CallerArgumentExpressionAttributeHasInvalidParameterName
, "System.Runtime.CompilerServices.CallerArgumentExpression").WithArguments("caller").WithLocation(6, 14));
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (1)
Diagnostics\DiagnosticTest.cs (1)
300
case ErrorCode.
WRN_CallerArgumentExpressionAttributeHasInvalidParameterName
: