Implemented interface member:
property
DiagnosticId
Microsoft.DotNet.ApiSymbolExtensions.IDiagnostic.DiagnosticId
10 references to DiagnosticId
Microsoft.DotNet.ApiCompatibility (6)
CompatDifference.cs (4)
73
public override string ToString() => $"{
DiagnosticId
} : {Message}";
79
DiagnosticId
.Equals(other.
DiagnosticId
, StringComparison.InvariantCultureIgnoreCase) &&
92
hashCode = hashCode * -1521134295 + EqualityComparer<string>.Default.GetHashCode(
DiagnosticId
.ToLowerInvariant());
Runner\ApiCompatRunner.cs (2)
68
Suppression suppression = new(difference.
DiagnosticId
)
91
difference.
DiagnosticId
,
Microsoft.DotNet.ApiCompatibility.Tests (4)
CompatDifferenceTests.cs (1)
32
Assert.Equal(diagId, difference.
DiagnosticId
);
Rules\CannotAddAbstractMemberTests.cs (1)
74
Assert.NotEqual(DiagnosticIds.CannotAddAbstractMember, difference.
DiagnosticId
);
Rules\CannotAddMemberToInterfaceTests.cs (1)
109
Assert.NotEqual(DiagnosticIds.CannotAddMemberToInterface, difference.
DiagnosticId
);
Rules\CannotSealTypeTests.cs (1)
26
Assert.NotEqual(DiagnosticIds.CannotSealType, difference.
DiagnosticId
);