3 instantiations of Usage
Microsoft.DotNet.SourceBuild.Tasks (2)
src\UsageReport\Usage.cs (2)
38public static Usage Parse(XElement xml) => new Usage 54return new Usage
Microsoft.DotNet.SourceBuild.Tasks.Tests (1)
ValidateUsageAgainstBaselineTests.cs (1)
20return new Usage
13 references to Usage
Microsoft.DotNet.SourceBuild.Tasks (12)
src\UsageReport\AnnotatedUsage.cs (1)
10public Usage Usage { get; set; }
src\UsageReport\Usage.cs (5)
12public class Usage : IEquatable<Usage> 31nameof(Usage), 38public static Usage Parse(XElement xml) => new Usage 47public static Usage Create( 89public bool Equals(Usage other)
src\UsageReport\UsageData.cs (2)
16public Usage[] Usages { get; set; } 61.Select(Usage.Parse)
src\UsageReport\ValidateUsageAgainstBaseline.cs (1)
122foreach (var usage in used.Usages)
src\UsageReport\WritePackageUsageData.cs (3)
176var usages = new ConcurrentBag<Usage>(); 215usages.Add(Usage.Create( 229usages.Add(Usage.Create(
Microsoft.DotNet.SourceBuild.Tasks.Tests (1)
ValidateUsageAgainstBaselineTests.cs (1)
17public Usage SimpleUsage(string idVersion)