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