284 references to ERR_InterfaceMemberNotFound
Microsoft.CodeAnalysis.CSharp (2)
Errors\ErrorFacts.cs (1)
946
or ErrorCode.
ERR_InterfaceMemberNotFound
Symbols\Source\ExplicitInterfaceHelpers.cs (1)
300
diagnostics.Add(ErrorCode.
ERR_InterfaceMemberNotFound
, memberLocation, implementingMember);
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (1)
CodeGen\CodeGenAwaitUsingTests.cs (1)
3666
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "DisposeAsync").WithArguments("Class1.DisposeAsync()").WithLocation(7, 32),
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (14)
RefReadonlyParameterTests.cs (2)
6865
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "M1").WithArguments("C.M1(ref readonly int)").WithLocation(8, 12),
6868
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "M2").WithArguments($"C.M2({modifier} int)").WithLocation(9, 12));
Symbols\UserDefinedCompoundAssignmentOperatorsTests.cs (12)
243
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, op).WithArguments("C2.operator " + op + "(C1)").WithLocation(4, 21),
252
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, op).WithArguments("C2.operator " + op + "(C1, C1)").WithLocation(5, 21),
261
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, op).WithArguments("C2.operator " + op + "(C1, C1, C1)").WithLocation(6, 21)
1762
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, op).WithArguments("C3.operator " + op + @"()").WithLocation(4, 21),
1765
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, op).WithArguments("C3.operator checked " + op + @"()").WithLocation(5, 29)
5565
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "++").WithArguments("C3.operator ++()").WithLocation(14, 22),
5571
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "op_IncrementAssignment").WithArguments("C4.op_IncrementAssignment()").WithLocation(19, 13)
10101
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, op).WithArguments("C3.operator " + op + @"(int)").WithLocation(4, 21),
10104
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, op).WithArguments("C3.operator checked " + op + @"(int)").WithLocation(5, 29)
10149
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, op).WithArguments("C3.operator " + op + @"(int)").WithLocation(4, 21)
17221
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "+=").WithArguments("C3.operator +=(int)").WithLocation(14, 22),
17227
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "op_AdditionAssignment").WithArguments("C4.op_AdditionAssignment(int)").WithLocation(19, 13)
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (84)
Semantics\BindingTests.cs (4)
1664
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "Moniker").WithArguments("BarImpl.Moniker").WithLocation(4, 24),
1675
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "Moniker").WithArguments("BarImpl.Moniker").WithLocation(4, 24),
1766
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "SetMoniker").WithArguments("BarImpl.SetMoniker(ImageMoniker?)").WithLocation(4, 15),
1777
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)
13381
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "M2").WithArguments("B.M2<S>()").WithLocation(23, 13),
13384
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "M3").WithArguments("B.M3<S>()").WithLocation(28, 14),
13456
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "M2").WithArguments("B.M2<S>()").WithLocation(17, 13),
16553
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "M2").WithArguments("B.M2<T>(T?[])").WithLocation(20, 13),
16556
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "M3").WithArguments("B.M3<T>(T?[]?)").WithLocation(24, 13),
78869
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "M").WithArguments("C.M<T>(T?)").WithLocation(7, 12),
116138
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)
139019
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "Goo").WithArguments("C2.Goo<T>(T?)").WithLocation(15, 12),
139052
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "Goo").WithArguments("C2.Goo<T>(T?)").WithLocation(15, 12),
139407
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "Goo").WithArguments("C2.Goo<T>(T?)").WithLocation(12, 14),
151361
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "F1").WithArguments("C2<T>.F1<U>(U?)").WithLocation(9, 15),
151367
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "F2").WithArguments("C2<T>.F2<U>(U?)").WithLocation(10, 15),
151397
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "F1").WithArguments("C4<T>.F1<U>(U?)").WithLocation(19, 16),
151406
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "F2").WithArguments("C4<T>.F2<U>(U?)").WithLocation(20, 16),
151463
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "F1").WithArguments("C2<T>.F1<U>(U?)").WithLocation(9, 15),
151469
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "F2").WithArguments("C2<T>.F2<U>(U?)").WithLocation(10, 15),
151484
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "F1").WithArguments("C4<T>.F1<U>(U?)").WithLocation(19, 16),
151490
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "F2").WithArguments("C4<T>.F2<U>(U?)").WithLocation(20, 16),
151543
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "F1").WithArguments("C2.F1<U>(U?)").WithLocation(9, 20),
151549
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "F2").WithArguments("C2.F2<U>(U?)").WithLocation(10, 20),
151564
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "F1").WithArguments("C4.F1<U>(U?)").WithLocation(19, 21),
151570
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "F2").WithArguments("C4.F2<U>(U?)").WithLocation(20, 21),
151632
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "F1").WithArguments("C2.F1<U>(U?)").WithLocation(9, 17),
151638
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "F2").WithArguments("C2.F2<U>(U?)").WithLocation(10, 17),
151650
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "F1").WithArguments("C4.F1<U>(U?)").WithLocation(19, 18),
151656
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "F2").WithArguments("C4.F2<U>(U?)").WithLocation(20, 18),
Semantics\RefFieldTests.cs (1)
20016
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 (182)
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)
8956
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "M1").WithArguments("Test1.M1()").WithLocation(22, 13),
8959
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "M2").WithArguments("Test1.M2()").WithLocation(23, 13),
8962
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "M3").WithArguments("Test1.M3()").WithLocation(24, 13),
8965
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "M4").WithArguments("Test1.M4()").WithLocation(21, 13),
10208
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "M4").WithArguments("Test1.M4()").WithLocation(23, 13),
10211
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "M1").WithArguments("Test1.M1()").WithLocation(20, 13),
10214
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "M2").WithArguments("Test1.M2()").WithLocation(21, 13),
10217
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "M3").WithArguments("Test1.M3()").WithLocation(22, 13)
10590
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "M3").WithArguments("Test2.M3()").WithLocation(19, 13),
10593
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "M4").WithArguments("Test2.M4()").WithLocation(20, 13),
10596
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "M5").WithArguments("Test2.M5()").WithLocation(21, 13),
10716
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "M3").WithArguments("Test2.M3()").WithLocation(19, 13),
10719
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "M4").WithArguments("Test2.M4()").WithLocation(20, 13),
10722
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "M5").WithArguments("Test2.M5()").WithLocation(21, 13),
11529
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "M1").WithArguments("I1.C.M1()").WithLocation(8, 17)
14378
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "P1").WithArguments("Test1.P1").WithLocation(15, 12),
14381
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "P2").WithArguments("Test1.P2").WithLocation(16, 12),
14384
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "P3").WithArguments("Test1.P3").WithLocation(17, 12),
14387
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "P4").WithArguments("Test1.P4").WithLocation(18, 12),
16295
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "P1").WithArguments("Test1.P1").WithLocation(20, 12),
16298
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "P2").WithArguments("Test1.P2").WithLocation(21, 12),
16301
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "P3").WithArguments("Test1.P3").WithLocation(22, 12)
17000
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "P3").WithArguments("Test2.P3").WithLocation(31, 12),
17003
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "P4").WithArguments("Test2.P4").WithLocation(32, 12),
17006
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "P5").WithArguments("Test2.P5").WithLocation(33, 12),
17241
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "P3").WithArguments("Test2.P3").WithLocation(31, 12),
17244
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "P4").WithArguments("Test2.P4").WithLocation(32, 12),
17247
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "P5").WithArguments("Test2.P5").WithLocation(33, 12),
23598
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "this").WithArguments("Test1.this[int]").WithLocation(20, 12),
23601
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "this").WithArguments("Test1.this[int]").WithLocation(21, 12),
23604
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "this").WithArguments("Test1.this[int]").WithLocation(22, 12)
23769
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "M4").WithArguments("CI4.M4()").WithLocation(26, 21),
23781
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "M6").WithArguments("CI6.M6()").WithLocation(39, 21),
23952
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "M4").WithArguments("CI4.M4()").WithLocation(26, 29),
23964
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "M6").WithArguments("CI6.M6()").WithLocation(39, 29),
24323
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "this").WithArguments("Test2.this[int]").WithLocation(32, 12),
24326
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "this").WithArguments("Test2.this[int]").WithLocation(33, 12),
24420
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "this").WithArguments("Test2.this[int]").WithLocation(33, 12),
27962
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "P1").WithArguments("Test1.P1").WithLocation(13, 28),
27965
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "P2").WithArguments("Test1.P2").WithLocation(14, 28),
27968
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "P3").WithArguments("Test1.P3").WithLocation(15, 28),
29681
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "P1").WithArguments("Test1.P1").WithLocation(21, 28),
29684
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "P2").WithArguments("Test1.P2").WithLocation(22, 28),
29687
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "P3").WithArguments("Test1.P3").WithLocation(23, 28),
30423
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "P3").WithArguments("Test2.P3").WithLocation(27, 28),
30426
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "P4").WithArguments("Test2.P4").WithLocation(28, 28),
30641
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "P3").WithArguments("Test2.P3").WithLocation(31, 28),
30644
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "P4").WithArguments("Test2.P4").WithLocation(32, 28),
30647
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "P5").WithArguments("Test2.P5").WithLocation(33, 28),
33540
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "M1").WithArguments("I1.M1()").WithLocation(14, 27),
33598
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "M1").WithArguments("I1.M1()").WithLocation(14, 20),
37659
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "M1").WithArguments("I1.M1").WithLocation(14, 26),
37725
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "M1").WithArguments("I1.M1").WithLocation(14, 19),
40673
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "M1").WithArguments("I1.M1").WithLocation(14, 42),
40733
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "M1").WithArguments("I1.M1").WithLocation(14, 35),
52338
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "M1").WithArguments("I2.M1()").WithLocation(8, 22 + implModifiers.Length)
57024
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "P1").WithArguments("I2.P1").WithLocation(8, 21 + implModifiers.Length)
57117
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "P1").WithArguments("I2.P1").WithLocation(8, 21 + implModifiers.Length)
57175
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "P1").WithArguments("I2.P1").WithLocation(8, 21 + implModifiers.Length)
59313
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "P1").WithArguments("I2.P1").WithLocation(8, 37 + implModifiers.Length)
62052
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "this").WithArguments("I2.this[int]").WithLocation(8, 21)
62104
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "this").WithArguments("I2.this[int]").WithLocation(8, 21)
62156
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "this").WithArguments("I2.this[int]").WithLocation(8, 21)
67255
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "M1").WithArguments("I1.M1()").WithLocation(4, 13),
67299
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "M1").WithArguments("I1.M1()").WithLocation(8, 13)
67442
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "P1").WithArguments("I1.P1").WithLocation(4, 13),
67486
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "P1").WithArguments("I1.P1").WithLocation(8, 13)
67635
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "E1").WithArguments("I1.E1").WithLocation(4, 29),
67680
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "E1").WithArguments("I1.E1").WithLocation(8, 29)
Symbols\GenericConstraintTests.cs (1)
550
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "M2").WithArguments("C.M2<U>()"),
Symbols\IndexerTests.cs (1)
1414
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)
594
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "BothAccessorsAreGaps").WithArguments("Explicit.BothAccessorsAreGaps"),
597
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 (96)
15549
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "M01").WithArguments("C4.M01()").WithLocation(26, 13),
15558
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "M01").WithArguments("C6.M01()").WithLocation(38, 19)
15617
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "M01").WithArguments("C4.M01()").WithLocation(26, 13),
15620
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "M01").WithArguments("C6.M01()").WithLocation(38, 19)
15691
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "M01").WithArguments("C4.M01()").WithLocation(26, 20),
15700
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "M01").WithArguments("C6.M01()").WithLocation(38, 12)
15761
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "M01").WithArguments("I5.M01()").WithLocation(22, 13),
15838
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "M01").WithArguments("I5.M01()").WithLocation(22, 13),
17616
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, op).WithArguments("C4.operator " + checkedKeyword + op + "(C4)").WithLocation(26, 24 + checkedKeyword.Length),
17625
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, op).WithArguments("C6.operator " + checkedKeyword + op + "(C6)").WithLocation(38, 32 + checkedKeyword.Length),
17634
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, opName).WithArguments("C8." + opName + "(C8)").WithLocation(50, 22),
17643
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, op).WithArguments("C10.operator " + checkedKeyword + op + "(C10)").WithLocation(67, 33 + checkedKeyword.Length)
17759
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, op).WithArguments("C4.operator " + checkedKeyword + op + "(C4)").WithLocation(26, 24 + checkedKeyword.Length),
17768
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, op).WithArguments("C6.operator " + checkedKeyword + op + "(C6)").WithLocation(38, 32 + checkedKeyword.Length),
17777
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, opName).WithArguments("C8." + opName + "(C8)").WithLocation(50, 22),
17786
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, op).WithArguments("C10.operator " + checkedKeyword + op + "(C10)").WithLocation(67, 33 + checkedKeyword.Length)
17890
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, op).WithArguments("C4.operator " + checkedKeyword + op + "(C4)").WithLocation(26, 24 + checkedKeyword.Length),
17893
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, op).WithArguments("C6.operator " + checkedKeyword + op + "(C6)").WithLocation(38, 32 + checkedKeyword.Length),
17896
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, opName).WithArguments("C8." + opName + "(C8)").WithLocation(50, 22),
17899
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, op).WithArguments("C10.operator " + checkedKeyword + op + "(C10)").WithLocation(67, 33 + checkedKeyword.Length)
18003
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, op).WithArguments("C4.operator " + checkedKeyword + op + "(C4)").WithLocation(26, 24 + checkedKeyword.Length),
18006
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, op).WithArguments("C6.operator " + checkedKeyword + op + "(C6)").WithLocation(38, 32 + checkedKeyword.Length),
18009
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, opName).WithArguments("C8." + opName + "(C8)").WithLocation(50, 22),
18012
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, op).WithArguments("C10.operator " + checkedKeyword + op + "(C10)").WithLocation(67, 33 + checkedKeyword.Length)
18151
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, op).WithArguments("C4.operator " + checkedKeyword + op + "(C4, int)").WithLocation(26, 24 + checkedKeyword.Length),
18160
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, op).WithArguments("C6.operator " + checkedKeyword + op + "(C6, int)").WithLocation(38, 32 + checkedKeyword.Length),
18169
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, opName).WithArguments("C8." + opName + "(C8, int)").WithLocation(50, 22),
18178
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, op).WithArguments("C10.operator " + checkedKeyword + op + "(C10, int)").WithLocation(67, 33 + checkedKeyword.Length)
18282
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, op).WithArguments("C4.operator " + checkedKeyword + op + "(C4, int)").WithLocation(26, 24 + checkedKeyword.Length),
18285
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, op).WithArguments("C6.operator " + checkedKeyword + op + "(C6, int)").WithLocation(38, 32 + checkedKeyword.Length),
18288
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, opName).WithArguments("C8." + opName + "(C8, int)").WithLocation(50, 22),
18291
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, op).WithArguments("C10.operator " + checkedKeyword + op + "(C10, int)").WithLocation(67, 33 + checkedKeyword.Length)
18397
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, op).WithArguments("I5.operator " + checkedKeyword + op + "(I1)").WithLocation(22, 20 + checkedKeyword.Length),
18544
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, op).WithArguments("I5.operator " + checkedKeyword + op + "(I1)").WithLocation(22, 20 + checkedKeyword.Length),
18691
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, op).WithArguments("I5.operator " + checkedKeyword + op + "(I1)").WithLocation(22, 20 + checkedKeyword.Length),
18844
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, op).WithArguments("I5.operator " + checkedKeyword + op + "(I1)").WithLocation(22, 20 + checkedKeyword.Length),
18992
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, op).WithArguments("I5.operator " + checkedKeyword + op + "(I1, int)").WithLocation(22, 20 + checkedKeyword.Length),
19178
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, op).WithArguments("I5.operator " + checkedKeyword + op + "(I1, int)").WithLocation(22, 20 + checkedKeyword.Length),
22935
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "M01").WithArguments("C4.M01").WithLocation(26, 12),
22944
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "M01").WithArguments("C6.M01").WithLocation(38, 20)
23003
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "M01").WithArguments("C4.M01").WithLocation(26, 12),
23006
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "M01").WithArguments("C6.M01").WithLocation(38, 20)
23077
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "M01").WithArguments("C4.M01").WithLocation(26, 19),
23086
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "M01").WithArguments("C6.M01").WithLocation(38, 13)
23147
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "M01").WithArguments("I5.M01").WithLocation(22, 12),
23228
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "M01").WithArguments("I5.M01").WithLocation(22, 12),
25714
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "M01").WithArguments("C4.M01").WithLocation(26, 28),
25723
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "M01").WithArguments("C6.M01").WithLocation(38, 40)
25782
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "M01").WithArguments("C4.M01").WithLocation(26, 28),
25785
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "M01").WithArguments("C6.M01").WithLocation(38, 40)
25856
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "M01").WithArguments("C4.M01").WithLocation(26, 35),
25865
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "M01").WithArguments("C6.M01").WithLocation(38, 33)
25926
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "M01").WithArguments("I5.M01").WithLocation(22, 28),
26008
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "M01").WithArguments("I5.M01").WithLocation(22, 28),
28457
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "int").WithArguments("C4." + op + " operator " + checkedKeyword + "int(C4)").WithLocation(26, 30 + checkedKeyword.Length),
28466
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "long").WithArguments("C6." + op + " operator " + checkedKeyword + "long(C6)").WithLocation(38, 37 + checkedKeyword.Length),
28475
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, opName).WithArguments("C8." + opName + "(C8)").WithLocation(50, 23),
28484
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "int").WithArguments("C10." + op + " operator " + checkedKeyword + "int(C10)").WithLocation(67, 38 + checkedKeyword.Length)
28588
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "int").WithArguments("C4." + op + " operator " + checkedKeyword + "int(C4)").WithLocation(26, 30 + checkedKeyword.Length),
28591
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "long").WithArguments("C6." + op + " operator " + checkedKeyword + "long(C6)").WithLocation(38, 37 + checkedKeyword.Length),
28594
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, opName).WithArguments("C8." + opName + "(C8)").WithLocation(50, 23),
28597
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "int").WithArguments("C10." + op + " operator " + checkedKeyword + "int(C10)").WithLocation(67, 38 + checkedKeyword.Length)
28703
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "int").WithArguments("I5<T>." + op + " operator " + checkedKeyword + "int(T)").WithLocation(22, 29 + checkedKeyword.Length),
28860
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "int").WithArguments("I5<T>." + op + " operator " + checkedKeyword + "int(T)").WithLocation(22, 29 + checkedKeyword.Length),
32819
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, op).WithArguments("C2.operator " + op + "(C2)").WithLocation(14, 31)
32854
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, op).WithArguments("C2.operator " + op + "(C2)").WithLocation(14, 31)
32895
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, op).WithArguments("C2.operator checked " + op + "(C2)").WithLocation(14, 38)
32930
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, op).WithArguments("C2.operator checked " + op + "(C2)").WithLocation(14, 38)
33024
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, op).WithArguments("C2.operator " + op + "(C2, int)").WithLocation(14, 31)
33060
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, op).WithArguments("C2.operator " + op + "(C2, int)").WithLocation(14, 31)
33102
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, op).WithArguments("C2.operator checked " + op + "(C2, int)").WithLocation(14, 38)
33138
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, op).WithArguments("C2.operator checked " + op + "(C2, int)").WithLocation(14, 38)
33206
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "int").WithArguments("C2.explicit operator int(C2)").WithLocation(14, 37)
33238
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "int").WithArguments("C2.explicit operator int(C2)").WithLocation(14, 37)
33276
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "int").WithArguments("C2.explicit operator checked int(C2)").WithLocation(14, 45)
33308
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "int").WithArguments("C2.explicit operator checked int(C2)").WithLocation(14, 45)
33346
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "int").WithArguments("C2.implicit operator int(C2)").WithLocation(14, 37)
33378
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "int").WithArguments("C2.implicit operator int(C2)").WithLocation(14, 37)
33416
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "int").WithArguments("C2.explicit operator checked int(C2)").WithLocation(14, 45)
33448
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "int").WithArguments("C2.explicit operator checked int(C2)").WithLocation(14, 45)
33486
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "int").WithArguments("C2.implicit operator int(C2)").WithLocation(14, 37)
33518
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "int").WithArguments("C2.implicit operator int(C2)").WithLocation(14, 37)
33556
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "int").WithArguments("C2.explicit operator int(C2)").WithLocation(14, 37)
33588
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "int").WithArguments("C2.explicit operator int(C2)").WithLocation(14, 37)
33642
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "op_Addition").WithArguments("I2<T2>.op_Addition(T2, T2)").WithLocation(4, 31),
33645
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "op_Addition").WithArguments("I3<T3>.op_Addition(T3, T3)").WithLocation(9, 22),
33651
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "op_Addition").WithArguments("C4.op_Addition(C4, C4)").WithLocation(14, 22),
33709
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "+").WithArguments("I2<T2>.operator +(T2, T2)").WithLocation(4, 40),
33712
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "+").WithArguments("I3<T3>.operator +(T3, T3)").WithLocation(9, 31),
33718
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "+").WithArguments("C4.operator +(C4, C4)").WithLocation(14, 31),
33776
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "op_Implicit").WithArguments("I2<T2>.op_Implicit(T2)").WithLocation(4, 32),
33779
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "op_Implicit").WithArguments("I3<T3>.op_Implicit(T3)").WithLocation(9, 23),
33785
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "op_Implicit").WithArguments("C4.op_Implicit(C4)").WithLocation(14, 23),
33843
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "int").WithArguments("I2<T2>.implicit operator int(T2)").WithLocation(4, 46),
33846
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "int").WithArguments("I3<T3>.implicit operator int(T3)").WithLocation(9, 37),
33852
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "int").WithArguments("C4.implicit operator int(C4)").WithLocation(14, 37),
Symbols\SymbolErrorTests.cs (3)
929
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "P10").WithArguments("I1.P10").WithLocation(6, 28)
954
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "P10").WithArguments("I1.P10").WithLocation(7, 1)
9814
new ErrorDescription { Code = (int)ErrorCode.
ERR_InterfaceMemberNotFound
, Line = 10, Column = 14 });
Microsoft.CodeAnalysis.CSharp.WinRT.UnitTests (1)
CodeGen\WinRTCollectionTests.cs (1)
5697
Diagnostic(ErrorCode.
ERR_InterfaceMemberNotFound
, "this").WithArguments("Test.R.this[int]").WithLocation(30, 36),