130 references to WRN_ExternMethodNoImplementation
Microsoft.CodeAnalysis.CSharp (4)
Errors\ErrorFacts.cs (2)
324
case ErrorCode.
WRN_ExternMethodNoImplementation
:
939
case ErrorCode.
WRN_ExternMethodNoImplementation
:
Generated\ErrorFacts.Generated.cs (1)
47
case ErrorCode.
WRN_ExternMethodNoImplementation
:
Symbols\Source\SourceMethodSymbolWithAttributes.cs (1)
1064
ErrorCode.
WRN_ExternMethodNoImplementation
;
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (1)
CodeGen\CodeGenTests.cs (1)
10460
Diagnostic(ErrorCode.
WRN_ExternMethodNoImplementation
, "Goo").WithArguments("Test.Goo()"));
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)
3068
Diagnostic(ErrorCode.
WRN_ExternMethodNoImplementation
, "M").WithArguments("H.M(ref short)"),
3077
Diagnostic(ErrorCode.
WRN_ExternMethodNoImplementation
, "M").WithArguments("J.M(sbyte)"),
3080
Diagnostic(ErrorCode.
WRN_ExternMethodNoImplementation
, "M").WithArguments("J.M(ref short)"),
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (114)
Compilation\CompilationAPITests.cs (2)
671
Diagnostic(ErrorCode.
WRN_ExternMethodNoImplementation
, "Alias").WithArguments("Alias()").WithLocation(1, 14),
748
Diagnostic(ErrorCode.
WRN_ExternMethodNoImplementation
, "Alias").WithArguments("Alias()").WithLocation(1, 14),
Symbols\DefaultInterfaceImplementationTests.cs (89)
8239
Diagnostic(ErrorCode.
WRN_ExternMethodNoImplementation
, "M11").WithArguments("I1.M11()").WithLocation(14, 17)
8485
Diagnostic(ErrorCode.
WRN_ExternMethodNoImplementation
, "M11").WithArguments("I1.M11()").WithLocation(14, 17),
8525
Diagnostic(ErrorCode.
WRN_ExternMethodNoImplementation
, "M11").WithArguments("I1.M11()").WithLocation(14, 17),
10305
Diagnostic(ErrorCode.
WRN_ExternMethodNoImplementation
, "M1").WithArguments("I1.M1()").WithLocation(4, 17),
10308
Diagnostic(ErrorCode.
WRN_ExternMethodNoImplementation
, "M2").WithArguments("I1.M2()").WithLocation(5, 25),
10311
Diagnostic(ErrorCode.
WRN_ExternMethodNoImplementation
, "M3").WithArguments("I1.M3()").WithLocation(6, 24),
10314
Diagnostic(ErrorCode.
WRN_ExternMethodNoImplementation
, "M4").WithArguments("I1.M4()").WithLocation(7, 25),
10317
Diagnostic(ErrorCode.
WRN_ExternMethodNoImplementation
, "M5").WithArguments("I1.M5()").WithLocation(8, 24)
10344
Diagnostic(ErrorCode.
WRN_ExternMethodNoImplementation
, "M1").WithArguments("I1.M1()").WithLocation(4, 17),
10347
Diagnostic(ErrorCode.
WRN_ExternMethodNoImplementation
, "M2").WithArguments("I1.M2()").WithLocation(5, 25),
10350
Diagnostic(ErrorCode.
WRN_ExternMethodNoImplementation
, "M3").WithArguments("I1.M3()").WithLocation(6, 24),
10353
Diagnostic(ErrorCode.
WRN_ExternMethodNoImplementation
, "M4").WithArguments("I1.M4()").WithLocation(7, 25),
10356
Diagnostic(ErrorCode.
WRN_ExternMethodNoImplementation
, "M5").WithArguments("I1.M5()").WithLocation(8, 24)
10414
Diagnostic(ErrorCode.
WRN_ExternMethodNoImplementation
, "M3").WithArguments("I1.M3()").WithLocation(6, 24),
10417
Diagnostic(ErrorCode.
WRN_ExternMethodNoImplementation
, "M4").WithArguments("I1.M4()").WithLocation(7, 25),
10420
Diagnostic(ErrorCode.
WRN_ExternMethodNoImplementation
, "M5").WithArguments("I1.M5()").WithLocation(8, 24)
12920
Diagnostic(ErrorCode.
WRN_ExternMethodNoImplementation
, "get").WithArguments("I1.P11.get").WithLocation(14, 21),
12923
Diagnostic(ErrorCode.
WRN_ExternMethodNoImplementation
, "set").WithArguments("I1.P11.set").WithLocation(14, 26)
13464
Diagnostic(ErrorCode.
WRN_ExternMethodNoImplementation
, "get").WithArguments("I1.P11.get").WithLocation(14, 21),
13467
Diagnostic(ErrorCode.
WRN_ExternMethodNoImplementation
, "set").WithArguments("I1.P11.set").WithLocation(14, 26)
13504
Diagnostic(ErrorCode.
WRN_ExternMethodNoImplementation
, "get").WithArguments("I1.P11.get").WithLocation(14, 21),
13510
Diagnostic(ErrorCode.
WRN_ExternMethodNoImplementation
, "set").WithArguments("I1.P11.set").WithLocation(14, 26),
16524
Diagnostic(ErrorCode.
WRN_ExternMethodNoImplementation
, "set").WithArguments("I2.P2.set").WithLocation(8, 28),
16527
Diagnostic(ErrorCode.
WRN_ExternMethodNoImplementation
, "get").WithArguments("I3.P3.get").WithLocation(12, 27),
16530
Diagnostic(ErrorCode.
WRN_ExternMethodNoImplementation
, "set").WithArguments("I3.P3.set").WithLocation(12, 32),
16533
Diagnostic(ErrorCode.
WRN_ExternMethodNoImplementation
, "get").WithArguments("I4.P4.get").WithLocation(16, 28),
16536
Diagnostic(ErrorCode.
WRN_ExternMethodNoImplementation
, "set").WithArguments("I5.P5.set").WithLocation(20, 27),
16539
Diagnostic(ErrorCode.
WRN_ExternMethodNoImplementation
, "get").WithArguments("I1.P1.get").WithLocation(4, 20)
16555
Diagnostic(ErrorCode.
WRN_ExternMethodNoImplementation
, "set").WithArguments("I2.P2.set").WithLocation(8, 28),
16561
Diagnostic(ErrorCode.
WRN_ExternMethodNoImplementation
, "get").WithArguments("I3.P3.get").WithLocation(12, 27),
16567
Diagnostic(ErrorCode.
WRN_ExternMethodNoImplementation
, "set").WithArguments("I3.P3.set").WithLocation(12, 32),
16570
Diagnostic(ErrorCode.
WRN_ExternMethodNoImplementation
, "get").WithArguments("I4.P4.get").WithLocation(16, 28),
16573
Diagnostic(ErrorCode.
WRN_ExternMethodNoImplementation
, "set").WithArguments("I5.P5.set").WithLocation(20, 27),
16576
Diagnostic(ErrorCode.
WRN_ExternMethodNoImplementation
, "get").WithArguments("I1.P1.get").WithLocation(4, 20)
16824
Diagnostic(ErrorCode.
WRN_ExternMethodNoImplementation
, "get").WithArguments("I5.P5.get").WithLocation(20, 27)
17047
Diagnostic(ErrorCode.
WRN_ExternMethodNoImplementation
, "set").WithArguments("I3.P3.set").WithLocation(12, 32),
17050
Diagnostic(ErrorCode.
WRN_ExternMethodNoImplementation
, "get").WithArguments("I3.P3.get").WithLocation(12, 27),
21398
Diagnostic(ErrorCode.
WRN_ExternMethodNoImplementation
, "get").WithArguments("I11.this[int].get").WithLocation(12, 47),
21401
Diagnostic(ErrorCode.
WRN_ExternMethodNoImplementation
, "set").WithArguments("I11.this[int].set").WithLocation(12, 52)
21938
Diagnostic(ErrorCode.
WRN_ExternMethodNoImplementation
, "get").WithArguments("I11.this[int].get").WithLocation(12, 47),
21941
Diagnostic(ErrorCode.
WRN_ExternMethodNoImplementation
, "set").WithArguments("I11.this[int].set").WithLocation(12, 52)
21977
Diagnostic(ErrorCode.
WRN_ExternMethodNoImplementation
, "get").WithArguments("I11.this[int].get").WithLocation(12, 47),
21983
Diagnostic(ErrorCode.
WRN_ExternMethodNoImplementation
, "set").WithArguments("I11.this[int].set").WithLocation(12, 52),
24031
Diagnostic(ErrorCode.
WRN_ExternMethodNoImplementation
, "set").WithArguments("I2.this[int].set").WithLocation(8, 37),
24034
Diagnostic(ErrorCode.
WRN_ExternMethodNoImplementation
, "get").WithArguments("I4.this[int].get").WithLocation(12, 37),
24037
Diagnostic(ErrorCode.
WRN_ExternMethodNoImplementation
, "set").WithArguments("I5.this[int].set").WithLocation(16, 36),
24040
Diagnostic(ErrorCode.
WRN_ExternMethodNoImplementation
, "get").WithArguments("I1.this[int].get").WithLocation(4, 29)
24056
Diagnostic(ErrorCode.
WRN_ExternMethodNoImplementation
, "set").WithArguments("I2.this[int].set").WithLocation(8, 37),
24059
Diagnostic(ErrorCode.
WRN_ExternMethodNoImplementation
, "get").WithArguments("I4.this[int].get").WithLocation(12, 37),
24062
Diagnostic(ErrorCode.
WRN_ExternMethodNoImplementation
, "set").WithArguments("I5.this[int].set").WithLocation(16, 36),
24065
Diagnostic(ErrorCode.
WRN_ExternMethodNoImplementation
, "get").WithArguments("I1.this[int].get").WithLocation(4, 29)
24144
Diagnostic(ErrorCode.
WRN_ExternMethodNoImplementation
, "get").WithArguments("I5.this[int].get").WithLocation(20, 36)
24238
Diagnostic(ErrorCode.
WRN_ExternMethodNoImplementation
, "get").WithArguments("I3.this[int].get").WithLocation(12, 36),
24241
Diagnostic(ErrorCode.
WRN_ExternMethodNoImplementation
, "set").WithArguments("I3.this[int].set").WithLocation(12, 41)
26633
Diagnostic(ErrorCode.
WRN_ExternMethodNoImplementation
, "add").WithArguments("I1.P12.add").WithLocation(15, 37),
26639
Diagnostic(ErrorCode.
WRN_ExternMethodNoImplementation
, "remove").WithArguments("I1.P12.remove").WithLocation(15, 42),
26645
Diagnostic(ErrorCode.
WRN_ExternMethodNoImplementation
, "P13").WithArguments("I1.P13.remove").WithLocation(16, 32)
27006
Diagnostic(ErrorCode.
WRN_ExternMethodNoImplementation
, "add").WithArguments("I1.P12.add").WithLocation(15, 37),
27015
Diagnostic(ErrorCode.
WRN_ExternMethodNoImplementation
, "remove").WithArguments("I1.P12.remove").WithLocation(15, 42),
27024
Diagnostic(ErrorCode.
WRN_ExternMethodNoImplementation
, "P13").WithArguments("I1.P13.remove").WithLocation(16, 32),
27099
Diagnostic(ErrorCode.
WRN_ExternMethodNoImplementation
, "add").WithArguments("I1.P12.add").WithLocation(15, 37),
27108
Diagnostic(ErrorCode.
WRN_ExternMethodNoImplementation
, "remove").WithArguments("I1.P12.remove").WithLocation(15, 42),
27117
Diagnostic(ErrorCode.
WRN_ExternMethodNoImplementation
, "P13").WithArguments("I1.P13.remove").WithLocation(16, 32),
30117
Diagnostic(ErrorCode.
WRN_ExternMethodNoImplementation
, "P2").WithArguments("I2.P2.remove").WithLocation(8, 40),
30120
Diagnostic(ErrorCode.
WRN_ExternMethodNoImplementation
, "P3").WithArguments("I3.P3.remove").WithLocation(12, 39),
30123
Diagnostic(ErrorCode.
WRN_ExternMethodNoImplementation
, "P4").WithArguments("I4.P4.remove").WithLocation(16, 40),
30126
Diagnostic(ErrorCode.
WRN_ExternMethodNoImplementation
, "P5").WithArguments("I5.P5.remove").WithLocation(20, 39),
30129
Diagnostic(ErrorCode.
WRN_ExternMethodNoImplementation
, "P1").WithArguments("I1.P1.remove").WithLocation(4, 32)
30153
Diagnostic(ErrorCode.
WRN_ExternMethodNoImplementation
, "P2").WithArguments("I2.P2.remove").WithLocation(8, 40),
30159
Diagnostic(ErrorCode.
WRN_ExternMethodNoImplementation
, "P3").WithArguments("I3.P3.remove").WithLocation(12, 39),
30162
Diagnostic(ErrorCode.
WRN_ExternMethodNoImplementation
, "P4").WithArguments("I4.P4.remove").WithLocation(16, 40),
30165
Diagnostic(ErrorCode.
WRN_ExternMethodNoImplementation
, "P5").WithArguments("I5.P5.remove").WithLocation(20, 39),
30168
Diagnostic(ErrorCode.
WRN_ExternMethodNoImplementation
, "P1").WithArguments("I1.P1.remove").WithLocation(4, 32),
30244
Diagnostic(ErrorCode.
WRN_ExternMethodNoImplementation
, "P2").WithArguments("I2.P2.remove").WithLocation(8, 32),
30438
Diagnostic(ErrorCode.
WRN_ExternMethodNoImplementation
, "P3").WithArguments("I3.P3.remove").WithLocation(12, 39),
33582
Diagnostic(ErrorCode.
WRN_ExternMethodNoImplementation
, "M1").WithArguments("I1.I2.M1()").WithLocation(9, 20 + implModifiers.Length)
33627
Diagnostic(ErrorCode.
WRN_ExternMethodNoImplementation
, "M1").WithArguments("I1.I2.M1()").WithLocation(9, 20)
33641
Diagnostic(ErrorCode.
WRN_ExternMethodNoImplementation
, "M1").WithArguments("I1.I2.M1()").WithLocation(9, 27)
33658
Diagnostic(ErrorCode.
WRN_ExternMethodNoImplementation
, "M1").WithArguments("I1.I2.M1()").WithLocation(9, 20)
33672
Diagnostic(ErrorCode.
WRN_ExternMethodNoImplementation
, "M1").WithArguments("I1.I2.M1()").WithLocation(9, 27)
37737
Diagnostic(ErrorCode.
WRN_ExternMethodNoImplementation
, "get").WithArguments("I1.I2.M1.get").WithLocation(9, 23)
37746
Diagnostic(ErrorCode.
WRN_ExternMethodNoImplementation
, "get").WithArguments("I1.I2.M1.get").WithLocation(9, 23)
37755
Diagnostic(ErrorCode.
WRN_ExternMethodNoImplementation
, "get").WithArguments("I1.I2.M1.get").WithLocation(9, 23)
37897
Diagnostic(ErrorCode.
WRN_ExternMethodNoImplementation
, "get").WithArguments("I1.I2.M1.get").WithLocation(9, 30)
37909
Diagnostic(ErrorCode.
WRN_ExternMethodNoImplementation
, "get").WithArguments("I1.I2.M1.get").WithLocation(9, 30)
37921
Diagnostic(ErrorCode.
WRN_ExternMethodNoImplementation
, "get").WithArguments("I1.I2.M1.get").WithLocation(9, 30)
42801
Diagnostic(ErrorCode.
WRN_ExternMethodNoImplementation
, "get").WithArguments("I1.I2.this[int].get").WithLocation(9, 32)
42810
Diagnostic(ErrorCode.
WRN_ExternMethodNoImplementation
, "get").WithArguments("I1.I2.this[int].get").WithLocation(9, 32)
42819
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)
4947
Diagnostic(ErrorCode.
WRN_ExternMethodNoImplementation
, "M01").WithArguments("I1.M01()").WithLocation(4, 32),
4950
Diagnostic(ErrorCode.
WRN_ExternMethodNoImplementation
, "get").WithArguments("I1.P01.get").WithLocation(5, 38),
4953
Diagnostic(ErrorCode.
WRN_ExternMethodNoImplementation
, "E01").WithArguments("I1.E01.remove").WithLocation(6, 47),
4956
Diagnostic(ErrorCode.
WRN_ExternMethodNoImplementation
, "+").WithArguments("I1.operator +(I1)").WithLocation(7, 38)
22074
compilation1.GetDiagnostics().Where(d => d.Code is not ((int)ErrorCode.
WRN_ExternMethodNoImplementation
or (int)ErrorCode.ERR_OpTFRetType or (int)ErrorCode.ERR_OperatorNeedsMatch)).Verify(
22224
compilation1.GetDiagnostics().Where(d => d.Code is not ((int)ErrorCode.
WRN_ExternMethodNoImplementation
or (int)ErrorCode.ERR_OperatorNeedsMatch or (int)ErrorCode.ERR_BadAbstractEqualityOperatorSignature)).Verify(
29886
compilation1.GetDiagnostics().Where(d => d.Code is not (int)ErrorCode.
WRN_ExternMethodNoImplementation
).Verify(
Symbols\SymbolErrorTests.cs (14)
1804
Diagnostic(ErrorCode.
WRN_ExternMethodNoImplementation
, "get").WithArguments("C.P6.get").WithLocation(16, 31)
8062
Diagnostic(ErrorCode.
WRN_ExternMethodNoImplementation
, "get").WithArguments("C.R.get"));
12287
Diagnostic(ErrorCode.
WRN_ExternMethodNoImplementation
, "GetVoid").WithArguments("NS.Goo.GetVoid()"));
13585
Diagnostic(ErrorCode.
WRN_ExternMethodNoImplementation
, "F").WithArguments("NS.Test.F()").WithLocation(16, 25),
13587
Diagnostic(ErrorCode.
WRN_ExternMethodNoImplementation
, "M").WithArguments("NS.Test.S.M()").WithLocation(23, 29));
14459
Diagnostic(ErrorCode.
WRN_ExternMethodNoImplementation
, "M").WithArguments("NS.Test.M()"),
17952
Diagnostic(ErrorCode.
WRN_ExternMethodNoImplementation
, "M").WithArguments("B.M()").WithLocation(4, 17),
17954
Diagnostic(ErrorCode.
WRN_ExternMethodNoImplementation
, "get").WithArguments("B.P1.get").WithLocation(5, 24),
17956
Diagnostic(ErrorCode.
WRN_ExternMethodNoImplementation
, "set").WithArguments("B.P1.set").WithLocation(5, 29),
17958
Diagnostic(ErrorCode.
WRN_ExternMethodNoImplementation
, "!").WithArguments("B.operator !(B)").WithLocation(6, 40),
17960
Diagnostic(ErrorCode.
WRN_ExternMethodNoImplementation
, "get").WithArguments("C.P1.get").WithLocation(11, 28),
17962
Diagnostic(ErrorCode.
WRN_ExternMethodNoImplementation
, "set").WithArguments("C.P1.set").WithLocation(11, 33));
17981
Diagnostic(ErrorCode.
WRN_ExternMethodNoImplementation
, "E1").WithArguments("C.E1.remove").WithLocation(5, 20),
17984
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),