8 instantiations of UsagePattern
Microsoft.DotNet.SourceBuild.Tasks (1)
src\UsageReport\UsagePattern.cs (1)
20public static UsagePattern Parse(XElement xml) => new UsagePattern
Microsoft.DotNet.SourceBuild.Tasks.Tests (7)
ValidateUsageAgainstBaselineTests.cs (7)
57new UsagePattern { IdentityGlob = "A/*" }, 58new UsagePattern { IdentityGlob = "B/*" }, 59new UsagePattern { IdentityRegex = "Ca[tr]/.*" }, 78new UsagePattern { IdentityGlob = "A/*" }, 99new UsagePattern { IdentityGlob = "*/*" }, 100new UsagePattern { IdentityGlob = "Pizza/42.0.0" }, 101new UsagePattern { IdentityRegex = "[Az]*" },
4 references to UsagePattern
Microsoft.DotNet.SourceBuild.Tasks (4)
src\UsageReport\UsageData.cs (2)
15public UsagePattern[] IgnorePatterns { get; set; } 57.Select(UsagePattern.Parse)
src\UsageReport\UsagePattern.cs (2)
16nameof(UsagePattern), 20public static UsagePattern Parse(XElement xml) => new UsagePattern