51 references to WRN_ArgExpectedRefOrIn
Microsoft.CodeAnalysis.CSharp (6)
Binder\Binder_Expressions.cs (2)
3965
ErrorCode.
WRN_ArgExpectedRefOrIn
,
6581
if (!((ErrorCode)diagnostic.Code is ErrorCode.
WRN_ArgExpectedRefOrIn
or ErrorCode.WRN_ArgExpectedIn))
Binder\Binder_InterpolatedString.cs (1)
838
or ErrorCode.
WRN_ArgExpectedRefOrIn
Errors\ErrorFacts.cs (2)
555
case ErrorCode.
WRN_ArgExpectedRefOrIn
:
2409
or ErrorCode.
WRN_ArgExpectedRefOrIn
Generated\ErrorFacts.Generated.cs (1)
328
case ErrorCode.
WRN_ArgExpectedRefOrIn
:
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (41)
RefReadonlyParameterTests.cs (40)
827
Diagnostic(ErrorCode.
WRN_ArgExpectedRefOrIn
, "p").WithArguments("1").WithLocation(6, 20),
1610
Diagnostic(ErrorCode.
WRN_ArgExpectedRefOrIn
, "x").WithArguments("1").WithLocation(6, 13)
2338
Diagnostic(ErrorCode.
WRN_ArgExpectedRefOrIn
, "x").WithArguments("1").WithLocation(7, 11));
2898
Diagnostic(ErrorCode.
WRN_ArgExpectedRefOrIn
, "M1()").WithArguments("1").WithLocation(7, 12),
3148
Diagnostic(ErrorCode.
WRN_ArgExpectedRefOrIn
, "x").WithArguments("1").WithLocation(7, 11));
3190
Diagnostic(ErrorCode.
WRN_ArgExpectedRefOrIn
, "x").WithArguments("1").WithLocation(7, 11));
3217
Diagnostic(ErrorCode.
WRN_ArgExpectedRefOrIn
, "x").WithArguments("1").WithLocation(6, 13)
3243
Diagnostic(ErrorCode.
WRN_ArgExpectedRefOrIn
, "x").WithArguments("1").WithLocation(7, 15));
3294
Diagnostic(ErrorCode.
WRN_ArgExpectedRefOrIn
, "x").WithArguments("1").WithLocation(16, 15));
3340
Diagnostic(ErrorCode.
WRN_ArgExpectedRefOrIn
, "x").WithArguments("1").WithLocation(8, 11));
3389
Diagnostic(ErrorCode.
WRN_ArgExpectedRefOrIn
, "x").WithArguments("1").WithLocation(12, 14),
3392
Diagnostic(ErrorCode.
WRN_ArgExpectedRefOrIn
, "x").WithArguments("1").WithLocation(13, 14),
3395
Diagnostic(ErrorCode.
WRN_ArgExpectedRefOrIn
, "y").WithArguments("2").WithLocation(14, 17));
3600
Diagnostic(ErrorCode.
WRN_ArgExpectedRefOrIn
, "i").WithArguments("2").WithLocation(3, 33));
3992
Diagnostic(ErrorCode.
WRN_ArgExpectedRefOrIn
, "x").WithArguments("2").WithLocation(4, 11));
4266
Diagnostic(ErrorCode.
WRN_ArgExpectedRefOrIn
, "i").WithArguments("1").WithLocation(7, 41));
4569
Diagnostic(ErrorCode.
WRN_ArgExpectedRefOrIn
, "x").WithArguments("1").WithLocation(7, 13);
4620
Diagnostic(ErrorCode.
WRN_ArgExpectedRefOrIn
, "x").WithArguments("1").WithLocation(7, 13);
4754
Diagnostic(ErrorCode.
WRN_ArgExpectedRefOrIn
, "x").WithArguments("1").WithLocation(7, 14),
4757
Diagnostic(ErrorCode.
WRN_ArgExpectedRefOrIn
, "y").WithArguments("1").WithLocation(13, 14)
4935
Diagnostic(ErrorCode.
WRN_ArgExpectedRefOrIn
, "x").WithArguments("1").WithLocation(6, 11)
5330
Diagnostic(ErrorCode.
WRN_ArgExpectedRefOrIn
, "x").WithArguments("1").WithLocation(9, 14),
5333
Diagnostic(ErrorCode.
WRN_ArgExpectedRefOrIn
, "x").WithArguments("2").WithLocation(11, 15),
5336
Diagnostic(ErrorCode.
WRN_ArgExpectedRefOrIn
, "x").WithArguments("1").WithLocation(13, 14),
5339
Diagnostic(ErrorCode.
WRN_ArgExpectedRefOrIn
, "x").WithArguments("1").WithLocation(14, 12),
5342
Diagnostic(ErrorCode.
WRN_ArgExpectedRefOrIn
, "x").WithArguments("1").WithLocation(15, 12),
5345
Diagnostic(ErrorCode.
WRN_ArgExpectedRefOrIn
, "x").WithArguments("2").WithLocation(15, 15),
5348
Diagnostic(ErrorCode.
WRN_ArgExpectedRefOrIn
, "x").WithArguments("2").WithLocation(17, 18));
5905
Diagnostic(ErrorCode.
WRN_ArgExpectedRefOrIn
, "x").WithArguments("1").WithLocation(14, 13));
6053
Diagnostic(ErrorCode.
WRN_ArgExpectedRefOrIn
, "x").WithArguments("1").WithLocation(14, 13));
6156
Diagnostic(ErrorCode.
WRN_ArgExpectedRefOrIn
, "x").WithArguments("1").WithLocation(14, 13));
6189
Diagnostic(ErrorCode.
WRN_ArgExpectedRefOrIn
, "x").WithArguments("1").WithLocation(14, 13));
6228
Diagnostic(ErrorCode.
WRN_ArgExpectedRefOrIn
, "x").WithArguments("1").WithLocation(14, 13));
6264
Diagnostic(ErrorCode.
WRN_ArgExpectedRefOrIn
, "x").WithArguments("1").WithLocation(14, 13));
6322
Diagnostic(ErrorCode.
WRN_ArgExpectedRefOrIn
, "x").WithArguments("1").WithLocation(30, 15));
6377
Diagnostic(ErrorCode.
WRN_ArgExpectedRefOrIn
, "x").WithArguments("1").WithLocation(30, 15));
6493
Diagnostic(ErrorCode.
WRN_ArgExpectedRefOrIn
, "x").WithArguments("1").WithLocation(16, 14),
6496
Diagnostic(ErrorCode.
WRN_ArgExpectedRefOrIn
, "x").WithArguments("1").WithLocation(20, 14));
6547
Diagnostic(ErrorCode.
WRN_ArgExpectedRefOrIn
, "x").WithArguments("1").WithLocation(24, 14),
6550
Diagnostic(ErrorCode.
WRN_ArgExpectedRefOrIn
, "x").WithArguments("1").WithLocation(28, 14));
Semantics\ExtensionTests.cs (1)
35195
Diagnostic(ErrorCode.
WRN_ArgExpectedRefOrIn
, "i").WithArguments("1").WithLocation(2, 7));
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (3)
Semantics\InterpolationTests.cs (1)
8721
Diagnostic(ErrorCode.
WRN_ArgExpectedRefOrIn
, "i").WithArguments("1").WithLocation(8, 5)
Semantics\RawInterpolationTests_Handler.cs (1)
6767
Diagnostic(ErrorCode.
WRN_ArgExpectedRefOrIn
, "i").WithArguments("1").WithLocation(8, 5)
Semantics\RefFieldTests.cs (1)
32016
Diagnostic(ErrorCode.
WRN_ArgExpectedRefOrIn
, "GetValue().F").WithArguments("1").WithLocation(11, 11));
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (1)
Diagnostics\DiagnosticTest.cs (1)
317
case ErrorCode.
WRN_ArgExpectedRefOrIn
: