181 references to ERR_UnimplementedAbstractMethod
Microsoft.CodeAnalysis.CSharp (2)
Errors\ErrorFacts.cs (1)
880
case ErrorCode.
ERR_UnimplementedAbstractMethod
:
Symbols\Source\SourceMemberContainerSymbol_ImplementationChecks.cs (1)
105
diagnostics.Add(ErrorCode.
ERR_UnimplementedAbstractMethod
, this.Locations[0], this, abstractMember);
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (6)
CodeGen\CodeGenFunctionPointersTests.cs (2)
6857
Diagnostic(ErrorCode.
ERR_UnimplementedAbstractMethod
, "Derived").WithArguments("Derived", "Base.M1(delegate*<int[*], void>)").WithLocation(2, 14),
6860
Diagnostic(ErrorCode.
ERR_UnimplementedAbstractMethod
, "Derived").WithArguments("Derived", "Base.M3(delegate*<int[*]>)").WithLocation(2, 14),
CodeGen\CodeGenOverridingAndHiding.cs (2)
4458
Diagnostic(ErrorCode.
ERR_UnimplementedAbstractMethod
, "C5").WithArguments("C5", "C1.foo()"),
4461
Diagnostic(ErrorCode.
ERR_UnimplementedAbstractMethod
, "C6").WithArguments("C6", "C1.foo()"));
PrivateProtected.cs (2)
738
Diagnostic(ErrorCode.
ERR_UnimplementedAbstractMethod
, "B").WithArguments("B", "A.F()").WithLocation(1, 7)
768
Diagnostic(ErrorCode.
ERR_UnimplementedAbstractMethod
, "B").WithArguments("B", "A.F()").WithLocation(1, 7)
Microsoft.CodeAnalysis.CSharp.Emit2.UnitTests (1)
Attributes\AttributeTests_Security.cs (1)
1706
Diagnostic(ErrorCode.
ERR_UnimplementedAbstractMethod
, "A").WithArguments("A", "System.Security.Permissions.SecurityAttribute.CreatePermission()").WithLocation(6, 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 (133)
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)
13661
Diagnostic(ErrorCode.
ERR_UnimplementedAbstractMethod
, "B").WithArguments("B", "A.M3<T>(T?[]?)").WithLocation(16, 7),
13664
Diagnostic(ErrorCode.
ERR_UnimplementedAbstractMethod
, "B").WithArguments("B", "A.M2<T>(T[])").WithLocation(16, 7),
13726
Diagnostic(ErrorCode.
ERR_UnimplementedAbstractMethod
, "B").WithArguments("B", "A.M2<T>(T[])").WithLocation(10, 7),
106628
Diagnostic(ErrorCode.
ERR_UnimplementedAbstractMethod
, "B").WithArguments("B", "A.F4<T>(T?)").WithLocation(12, 7),
106631
Diagnostic(ErrorCode.
ERR_UnimplementedAbstractMethod
, "B").WithArguments("B", "A.F1<T>(T?)").WithLocation(12, 7),
106634
Diagnostic(ErrorCode.
ERR_UnimplementedAbstractMethod
, "B").WithArguments("B", "A.F2<T>(T?)").WithLocation(12, 7),
106637
Diagnostic(ErrorCode.
ERR_UnimplementedAbstractMethod
, "B").WithArguments("B", "A.F6<T>(T?)").WithLocation(12, 7),
106640
Diagnostic(ErrorCode.
ERR_UnimplementedAbstractMethod
, "B").WithArguments("B", "A.F7<T>(T?)").WithLocation(12, 7),
145797
Diagnostic(ErrorCode.
ERR_UnimplementedAbstractMethod
, "B0").WithArguments("B0", "A.F2<T>(T?)").WithLocation(7, 7),
145806
Diagnostic(ErrorCode.
ERR_UnimplementedAbstractMethod
, "B1").WithArguments("B1", "A.F1<T>(T?)").WithLocation(12, 7),
145821
Diagnostic(ErrorCode.
ERR_UnimplementedAbstractMethod
, "B3").WithArguments("B3", "A.F1<T>(T?)").WithLocation(22, 7),
146144
Diagnostic(ErrorCode.
ERR_UnimplementedAbstractMethod
, "B1").WithArguments("B1", "A.F<T>(T?)").WithLocation(2, 7),
146147
Diagnostic(ErrorCode.
ERR_UnimplementedAbstractMethod
, "B2").WithArguments("B2", "A.F<T>(T?)").WithLocation(6, 7),
146150
Diagnostic(ErrorCode.
ERR_UnimplementedAbstractMethod
, "B3").WithArguments("B3", "A.F<T>(T?)").WithLocation(10, 7));
146283
Diagnostic(ErrorCode.
ERR_UnimplementedAbstractMethod
, "B2").WithArguments("B2<T>", "A<T>.F1<U>(U)").WithLocation(7, 7),
146286
Diagnostic(ErrorCode.
ERR_UnimplementedAbstractMethod
, "B2").WithArguments("B2<T>", "A<T>.F2<U>(U?)").WithLocation(7, 7),
146304
Diagnostic(ErrorCode.
ERR_UnimplementedAbstractMethod
, "B4").WithArguments("B4<T>", "A<T?>.F1<U>(U)").WithLocation(17, 7),
146307
Diagnostic(ErrorCode.
ERR_UnimplementedAbstractMethod
, "B4").WithArguments("B4<T>", "A<T?>.F2<U>(U?)").WithLocation(17, 7),
146331
Diagnostic(ErrorCode.
ERR_UnimplementedAbstractMethod
, "B2").WithArguments("B2<T>", "A<T>.F1<U>(U)").WithLocation(7, 7),
146334
Diagnostic(ErrorCode.
ERR_UnimplementedAbstractMethod
, "B2").WithArguments("B2<T>", "A<T>.F2<U>(U?)").WithLocation(7, 7),
146352
Diagnostic(ErrorCode.
ERR_UnimplementedAbstractMethod
, "B4").WithArguments("B4<T>", "A<T?>.F1<U>(U)").WithLocation(17, 7),
146355
Diagnostic(ErrorCode.
ERR_UnimplementedAbstractMethod
, "B4").WithArguments("B4<T>", "A<T?>.F2<U>(U?)").WithLocation(17, 7),
146411
Diagnostic(ErrorCode.
ERR_UnimplementedAbstractMethod
, "B2").WithArguments("B2<T>", "A<T>.F1<U>(U)").WithLocation(7, 7),
146414
Diagnostic(ErrorCode.
ERR_UnimplementedAbstractMethod
, "B2").WithArguments("B2<T>", "A<T>.F2<U>(U?)").WithLocation(7, 7),
146432
Diagnostic(ErrorCode.
ERR_UnimplementedAbstractMethod
, "B4").WithArguments("B4<T>", "A<T?>.F1<U>(U)").WithLocation(17, 7),
146435
Diagnostic(ErrorCode.
ERR_UnimplementedAbstractMethod
, "B4").WithArguments("B4<T>", "A<T?>.F2<U>(U?)").WithLocation(17, 7),
146491
Diagnostic(ErrorCode.
ERR_UnimplementedAbstractMethod
, "B2").WithArguments("B2<T>", "A<T>.F1<U>(U)").WithLocation(7, 7),
146494
Diagnostic(ErrorCode.
ERR_UnimplementedAbstractMethod
, "B2").WithArguments("B2<T>", "A<T>.F2<U>(U?)").WithLocation(7, 7),
146512
Diagnostic(ErrorCode.
ERR_UnimplementedAbstractMethod
, "B4").WithArguments("B4<T>", "A<T?>.F1<U>(U)").WithLocation(17, 7),
146515
Diagnostic(ErrorCode.
ERR_UnimplementedAbstractMethod
, "B4").WithArguments("B4<T>", "A<T?>.F2<U>(U?)").WithLocation(17, 7),
146568
Diagnostic(ErrorCode.
ERR_UnimplementedAbstractMethod
, "B2").WithArguments("B2<T>", "A<T>.F1<U>(U)").WithLocation(7, 7),
146571
Diagnostic(ErrorCode.
ERR_UnimplementedAbstractMethod
, "B2").WithArguments("B2<T>", "A<T>.F2<U>(U)").WithLocation(7, 7),
146586
Diagnostic(ErrorCode.
ERR_UnimplementedAbstractMethod
, "B4").WithArguments("B4<T>", "A<T?>.F1<U>(U)").WithLocation(17, 7),
146589
Diagnostic(ErrorCode.
ERR_UnimplementedAbstractMethod
, "B4").WithArguments("B4<T>", "A<T?>.F2<U>(U)").WithLocation(17, 7),
146654
Diagnostic(ErrorCode.
ERR_UnimplementedAbstractMethod
, "B2").WithArguments("B2<T>", "A<T>.F1<U>(U)").WithLocation(7, 7),
146657
Diagnostic(ErrorCode.
ERR_UnimplementedAbstractMethod
, "B2").WithArguments("B2<T>", "A<T>.F2<U>(U?)").WithLocation(7, 7),
146675
Diagnostic(ErrorCode.
ERR_UnimplementedAbstractMethod
, "B4").WithArguments("B4<T>", "A<T?>.F1<U>(U)").WithLocation(17, 7),
146678
Diagnostic(ErrorCode.
ERR_UnimplementedAbstractMethod
, "B4").WithArguments("B4<T>", "A<T?>.F2<U>(U?)").WithLocation(17, 7),
146734
Diagnostic(ErrorCode.
ERR_UnimplementedAbstractMethod
, "B2").WithArguments("B2", "A<string>.F1<U>(U)").WithLocation(7, 7),
146737
Diagnostic(ErrorCode.
ERR_UnimplementedAbstractMethod
, "B2").WithArguments("B2", "A<string>.F2<U>(U?)").WithLocation(7, 7),
146755
Diagnostic(ErrorCode.
ERR_UnimplementedAbstractMethod
, "B4").WithArguments("B4", "A<string?>.F1<U>(U)").WithLocation(17, 7),
146758
Diagnostic(ErrorCode.
ERR_UnimplementedAbstractMethod
, "B4").WithArguments("B4", "A<string?>.F2<U>(U?)").WithLocation(17, 7),
146823
Diagnostic(ErrorCode.
ERR_UnimplementedAbstractMethod
, "B2").WithArguments("B2", "A<int>.F1<U>(U)").WithLocation(7, 7),
146826
Diagnostic(ErrorCode.
ERR_UnimplementedAbstractMethod
, "B2").WithArguments("B2", "A<int>.F2<U>(U)").WithLocation(7, 7),
146841
Diagnostic(ErrorCode.
ERR_UnimplementedAbstractMethod
, "B4").WithArguments("B4", "A<int?>.F1<U>(U)").WithLocation(17, 7),
146844
Diagnostic(ErrorCode.
ERR_UnimplementedAbstractMethod
, "B4").WithArguments("B4", "A<int?>.F2<U>(U)").WithLocation(17, 7),
148959
Diagnostic(ErrorCode.
ERR_UnimplementedAbstractMethod
, "B2").WithArguments("B2", "A2.F5<T>(T)").WithLocation(11, 7),
148962
Diagnostic(ErrorCode.
ERR_UnimplementedAbstractMethod
, "B2").WithArguments("B2", "A2.F4<T>(T)").WithLocation(11, 7),
148965
Diagnostic(ErrorCode.
ERR_UnimplementedAbstractMethod
, "B2").WithArguments("B2", "A2.F6<T>(T)").WithLocation(11, 7),
148968
Diagnostic(ErrorCode.
ERR_UnimplementedAbstractMethod
, "B2").WithArguments("B2", "A2.F1<T>(T)").WithLocation(11, 7),
148971
Diagnostic(ErrorCode.
ERR_UnimplementedAbstractMethod
, "B2").WithArguments("B2", "A2.F3<T>(T)").WithLocation(11, 7),
148974
Diagnostic(ErrorCode.
ERR_UnimplementedAbstractMethod
, "B2").WithArguments("B2", "A2.F2<T>(T)").WithLocation(11, 7),
Semantics\OverloadResolutionTests.cs (4)
6931
Diagnostic(ErrorCode.
ERR_UnimplementedAbstractMethod
, "C").WithArguments("C", "A.this[string].set"));
8326
Diagnostic(ErrorCode.
ERR_UnimplementedAbstractMethod
, "A").WithArguments("A", "System.Security.Permissions.SecurityAttribute.CreatePermission()").WithLocation(14, 14),
8329
Diagnostic(ErrorCode.
ERR_UnimplementedAbstractMethod
, "C").WithArguments("C", "System.Security.Permissions.SecurityAttribute.CreatePermission()").WithLocation(28, 14),
8332
Diagnostic(ErrorCode.
ERR_UnimplementedAbstractMethod
, "B").WithArguments("B", "System.Security.Permissions.SecurityAttribute.CreatePermission()").WithLocation(21, 14),
Semantics\RecordTests.cs (12)
11230
Diagnostic(ErrorCode.
ERR_UnimplementedAbstractMethod
, "B").WithArguments("B", "A.P6.set").WithLocation(10, 8),
11233
Diagnostic(ErrorCode.
ERR_UnimplementedAbstractMethod
, "B").WithArguments("B", "A.P5.init").WithLocation(10, 8),
11287
Diagnostic(ErrorCode.
ERR_UnimplementedAbstractMethod
, "B").WithArguments("B", "A.P1.init").WithLocation(6, 8),
11290
Diagnostic(ErrorCode.
ERR_UnimplementedAbstractMethod
, "B").WithArguments("B", "A.P1.get").WithLocation(6, 8),
12085
Diagnostic(ErrorCode.
ERR_UnimplementedAbstractMethod
, "C").WithArguments("C", "A.Y.get").WithLocation(12, 8),
12088
Diagnostic(ErrorCode.
ERR_UnimplementedAbstractMethod
, "C").WithArguments("C", "A.X.get").WithLocation(12, 8),
12091
Diagnostic(ErrorCode.
ERR_UnimplementedAbstractMethod
, "C").WithArguments("C", "A.X.init").WithLocation(12, 8),
12094
Diagnostic(ErrorCode.
ERR_UnimplementedAbstractMethod
, "C").WithArguments("C", "A.Y.init").WithLocation(12, 8),
12205
Diagnostic(ErrorCode.
ERR_UnimplementedAbstractMethod
, "CB").WithArguments("CB", "A.P.get").WithLocation(2, 8),
12208
Diagnostic(ErrorCode.
ERR_UnimplementedAbstractMethod
, "CB").WithArguments("CB", "A.P.init").WithLocation(2, 8),
15805
Diagnostic(ErrorCode.
ERR_UnimplementedAbstractMethod
, "B").WithArguments("B", "A.Equals(object)").WithLocation(7, 8)
18229
Diagnostic(ErrorCode.
ERR_UnimplementedAbstractMethod
, "B").WithArguments("B", "A.Equals(B)").WithLocation(8, 8)
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)
2568
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)
2085
Diagnostic(ErrorCode.
ERR_UnimplementedAbstractMethod
, "MyClass2").WithArguments("MyNamespace.MyClass2", "MyNamespace.MyClass.MyMethod()").WithLocation(7, 18),
2114
Diagnostic(ErrorCode.
ERR_UnimplementedAbstractMethod
, "B").WithArguments("B", "A.P.get").WithLocation(5, 7),
3210
new ErrorDescription { Code = (int)ErrorCode.
ERR_UnimplementedAbstractMethod
, Line = 6, Column = 7 });
9543
new ErrorDescription { Code = (int)ErrorCode.
ERR_UnimplementedAbstractMethod
, Line = 13, Column = 7 },
9544
new ErrorDescription { Code = (int)ErrorCode.
ERR_UnimplementedAbstractMethod
, Line = 26, Column = 14 },
9545
new ErrorDescription { Code = (int)ErrorCode.
ERR_UnimplementedAbstractMethod
, Line = 26, Column = 14 });
15799
Diagnostic(ErrorCode.
ERR_UnimplementedAbstractMethod
, "Derived").WithArguments("Derived", "Base.myProperty.set").WithLocation(10, 14),
17466
new ErrorDescription { Code = (int)ErrorCode.
ERR_UnimplementedAbstractMethod
, Line = 6, Column = 14 }