13 references to ERR_CantDeriveFromSealedType
Microsoft.CodeAnalysis.CSharp (2)
Errors\ErrorFacts.cs (1)
928
or ErrorCode.
ERR_CantDeriveFromSealedType
Symbols\Source\SourceNamedTypeSymbol_Bases.cs (1)
497
diagnostics.Add(ErrorCode.
ERR_CantDeriveFromSealedType
, location, this, baseType);
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (1)
CodeGen\CodeGenTupleTest.cs (1)
14405
Diagnostic(ErrorCode.
ERR_CantDeriveFromSealedType
, "ValueTuple<int, int, int, int, int, int, int, T>").WithArguments("Test1<T>", "System.ValueTuple<int, int, int, int, int, int, int, T>").WithLocation(31, 18),
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (10)
BadSymbolReference.cs (4)
285
Diagnostic(ErrorCode.
ERR_CantDeriveFromSealedType
, "CL3_S1").WithArguments("Module1.C4", "CL3_S1").WithLocation(133, 16),
481
Diagnostic(ErrorCode.
ERR_CantDeriveFromSealedType
, "CL3_S1").WithArguments("Module1.C4", "CL3_S1").WithLocation(133, 16),
606
Diagnostic(ErrorCode.
ERR_CantDeriveFromSealedType
, "CL3_S1").WithArguments("Module1.C4", "CL3_S1").WithLocation(133, 16),
687
Diagnostic(ErrorCode.
ERR_CantDeriveFromSealedType
, "CL3_S1").WithArguments("Module1.C4", "CL3_S1").WithLocation(133, 16),
Symbols\Retargeting\RetargetingTests.cs (1)
409
Diagnostic(ErrorCode.
ERR_CantDeriveFromSealedType
, "short").WithArguments("Test", "short"));
Symbols\SymbolErrorTests.cs (5)
8551
Diagnostic(ErrorCode.
ERR_CantDeriveFromSealedType
, "clx").WithArguments("NS.cly", "NS.clx").WithLocation(6, 25),
8554
Diagnostic(ErrorCode.
ERR_CantDeriveFromSealedType
, "stx").WithArguments("NS.clz", "NS.stx").WithLocation(7, 25));
8572
Diagnostic(ErrorCode.
ERR_CantDeriveFromSealedType
, "int").WithArguments("N2.E", "int").WithLocation(6, 15),
8575
Diagnostic(ErrorCode.
ERR_CantDeriveFromSealedType
, "N1.E").WithArguments("N2.C", "N1.E").WithLocation(4, 15),
8578
Diagnostic(ErrorCode.
ERR_CantDeriveFromSealedType
, "System.Int32").WithArguments("N2.D", "int").WithLocation(5, 15));