46 references to ERR_VirtualPrivate
Microsoft.CodeAnalysis.CSharp (4)
Errors\ErrorFacts.cs (1)
998
or ErrorCode.
ERR_VirtualPrivate
Symbols\Source\SourceEventSymbol.cs (1)
594
diagnostics.Add(ErrorCode.
ERR_VirtualPrivate
, location, this);
Symbols\Source\SourceOrdinaryMethodSymbol.cs (1)
869
diagnostics.Add(ErrorCode.
ERR_VirtualPrivate
, location, this);
Symbols\Source\SourcePropertySymbolBase.cs (1)
1088
diagnostics.Add(ErrorCode.
ERR_VirtualPrivate
, location, this);
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (4)
PartialEventsAndConstructorsTests.cs (2)
1036
Diagnostic(ErrorCode.
ERR_VirtualPrivate
, "E").WithArguments("I.E").WithLocation(5, 42)
1189
Diagnostic(ErrorCode.
ERR_VirtualPrivate
, "E").WithArguments("I.E").WithLocation(5, 49)
Semantics\RecordTests.cs (2)
18525
Diagnostic(ErrorCode.
ERR_VirtualPrivate
, "Equals").WithArguments("A.Equals(A)").WithLocation(4, 19 + accessibility.Length),
19081
Diagnostic(ErrorCode.
ERR_VirtualPrivate
, "EqualityContract").WithArguments("A.EqualityContract").WithLocation(4, 26 + accessibility.Length),
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (5)
Semantics\RecordStructTests.cs (2)
790
Diagnostic(ErrorCode.
ERR_VirtualPrivate
, "M").WithArguments("S.M()").WithLocation(6, 19),
793
Diagnostic(ErrorCode.
ERR_VirtualPrivate
, "M2").WithArguments("S.M2()").WithLocation(7, 18)
Semantics\TopLevelStatementsTests.cs (3)
4384
Diagnostic(ErrorCode.
ERR_VirtualPrivate
, "localC").WithArguments("<invalid-global-code>.localC()").WithLocation(6, 14),
4402
Diagnostic(ErrorCode.
ERR_VirtualPrivate
, "localE").WithArguments("<invalid-global-code>.localE()").WithLocation(10, 15),
4417
Diagnostic(ErrorCode.
ERR_VirtualPrivate
, "localF").WithArguments("<invalid-global-code>.localF()").WithLocation(12, 15),
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (33)
Symbols\DefaultInterfaceImplementationTests.cs (12)
9113
Diagnostic(ErrorCode.
ERR_VirtualPrivate
, "M2").WithArguments("I1.M2()").WithLocation(6, 26),
9116
Diagnostic(ErrorCode.
ERR_VirtualPrivate
, "M1").WithArguments("I1.M1()").WithLocation(4, 27),
10712
Diagnostic(ErrorCode.
ERR_VirtualPrivate
, "M2").WithArguments("I1.M2()").WithLocation(5, 27),
14723
Diagnostic(ErrorCode.
ERR_VirtualPrivate
, "P1").WithArguments("I1.P1").WithLocation(4, 26),
14726
Diagnostic(ErrorCode.
ERR_VirtualPrivate
, "P2").WithArguments("I1.P2").WithLocation(6, 25),
17237
Diagnostic(ErrorCode.
ERR_VirtualPrivate
, "P2").WithArguments("I2.P2").WithLocation(8, 26),
22646
Diagnostic(ErrorCode.
ERR_VirtualPrivate
, "this").WithArguments("I1.this[byte]").WithLocation(4, 26),
22649
Diagnostic(ErrorCode.
ERR_VirtualPrivate
, "this").WithArguments("I1.this[int]").WithLocation(6, 25),
24395
Diagnostic(ErrorCode.
ERR_VirtualPrivate
, "this").WithArguments("I2.this[int]").WithLocation(8, 26),
28213
Diagnostic(ErrorCode.
ERR_VirtualPrivate
, "P1").WithArguments("I1.P1").WithLocation(4, 42),
28219
Diagnostic(ErrorCode.
ERR_VirtualPrivate
, "P2").WithArguments("I1.P2").WithLocation(6, 41),
30637
Diagnostic(ErrorCode.
ERR_VirtualPrivate
, "P2").WithArguments("I2.P2").WithLocation(8, 42),
Symbols\ExtendedPartialMethodsTests.cs (4)
2073
Diagnostic(ErrorCode.
ERR_VirtualPrivate
, "M").WithArguments("I.M()").WithLocation(6, 18),
2076
Diagnostic(ErrorCode.
ERR_VirtualPrivate
, "M").WithArguments("I.M()").WithLocation(8, 18)
2211
Diagnostic(ErrorCode.
ERR_VirtualPrivate
, "M").WithArguments("I.M()").WithLocation(4, 18),
2214
Diagnostic(ErrorCode.
ERR_VirtualPrivate
, "M").WithArguments("I.M()").WithLocation(6, 18)
Symbols\PartialPropertiesTests.cs (2)
2635
Diagnostic(ErrorCode.
ERR_VirtualPrivate
, "P").WithArguments("I.P").WithLocation(6, 17)
2770
Diagnostic(ErrorCode.
ERR_VirtualPrivate
, "P").WithArguments("I.P").WithLocation(4, 17)
Symbols\Source\ExpressionBodiedMethodTests.cs (1)
144
Diagnostic(ErrorCode.
ERR_VirtualPrivate
, "M").WithArguments("C.M()").WithLocation(4, 17));
Symbols\Source\ExpressionBodiedPropertyTests.cs (1)
102
Diagnostic(ErrorCode.
ERR_VirtualPrivate
, "P").WithArguments("C.P").WithLocation(4, 17),
Symbols\StaticAbstractMembersInInterfacesTests.cs (3)
1599
Diagnostic(ErrorCode.
ERR_VirtualPrivate
, "M01").WithArguments("I1.M01()").WithLocation(4, 34),
1602
Diagnostic(ErrorCode.
ERR_VirtualPrivate
, "P01").WithArguments("I1.P01").WithLocation(5, 34),
1605
Diagnostic(ErrorCode.
ERR_VirtualPrivate
, "E01").WithArguments("I1.E01").WithLocation(6, 49),
Symbols\SymbolErrorTests.cs (10)
11516
new ErrorDescription { Code = (int)ErrorCode.
ERR_VirtualPrivate
, Line = 5, Column = 30 },
11517
new ErrorDescription { Code = (int)ErrorCode.
ERR_VirtualPrivate
, Line = 9, Column = 30 },
11518
new ErrorDescription { Code = (int)ErrorCode.
ERR_VirtualPrivate
, Line = 10, Column = 19 });
11540
Diagnostic(ErrorCode.
ERR_VirtualPrivate
, "P").WithArguments("A.P").WithLocation(3, 21),
11543
Diagnostic(ErrorCode.
ERR_VirtualPrivate
, "Q").WithArguments("B.Q").WithLocation(7, 28));
11564
new ErrorDescription { Code = (int)ErrorCode.
ERR_VirtualPrivate
, Line = 5, Column = 30 },
11565
new ErrorDescription { Code = (int)ErrorCode.
ERR_VirtualPrivate
, Line = 6, Column = 30 },
11566
new ErrorDescription { Code = (int)ErrorCode.
ERR_VirtualPrivate
, Line = 10, Column = 31 },
11567
new ErrorDescription { Code = (int)ErrorCode.
ERR_VirtualPrivate
, Line = 11, Column = 30 },
11584
Diagnostic(ErrorCode.
ERR_VirtualPrivate
, "E").WithArguments("C.E"),