3 writes to IdentityRegex
Microsoft.DotNet.SourceBuild.Tasks (1)
src\UsageReport\UsagePattern.cs (1)
22
IdentityRegex
= xml.Attribute(nameof(IdentityRegex))?.Value,
Microsoft.DotNet.SourceBuild.Tasks.Tests (2)
ValidateUsageAgainstBaselineTests.cs (2)
59
new UsagePattern {
IdentityRegex
= "Ca[tr]/.*" },
101
new UsagePattern {
IdentityRegex
= "[Az]*" },
7 references to IdentityRegex
Microsoft.DotNet.SourceBuild.Tasks (5)
src\UsageReport\UsagePattern.cs (5)
17
IdentityRegex
.ToXAttributeIfNotNull(nameof(
IdentityRegex
)),
22
IdentityRegex = xml.Attribute(nameof(
IdentityRegex
))?.Value,
28
if (!string.IsNullOrEmpty(
IdentityRegex
))
30
return new Regex(
IdentityRegex
, RegexOptions.IgnoreCase | RegexOptions.Compiled);
Microsoft.DotNet.SourceBuild.Tasks.Tests (2)
ValidateUsageAgainstBaselineTests.cs (2)
113
Assert.Equal(a.
IdentityRegex
, b.
IdentityRegex
);