51 references to WRN_ArgExpectedRefOrIn
Microsoft.CodeAnalysis.CSharp (6)
Binder\Binder_Expressions.cs (2)
3944
ErrorCode.
WRN_ArgExpectedRefOrIn
,
6554
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)
556
case ErrorCode.
WRN_ArgExpectedRefOrIn
:
2410
or ErrorCode.
WRN_ArgExpectedRefOrIn
Generated\ErrorFacts.Generated.cs (1)
329
case ErrorCode.
WRN_ArgExpectedRefOrIn
:
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (41)
RefReadonlyParameterTests.cs (40)
803
Diagnostic(ErrorCode.
WRN_ArgExpectedRefOrIn
, "p").WithArguments("1").WithLocation(6, 20),
1583
Diagnostic(ErrorCode.
WRN_ArgExpectedRefOrIn
, "x").WithArguments("1").WithLocation(6, 13)
2311
Diagnostic(ErrorCode.
WRN_ArgExpectedRefOrIn
, "x").WithArguments("1").WithLocation(7, 11));
2871
Diagnostic(ErrorCode.
WRN_ArgExpectedRefOrIn
, "M1()").WithArguments("1").WithLocation(7, 12),
3121
Diagnostic(ErrorCode.
WRN_ArgExpectedRefOrIn
, "x").WithArguments("1").WithLocation(7, 11));
3163
Diagnostic(ErrorCode.
WRN_ArgExpectedRefOrIn
, "x").WithArguments("1").WithLocation(7, 11));
3190
Diagnostic(ErrorCode.
WRN_ArgExpectedRefOrIn
, "x").WithArguments("1").WithLocation(6, 13)
3216
Diagnostic(ErrorCode.
WRN_ArgExpectedRefOrIn
, "x").WithArguments("1").WithLocation(7, 15));
3267
Diagnostic(ErrorCode.
WRN_ArgExpectedRefOrIn
, "x").WithArguments("1").WithLocation(16, 15));
3313
Diagnostic(ErrorCode.
WRN_ArgExpectedRefOrIn
, "x").WithArguments("1").WithLocation(8, 11));
3362
Diagnostic(ErrorCode.
WRN_ArgExpectedRefOrIn
, "x").WithArguments("1").WithLocation(12, 14),
3365
Diagnostic(ErrorCode.
WRN_ArgExpectedRefOrIn
, "x").WithArguments("1").WithLocation(13, 14),
3368
Diagnostic(ErrorCode.
WRN_ArgExpectedRefOrIn
, "y").WithArguments("2").WithLocation(14, 17));
3573
Diagnostic(ErrorCode.
WRN_ArgExpectedRefOrIn
, "i").WithArguments("2").WithLocation(3, 33));
3965
Diagnostic(ErrorCode.
WRN_ArgExpectedRefOrIn
, "x").WithArguments("2").WithLocation(4, 11));
4239
Diagnostic(ErrorCode.
WRN_ArgExpectedRefOrIn
, "i").WithArguments("1").WithLocation(7, 41));
4542
Diagnostic(ErrorCode.
WRN_ArgExpectedRefOrIn
, "x").WithArguments("1").WithLocation(7, 13);
4593
Diagnostic(ErrorCode.
WRN_ArgExpectedRefOrIn
, "x").WithArguments("1").WithLocation(7, 13);
4727
Diagnostic(ErrorCode.
WRN_ArgExpectedRefOrIn
, "x").WithArguments("1").WithLocation(7, 14),
4730
Diagnostic(ErrorCode.
WRN_ArgExpectedRefOrIn
, "y").WithArguments("1").WithLocation(13, 14)
4908
Diagnostic(ErrorCode.
WRN_ArgExpectedRefOrIn
, "x").WithArguments("1").WithLocation(6, 11)
5303
Diagnostic(ErrorCode.
WRN_ArgExpectedRefOrIn
, "x").WithArguments("1").WithLocation(9, 14),
5306
Diagnostic(ErrorCode.
WRN_ArgExpectedRefOrIn
, "x").WithArguments("2").WithLocation(11, 15),
5309
Diagnostic(ErrorCode.
WRN_ArgExpectedRefOrIn
, "x").WithArguments("1").WithLocation(13, 14),
5312
Diagnostic(ErrorCode.
WRN_ArgExpectedRefOrIn
, "x").WithArguments("1").WithLocation(14, 12),
5315
Diagnostic(ErrorCode.
WRN_ArgExpectedRefOrIn
, "x").WithArguments("1").WithLocation(15, 12),
5318
Diagnostic(ErrorCode.
WRN_ArgExpectedRefOrIn
, "x").WithArguments("2").WithLocation(15, 15),
5321
Diagnostic(ErrorCode.
WRN_ArgExpectedRefOrIn
, "x").WithArguments("2").WithLocation(17, 18));
5878
Diagnostic(ErrorCode.
WRN_ArgExpectedRefOrIn
, "x").WithArguments("1").WithLocation(14, 13));
6026
Diagnostic(ErrorCode.
WRN_ArgExpectedRefOrIn
, "x").WithArguments("1").WithLocation(14, 13));
6129
Diagnostic(ErrorCode.
WRN_ArgExpectedRefOrIn
, "x").WithArguments("1").WithLocation(14, 13));
6162
Diagnostic(ErrorCode.
WRN_ArgExpectedRefOrIn
, "x").WithArguments("1").WithLocation(14, 13));
6201
Diagnostic(ErrorCode.
WRN_ArgExpectedRefOrIn
, "x").WithArguments("1").WithLocation(14, 13));
6237
Diagnostic(ErrorCode.
WRN_ArgExpectedRefOrIn
, "x").WithArguments("1").WithLocation(14, 13));
6295
Diagnostic(ErrorCode.
WRN_ArgExpectedRefOrIn
, "x").WithArguments("1").WithLocation(30, 15));
6350
Diagnostic(ErrorCode.
WRN_ArgExpectedRefOrIn
, "x").WithArguments("1").WithLocation(30, 15));
6466
Diagnostic(ErrorCode.
WRN_ArgExpectedRefOrIn
, "x").WithArguments("1").WithLocation(16, 14),
6469
Diagnostic(ErrorCode.
WRN_ArgExpectedRefOrIn
, "x").WithArguments("1").WithLocation(20, 14));
6520
Diagnostic(ErrorCode.
WRN_ArgExpectedRefOrIn
, "x").WithArguments("1").WithLocation(24, 14),
6523
Diagnostic(ErrorCode.
WRN_ArgExpectedRefOrIn
, "x").WithArguments("1").WithLocation(28, 14));
Semantics\ExtensionTests.cs (1)
30538
Diagnostic(ErrorCode.
WRN_ArgExpectedRefOrIn
, "i").WithArguments("1").WithLocation(2, 7));
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (3)
Semantics\InterpolationTests.cs (1)
8589
Diagnostic(ErrorCode.
WRN_ArgExpectedRefOrIn
, "i").WithArguments("1").WithLocation(8, 5)
Semantics\RawInterpolationTests_Handler.cs (1)
6766
Diagnostic(ErrorCode.
WRN_ArgExpectedRefOrIn
, "i").WithArguments("1").WithLocation(8, 5)
Semantics\RefFieldTests.cs (1)
31777
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
: