16 references to UndetectedText
Microsoft.CodeAnalysis.Analyzers (4)
MetaAnalyzers\DiagnosticDescriptorCreationAnalyzer_ReleaseTracking.cs (2)
363
=> category ??
UndetectedText
;
366
=> isEnabledByDefault == false ? DisabledText : (defaultSeverity?.ToString() ??
UndetectedText
);
MetaAnalyzers\ReleaseTrackingHelper.cs (2)
290
if (category.Equals(
UndetectedText
, StringComparison.OrdinalIgnoreCase))
308
else if (severityPart.Equals(
UndetectedText
, StringComparison.OrdinalIgnoreCase))
Microsoft.CodeAnalysis.Analyzers.UnitTests (12)
MetaAnalyzers\ReleaseTrackingAnalyzerTests.cs (12)
462
var entry = $@"Id1 | {ReleaseTrackingHelper.
UndetectedText
} | {ReleaseTrackingHelper.
UndetectedText
} | MyAnalyzer";
592
[InlineData("Id1 | " + ReleaseTrackingHelper.
UndetectedText
+ " | Warning |", true)]
594
[InlineData("Id1 | Category1 | " + ReleaseTrackingHelper.
UndetectedText
+ " |", true)]
596
[InlineData("Id1 | " + ReleaseTrackingHelper.
UndetectedText
+ " | " + ReleaseTrackingHelper.
UndetectedText
+ " |", true)]
640
[InlineData("Id1 | " + ReleaseTrackingHelper.
UndetectedText
+ " | Warning | Category1 | Warning |", true)]
642
[InlineData("Id1 | Category1 | Warning | " + ReleaseTrackingHelper.
UndetectedText
+ " | Warning |", true)]
644
[InlineData("Id1 | Category1 | " + ReleaseTrackingHelper.
UndetectedText
+ " | Category1 | Warning |", true)]
646
[InlineData("Id1 | Category1 | Warning | Category1 | " + ReleaseTrackingHelper.
UndetectedText
+ " |", true)]
648
[InlineData("Id1 | " + ReleaseTrackingHelper.
UndetectedText
+ " | " + ReleaseTrackingHelper.
UndetectedText
+ " | Category1 | Warning |", true)]