5 writes to IgnorePatterns
Microsoft.DotNet.SourceBuild.Tasks (2)
src\UsageReport\UsageData.cs (1)
55
IgnorePatterns
=
src\UsageReport\ValidateUsageAgainstBaseline.cs (1)
164
actual.
IgnorePatterns
= baseline.IgnorePatterns;
Microsoft.DotNet.SourceBuild.Tasks.Tests (3)
ValidateUsageAgainstBaselineTests.cs (3)
55
baseline.
IgnorePatterns
= new[]
76
baseline.
IgnorePatterns
= new[]
97
baseline.
IgnorePatterns
= new[]
10 references to IgnorePatterns
Microsoft.DotNet.SourceBuild.Tasks (6)
src\UsageReport\UsageData.cs (4)
32
IgnorePatterns
?.Any() != true ? null : new XElement(
33
nameof(
IgnorePatterns
),
34
IgnorePatterns
56
(xml.Element(nameof(
IgnorePatterns
))?.Elements()).NullAsEmpty()
src\UsageReport\ValidateUsageAgainstBaseline.cs (2)
160
Regex[] ignoreUsageRegexes = baseline.
IgnorePatterns
.NullAsEmpty()
164
actual.IgnorePatterns = baseline.
IgnorePatterns
;
Microsoft.DotNet.SourceBuild.Tasks.Tests (4)
ValidateUsageAgainstBaselineTests.cs (4)
108
Assert.Equal(baseline.
IgnorePatterns
.Length, data.ActualUsageData.
IgnorePatterns
.Length);
110
foreach (var (a, b) in baseline.
IgnorePatterns
.Zip(data.ActualUsageData.
IgnorePatterns
, (a, b) => (a, b)))