18 references to ERR_AbstractBaseCall
Microsoft.CodeAnalysis.CSharp (2)
Binder\Binder.ValueChecks.cs (1)
1941
Error(diagnostics, ErrorCode.
ERR_AbstractBaseCall
, node, propertyOrEventSymbolOpt ?? member);
Errors\ErrorFacts.cs (1)
782
or ErrorCode.
ERR_AbstractBaseCall
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (13)
Semantics\InheritanceBindingTests.cs (4)
5972
Diagnostic(ErrorCode.
ERR_AbstractBaseCall
, "base.Property1").WithArguments("Base2.Property1").WithLocation(19, 9),
5974
Diagnostic(ErrorCode.
ERR_AbstractBaseCall
, "base.Property1").WithArguments("Base2.Property1").WithLocation(21, 18));
6006
Diagnostic(ErrorCode.
ERR_AbstractBaseCall
, "base[0]").WithArguments("Base2.this[long]").WithLocation(19, 9),
6008
Diagnostic(ErrorCode.
ERR_AbstractBaseCall
, "base[0]").WithArguments("Base2.this[long]").WithLocation(21, 18));
Semantics\OverloadResolutionTests.cs (5)
2004
Diagnostic(ErrorCode.
ERR_AbstractBaseCall
, "base.Method").WithArguments("Base<A, B>.Method(A, B)"),
2005
Diagnostic(ErrorCode.
ERR_AbstractBaseCall
, "base.Method").WithArguments("Base3<U, V>.Method(U, V)"),
2006
Diagnostic(ErrorCode.
ERR_AbstractBaseCall
, "base.Property").WithArguments("Base3<U, V>.Property"));
2033
Diagnostic(ErrorCode.
ERR_AbstractBaseCall
, "base.Method").WithArguments("Base<A, B>.Method(A, B)"));
2078
Diagnostic(ErrorCode.
ERR_AbstractBaseCall
, "base.Method").WithArguments("A.Base2<long>.Method(long)"));
Semantics\SemanticErrorTests.cs (4)
8004
new ErrorDescription { Code = (int)ErrorCode.
ERR_AbstractBaseCall
, Line = 10, Column = 9 },
8005
new ErrorDescription { Code = (int)ErrorCode.
ERR_AbstractBaseCall
, Line = 11, Column = 20 });
8038
Diagnostic(ErrorCode.
ERR_AbstractBaseCall
, "base.Property1").WithArguments("Base2.Property1"),
8040
Diagnostic(ErrorCode.
ERR_AbstractBaseCall
, "base.Property1").WithArguments("Base2.Property1"));
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (3)
Symbols\Source\EventTests.cs (3)
2460
Diagnostic(ErrorCode.
ERR_AbstractBaseCall
, "base.MyEvent += value").WithArguments("ConsoleApplication3.BaseWithAbstractEvent.MyEvent").WithLocation(14, 19),
2463
Diagnostic(ErrorCode.
ERR_AbstractBaseCall
, "base.MyEvent -= value").WithArguments("ConsoleApplication3.BaseWithAbstractEvent.MyEvent").WithLocation(15, 22),
2466
Diagnostic(ErrorCode.
ERR_AbstractBaseCall
, "base.MyEvent += Goo").WithArguments("ConsoleApplication3.BaseWithAbstractEvent.MyEvent").WithLocation(20, 13)