8 references to CannotSealType
Microsoft.DotNet.ApiCompatibility (2)
Rules\CannotSealType.cs (2)
36
DiagnosticIds.
CannotSealType
,
46
DiagnosticIds.
CannotSealType
,
Microsoft.DotNet.ApiCompatibility.Tests (6)
Rules\CannotSealTypeTests.cs (6)
26
Assert.NotEqual(DiagnosticIds.
CannotSealType
, difference.DiagnosticId);
40
CompatDifference difference = CompatDifference.CreateWithDefaultMetadata(DiagnosticIds.
CannotSealType
, string.Empty, DifferenceType.Changed, "T:CompatTests.First");
81
CompatDifference.CreateWithDefaultMetadata(DiagnosticIds.
CannotSealType
, string.Empty, DifferenceType.Changed, "T:CompatTests.First")
143
new CompatDifference(left.MetadataInformation, right.ElementAt(2).MetadataInformation, DiagnosticIds.
CannotSealType
, string.Empty, DifferenceType.Changed, "T:CompatTests.First"),
144
new CompatDifference(left.MetadataInformation, right.ElementAt(3).MetadataInformation, DiagnosticIds.
CannotSealType
, string.Empty, DifferenceType.Changed, "T:CompatTests.First"),
208
CompatDifference expectedDifference = CompatDifference.CreateWithDefaultMetadata(DiagnosticIds.
CannotSealType
, string.Empty, DifferenceType.Changed, "T:CompatTests.First");