259 references to ERR_InterfaceMemberNotFound
Microsoft.CodeAnalysis.CSharp (2)
Errors\ErrorFacts.cs (1)
884
case ErrorCode.
ERR_InterfaceMemberNotFound
:
Symbols\Source\ExplicitInterfaceHelpers.cs (1)
300
diagnostics.Add(ErrorCode.
ERR_InterfaceMemberNotFound
, memberLocation, implementingMember);
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (84)
Semantics\BindingTests.cs (4)
1631
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "Moniker").WithArguments("BarImpl.Moniker").WithLocation(4, 24),
1642
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "Moniker").WithArguments("BarImpl.Moniker").WithLocation(4, 24),
1733
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "SetMoniker").WithArguments("BarImpl.SetMoniker(ImageMoniker?)").WithLocation(4, 15),
1744
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "SetMoniker").WithArguments("BarImpl.SetMoniker(ImageMoniker?)").WithLocation(4, 15),
Semantics\InheritanceBindingTests.cs (40)
110
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "Method12").WithArguments("AbstractGoo.Method12()").WithLocation(37, 22),
199
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "Property12").WithArguments("AbstractGoo.Property12").WithLocation(35, 21),
361
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "Event12").WithArguments("AbstractGoo.Event12").WithLocation(35, 37),
3400
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "Method3").WithArguments("Base.Method3()"),
3402
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "Method4").WithArguments("Base.Method4()"),
3461
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "Property3").WithArguments("Base.Property3"),
3463
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "Property4").WithArguments("Base.Property4"),
3522
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "this").WithArguments("Base.this[string, int]"),
3524
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "this").WithArguments("Base.this[string, string]"),
3588
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "Event3").WithArguments("Base.Event3"),
3591
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "Event4").WithArguments("Base.Event4"),
6806
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "Method").WithArguments("Class.Method<U>(int, U[], System.Collections.Generic.List<U>[])"),
6809
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "Method").WithArguments("Class1.Method<U>(ref int, out U[], System.Collections.Generic.List<U>[])"),
6830
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "Method").WithArguments("Class2.Method<U>(ref int, out U[], out System.Collections.Generic.List<U>[])"),
6833
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "Method").WithArguments("Class2.Method(ref int, long, string, params System.Collections.Generic.List<string>[])"),
7025
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "Method").WithArguments("Class1.Method<T, U>(long, int)"),
7026
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "Method").WithArguments("Class4.Method<T>(long, int)"),
7030
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "Property").WithArguments("Class41.Property"),
7031
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "Method").WithArguments("Class2.Method(long, int)"),
7034
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "Method").WithArguments("Class52.Method<T, U, V>(T, U, V)"),
7037
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "Method").WithArguments("Class7.Method<T>(int, long)"),
7039
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "Method1").WithArguments("Class5.Method1<T>(long, int)"),
7040
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "Method").WithArguments("Class3.Method<V, T, U>(T, U, V)"),
7043
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "Method").WithArguments("Class6.Method<T>(long)"),
7433
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "Method").WithArguments("Outer<T>.Inner<U>.Derived4.Method<K>(U, T[], System.Collections.Generic.List<U>, System.Collections.Generic.Dictionary<U, K>)"),
7437
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "Method").WithArguments("Outer<T>.Inner<U>.Derived4.Derived5.Method<K>(T, U[], System.Collections.Generic.List<U>, System.Collections.Generic.Dictionary<K, T>)"),
7441
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "Property").WithArguments("Outer<T>.Inner<U>.Derived4.Derived5.Derived7<u>.Property"),
7443
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "Method").WithArguments("Outer<T>.Inner<U>.Derived4.Derived5.Derived7<u>.Method<K>(System.Collections.Generic.List<T>, U[], System.Collections.Generic.List<System.Collections.Generic.List<u>>, System.Collections.Generic.Dictionary<T, K>)"),
7473
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "Property").WithArguments("Outer<T>.Inner<U>.Derived3.Property"),
7475
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "Method").WithArguments("Outer<T>.Inner<U>.Derived3.Method<K>(T, K[], System.Collections.Generic.List<long>, System.Collections.Generic.Dictionary<string, K>)"),
7536
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "Method").WithArguments("Outer<T>.Inner<U>.Derived1<X, Y>.Method<X, Y>(X, int[], System.Collections.Generic.List<X>, System.Collections.Generic.Dictionary<Y, Y>)"),
7539
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "Method").WithArguments("Outer<T>.Inner<U>.Derived1<X, Y>.Method<X>(X, int[], System.Collections.Generic.List<long>, System.Collections.Generic.Dictionary<Y, X>)"),
7596
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "Method").WithArguments("Outer<T>.Inner<U>.Derived1<X, Y>.Method<X, Y>(X, int[], System.Collections.Generic.List<X>, System.Collections.Generic.Dictionary<Y, Y>)"),
7598
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "Method").WithArguments("Outer<T>.Inner<U>.Derived1<X, Y>.Method<X>(X, int[], System.Collections.Generic.List<long>, System.Collections.Generic.Dictionary<Y, X>)"),
7730
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "Property").WithArguments("Outer<T>.Inner<U>.Derived4.Property"),
7734
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "Method").WithArguments("Outer<T>.Inner<U>.Derived4.Method<K>(U, T[], System.Collections.Generic.List<T>, System.Collections.Generic.Dictionary<U, K>)"),
7746
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "Property").WithArguments("Outer<T>.Inner<U>.Derived1.Derived2<X, Y>.Property"),
7750
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "Method").WithArguments("Outer<T>.Inner<U>.Derived1.Derived2<X, Y>.Method<K>(X, int[], System.Collections.Generic.List<long>, System.Collections.Generic.Dictionary<Y, K>)"),
9138
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "Goo").WithArguments("C.Goo<T>(T)").WithLocation(8, 12),
9160
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "Goo").WithArguments("C.Goo<T>(T)").WithLocation(8, 12),
Semantics\NullableReferenceTypesTests.cs (26)
13369
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "M2").WithArguments("B.M2<S>()").WithLocation(23, 13),
13372
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "M3").WithArguments("B.M3<S>()").WithLocation(28, 14),
13444
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "M2").WithArguments("B.M2<S>()").WithLocation(17, 13),
16523
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "M2").WithArguments("B.M2<T>(T?[])").WithLocation(20, 13),
16526
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "M3").WithArguments("B.M3<T>(T?[]?)").WithLocation(24, 13),
75174
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "M").WithArguments("C.M<T>(T?)").WithLocation(7, 12),
112368
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "Method").WithArguments("Outer<T>.Inner<U>.Derived4.Derived5.Method<K>(T, U[], System.Collections.Generic.List<U>, System.Collections.Generic.Dictionary<K, T>)").WithLocation(20, 47)
134719
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "Goo").WithArguments("C2.Goo<T>(T?)").WithLocation(15, 12),
134752
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "Goo").WithArguments("C2.Goo<T>(T?)").WithLocation(15, 12),
135107
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "Goo").WithArguments("C2.Goo<T>(T?)").WithLocation(12, 14),
146931
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "F1").WithArguments("C2<T>.F1<U>(U?)").WithLocation(9, 15),
146937
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "F2").WithArguments("C2<T>.F2<U>(U?)").WithLocation(10, 15),
146967
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "F1").WithArguments("C4<T>.F1<U>(U?)").WithLocation(19, 16),
146976
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "F2").WithArguments("C4<T>.F2<U>(U?)").WithLocation(20, 16),
147033
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "F1").WithArguments("C2<T>.F1<U>(U?)").WithLocation(9, 15),
147039
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "F2").WithArguments("C2<T>.F2<U>(U?)").WithLocation(10, 15),
147054
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "F1").WithArguments("C4<T>.F1<U>(U?)").WithLocation(19, 16),
147060
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "F2").WithArguments("C4<T>.F2<U>(U?)").WithLocation(20, 16),
147113
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "F1").WithArguments("C2.F1<U>(U?)").WithLocation(9, 20),
147119
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "F2").WithArguments("C2.F2<U>(U?)").WithLocation(10, 20),
147134
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "F1").WithArguments("C4.F1<U>(U?)").WithLocation(19, 21),
147140
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "F2").WithArguments("C4.F2<U>(U?)").WithLocation(20, 21),
147202
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "F1").WithArguments("C2.F1<U>(U?)").WithLocation(9, 17),
147208
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "F2").WithArguments("C2.F2<U>(U?)").WithLocation(10, 17),
147220
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "F1").WithArguments("C4.F1<U>(U?)").WithLocation(19, 18),
147226
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "F2").WithArguments("C4.F2<U>(U?)").WithLocation(20, 18),
Semantics\RefFieldTests.cs (1)
19400
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "M").WithArguments("C.M<T>(scoped T?)").WithLocation(8, 12),
Semantics\UseSiteErrorTests.cs (13)
203
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "ReturnType2").WithArguments("C.ReturnType2()").WithLocation(5, 54),
209
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "ParameterType1").WithArguments("C.ParameterType1(UnavailableClass)").WithLocation(6, 40),
215
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "ParameterType2").WithArguments("C.ParameterType2(UnavailableClass[])").WithLocation(7, 40),
221
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "ReturnType1").WithArguments("C.ReturnType1()").WithLocation(4, 52),
478
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "Get1").WithArguments("C.Get1").WithLocation(4, 55),
484
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "Get2").WithArguments("C.Get2").WithLocation(5, 57),
490
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "Set1").WithArguments("C.Set1").WithLocation(7, 55),
496
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "Set2").WithArguments("C.Set2").WithLocation(8, 57),
502
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "GetSet1").WithArguments("C.GetSet1").WithLocation(10, 55),
508
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "GetSet2").WithArguments("C.GetSet2").WithLocation(11, 57),
836
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "Event1").WithArguments("C.Event1").WithLocation(4, 60),
842
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "Event2").WithArguments("C.Event2").WithLocation(5, 85),
848
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "Event3").WithArguments("C.Event3").WithLocation(6, 87),
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (172)
Symbols\CovariantReturnTests.cs (8)
2161
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "M1").WithArguments("Derived.M1").WithLocation(9, 17),
2164
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "M2").WithArguments("Derived.M2()").WithLocation(10, 17),
2167
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "M1").WithArguments("C.M1").WithLocation(14, 17),
2170
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "M2").WithArguments("C.M2()").WithLocation(15, 17)
2176
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "M1").WithArguments("Derived.M1").WithLocation(9, 17),
2179
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "M2").WithArguments("Derived.M2()").WithLocation(10, 17),
2182
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "M1").WithArguments("C.M1").WithLocation(14, 17),
2185
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "M2").WithArguments("C.M2()").WithLocation(15, 17)
Symbols\DefaultInterfaceImplementationTests.cs (69)
8771
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "M1").WithArguments("Test1.M1()").WithLocation(22, 13),
8774
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "M2").WithArguments("Test1.M2()").WithLocation(23, 13),
8777
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "M3").WithArguments("Test1.M3()").WithLocation(24, 13),
8780
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "M4").WithArguments("Test1.M4()").WithLocation(21, 13),
10023
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "M4").WithArguments("Test1.M4()").WithLocation(23, 13),
10026
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "M1").WithArguments("Test1.M1()").WithLocation(20, 13),
10029
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "M2").WithArguments("Test1.M2()").WithLocation(21, 13),
10032
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "M3").WithArguments("Test1.M3()").WithLocation(22, 13)
10405
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "M3").WithArguments("Test2.M3()").WithLocation(19, 13),
10408
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "M4").WithArguments("Test2.M4()").WithLocation(20, 13),
10411
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "M5").WithArguments("Test2.M5()").WithLocation(21, 13),
10531
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "M3").WithArguments("Test2.M3()").WithLocation(19, 13),
10534
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "M4").WithArguments("Test2.M4()").WithLocation(20, 13),
10537
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "M5").WithArguments("Test2.M5()").WithLocation(21, 13),
11344
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "M1").WithArguments("I1.C.M1()").WithLocation(8, 17)
14193
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "P1").WithArguments("Test1.P1").WithLocation(15, 12),
14196
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "P2").WithArguments("Test1.P2").WithLocation(16, 12),
14199
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "P3").WithArguments("Test1.P3").WithLocation(17, 12),
14202
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "P4").WithArguments("Test1.P4").WithLocation(18, 12),
16110
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "P1").WithArguments("Test1.P1").WithLocation(20, 12),
16113
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "P2").WithArguments("Test1.P2").WithLocation(21, 12),
16116
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "P3").WithArguments("Test1.P3").WithLocation(22, 12)
16815
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "P3").WithArguments("Test2.P3").WithLocation(31, 12),
16818
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "P4").WithArguments("Test2.P4").WithLocation(32, 12),
16821
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "P5").WithArguments("Test2.P5").WithLocation(33, 12),
17056
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "P3").WithArguments("Test2.P3").WithLocation(31, 12),
17059
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "P4").WithArguments("Test2.P4").WithLocation(32, 12),
17062
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "P5").WithArguments("Test2.P5").WithLocation(33, 12),
23413
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "this").WithArguments("Test1.this[int]").WithLocation(20, 12),
23416
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "this").WithArguments("Test1.this[int]").WithLocation(21, 12),
23419
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "this").WithArguments("Test1.this[int]").WithLocation(22, 12)
23584
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "M4").WithArguments("CI4.M4()").WithLocation(26, 21),
23596
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "M6").WithArguments("CI6.M6()").WithLocation(39, 21),
23767
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "M4").WithArguments("CI4.M4()").WithLocation(26, 29),
23779
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "M6").WithArguments("CI6.M6()").WithLocation(39, 29),
24138
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "this").WithArguments("Test2.this[int]").WithLocation(32, 12),
24141
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "this").WithArguments("Test2.this[int]").WithLocation(33, 12),
24235
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "this").WithArguments("Test2.this[int]").WithLocation(33, 12),
27777
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "P1").WithArguments("Test1.P1").WithLocation(13, 28),
27780
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "P2").WithArguments("Test1.P2").WithLocation(14, 28),
27783
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "P3").WithArguments("Test1.P3").WithLocation(15, 28),
29496
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "P1").WithArguments("Test1.P1").WithLocation(21, 28),
29499
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "P2").WithArguments("Test1.P2").WithLocation(22, 28),
29502
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "P3").WithArguments("Test1.P3").WithLocation(23, 28),
30238
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "P3").WithArguments("Test2.P3").WithLocation(27, 28),
30241
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "P4").WithArguments("Test2.P4").WithLocation(28, 28),
30456
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "P3").WithArguments("Test2.P3").WithLocation(31, 28),
30459
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "P4").WithArguments("Test2.P4").WithLocation(32, 28),
30462
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "P5").WithArguments("Test2.P5").WithLocation(33, 28),
33355
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "M1").WithArguments("I1.M1()").WithLocation(14, 27),
33413
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "M1").WithArguments("I1.M1()").WithLocation(14, 20),
37474
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "M1").WithArguments("I1.M1").WithLocation(14, 26),
37540
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "M1").WithArguments("I1.M1").WithLocation(14, 19),
40488
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "M1").WithArguments("I1.M1").WithLocation(14, 42),
40548
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "M1").WithArguments("I1.M1").WithLocation(14, 35),
52147
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "M1").WithArguments("I2.M1()").WithLocation(8, 22 + implModifiers.Length)
56833
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "P1").WithArguments("I2.P1").WithLocation(8, 21 + implModifiers.Length)
56926
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "P1").WithArguments("I2.P1").WithLocation(8, 21 + implModifiers.Length)
56984
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "P1").WithArguments("I2.P1").WithLocation(8, 21 + implModifiers.Length)
59122
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "P1").WithArguments("I2.P1").WithLocation(8, 37 + implModifiers.Length)
61861
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "this").WithArguments("I2.this[int]").WithLocation(8, 21)
61913
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "this").WithArguments("I2.this[int]").WithLocation(8, 21)
61965
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "this").WithArguments("I2.this[int]").WithLocation(8, 21)
67064
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "M1").WithArguments("I1.M1()").WithLocation(4, 13),
67108
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "M1").WithArguments("I1.M1()").WithLocation(8, 13)
67251
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "P1").WithArguments("I1.P1").WithLocation(4, 13),
67295
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "P1").WithArguments("I1.P1").WithLocation(8, 13)
67444
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "E1").WithArguments("I1.E1").WithLocation(4, 29),
67489
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "E1").WithArguments("I1.E1").WithLocation(8, 29)
Symbols\GenericConstraintTests.cs (1)
548
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "M2").WithArguments("C.M2<U>()"),
Symbols\IndexerTests.cs (1)
1412
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "this").WithArguments("Test.this[int]"),
Symbols\InterfaceImplementationTests.cs (1)
1112
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "StaticMethod").WithArguments("Class.StaticMethod()"));
Symbols\Metadata\MetadataMemberTests.cs (2)
590
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "BothAccessorsAreGaps").WithArguments("Explicit.BothAccessorsAreGaps"),
593
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "_VtblGap1_1").WithArguments("Explicit._VtblGap1_1()"));
Symbols\Source\EventTests.cs (1)
2195
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "").WithArguments("<invalid-global-code>.").WithLocation(1, 41));
Symbols\StaticAbstractMembersInInterfacesTests.cs (86)
15591
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "M01").WithArguments("C4.M01()").WithLocation(26, 13),
15600
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "M01").WithArguments("C6.M01()").WithLocation(38, 19)
15659
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "M01").WithArguments("C4.M01()").WithLocation(26, 13),
15662
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "M01").WithArguments("C6.M01()").WithLocation(38, 19)
15733
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "M01").WithArguments("C4.M01()").WithLocation(26, 20),
15742
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "M01").WithArguments("C6.M01()").WithLocation(38, 12)
15803
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "M01").WithArguments("I5.M01()").WithLocation(22, 13),
15880
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "M01").WithArguments("I5.M01()").WithLocation(22, 13),
17658
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, op).WithArguments("C4.operator " + checkedKeyword + op + "(C4)").WithLocation(26, 24 + checkedKeyword.Length),
17667
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, op).WithArguments("C6.operator " + checkedKeyword + op + "(C6)").WithLocation(38, 32 + checkedKeyword.Length),
17676
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, opName).WithArguments("C8." + opName + "(C8)").WithLocation(50, 22),
17685
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, op).WithArguments("C10.operator " + checkedKeyword + op + "(C10)").WithLocation(67, 33 + checkedKeyword.Length)
17789
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, op).WithArguments("C4.operator " + checkedKeyword + op + "(C4)").WithLocation(26, 24 + checkedKeyword.Length),
17792
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, op).WithArguments("C6.operator " + checkedKeyword + op + "(C6)").WithLocation(38, 32 + checkedKeyword.Length),
17795
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, opName).WithArguments("C8." + opName + "(C8)").WithLocation(50, 22),
17798
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, op).WithArguments("C10.operator " + checkedKeyword + op + "(C10)").WithLocation(67, 33 + checkedKeyword.Length)
17937
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, op).WithArguments("C4.operator " + checkedKeyword + op + "(C4, int)").WithLocation(26, 24 + checkedKeyword.Length),
17946
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, op).WithArguments("C6.operator " + checkedKeyword + op + "(C6, int)").WithLocation(38, 32 + checkedKeyword.Length),
17955
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, opName).WithArguments("C8." + opName + "(C8, int)").WithLocation(50, 22),
17964
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, op).WithArguments("C10.operator " + checkedKeyword + op + "(C10, int)").WithLocation(67, 33 + checkedKeyword.Length)
18068
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, op).WithArguments("C4.operator " + checkedKeyword + op + "(C4, int)").WithLocation(26, 24 + checkedKeyword.Length),
18071
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, op).WithArguments("C6.operator " + checkedKeyword + op + "(C6, int)").WithLocation(38, 32 + checkedKeyword.Length),
18074
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, opName).WithArguments("C8." + opName + "(C8, int)").WithLocation(50, 22),
18077
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, op).WithArguments("C10.operator " + checkedKeyword + op + "(C10, int)").WithLocation(67, 33 + checkedKeyword.Length)
18183
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, op).WithArguments("I5.operator " + checkedKeyword + op + "(I1)").WithLocation(22, 20 + checkedKeyword.Length),
18330
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, op).WithArguments("I5.operator " + checkedKeyword + op + "(I1)").WithLocation(22, 20 + checkedKeyword.Length),
18478
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, op).WithArguments("I5.operator " + checkedKeyword + op + "(I1, int)").WithLocation(22, 20 + checkedKeyword.Length),
18664
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, op).WithArguments("I5.operator " + checkedKeyword + op + "(I1, int)").WithLocation(22, 20 + checkedKeyword.Length),
22421
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "M01").WithArguments("C4.M01").WithLocation(26, 12),
22430
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "M01").WithArguments("C6.M01").WithLocation(38, 20)
22489
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "M01").WithArguments("C4.M01").WithLocation(26, 12),
22492
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "M01").WithArguments("C6.M01").WithLocation(38, 20)
22563
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "M01").WithArguments("C4.M01").WithLocation(26, 19),
22572
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "M01").WithArguments("C6.M01").WithLocation(38, 13)
22633
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "M01").WithArguments("I5.M01").WithLocation(22, 12),
22714
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "M01").WithArguments("I5.M01").WithLocation(22, 12),
25200
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "M01").WithArguments("C4.M01").WithLocation(26, 28),
25209
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "M01").WithArguments("C6.M01").WithLocation(38, 40)
25268
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "M01").WithArguments("C4.M01").WithLocation(26, 28),
25271
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "M01").WithArguments("C6.M01").WithLocation(38, 40)
25342
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "M01").WithArguments("C4.M01").WithLocation(26, 35),
25351
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "M01").WithArguments("C6.M01").WithLocation(38, 33)
25412
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "M01").WithArguments("I5.M01").WithLocation(22, 28),
25494
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "M01").WithArguments("I5.M01").WithLocation(22, 28),
27943
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "int").WithArguments("C4." + op + " operator " + checkedKeyword + "int(C4)").WithLocation(26, 30 + checkedKeyword.Length),
27952
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "long").WithArguments("C6." + op + " operator " + checkedKeyword + "long(C6)").WithLocation(38, 37 + checkedKeyword.Length),
27961
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, opName).WithArguments("C8." + opName + "(C8)").WithLocation(50, 23),
27970
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "int").WithArguments("C10." + op + " operator " + checkedKeyword + "int(C10)").WithLocation(67, 38 + checkedKeyword.Length)
28074
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "int").WithArguments("C4." + op + " operator " + checkedKeyword + "int(C4)").WithLocation(26, 30 + checkedKeyword.Length),
28077
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "long").WithArguments("C6." + op + " operator " + checkedKeyword + "long(C6)").WithLocation(38, 37 + checkedKeyword.Length),
28080
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, opName).WithArguments("C8." + opName + "(C8)").WithLocation(50, 23),
28083
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "int").WithArguments("C10." + op + " operator " + checkedKeyword + "int(C10)").WithLocation(67, 38 + checkedKeyword.Length)
28189
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "int").WithArguments("I5<T>." + op + " operator " + checkedKeyword + "int(T)").WithLocation(22, 29 + checkedKeyword.Length),
28346
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "int").WithArguments("I5<T>." + op + " operator " + checkedKeyword + "int(T)").WithLocation(22, 29 + checkedKeyword.Length),
32305
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, op).WithArguments("C2.operator " + op + "(C2)").WithLocation(14, 31)
32340
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, op).WithArguments("C2.operator " + op + "(C2)").WithLocation(14, 31)
32381
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, op).WithArguments("C2.operator checked " + op + "(C2)").WithLocation(14, 38)
32416
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, op).WithArguments("C2.operator checked " + op + "(C2)").WithLocation(14, 38)
32510
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, op).WithArguments("C2.operator " + op + "(C2, int)").WithLocation(14, 31)
32546
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, op).WithArguments("C2.operator " + op + "(C2, int)").WithLocation(14, 31)
32588
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, op).WithArguments("C2.operator checked " + op + "(C2, int)").WithLocation(14, 38)
32624
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, op).WithArguments("C2.operator checked " + op + "(C2, int)").WithLocation(14, 38)
32692
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "int").WithArguments("C2.explicit operator int(C2)").WithLocation(14, 37)
32724
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "int").WithArguments("C2.explicit operator int(C2)").WithLocation(14, 37)
32762
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "int").WithArguments("C2.explicit operator checked int(C2)").WithLocation(14, 45)
32794
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "int").WithArguments("C2.explicit operator checked int(C2)").WithLocation(14, 45)
32832
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "int").WithArguments("C2.implicit operator int(C2)").WithLocation(14, 37)
32864
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "int").WithArguments("C2.implicit operator int(C2)").WithLocation(14, 37)
32902
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "int").WithArguments("C2.explicit operator checked int(C2)").WithLocation(14, 45)
32934
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "int").WithArguments("C2.explicit operator checked int(C2)").WithLocation(14, 45)
32972
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "int").WithArguments("C2.implicit operator int(C2)").WithLocation(14, 37)
33004
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "int").WithArguments("C2.implicit operator int(C2)").WithLocation(14, 37)
33042
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "int").WithArguments("C2.explicit operator int(C2)").WithLocation(14, 37)
33074
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "int").WithArguments("C2.explicit operator int(C2)").WithLocation(14, 37)
33128
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "op_Addition").WithArguments("I2<T2>.op_Addition(T2, T2)").WithLocation(4, 31),
33131
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "op_Addition").WithArguments("I3<T3>.op_Addition(T3, T3)").WithLocation(9, 22),
33137
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "op_Addition").WithArguments("C4.op_Addition(C4, C4)").WithLocation(14, 22),
33195
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "+").WithArguments("I2<T2>.operator +(T2, T2)").WithLocation(4, 40),
33198
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "+").WithArguments("I3<T3>.operator +(T3, T3)").WithLocation(9, 31),
33204
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "+").WithArguments("C4.operator +(C4, C4)").WithLocation(14, 31),
33262
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "op_Implicit").WithArguments("I2<T2>.op_Implicit(T2)").WithLocation(4, 32),
33265
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "op_Implicit").WithArguments("I3<T3>.op_Implicit(T3)").WithLocation(9, 23),
33271
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "op_Implicit").WithArguments("C4.op_Implicit(C4)").WithLocation(14, 23),
33329
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "int").WithArguments("I2<T2>.implicit operator int(T2)").WithLocation(4, 46),
33332
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "int").WithArguments("I3<T3>.implicit operator int(T3)").WithLocation(9, 37),
33338
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "int").WithArguments("C4.implicit operator int(C4)").WithLocation(14, 37),
Symbols\SymbolErrorTests.cs (3)
928
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "P10").WithArguments("I1.P10").WithLocation(6, 28)
953
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "P10").WithArguments("I1.P10").WithLocation(7, 1)
9671
new ErrorDescription { Code = (int)ErrorCode.
ERR_InterfaceMemberNotFound
, Line = 10, Column = 14 });
Microsoft.CodeAnalysis.CSharp.WinRT.UnitTests (1)
CodeGen\WinRTCollectionTests.cs (1)
5696
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "this").WithArguments("Test.R.this[int]").WithLocation(30, 36),