32 references to ERR_IllegalRefParam
Microsoft.CodeAnalysis.CSharp (3)
Microsoft.CodeAnalysis.CSharp.Emit2.UnitTests (4)
Microsoft.CodeAnalysis.CSharp.IOperation.UnitTests (3)
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (22)
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\RecordTests.cs (4)
24836Diagnostic(ErrorCode.ERR_IllegalRefParam, "ref").WithLocation(2, 10),
24839Diagnostic(ErrorCode.ERR_IllegalRefParam, "out").WithLocation(2, 22)
24855Diagnostic(ErrorCode.ERR_IllegalRefParam, "ref").WithLocation(3, 10),
24858Diagnostic(ErrorCode.ERR_IllegalRefParam, "out").WithLocation(3, 22)
Semantics\SemanticErrorTests.cs (4)
11640Diagnostic(ErrorCode.ERR_IllegalRefParam, "ref").WithLocation(3, 17),
11642Diagnostic(ErrorCode.ERR_IllegalRefParam, "out").WithLocation(7, 36),
11644Diagnostic(ErrorCode.ERR_IllegalRefParam, "out").WithLocation(11, 26),
11646Diagnostic(ErrorCode.ERR_IllegalRefParam, "out").WithLocation(11, 37));