11 references to WRN_CallerArgumentExpressionAttributeHasInvalidParameterName
Microsoft.CodeAnalysis.CSharp (4)
Errors\ErrorFacts.cs (2)
507case ErrorCode.WRN_CallerArgumentExpressionAttributeHasInvalidParameterName: 2216or ErrorCode.WRN_CallerArgumentExpressionAttributeHasInvalidParameterName
Generated\ErrorFacts.Generated.cs (1)
276case ErrorCode.WRN_CallerArgumentExpressionAttributeHasInvalidParameterName:
Symbols\Source\SourceComplexParameterSymbol.cs (1)
1233diagnostics.Add(ErrorCode.WRN_CallerArgumentExpressionAttributeHasInvalidParameterName, node.Name.Location, ParameterSyntax.Identifier.ValueText);
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (6)
Attributes\AttributeTests_CallerInfoAttributes.cs (4)
379Diagnostic(ErrorCode.WRN_CallerArgumentExpressionAttributeHasInvalidParameterName, "CallerArgumentExpression").WithArguments("s2").WithLocation(29, 33) 771Diagnostic(ErrorCode.WRN_CallerArgumentExpressionAttributeHasInvalidParameterName, "CallerArgumentExpression").WithArguments("arg").WithLocation(12, 22) 1617Diagnostic(ErrorCode.WRN_CallerArgumentExpressionAttributeHasInvalidParameterName, "CallerArgumentExpression").WithArguments("arg").WithLocation(9, 25) 5945Diagnostic(ErrorCode.WRN_CallerArgumentExpressionAttributeHasInvalidParameterName, "CallerArgumentExpression").WithArguments("argumentExpression").WithLocation(27, 29));
Semantics\ExtensionTests2.cs (2)
34386Diagnostic(ErrorCode.WRN_CallerArgumentExpressionAttributeHasInvalidParameterName, "System.Runtime.CompilerServices.CallerArgumentExpression").WithArguments("caller").WithLocation(5, 35)); 34641Diagnostic(ErrorCode.WRN_CallerArgumentExpressionAttributeHasInvalidParameterName, "System.Runtime.CompilerServices.CallerArgumentExpression").WithArguments("caller").WithLocation(6, 14));
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (1)
Diagnostics\DiagnosticTest.cs (1)
300case ErrorCode.WRN_CallerArgumentExpressionAttributeHasInvalidParameterName: