1 write to ActualUsageData
Microsoft.DotNet.SourceBuild.Tasks (1)
src\UsageReport\ValidateUsageAgainstBaseline.cs (1)
154
ActualUsageData
= used
5 references to ActualUsageData
Microsoft.DotNet.SourceBuild.Tasks (1)
src\UsageReport\ValidateUsageAgainstBaseline.cs (1)
63
File.WriteAllText(OutputBaselineFile, ReviewRequestComment + PreBuiltDocXmlComment + Environment.NewLine + data.
ActualUsageData
.ToXml().ToString());
Microsoft.DotNet.SourceBuild.Tasks.Tests (4)
ValidateUsageAgainstBaselineTests.cs (4)
66
Assert.Empty(data.
ActualUsageData
.Usages);
87
data.
ActualUsageData
.Usages.Select(u => u.PackageIdentity).ToArray());
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)))