185 references to ERR_ConcreteMissingBody
Microsoft.CodeAnalysis.CSharp (7)
Compilation\CSharpCompilation.cs (1)
3204
excludeDiagnostics.Add((int)ErrorCode.
ERR_ConcreteMissingBody
);
Errors\ErrorFacts.cs (1)
858
case ErrorCode.
ERR_ConcreteMissingBody
:
Symbols\Source\SourceConstructorSymbol.cs (1)
149
diagnostics.Add(ErrorCode.
ERR_ConcreteMissingBody
, location, this);
Symbols\Source\SourceDestructorSymbol.cs (1)
51
diagnostics.Add(ErrorCode.
ERR_ConcreteMissingBody
, location, this);
Symbols\Source\SourceOrdinaryMethodSymbolBase.cs (1)
414
diagnostics.Add(ErrorCode.
ERR_ConcreteMissingBody
, location, this);
Symbols\Source\SourcePropertyAccessorSymbol.cs (1)
540
diagnostics.Add(ErrorCode.
ERR_ConcreteMissingBody
, location, this);
Symbols\Source\SourceUserDefinedOperatorSymbolBase.cs (1)
114
diagnostics.Add(ErrorCode.
ERR_ConcreteMissingBody
, location, this);
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (4)
CodeGen\CodeGenConstructorInitTests.cs (1)
1276
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "C").WithArguments("C.C()").WithLocation(4, 12),
CodeGen\CodeGenDeconstructTests.cs (1)
4991
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "var").WithArguments("C.C(x, y)").WithLocation(4, 5),
CodeGen\CodeGenExprLambdaTests.cs (2)
3753
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "Compile").WithArguments(".<invalid-global-code>.<invalid-global-code>()").WithLocation(2, 84)
3803
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "Compile").WithArguments(".<invalid-global-code>.<invalid-global-code>()").WithLocation(2, 84));
Microsoft.CodeAnalysis.CSharp.Emit2.UnitTests (2)
Attributes\AttributeTests_WellKnownAttributes.cs (1)
3535
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "F2").WithArguments("C.F2(int, string)").WithLocation(13, 9),
Diagnostics\DiagnosticAnalyzerTests.cs (1)
3555
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "B").WithArguments("B.B()").WithLocation(5, 12),
Microsoft.CodeAnalysis.CSharp.IOperation.UnitTests (7)
IOperation\IOperationTests_IConstructorBodyOperation.cs (4)
34
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "C").WithArguments("C.C()").WithLocation(4, 12)
63
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "C").WithArguments("C.C()").WithLocation(4, 12)
481
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "C").WithArguments("C.C()").WithLocation(4, 12)
793
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "C").WithArguments("C.C()").WithLocation(4, 5));
IOperation\IOperationTests_IMethodBodyOperation.cs (3)
556
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "!").WithArguments("C.operator !(C)").WithLocation(4, 30)
698
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "int").WithArguments("C.implicit operator int(C)").WithLocation(4, 37)
840
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "C").WithArguments("C.~C()").WithLocation(4, 6)
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (3)
Semantics\BindingTests.cs (1)
2125
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "M").WithArguments("C.M(object, ?)"));
Semantics\InheritanceBindingTests.cs (1)
2720
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "get").WithArguments("Derived.this[string, int, string, int].get").WithLocation(36, 69),
Semantics\RecordTests.cs (1)
174
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "Point").WithArguments("E.Point(int, int)").WithLocation(4, 12)
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (155)
Symbols\DefaultInterfaceImplementationTests.cs (78)
3378
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "set").WithArguments("I1.P1.set").WithLocation(11, 9)
3434
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "get").WithArguments("I1.P1.get").WithLocation(6, 9)
5069
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "set").WithArguments("I1.this[int].set")
5122
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "get").WithArguments("I1.this[int].get")
8227
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "M05").WithArguments("I1.M05()").WithLocation(8, 18),
8230
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "M06").WithArguments("I1.M06()").WithLocation(9, 17),
8233
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "M07").WithArguments("I1.M07()").WithLocation(10, 18),
8236
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "M08").WithArguments("I1.M08()").WithLocation(11, 17),
8473
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "M05").WithArguments("I1.M05()").WithLocation(8, 18),
8476
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "M06").WithArguments("I1.M06()").WithLocation(9, 17),
8479
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "M07").WithArguments("I1.M07()").WithLocation(10, 18),
8482
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "M08").WithArguments("I1.M08()").WithLocation(11, 17),
8507
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "M05").WithArguments("I1.M05()").WithLocation(8, 18),
8510
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "M06").WithArguments("I1.M06()").WithLocation(9, 17),
8513
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "M07").WithArguments("I1.M07()").WithLocation(10, 18),
8516
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "M08").WithArguments("I1.M08()").WithLocation(11, 17),
10014
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "M4").WithArguments("I1.M4()").WithLocation(15, 24),
12899
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "set").WithArguments("I1.P05.set").WithLocation(8, 22),
12902
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "set").WithArguments("I1.P07.set").WithLocation(10, 22),
12905
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "get").WithArguments("I1.P08.get").WithLocation(11, 21),
13404
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "set").WithArguments("I1.P05.set").WithLocation(8, 22),
13413
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "set").WithArguments("I1.P07.set").WithLocation(10, 22),
13419
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "get").WithArguments("I1.P08.get").WithLocation(11, 21),
13486
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "set").WithArguments("I1.P05.set").WithLocation(8, 22),
13492
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "set").WithArguments("I1.P07.set").WithLocation(10, 22),
13495
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "get").WithArguments("I1.P08.get").WithLocation(11, 21),
13722
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "get").WithArguments("I1.P1.get").WithLocation(4, 29)
14539
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "get").WithArguments("I1.P4.get").WithLocation(14, 21),
16101
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "get").WithArguments("I1.P1.get").WithLocation(4, 27),
17029
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "get").WithArguments("I5.P5.get").WithLocation(20, 29),
21374
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "set").WithArguments("I05.this[int].set").WithLocation(6, 48),
21380
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "set").WithArguments("I07.this[int].set").WithLocation(8, 48),
21383
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "get").WithArguments("I08.this[int].get").WithLocation(9, 47),
21878
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "set").WithArguments("I05.this[int].set").WithLocation(6, 48),
21887
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "set").WithArguments("I07.this[int].set").WithLocation(8, 48),
21893
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "get").WithArguments("I08.this[int].get").WithLocation(9, 47),
21959
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "set").WithArguments("I05.this[int].set").WithLocation(6, 48),
21965
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "set").WithArguments("I07.this[int].set").WithLocation(8, 48),
21968
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "get").WithArguments("I08.this[int].get").WithLocation(9, 47),
22195
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "get").WithArguments("I1.this[int].get").WithLocation(4, 38)
22459
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "get").WithArguments("I1.this[long].get").WithLocation(14, 31),
23404
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "get").WithArguments("I1.this[int].get").WithLocation(4, 36),
24220
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "get").WithArguments("I5.this[int].get").WithLocation(20, 38),
33255
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "M1").WithArguments("I1.I4.M1()").WithLocation(15, 13 + implModifiers.Length),
33258
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "M1").WithArguments("I1.I2.M1()").WithLocation(14, 13 + implModifiers.Length)
37323
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "get").WithArguments("I1.I2.M1.get").WithLocation(14, 16),
37326
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "set").WithArguments("I1.I4.M1.set").WithLocation(15, 16)
38004
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "get").WithArguments("I4.I3.M3.get").WithLocation(43, 16),
38007
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "set").WithArguments("I4.I3.M3.set").WithLocation(43, 21),
38013
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "get").WithArguments("I4.I3.M4.get").WithLocation(44, 16),
38016
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "set").WithArguments("I4.I3.M4.set").WithLocation(44, 21)
42533
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "get").WithArguments("I1.I2.this[int].get").WithLocation(14, 25),
42536
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "set").WithArguments("I1.I4.this[int].set").WithLocation(15, 25)
42905
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "get").WithArguments("I4.I3.this[byte].get").WithLocation(43, 26),
42908
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "set").WithArguments("I4.I3.this[byte].set").WithLocation(43, 31),
42911
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "get").WithArguments("I4.I3.this[short].get").WithLocation(44, 27),
42914
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "set").WithArguments("I4.I3.this[short].set").WithLocation(44, 32)
44167
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "I2").WithArguments("I2.I2()").WithLocation(10, 5),
44223
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "I5").WithArguments("I5.I5()").WithLocation(20, 5),
44254
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "I5").WithArguments("I5.I5()").WithLocation(20, 5),
44381
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "I7").WithArguments("I7.I7()").WithLocation(28, 12),
44414
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "I15").WithArguments("I15.I15()").WithLocation(70, 20),
44824
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "get").WithArguments("I1.F1.get").WithLocation(4, 21),
44827
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "set").WithArguments("I1.F1.set").WithLocation(4, 26),
44833
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "get").WithArguments("I1.F5.get").WithLocation(5, 21)
52083
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "M1").WithArguments("C2.I1.M1()").WithLocation(9, 22 + (isStatic ? 7 : 0))
59967
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "get").WithArguments("C2.I1.this[int].get").WithLocation(9, 35),
59970
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "set").WithArguments("C2.I1.this[int].set").WithLocation(9, 40)
59995
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "get").WithArguments("C2.I1.this[int].get").WithLocation(9, 35),
59998
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "set").WithArguments("C2.I1.this[int].set").WithLocation(9, 40)
60936
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "get").WithArguments("C2.I1.this[int].get").WithLocation(9, 35)
60961
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "get").WithArguments("C2.I1.this[int].get").WithLocation(9, 35)
61661
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "set").WithArguments("C2.I1.this[int].set").WithLocation(9, 35)
61686
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "set").WithArguments("C2.I1.this[int].set").WithLocation(9, 35)
67643
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "get").WithArguments("IA.PA.get").WithLocation(4, 25),
67646
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "get").WithArguments("IB.PB.get").WithLocation(9, 25),
67652
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "set").WithArguments("IB.PB.set").WithLocation(9, 30),
67658
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "set").WithArguments("IC.PC.set").WithLocation(14, 25)
Symbols\DestructorTests.cs (1)
82
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "I").WithArguments("I.~I()").WithLocation(9, 6),
Symbols\IndexerTests.cs (2)
1261
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "get").WithArguments("B.this[int].get"),
1263
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "set").WithArguments("B.this[int].set"));
Symbols\StaticAbstractMembersInInterfacesTests.cs (59)
81
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "M02").WithArguments("I1.M02()").WithLocation(7, 25),
87
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "M03").WithArguments("I1.M03()").WithLocation(10, 24),
93
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "M04").WithArguments("I1.M04()").WithLocation(13, 26),
123
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "M08").WithArguments("I1.M08()").WithLocation(25, 32),
132
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "M09").WithArguments("I1.M09()").WithLocation(28, 34),
141
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "M10").WithArguments("I1.M10()").WithLocation(31, 33)
427
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "M02").WithArguments("I1.M02()").WithLocation(7, 25),
430
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "M03").WithArguments("I1.M03()").WithLocation(10, 24),
436
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "M04").WithArguments("I1.M04()").WithLocation(13, 26),
451
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "M08").WithArguments("I1.M08()").WithLocation(25, 32),
457
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "M09").WithArguments("I1.M09()").WithLocation(28, 34),
463
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "M10").WithArguments("I1.M10()").WithLocation(31, 33)
601
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "M02").WithArguments("I1.M02()").WithLocation(7, 25),
607
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "M03").WithArguments("I1.M03()").WithLocation(10, 24),
616
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "M04").WithArguments("I1.M04()").WithLocation(13, 26),
646
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "M08").WithArguments("I1.M08()").WithLocation(25, 32),
655
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "M09").WithArguments("I1.M09()").WithLocation(28, 34),
664
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "M10").WithArguments("I1.M10()").WithLocation(31, 33)
909
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "I2").WithArguments("I2.I2()").WithLocation(4, 27),
930
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "I3").WithArguments("I3.I3()").WithLocation(14, 20),
985
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "I3").WithArguments("I3.I3()").WithLocation(14, 12)
3305
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "-").WithArguments("I1.operator -(I1)").WithLocation(7, 31),
3311
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "++").WithArguments("I1.operator ++(I1)").WithLocation(10, 30),
3317
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "--").WithArguments("I1.operator --(I1)").WithLocation(13, 32),
3344
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "-").WithArguments("I1.operator -(I1, I1)").WithLocation(25, 38),
3353
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "*").WithArguments("I1.operator *(I1, I1)").WithLocation(28, 40),
3362
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "/").WithArguments("I1.operator /(I1, I1)").WithLocation(31, 39)
3642
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "-").WithArguments("I1.operator -(I1)").WithLocation(7, 31),
3645
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "++").WithArguments("I1.operator ++(I1)").WithLocation(10, 30),
3651
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "--").WithArguments("I1.operator --(I1)").WithLocation(13, 32),
3666
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "-").WithArguments("I1.operator -(I1, I1)").WithLocation(25, 38),
3672
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "*").WithArguments("I1.operator *(I1, I1)").WithLocation(28, 40),
3678
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "/").WithArguments("I1.operator /(I1, I1)").WithLocation(31, 39)
3813
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "-").WithArguments("I1.operator -(I1)").WithLocation(7, 31),
3819
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "++").WithArguments("I1.operator ++(I1)").WithLocation(10, 30),
3828
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "--").WithArguments("I1.operator --(I1)").WithLocation(13, 32),
3855
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "-").WithArguments("I1.operator -(I1, I1)").WithLocation(25, 38),
3864
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "*").WithArguments("I1.operator *(I1, I1)").WithLocation(28, 40),
3873
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "/").WithArguments("I1.operator /(I1, I1)").WithLocation(31, 39)
4461
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "==").WithArguments("I1.operator ==(I1, I1)").WithLocation(4, 33),
4473
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "==").WithArguments("I2.operator ==(I2, I2)").WithLocation(11, 40),
4506
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "==").WithArguments("I1.operator ==(I1, I1)").WithLocation(4, 33),
4518
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "==").WithArguments("I2.operator ==(I2, I2)").WithLocation(11, 40),
4548
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "==").WithArguments("I1.operator ==(I1, I1)").WithLocation(4, 33),
4554
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "==").WithArguments("I2.operator ==(I2, I2)").WithLocation(11, 40),
4647
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "int").WithArguments("I1.implicit operator int(I1)").WithLocation(4, 38),
4665
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "int").WithArguments("I2.implicit operator int(I2)").WithLocation(11, 45),
4710
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "int").WithArguments("I1.implicit operator int(I1)").WithLocation(4, 38),
4728
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "int").WithArguments("I2.implicit operator int(I2)").WithLocation(11, 45),
4770
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "int").WithArguments("I1.implicit operator int(I1)").WithLocation(4, 38),
4782
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "int").WithArguments("I2.implicit operator int(I2)").WithLocation(11, 45),
5077
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "M01").WithArguments("C1.M01()").WithLocation(4, 33),
5092
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "+").WithArguments("C1.operator +(C1)").WithLocation(7, 39)
5119
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "M01").WithArguments("C1.M01()").WithLocation(4, 32),
5134
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "+").WithArguments("C1.operator +(C1)").WithLocation(7, 38)
5194
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "M01").WithArguments("C1.M01()").WithLocation(4, 33),
5209
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "+").WithArguments("C1.operator +(C1)").WithLocation(7, 39)
5236
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "M01").WithArguments("C1.M01()").WithLocation(4, 32),
5251
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "+").WithArguments("C1.operator +(C1)").WithLocation(7, 38)
Symbols\SymbolErrorTests.cs (14)
1736
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "f").WithArguments("MyNamespace.I.f()").WithLocation(6, 28)
3232
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "get").WithArguments("I.P.get").WithLocation(4, 23),
3235
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "M").WithArguments("I.M()").WithLocation(3, 17)
8030
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "M1").WithArguments("NS.clx<T>.M1(T)"),
8034
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "M2").WithArguments("NS.clx<T>.M2<V>()"),
8038
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "M3").WithArguments("NS.clx<T>.M3(sbyte)"),
8042
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "+").WithArguments("NS.clx<T>.operator +(NS.clx<T>)"));
8058
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "get").WithArguments("C.P.get"),
8060
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "set").WithArguments("C.Q.set"),
8077
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "C").WithArguments("C.C()"),
9718
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "set").WithArguments("x.IFace2.x.IFace.P.set").WithLocation(12, 23),
9721
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "F").WithArguments("x.IFace2.x.IFace.F()").WithLocation(11, 20)
10728
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "+").WithArguments("IA.operator +(int, int)").WithLocation(4, 17),
14808
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "M").WithArguments("I.M(object)").WithLocation(3, 17)
Symbols\UserDefinedOperatorErrorTests.cs (1)
245
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "+").WithArguments("C.operator +(C)").WithLocation(14, 32),
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (7)
Parsing\FileModifierParsingTests.cs (3)
741
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "M").WithArguments("C.M()").WithLocation(3, 31)
2529
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "record").WithArguments("C.record()").WithLocation(3, 10)
2723
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "X").WithArguments("C.X()").WithLocation(3, 17)
Parsing\ParserErrorMessageTests.cs (4)
2922
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "").WithArguments("A.operator +((?, ?))").WithLocation(4, 23),
4734
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "").WithArguments("goo.operator +((goo f, ?))").WithLocation(3, 23),
5407
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "M").WithArguments("S<T>.M<U>()").WithLocation(8, 10),
5410
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "M").WithArguments("A<T>.M<U>()").WithLocation(13, 10),