11 references to ERR_RefPropertyMustHaveGetAccessor
Microsoft.CodeAnalysis.CSharp (2)
Errors\ErrorFacts.cs (1)
1771
or ErrorCode.
ERR_RefPropertyMustHaveGetAccessor
Symbols\Source\SourcePropertySymbolBase.cs (1)
973
diagnostics.Add(ErrorCode.
ERR_RefPropertyMustHaveGetAccessor
, Location);
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (3)
FieldKeywordTests.cs (3)
5362
Diagnostic(ErrorCode.
ERR_RefPropertyMustHaveGetAccessor
, "PI").WithLocation(18, 25),
5368
Diagnostic(ErrorCode.
ERR_RefPropertyMustHaveGetAccessor
, "PJ").WithLocation(19, 25));
5453
Diagnostic(ErrorCode.
ERR_RefPropertyMustHaveGetAccessor
, "PI").WithLocation(12, 32));
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (2)
Semantics\InitOnlyMemberTests.cs (2)
1422
Diagnostic(ErrorCode.
ERR_RefPropertyMustHaveGetAccessor
, "Property2").WithLocation(5, 13),
1428
Diagnostic(ErrorCode.
ERR_RefPropertyMustHaveGetAccessor
, "Property4").WithLocation(7, 13)
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (4)
Symbols\DefaultInterfaceImplementationTests.cs (3)
67770
Diagnostic(ErrorCode.
ERR_RefPropertyMustHaveGetAccessor
, "PC").WithLocation(14, 20)
67803
Diagnostic(ErrorCode.
ERR_RefPropertyMustHaveGetAccessor
, "PC").WithLocation(14, 13)
67845
Diagnostic(ErrorCode.
ERR_RefPropertyMustHaveGetAccessor
, "PC").WithLocation(14, 20),
Symbols\Source\PropertyTests.cs (1)
2916
Diagnostic(ErrorCode.
ERR_RefPropertyMustHaveGetAccessor
, "P").WithLocation(4, 17));