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