34 references to ERR_AbstractAndExtern
Microsoft.CodeAnalysis.CSharp (5)
Errors\ErrorFacts.cs (1)
763
or ErrorCode.
ERR_AbstractAndExtern
Symbols\Source\SourceEventSymbol.cs (1)
636
diagnostics.Add(ErrorCode.
ERR_AbstractAndExtern
, location, this);
Symbols\Source\SourceOrdinaryMethodSymbol.cs (1)
875
diagnostics.Add(ErrorCode.
ERR_AbstractAndExtern
, location, this);
Symbols\Source\SourcePropertySymbolBase.cs (1)
1127
diagnostics.Add(ErrorCode.
ERR_AbstractAndExtern
, location, this);
Symbols\Source\SourceUserDefinedOperatorSymbolBase.cs (1)
115
diagnostics.Add(ErrorCode.
ERR_AbstractAndExtern
, location, this);
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (2)
Diagnostics\DiagnosticSuppressorTests.cs (1)
149
Diagnostic(ErrorCode.
ERR_AbstractAndExtern
, "MyFaultyMethod").WithArguments("MyAbstractClass.MyFaultyMethod()").WithLocation(16, 49));
Semantics\PatternMatchingTests_Scope.cs (1)
12403
(int)ErrorCode.
ERR_AbstractAndExtern
,
Microsoft.CodeAnalysis.CSharp.Scripting.UnitTests (1)
ObjectFormatterTests.cs (1)
845
obj.Add(new DiagnosticInfo(MessageProvider.Instance, (int)ErrorCode.
ERR_AbstractAndExtern
, "bar"), NoLocation.Singleton);
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (26)
Symbols\DefaultInterfaceImplementationTests.cs (11)
10581
Diagnostic(ErrorCode.
ERR_AbstractAndExtern
, "M1").WithArguments("I1.M1()").WithLocation(4, 26),
16976
Diagnostic(ErrorCode.
ERR_AbstractAndExtern
, "P1").WithArguments("I1.P1").WithLocation(4, 25),
24299
Diagnostic(ErrorCode.
ERR_AbstractAndExtern
, "this").WithArguments("I1.this[int]").WithLocation(4, 25),
30402
Diagnostic(ErrorCode.
ERR_AbstractAndExtern
, "P1").WithArguments("I1.P1").WithLocation(4, 41),
52028
Diagnostic(ErrorCode.
ERR_AbstractAndExtern
, "M1").WithArguments("I2.I1.M1()").WithLocation(9, 29 + implModifiers.Length),
53717
Diagnostic(ErrorCode.
ERR_AbstractAndExtern
, "P1").WithArguments("I2.I1.P1").WithLocation(9, 28 + implModifiers.Length),
55759
Diagnostic(ErrorCode.
ERR_AbstractAndExtern
, "P1").WithArguments("I2.I1.P1").WithLocation(9, 28 + implModifiers.Length),
56657
Diagnostic(ErrorCode.
ERR_AbstractAndExtern
, "P1").WithArguments("I2.I1.P1").WithLocation(9, 28 + implModifiers.Length),
60101
Diagnostic(ErrorCode.
ERR_AbstractAndExtern
, "this").WithArguments("I2.I1.this[int]").WithLocation(9, 28),
61070
Diagnostic(ErrorCode.
ERR_AbstractAndExtern
, "this").WithArguments("I2.I1.this[int]").WithLocation(9, 28),
61795
Diagnostic(ErrorCode.
ERR_AbstractAndExtern
, "this").WithArguments("I2.I1.this[int]").WithLocation(9, 28),
Symbols\StaticAbstractMembersInInterfacesTests.cs (8)
4896
Diagnostic(ErrorCode.
ERR_AbstractAndExtern
, "M01").WithArguments("I1.M01()").WithLocation(4, 33),
4899
Diagnostic(ErrorCode.
ERR_AbstractAndExtern
, "P01").WithArguments("I1.P01").WithLocation(5, 33),
4902
Diagnostic(ErrorCode.
ERR_AbstractAndExtern
, "E01").WithArguments("I1.E01").WithLocation(6, 48),
4905
Diagnostic(ErrorCode.
ERR_AbstractAndExtern
, "+").WithArguments("I1.operator +(I1)").WithLocation(7, 39)
4962
Diagnostic(ErrorCode.
ERR_AbstractAndExtern
, "M01").WithArguments("I1.M01()").WithLocation(4, 33),
4965
Diagnostic(ErrorCode.
ERR_AbstractAndExtern
, "P01").WithArguments("I1.P01").WithLocation(5, 33),
4968
Diagnostic(ErrorCode.
ERR_AbstractAndExtern
, "E01").WithArguments("I1.E01").WithLocation(6, 48),
4974
Diagnostic(ErrorCode.
ERR_AbstractAndExtern
, "+").WithArguments("I1.operator +(I1)").WithLocation(7, 39)
Symbols\SymbolErrorTests.cs (7)
2713
Diagnostic(ErrorCode.
ERR_AbstractAndExtern
, "M").WithArguments("X.M()").WithLocation(3, 33),
2714
Diagnostic(ErrorCode.
ERR_AbstractAndExtern
, "P").WithArguments("X.P").WithLocation(4, 32),
2715
Diagnostic(ErrorCode.
ERR_AbstractAndExtern
, "N").WithArguments("X.N(int)").WithLocation(7, 33),
2716
Diagnostic(ErrorCode.
ERR_AbstractAndExtern
, "Q").WithArguments("X.Q").WithLocation(8, 35));
2731
Diagnostic(ErrorCode.
ERR_AbstractAndExtern
, "M").WithArguments("C.M()"),
2732
Diagnostic(ErrorCode.
ERR_AbstractAndExtern
, "P").WithArguments("C.P"));
2747
Diagnostic(ErrorCode.
ERR_AbstractAndExtern
, "E").WithArguments("C.E"));