43 references to WRN_BadArgRef
Microsoft.CodeAnalysis.CSharp (5)
Binder\Binder_Expressions.cs (1)
4007
ErrorCode.
WRN_BadArgRef
,
Binder\Binder_InterpolatedString.cs (1)
836
if (!((ErrorCode)diagnostic.Code is ErrorCode.
WRN_BadArgRef
Errors\ErrorFacts.cs (2)
554
case ErrorCode.
WRN_BadArgRef
:
2410
or ErrorCode.
WRN_BadArgRef
Generated\ErrorFacts.Generated.cs (1)
327
case ErrorCode.
WRN_BadArgRef
:
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (1)
CodeGen\CodeGenFunctionPointersTests.cs (1)
7371
Diagnostic(ErrorCode.
WRN_BadArgRef
, "s").WithArguments("1").WithLocation(17, 20),
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (23)
RefReadonlyParameterTests.cs (21)
997
Diagnostic(ErrorCode.
WRN_BadArgRef
, "x").WithArguments("1").WithLocation(7, 17));
3449
Diagnostic(ErrorCode.
WRN_BadArgRef
, "i").WithArguments("2").WithLocation(10, 58));
3476
Diagnostic(ErrorCode.
WRN_BadArgRef
, "i").WithArguments("2").WithLocation(8, 36)
4013
Diagnostic(ErrorCode.
WRN_BadArgRef
, "i").WithArguments("1").WithLocation(7, 45)
4057
Diagnostic(ErrorCode.
WRN_BadArgRef
, "i").WithArguments("1").WithLocation(8, 45)
4098
Diagnostic(ErrorCode.
WRN_BadArgRef
, "i").WithArguments("1").WithLocation(8, 45));
4157
Diagnostic(ErrorCode.
WRN_BadArgRef
, "i").WithArguments("1").WithLocation(2, 37)
4309
Diagnostic(ErrorCode.
WRN_BadArgRef
, "i").WithArguments("1").WithLocation(11, 53));
4333
Diagnostic(ErrorCode.
WRN_BadArgRef
, "i").WithArguments("2").WithLocation(7, 51),
4336
Diagnostic(ErrorCode.
WRN_BadArgRef
, "i").WithArguments("3").WithLocation(7, 58));
4371
Diagnostic(ErrorCode.
WRN_BadArgRef
, "i").WithArguments("2").WithLocation(8, 51),
4374
Diagnostic(ErrorCode.
WRN_BadArgRef
, "i").WithArguments("3").WithLocation(8, 58));
4409
Diagnostic(ErrorCode.
WRN_BadArgRef
, "i").WithArguments("2").WithLocation(8, 51),
4412
Diagnostic(ErrorCode.
WRN_BadArgRef
, "i").WithArguments("3").WithLocation(8, 58));
4439
Diagnostic(ErrorCode.
WRN_BadArgRef
, "i").WithArguments("3").WithLocation(7, 57)
4468
Diagnostic(ErrorCode.
WRN_BadArgRef
, "i").WithArguments("2").WithLocation(7, 51),
4471
Diagnostic(ErrorCode.
WRN_BadArgRef
, "i").WithArguments("3").WithLocation(7, 58));
5930
Diagnostic(ErrorCode.
WRN_BadArgRef
, "x").WithArguments("1").WithLocation(12, 17));
5992
Diagnostic(ErrorCode.
WRN_BadArgRef
, "x").WithArguments("1").WithLocation(28, 19));
6398
Diagnostic(ErrorCode.
WRN_BadArgRef
, "x").WithArguments("1").WithLocation(12, 17));
6434
Diagnostic(ErrorCode.
WRN_BadArgRef
, "x").WithArguments("1").WithLocation(12, 17));
Semantics\CollectionExpressionTests_WithElement_Extra.cs (1)
4001
Diagnostic(ErrorCode.
WRN_BadArgRef
, "x").WithArguments("1").WithLocation(11, 15));
Semantics\ExtensionTests.cs (1)
35336
Diagnostic(ErrorCode.
WRN_BadArgRef
, "i").WithArguments("1").WithLocation(2, 11));
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (13)
Semantics\OverloadResolutionTests.cs (11)
9474
Diagnostic(ErrorCode.
WRN_BadArgRef
, "x").WithArguments("1").WithLocation(11, 20)
9572
Diagnostic(ErrorCode.
WRN_BadArgRef
, "x").WithArguments("1").WithLocation(8, 15));
9596
Diagnostic(ErrorCode.
WRN_BadArgRef
, "x").WithArguments("1").WithLocation(7, 17)
9628
Diagnostic(ErrorCode.
WRN_BadArgRef
, "x").WithArguments("1").WithLocation(8, 19)
9667
Diagnostic(ErrorCode.
WRN_BadArgRef
, "x").WithArguments("1").WithLocation(15, 25)
9700
Diagnostic(ErrorCode.
WRN_BadArgRef
, "x").WithArguments("1").WithLocation(9, 15)
9735
Diagnostic(ErrorCode.
WRN_BadArgRef
, "x").WithArguments("1").WithLocation(8, 15)
9767
Diagnostic(ErrorCode.
WRN_BadArgRef
, "y").WithArguments("2").WithLocation(13, 28),
9770
Diagnostic(ErrorCode.
WRN_BadArgRef
, "x").WithArguments("1").WithLocation(15, 18));
9837
Diagnostic(ErrorCode.
WRN_BadArgRef
, "i").WithArguments("2").WithLocation(8, 58)
9868
Diagnostic(ErrorCode.
WRN_BadArgRef
, "i").WithArguments("2").WithLocation(8, 36)
Semantics\RefFieldTests.cs (1)
31692
Diagnostic(ErrorCode.
WRN_BadArgRef
, "GetS().F1").WithArguments("1").WithLocation(11, 15)
Semantics\RefLocalsAndReturnsTests.cs (1)
1550
Diagnostic(ErrorCode.
WRN_BadArgRef
, "x").WithArguments("2").WithLocation(10, 26),
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (1)
Diagnostics\DiagnosticTest.cs (1)
316
case ErrorCode.
WRN_BadArgRef
: