52 references to WRN_ArgExpectedRefOrIn
Microsoft.CodeAnalysis.CSharp (6)
Binder\Binder_Expressions.cs (2)
4030
ErrorCode.
WRN_ArgExpectedRefOrIn
,
6720
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
:
2411
or ErrorCode.
WRN_ArgExpectedRefOrIn
Generated\ErrorFacts.Generated.cs (1)
328
case ErrorCode.
WRN_ArgExpectedRefOrIn
:
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (42)
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)
2320
Diagnostic(ErrorCode.
WRN_ArgExpectedRefOrIn
, "x").WithArguments("1").WithLocation(7, 11));
2880
Diagnostic(ErrorCode.
WRN_ArgExpectedRefOrIn
, "M1()").WithArguments("1").WithLocation(7, 12),
3130
Diagnostic(ErrorCode.
WRN_ArgExpectedRefOrIn
, "x").WithArguments("1").WithLocation(7, 11));
3172
Diagnostic(ErrorCode.
WRN_ArgExpectedRefOrIn
, "x").WithArguments("1").WithLocation(7, 11));
3199
Diagnostic(ErrorCode.
WRN_ArgExpectedRefOrIn
, "x").WithArguments("1").WithLocation(6, 13)
3225
Diagnostic(ErrorCode.
WRN_ArgExpectedRefOrIn
, "x").WithArguments("1").WithLocation(7, 15));
3276
Diagnostic(ErrorCode.
WRN_ArgExpectedRefOrIn
, "x").WithArguments("1").WithLocation(16, 15));
3322
Diagnostic(ErrorCode.
WRN_ArgExpectedRefOrIn
, "x").WithArguments("1").WithLocation(8, 11));
3371
Diagnostic(ErrorCode.
WRN_ArgExpectedRefOrIn
, "x").WithArguments("1").WithLocation(12, 14),
3374
Diagnostic(ErrorCode.
WRN_ArgExpectedRefOrIn
, "x").WithArguments("1").WithLocation(13, 14),
3377
Diagnostic(ErrorCode.
WRN_ArgExpectedRefOrIn
, "y").WithArguments("2").WithLocation(14, 17));
3582
Diagnostic(ErrorCode.
WRN_ArgExpectedRefOrIn
, "i").WithArguments("2").WithLocation(3, 33));
3974
Diagnostic(ErrorCode.
WRN_ArgExpectedRefOrIn
, "x").WithArguments("2").WithLocation(4, 11));
4248
Diagnostic(ErrorCode.
WRN_ArgExpectedRefOrIn
, "i").WithArguments("1").WithLocation(7, 41));
4551
Diagnostic(ErrorCode.
WRN_ArgExpectedRefOrIn
, "x").WithArguments("1").WithLocation(7, 13);
4602
Diagnostic(ErrorCode.
WRN_ArgExpectedRefOrIn
, "x").WithArguments("1").WithLocation(7, 13);
4736
Diagnostic(ErrorCode.
WRN_ArgExpectedRefOrIn
, "x").WithArguments("1").WithLocation(7, 14),
4739
Diagnostic(ErrorCode.
WRN_ArgExpectedRefOrIn
, "y").WithArguments("1").WithLocation(13, 14)
4917
Diagnostic(ErrorCode.
WRN_ArgExpectedRefOrIn
, "x").WithArguments("1").WithLocation(6, 11)
5312
Diagnostic(ErrorCode.
WRN_ArgExpectedRefOrIn
, "x").WithArguments("1").WithLocation(9, 14),
5315
Diagnostic(ErrorCode.
WRN_ArgExpectedRefOrIn
, "x").WithArguments("2").WithLocation(11, 15),
5318
Diagnostic(ErrorCode.
WRN_ArgExpectedRefOrIn
, "x").WithArguments("1").WithLocation(13, 14),
5321
Diagnostic(ErrorCode.
WRN_ArgExpectedRefOrIn
, "x").WithArguments("1").WithLocation(14, 12),
5324
Diagnostic(ErrorCode.
WRN_ArgExpectedRefOrIn
, "x").WithArguments("1").WithLocation(15, 12),
5327
Diagnostic(ErrorCode.
WRN_ArgExpectedRefOrIn
, "x").WithArguments("2").WithLocation(15, 15),
5330
Diagnostic(ErrorCode.
WRN_ArgExpectedRefOrIn
, "x").WithArguments("2").WithLocation(17, 18));
5887
Diagnostic(ErrorCode.
WRN_ArgExpectedRefOrIn
, "x").WithArguments("1").WithLocation(14, 13));
6035
Diagnostic(ErrorCode.
WRN_ArgExpectedRefOrIn
, "x").WithArguments("1").WithLocation(14, 13));
6138
Diagnostic(ErrorCode.
WRN_ArgExpectedRefOrIn
, "x").WithArguments("1").WithLocation(14, 13));
6171
Diagnostic(ErrorCode.
WRN_ArgExpectedRefOrIn
, "x").WithArguments("1").WithLocation(14, 13));
6210
Diagnostic(ErrorCode.
WRN_ArgExpectedRefOrIn
, "x").WithArguments("1").WithLocation(14, 13));
6246
Diagnostic(ErrorCode.
WRN_ArgExpectedRefOrIn
, "x").WithArguments("1").WithLocation(14, 13));
6304
Diagnostic(ErrorCode.
WRN_ArgExpectedRefOrIn
, "x").WithArguments("1").WithLocation(30, 15));
6359
Diagnostic(ErrorCode.
WRN_ArgExpectedRefOrIn
, "x").WithArguments("1").WithLocation(30, 15));
6475
Diagnostic(ErrorCode.
WRN_ArgExpectedRefOrIn
, "x").WithArguments("1").WithLocation(16, 14),
6478
Diagnostic(ErrorCode.
WRN_ArgExpectedRefOrIn
, "x").WithArguments("1").WithLocation(20, 14));
6529
Diagnostic(ErrorCode.
WRN_ArgExpectedRefOrIn
, "x").WithArguments("1").WithLocation(24, 14),
6532
Diagnostic(ErrorCode.
WRN_ArgExpectedRefOrIn
, "x").WithArguments("1").WithLocation(28, 14));
Semantics\CollectionExpressionTests_WithElement_Extra.cs (1)
3848
Diagnostic(ErrorCode.
WRN_ArgExpectedRefOrIn
, "x").WithArguments("1").WithLocation(8, 11));
Semantics\ExtensionTests.cs (1)
35286
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)
31922
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
: