19 references to ERR_ReadOnlyModMissingAccessor
Microsoft.CodeAnalysis.CSharp (2)
Errors\ErrorFacts.cs (1)
2004
or ErrorCode.
ERR_ReadOnlyModMissingAccessor
Symbols\Source\SourcePropertySymbolBase.cs (1)
998
diagnostics.Add(ErrorCode.
ERR_ReadOnlyModMissingAccessor
, Location, this);
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (14)
FieldKeywordTests.cs (14)
5002
Diagnostic(ErrorCode.
ERR_ReadOnlyModMissingAccessor
, "P1").WithArguments("S.P1").WithLocation(3, 12),
5005
Diagnostic(ErrorCode.
ERR_ReadOnlyModMissingAccessor
, "P2").WithArguments("S.P2").WithLocation(4, 12),
5023
Diagnostic(ErrorCode.
ERR_ReadOnlyModMissingAccessor
, "Q1").WithArguments("S.Q1").WithLocation(8, 12),
5026
Diagnostic(ErrorCode.
ERR_ReadOnlyModMissingAccessor
, "Q2").WithArguments("S.Q2").WithLocation(9, 12),
5051
Diagnostic(ErrorCode.
ERR_ReadOnlyModMissingAccessor
, "P1").WithArguments("S.P1").WithLocation(3, 12),
5054
Diagnostic(ErrorCode.
ERR_ReadOnlyModMissingAccessor
, "P2").WithArguments("S.P2").WithLocation(4, 12),
5072
Diagnostic(ErrorCode.
ERR_ReadOnlyModMissingAccessor
, "Q1").WithArguments("S.Q1").WithLocation(8, 12),
5075
Diagnostic(ErrorCode.
ERR_ReadOnlyModMissingAccessor
, "Q2").WithArguments("S.Q2").WithLocation(9, 12),
5204
Diagnostic(ErrorCode.
ERR_ReadOnlyModMissingAccessor
, "P1").WithArguments("S1.P1").WithLocation(7, 12),
5216
Diagnostic(ErrorCode.
ERR_ReadOnlyModMissingAccessor
, "P4").WithArguments("S4.P4").WithLocation(19, 12),
9694
Diagnostic(ErrorCode.
ERR_ReadOnlyModMissingAccessor
, "P3").WithArguments("S.P3").WithLocation(5, 20),
9700
Diagnostic(ErrorCode.
ERR_ReadOnlyModMissingAccessor
, "P4").WithArguments("S.P4").WithLocation(6, 20),
9739
Diagnostic(ErrorCode.
ERR_ReadOnlyModMissingAccessor
, "P3").WithArguments("S.P3").WithLocation(5, 20),
9742
Diagnostic(ErrorCode.
ERR_ReadOnlyModMissingAccessor
, "P4").WithArguments("S.P4").WithLocation(6, 20),
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (3)
Semantics\ReadOnlyStructsTests.cs (3)
1575
Diagnostic(ErrorCode.
ERR_ReadOnlyModMissingAccessor
, "P1").WithArguments("S.P1").WithLocation(4, 16),
1587
Diagnostic(ErrorCode.
ERR_ReadOnlyModMissingAccessor
, "P6").WithArguments("S.P6").WithLocation(9, 25),
2225
Diagnostic(ErrorCode.
ERR_ReadOnlyModMissingAccessor
, "this").WithArguments("S4.this[int]").WithLocation(31, 16),