32 references to ERR_IllegalRefParam
Microsoft.CodeAnalysis.CSharp (3)
Errors\ErrorFacts.cs (1)
943case ErrorCode.ERR_IllegalRefParam:
Symbols\Source\ParameterHelpers.cs (1)
186diagnostics.Add(ErrorCode.ERR_IllegalRefParam, refnessKeyword.GetLocation());
Symbols\Source\SourceUserDefinedOperatorSymbolBase.cs (1)
333diagnostics.Add(ErrorCode.ERR_IllegalRefParam, this.Locations[0]);
Microsoft.CodeAnalysis.CSharp.Emit2.UnitTests (4)
Attributes\AttributeTests_LifetimeAnnotation.cs (1)
178Diagnostic(ErrorCode.ERR_IllegalRefParam, "ref").WithLocation(3, 30),
Semantics\PatternMatchingTests_ListPatterns.cs (3)
5419Diagnostic(ErrorCode.ERR_IllegalRefParam, "ref").WithLocation(5, 21), 5458Diagnostic(ErrorCode.ERR_IllegalRefParam, "ref").WithLocation(6, 21), 5461Diagnostic(ErrorCode.ERR_IllegalRefParam, "ref").WithLocation(7, 21),
Microsoft.CodeAnalysis.CSharp.IOperation.UnitTests (3)
IOperation\IOperationTests_IDynamicIndexerAccessExpression.cs (3)
174Diagnostic(ErrorCode.ERR_IllegalRefParam, "ref").WithLocation(9, 28) 302Diagnostic(ErrorCode.ERR_IllegalRefParam, "ref").WithLocation(10, 21), 305Diagnostic(ErrorCode.ERR_IllegalRefParam, "ref").WithLocation(11, 21)
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\InterpolationTests.cs (1)
15027Diagnostic(ErrorCode.ERR_IllegalRefParam, "ref").WithLocation(11, 24),
Semantics\LockTests.cs (2)
164Diagnostic(ErrorCode.ERR_IllegalRefParam, "out"), 196Diagnostic(ErrorCode.ERR_IllegalRefParam, "out"),
Semantics\NullableReferenceTypesTests.cs (1)
31578Diagnostic(ErrorCode.ERR_IllegalRefParam, "out").WithLocation(4, 56)
Semantics\RecordStructTests.cs (2)
1385Diagnostic(ErrorCode.ERR_IllegalRefParam, "ref").WithLocation(2, 17), 1388Diagnostic(ErrorCode.ERR_IllegalRefParam, "out").WithLocation(2, 29)
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));
Semantics\UsingStatementTests.cs (2)
1417Diagnostic(ErrorCode.ERR_IllegalRefParam, "out"), 1451Diagnostic(ErrorCode.ERR_IllegalRefParam, "out"),