42 references to WRN_BadArgRef
Microsoft.CodeAnalysis.CSharp (5)
Binder\Binder_Expressions.cs (1)
3921
ErrorCode.
WRN_BadArgRef
,
Binder\Binder_InterpolatedString.cs (1)
836
if (!((ErrorCode)diagnostic.Code is ErrorCode.
WRN_BadArgRef
Errors\ErrorFacts.cs (2)
555
case ErrorCode.
WRN_BadArgRef
:
2409
or ErrorCode.
WRN_BadArgRef
Generated\ErrorFacts.Generated.cs (1)
328
case ErrorCode.
WRN_BadArgRef
:
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (1)
CodeGen\CodeGenFunctionPointersTests.cs (1)
7373
Diagnostic(ErrorCode.
WRN_BadArgRef
, "s").WithArguments("1").WithLocation(17, 20),
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (22)
RefReadonlyParameterTests.cs (21)
970
Diagnostic(ErrorCode.
WRN_BadArgRef
, "x").WithArguments("1").WithLocation(7, 17));
3440
Diagnostic(ErrorCode.
WRN_BadArgRef
, "i").WithArguments("2").WithLocation(10, 58));
3467
Diagnostic(ErrorCode.
WRN_BadArgRef
, "i").WithArguments("2").WithLocation(8, 36)
4004
Diagnostic(ErrorCode.
WRN_BadArgRef
, "i").WithArguments("1").WithLocation(7, 45)
4048
Diagnostic(ErrorCode.
WRN_BadArgRef
, "i").WithArguments("1").WithLocation(8, 45)
4089
Diagnostic(ErrorCode.
WRN_BadArgRef
, "i").WithArguments("1").WithLocation(8, 45));
4148
Diagnostic(ErrorCode.
WRN_BadArgRef
, "i").WithArguments("1").WithLocation(2, 37)
4300
Diagnostic(ErrorCode.
WRN_BadArgRef
, "i").WithArguments("1").WithLocation(11, 53));
4324
Diagnostic(ErrorCode.
WRN_BadArgRef
, "i").WithArguments("2").WithLocation(7, 51),
4327
Diagnostic(ErrorCode.
WRN_BadArgRef
, "i").WithArguments("3").WithLocation(7, 58));
4362
Diagnostic(ErrorCode.
WRN_BadArgRef
, "i").WithArguments("2").WithLocation(8, 51),
4365
Diagnostic(ErrorCode.
WRN_BadArgRef
, "i").WithArguments("3").WithLocation(8, 58));
4400
Diagnostic(ErrorCode.
WRN_BadArgRef
, "i").WithArguments("2").WithLocation(8, 51),
4403
Diagnostic(ErrorCode.
WRN_BadArgRef
, "i").WithArguments("3").WithLocation(8, 58));
4430
Diagnostic(ErrorCode.
WRN_BadArgRef
, "i").WithArguments("3").WithLocation(7, 57)
4459
Diagnostic(ErrorCode.
WRN_BadArgRef
, "i").WithArguments("2").WithLocation(7, 51),
4462
Diagnostic(ErrorCode.
WRN_BadArgRef
, "i").WithArguments("3").WithLocation(7, 58));
5921
Diagnostic(ErrorCode.
WRN_BadArgRef
, "x").WithArguments("1").WithLocation(12, 17));
5983
Diagnostic(ErrorCode.
WRN_BadArgRef
, "x").WithArguments("1").WithLocation(28, 19));
6389
Diagnostic(ErrorCode.
WRN_BadArgRef
, "x").WithArguments("1").WithLocation(12, 17));
6425
Diagnostic(ErrorCode.
WRN_BadArgRef
, "x").WithArguments("1").WithLocation(12, 17));
Semantics\ExtensionTests.cs (1)
30588
Diagnostic(ErrorCode.
WRN_BadArgRef
, "i").WithArguments("1").WithLocation(2, 11));
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (13)
Semantics\OverloadResolutionTests.cs (11)
9477
Diagnostic(ErrorCode.
WRN_BadArgRef
, "x").WithArguments("1").WithLocation(11, 20)
9575
Diagnostic(ErrorCode.
WRN_BadArgRef
, "x").WithArguments("1").WithLocation(8, 15));
9599
Diagnostic(ErrorCode.
WRN_BadArgRef
, "x").WithArguments("1").WithLocation(7, 17)
9631
Diagnostic(ErrorCode.
WRN_BadArgRef
, "x").WithArguments("1").WithLocation(8, 19)
9670
Diagnostic(ErrorCode.
WRN_BadArgRef
, "x").WithArguments("1").WithLocation(15, 25)
9703
Diagnostic(ErrorCode.
WRN_BadArgRef
, "x").WithArguments("1").WithLocation(9, 15)
9738
Diagnostic(ErrorCode.
WRN_BadArgRef
, "x").WithArguments("1").WithLocation(8, 15)
9770
Diagnostic(ErrorCode.
WRN_BadArgRef
, "y").WithArguments("2").WithLocation(13, 28),
9773
Diagnostic(ErrorCode.
WRN_BadArgRef
, "x").WithArguments("1").WithLocation(15, 18));
9840
Diagnostic(ErrorCode.
WRN_BadArgRef
, "i").WithArguments("2").WithLocation(8, 58)
9871
Diagnostic(ErrorCode.
WRN_BadArgRef
, "i").WithArguments("2").WithLocation(8, 36)
Semantics\RefFieldTests.cs (1)
31547
Diagnostic(ErrorCode.
WRN_BadArgRef
, "GetS().F1").WithArguments("1").WithLocation(11, 15)
Semantics\RefLocalsAndReturnsTests.cs (1)
1553
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
: