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)
480
var entry = $@"Id1 | {ReleaseTrackingHelper.
UndetectedText
} | {ReleaseTrackingHelper.
UndetectedText
} | MyAnalyzer";
612
[InlineData("Id1 | " + ReleaseTrackingHelper.
UndetectedText
+ " | Warning |", true)]
614
[InlineData("Id1 | Category1 | " + ReleaseTrackingHelper.
UndetectedText
+ " |", true)]
616
[InlineData("Id1 | " + ReleaseTrackingHelper.
UndetectedText
+ " | " + ReleaseTrackingHelper.
UndetectedText
+ " |", true)]
660
[InlineData("Id1 | " + ReleaseTrackingHelper.
UndetectedText
+ " | Warning | Category1 | Warning |", true)]
662
[InlineData("Id1 | Category1 | Warning | " + ReleaseTrackingHelper.
UndetectedText
+ " | Warning |", true)]
664
[InlineData("Id1 | Category1 | " + ReleaseTrackingHelper.
UndetectedText
+ " | Category1 | Warning |", true)]
666
[InlineData("Id1 | Category1 | Warning | Category1 | " + ReleaseTrackingHelper.
UndetectedText
+ " |", true)]
668
[InlineData("Id1 | " + ReleaseTrackingHelper.
UndetectedText
+ " | " + ReleaseTrackingHelper.
UndetectedText
+ " | Category1 | Warning |", true)]