31 references to ERR_RefProperty
Microsoft.CodeAnalysis.CSharp (2)
Binder\Binder.ValueChecks.cs (1)
1495Error(diagnostics, ErrorCode.ERR_RefProperty, node);
Errors\ErrorFacts.cs (1)
722case ErrorCode.ERR_RefProperty:
Microsoft.CodeAnalysis.CSharp.Emit2.UnitTests (8)
FlowAnalysis\FlowDiagnosticTests.cs (8)
1743Diagnostic(ErrorCode.ERR_RefProperty, "x1").WithLocation(15, 17), 1746Diagnostic(ErrorCode.ERR_RefProperty, "x1").WithLocation(16, 17), 1749Diagnostic(ErrorCode.ERR_RefProperty, "x2").WithLocation(17, 17), 1752Diagnostic(ErrorCode.ERR_RefProperty, "x2").WithLocation(18, 17), 1774Diagnostic(ErrorCode.ERR_RefProperty, "x1").WithLocation(15, 17), 1777Diagnostic(ErrorCode.ERR_RefProperty, "x1").WithLocation(16, 17), 1780Diagnostic(ErrorCode.ERR_RefProperty, "x2").WithLocation(17, 17), 1783Diagnostic(ErrorCode.ERR_RefProperty, "x2").WithLocation(18, 17),
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (21)
Semantics\ArglistTests.cs (1)
234Diagnostic(ErrorCode.ERR_RefProperty, "P").WithLocation(10, 40),
Semantics\InitOnlyMemberTests.cs (1)
1283Diagnostic(ErrorCode.ERR_RefProperty, "Property").WithLocation(8, 16)
Semantics\NullableReferenceTypesTests.cs (1)
33631Diagnostic(ErrorCode.ERR_RefProperty, "Property").WithLocation(14, 15),
Semantics\RefFieldTests.cs (6)
9571Diagnostic(ErrorCode.ERR_RefProperty, "c.N").WithLocation(5, 17), 9574Diagnostic(ErrorCode.ERR_RefProperty, "c[0]").WithLocation(6, 17), 9577Diagnostic(ErrorCode.ERR_RefProperty, "c.N").WithLocation(8, 11), 9580Diagnostic(ErrorCode.ERR_RefProperty, "c[0]").WithLocation(10, 11), 9583Diagnostic(ErrorCode.ERR_RefProperty, "c.N").WithLocation(12, 12), 9586Diagnostic(ErrorCode.ERR_RefProperty, "c[0]").WithLocation(14, 12)
Semantics\RefLocalsAndReturnsTests.cs (2)
3183Diagnostic(ErrorCode.ERR_RefProperty, "P").WithLocation(8, 26)); 3204Diagnostic(ErrorCode.ERR_RefProperty, "this[0]").WithLocation(8, 26));
Semantics\SemanticErrorTests.cs (10)
8064Diagnostic(ErrorCode.ERR_RefProperty, "P").WithLocation(14, 15), 8067Diagnostic(ErrorCode.ERR_RefProperty, "this.Q").WithLocation(15, 15)); 8094Diagnostic(ErrorCode.ERR_RefProperty, "this[0]").WithLocation(13, 15), 8097Diagnostic(ErrorCode.ERR_RefProperty, "this[0]").WithLocation(14, 15)); 22876Diagnostic(ErrorCode.ERR_RefProperty, "ref BarP").WithLocation(18, 43), 22882Diagnostic(ErrorCode.ERR_RefProperty, "ref Program.BarP").WithLocation(20, 43), 22909Diagnostic(ErrorCode.ERR_RefProperty, "BarP").WithLocation(18, 47), 22915Diagnostic(ErrorCode.ERR_RefProperty, "Program.BarP").WithLocation(20, 47), 23027Diagnostic(ErrorCode.ERR_RefProperty, "ref BarP").WithLocation(11, 42), 23036Diagnostic(ErrorCode.ERR_RefProperty, "ref BarP").WithLocation(13, 42),