188 references to ERR_ConcreteMissingBody
Microsoft.CodeAnalysis.CSharp (7)
Compilation\CSharpCompilation.cs (1)
3535
excludeDiagnostics.Add((int)ErrorCode.
ERR_ConcreteMissingBody
);
Errors\ErrorFacts.cs (1)
921
or ErrorCode.
ERR_ConcreteMissingBody
Symbols\Source\SourceConstructorSymbol.cs (1)
185
diagnostics.Add(ErrorCode.
ERR_ConcreteMissingBody
, location, this);
Symbols\Source\SourceDestructorSymbol.cs (1)
47
diagnostics.Add(ErrorCode.
ERR_ConcreteMissingBody
, location, this);
Symbols\Source\SourceOrdinaryMethodSymbol.cs (1)
934
diagnostics.Add(ErrorCode.
ERR_ConcreteMissingBody
, location, this);
Symbols\Source\SourcePropertyAccessorSymbol.cs (1)
542
diagnostics.Add(ErrorCode.
ERR_ConcreteMissingBody
, location, this);
Symbols\Source\SourceUserDefinedOperatorSymbolBase.cs (1)
138
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)
3481
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "Compile").WithArguments(".<invalid-global-code>.<invalid-global-code>()").WithLocation(2, 84)
3531
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "Compile").WithArguments(".<invalid-global-code>.<invalid-global-code>()").WithLocation(2, 84));
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (13)
Attributes\AttributeTests_WellKnownAttributes.cs (1)
3616
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "F2").WithArguments("C.F2(int, string)").WithLocation(13, 9),
Diagnostics\DiagnosticAnalyzerTests.cs (1)
3647
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "B").WithArguments("B.B()").WithLocation(5, 12),
PartialEventsAndConstructorsTests.cs (2)
227
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "C").WithArguments("C.C()").WithLocation(5, 13),
725
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "C").WithArguments("C.~C()").WithLocation(3, 14),
Semantics\ExtensionTests.cs (2)
42418
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "M").WithArguments("E.extension(int).M()").WithLocation(5, 30),
42442
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "get").WithArguments("E.extension(int).this[int].get").WithLocation(8, 43));
Semantics\RecordTests.cs (1)
174
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "Point").WithArguments("E.Point(int, int)").WithLocation(4, 12)
Symbols\UserDefinedCompoundAssignmentOperatorsTests.cs (6)
1155
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, op).WithArguments("C1.operator " + op + @"()").WithLocation(3, 33),
1158
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, op).WithArguments("C1.operator checked " + op + @"()").WithLocation(4, 41)
7619
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, op).WithArguments("C1.operator " + op + "()").WithLocation(4, 33)
9383
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, op).WithArguments("C1.operator " + op + @"(int)").WithLocation(3, 33)
9402
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, op).WithArguments("C1.operator checked " + op + @"(int)").WithLocation(4, 41)
19714
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, op).WithArguments("C1.operator " + op + "(int)").WithLocation(4, 33)
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 (2)
Semantics\BindingTests.cs (1)
2158
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),
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (150)
Symbols\DefaultInterfaceImplementationTests.cs (75)
5265
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "set").WithArguments("I1.this[int].set")
5318
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "get").WithArguments("I1.this[int].get")
8423
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "M05").WithArguments("I1.M05()").WithLocation(8, 18),
8426
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "M06").WithArguments("I1.M06()").WithLocation(9, 17),
8429
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "M07").WithArguments("I1.M07()").WithLocation(10, 18),
8432
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "M08").WithArguments("I1.M08()").WithLocation(11, 17),
8669
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "M05").WithArguments("I1.M05()").WithLocation(8, 18),
8672
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "M06").WithArguments("I1.M06()").WithLocation(9, 17),
8675
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "M07").WithArguments("I1.M07()").WithLocation(10, 18),
8678
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "M08").WithArguments("I1.M08()").WithLocation(11, 17),
8703
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "M05").WithArguments("I1.M05()").WithLocation(8, 18),
8706
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "M06").WithArguments("I1.M06()").WithLocation(9, 17),
8709
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "M07").WithArguments("I1.M07()").WithLocation(10, 18),
8712
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "M08").WithArguments("I1.M08()").WithLocation(11, 17),
10210
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "M4").WithArguments("I1.M4()").WithLocation(15, 24),
13095
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "set").WithArguments("I1.P05.set").WithLocation(8, 22),
13098
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "set").WithArguments("I1.P07.set").WithLocation(10, 22),
13101
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "get").WithArguments("I1.P08.get").WithLocation(11, 21),
13600
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "set").WithArguments("I1.P05.set").WithLocation(8, 22),
13609
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "set").WithArguments("I1.P07.set").WithLocation(10, 22),
13615
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "get").WithArguments("I1.P08.get").WithLocation(11, 21),
13682
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "set").WithArguments("I1.P05.set").WithLocation(8, 22),
13688
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "set").WithArguments("I1.P07.set").WithLocation(10, 22),
13691
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "get").WithArguments("I1.P08.get").WithLocation(11, 21),
13918
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "get").WithArguments("I1.P1.get").WithLocation(4, 29)
14735
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "get").WithArguments("I1.P4.get").WithLocation(14, 21),
16297
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "get").WithArguments("I1.P1.get").WithLocation(4, 27),
17225
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "get").WithArguments("I5.P5.get").WithLocation(20, 29),
21570
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "set").WithArguments("I05.this[int].set").WithLocation(6, 48),
21576
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "set").WithArguments("I07.this[int].set").WithLocation(8, 48),
21579
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "get").WithArguments("I08.this[int].get").WithLocation(9, 47),
22074
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "set").WithArguments("I05.this[int].set").WithLocation(6, 48),
22083
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "set").WithArguments("I07.this[int].set").WithLocation(8, 48),
22089
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "get").WithArguments("I08.this[int].get").WithLocation(9, 47),
22155
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "set").WithArguments("I05.this[int].set").WithLocation(6, 48),
22161
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "set").WithArguments("I07.this[int].set").WithLocation(8, 48),
22164
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "get").WithArguments("I08.this[int].get").WithLocation(9, 47),
22391
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "get").WithArguments("I1.this[int].get").WithLocation(4, 38)
22655
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "get").WithArguments("I1.this[long].get").WithLocation(14, 31),
23600
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "get").WithArguments("I1.this[int].get").WithLocation(4, 36),
24416
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "get").WithArguments("I5.this[int].get").WithLocation(20, 38),
33451
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "M1").WithArguments("I1.I4.M1()").WithLocation(15, 13 + implModifiers.Length),
33454
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "M1").WithArguments("I1.I2.M1()").WithLocation(14, 13 + implModifiers.Length)
37519
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "get").WithArguments("I1.I2.M1.get").WithLocation(14, 16),
37522
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "set").WithArguments("I1.I4.M1.set").WithLocation(15, 16)
38200
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "get").WithArguments("I4.I3.M3.get").WithLocation(43, 16),
38203
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "set").WithArguments("I4.I3.M3.set").WithLocation(43, 21),
38209
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "get").WithArguments("I4.I3.M4.get").WithLocation(44, 16),
38212
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "set").WithArguments("I4.I3.M4.set").WithLocation(44, 21)
42729
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "get").WithArguments("I1.I2.this[int].get").WithLocation(14, 25),
42732
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "set").WithArguments("I1.I4.this[int].set").WithLocation(15, 25)
43101
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "get").WithArguments("I4.I3.this[byte].get").WithLocation(43, 26),
43104
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "set").WithArguments("I4.I3.this[byte].set").WithLocation(43, 31),
43107
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "get").WithArguments("I4.I3.this[short].get").WithLocation(44, 27),
43110
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "set").WithArguments("I4.I3.this[short].set").WithLocation(44, 32)
44363
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "I2").WithArguments("I2.I2()").WithLocation(10, 5),
44419
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "I5").WithArguments("I5.I5()").WithLocation(20, 5),
44450
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "I5").WithArguments("I5.I5()").WithLocation(20, 5),
44577
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "I7").WithArguments("I7.I7()").WithLocation(28, 12),
45011
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "get").WithArguments("I1.F1.get").WithLocation(4, 21),
45014
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "set").WithArguments("I1.F1.set").WithLocation(4, 26),
45020
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "get").WithArguments("I1.F5.get").WithLocation(5, 21)
52270
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "M1").WithArguments("C2.I1.M1()").WithLocation(9, 22 + (isStatic ? 7 : 0))
60154
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "get").WithArguments("C2.I1.this[int].get").WithLocation(9, 35),
60157
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "set").WithArguments("C2.I1.this[int].set").WithLocation(9, 40)
60182
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "get").WithArguments("C2.I1.this[int].get").WithLocation(9, 35),
60185
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "set").WithArguments("C2.I1.this[int].set").WithLocation(9, 40)
61123
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "get").WithArguments("C2.I1.this[int].get").WithLocation(9, 35)
61148
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "get").WithArguments("C2.I1.this[int].get").WithLocation(9, 35)
61848
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "set").WithArguments("C2.I1.this[int].set").WithLocation(9, 35)
61873
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "set").WithArguments("C2.I1.this[int].set").WithLocation(9, 35)
67833
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "get").WithArguments("IA.PA.get").WithLocation(4, 25),
67836
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "get").WithArguments("IB.PB.get").WithLocation(9, 25),
67842
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "set").WithArguments("IB.PB.set").WithLocation(9, 30),
67848
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)
1263
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "get").WithArguments("B.this[int].get"),
1265
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "set").WithArguments("B.this[int].set"));
Symbols\StaticAbstractMembersInInterfacesTests.cs (57)
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)
967
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "I3").WithArguments("I3.I3()").WithLocation(14, 12)
3287
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "-").WithArguments("I1.operator -(I1)").WithLocation(7, 31),
3293
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "++").WithArguments("I1.operator ++(I1)").WithLocation(10, 30),
3299
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "--").WithArguments("I1.operator --(I1)").WithLocation(13, 32),
3326
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "-").WithArguments("I1.operator -(I1, I1)").WithLocation(25, 38),
3335
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "*").WithArguments("I1.operator *(I1, I1)").WithLocation(28, 40),
3344
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "/").WithArguments("I1.operator /(I1, I1)").WithLocation(31, 39)
3624
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "-").WithArguments("I1.operator -(I1)").WithLocation(7, 31),
3627
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "++").WithArguments("I1.operator ++(I1)").WithLocation(10, 30),
3633
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "--").WithArguments("I1.operator --(I1)").WithLocation(13, 32),
3648
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "-").WithArguments("I1.operator -(I1, I1)").WithLocation(25, 38),
3654
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "*").WithArguments("I1.operator *(I1, I1)").WithLocation(28, 40),
3660
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "/").WithArguments("I1.operator /(I1, I1)").WithLocation(31, 39)
3795
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "-").WithArguments("I1.operator -(I1)").WithLocation(7, 31),
3801
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "++").WithArguments("I1.operator ++(I1)").WithLocation(10, 30),
3810
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "--").WithArguments("I1.operator --(I1)").WithLocation(13, 32),
3837
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "-").WithArguments("I1.operator -(I1, I1)").WithLocation(25, 38),
3846
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "*").WithArguments("I1.operator *(I1, I1)").WithLocation(28, 40),
3855
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "/").WithArguments("I1.operator /(I1, I1)").WithLocation(31, 39)
4443
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "==").WithArguments("I1.operator ==(I1, I1)").WithLocation(4, 33),
4455
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "==").WithArguments("I2.operator ==(I2, I2)").WithLocation(11, 40),
4488
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "==").WithArguments("I1.operator ==(I1, I1)").WithLocation(4, 33),
4500
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "==").WithArguments("I2.operator ==(I2, I2)").WithLocation(11, 40),
4530
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "==").WithArguments("I1.operator ==(I1, I1)").WithLocation(4, 33),
4536
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "==").WithArguments("I2.operator ==(I2, I2)").WithLocation(11, 40),
4629
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "int").WithArguments("I1.implicit operator int(I1)").WithLocation(4, 38),
4647
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "int").WithArguments("I2.implicit operator int(I2)").WithLocation(11, 45),
4692
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "int").WithArguments("I1.implicit operator int(I1)").WithLocation(4, 38),
4710
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "int").WithArguments("I2.implicit operator int(I2)").WithLocation(11, 45),
4752
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "int").WithArguments("I1.implicit operator int(I1)").WithLocation(4, 38),
4764
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "int").WithArguments("I2.implicit operator int(I2)").WithLocation(11, 45),
5059
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "M01").WithArguments("C1.M01()").WithLocation(4, 33),
5074
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "+").WithArguments("C1.operator +(C1)").WithLocation(7, 39)
5101
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "M01").WithArguments("C1.M01()").WithLocation(4, 32),
5116
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "+").WithArguments("C1.operator +(C1)").WithLocation(7, 38)
5176
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "M01").WithArguments("C1.M01()").WithLocation(4, 33),
5191
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "+").WithArguments("C1.operator +(C1)").WithLocation(7, 39)
5218
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "M01").WithArguments("C1.M01()").WithLocation(4, 32),
5233
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "+").WithArguments("C1.operator +(C1)").WithLocation(7, 38)
Symbols\SymbolErrorTests.cs (12)
1737
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "f").WithArguments("MyNamespace.I.f()").WithLocation(6, 28)
3247
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "get").WithArguments("I.P.get").WithLocation(4, 23),
3250
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "M").WithArguments("I.M()").WithLocation(3, 17)
8106
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "M1").WithArguments("NS.clx<T>.M1(T)"),
8110
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "M2").WithArguments("NS.clx<T>.M2<V>()"),
8114
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "M3").WithArguments("NS.clx<T>.M3(sbyte)"),
8118
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "+").WithArguments("NS.clx<T>.operator +(NS.clx<T>)"));
8178
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "C").WithArguments("C.C()"),
9872
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "set").WithArguments("x.IFace2.x.IFace.P.set").WithLocation(12, 23),
9875
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "F").WithArguments("x.IFace2.x.IFace.F()").WithLocation(11, 20)
10882
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "+").WithArguments("IA.operator +(int, int)").WithLocation(4, 17),
14967
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "M").WithArguments("I.M(object)").WithLocation(3, 17)
Symbols\TypeTests.cs (2)
2435
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "F").WithArguments("N..F()").WithLocation(5, 17),
2444
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "F").WithArguments("N..F()").WithLocation(9, 17),
Symbols\UserDefinedOperatorErrorTests.cs (1)
245
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "+").WithArguments("C.operator +(C)").WithLocation(14, 32),
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (5)
Parsing\FileModifierParsingTests.cs (3)
742
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "M").WithArguments("C.M()").WithLocation(3, 31)
2530
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "record").WithArguments("C.record()").WithLocation(3, 10)
2724
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "X").WithArguments("C.X()").WithLocation(3, 17)
Parsing\ParserErrorMessageTests.cs (2)
5246
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "M").WithArguments("S<T>.M<U>()").WithLocation(8, 10),
5249
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "M").WithArguments("A<T>.M<U>()").WithLocation(13, 10),