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