1 write to TrimmedDependencies
Microsoft.DotNet.Build.Tasks.Packaging (1)
CreateTrimDependencyGroups.cs (1)
147
TrimmedDependencies
= trimmedDependencies.ToArray();
33 references to TrimmedDependencies
Microsoft.DotNet.Build.Tasks.Packaging.Tests (33)
CreateTrimDependencyGroupsTests.cs (33)
103
task.
TrimmedDependencies
.Should().BeEmpty();
142
task.
TrimmedDependencies
.Should().SatisfyRespectively(
143
item => task.
TrimmedDependencies
.Where(f => f.GetMetadata("TargetFramework").Equals("win8")).Should().HaveCount(1),
144
item => task.
TrimmedDependencies
.Where(f => f.GetMetadata("TargetFramework").Equals("monoandroid10")).Should().HaveCount(1),
145
item => task.
TrimmedDependencies
.Where(f => f.GetMetadata("TargetFramework").Equals("monotouch10")).Should().HaveCount(1),
146
item => task.
TrimmedDependencies
.Where(f => f.GetMetadata("TargetFramework").Equals("net45")).Should().HaveCount(1),
147
item => task.
TrimmedDependencies
.Where(f => f.GetMetadata("TargetFramework").Equals("wp8")).Should().HaveCount(1),
148
item => task.
TrimmedDependencies
.Where(f => f.GetMetadata("TargetFramework").Equals("wpa81")).Should().HaveCount(1),
149
item => task.
TrimmedDependencies
.Where(f => f.GetMetadata("TargetFramework").Equals("xamarinios10")).Should().HaveCount(1),
150
item => task.
TrimmedDependencies
.Where(f => f.GetMetadata("TargetFramework").Equals("xamarintvos10")).Should().HaveCount(1),
151
item => task.
TrimmedDependencies
.Where(f => f.GetMetadata("TargetFramework").Equals("xamarinwatchos10")).Should().HaveCount(1),
152
item => task.
TrimmedDependencies
.Where(f => f.GetMetadata("TargetFramework").Equals("xamarinmac20")).Should().HaveCount(1),
153
item => task.
TrimmedDependencies
.Where(f => f.GetMetadata("TargetFramework").Equals("portable45-net45+win8+wp8+wpa81")).Should().HaveCount(1)
157
task.
TrimmedDependencies
.Should().OnlyContain(f => f.ToString().Equals("_._"));
227
task.
TrimmedDependencies
.Should().SatisfyRespectively(
230
task.
TrimmedDependencies
.Where(f => f.GetMetadata("TargetFramework").Equals("net45") &&
236
task.
TrimmedDependencies
.Where(f => f.GetMetadata("TargetFramework").Equals("net451") &&
242
task.
TrimmedDependencies
.Where(f => f.GetMetadata("TargetFramework").Equals("portable45-net45+win8+wp8+wpa81") &&
248
task.
TrimmedDependencies
.Where(f => f.GetMetadata("TargetFramework").Equals("portable46-net451+win81+wpa81") &&
298
task.
TrimmedDependencies
.Should().BeEmpty();
356
var actualTFMs = task.
TrimmedDependencies
.Select(d => d.GetMetadata("TargetFramework"));
362
task.
TrimmedDependencies
.Should().OnlyContain(d => d.ItemSpec == "System.Collections.Immutable");
392
task.
TrimmedDependencies
.Should().SatisfyRespectively(
393
item => task.
TrimmedDependencies
.Where(f => f.GetMetadata("TargetFramework").Equals("win8")).Should().HaveCount(1),
394
item => task.
TrimmedDependencies
.Where(f => f.GetMetadata("TargetFramework").Equals("monoandroid10")).Should().HaveCount(1),
395
item => task.
TrimmedDependencies
.Where(f => f.GetMetadata("TargetFramework").Equals("monotouch10")).Should().HaveCount(1),
396
item => task.
TrimmedDependencies
.Where(f => f.GetMetadata("TargetFramework").Equals("net45")).Should().HaveCount(1),
397
item => task.
TrimmedDependencies
.Where(f => f.GetMetadata("TargetFramework").Equals("wpa81")).Should().HaveCount(1),
398
item => task.
TrimmedDependencies
.Where(f => f.GetMetadata("TargetFramework").Equals("xamarinios10")).Should().HaveCount(1),
399
item => task.
TrimmedDependencies
.Where(f => f.GetMetadata("TargetFramework").Equals("xamarintvos10")).Should().HaveCount(1),
400
item => task.
TrimmedDependencies
.Where(f => f.GetMetadata("TargetFramework").Equals("xamarinwatchos10")).Should().HaveCount(1),
401
item => task.
TrimmedDependencies
.Where(f => f.GetMetadata("TargetFramework").Equals("xamarinmac20")).Should().HaveCount(1),
402
item => task.
TrimmedDependencies
.Where(f => f.GetMetadata("TargetFramework").Equals("portable45-net45+win8+wpa81")).Should().HaveCount(1)