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