32 references to ERR_AbstractAndExtern
Microsoft.CodeAnalysis.CSharp (5)
Errors\ErrorFacts.cs (1)
702case ErrorCode.ERR_AbstractAndExtern:
Symbols\Source\SourceEventSymbol.cs (1)
561diagnostics.Add(ErrorCode.ERR_AbstractAndExtern, location, this);
Symbols\Source\SourceOrdinaryMethodSymbolBase.cs (1)
373diagnostics.Add(ErrorCode.ERR_AbstractAndExtern, location, this);
Symbols\Source\SourcePropertySymbolBase.cs (1)
882diagnostics.Add(ErrorCode.ERR_AbstractAndExtern, location, this);
Symbols\Source\SourceUserDefinedOperatorSymbolBase.cs (1)
91diagnostics.Add(ErrorCode.ERR_AbstractAndExtern, location, this);
Microsoft.CodeAnalysis.CSharp.Scripting.UnitTests (1)
ObjectFormatterTests.cs (1)
841obj.Add(new DiagnosticInfo(MessageProvider.Instance, (int)ErrorCode.ERR_AbstractAndExtern, "bar"), NoLocation.Singleton);
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (26)
Symbols\DefaultInterfaceImplementationTests.cs (11)
10396Diagnostic(ErrorCode.ERR_AbstractAndExtern, "M1").WithArguments("I1.M1()").WithLocation(4, 26), 16791Diagnostic(ErrorCode.ERR_AbstractAndExtern, "P1").WithArguments("I1.P1").WithLocation(4, 25), 24114Diagnostic(ErrorCode.ERR_AbstractAndExtern, "this").WithArguments("I1.this[int]").WithLocation(4, 25), 30217Diagnostic(ErrorCode.ERR_AbstractAndExtern, "P1").WithArguments("I1.P1").WithLocation(4, 41), 51837Diagnostic(ErrorCode.ERR_AbstractAndExtern, "M1").WithArguments("I2.I1.M1()").WithLocation(9, 29 + implModifiers.Length), 53526Diagnostic(ErrorCode.ERR_AbstractAndExtern, "P1").WithArguments("I2.I1.P1").WithLocation(9, 28 + implModifiers.Length), 55568Diagnostic(ErrorCode.ERR_AbstractAndExtern, "P1").WithArguments("I2.I1.P1").WithLocation(9, 28 + implModifiers.Length), 56466Diagnostic(ErrorCode.ERR_AbstractAndExtern, "P1").WithArguments("I2.I1.P1").WithLocation(9, 28 + implModifiers.Length), 59910Diagnostic(ErrorCode.ERR_AbstractAndExtern, "this").WithArguments("I2.I1.this[int]").WithLocation(9, 28), 60879Diagnostic(ErrorCode.ERR_AbstractAndExtern, "this").WithArguments("I2.I1.this[int]").WithLocation(9, 28), 61604Diagnostic(ErrorCode.ERR_AbstractAndExtern, "this").WithArguments("I2.I1.this[int]").WithLocation(9, 28),
Symbols\StaticAbstractMembersInInterfacesTests.cs (8)
4914Diagnostic(ErrorCode.ERR_AbstractAndExtern, "M01").WithArguments("I1.M01()").WithLocation(4, 33), 4917Diagnostic(ErrorCode.ERR_AbstractAndExtern, "P01").WithArguments("I1.P01").WithLocation(5, 33), 4920Diagnostic(ErrorCode.ERR_AbstractAndExtern, "E01").WithArguments("I1.E01").WithLocation(6, 48), 4923Diagnostic(ErrorCode.ERR_AbstractAndExtern, "+").WithArguments("I1.operator +(I1)").WithLocation(7, 39) 4980Diagnostic(ErrorCode.ERR_AbstractAndExtern, "M01").WithArguments("I1.M01()").WithLocation(4, 33), 4983Diagnostic(ErrorCode.ERR_AbstractAndExtern, "P01").WithArguments("I1.P01").WithLocation(5, 33), 4986Diagnostic(ErrorCode.ERR_AbstractAndExtern, "E01").WithArguments("I1.E01").WithLocation(6, 48), 4992Diagnostic(ErrorCode.ERR_AbstractAndExtern, "+").WithArguments("I1.operator +(I1)").WithLocation(7, 39)
Symbols\SymbolErrorTests.cs (7)
2700Diagnostic(ErrorCode.ERR_AbstractAndExtern, "M").WithArguments("X.M()").WithLocation(3, 33), 2701Diagnostic(ErrorCode.ERR_AbstractAndExtern, "P").WithArguments("X.P").WithLocation(4, 32), 2702Diagnostic(ErrorCode.ERR_AbstractAndExtern, "N").WithArguments("X.N(int)").WithLocation(7, 33), 2703Diagnostic(ErrorCode.ERR_AbstractAndExtern, "Q").WithArguments("X.Q").WithLocation(8, 35)); 2718Diagnostic(ErrorCode.ERR_AbstractAndExtern, "M").WithArguments("C.M()"), 2719Diagnostic(ErrorCode.ERR_AbstractAndExtern, "P").WithArguments("C.P")); 2734Diagnostic(ErrorCode.ERR_AbstractAndExtern, "E").WithArguments("C.E"));