144 references to WRN_ExternMethodNoImplementation
Microsoft.CodeAnalysis.CSharp (4)
Errors\ErrorFacts.cs (2)
337
case ErrorCode.
WRN_ExternMethodNoImplementation
:
1002
or ErrorCode.
WRN_ExternMethodNoImplementation
Generated\ErrorFacts.Generated.cs (1)
47
case ErrorCode.
WRN_ExternMethodNoImplementation
:
Symbols\Source\SourceMethodSymbolWithAttributes.cs (1)
1517
ErrorCode.
WRN_ExternMethodNoImplementation
;
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (1)
CodeGen\CodeGenTests.cs (1)
10455
Diagnostic(ErrorCode.
WRN_ExternMethodNoImplementation
, "Goo").WithArguments("Test.Goo()"));
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (12)
PartialEventsAndConstructorsTests.cs (1)
1633
Diagnostic(ErrorCode.
WRN_ExternMethodNoImplementation
, "E").WithArguments("C.E.remove").WithLocation(4, 32),
Semantics\ExtensionOperatorsTests.cs (4)
3727
Diagnostic(ErrorCode.
WRN_ExternMethodNoImplementation
, "-").WithArguments("E.extension(C2).operator -(C2)").WithLocation(5, 42)
9994
Diagnostic(ErrorCode.
WRN_ExternMethodNoImplementation
, "--").WithArguments("E.extension(C2).operator --()").WithLocation(5, 37)
18549
Diagnostic(ErrorCode.
WRN_ExternMethodNoImplementation
, "-").WithArguments("E.extension(C2).operator -(C2, C2)").WithLocation(5, 42)
26681
Diagnostic(ErrorCode.
WRN_ExternMethodNoImplementation
, "-=").WithArguments("E.extension(C2).operator -=(C2)").WithLocation(5, 37)
Semantics\ExtensionTests.cs (7)
43104
Diagnostic(ErrorCode.
WRN_ExternMethodNoImplementation
, "M").WithArguments("E.extension(int).M()").WithLocation(5, 21),
43107
Diagnostic(ErrorCode.
WRN_ExternMethodNoImplementation
, "get").WithArguments("E.extension(int).P.get").WithLocation(6, 24),
43110
Diagnostic(ErrorCode.
WRN_ExternMethodNoImplementation
, "set").WithArguments("E.extension(int).P.set").WithLocation(6, 29));
43242
Diagnostic(ErrorCode.
WRN_ExternMethodNoImplementation
, "M").WithArguments("C.M()").WithLocation(3, 17));
43290
Diagnostic(ErrorCode.
WRN_ExternMethodNoImplementation
, "M").WithArguments("E.extension(int).M()").WithLocation(5, 28),
43293
Diagnostic(ErrorCode.
WRN_ExternMethodNoImplementation
, "get").WithArguments("E.extension(int).P.get").WithLocation(6, 31),
43296
Diagnostic(ErrorCode.
WRN_ExternMethodNoImplementation
, "set").WithArguments("E.extension(int).P.set").WithLocation(6, 36));
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (9)
Semantics\BindingAsyncTests.cs (1)
112
Diagnostic(ErrorCode.
WRN_ExternMethodNoImplementation
, "C").WithArguments("C.~C()"));
Semantics\InheritanceBindingTests.cs (3)
119
Diagnostic(ErrorCode.
WRN_ExternMethodNoImplementation
, "Method11").WithArguments("AbstractGoo.IGoo.Method11()").WithLocation(36, 22)
205
Diagnostic(ErrorCode.
WRN_ExternMethodNoImplementation
, "set").WithArguments("AbstractGoo.IGoo.Property11.set").WithLocation(34, 34));
272
Diagnostic(ErrorCode.
WRN_ExternMethodNoImplementation
, "set").WithArguments("AbstractGoo.IGoo.this[long, int, long, int].set"));
Semantics\LocalFunctionTests.cs (2)
1352
Diagnostic(ErrorCode.
WRN_ExternMethodNoImplementation
, "local1").WithArguments("local1()").WithLocation(12, 28),
1389
Diagnostic(ErrorCode.
WRN_ExternMethodNoImplementation
, "local1").WithArguments("local1()").WithLocation(9, 28),
Semantics\OverloadResolutionTests.cs (3)
3066
Diagnostic(ErrorCode.
WRN_ExternMethodNoImplementation
, "M").WithArguments("H.M(ref short)"),
3075
Diagnostic(ErrorCode.
WRN_ExternMethodNoImplementation
, "M").WithArguments("J.M(sbyte)"),
3078
Diagnostic(ErrorCode.
WRN_ExternMethodNoImplementation
, "M").WithArguments("J.M(ref short)"),
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (116)
Compilation\CompilationAPITests.cs (2)
669
Diagnostic(ErrorCode.
WRN_ExternMethodNoImplementation
, "Alias").WithArguments("Alias()").WithLocation(1, 14),
746
Diagnostic(ErrorCode.
WRN_ExternMethodNoImplementation
, "Alias").WithArguments("Alias()").WithLocation(1, 14),
Symbols\DefaultInterfaceImplementationTests.cs (89)
8435
Diagnostic(ErrorCode.
WRN_ExternMethodNoImplementation
, "M11").WithArguments("I1.M11()").WithLocation(14, 17)
8681
Diagnostic(ErrorCode.
WRN_ExternMethodNoImplementation
, "M11").WithArguments("I1.M11()").WithLocation(14, 17),
8721
Diagnostic(ErrorCode.
WRN_ExternMethodNoImplementation
, "M11").WithArguments("I1.M11()").WithLocation(14, 17),
10501
Diagnostic(ErrorCode.
WRN_ExternMethodNoImplementation
, "M1").WithArguments("I1.M1()").WithLocation(4, 17),
10504
Diagnostic(ErrorCode.
WRN_ExternMethodNoImplementation
, "M2").WithArguments("I1.M2()").WithLocation(5, 25),
10507
Diagnostic(ErrorCode.
WRN_ExternMethodNoImplementation
, "M3").WithArguments("I1.M3()").WithLocation(6, 24),
10510
Diagnostic(ErrorCode.
WRN_ExternMethodNoImplementation
, "M4").WithArguments("I1.M4()").WithLocation(7, 25),
10513
Diagnostic(ErrorCode.
WRN_ExternMethodNoImplementation
, "M5").WithArguments("I1.M5()").WithLocation(8, 24)
10540
Diagnostic(ErrorCode.
WRN_ExternMethodNoImplementation
, "M1").WithArguments("I1.M1()").WithLocation(4, 17),
10543
Diagnostic(ErrorCode.
WRN_ExternMethodNoImplementation
, "M2").WithArguments("I1.M2()").WithLocation(5, 25),
10546
Diagnostic(ErrorCode.
WRN_ExternMethodNoImplementation
, "M3").WithArguments("I1.M3()").WithLocation(6, 24),
10549
Diagnostic(ErrorCode.
WRN_ExternMethodNoImplementation
, "M4").WithArguments("I1.M4()").WithLocation(7, 25),
10552
Diagnostic(ErrorCode.
WRN_ExternMethodNoImplementation
, "M5").WithArguments("I1.M5()").WithLocation(8, 24)
10610
Diagnostic(ErrorCode.
WRN_ExternMethodNoImplementation
, "M3").WithArguments("I1.M3()").WithLocation(6, 24),
10613
Diagnostic(ErrorCode.
WRN_ExternMethodNoImplementation
, "M4").WithArguments("I1.M4()").WithLocation(7, 25),
10616
Diagnostic(ErrorCode.
WRN_ExternMethodNoImplementation
, "M5").WithArguments("I1.M5()").WithLocation(8, 24)
13116
Diagnostic(ErrorCode.
WRN_ExternMethodNoImplementation
, "get").WithArguments("I1.P11.get").WithLocation(14, 21),
13119
Diagnostic(ErrorCode.
WRN_ExternMethodNoImplementation
, "set").WithArguments("I1.P11.set").WithLocation(14, 26)
13660
Diagnostic(ErrorCode.
WRN_ExternMethodNoImplementation
, "get").WithArguments("I1.P11.get").WithLocation(14, 21),
13663
Diagnostic(ErrorCode.
WRN_ExternMethodNoImplementation
, "set").WithArguments("I1.P11.set").WithLocation(14, 26)
13700
Diagnostic(ErrorCode.
WRN_ExternMethodNoImplementation
, "get").WithArguments("I1.P11.get").WithLocation(14, 21),
13706
Diagnostic(ErrorCode.
WRN_ExternMethodNoImplementation
, "set").WithArguments("I1.P11.set").WithLocation(14, 26),
16720
Diagnostic(ErrorCode.
WRN_ExternMethodNoImplementation
, "set").WithArguments("I2.P2.set").WithLocation(8, 28),
16723
Diagnostic(ErrorCode.
WRN_ExternMethodNoImplementation
, "get").WithArguments("I3.P3.get").WithLocation(12, 27),
16726
Diagnostic(ErrorCode.
WRN_ExternMethodNoImplementation
, "set").WithArguments("I3.P3.set").WithLocation(12, 32),
16729
Diagnostic(ErrorCode.
WRN_ExternMethodNoImplementation
, "get").WithArguments("I4.P4.get").WithLocation(16, 28),
16732
Diagnostic(ErrorCode.
WRN_ExternMethodNoImplementation
, "set").WithArguments("I5.P5.set").WithLocation(20, 27),
16735
Diagnostic(ErrorCode.
WRN_ExternMethodNoImplementation
, "get").WithArguments("I1.P1.get").WithLocation(4, 20)
16751
Diagnostic(ErrorCode.
WRN_ExternMethodNoImplementation
, "set").WithArguments("I2.P2.set").WithLocation(8, 28),
16757
Diagnostic(ErrorCode.
WRN_ExternMethodNoImplementation
, "get").WithArguments("I3.P3.get").WithLocation(12, 27),
16763
Diagnostic(ErrorCode.
WRN_ExternMethodNoImplementation
, "set").WithArguments("I3.P3.set").WithLocation(12, 32),
16766
Diagnostic(ErrorCode.
WRN_ExternMethodNoImplementation
, "get").WithArguments("I4.P4.get").WithLocation(16, 28),
16769
Diagnostic(ErrorCode.
WRN_ExternMethodNoImplementation
, "set").WithArguments("I5.P5.set").WithLocation(20, 27),
16772
Diagnostic(ErrorCode.
WRN_ExternMethodNoImplementation
, "get").WithArguments("I1.P1.get").WithLocation(4, 20)
17020
Diagnostic(ErrorCode.
WRN_ExternMethodNoImplementation
, "get").WithArguments("I5.P5.get").WithLocation(20, 27)
17243
Diagnostic(ErrorCode.
WRN_ExternMethodNoImplementation
, "set").WithArguments("I3.P3.set").WithLocation(12, 32),
17246
Diagnostic(ErrorCode.
WRN_ExternMethodNoImplementation
, "get").WithArguments("I3.P3.get").WithLocation(12, 27),
21594
Diagnostic(ErrorCode.
WRN_ExternMethodNoImplementation
, "get").WithArguments("I11.this[int].get").WithLocation(12, 47),
21597
Diagnostic(ErrorCode.
WRN_ExternMethodNoImplementation
, "set").WithArguments("I11.this[int].set").WithLocation(12, 52)
22134
Diagnostic(ErrorCode.
WRN_ExternMethodNoImplementation
, "get").WithArguments("I11.this[int].get").WithLocation(12, 47),
22137
Diagnostic(ErrorCode.
WRN_ExternMethodNoImplementation
, "set").WithArguments("I11.this[int].set").WithLocation(12, 52)
22173
Diagnostic(ErrorCode.
WRN_ExternMethodNoImplementation
, "get").WithArguments("I11.this[int].get").WithLocation(12, 47),
22179
Diagnostic(ErrorCode.
WRN_ExternMethodNoImplementation
, "set").WithArguments("I11.this[int].set").WithLocation(12, 52),
24227
Diagnostic(ErrorCode.
WRN_ExternMethodNoImplementation
, "set").WithArguments("I2.this[int].set").WithLocation(8, 37),
24230
Diagnostic(ErrorCode.
WRN_ExternMethodNoImplementation
, "get").WithArguments("I4.this[int].get").WithLocation(12, 37),
24233
Diagnostic(ErrorCode.
WRN_ExternMethodNoImplementation
, "set").WithArguments("I5.this[int].set").WithLocation(16, 36),
24236
Diagnostic(ErrorCode.
WRN_ExternMethodNoImplementation
, "get").WithArguments("I1.this[int].get").WithLocation(4, 29)
24252
Diagnostic(ErrorCode.
WRN_ExternMethodNoImplementation
, "set").WithArguments("I2.this[int].set").WithLocation(8, 37),
24255
Diagnostic(ErrorCode.
WRN_ExternMethodNoImplementation
, "get").WithArguments("I4.this[int].get").WithLocation(12, 37),
24258
Diagnostic(ErrorCode.
WRN_ExternMethodNoImplementation
, "set").WithArguments("I5.this[int].set").WithLocation(16, 36),
24261
Diagnostic(ErrorCode.
WRN_ExternMethodNoImplementation
, "get").WithArguments("I1.this[int].get").WithLocation(4, 29)
24340
Diagnostic(ErrorCode.
WRN_ExternMethodNoImplementation
, "get").WithArguments("I5.this[int].get").WithLocation(20, 36)
24434
Diagnostic(ErrorCode.
WRN_ExternMethodNoImplementation
, "get").WithArguments("I3.this[int].get").WithLocation(12, 36),
24437
Diagnostic(ErrorCode.
WRN_ExternMethodNoImplementation
, "set").WithArguments("I3.this[int].set").WithLocation(12, 41)
26829
Diagnostic(ErrorCode.
WRN_ExternMethodNoImplementation
, "add").WithArguments("I1.P12.add").WithLocation(15, 37),
26835
Diagnostic(ErrorCode.
WRN_ExternMethodNoImplementation
, "remove").WithArguments("I1.P12.remove").WithLocation(15, 42),
26841
Diagnostic(ErrorCode.
WRN_ExternMethodNoImplementation
, "P13").WithArguments("I1.P13.remove").WithLocation(16, 32)
27202
Diagnostic(ErrorCode.
WRN_ExternMethodNoImplementation
, "add").WithArguments("I1.P12.add").WithLocation(15, 37),
27211
Diagnostic(ErrorCode.
WRN_ExternMethodNoImplementation
, "remove").WithArguments("I1.P12.remove").WithLocation(15, 42),
27220
Diagnostic(ErrorCode.
WRN_ExternMethodNoImplementation
, "P13").WithArguments("I1.P13.remove").WithLocation(16, 32),
27295
Diagnostic(ErrorCode.
WRN_ExternMethodNoImplementation
, "add").WithArguments("I1.P12.add").WithLocation(15, 37),
27304
Diagnostic(ErrorCode.
WRN_ExternMethodNoImplementation
, "remove").WithArguments("I1.P12.remove").WithLocation(15, 42),
27313
Diagnostic(ErrorCode.
WRN_ExternMethodNoImplementation
, "P13").WithArguments("I1.P13.remove").WithLocation(16, 32),
30313
Diagnostic(ErrorCode.
WRN_ExternMethodNoImplementation
, "P2").WithArguments("I2.P2.remove").WithLocation(8, 40),
30316
Diagnostic(ErrorCode.
WRN_ExternMethodNoImplementation
, "P3").WithArguments("I3.P3.remove").WithLocation(12, 39),
30319
Diagnostic(ErrorCode.
WRN_ExternMethodNoImplementation
, "P4").WithArguments("I4.P4.remove").WithLocation(16, 40),
30322
Diagnostic(ErrorCode.
WRN_ExternMethodNoImplementation
, "P5").WithArguments("I5.P5.remove").WithLocation(20, 39),
30325
Diagnostic(ErrorCode.
WRN_ExternMethodNoImplementation
, "P1").WithArguments("I1.P1.remove").WithLocation(4, 32)
30349
Diagnostic(ErrorCode.
WRN_ExternMethodNoImplementation
, "P2").WithArguments("I2.P2.remove").WithLocation(8, 40),
30355
Diagnostic(ErrorCode.
WRN_ExternMethodNoImplementation
, "P3").WithArguments("I3.P3.remove").WithLocation(12, 39),
30358
Diagnostic(ErrorCode.
WRN_ExternMethodNoImplementation
, "P4").WithArguments("I4.P4.remove").WithLocation(16, 40),
30361
Diagnostic(ErrorCode.
WRN_ExternMethodNoImplementation
, "P5").WithArguments("I5.P5.remove").WithLocation(20, 39),
30364
Diagnostic(ErrorCode.
WRN_ExternMethodNoImplementation
, "P1").WithArguments("I1.P1.remove").WithLocation(4, 32),
30440
Diagnostic(ErrorCode.
WRN_ExternMethodNoImplementation
, "P2").WithArguments("I2.P2.remove").WithLocation(8, 32),
30634
Diagnostic(ErrorCode.
WRN_ExternMethodNoImplementation
, "P3").WithArguments("I3.P3.remove").WithLocation(12, 39),
33778
Diagnostic(ErrorCode.
WRN_ExternMethodNoImplementation
, "M1").WithArguments("I1.I2.M1()").WithLocation(9, 20 + implModifiers.Length)
33823
Diagnostic(ErrorCode.
WRN_ExternMethodNoImplementation
, "M1").WithArguments("I1.I2.M1()").WithLocation(9, 20)
33837
Diagnostic(ErrorCode.
WRN_ExternMethodNoImplementation
, "M1").WithArguments("I1.I2.M1()").WithLocation(9, 27)
33854
Diagnostic(ErrorCode.
WRN_ExternMethodNoImplementation
, "M1").WithArguments("I1.I2.M1()").WithLocation(9, 20)
33868
Diagnostic(ErrorCode.
WRN_ExternMethodNoImplementation
, "M1").WithArguments("I1.I2.M1()").WithLocation(9, 27)
37933
Diagnostic(ErrorCode.
WRN_ExternMethodNoImplementation
, "get").WithArguments("I1.I2.M1.get").WithLocation(9, 23)
37942
Diagnostic(ErrorCode.
WRN_ExternMethodNoImplementation
, "get").WithArguments("I1.I2.M1.get").WithLocation(9, 23)
37951
Diagnostic(ErrorCode.
WRN_ExternMethodNoImplementation
, "get").WithArguments("I1.I2.M1.get").WithLocation(9, 23)
38093
Diagnostic(ErrorCode.
WRN_ExternMethodNoImplementation
, "get").WithArguments("I1.I2.M1.get").WithLocation(9, 30)
38105
Diagnostic(ErrorCode.
WRN_ExternMethodNoImplementation
, "get").WithArguments("I1.I2.M1.get").WithLocation(9, 30)
38117
Diagnostic(ErrorCode.
WRN_ExternMethodNoImplementation
, "get").WithArguments("I1.I2.M1.get").WithLocation(9, 30)
42997
Diagnostic(ErrorCode.
WRN_ExternMethodNoImplementation
, "get").WithArguments("I1.I2.this[int].get").WithLocation(9, 32)
43006
Diagnostic(ErrorCode.
WRN_ExternMethodNoImplementation
, "get").WithArguments("I1.I2.this[int].get").WithLocation(9, 32)
43015
Diagnostic(ErrorCode.
WRN_ExternMethodNoImplementation
, "get").WithArguments("I1.I2.this[int].get").WithLocation(9, 32)
Symbols\DestructorTests.cs (1)
140
Diagnostic(ErrorCode.
WRN_ExternMethodNoImplementation
, "C7").WithArguments("C7.~C7()"));
Symbols\Source\ModifierTests.cs (1)
136
Diagnostic(ErrorCode.
WRN_ExternMethodNoImplementation
, "M7").WithArguments("M7()")
Symbols\StaticAbstractMembersInInterfacesTests.cs (7)
4929
Diagnostic(ErrorCode.
WRN_ExternMethodNoImplementation
, "M01").WithArguments("I1.M01()").WithLocation(4, 32),
4932
Diagnostic(ErrorCode.
WRN_ExternMethodNoImplementation
, "get").WithArguments("I1.P01.get").WithLocation(5, 38),
4935
Diagnostic(ErrorCode.
WRN_ExternMethodNoImplementation
, "E01").WithArguments("I1.E01.remove").WithLocation(6, 47),
4938
Diagnostic(ErrorCode.
WRN_ExternMethodNoImplementation
, "+").WithArguments("I1.operator +(I1)").WithLocation(7, 38)
22588
compilation1.GetDiagnostics().Where(d => d.Code is not ((int)ErrorCode.
WRN_ExternMethodNoImplementation
or (int)ErrorCode.ERR_OpTFRetType or (int)ErrorCode.ERR_OperatorNeedsMatch)).Verify(
22738
compilation1.GetDiagnostics().Where(d => d.Code is not ((int)ErrorCode.
WRN_ExternMethodNoImplementation
or (int)ErrorCode.ERR_OperatorNeedsMatch or (int)ErrorCode.ERR_BadAbstractEqualityOperatorSignature)).Verify(
30400
compilation1.GetDiagnostics().Where(d => d.Code is not (int)ErrorCode.
WRN_ExternMethodNoImplementation
).Verify(
Symbols\SymbolErrorTests.cs (16)
1808
Diagnostic(ErrorCode.
WRN_ExternMethodNoImplementation
, "get").WithArguments("C.P6.get").WithLocation(16, 31)
8141
Diagnostic(ErrorCode.
WRN_ExternMethodNoImplementation
, "get").WithArguments("C.R.get").WithLocation(5, 30));
8152
Diagnostic(ErrorCode.
WRN_ExternMethodNoImplementation
, "get").WithArguments("C.R.get").WithLocation(5, 30));
8163
Diagnostic(ErrorCode.
WRN_ExternMethodNoImplementation
, "get").WithArguments("C.R.get").WithLocation(5, 30));
12441
Diagnostic(ErrorCode.
WRN_ExternMethodNoImplementation
, "GetVoid").WithArguments("NS.Goo.GetVoid()"));
13744
Diagnostic(ErrorCode.
WRN_ExternMethodNoImplementation
, "F").WithArguments("NS.Test.F()").WithLocation(16, 25),
13746
Diagnostic(ErrorCode.
WRN_ExternMethodNoImplementation
, "M").WithArguments("NS.Test.S.M()").WithLocation(23, 29));
14618
Diagnostic(ErrorCode.
WRN_ExternMethodNoImplementation
, "M").WithArguments("NS.Test.M()"),
18108
Diagnostic(ErrorCode.
WRN_ExternMethodNoImplementation
, "M").WithArguments("B.M()").WithLocation(4, 17),
18110
Diagnostic(ErrorCode.
WRN_ExternMethodNoImplementation
, "get").WithArguments("B.P1.get").WithLocation(5, 24),
18112
Diagnostic(ErrorCode.
WRN_ExternMethodNoImplementation
, "set").WithArguments("B.P1.set").WithLocation(5, 29),
18114
Diagnostic(ErrorCode.
WRN_ExternMethodNoImplementation
, "!").WithArguments("B.operator !(B)").WithLocation(6, 40),
18116
Diagnostic(ErrorCode.
WRN_ExternMethodNoImplementation
, "get").WithArguments("C.P1.get").WithLocation(11, 28),
18118
Diagnostic(ErrorCode.
WRN_ExternMethodNoImplementation
, "set").WithArguments("C.P1.set").WithLocation(11, 33));
18137
Diagnostic(ErrorCode.
WRN_ExternMethodNoImplementation
, "E1").WithArguments("C.E1.remove").WithLocation(5, 20),
18140
Diagnostic(ErrorCode.
WRN_ExternMethodNoImplementation
, "E2").WithArguments("C.E2.remove").WithLocation(6, 24));
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (2)
Parsing\LocalFunctionParsingTests.cs (2)
702
Diagnostic(ErrorCode.
WRN_ExternMethodNoImplementation
, "local").WithArguments("local()").WithLocation(6, 21),
715
Diagnostic(ErrorCode.
WRN_ExternMethodNoImplementation
, "local").WithArguments("local()").WithLocation(6, 21),