197 references to ERR_UnimplementedAbstractMethod
Microsoft.CodeAnalysis.CSharp (2)
Errors\ErrorFacts.cs (1)
942
or ErrorCode.
ERR_UnimplementedAbstractMethod
Symbols\Source\SourceMemberContainerSymbol_ImplementationChecks.cs (1)
105
diagnostics.Add(ErrorCode.
ERR_UnimplementedAbstractMethod
, this.GetFirstLocation(), this, abstractMember);
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (6)
CodeGen\CodeGenFunctionPointersTests.cs (2)
6871
Diagnostic(ErrorCode.
ERR_UnimplementedAbstractMethod
, "Derived").WithArguments("Derived", "Base.M1(delegate*<int[*], void>)").WithLocation(2, 14),
6874
Diagnostic(ErrorCode.
ERR_UnimplementedAbstractMethod
, "Derived").WithArguments("Derived", "Base.M3(delegate*<int[*]>)").WithLocation(2, 14),
CodeGen\CodeGenOverridingAndHiding.cs (2)
4464
Diagnostic(ErrorCode.
ERR_UnimplementedAbstractMethod
, "C5").WithArguments("C5", "C1.foo()"),
4467
Diagnostic(ErrorCode.
ERR_UnimplementedAbstractMethod
, "C6").WithArguments("C6", "C1.foo()"));
PrivateProtected.cs (2)
735
Diagnostic(ErrorCode.
ERR_UnimplementedAbstractMethod
, "B").WithArguments("B", "A.F()").WithLocation(1, 7)
765
Diagnostic(ErrorCode.
ERR_UnimplementedAbstractMethod
, "B").WithArguments("B", "A.F()").WithLocation(1, 7)
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (29)
Attributes\AttributeTests_Security.cs (1)
1706
Diagnostic(ErrorCode.
ERR_UnimplementedAbstractMethod
, "A").WithArguments("A", "System.Security.Permissions.SecurityAttribute.CreatePermission()").WithLocation(6, 7));
FieldKeywordTests.cs (6)
7755
Diagnostic(ErrorCode.
ERR_UnimplementedAbstractMethod
, "B0").WithArguments("B0", $"A.P3.{setter}").WithLocation(1, 7),
7758
Diagnostic(ErrorCode.
ERR_UnimplementedAbstractMethod
, "B0").WithArguments("B0", $"A.P1.{setter}").WithLocation(1, 7),
7824
Diagnostic(ErrorCode.
ERR_UnimplementedAbstractMethod
, "B3").WithArguments("B3", $"A.P3.{setter}").WithLocation(1, 7),
7827
Diagnostic(ErrorCode.
ERR_UnimplementedAbstractMethod
, "B3").WithArguments("B3", $"A.P1.{setter}").WithLocation(1, 7),
7850
Diagnostic(ErrorCode.
ERR_UnimplementedAbstractMethod
, "B4").WithArguments("B4", "A.P1.get").WithLocation(1, 7),
7853
Diagnostic(ErrorCode.
ERR_UnimplementedAbstractMethod
, "B4").WithArguments("B4", "A.P2.get").WithLocation(1, 7),
Semantics\RecordTests.cs (12)
11285
Diagnostic(ErrorCode.
ERR_UnimplementedAbstractMethod
, "B").WithArguments("B", "A.P6.set").WithLocation(10, 8),
11288
Diagnostic(ErrorCode.
ERR_UnimplementedAbstractMethod
, "B").WithArguments("B", "A.P5.init").WithLocation(10, 8),
11342
Diagnostic(ErrorCode.
ERR_UnimplementedAbstractMethod
, "B").WithArguments("B", "A.P1.init").WithLocation(6, 8),
11345
Diagnostic(ErrorCode.
ERR_UnimplementedAbstractMethod
, "B").WithArguments("B", "A.P1.get").WithLocation(6, 8),
12140
Diagnostic(ErrorCode.
ERR_UnimplementedAbstractMethod
, "C").WithArguments("C", "A.Y.get").WithLocation(12, 8),
12143
Diagnostic(ErrorCode.
ERR_UnimplementedAbstractMethod
, "C").WithArguments("C", "A.X.get").WithLocation(12, 8),
12146
Diagnostic(ErrorCode.
ERR_UnimplementedAbstractMethod
, "C").WithArguments("C", "A.X.init").WithLocation(12, 8),
12149
Diagnostic(ErrorCode.
ERR_UnimplementedAbstractMethod
, "C").WithArguments("C", "A.Y.init").WithLocation(12, 8),
12260
Diagnostic(ErrorCode.
ERR_UnimplementedAbstractMethod
, "CB").WithArguments("CB", "A.P.get").WithLocation(2, 8),
12263
Diagnostic(ErrorCode.
ERR_UnimplementedAbstractMethod
, "CB").WithArguments("CB", "A.P.init").WithLocation(2, 8),
15908
Diagnostic(ErrorCode.
ERR_UnimplementedAbstractMethod
, "B").WithArguments("B", "A.Equals(object)").WithLocation(7, 8)
18332
Diagnostic(ErrorCode.
ERR_UnimplementedAbstractMethod
, "B").WithArguments("B", "A.Equals(B)").WithLocation(8, 8)
Symbols\UserDefinedCompoundAssignmentOperatorsTests.cs (10)
430
Diagnostic(ErrorCode.
ERR_UnimplementedAbstractMethod
, "C2").WithArguments("C2", "C1.operator checked " + op + @"()").WithLocation(1, 7),
433
Diagnostic(ErrorCode.
ERR_UnimplementedAbstractMethod
, "C2").WithArguments("C2", "C1.operator " + op + @"()").WithLocation(1, 7)
1498
Diagnostic(ErrorCode.
ERR_UnimplementedAbstractMethod
, "C4").WithArguments("C4", "C2.operator checked " + op + @"()").WithLocation(1, 7),
1501
Diagnostic(ErrorCode.
ERR_UnimplementedAbstractMethod
, "C4").WithArguments("C4", "C2.operator " + op + @"()").WithLocation(1, 7)
8490
Diagnostic(ErrorCode.
ERR_UnimplementedAbstractMethod
, "C2").WithArguments("C2", "C1.operator " + op + @"(int)").WithLocation(1, 7)
8495
Diagnostic(ErrorCode.
ERR_UnimplementedAbstractMethod
, "C2").WithArguments("C2", "C1.operator checked " + op + @"(int)").WithLocation(1, 7),
8498
Diagnostic(ErrorCode.
ERR_UnimplementedAbstractMethod
, "C2").WithArguments("C2", "C1.operator " + op + @"(int)").WithLocation(1, 7)
9760
Diagnostic(ErrorCode.
ERR_UnimplementedAbstractMethod
, "C4").WithArguments("C4", "C2.operator checked " + op + @"(int)").WithLocation(1, 7),
9763
Diagnostic(ErrorCode.
ERR_UnimplementedAbstractMethod
, "C4").WithArguments("C4", "C2.operator " + op + @"(int)").WithLocation(1, 7)
9819
Diagnostic(ErrorCode.
ERR_UnimplementedAbstractMethod
, "C4").WithArguments("C4", "C2.operator " + op + @"(int)").WithLocation(1, 7)
Microsoft.CodeAnalysis.CSharp.IOperation.UnitTests (1)
IOperation\IOperationTests_IAttributeOperation.cs (1)
721
Diagnostic(ErrorCode.
ERR_UnimplementedAbstractMethod
, "A").WithArguments("A", "System.Security.Permissions.SecurityAttribute.CreatePermission()").WithLocation(5, 7)
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (121)
Semantics\AmbiguousOverrideTests.cs (2)
212
Diagnostic(ErrorCode.
ERR_UnimplementedAbstractMethod
, "Derived").WithArguments("Derived", "Base<int, int>.Method(int, int)").WithLocation(10, 7),
235
Diagnostic(ErrorCode.
ERR_UnimplementedAbstractMethod
, "Derived").WithArguments("Derived", "Base<int, int>.Method(int, int)").WithLocation(10, 7),
Semantics\InheritanceBindingTests.cs (63)
1097
Diagnostic(ErrorCode.
ERR_UnimplementedAbstractMethod
, "Derived").WithArguments("Derived", "Base.Event6.add").WithLocation(14, 7),
1100
Diagnostic(ErrorCode.
ERR_UnimplementedAbstractMethod
, "Derived").WithArguments("Derived", "Base.Event1.add").WithLocation(14, 7),
1103
Diagnostic(ErrorCode.
ERR_UnimplementedAbstractMethod
, "Derived").WithArguments("Derived", "Base.Event1.remove").WithLocation(14, 7),
1106
Diagnostic(ErrorCode.
ERR_UnimplementedAbstractMethod
, "Derived").WithArguments("Derived", "Base.Event5.add").WithLocation(14, 7),
1109
Diagnostic(ErrorCode.
ERR_UnimplementedAbstractMethod
, "Derived").WithArguments("Derived", "Base.Event3.add").WithLocation(14, 7),
1112
Diagnostic(ErrorCode.
ERR_UnimplementedAbstractMethod
, "Derived").WithArguments("Derived", "Base.Event2.add").WithLocation(14, 7),
1115
Diagnostic(ErrorCode.
ERR_UnimplementedAbstractMethod
, "Derived").WithArguments("Derived", "Base.Event4.remove").WithLocation(14, 7),
1118
Diagnostic(ErrorCode.
ERR_UnimplementedAbstractMethod
, "Derived").WithArguments("Derived", "Base.Event4.add").WithLocation(14, 7),
1121
Diagnostic(ErrorCode.
ERR_UnimplementedAbstractMethod
, "Derived").WithArguments("Derived", "Base.Event3.remove").WithLocation(14, 7),
1124
Diagnostic(ErrorCode.
ERR_UnimplementedAbstractMethod
, "Derived").WithArguments("Derived", "Base.Event7.add").WithLocation(14, 7),
1127
Diagnostic(ErrorCode.
ERR_UnimplementedAbstractMethod
, "Derived").WithArguments("Derived", "Base.Event0.add").WithLocation(14, 7),
1130
Diagnostic(ErrorCode.
ERR_UnimplementedAbstractMethod
, "Derived").WithArguments("Derived", "Base.Event6.remove").WithLocation(14, 7),
1133
Diagnostic(ErrorCode.
ERR_UnimplementedAbstractMethod
, "Derived").WithArguments("Derived", "Base.Event2.remove").WithLocation(14, 7),
1136
Diagnostic(ErrorCode.
ERR_UnimplementedAbstractMethod
, "Derived").WithArguments("Derived", "Base.Event7.remove").WithLocation(14, 7),
1139
Diagnostic(ErrorCode.
ERR_UnimplementedAbstractMethod
, "Derived").WithArguments("Derived", "Base.Event0.remove").WithLocation(14, 7),
1142
Diagnostic(ErrorCode.
ERR_UnimplementedAbstractMethod
, "Derived").WithArguments("Derived", "Base.Event5.remove").WithLocation(14, 7),
2569
Diagnostic(ErrorCode.
ERR_UnimplementedAbstractMethod
, "Derived").WithArguments("Derived", "Base.Method2()").WithLocation(12, 7),
2572
Diagnostic(ErrorCode.
ERR_UnimplementedAbstractMethod
, "Derived").WithArguments("Derived", "Base.Method4(int)").WithLocation(12, 7),
2575
Diagnostic(ErrorCode.
ERR_UnimplementedAbstractMethod
, "Derived").WithArguments("Derived", "Base.Method3()").WithLocation(12, 7),
2578
Diagnostic(ErrorCode.
ERR_UnimplementedAbstractMethod
, "Derived").WithArguments("Derived", "Base.Method1()").WithLocation(12, 7));
2649
Diagnostic(ErrorCode.
ERR_UnimplementedAbstractMethod
, "Derived").WithArguments("Derived", "Base.Property2.get").WithLocation(19, 7),
2652
Diagnostic(ErrorCode.
ERR_UnimplementedAbstractMethod
, "Derived").WithArguments("Derived", "Base.Property1.get").WithLocation(19, 7),
2655
Diagnostic(ErrorCode.
ERR_UnimplementedAbstractMethod
, "Derived").WithArguments("Derived", "Base.Property5.get").WithLocation(19, 7),
2658
Diagnostic(ErrorCode.
ERR_UnimplementedAbstractMethod
, "Derived").WithArguments("Derived", "Base.Property9.set").WithLocation(19, 7),
2661
Diagnostic(ErrorCode.
ERR_UnimplementedAbstractMethod
, "Derived").WithArguments("Derived", "Base.Property1.set").WithLocation(19, 7),
2664
Diagnostic(ErrorCode.
ERR_UnimplementedAbstractMethod
, "Derived").WithArguments("Derived", "Base.Property7.get").WithLocation(19, 7),
2667
Diagnostic(ErrorCode.
ERR_UnimplementedAbstractMethod
, "Derived").WithArguments("Derived", "Base.Property3.set").WithLocation(19, 7),
2670
Diagnostic(ErrorCode.
ERR_UnimplementedAbstractMethod
, "Derived").WithArguments("Derived", "Base.Property2.set").WithLocation(19, 7),
2673
Diagnostic(ErrorCode.
ERR_UnimplementedAbstractMethod
, "Derived").WithArguments("Derived", "Base.Property4.set").WithLocation(19, 7));
2747
Diagnostic(ErrorCode.
ERR_UnimplementedAbstractMethod
, "Derived").WithArguments("Derived", "Base.this[int, int, string, int].set").WithLocation(19, 7),
2750
Diagnostic(ErrorCode.
ERR_UnimplementedAbstractMethod
, "Derived").WithArguments("Derived", "Base.this[int, int, string, string].set").WithLocation(19, 7),
2753
Diagnostic(ErrorCode.
ERR_UnimplementedAbstractMethod
, "Derived").WithArguments("Derived", "Base.this[int, int, int, int].set").WithLocation(19, 7),
2756
Diagnostic(ErrorCode.
ERR_UnimplementedAbstractMethod
, "Derived").WithArguments("Derived", "Base.this[int, int, int, int].get").WithLocation(19, 7),
2759
Diagnostic(ErrorCode.
ERR_UnimplementedAbstractMethod
, "Derived").WithArguments("Derived", "Base.this[int, string, int, int].get").WithLocation(19, 7),
2762
Diagnostic(ErrorCode.
ERR_UnimplementedAbstractMethod
, "Derived").WithArguments("Derived", "Base.this[int, int, int, string].set").WithLocation(19, 7),
2765
Diagnostic(ErrorCode.
ERR_UnimplementedAbstractMethod
, "Derived").WithArguments("Derived", "Base.this[int, int, int, string].get").WithLocation(19, 7),
2768
Diagnostic(ErrorCode.
ERR_UnimplementedAbstractMethod
, "Derived").WithArguments("Derived", "Base.this[string, int, int, int].set").WithLocation(19, 7),
2771
Diagnostic(ErrorCode.
ERR_UnimplementedAbstractMethod
, "Derived").WithArguments("Derived", "Base.this[int, string, string, int].get").WithLocation(19, 7));
2801
Diagnostic(ErrorCode.
ERR_UnimplementedAbstractMethod
, "Derived").WithArguments("Derived", "Base.Event2.add"),
2804
Diagnostic(ErrorCode.
ERR_UnimplementedAbstractMethod
, "Derived").WithArguments("Derived", "Base.Event2.remove"),
2807
Diagnostic(ErrorCode.
ERR_UnimplementedAbstractMethod
, "Derived").WithArguments("Derived", "Base.Event1.add"),
2810
Diagnostic(ErrorCode.
ERR_UnimplementedAbstractMethod
, "Derived").WithArguments("Derived", "Base.Event1.remove"),
2813
Diagnostic(ErrorCode.
ERR_UnimplementedAbstractMethod
, "Derived").WithArguments("Derived", "Base.Event3.add"),
2816
Diagnostic(ErrorCode.
ERR_UnimplementedAbstractMethod
, "Derived").WithArguments("Derived", "Base.Event3.remove"));
2845
new ErrorDescription { Code = (int)ErrorCode.
ERR_UnimplementedAbstractMethod
, Line = 17, Column = 7 }, //Method2
2846
new ErrorDescription { Code = (int)ErrorCode.
ERR_UnimplementedAbstractMethod
, Line = 17, Column = 7 }, //Method4
2876
new ErrorDescription { Code = (int)ErrorCode.
ERR_UnimplementedAbstractMethod
, Line = 17, Column = 7 }, //2.get
2877
new ErrorDescription { Code = (int)ErrorCode.
ERR_UnimplementedAbstractMethod
, Line = 17, Column = 7 }, //2.set
2878
new ErrorDescription { Code = (int)ErrorCode.
ERR_UnimplementedAbstractMethod
, Line = 17, Column = 7 }, //4.get
2879
new ErrorDescription { Code = (int)ErrorCode.
ERR_UnimplementedAbstractMethod
, Line = 17, Column = 7 }, //4.set
2910
Diagnostic(ErrorCode.
ERR_UnimplementedAbstractMethod
, "Concrete").WithArguments("Concrete", "Abstract1.this[int, string, int].get"),
2912
Diagnostic(ErrorCode.
ERR_UnimplementedAbstractMethod
, "Concrete").WithArguments("Concrete", "Abstract1.this[int, string, int].set"),
2914
Diagnostic(ErrorCode.
ERR_UnimplementedAbstractMethod
, "Concrete").WithArguments("Concrete", "Abstract2.this[string, int, int].get"),
2916
Diagnostic(ErrorCode.
ERR_UnimplementedAbstractMethod
, "Concrete").WithArguments("Concrete", "Abstract2.this[string, int, int].set"));
2945
new ErrorDescription { Code = (int)ErrorCode.
ERR_UnimplementedAbstractMethod
, Line = 17, Column = 7 }, //2.add
2946
new ErrorDescription { Code = (int)ErrorCode.
ERR_UnimplementedAbstractMethod
, Line = 17, Column = 7 }, //2.remove
2947
new ErrorDescription { Code = (int)ErrorCode.
ERR_UnimplementedAbstractMethod
, Line = 17, Column = 7 }, //4.add
2948
new ErrorDescription { Code = (int)ErrorCode.
ERR_UnimplementedAbstractMethod
, Line = 17, Column = 7 }, //4.remove
6185
Diagnostic(ErrorCode.
ERR_UnimplementedAbstractMethod
, "Derived").WithArguments("Derived", "Base<int>.Property2.get"),
6187
Diagnostic(ErrorCode.
ERR_UnimplementedAbstractMethod
, "Derived").WithArguments("Derived", "Base<int>.Property1.set"));
6223
Diagnostic(ErrorCode.
ERR_UnimplementedAbstractMethod
, "Derived").WithArguments("Derived", "Base<int>.Property1.set"),
6225
Diagnostic(ErrorCode.
ERR_UnimplementedAbstractMethod
, "Derived").WithArguments("Derived", "Base<int>.Property2.get"));
7657
Diagnostic(ErrorCode.
ERR_UnimplementedAbstractMethod
, "Derived1").WithArguments("Outer<T>.Inner<U>.Derived1<X, Y>", "Outer<X>.Inner<int>.Base<long, Y>.Method<V, W>(X, int[], System.Collections.Generic.List<V>, System.Collections.Generic.Dictionary<W, W>)"));
Semantics\NullableReferenceTypesTests.cs (52)
13673
Diagnostic(ErrorCode.
ERR_UnimplementedAbstractMethod
, "B").WithArguments("B", "A.M3<T>(T?[]?)").WithLocation(16, 7),
13676
Diagnostic(ErrorCode.
ERR_UnimplementedAbstractMethod
, "B").WithArguments("B", "A.M2<T>(T[])").WithLocation(16, 7),
13738
Diagnostic(ErrorCode.
ERR_UnimplementedAbstractMethod
, "B").WithArguments("B", "A.M2<T>(T[])").WithLocation(10, 7),
110398
Diagnostic(ErrorCode.
ERR_UnimplementedAbstractMethod
, "B").WithArguments("B", "A.F4<T>(T?)").WithLocation(12, 7),
110401
Diagnostic(ErrorCode.
ERR_UnimplementedAbstractMethod
, "B").WithArguments("B", "A.F1<T>(T?)").WithLocation(12, 7),
110404
Diagnostic(ErrorCode.
ERR_UnimplementedAbstractMethod
, "B").WithArguments("B", "A.F2<T>(T?)").WithLocation(12, 7),
110407
Diagnostic(ErrorCode.
ERR_UnimplementedAbstractMethod
, "B").WithArguments("B", "A.F6<T>(T?)").WithLocation(12, 7),
110410
Diagnostic(ErrorCode.
ERR_UnimplementedAbstractMethod
, "B").WithArguments("B", "A.F7<T>(T?)").WithLocation(12, 7),
150227
Diagnostic(ErrorCode.
ERR_UnimplementedAbstractMethod
, "B0").WithArguments("B0", "A.F2<T>(T?)").WithLocation(7, 7),
150236
Diagnostic(ErrorCode.
ERR_UnimplementedAbstractMethod
, "B1").WithArguments("B1", "A.F1<T>(T?)").WithLocation(12, 7),
150251
Diagnostic(ErrorCode.
ERR_UnimplementedAbstractMethod
, "B3").WithArguments("B3", "A.F1<T>(T?)").WithLocation(22, 7),
150574
Diagnostic(ErrorCode.
ERR_UnimplementedAbstractMethod
, "B1").WithArguments("B1", "A.F<T>(T?)").WithLocation(2, 7),
150577
Diagnostic(ErrorCode.
ERR_UnimplementedAbstractMethod
, "B2").WithArguments("B2", "A.F<T>(T?)").WithLocation(6, 7),
150580
Diagnostic(ErrorCode.
ERR_UnimplementedAbstractMethod
, "B3").WithArguments("B3", "A.F<T>(T?)").WithLocation(10, 7));
150713
Diagnostic(ErrorCode.
ERR_UnimplementedAbstractMethod
, "B2").WithArguments("B2<T>", "A<T>.F1<U>(U)").WithLocation(7, 7),
150716
Diagnostic(ErrorCode.
ERR_UnimplementedAbstractMethod
, "B2").WithArguments("B2<T>", "A<T>.F2<U>(U?)").WithLocation(7, 7),
150734
Diagnostic(ErrorCode.
ERR_UnimplementedAbstractMethod
, "B4").WithArguments("B4<T>", "A<T?>.F1<U>(U)").WithLocation(17, 7),
150737
Diagnostic(ErrorCode.
ERR_UnimplementedAbstractMethod
, "B4").WithArguments("B4<T>", "A<T?>.F2<U>(U?)").WithLocation(17, 7),
150761
Diagnostic(ErrorCode.
ERR_UnimplementedAbstractMethod
, "B2").WithArguments("B2<T>", "A<T>.F1<U>(U)").WithLocation(7, 7),
150764
Diagnostic(ErrorCode.
ERR_UnimplementedAbstractMethod
, "B2").WithArguments("B2<T>", "A<T>.F2<U>(U?)").WithLocation(7, 7),
150782
Diagnostic(ErrorCode.
ERR_UnimplementedAbstractMethod
, "B4").WithArguments("B4<T>", "A<T?>.F1<U>(U)").WithLocation(17, 7),
150785
Diagnostic(ErrorCode.
ERR_UnimplementedAbstractMethod
, "B4").WithArguments("B4<T>", "A<T?>.F2<U>(U?)").WithLocation(17, 7),
150841
Diagnostic(ErrorCode.
ERR_UnimplementedAbstractMethod
, "B2").WithArguments("B2<T>", "A<T>.F1<U>(U)").WithLocation(7, 7),
150844
Diagnostic(ErrorCode.
ERR_UnimplementedAbstractMethod
, "B2").WithArguments("B2<T>", "A<T>.F2<U>(U?)").WithLocation(7, 7),
150862
Diagnostic(ErrorCode.
ERR_UnimplementedAbstractMethod
, "B4").WithArguments("B4<T>", "A<T?>.F1<U>(U)").WithLocation(17, 7),
150865
Diagnostic(ErrorCode.
ERR_UnimplementedAbstractMethod
, "B4").WithArguments("B4<T>", "A<T?>.F2<U>(U?)").WithLocation(17, 7),
150921
Diagnostic(ErrorCode.
ERR_UnimplementedAbstractMethod
, "B2").WithArguments("B2<T>", "A<T>.F1<U>(U)").WithLocation(7, 7),
150924
Diagnostic(ErrorCode.
ERR_UnimplementedAbstractMethod
, "B2").WithArguments("B2<T>", "A<T>.F2<U>(U?)").WithLocation(7, 7),
150942
Diagnostic(ErrorCode.
ERR_UnimplementedAbstractMethod
, "B4").WithArguments("B4<T>", "A<T?>.F1<U>(U)").WithLocation(17, 7),
150945
Diagnostic(ErrorCode.
ERR_UnimplementedAbstractMethod
, "B4").WithArguments("B4<T>", "A<T?>.F2<U>(U?)").WithLocation(17, 7),
150998
Diagnostic(ErrorCode.
ERR_UnimplementedAbstractMethod
, "B2").WithArguments("B2<T>", "A<T>.F1<U>(U)").WithLocation(7, 7),
151001
Diagnostic(ErrorCode.
ERR_UnimplementedAbstractMethod
, "B2").WithArguments("B2<T>", "A<T>.F2<U>(U)").WithLocation(7, 7),
151016
Diagnostic(ErrorCode.
ERR_UnimplementedAbstractMethod
, "B4").WithArguments("B4<T>", "A<T?>.F1<U>(U)").WithLocation(17, 7),
151019
Diagnostic(ErrorCode.
ERR_UnimplementedAbstractMethod
, "B4").WithArguments("B4<T>", "A<T?>.F2<U>(U)").WithLocation(17, 7),
151084
Diagnostic(ErrorCode.
ERR_UnimplementedAbstractMethod
, "B2").WithArguments("B2<T>", "A<T>.F1<U>(U)").WithLocation(7, 7),
151087
Diagnostic(ErrorCode.
ERR_UnimplementedAbstractMethod
, "B2").WithArguments("B2<T>", "A<T>.F2<U>(U?)").WithLocation(7, 7),
151105
Diagnostic(ErrorCode.
ERR_UnimplementedAbstractMethod
, "B4").WithArguments("B4<T>", "A<T?>.F1<U>(U)").WithLocation(17, 7),
151108
Diagnostic(ErrorCode.
ERR_UnimplementedAbstractMethod
, "B4").WithArguments("B4<T>", "A<T?>.F2<U>(U?)").WithLocation(17, 7),
151164
Diagnostic(ErrorCode.
ERR_UnimplementedAbstractMethod
, "B2").WithArguments("B2", "A<string>.F1<U>(U)").WithLocation(7, 7),
151167
Diagnostic(ErrorCode.
ERR_UnimplementedAbstractMethod
, "B2").WithArguments("B2", "A<string>.F2<U>(U?)").WithLocation(7, 7),
151185
Diagnostic(ErrorCode.
ERR_UnimplementedAbstractMethod
, "B4").WithArguments("B4", "A<string?>.F1<U>(U)").WithLocation(17, 7),
151188
Diagnostic(ErrorCode.
ERR_UnimplementedAbstractMethod
, "B4").WithArguments("B4", "A<string?>.F2<U>(U?)").WithLocation(17, 7),
151253
Diagnostic(ErrorCode.
ERR_UnimplementedAbstractMethod
, "B2").WithArguments("B2", "A<int>.F1<U>(U)").WithLocation(7, 7),
151256
Diagnostic(ErrorCode.
ERR_UnimplementedAbstractMethod
, "B2").WithArguments("B2", "A<int>.F2<U>(U)").WithLocation(7, 7),
151271
Diagnostic(ErrorCode.
ERR_UnimplementedAbstractMethod
, "B4").WithArguments("B4", "A<int?>.F1<U>(U)").WithLocation(17, 7),
151274
Diagnostic(ErrorCode.
ERR_UnimplementedAbstractMethod
, "B4").WithArguments("B4", "A<int?>.F2<U>(U)").WithLocation(17, 7),
153389
Diagnostic(ErrorCode.
ERR_UnimplementedAbstractMethod
, "B2").WithArguments("B2", "A2.F5<T>(T)").WithLocation(11, 7),
153392
Diagnostic(ErrorCode.
ERR_UnimplementedAbstractMethod
, "B2").WithArguments("B2", "A2.F4<T>(T)").WithLocation(11, 7),
153395
Diagnostic(ErrorCode.
ERR_UnimplementedAbstractMethod
, "B2").WithArguments("B2", "A2.F6<T>(T)").WithLocation(11, 7),
153398
Diagnostic(ErrorCode.
ERR_UnimplementedAbstractMethod
, "B2").WithArguments("B2", "A2.F1<T>(T)").WithLocation(11, 7),
153401
Diagnostic(ErrorCode.
ERR_UnimplementedAbstractMethod
, "B2").WithArguments("B2", "A2.F3<T>(T)").WithLocation(11, 7),
153404
Diagnostic(ErrorCode.
ERR_UnimplementedAbstractMethod
, "B2").WithArguments("B2", "A2.F2<T>(T)").WithLocation(11, 7),
Semantics\OverloadResolutionTests.cs (4)
6929
Diagnostic(ErrorCode.
ERR_UnimplementedAbstractMethod
, "C").WithArguments("C", "A.this[string].set"));
8321
Diagnostic(ErrorCode.
ERR_UnimplementedAbstractMethod
, "A").WithArguments("A", "System.Security.Permissions.SecurityAttribute.CreatePermission()").WithLocation(14, 14),
8324
Diagnostic(ErrorCode.
ERR_UnimplementedAbstractMethod
, "C").WithArguments("C", "System.Security.Permissions.SecurityAttribute.CreatePermission()").WithLocation(28, 14),
8327
Diagnostic(ErrorCode.
ERR_UnimplementedAbstractMethod
, "B").WithArguments("B", "System.Security.Permissions.SecurityAttribute.CreatePermission()").WithLocation(21, 14),
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (38)
Symbols\AccessorOverriddenOrHiddenMembersTests.cs (1)
290
Diagnostic(ErrorCode.
ERR_UnimplementedAbstractMethod
, "TestClass3").WithArguments("TestClass3", "TestClass1.P2.get"));
Symbols\DestructorTests.cs (1)
532
Diagnostic(ErrorCode.
ERR_UnimplementedAbstractMethod
, "Derived").WithArguments("Derived", "Base.~Base()"));
Symbols\ExtendedPartialMethodsTests.cs (1)
2976
Diagnostic(ErrorCode.
ERR_UnimplementedAbstractMethod
, "Derived").WithArguments("Derived", "Base.M1(int[*])").WithLocation(2, 22),
Symbols\Metadata\PE\LoadingMethods.cs (8)
788
Diagnostic(ErrorCode.
ERR_UnimplementedAbstractMethod
, "Abstract").WithArguments("Abstract", "MetadataModifiers.M02()"),
790
Diagnostic(ErrorCode.
ERR_UnimplementedAbstractMethod
, "Abstract").WithArguments("Abstract", "MetadataModifiers.M05()"),
792
Diagnostic(ErrorCode.
ERR_UnimplementedAbstractMethod
, "Abstract").WithArguments("Abstract", "MetadataModifiers.M08()"),
794
Diagnostic(ErrorCode.
ERR_UnimplementedAbstractMethod
, "Abstract").WithArguments("Abstract", "MetadataModifiers.M09()"),
796
Diagnostic(ErrorCode.
ERR_UnimplementedAbstractMethod
, "Abstract").WithArguments("Abstract", "MetadataModifiers.M11()"),
798
Diagnostic(ErrorCode.
ERR_UnimplementedAbstractMethod
, "Abstract").WithArguments("Abstract", "MetadataModifiers.M12()"),
800
Diagnostic(ErrorCode.
ERR_UnimplementedAbstractMethod
, "Abstract").WithArguments("Abstract", "MetadataModifiers.M14()"),
802
Diagnostic(ErrorCode.
ERR_UnimplementedAbstractMethod
, "Abstract").WithArguments("Abstract", "MetadataModifiers.M15()"));
Symbols\OverriddenOrHiddenMembersTests.cs (19)
819
Diagnostic(ErrorCode.
ERR_UnimplementedAbstractMethod
, "Base2").WithArguments("Base2<A, B>", "Base<A, B>.Property.get"),
820
Diagnostic(ErrorCode.
ERR_UnimplementedAbstractMethod
, "Base4").WithArguments("Base4<U, V>", "Base3<U, V>.Method(U, V)"));
862
Diagnostic(ErrorCode.
ERR_UnimplementedAbstractMethod
, "Base4").WithArguments("Base4", "Base3.Method(int, long)"),
863
Diagnostic(ErrorCode.
ERR_UnimplementedAbstractMethod
, "Base4").WithArguments("Base4", "Base2.Method(int)"),
864
Diagnostic(ErrorCode.
ERR_UnimplementedAbstractMethod
, "Base4").WithArguments("Base4", "Base.Property.get"));
1272
Diagnostic(ErrorCode.
ERR_UnimplementedAbstractMethod
, "Derived").WithArguments("Derived", "AccessorModifierMismatch.NoneAbstract.set"),
1275
Diagnostic(ErrorCode.
ERR_UnimplementedAbstractMethod
, "Derived").WithArguments("Derived", "AccessorModifierMismatch.AbstractNone.get"));
1374
Diagnostic(ErrorCode.
ERR_UnimplementedAbstractMethod
, "Derived").WithArguments("Derived", "AccessorModifierMismatch.NoneAbstract.set"));
1473
Diagnostic(ErrorCode.
ERR_UnimplementedAbstractMethod
, "Derived").WithArguments("Derived", "AccessorModifierMismatch.AbstractNone.get"));
1568
Diagnostic(ErrorCode.
ERR_UnimplementedAbstractMethod
, "Derived").WithArguments("Derived", "AccessorModifierMismatch.NoneAbstract.remove"),
1571
Diagnostic(ErrorCode.
ERR_UnimplementedAbstractMethod
, "Derived").WithArguments("Derived", "AccessorModifierMismatch.AbstractNone.add"));
1731
Diagnostic(ErrorCode.
ERR_UnimplementedAbstractMethod
, "Derived").WithArguments("Derived", "AccessorModifierMismatch.AbstractSealed.add"));
1744
Diagnostic(ErrorCode.
ERR_UnimplementedAbstractMethod
, "Derived").WithArguments("Derived", "AccessorModifierMismatch.AbstractSealed.add"));
1891
Diagnostic(ErrorCode.
ERR_UnimplementedAbstractMethod
, "TestClass3").WithArguments("TestClass3", "TestClass1.P2.get"));
2463
Diagnostic(ErrorCode.
ERR_UnimplementedAbstractMethod
, "D").WithArguments("D", "A.X.get"));
2646
Diagnostic(ErrorCode.
ERR_UnimplementedAbstractMethod
, "D").WithArguments("D", "A.this[int].get"));
3758
Diagnostic(ErrorCode.
ERR_UnimplementedAbstractMethod
, "Required").WithArguments("Required", "Validator<object>.DoValidate(object)").WithLocation(46, 14)
4561
Diagnostic(ErrorCode.
ERR_UnimplementedAbstractMethod
, "B").WithArguments("B", "A.this[in int].get").WithLocation(6, 7));
4584
Diagnostic(ErrorCode.
ERR_UnimplementedAbstractMethod
, "B").WithArguments("B", "A.this[int].get").WithLocation(6, 7));
Symbols\SymbolErrorTests.cs (8)
2089
Diagnostic(ErrorCode.
ERR_UnimplementedAbstractMethod
, "MyClass2").WithArguments("MyNamespace.MyClass2", "MyNamespace.MyClass.MyMethod()").WithLocation(7, 18),
2118
Diagnostic(ErrorCode.
ERR_UnimplementedAbstractMethod
, "B").WithArguments("B", "A.P.get").WithLocation(5, 7),
3225
new ErrorDescription { Code = (int)ErrorCode.
ERR_UnimplementedAbstractMethod
, Line = 6, Column = 7 });
9686
new ErrorDescription { Code = (int)ErrorCode.
ERR_UnimplementedAbstractMethod
, Line = 13, Column = 7 },
9687
new ErrorDescription { Code = (int)ErrorCode.
ERR_UnimplementedAbstractMethod
, Line = 26, Column = 14 },
9688
new ErrorDescription { Code = (int)ErrorCode.
ERR_UnimplementedAbstractMethod
, Line = 26, Column = 14 });
15944
Diagnostic(ErrorCode.
ERR_UnimplementedAbstractMethod
, "Derived").WithArguments("Derived", "Base.myProperty.set").WithLocation(10, 14),
17611
new ErrorDescription { Code = (int)ErrorCode.
ERR_UnimplementedAbstractMethod
, Line = 6, Column = 14 }