264 references to Tuple
dotnet-svcutil-lib (13)
FrameworkFork\Microsoft.Xml\Xml\Core\XsdValidatingReaderAsync.cs (7)
678
tuple = new
Tuple
<string, object>(originalStringValue, ReturnBoxedValue(_attributePSVI.typedAttributeValue, AttributeSchemaInfo.XmlType, unwrapTypedValue));
683
tuple = new
Tuple
<string, object>(originalStringValue, this.Value);
693
tuple = new
Tuple
<string, object>(originalStringValue, _atomicValue);
700
tuple = new
Tuple
<string, object>(originalStringValue, string.Empty);
711
tuple = new
Tuple
<string, object>(originalStringValue, value);
726
tuple = new
Tuple
<string, object>(originalStringValue, originalStringValue);
741
return new
Tuple
<XmlSchemaType, object>(tuple_13.Item1, tuple_13.Item3);
FrameworkFork\Microsoft.Xml\Xml\Serialization\CodeGenerator.cs (2)
238
Tuple<Type, string> key = new
Tuple
<Type, string>(type, name);
2710
Tuple<Type, string> key = new
Tuple
<Type, string>(item.Value.LocalType, item.Key);
FrameworkFork\System.ServiceModel\Internals\System\Runtime\Diagnostics\EtwDiagnosticTrace.cs (4)
281
new
Tuple
<string, string> (DiagnosticStrings.ExceptionTypeTag, XmlEncode(exception.GetType().AssemblyQualifiedName)),
282
new
Tuple
<string, string> (DiagnosticStrings.MessageTag, XmlEncode(exception.Message)),
283
new
Tuple
<string, string> (DiagnosticStrings.StackTraceTag, XmlEncode(StackTraceString(exception))), // Stack trace is sometimes null
284
new
Tuple
<string, string> (DiagnosticStrings.ExceptionStringTag, XmlEncode(exception.ToString())),
dotnet-svcutil-lib.Tests (1)
TestInit.cs (1)
392
var testFileTable = generatedFiles.Select(g => new
Tuple
<string, string>(g, baselineFiles.FirstOrDefault(b =>
ILCompiler.Compiler (5)
src\runtime\src\coreclr\tools\Common\Compiler\Win32Resources\ResourceData.cs (5)
206
resTypes.Add(new
Tuple
<ResType, ObjectDataBuilder.Reservation>(res.Value, IMAGE_RESOURCE_DIRECTORY_ENTRY.Write(ref dataBuilder, res.Key, nameTable)));
210
resTypes.Add(new
Tuple
<ResType, ObjectDataBuilder.Reservation>(res.Value, IMAGE_RESOURCE_DIRECTORY_ENTRY.Write(ref dataBuilder, res.Key)));
220
resNames.Add(new
Tuple
<ResName, ObjectDataBuilder.Reservation>(res.Value, IMAGE_RESOURCE_DIRECTORY_ENTRY.Write(ref dataBuilder, res.Key, nameTable)));
224
resNames.Add(new
Tuple
<ResName, ObjectDataBuilder.Reservation>(res.Value, IMAGE_RESOURCE_DIRECTORY_ENTRY.Write(ref dataBuilder, res.Key)));
234
resLanguages.Add(new
Tuple
<ResLanguage, ObjectDataBuilder.Reservation>(res.Value, IMAGE_RESOURCE_DIRECTORY_ENTRY.Write(ref dataBuilder, res.Key)));
ILCompiler.DependencyAnalysisFramework (3)
DgmlWriter.cs (1)
160
var combinedNode = new
Tuple
<DependencyNodeCore<DependencyContextType>, DependencyNodeCore<DependencyContextType>>(nodeDepender, nodeDependerOther);
FirstMarkLogStrategy.cs (1)
80
var combinedNode = new
Tuple
<DependencyNodeCore<DependencyContextType>, DependencyNodeCore<DependencyContextType>>(markData.Reason1, markData.Reason2);
FullGraphLogStrategy.cs (1)
152
var combinedNode = new
Tuple
<DependencyNodeCore<DependencyContextType>, DependencyNodeCore<DependencyContextType>>(markData.Reason1, markData.Reason2);
ILCompiler.ReadyToRun (5)
src\runtime\src\coreclr\tools\Common\Compiler\Win32Resources\ResourceData.cs (5)
206
resTypes.Add(new
Tuple
<ResType, ObjectDataBuilder.Reservation>(res.Value, IMAGE_RESOURCE_DIRECTORY_ENTRY.Write(ref dataBuilder, res.Key, nameTable)));
210
resTypes.Add(new
Tuple
<ResType, ObjectDataBuilder.Reservation>(res.Value, IMAGE_RESOURCE_DIRECTORY_ENTRY.Write(ref dataBuilder, res.Key)));
220
resNames.Add(new
Tuple
<ResName, ObjectDataBuilder.Reservation>(res.Value, IMAGE_RESOURCE_DIRECTORY_ENTRY.Write(ref dataBuilder, res.Key, nameTable)));
224
resNames.Add(new
Tuple
<ResName, ObjectDataBuilder.Reservation>(res.Value, IMAGE_RESOURCE_DIRECTORY_ENTRY.Write(ref dataBuilder, res.Key)));
234
resLanguages.Add(new
Tuple
<ResLanguage, ObjectDataBuilder.Reservation>(res.Value, IMAGE_RESOURCE_DIRECTORY_ENTRY.Write(ref dataBuilder, res.Key)));
Infrastructure.Common (20)
OSHelper.cs (20)
31
new
Tuple
<string, OSID>("azurelinux", OSID.AzureLinux),
32
new
Tuple
<string, OSID>("Mariner", OSID.AzureLinux), // CBL-Mariner (legacy name for Azure Linux)
33
new
Tuple
<string, OSID>("debian", OSID.Debian),
34
new
Tuple
<string, OSID>("fedora", OSID.Fedora),
35
new
Tuple
<string, OSID>("sles", OSID.SLES),
36
new
Tuple
<string, OSID>("opensuse", OSID.OpenSUSE),
37
new
Tuple
<string, OSID>("osx", OSID.OSX),
38
new
Tuple
<string, OSID>("rhel", OSID.RHEL),
39
new
Tuple
<string, OSID>("ubuntu", OSID.Ubuntu),
43
new
Tuple
<string, OSID>("win81", OSID.Windows_8_1 | OSID.Windows_Server_2012_R2),
44
new
Tuple
<string, OSID>("win7", OSID.Windows_7 | OSID.Windows_Server_2008_R2),
53
new
Tuple
<string, OSID>("Microsoft Azure Linux", OSID.AzureLinux),
54
new
Tuple
<string, OSID>("Microsoft Windows 6.0.", OSID.Windows_Server_2008),
55
new
Tuple
<string, OSID>("Microsoft Windows 6.1.", OSID.Windows_7 | OSID.Windows_Server_2008_R2),
56
new
Tuple
<string, OSID>("Microsoft Windows 6.2.", OSID.Windows_8 | OSID.Windows_Server_2012),
57
new
Tuple
<string, OSID>("Microsoft Windows 6.3.", OSID.Windows_8_1 | OSID.Windows_Server_2012_R2),
58
new
Tuple
<string, OSID>("Microsoft Windows 10.", OSID.Windows_10 | OSID.Windows_Server_2016),
59
new
Tuple
<string, OSID>(MicrosoftWindowsPhoneName, OSID.WindowsPhone),
60
new
Tuple
<string, OSID>(MicrosoftWindowsName, OSID.AnyWindows), // reserved for "Don't know which version"
61
new
Tuple
<string, OSID>("Darwin", OSID.OSX),
Microsoft.AspNetCore.Components (1)
src\aspnetcore\src\Shared\Components\ComponentsActivityLinkStore.cs (1)
41
_store[category] = new
CategoryLink
(activityLink, tag);
Microsoft.AspNetCore.Components.Endpoints (1)
src\aspnetcore\src\Shared\Components\ComponentsActivityLinkStore.cs (1)
41
_store[category] = new
CategoryLink
(activityLink, tag);
Microsoft.AspNetCore.Components.Server (1)
src\aspnetcore\src\Shared\Components\ComponentsActivityLinkStore.cs (1)
41
_store[category] = new
CategoryLink
(activityLink, tag);
Microsoft.Build (49)
BackEnd\BuildManager\LegacyThreadingData.cs (1)
93
_legacyThreadingEventsById[submissionId] = new
Tuple
<AutoResetEvent, ManualResetEvent>(
Construction\Solution\SolutionProjectGenerator.cs (9)
107
new
Tuple
<string, string>("Configuration", null), // This is the solution configuration in a metaproject, and project configuration on an actual project
108
new
Tuple
<string, string>("Platform", null), // This is the solution platform in a metaproject, and project platform on an actual project
109
new
Tuple
<string, string>("BuildingSolutionFile", "true"),
110
new
Tuple
<string, string>("CurrentSolutionConfigurationContents", null),
111
new
Tuple
<string, string>("SolutionDir", null),
112
new
Tuple
<string, string>("SolutionExt", null),
113
new
Tuple
<string, string>("SolutionFileName", null),
114
new
Tuple
<string, string>("SolutionName", null),
115
new
Tuple
<string, string>(SolutionPathPropertyName, null)
Evaluation\Expander.cs (2)
4331
AvailableStaticMethods.TryAdd(typeName, simpleMethodName, new
Tuple
<string, Type>(assemblyQualifiedTypeName, receiverType));
4372
AvailableStaticMethods.TryAdd(typeName, new
Tuple
<string, Type>(typeName, receiverType));
Resources\Constants.cs (37)
237
var environmentType = new
Tuple
<string, Type>(null, typeof(Environment));
238
var directoryType = new
Tuple
<string, Type>(null, typeof(Directory));
239
var fileType = new
Tuple
<string, Type>(null, typeof(File));
240
var runtimeInformationType = new
Tuple
<string, Type>(null, typeof(RuntimeInformation));
241
var osPlatformType = new
Tuple
<string, Type>(null, typeof(OSPlatform));
282
availableStaticMethods.TryAdd("System.Globalization.CultureInfo::GetCultureInfo", new
Tuple
<string, Type>(null, typeof(CultureInfo))); // user request
283
availableStaticMethods.TryAdd("System.Globalization.CultureInfo::new", new
Tuple
<string, Type>(null, typeof(CultureInfo))); // user request
284
availableStaticMethods.TryAdd("System.Globalization.CultureInfo::CurrentUICulture", new
Tuple
<string, Type>(null, typeof(CultureInfo))); // user request
287
availableStaticMethods.TryAdd("MSBuild", new
Tuple
<string, Type>(null, typeof(IntrinsicFunctions)));
288
availableStaticMethods.TryAdd("System.Byte", new
Tuple
<string, Type>(null, typeof(Byte)));
289
availableStaticMethods.TryAdd("System.Char", new
Tuple
<string, Type>(null, typeof(Char)));
290
availableStaticMethods.TryAdd("System.Convert", new
Tuple
<string, Type>(null, typeof(Convert)));
291
availableStaticMethods.TryAdd("System.DateTime", new
Tuple
<string, Type>(null, typeof(DateTime)));
292
availableStaticMethods.TryAdd("System.DateTimeOffset", new
Tuple
<string, Type>(null, typeof(DateTimeOffset)));
293
availableStaticMethods.TryAdd("System.Decimal", new
Tuple
<string, Type>(null, typeof(Decimal)));
294
availableStaticMethods.TryAdd("System.Double", new
Tuple
<string, Type>(null, typeof(Double)));
295
availableStaticMethods.TryAdd("System.Enum", new
Tuple
<string, Type>(null, typeof(Enum)));
296
availableStaticMethods.TryAdd("System.Guid", new
Tuple
<string, Type>(null, typeof(Guid)));
297
availableStaticMethods.TryAdd("System.Int16", new
Tuple
<string, Type>(null, typeof(Int16)));
298
availableStaticMethods.TryAdd("System.Int32", new
Tuple
<string, Type>(null, typeof(Int32)));
299
availableStaticMethods.TryAdd("System.Int64", new
Tuple
<string, Type>(null, typeof(Int64)));
300
availableStaticMethods.TryAdd("System.IO.Path", new
Tuple
<string, Type>(null, typeof(Path)));
301
availableStaticMethods.TryAdd("System.Math", new
Tuple
<string, Type>(null, typeof(Math)));
302
availableStaticMethods.TryAdd("System.UInt16", new
Tuple
<string, Type>(null, typeof(UInt16)));
303
availableStaticMethods.TryAdd("System.UInt32", new
Tuple
<string, Type>(null, typeof(UInt32)));
304
availableStaticMethods.TryAdd("System.UInt64", new
Tuple
<string, Type>(null, typeof(UInt64)));
305
availableStaticMethods.TryAdd("System.SByte", new
Tuple
<string, Type>(null, typeof(SByte)));
306
availableStaticMethods.TryAdd("System.Single", new
Tuple
<string, Type>(null, typeof(Single)));
307
availableStaticMethods.TryAdd("System.String", new
Tuple
<string, Type>(null, typeof(String)));
308
availableStaticMethods.TryAdd("System.StringComparer", new
Tuple
<string, Type>(null, typeof(StringComparer)));
309
availableStaticMethods.TryAdd("System.TimeSpan", new
Tuple
<string, Type>(null, typeof(TimeSpan)));
310
availableStaticMethods.TryAdd("System.Text.RegularExpressions.Regex", new
Tuple
<string, Type>(null, typeof(Regex)));
311
availableStaticMethods.TryAdd("System.Uri", new
Tuple
<string, Type>(null, typeof(Uri)));
312
availableStaticMethods.TryAdd("System.UriBuilder", new
Tuple
<string, Type>(null, typeof(UriBuilder)));
313
availableStaticMethods.TryAdd("System.Version", new
Tuple
<string, Type>(null, typeof(Version)));
314
availableStaticMethods.TryAdd("Microsoft.Build.Utilities.ToolLocationHelper", new
Tuple
<string, Type>("Microsoft.Build.Utilities.ToolLocationHelper, Microsoft.Build.Utilities.Core, Version=" + MSBuildConstants.CurrentAssemblyVersion + ", Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a", null));
318
var operatingSystemType = new
Tuple
<string, Type>(null, typeof(OperatingSystem));
Microsoft.Build.Framework (1)
Logging\LoggerParametersHelper.cs (1)
61
yield return new
Tuple
<string, string?>(parameterAndValue[0], parameterAndValue.Length > 1 ? parameterAndValue[1] : null);
Microsoft.Build.Tasks.Core (6)
AssemblyDependency\ReferenceTable.cs (1)
2098
redistListAndOtherFrameworkName = new
Tuple
<RedistList, string>(redistList, otherFrameworkName);
ResolveSDKReference.cs (5)
568
LogErrorOrWarning(new
Tuple
<string, object[]>("ResolveSDKReference.SDKReferenceIncorrectFormat", [referenceItem.ItemSpec]));
620
LogErrorOrWarning(new
Tuple
<string, object[]>("ResolveSDKReference.CouldNotResolveSDK", [reference.ReferenceItem.ItemSpec]));
986
ResolutionErrors.Add(new
Tuple
<string, object[]>(resourceId, parameters));
994
ResolutionWarnings.Add(new
Tuple
<string, object[]>(resourceId, parameters));
1547
StatusMessages.Add(new
Tuple
<string, object[]>(resource, parameters));
Microsoft.Build.Tasks.Git (1)
RepositoryTask.cs (1)
151
=>
new
(typeof(RepositoryTask), (string.IsNullOrEmpty(ConfigurationScope) ? "*" : ConfigurationScope) + ":" + repositoryId);
Microsoft.CodeAnalysis.CSharp (4)
Symbols\Source\SourceAssemblySymbol.cs (1)
2323
locationAndValue = new
Tuple
<Location, string>(GetAssemblyAttributeLocationForDiagnostic(nodeOpt), displayName);
Symbols\Source\SourceNamedTypeSymbol_Bases.cs (3)
285
return new
Tuple
<NamedTypeSymbol, ImmutableArray<NamedTypeSymbol>>(null, ImmutableArray<NamedTypeSymbol>.Empty);
470
return new
Tuple
<NamedTypeSymbol, ImmutableArray<NamedTypeSymbol>>(baseType, baseInterfacesRO);
683
return new
Tuple
<NamedTypeSymbol, ImmutableArray<NamedTypeSymbol>>(localBase, localInterfaces.ToImmutableAndFree());
Microsoft.DotNet.Build.Tasks.Packaging (1)
NugetPropertyStringProvider.cs (1)
68
return new
Tuple
<string, string>(key, value);
Microsoft.Maui.Controls (13)
Brush\BrushTypeConverter.cs (1)
297
return new
Tuple
<Point, Point>(startPoint, endPoint);
TableView\TableView.cs (1)
203
SetPath(cell, new
Tuple
<int, int>(section, row));
TemplatedItemsList.cs (9)
445
return new
Tuple
<int, int>(-1, -1);
447
return new
Tuple
<int, int>(0, GetGlobalIndexOfItem(item));
456
return new
Tuple
<int, int>(group, index);
462
return new
Tuple
<int, int>(-1, -1);
468
return new
Tuple
<int, int>(0, GetGlobalIndexOfItem(item));
470
return new
Tuple
<int, int>(-1, -1);
480
return new
Tuple
<int, int>(groupIndex, i);
484
return new
Tuple
<int, int>(groupIndex, -1);
490
return new
Tuple
<int, int>(-1, -1);
TypedBinding.cs (2)
108
new
(static source => source, propertyName),
220
handlers[i] = new
Tuple
<Func<TSource, object>, string>(_handlers[i].PartGetter, _handlers[i].PropertyName);
Microsoft.Maui.Controls.Build.Tasks (5)
PerformanceProvider.cs (1)
43
stats.StartTimes.Add(new
Tuple
<string, long>(reference, Stopwatch.GetTimestamp()));
SetNamescopesAndRegisterNamesVisitor.cs (2)
74
Context.Scopes[node] = new
Tuple
<VariableDefinition, IList<string>>(namescopeVarDef, namesInNamescope);
83
Context.Scopes[node] = new System.
Tuple
<VariableDefinition, IList<string>>(namescopeVarDef, namesInNamescope);
SetPropertiesVisitor.cs (1)
1900
templateContext.Scopes[kvp.Key] = new
Tuple
<VariableDefinition, IList<string>>(varDefScope, kvp.Value.Item2);
TypeReferenceExtensions.cs (1)
281
yield return new
Tuple
<MethodDefinition, TypeReference>(method, typeRef);
Microsoft.ML.AutoML (4)
Sweepers\SmacSweeper.cs (2)
200
configurations.Add(new
Tuple
<double, ParameterSet>(randomEIs[i], randomConfigs[i]));
245
return new
Tuple
<double, ParameterSet>(currentBestEI, currentBestConfig);
Tuner\SmacTuner.cs (2)
207
var randomConfigurations = randomParameters.Select(parameter => new
Tuple
<double, Parameter>(EvaluateConfigurationsByEI(forest, bestLoss, parameter), parameter));
250
return new
Tuple
<double, Parameter>(currentBestEI, currentBestConfig);
Microsoft.ML.Core (3)
Utilities\MatrixTransposeOps.cs (3)
93
IEnumerable<Tuple<int, int>> ijenum = ienum.SelectMany(i => jenum.Select(j => new
Tuple
<int, int>(i, j)));
145
IEnumerable<Tuple<int, int>> ijenum = ienum.SelectMany(i => jenum.Select(j => new
Tuple
<int, int>(i, j)));
198
IEnumerable<Tuple<int, int>> ijenum = ienum.SelectMany(i => jenum.Select(j => new
Tuple
<int, int>(i, j)));
Microsoft.ML.Core.Tests (12)
UnitTests\TestHosts.cs (12)
33
hosts.Add(new
Tuple
<IHost, int>(mainHost.Register("1"), 1));
34
hosts.Add(new
Tuple
<IHost, int>(mainHost.Register("2"), 1));
35
hosts.Add(new
Tuple
<IHost, int>(mainHost.Register("3"), 1));
36
hosts.Add(new
Tuple
<IHost, int>(mainHost.Register("4"), 1));
37
hosts.Add(new
Tuple
<IHost, int>(mainHost.Register("5"), 1));
48
hosts.Add(new
Tuple
<IHost, int>(newHost, randHostTuple.Item2 + 1));
96
hosts.Add(new
Tuple
<IHost, int>(mainHost.Register("1"), 1));
97
hosts.Add(new
Tuple
<IHost, int>(mainHost.Register("2"), 1));
98
hosts.Add(new
Tuple
<IHost, int>(mainHost.Register("3"), 1));
99
hosts.Add(new
Tuple
<IHost, int>(mainHost.Register("4"), 1));
100
hosts.Add(new
Tuple
<IHost, int>(mainHost.Register("5"), 1));
106
hosts.Add(new
Tuple
<IHost, int>(newHost, tuple.Item2 + 1));
Microsoft.ML.Data (1)
EntryPoints\EntryPointNode.cs (1)
976
return new
Tuple
<Var<T>, VariableBinding>(new Var<T> { VarName = varBinding.VariableName }, varBinding);
Microsoft.ML.Sweeper (2)
Algorithms\SmacSweeper.cs (2)
214
configurations.Add(new
Tuple
<double, ParameterSet>(randomEIs[i], randomConfigs[i]));
254
return new
Tuple
<double, ParameterSet>(currentBestEI, currentBestConfig);
Microsoft.ML.TimeSeries (5)
RootCauseAnalyzer.cs (1)
634
return new
Tuple
<double, double>(surprise, ep);
SrCnnEntireAnomalyDetector.cs (4)
769
segments.Add(new
Tuple
<int, int>(start, cursor));
779
segments.Add(new
Tuple
<int, int>(start, Math.Max(start, cursor)));
913
fitValues.Add(new
Tuple
<int, double>(i, data[i]));
927
fitValues.Add(new
Tuple
<int, double>(i, data[i]));
Microsoft.ML.TorchSharp (1)
AutoFormerV2\Attention.cs (1)
80
var offset = new
Tuple
<int, int>(Math.Abs(points[i][0] - points[j][0]), Math.Abs(points[i][1] - points[j][1]));
Microsoft.ML.Vision (4)
ImageClassificationTrainer.cs (4)
115
{ Architecture.ResnetV2101, new
Tuple
<int, int>(299,299) },
116
{ Architecture.InceptionV3, new
Tuple
<int, int>(299,299) },
117
{ Architecture.MobilenetV2, new
Tuple
<int, int>(224,224) },
118
{ Architecture.ResnetV250, new
Tuple
<int, int>(299,299) }
Microsoft.NET.Build.Tasks (1)
ResolvePackageAssets.cs (1)
2030
return new
Tuple
<string, LockFileTargetLibrary>(resolvedPackageAssetPath, library);
Microsoft.NET.HostModel (5)
src\runtime\src\coreclr\tools\Common\Compiler\Win32Resources\ResourceData.cs (5)
206
resTypes.Add(new
Tuple
<ResType, ObjectDataBuilder.Reservation>(res.Value, IMAGE_RESOURCE_DIRECTORY_ENTRY.Write(ref dataBuilder, res.Key, nameTable)));
210
resTypes.Add(new
Tuple
<ResType, ObjectDataBuilder.Reservation>(res.Value, IMAGE_RESOURCE_DIRECTORY_ENTRY.Write(ref dataBuilder, res.Key)));
220
resNames.Add(new
Tuple
<ResName, ObjectDataBuilder.Reservation>(res.Value, IMAGE_RESOURCE_DIRECTORY_ENTRY.Write(ref dataBuilder, res.Key, nameTable)));
224
resNames.Add(new
Tuple
<ResName, ObjectDataBuilder.Reservation>(res.Value, IMAGE_RESOURCE_DIRECTORY_ENTRY.Write(ref dataBuilder, res.Key)));
234
resLanguages.Add(new
Tuple
<ResLanguage, ObjectDataBuilder.Reservation>(res.Value, IMAGE_RESOURCE_DIRECTORY_ENTRY.Write(ref dataBuilder, res.Key)));
Microsoft.TestPlatform.CrossPlatEngine (5)
AttachmentsProcessing\DataCollectorAttachmentsProcessorsFactory.cs (2)
116
datacollectorsAttachmentsProcessors.Add(attachmentQualifiedName, new
Tuple
<string, IDataCollectorAttachmentProcessor>(dataCollectorExtension.Metadata.FriendlyName, dataCollectorAttachmentProcessorInstance));
127
datacollectorsAttachmentsProcessors.Add(typeof(CodeCoverageDataAttachmentsHandler).AssemblyQualifiedName!, new
Tuple
<string, IDataCollectorAttachmentProcessor>(CoverageFriendlyName, new CodeCoverageDataAttachmentsHandler()));
Client\ProxyExecutionManagerWithDataCollection.cs (1)
231
Messages.Add(new
Tuple
<TestMessageLevel, string?>(level, message));
Execution\RunTestsWithSources.cs (1)
183
var executorUriExtensionTuple = new
Tuple
<Uri, string>(executorUri, kvp.Key);
Execution\RunTestsWithTests.cs (1)
124
var executorUriExtensionTuple = new
Tuple
<Uri, string>(
NuGet.Commands (1)
RestoreCommand\Utility\MSBuildRestoreUtility.cs (1)
683
return new
Tuple
<List<string>, ProjectRestoreReference>(frameworks, reference);
NuGet.Common (1)
Telemetry\TelemetryActivity.cs (1)
72
_intervalList.Add(new
Tuple
<string, TimeSpan>(propertyName, _intervalWatch.Elapsed));
NuGet.Configuration (1)
Settings\Settings.cs (1)
702
return new
Tuple
<string, string>(fileName, directory);
NuGet.DependencyResolver.Core (1)
ResolverUtility.cs (1)
298
return new
Tuple
<LibraryRange, RemoteMatch>(libraryRange, match);
NuGet.Packaging (5)
Licenses\NuGetLicenseExpressionParser.cs (3)
53
operandStack.Push(new
Tuple
<bool, object>(true, token));
183
operandStack.Push(new
Tuple
<bool, object>(false, withNode));
198
operandStack.Push(new
Tuple
<bool, object>(false, newExpression));
PackageExtraction\PackageHelper.cs (2)
156
return new
Tuple
<string?, IEnumerable<string>>(runtimePackageDirectory, satelliteFileEntries);
202
return new
Tuple
<string?, IEnumerable<ZipFilePair>>(runtimePackageDirectory, installedSatelliteFiles.ToList());
NuGet.ProjectModel (2)
ProjectLockFile\PackagesLockFileUtilities.cs (2)
193
queue.Enqueue(new
Tuple
<string, string>(spec.Name, projectReference.ProjectUniqueName));
262
queue.Enqueue(new
Tuple
<string, string>(referenceSpec.Name, reference.ProjectUniqueName));
NuGet.Protocol (46)
HttpSource\HttpHandlerResourceV3Provider.cs (1)
54
return Task.FromResult(new
Tuple
<bool, INuGetResource?>(curResource != null, curResource));
HttpSource\HttpSourceResourceProvider.cs (1)
69
return Task.FromResult(new
Tuple
<bool, INuGetResource?>(curResource != null, curResource));
LegacyFeed\AutoCompleteResourceV2FeedProvider.cs (1)
36
return new
Tuple
<bool, INuGetResource>(resource != null, resource);
LegacyFeed\DependencyInfoResourceV2FeedProvider.cs (1)
34
return new
Tuple
<bool, INuGetResource>(resource != null, resource);
LegacyFeed\DownloadResourceV2FeedProvider.cs (1)
34
return new
Tuple
<bool, INuGetResource>(resource != null, resource);
LegacyFeed\MetadataResourceV2FeedProvider.cs (1)
34
return new
Tuple
<bool, INuGetResource>(resource != null, resource);
LegacyFeed\ODataServiceDocumentResourceV2Provider.cs (1)
87
return new
Tuple
<bool, INuGetResource>(serviceDocument != null, serviceDocument);
LegacyFeed\PackageMetadataResourceV2FeedProvider.cs (1)
35
return new
Tuple
<bool, INuGetResource>(resource != null, resource);
LegacyFeed\PackageSearchResourceV2FeedProvider.cs (1)
34
return new
Tuple
<bool, INuGetResource>(resource != null, resource);
LegacyFeed\V2FeedListResourceProvider.cs (1)
42
return new
Tuple
<bool, INuGetResource>(resource != null, resource);
LocalRepositories\FindLocalPackagesResourcePackagesConfigProvider.cs (1)
34
return new
Tuple
<bool, INuGetResource>(curResource != null, curResource);
LocalRepositories\FindLocalPackagesResourceUnzippedProvider.cs (1)
36
return new
Tuple
<bool, INuGetResource>(curResource != null, curResource);
LocalRepositories\FindLocalPackagesResourceV2Provider.cs (1)
31
return new
Tuple
<bool, INuGetResource>(curResource != null, curResource);
LocalRepositories\FindLocalPackagesResourceV3Provider.cs (1)
29
return new
Tuple
<bool, INuGetResource>(curResource != null, curResource);
LocalRepositories\LocalAutoCompleteResourceProvider.cs (1)
31
return new
Tuple
<bool, INuGetResource>(resource != null, resource);
LocalRepositories\LocalDependencyInfoResourceProvider.cs (1)
31
return new
Tuple
<bool, INuGetResource>(resource != null, resource);
LocalRepositories\LocalDownloadResourceProvider.cs (1)
31
return new
Tuple
<bool, INuGetResource>(downloadResource != null, downloadResource);
LocalRepositories\LocalMetadataResourceProvider.cs (1)
31
return new
Tuple
<bool, INuGetResource>(resource != null, resource);
LocalRepositories\LocalPackageListResourceProvider.cs (1)
32
return new
Tuple
<bool, INuGetResource>(resource != null, resource);
LocalRepositories\LocalPackageMetadataResourceProvider.cs (1)
31
return new
Tuple
<bool, INuGetResource>(resource != null, resource);
LocalRepositories\LocalPackageSearchResourceProvider.cs (1)
31
return new
Tuple
<bool, INuGetResource>(resource != null, resource);
Plugins\PluginManager.cs (1)
275
return new
Tuple
<bool, PluginCreationResult>(pluginCreationResult != null, pluginCreationResult);
Providers\AutoCompleteResourceV3Provider.cs (1)
35
return new
Tuple
<bool, INuGetResource>(curResource != null, curResource);
Providers\DependencyInfoResourceV3Provider.cs (1)
36
return new
Tuple
<bool, INuGetResource>(curResource != null, curResource);
Providers\DownloadResourcePluginProvider.cs (1)
76
return new
Tuple
<bool, INuGetResource>(resource != null, resource);
Providers\DownloadResourceV3Provider.cs (1)
52
return new
Tuple
<bool, INuGetResource>(curResource != null, curResource);
Providers\FeedTypeResourceProvider.cs (1)
65
return Task.FromResult(new
Tuple
<bool, INuGetResource>(curResource != null, curResource));
Providers\MetadataResourceV3Provider.cs (1)
32
return new
Tuple
<bool, INuGetResource>(curResource != null, curResource);
Providers\OwnerDetailsUriResourceV3Provider.cs (1)
38
return new
Tuple
<bool, INuGetResource?>(resource != null, resource);
Providers\PackageDetailsUriResourceV3Provider.cs (1)
32
return new
Tuple
<bool, INuGetResource>(resource != null, resource);
Providers\PackageMetadataResourceV3Provider.cs (1)
42
return new
Tuple
<bool, INuGetResource>(curResource != null, curResource);
Providers\PackageSearchResourceV3Provider.cs (1)
34
return new
Tuple
<bool, INuGetResource>(curResource != null, curResource);
Providers\PackageUpdateResourceV2Provider.cs (1)
39
var result = new
Tuple
<bool, INuGetResource>(packageUpdateResource != null, packageUpdateResource);
Providers\PackageUpdateResourceV3Provider.cs (1)
54
var result = new
Tuple
<bool, INuGetResource>(packageUpdateResource != null, packageUpdateResource);
Providers\PluginResourceProvider.cs (1)
66
return new
Tuple
<bool, INuGetResource>(resource != null, resource);
Providers\RawSearchResourceV3Provider.cs (1)
41
return new
Tuple
<bool, INuGetResource>(curResource != null, curResource);
Providers\ReadmeUriTemplateResourceProvider.cs (1)
35
return new
Tuple
<bool, INuGetResource?>(resource != null, resource);
Providers\RegistrationResourceV3Provider.cs (1)
41
return new
Tuple
<bool, INuGetResource>(regResource != null, regResource);
Providers\ReportAbuseResourceV3Provider.cs (1)
34
return new
Tuple
<bool, INuGetResource>(resource != null, resource);
Providers\RepositorySignatureResourceProvider.cs (1)
47
return new
Tuple
<bool, INuGetResource>(resource != null, resource);
Providers\ServiceIndexResourceV3Provider.cs (1)
105
return new
Tuple
<bool, INuGetResource>(index != null, index);
Providers\SymbolPackageUpdateResourceV3Provider.cs (1)
45
var result = new
Tuple
<bool, INuGetResource>(symbolPackageUpdateResource != null, symbolPackageUpdateResource);
Providers\V3FeedListResourceProvider.cs (1)
47
var result = new
Tuple
<bool, INuGetResource>(resource != null, resource);
Providers\VulnerabilityInfoResourceV3Provider.cs (2)
30
return new
Tuple
<bool, INuGetResource?>(true, resource);
33
return new
Tuple
<bool, INuGetResource?>(false, null);
RemoteRepositories\PluginFindPackageByIdResourceProvider.cs (1)
76
return new
Tuple
<bool, INuGetResource>(resource != null, resource);
PresentationCore (3)
MS\Internal\DpiUtil\DpiUtil+HwndDpiInfo.cs (2)
27
internal HwndDpiInfo(IntPtr hWnd, bool fallbackToNearestMonitorHeuristic) :
base
(
41
:
base
(dpiAwarenessContextValue, dpiScale)
System\Windows\InterOp\D3DImage.cs (1)
756
Tuple<bool, uint> parameters =
new
(isFrontBufferAvailable, version);
PresentationFramework (9)
System\Windows\Controls\Primitives\Selector.cs (1)
2025
ranges.Add(new
Tuple
<int, int>(startRange, endRange-startRange+1));
System\Windows\Controls\VirtualizingStackPanel.cs (3)
11921
:
base
(pixelSize, itemSize)
11941
:
base
(pixelSize, itemSize)
12523
new
Tuple
<WeakReference<ItemsControl>,TraceList>(
System\Windows\Documents\MsSpellCheckLib\SpellChecker\SpellChecker.cs (1)
657
public HasErrorsResult(string text, bool hasErrors) :
base
(text, hasErrors) {}
System\Windows\Documents\TextStore.cs (1)
4998
new
Tuple
<WeakReference<FrameworkElement>,TraceList>(
System\Windows\Documents\WinRTSpellerInterop.cs (3)
332
_spellCheckers[culture] = new
Tuple
<WordsSegmenter, SpellChecker>(wordBreaker, spellChecker);
425
return new
Tuple
<string, string>(null, null);
476
return new
Tuple
<string, string>(ietfLanguageTag, lexiconPrivateCopyPath);
System.Collections.Concurrent (2)
System\Collections\Concurrent\PartitionerStatic.cs (2)
224
yield return new
Tuple
<long, long>(from, to);
278
yield return new
Tuple
<int, int>(from, to);
System.ComponentModel.Annotations (1)
System\ComponentModel\DataAnnotations\CustomValidationAttribute.cs (1)
108
public override object TypeId => _typeId ??= new
Tuple
<string, Type>(Method, ValidatorType);
System.ComponentModel.Composition (8)
System\ComponentModel\Composition\Hosting\CatalogExportProvider.CatalogChangeProxy.cs (1)
49
addedExports.Add(new
Tuple
<ComposablePartDefinition, ExportDefinition>(part, export));
System\ComponentModel\Composition\Hosting\DirectoryCatalog.cs (2)
707
catalogsToAdd.Add(new
Tuple
<string, AssemblyCatalog>(file, catalog));
718
catalogsToRemove.Add(new
Tuple
<string, AssemblyCatalog>(file, catalog));
System\ComponentModel\Composition\Primitives\ComposablePartDefinition.cs (2)
120
singleExport = new
Tuple
<ComposablePartDefinition, ExportDefinition>(this, export);
129
multipleExports.Add(new
Tuple
<ComposablePartDefinition, ExportDefinition>(this, export));
System\ComponentModel\Composition\ReflectionModel\ExportfactoryCreator.LifetimeContext.cs (1)
57
return new
Tuple
<T, Action>(exportedValue, disposeAction);
System\ComponentModel\Composition\ReflectionModel\ReflectionComposablePartDefinition.cs (2)
234
singleExport = new
Tuple
<ComposablePartDefinition, ExportDefinition>(this, export);
243
multipleExports.Add(new
Tuple
<ComposablePartDefinition, ExportDefinition>(this, export));
System.Composition.Convention (1)
System\Composition\Convention\PartConventionBuilder.cs (1)
652
configuredMembers.Add(new
Tuple
<object, List<Attribute>>(mi, s_onImportsSatisfiedAttributeList));
System.Private.CoreLib (1)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Tuple.cs (1)
31
return new
Tuple
<T1, T2>(item1, item2);
System.Private.DataContractSerialization (1)
System\Runtime\Serialization\DataContractSet.cs (1)
503
genericParameters[i] = new
Tuple
<Type, object[]?>(paramType, paramParameters);
System.ServiceModel.Primitives (4)
Internals\System\Runtime\Diagnostics\EtwDiagnosticTrace.cs (4)
77
new
Tuple
<string, string> (DiagnosticStrings.ExceptionTypeTag, XmlEncode(exception.GetType().AssemblyQualifiedName)),
78
new
Tuple
<string, string> (DiagnosticStrings.MessageTag, XmlEncode(exception.Message)),
79
new
Tuple
<string, string> (DiagnosticStrings.StackTraceTag, XmlEncode(StackTraceString(exception))), // Stack trace is sometimes null
80
new
Tuple
<string, string> (DiagnosticStrings.ExceptionStringTag, XmlEncode(exception.ToString())),
System.Text.Json (1)
System\Text\Json\Serialization\Converters\FSharp\FSharpMapConverter.cs (1)
27
((List<Tuple<TKey, TValue>>)state.Current.ReturnValue!).Add(new
Tuple
<TKey, TValue>(key, value));
System.Xaml (1)
System\Xaml\Schema\ReferenceEqualityComparer.cs (1)
13
:
base
(item1, item2)
vstest.console (1)
Internal\FilePatternParser.cs (1)
122
Tuple<string, string> splitPattern =
new
(searchDir, pattern);
vstest.console.arm64 (1)
src\vstest\src\vstest.console\Internal\FilePatternParser.cs (1)
122
Tuple<string, string> splitPattern =
new
(searchDir, pattern);