143 references to WRN_ExternMethodNoImplementation
Microsoft.CodeAnalysis.CSharp (4)
Errors\ErrorFacts.cs (2)
337
case ErrorCode.
WRN_ExternMethodNoImplementation
:
1001
or ErrorCode.
WRN_ExternMethodNoImplementation
Generated\ErrorFacts.Generated.cs (1)
47
case ErrorCode.
WRN_ExternMethodNoImplementation
:
Symbols\Source\SourceMethodSymbolWithAttributes.cs (1)
1505
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)
3713
Diagnostic(ErrorCode.
WRN_ExternMethodNoImplementation
, "-").WithArguments("E.extension(C2).operator -(C2)").WithLocation(5, 42)
9938
Diagnostic(ErrorCode.
WRN_ExternMethodNoImplementation
, "--").WithArguments("E.extension(C2).operator --()").WithLocation(5, 37)
18451
Diagnostic(ErrorCode.
WRN_ExternMethodNoImplementation
, "-").WithArguments("E.extension(C2).operator -(C2, C2)").WithLocation(5, 42)
26541
Diagnostic(ErrorCode.
WRN_ExternMethodNoImplementation
, "-=").WithArguments("E.extension(C2).operator -=(C2)").WithLocation(5, 37)
Semantics\ExtensionTests.cs (7)
37886
Diagnostic(ErrorCode.
WRN_ExternMethodNoImplementation
, "M").WithArguments("E.extension(int).M()").WithLocation(5, 21),
37889
Diagnostic(ErrorCode.
WRN_ExternMethodNoImplementation
, "get").WithArguments("E.extension(int).P.get").WithLocation(6, 24),
37892
Diagnostic(ErrorCode.
WRN_ExternMethodNoImplementation
, "set").WithArguments("E.extension(int).P.set").WithLocation(6, 29));
37995
Diagnostic(ErrorCode.
WRN_ExternMethodNoImplementation
, "M").WithArguments("C.M()").WithLocation(3, 17));
38043
Diagnostic(ErrorCode.
WRN_ExternMethodNoImplementation
, "M").WithArguments("E.extension(int).M()").WithLocation(5, 28),
38046
Diagnostic(ErrorCode.
WRN_ExternMethodNoImplementation
, "get").WithArguments("E.extension(int).P.get").WithLocation(6, 31),
38049
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 (115)
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)
8424
Diagnostic(ErrorCode.
WRN_ExternMethodNoImplementation
, "M11").WithArguments("I1.M11()").WithLocation(14, 17)
8670
Diagnostic(ErrorCode.
WRN_ExternMethodNoImplementation
, "M11").WithArguments("I1.M11()").WithLocation(14, 17),
8710
Diagnostic(ErrorCode.
WRN_ExternMethodNoImplementation
, "M11").WithArguments("I1.M11()").WithLocation(14, 17),
10490
Diagnostic(ErrorCode.
WRN_ExternMethodNoImplementation
, "M1").WithArguments("I1.M1()").WithLocation(4, 17),
10493
Diagnostic(ErrorCode.
WRN_ExternMethodNoImplementation
, "M2").WithArguments("I1.M2()").WithLocation(5, 25),
10496
Diagnostic(ErrorCode.
WRN_ExternMethodNoImplementation
, "M3").WithArguments("I1.M3()").WithLocation(6, 24),
10499
Diagnostic(ErrorCode.
WRN_ExternMethodNoImplementation
, "M4").WithArguments("I1.M4()").WithLocation(7, 25),
10502
Diagnostic(ErrorCode.
WRN_ExternMethodNoImplementation
, "M5").WithArguments("I1.M5()").WithLocation(8, 24)
10529
Diagnostic(ErrorCode.
WRN_ExternMethodNoImplementation
, "M1").WithArguments("I1.M1()").WithLocation(4, 17),
10532
Diagnostic(ErrorCode.
WRN_ExternMethodNoImplementation
, "M2").WithArguments("I1.M2()").WithLocation(5, 25),
10535
Diagnostic(ErrorCode.
WRN_ExternMethodNoImplementation
, "M3").WithArguments("I1.M3()").WithLocation(6, 24),
10538
Diagnostic(ErrorCode.
WRN_ExternMethodNoImplementation
, "M4").WithArguments("I1.M4()").WithLocation(7, 25),
10541
Diagnostic(ErrorCode.
WRN_ExternMethodNoImplementation
, "M5").WithArguments("I1.M5()").WithLocation(8, 24)
10599
Diagnostic(ErrorCode.
WRN_ExternMethodNoImplementation
, "M3").WithArguments("I1.M3()").WithLocation(6, 24),
10602
Diagnostic(ErrorCode.
WRN_ExternMethodNoImplementation
, "M4").WithArguments("I1.M4()").WithLocation(7, 25),
10605
Diagnostic(ErrorCode.
WRN_ExternMethodNoImplementation
, "M5").WithArguments("I1.M5()").WithLocation(8, 24)
13105
Diagnostic(ErrorCode.
WRN_ExternMethodNoImplementation
, "get").WithArguments("I1.P11.get").WithLocation(14, 21),
13108
Diagnostic(ErrorCode.
WRN_ExternMethodNoImplementation
, "set").WithArguments("I1.P11.set").WithLocation(14, 26)
13649
Diagnostic(ErrorCode.
WRN_ExternMethodNoImplementation
, "get").WithArguments("I1.P11.get").WithLocation(14, 21),
13652
Diagnostic(ErrorCode.
WRN_ExternMethodNoImplementation
, "set").WithArguments("I1.P11.set").WithLocation(14, 26)
13689
Diagnostic(ErrorCode.
WRN_ExternMethodNoImplementation
, "get").WithArguments("I1.P11.get").WithLocation(14, 21),
13695
Diagnostic(ErrorCode.
WRN_ExternMethodNoImplementation
, "set").WithArguments("I1.P11.set").WithLocation(14, 26),
16709
Diagnostic(ErrorCode.
WRN_ExternMethodNoImplementation
, "set").WithArguments("I2.P2.set").WithLocation(8, 28),
16712
Diagnostic(ErrorCode.
WRN_ExternMethodNoImplementation
, "get").WithArguments("I3.P3.get").WithLocation(12, 27),
16715
Diagnostic(ErrorCode.
WRN_ExternMethodNoImplementation
, "set").WithArguments("I3.P3.set").WithLocation(12, 32),
16718
Diagnostic(ErrorCode.
WRN_ExternMethodNoImplementation
, "get").WithArguments("I4.P4.get").WithLocation(16, 28),
16721
Diagnostic(ErrorCode.
WRN_ExternMethodNoImplementation
, "set").WithArguments("I5.P5.set").WithLocation(20, 27),
16724
Diagnostic(ErrorCode.
WRN_ExternMethodNoImplementation
, "get").WithArguments("I1.P1.get").WithLocation(4, 20)
16740
Diagnostic(ErrorCode.
WRN_ExternMethodNoImplementation
, "set").WithArguments("I2.P2.set").WithLocation(8, 28),
16746
Diagnostic(ErrorCode.
WRN_ExternMethodNoImplementation
, "get").WithArguments("I3.P3.get").WithLocation(12, 27),
16752
Diagnostic(ErrorCode.
WRN_ExternMethodNoImplementation
, "set").WithArguments("I3.P3.set").WithLocation(12, 32),
16755
Diagnostic(ErrorCode.
WRN_ExternMethodNoImplementation
, "get").WithArguments("I4.P4.get").WithLocation(16, 28),
16758
Diagnostic(ErrorCode.
WRN_ExternMethodNoImplementation
, "set").WithArguments("I5.P5.set").WithLocation(20, 27),
16761
Diagnostic(ErrorCode.
WRN_ExternMethodNoImplementation
, "get").WithArguments("I1.P1.get").WithLocation(4, 20)
17009
Diagnostic(ErrorCode.
WRN_ExternMethodNoImplementation
, "get").WithArguments("I5.P5.get").WithLocation(20, 27)
17232
Diagnostic(ErrorCode.
WRN_ExternMethodNoImplementation
, "set").WithArguments("I3.P3.set").WithLocation(12, 32),
17235
Diagnostic(ErrorCode.
WRN_ExternMethodNoImplementation
, "get").WithArguments("I3.P3.get").WithLocation(12, 27),
21583
Diagnostic(ErrorCode.
WRN_ExternMethodNoImplementation
, "get").WithArguments("I11.this[int].get").WithLocation(12, 47),
21586
Diagnostic(ErrorCode.
WRN_ExternMethodNoImplementation
, "set").WithArguments("I11.this[int].set").WithLocation(12, 52)
22123
Diagnostic(ErrorCode.
WRN_ExternMethodNoImplementation
, "get").WithArguments("I11.this[int].get").WithLocation(12, 47),
22126
Diagnostic(ErrorCode.
WRN_ExternMethodNoImplementation
, "set").WithArguments("I11.this[int].set").WithLocation(12, 52)
22162
Diagnostic(ErrorCode.
WRN_ExternMethodNoImplementation
, "get").WithArguments("I11.this[int].get").WithLocation(12, 47),
22168
Diagnostic(ErrorCode.
WRN_ExternMethodNoImplementation
, "set").WithArguments("I11.this[int].set").WithLocation(12, 52),
24216
Diagnostic(ErrorCode.
WRN_ExternMethodNoImplementation
, "set").WithArguments("I2.this[int].set").WithLocation(8, 37),
24219
Diagnostic(ErrorCode.
WRN_ExternMethodNoImplementation
, "get").WithArguments("I4.this[int].get").WithLocation(12, 37),
24222
Diagnostic(ErrorCode.
WRN_ExternMethodNoImplementation
, "set").WithArguments("I5.this[int].set").WithLocation(16, 36),
24225
Diagnostic(ErrorCode.
WRN_ExternMethodNoImplementation
, "get").WithArguments("I1.this[int].get").WithLocation(4, 29)
24241
Diagnostic(ErrorCode.
WRN_ExternMethodNoImplementation
, "set").WithArguments("I2.this[int].set").WithLocation(8, 37),
24244
Diagnostic(ErrorCode.
WRN_ExternMethodNoImplementation
, "get").WithArguments("I4.this[int].get").WithLocation(12, 37),
24247
Diagnostic(ErrorCode.
WRN_ExternMethodNoImplementation
, "set").WithArguments("I5.this[int].set").WithLocation(16, 36),
24250
Diagnostic(ErrorCode.
WRN_ExternMethodNoImplementation
, "get").WithArguments("I1.this[int].get").WithLocation(4, 29)
24329
Diagnostic(ErrorCode.
WRN_ExternMethodNoImplementation
, "get").WithArguments("I5.this[int].get").WithLocation(20, 36)
24423
Diagnostic(ErrorCode.
WRN_ExternMethodNoImplementation
, "get").WithArguments("I3.this[int].get").WithLocation(12, 36),
24426
Diagnostic(ErrorCode.
WRN_ExternMethodNoImplementation
, "set").WithArguments("I3.this[int].set").WithLocation(12, 41)
26818
Diagnostic(ErrorCode.
WRN_ExternMethodNoImplementation
, "add").WithArguments("I1.P12.add").WithLocation(15, 37),
26824
Diagnostic(ErrorCode.
WRN_ExternMethodNoImplementation
, "remove").WithArguments("I1.P12.remove").WithLocation(15, 42),
26830
Diagnostic(ErrorCode.
WRN_ExternMethodNoImplementation
, "P13").WithArguments("I1.P13.remove").WithLocation(16, 32)
27191
Diagnostic(ErrorCode.
WRN_ExternMethodNoImplementation
, "add").WithArguments("I1.P12.add").WithLocation(15, 37),
27200
Diagnostic(ErrorCode.
WRN_ExternMethodNoImplementation
, "remove").WithArguments("I1.P12.remove").WithLocation(15, 42),
27209
Diagnostic(ErrorCode.
WRN_ExternMethodNoImplementation
, "P13").WithArguments("I1.P13.remove").WithLocation(16, 32),
27284
Diagnostic(ErrorCode.
WRN_ExternMethodNoImplementation
, "add").WithArguments("I1.P12.add").WithLocation(15, 37),
27293
Diagnostic(ErrorCode.
WRN_ExternMethodNoImplementation
, "remove").WithArguments("I1.P12.remove").WithLocation(15, 42),
27302
Diagnostic(ErrorCode.
WRN_ExternMethodNoImplementation
, "P13").WithArguments("I1.P13.remove").WithLocation(16, 32),
30302
Diagnostic(ErrorCode.
WRN_ExternMethodNoImplementation
, "P2").WithArguments("I2.P2.remove").WithLocation(8, 40),
30305
Diagnostic(ErrorCode.
WRN_ExternMethodNoImplementation
, "P3").WithArguments("I3.P3.remove").WithLocation(12, 39),
30308
Diagnostic(ErrorCode.
WRN_ExternMethodNoImplementation
, "P4").WithArguments("I4.P4.remove").WithLocation(16, 40),
30311
Diagnostic(ErrorCode.
WRN_ExternMethodNoImplementation
, "P5").WithArguments("I5.P5.remove").WithLocation(20, 39),
30314
Diagnostic(ErrorCode.
WRN_ExternMethodNoImplementation
, "P1").WithArguments("I1.P1.remove").WithLocation(4, 32)
30338
Diagnostic(ErrorCode.
WRN_ExternMethodNoImplementation
, "P2").WithArguments("I2.P2.remove").WithLocation(8, 40),
30344
Diagnostic(ErrorCode.
WRN_ExternMethodNoImplementation
, "P3").WithArguments("I3.P3.remove").WithLocation(12, 39),
30347
Diagnostic(ErrorCode.
WRN_ExternMethodNoImplementation
, "P4").WithArguments("I4.P4.remove").WithLocation(16, 40),
30350
Diagnostic(ErrorCode.
WRN_ExternMethodNoImplementation
, "P5").WithArguments("I5.P5.remove").WithLocation(20, 39),
30353
Diagnostic(ErrorCode.
WRN_ExternMethodNoImplementation
, "P1").WithArguments("I1.P1.remove").WithLocation(4, 32),
30429
Diagnostic(ErrorCode.
WRN_ExternMethodNoImplementation
, "P2").WithArguments("I2.P2.remove").WithLocation(8, 32),
30623
Diagnostic(ErrorCode.
WRN_ExternMethodNoImplementation
, "P3").WithArguments("I3.P3.remove").WithLocation(12, 39),
33767
Diagnostic(ErrorCode.
WRN_ExternMethodNoImplementation
, "M1").WithArguments("I1.I2.M1()").WithLocation(9, 20 + implModifiers.Length)
33812
Diagnostic(ErrorCode.
WRN_ExternMethodNoImplementation
, "M1").WithArguments("I1.I2.M1()").WithLocation(9, 20)
33826
Diagnostic(ErrorCode.
WRN_ExternMethodNoImplementation
, "M1").WithArguments("I1.I2.M1()").WithLocation(9, 27)
33843
Diagnostic(ErrorCode.
WRN_ExternMethodNoImplementation
, "M1").WithArguments("I1.I2.M1()").WithLocation(9, 20)
33857
Diagnostic(ErrorCode.
WRN_ExternMethodNoImplementation
, "M1").WithArguments("I1.I2.M1()").WithLocation(9, 27)
37922
Diagnostic(ErrorCode.
WRN_ExternMethodNoImplementation
, "get").WithArguments("I1.I2.M1.get").WithLocation(9, 23)
37931
Diagnostic(ErrorCode.
WRN_ExternMethodNoImplementation
, "get").WithArguments("I1.I2.M1.get").WithLocation(9, 23)
37940
Diagnostic(ErrorCode.
WRN_ExternMethodNoImplementation
, "get").WithArguments("I1.I2.M1.get").WithLocation(9, 23)
38082
Diagnostic(ErrorCode.
WRN_ExternMethodNoImplementation
, "get").WithArguments("I1.I2.M1.get").WithLocation(9, 30)
38094
Diagnostic(ErrorCode.
WRN_ExternMethodNoImplementation
, "get").WithArguments("I1.I2.M1.get").WithLocation(9, 30)
38106
Diagnostic(ErrorCode.
WRN_ExternMethodNoImplementation
, "get").WithArguments("I1.I2.M1.get").WithLocation(9, 30)
42986
Diagnostic(ErrorCode.
WRN_ExternMethodNoImplementation
, "get").WithArguments("I1.I2.this[int].get").WithLocation(9, 32)
42995
Diagnostic(ErrorCode.
WRN_ExternMethodNoImplementation
, "get").WithArguments("I1.I2.this[int].get").WithLocation(9, 32)
43004
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 (15)
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));
12430
Diagnostic(ErrorCode.
WRN_ExternMethodNoImplementation
, "GetVoid").WithArguments("NS.Goo.GetVoid()"));
13733
Diagnostic(ErrorCode.
WRN_ExternMethodNoImplementation
, "F").WithArguments("NS.Test.F()").WithLocation(16, 25),
13735
Diagnostic(ErrorCode.
WRN_ExternMethodNoImplementation
, "M").WithArguments("NS.Test.S.M()").WithLocation(23, 29));
14607
Diagnostic(ErrorCode.
WRN_ExternMethodNoImplementation
, "M").WithArguments("NS.Test.M()"),
18097
Diagnostic(ErrorCode.
WRN_ExternMethodNoImplementation
, "M").WithArguments("B.M()").WithLocation(4, 17),
18099
Diagnostic(ErrorCode.
WRN_ExternMethodNoImplementation
, "get").WithArguments("B.P1.get").WithLocation(5, 24),
18101
Diagnostic(ErrorCode.
WRN_ExternMethodNoImplementation
, "set").WithArguments("B.P1.set").WithLocation(5, 29),
18103
Diagnostic(ErrorCode.
WRN_ExternMethodNoImplementation
, "!").WithArguments("B.operator !(B)").WithLocation(6, 40),
18105
Diagnostic(ErrorCode.
WRN_ExternMethodNoImplementation
, "get").WithArguments("C.P1.get").WithLocation(11, 28),
18107
Diagnostic(ErrorCode.
WRN_ExternMethodNoImplementation
, "set").WithArguments("C.P1.set").WithLocation(11, 33));
18126
Diagnostic(ErrorCode.
WRN_ExternMethodNoImplementation
, "E1").WithArguments("C.E1.remove").WithLocation(5, 20),
18129
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),