189 references to ERR_ConcreteMissingBody
Microsoft.CodeAnalysis.CSharp (7)
Compilation\CSharpCompilation.cs (1)
3503
excludeDiagnostics.Add((int)ErrorCode.
ERR_ConcreteMissingBody
);
Errors\ErrorFacts.cs (1)
920
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)
916
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)
37287
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "M").WithArguments("E.extension(int).M()").WithLocation(5, 30),
37311
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 (151)
Symbols\DefaultInterfaceImplementationTests.cs (76)
5254
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "set").WithArguments("I1.this[int].set")
5307
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "get").WithArguments("I1.this[int].get")
8412
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "M05").WithArguments("I1.M05()").WithLocation(8, 18),
8415
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "M06").WithArguments("I1.M06()").WithLocation(9, 17),
8418
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "M07").WithArguments("I1.M07()").WithLocation(10, 18),
8421
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "M08").WithArguments("I1.M08()").WithLocation(11, 17),
8658
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "M05").WithArguments("I1.M05()").WithLocation(8, 18),
8661
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "M06").WithArguments("I1.M06()").WithLocation(9, 17),
8664
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "M07").WithArguments("I1.M07()").WithLocation(10, 18),
8667
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "M08").WithArguments("I1.M08()").WithLocation(11, 17),
8692
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "M05").WithArguments("I1.M05()").WithLocation(8, 18),
8695
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "M06").WithArguments("I1.M06()").WithLocation(9, 17),
8698
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "M07").WithArguments("I1.M07()").WithLocation(10, 18),
8701
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "M08").WithArguments("I1.M08()").WithLocation(11, 17),
10199
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "M4").WithArguments("I1.M4()").WithLocation(15, 24),
13084
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "set").WithArguments("I1.P05.set").WithLocation(8, 22),
13087
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "set").WithArguments("I1.P07.set").WithLocation(10, 22),
13090
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "get").WithArguments("I1.P08.get").WithLocation(11, 21),
13589
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "set").WithArguments("I1.P05.set").WithLocation(8, 22),
13598
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "set").WithArguments("I1.P07.set").WithLocation(10, 22),
13604
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "get").WithArguments("I1.P08.get").WithLocation(11, 21),
13671
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "set").WithArguments("I1.P05.set").WithLocation(8, 22),
13677
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "set").WithArguments("I1.P07.set").WithLocation(10, 22),
13680
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "get").WithArguments("I1.P08.get").WithLocation(11, 21),
13907
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "get").WithArguments("I1.P1.get").WithLocation(4, 29)
14724
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "get").WithArguments("I1.P4.get").WithLocation(14, 21),
16286
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "get").WithArguments("I1.P1.get").WithLocation(4, 27),
17214
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "get").WithArguments("I5.P5.get").WithLocation(20, 29),
21559
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "set").WithArguments("I05.this[int].set").WithLocation(6, 48),
21565
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "set").WithArguments("I07.this[int].set").WithLocation(8, 48),
21568
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "get").WithArguments("I08.this[int].get").WithLocation(9, 47),
22063
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "set").WithArguments("I05.this[int].set").WithLocation(6, 48),
22072
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "set").WithArguments("I07.this[int].set").WithLocation(8, 48),
22078
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "get").WithArguments("I08.this[int].get").WithLocation(9, 47),
22144
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "set").WithArguments("I05.this[int].set").WithLocation(6, 48),
22150
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "set").WithArguments("I07.this[int].set").WithLocation(8, 48),
22153
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "get").WithArguments("I08.this[int].get").WithLocation(9, 47),
22380
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "get").WithArguments("I1.this[int].get").WithLocation(4, 38)
22644
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "get").WithArguments("I1.this[long].get").WithLocation(14, 31),
23589
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "get").WithArguments("I1.this[int].get").WithLocation(4, 36),
24405
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "get").WithArguments("I5.this[int].get").WithLocation(20, 38),
33440
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "M1").WithArguments("I1.I4.M1()").WithLocation(15, 13 + implModifiers.Length),
33443
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "M1").WithArguments("I1.I2.M1()").WithLocation(14, 13 + implModifiers.Length)
37508
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "get").WithArguments("I1.I2.M1.get").WithLocation(14, 16),
37511
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "set").WithArguments("I1.I4.M1.set").WithLocation(15, 16)
38189
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "get").WithArguments("I4.I3.M3.get").WithLocation(43, 16),
38192
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "set").WithArguments("I4.I3.M3.set").WithLocation(43, 21),
38198
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "get").WithArguments("I4.I3.M4.get").WithLocation(44, 16),
38201
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "set").WithArguments("I4.I3.M4.set").WithLocation(44, 21)
42718
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "get").WithArguments("I1.I2.this[int].get").WithLocation(14, 25),
42721
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "set").WithArguments("I1.I4.this[int].set").WithLocation(15, 25)
43090
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "get").WithArguments("I4.I3.this[byte].get").WithLocation(43, 26),
43093
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "set").WithArguments("I4.I3.this[byte].set").WithLocation(43, 31),
43096
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "get").WithArguments("I4.I3.this[short].get").WithLocation(44, 27),
43099
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "set").WithArguments("I4.I3.this[short].set").WithLocation(44, 32)
44352
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "I2").WithArguments("I2.I2()").WithLocation(10, 5),
44408
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "I5").WithArguments("I5.I5()").WithLocation(20, 5),
44439
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "I5").WithArguments("I5.I5()").WithLocation(20, 5),
44566
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "I7").WithArguments("I7.I7()").WithLocation(28, 12),
44602
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "I15").WithArguments("I15.I15()").WithLocation(70, 20),
45015
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "get").WithArguments("I1.F1.get").WithLocation(4, 21),
45018
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "set").WithArguments("I1.F1.set").WithLocation(4, 26),
45024
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "get").WithArguments("I1.F5.get").WithLocation(5, 21)
52274
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "M1").WithArguments("C2.I1.M1()").WithLocation(9, 22 + (isStatic ? 7 : 0))
60158
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "get").WithArguments("C2.I1.this[int].get").WithLocation(9, 35),
60161
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "set").WithArguments("C2.I1.this[int].set").WithLocation(9, 40)
60186
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "get").WithArguments("C2.I1.this[int].get").WithLocation(9, 35),
60189
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "set").WithArguments("C2.I1.this[int].set").WithLocation(9, 40)
61127
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "get").WithArguments("C2.I1.this[int].get").WithLocation(9, 35)
61152
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "get").WithArguments("C2.I1.this[int].get").WithLocation(9, 35)
61852
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "set").WithArguments("C2.I1.this[int].set").WithLocation(9, 35)
61877
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "set").WithArguments("C2.I1.this[int].set").WithLocation(9, 35)
67837
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "get").WithArguments("IA.PA.get").WithLocation(4, 25),
67840
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "get").WithArguments("IB.PB.get").WithLocation(9, 25),
67846
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "set").WithArguments("IB.PB.set").WithLocation(9, 30),
67852
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>)"));
8167
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "C").WithArguments("C.C()"),
9861
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "set").WithArguments("x.IFace2.x.IFace.P.set").WithLocation(12, 23),
9864
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "F").WithArguments("x.IFace2.x.IFace.F()").WithLocation(11, 20)
10871
Diagnostic(ErrorCode.
ERR_ConcreteMissingBody
, "+").WithArguments("IA.operator +(int, int)").WithLocation(4, 17),
14956
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),