19 references to ReleaseTrackingHelper
Microsoft.CodeAnalysis.Analyzers (19)
MetaAnalyzers\DiagnosticDescriptorCreationAnalyzer_ReleaseTracking.cs (1)
19using static Microsoft.CodeAnalysis.ReleaseTracking.ReleaseTrackingHelper;
MetaAnalyzers\Fixers\AnalyzerReleaseTrackingFix.cs (17)
106project = AddAdditionalDocument(project, ReleaseTrackingHelper.ShippedFileName, ShippedAnalyzerReleaseTrackingFileDefaultContent); 107project = AddAdditionalDocument(project, ReleaseTrackingHelper.UnshippedFileName, UnshippedAnalyzerReleaseTrackingFileDefaultContent); 170var unshippedDataDocument = project.AdditionalDocuments.FirstOrDefault(d => d.Name == ReleaseTrackingHelper.UnshippedFileName); 188var unshippedDataDocument = project.AdditionalDocuments.FirstOrDefault(d => d.Name == ReleaseTrackingHelper.UnshippedFileName); 311if (lineText.StartsWith(ReleaseTrackingHelper.TableTitleNewRules, StringComparison.OrdinalIgnoreCase)) 326if (lineText.StartsWith(ReleaseTrackingHelper.TableTitleRemovedRules, StringComparison.OrdinalIgnoreCase)) 330else if (lineText.StartsWith(ReleaseTrackingHelper.TableTitleChangedRules, StringComparison.OrdinalIgnoreCase)) 350if (Regex.IsMatch(lineText, ReleaseTrackingHelper.TableHeaderNewOrRemovedRulesLine1RegexPattern, RegexOptions.IgnoreCase) || 351Regex.IsMatch(lineText, ReleaseTrackingHelper.TableHeaderChangedRulesLine1RegexPattern, RegexOptions.IgnoreCase)) 355else if (Regex.IsMatch(lineText, ReleaseTrackingHelper.TableHeaderNewOrRemovedRulesLine2RegexPattern, RegexOptions.IgnoreCase) || 356Regex.IsMatch(lineText, ReleaseTrackingHelper.TableHeaderChangedRulesLine2RegexPattern, RegexOptions.IgnoreCase)) 443builder.AppendLine(ReleaseTrackingHelper.TableTitleNewRules); 445builder.AppendLine(ReleaseTrackingHelper.TableHeaderNewOrRemovedRulesLine1); 446builder.Append(ReleaseTrackingHelper.TableHeaderNewOrRemovedRulesLine2); 457builder.AppendLine(ReleaseTrackingHelper.TableTitleChangedRules); 459builder.AppendLine(ReleaseTrackingHelper.TableHeaderChangedRulesLine1); 460builder.Append(ReleaseTrackingHelper.TableHeaderChangedRulesLine2);
MetaAnalyzers\Fixers\AnalyzerReleaseTrackingFix.FixAllProvider.cs (1)
98TextDocument? unshippedDocument = project.AdditionalDocuments.FirstOrDefault(a => a.Name == ReleaseTrackingHelper.UnshippedFileName);