21 references to InvalidEntryKind
Microsoft.CodeAnalysis.Analyzers (21)
MetaAnalyzers\DiagnosticDescriptorCreationAnalyzer_ReleaseTracking.cs (4)
208
void OnInvalidEntry(TextLine line,
InvalidEntryKind
invalidEntryKind, string path, SourceText sourceText)
222
InvalidEntryKind
.Header => InvalidHeaderInAnalyzerReleasesFileRule,
225
InvalidEntryKind
.UndetectedField => InvalidUndetectedEntryInAnalyzerReleasesFileRule,
228
InvalidEntryKind
.Other => InvalidEntryInAnalyzerReleasesFileRule,
MetaAnalyzers\ReleaseTrackingHelper.cs (17)
47
Action<TextLine,
InvalidEntryKind
, string, SourceText> onInvalidEntry,
79
OnInvalidEntry(line,
InvalidEntryKind
.Header);
91
OnInvalidEntry(line,
InvalidEntryKind
.Header);
112
OnInvalidEntry(line,
InvalidEntryKind
.Header);
125
OnInvalidEntry(line,
InvalidEntryKind
.Header);
135
OnInvalidEntry(line,
InvalidEntryKind
.Header);
145
OnInvalidEntry(line,
InvalidEntryKind
.Header);
155
OnInvalidEntry(line,
InvalidEntryKind
.Header);
178
OnInvalidEntry(line,
InvalidEntryKind
.Other);
192
InvalidEntryKind
? invalidEntryKind = TryParseFields(parts, categoryIndex: 1, severityIndex: 2,
214
OnInvalidEntry(line,
InvalidEntryKind
.Other);
253
void OnInvalidEntry(TextLine line,
InvalidEntryKind
invalidEntryKind)
280
static
InvalidEntryKind
? TryParseFields(
286
InvalidEntryKind
? invalidEntryKind = null;
291
invalidEntryKind =
InvalidEntryKind
.UndetectedField;
310
invalidEntryKind =
InvalidEntryKind
.UndetectedField;
315
invalidEntryKind =
InvalidEntryKind
.Other;