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