11 references to WRN_CallerArgumentExpressionAttributeSelfReferential
Microsoft.CodeAnalysis.CSharp (4)
Errors\ErrorFacts.cs (2)
508case ErrorCode.WRN_CallerArgumentExpressionAttributeSelfReferential: 2218or ErrorCode.WRN_CallerArgumentExpressionAttributeSelfReferential
Generated\ErrorFacts.Generated.cs (1)
277case ErrorCode.WRN_CallerArgumentExpressionAttributeSelfReferential:
Symbols\Source\SourceComplexParameterSymbol.cs (1)
1238diagnostics.Add(ErrorCode.WRN_CallerArgumentExpressionAttributeSelfReferential, node.Name.Location, ParameterSyntax.Identifier.ValueText);
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (6)
Attributes\AttributeTests_CallerInfoAttributes.cs (2)
1351Diagnostic(ErrorCode.WRN_CallerArgumentExpressionAttributeSelfReferential, "CallerArgumentExpression").WithArguments("p").WithLocation(11, 10) 1854Diagnostic(ErrorCode.WRN_CallerArgumentExpressionAttributeSelfReferential, "CallerArgumentExpression").WithArguments("p").WithLocation(10, 10)
Semantics\ExtensionTests2.cs (4)
34363Diagnostic(ErrorCode.WRN_CallerArgumentExpressionAttributeSelfReferential, "System.Runtime.CompilerServices.CallerArgumentExpression").WithArguments("caller").WithLocation(5, 28)); 34431Diagnostic(ErrorCode.WRN_CallerArgumentExpressionAttributeSelfReferential, "System.Runtime.CompilerServices.CallerArgumentExpression").WithArguments("s").WithLocation(3, 16)); 34521Diagnostic(ErrorCode.WRN_CallerArgumentExpressionAttributeSelfReferential, "System.Runtime.CompilerServices.CallerArgumentExpression").WithArguments("caller").WithLocation(5, 28)); 34551Diagnostic(ErrorCode.WRN_CallerArgumentExpressionAttributeSelfReferential, "System.Runtime.CompilerServices.CallerArgumentExpression").WithArguments("caller").WithLocation(8, 25));
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (1)
Diagnostics\DiagnosticTest.cs (1)
301case ErrorCode.WRN_CallerArgumentExpressionAttributeSelfReferential: