89 references to GetValues
dotnet.Tests (1)
CommandTests\Build\GivenDotnetBuildBuildsCsproj.cs (1)
356
var analyzers = command.
GetValues
();
Microsoft.NET.Build.Tests (80)
DesignTimeBuildTests.cs (1)
129
getValuesCommand.
GetValues
()
GivenFrameworkReferences.cs (1)
1012
var references = getValuesCommand.
GetValues
();
GivenThatWeManifestSupportedFrameworks.cs (3)
48
string maximumVersion = getMaximumVersion.
GetValues
().Single();
49
List<string> supportedFrameworks = getSupportedFrameworks.
GetValues
();
116
return command.
GetValues
();
GivenThatWeWantACustomTFM.cs (1)
56
var values = getValuesCommand.
GetValues
();
GivenThatWeWantToBuildACrossTargetedLibrary.cs (1)
113
command.
GetValues
().Should().BeEquivalentTo(expectedCombination.Split(';'));
GivenThatWeWantToBuildADesktopExe.cs (4)
54
var referenceAssemblies = getValues.
GetValues
().Select(p => Path.GetFileName(p)).Order().ToArray();
167
getValueCommand.
GetValues
().Single().Should().Be(expectedPlatform);
364
.
GetValues
()
385
.
GetValues
()
GivenThatWeWantToBuildADesktopExeWtihNetStandardLib.cs (1)
161
var references = getCommandLineCommand.
GetValues
()
GivenThatWeWantToBuildALibrary.cs (8)
103
var itemValues = getValuesCommand.
GetValues
();
299
var definedConstants = getValuesCommand.
GetValues
();
378
var definedConstants = getValuesCommand.
GetValues
();
474
var definedConstants = getValuesCommand.
GetValues
();
607
var values = getValuesCommand.
GetValues
();
639
getValuesCommand.
GetValues
().Should().BeEquivalentTo(new[] { "7.0" });
1066
var values = getValuesCommand.
GetValues
();
1140
List<string> preferredPackages = getValuesCommand.
GetValues
();
GivenThatWeWantToBuildALibraryWithFSharp.cs (3)
96
var itemValues = getValuesCommand.
GetValues
();
162
var definedConstants = getValuesCommand.
GetValues
();
225
var definedConstants = getValuesCommand.
GetValues
();
GivenThatWeWantToBuildALibraryWithOSSupportedVersion.cs (1)
200
getValuesCommand.
GetValues
()
GivenThatWeWantToBuildALibraryWithVB.cs (3)
107
var itemValues = ExpandSequence(getValuesCommand.
GetValues
()).ToList();
173
var definedConstants = ExpandSequence(getValuesCommand.
GetValues
()).ToList();
243
var definedConstants = ExpandSequence(getValuesCommand.
GetValues
()).ToList();
GivenThatWeWantToBuildANetCoreApp.cs (2)
255
var targetDefs = getValuesCommand.
GetValues
();
790
List<string> packageReferences = getPackageReferences.
GetValues
();
GivenThatWeWantToBuildAWindowsDesktopProject.cs (5)
142
getValuesCommand.
GetValues
().Should().BeEquivalentTo(new[] { "true" });
227
getValuesCommand.
GetValues
().Should().BeEquivalentTo(new[] { "10.0.18362.0" });
375
getValueCommand.
GetValues
()
381
getValueCommand.
GetValues
()
865
return getValueCommand.
GetValues
().Single();
GivenThatWeWantToBuildWithATargetPlatform.cs (4)
39
getValuesCommand.
GetValues
().Count.Should().Be(0, $"expect '{valueName}' to be '{expected}'. But get {string.Join(";", getValuesCommand.
GetValues
())}");
43
getValuesCommand.
GetValues
().Should().BeEquivalentTo(new[] { expected }, $"Asserting \"{valueName}\"'s value");
75
getValuesCommand.
GetValues
().Should().BeEquivalentTo(new[] { "Windows" });
GivenThatWeWantToControlGeneratedAssemblyInfo.cs (6)
99
command.
GetValues
().Should().BeEquivalentTo(new[] { "1.0.0" });
130
command.
GetValues
().Should().BeEquivalentTo(new[] { "1.0.0" });
162
command.
GetValues
().Should().BeEquivalentTo(new[] { "1.0.0" });
198
command.
GetValues
().Should().BeEquivalentTo(new[] { "1.0.0+xyz" });
235
command.
GetValues
().Should().BeEquivalentTo(new[] { "1.2.3+abc.xyz" });
410
var values = getValuesCommand.
GetValues
();
GivenThatWeWantToFloatWarningLevels.cs (8)
58
var computedWarningLevel = buildCommand.
GetValues
()[0];
102
var computedWarningLevel = buildCommand.
GetValues
()[0];
151
buildCommand.
GetValues
().Should().BeEmpty();
155
var computedEffectiveAnalysisLevel = buildCommand.
GetValues
()[0];
205
var computedEffectiveAnalysisLevel = buildCommand.
GetValues
()[0];
252
var computedEffectiveAnalysisLevel = buildCommand.
GetValues
()[0];
348
var effectiveAnalysisLevel = buildCommand.
GetValues
()[0];
367
var analyzerConfigFiles = buildCommand.
GetValues
();
GivenThatWeWantToResolveConflicts.cs (2)
91
references = getReferenceCommand.
GetValues
();
104
referenceCopyLocalPaths = getReferenceCopyLocalPathsCommand.
GetValues
();
GivenThatWeWantToSetPropertiesInDirectoryBuildProps.cs (1)
64
var values = getValuesCommand.
GetValues
();
GivenThatWeWantToUseAnalyzers.cs (5)
122
var analyzers = command.
GetValues
();
150
var namespaces = command.
GetValues
();
217
var namespaces = command.
GetValues
();
259
var analyzers = command.
GetValues
();
340
return getValuesCommand.
GetValues
().Select(x => GetPackageAndPath(x)).ToList();
GivenThatWeWantToUseVB.cs (1)
89
var actualVBRuntime = GetVBRuntime(buildCommand.
GetValues
().FirstOrDefault());
GivenThereAreDefaultItems.cs (11)
399
var compileItems = getCompileItemsCommand.
GetValues
();
409
getNoneItemsCommand.
GetValues
()
418
getResourceItemsCommand.
GetValues
()
427
getPRIResourceItemsCommand.
GetValues
()
436
getContentItemsCommand.
GetValues
()
780
getNoneItemsCommand.
GetValues
()
790
var getPRIResourceItems = getPRIResourceItemsCommand.
GetValues
();
799
var getContentItems = getContentItemsCommand.
GetValues
();
831
var getNoneItems = getNoneItemsCommand.
GetValues
();
842
getPRIResourceItemsCommand.
GetValues
()
852
getContentItemsCommand.
GetValues
()
KnownRuntimePackTests.cs (2)
103
getValuesCommand.
GetValues
().Should().Contain(rp => rp.StartsWith("Microsoft.NETCore.App.Runtime.Mono."));
136
var packageDownloads = getValuesCommand.
GetValues
();
Net50Targeting.cs (1)
34
getValuesCommand.
GetValues
().Should().BeEquivalentTo(".NETCoreApp");
WorkloadTests.cs (5)
200
.
GetValues
()
229
.
GetValues
()
259
getValuesCommand.
GetValues
()
311
getValuesCommand.
GetValues
()
317
getValuesCommand.
GetValues
()
Microsoft.NET.Publish.Tests (7)
GivenThatWeWantToPreserveCompilationContext.cs (1)
59
var langVersion = getValuesCommand.
GetValues
().FirstOrDefault() ?? string.Empty;
GivenThatWeWantToPublishAnAotApp.cs (2)
1067
var ilcToolsPath = ilcToolsPathCommand.
GetValues
()[0];
1077
var ilcReference = ilcReferenceCommand.
GetValues
();
GivenThatWeWantToPublishWithoutConflicts.cs (2)
42
var files = getValuesCommand.
GetValues
()
89
var files = getValuesCommand.
GetValues
()
GivenThatWeWantToRunILLink.cs (1)
2311
var illinkTargetsPath = illinkTargetsCommand.
GetValues
()[0];
PublishDepsFilePathTests.cs (1)
61
var values = getValuesCommand.
GetValues
();
Microsoft.NET.ToolPack.Tests (1)
GivenThatWeWantToPackAToolProject.cs (1)
196
var runCommand = new FileInfo(getValuesCommand.
GetValues
().Single());