35 references to ERR_ExplicitPropertyMissingAccessor
Microsoft.CodeAnalysis.CSharp (2)
Errors\ErrorFacts.cs (1)
958
or ErrorCode.
ERR_ExplicitPropertyMissingAccessor
Symbols\Source\SourcePropertySymbolBase.cs (1)
1198
diagnostics.Add(ErrorCode.
ERR_ExplicitPropertyMissingAccessor
, this.Location, this, otherAccessor);
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (13)
Semantics\InheritanceBindingTests.cs (8)
5794
new ErrorDescription { Code = (int)ErrorCode.
ERR_ExplicitPropertyMissingAccessor
, Line = 19, Column = 19 }, //1
5795
new ErrorDescription { Code = (int)ErrorCode.
ERR_ExplicitPropertyMissingAccessor
, Line = 20, Column = 19 }, //2
5797
new ErrorDescription { Code = (int)ErrorCode.
ERR_ExplicitPropertyMissingAccessor
, Line = 24, Column = 19 }, //4
5801
new ErrorDescription { Code = (int)ErrorCode.
ERR_ExplicitPropertyMissingAccessor
, Line = 27, Column = 19 }, //7
5850
Diagnostic(ErrorCode.
ERR_ExplicitPropertyMissingAccessor
, "this").WithArguments("Class.Interface.this[int, int, int, string]", "Interface.this[int, int, int, string].set").WithLocation(19, 19),
5853
Diagnostic(ErrorCode.
ERR_ExplicitPropertyMissingAccessor
, "this").WithArguments("Class.Interface.this[int, int, string, int]", "Interface.this[int, int, string, int].get").WithLocation(20, 19),
5856
Diagnostic(ErrorCode.
ERR_ExplicitPropertyMissingAccessor
, "this").WithArguments("Class.Interface.this[int, string, int, string]", "Interface.this[int, string, int, string].get").WithLocation(24, 19),
5868
Diagnostic(ErrorCode.
ERR_ExplicitPropertyMissingAccessor
, "this").WithArguments("Class.Interface.this[int, string, string, string]", "Interface.this[int, string, string, string].set").WithLocation(27, 19),
Semantics\InitOnlyMemberTests.cs (1)
2241
Diagnostic(ErrorCode.
ERR_ExplicitPropertyMissingAccessor
, "Property").WithArguments("DerivedGetterOnly.I.Property", "I.Property.init").WithLocation(12, 14),
Semantics\NullableReferenceTypesTests.cs (4)
15958
Diagnostic(ErrorCode.
ERR_ExplicitPropertyMissingAccessor
, "P1").WithArguments("B.A.P1", "A.P1.set").WithLocation(11, 20),
15961
Diagnostic(ErrorCode.
ERR_ExplicitPropertyMissingAccessor
, "P2").WithArguments("B.A.P2", "A.P2.set").WithLocation(12, 20)
16097
Diagnostic(ErrorCode.
ERR_ExplicitPropertyMissingAccessor
, "P1").WithArguments("C.B.P1", "B.P1.get").WithLocation(11, 21),
16100
Diagnostic(ErrorCode.
ERR_ExplicitPropertyMissingAccessor
, "P2").WithArguments("C.B.P2", "B.P2.get").WithLocation(12, 21)
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (20)
Symbols\AccessorOverriddenOrHiddenMembersTests.cs (1)
832
Diagnostic(ErrorCode.
ERR_ExplicitPropertyMissingAccessor
, "ReadOnlyProp").WithArguments("CSIPropImpl.IProp.ReadOnlyProp", "IProp.ReadOnlyProp.get"),
Symbols\DefaultInterfaceImplementationTests.cs (14)
38171
Diagnostic(ErrorCode.
ERR_ExplicitPropertyMissingAccessor
, "M1").WithArguments("I2.I1.M1", "I1.M1.set").WithLocation(10, 12),
38174
Diagnostic(ErrorCode.
ERR_ExplicitPropertyMissingAccessor
, "M2").WithArguments("I2.I1.M2", "I1.M2.get").WithLocation(14, 12),
38262
Diagnostic(ErrorCode.
ERR_ExplicitPropertyMissingAccessor
, "M1").WithArguments("I2.I1.M1", "I1.M1.set").WithLocation(10, 19),
38265
Diagnostic(ErrorCode.
ERR_ExplicitPropertyMissingAccessor
, "M2").WithArguments("I2.I1.M2", "I1.M2.get").WithLocation(14, 19),
43072
Diagnostic(ErrorCode.
ERR_ExplicitPropertyMissingAccessor
, "this").WithArguments("I2.I1.this[int]", "I1.this[int].set").WithLocation(10, 12),
43075
Diagnostic(ErrorCode.
ERR_ExplicitPropertyMissingAccessor
, "this").WithArguments("I2.I1.this[long]", "I1.this[long].get").WithLocation(14, 12),
53985
Diagnostic(ErrorCode.
ERR_ExplicitPropertyMissingAccessor
, "P1").WithArguments("I2.I1.P1", "I1.P1.set").WithLocation(9, 21 + implModifiers.Length),
54018
Diagnostic(ErrorCode.
ERR_ExplicitPropertyMissingAccessor
, "P1").WithArguments("I2.I1.P1", "I1.P1.get").WithLocation(9, 21 + implModifiers.Length),
55877
Diagnostic(ErrorCode.
ERR_ExplicitPropertyMissingAccessor
, "P1").WithArguments("I2.I1.P1", "I1.P1.set").WithLocation(9, 21 + implModifiers.Length),
56781
Diagnostic(ErrorCode.
ERR_ExplicitPropertyMissingAccessor
, "P1").WithArguments("I2.I1.P1", "I1.P1.get").WithLocation(9, 21 + implModifiers.Length),
60215
Diagnostic(ErrorCode.
ERR_ExplicitPropertyMissingAccessor
, "this").WithArguments("I2.I1.this[int]", "I1.this[int].set").WithLocation(9, 21),
60244
Diagnostic(ErrorCode.
ERR_ExplicitPropertyMissingAccessor
, "this").WithArguments("I2.I1.this[int]", "I1.this[int].get").WithLocation(9, 21),
61178
Diagnostic(ErrorCode.
ERR_ExplicitPropertyMissingAccessor
, "this").WithArguments("I2.I1.this[int]", "I1.this[int].set").WithLocation(9, 21),
61903
Diagnostic(ErrorCode.
ERR_ExplicitPropertyMissingAccessor
, "this").WithArguments("I2.I1.this[int]", "I1.this[int].get").WithLocation(9, 21),
Symbols\StaticAbstractMembersInInterfacesTests.cs (4)
24182
Diagnostic(ErrorCode.
ERR_ExplicitPropertyMissingAccessor
, "M01").WithArguments("C1.I1.M01", "I1.M01.set").WithLocation(4, 18)
24446
Diagnostic(ErrorCode.
ERR_ExplicitPropertyMissingAccessor
, "M01").WithArguments("C1.I1.M01", "I1.M01.get").WithLocation(4, 18)
24534
Diagnostic(ErrorCode.
ERR_ExplicitPropertyMissingAccessor
, "M01").WithArguments("C1.I1.M01", "I1.M01.get").WithLocation(4, 18)
24798
Diagnostic(ErrorCode.
ERR_ExplicitPropertyMissingAccessor
, "M01").WithArguments("C1.I1.M01", "I1.M01.set").WithLocation(4, 18)
Symbols\SymbolErrorTests.cs (1)
10534
new ErrorDescription { Code = (int)ErrorCode.
ERR_ExplicitPropertyMissingAccessor
, Line = 12, Column = 12 });