18 references to ReleaseTrackingRuleEntryKind
Microsoft.CodeAnalysis.Analyzers (18)
MetaAnalyzers\DiagnosticDescriptorCreationAnalyzer_ReleaseTracking.cs (1)
461
if (releaseTrackingLine.Kind !=
ReleaseTrackingRuleEntryKind
.New)
MetaAnalyzers\ReleaseTrackingHelper.cs (17)
53
ReleaseTrackingRuleEntryKind
? currentRuleEntryKind = null;
98
currentRuleEntryKind =
ReleaseTrackingRuleEntryKind
.New;
103
currentRuleEntryKind =
ReleaseTrackingRuleEntryKind
.Removed;
108
currentRuleEntryKind =
ReleaseTrackingRuleEntryKind
.Changed;
200
if (currentRuleEntryKind.Value ==
ReleaseTrackingRuleEntryKind
.Changed)
256
static bool IsInvalidEntry(string[] parts,
ReleaseTrackingRuleEntryKind
currentRuleEntryKind)
273
ReleaseTrackingRuleEntryKind
.New => parts.Length > 4,
274
ReleaseTrackingRuleEntryKind
.Removed => parts.Length > 4,
275
ReleaseTrackingRuleEntryKind
.Changed => parts.Length <= 4,
442
public bool IsRemovedRule => Kind ==
ReleaseTrackingRuleEntryKind
.Removed;
443
public
ReleaseTrackingRuleEntryKind
Kind { get; }
449
string path, bool isShipped,
ReleaseTrackingRuleEntryKind
kind)
458
string path, bool isShipped,
ReleaseTrackingRuleEntryKind
kind)
478
string path, bool isShipped,
ReleaseTrackingRuleEntryKind
kind)
481
Debug.Assert(kind is
ReleaseTrackingRuleEntryKind
.New or
ReleaseTrackingRuleEntryKind
.Removed);
498
: base(ruleId, category, enabledByDefault, defaultSeverity, span, sourceText, path, isShipped,
ReleaseTrackingRuleEntryKind
.Changed)