52 references to ERR_IllegalRefParam
Microsoft.CodeAnalysis.CSharp (3)
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (15)
RefReadonlyParameterTests.cs (4)
729Diagnostic(ErrorCode.ERR_IllegalRefParam, "+").WithLocation(3, 29),
732Diagnostic(ErrorCode.ERR_IllegalRefParam, "--").WithLocation(4, 29),
735Diagnostic(ErrorCode.ERR_IllegalRefParam, "C").WithLocation(5, 37),
738Diagnostic(ErrorCode.ERR_IllegalRefParam, "C").WithLocation(6, 37));
Semantics\RecordTests.cs (4)
24930Diagnostic(ErrorCode.ERR_IllegalRefParam, "ref").WithLocation(2, 10),
24933Diagnostic(ErrorCode.ERR_IllegalRefParam, "out").WithLocation(2, 22)
24949Diagnostic(ErrorCode.ERR_IllegalRefParam, "ref").WithLocation(3, 10),
24952Diagnostic(ErrorCode.ERR_IllegalRefParam, "out").WithLocation(3, 22)
Microsoft.CodeAnalysis.CSharp.IOperation.UnitTests (4)
IOperation\IOperationTests_IDynamicIndexerAccessExpression.cs (4)
176Diagnostic(ErrorCode.ERR_IllegalRefParam, "ref").WithLocation(9, 28),
179Diagnostic(ErrorCode.ERR_IllegalRefParam, "ref").WithLocation(10, 29)
307Diagnostic(ErrorCode.ERR_IllegalRefParam, "ref").WithLocation(10, 21),
310Diagnostic(ErrorCode.ERR_IllegalRefParam, "ref").WithLocation(11, 21)
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (18)
Semantics\InheritanceBindingTests.cs (6)
2013Diagnostic(ErrorCode.ERR_IllegalRefParam, "ref"),
2045Diagnostic(ErrorCode.ERR_IllegalRefParam, "out"),
2214Diagnostic(ErrorCode.ERR_IllegalRefParam, "ref"),
2216Diagnostic(ErrorCode.ERR_IllegalRefParam, "out"),
2243Diagnostic(ErrorCode.ERR_IllegalRefParam, "out"),
2245Diagnostic(ErrorCode.ERR_IllegalRefParam, "ref"),
Semantics\SemanticErrorTests.cs (4)
11644Diagnostic(ErrorCode.ERR_IllegalRefParam, "ref").WithLocation(3, 17),
11646Diagnostic(ErrorCode.ERR_IllegalRefParam, "out").WithLocation(7, 36),
11648Diagnostic(ErrorCode.ERR_IllegalRefParam, "out").WithLocation(11, 26),
11650Diagnostic(ErrorCode.ERR_IllegalRefParam, "out").WithLocation(11, 37));
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (12)
Symbols\PartialPropertiesTests.cs (12)
2900Diagnostic(ErrorCode.ERR_IllegalRefParam, refKind).WithLocation(4, 29),
2906Diagnostic(ErrorCode.ERR_IllegalRefParam, refKind).WithLocation(9, 29),
2971Diagnostic(ErrorCode.ERR_IllegalRefParam, "ref").WithLocation(3, 29),
2980Diagnostic(ErrorCode.ERR_IllegalRefParam, "out").WithLocation(4, 29),
2986Diagnostic(ErrorCode.ERR_IllegalRefParam, "out").WithLocation(9, 29),
2995Diagnostic(ErrorCode.ERR_IllegalRefParam, "ref").WithLocation(10, 29));
3073Diagnostic(ErrorCode.ERR_IllegalRefParam, badRefKind).WithLocation(4, 29),
3079Diagnostic(ErrorCode.ERR_IllegalRefParam, badRefKind).WithLocation(9, 29),
3390Diagnostic(ErrorCode.ERR_IllegalRefParam, "ref").WithLocation(7, 35),
3396Diagnostic(ErrorCode.ERR_IllegalRefParam, "ref").WithLocation(8, 28),
3399Diagnostic(ErrorCode.ERR_IllegalRefParam, "ref").WithLocation(10, 28),
3405Diagnostic(ErrorCode.ERR_IllegalRefParam, "ref").WithLocation(11, 35));