207 references to Tuple
CodeGenerator (9)
HttpUtilities\HttpUtilities.cs (9)
18new Tuple<string, String>("CONNECT ", "Connect"),
19new Tuple<string, String>("DELETE ", "Delete"),
20new Tuple<string, String>("HEAD ", "Head"),
21new Tuple<string, String>("PATCH ", "Patch"),
22new Tuple<string, String>("POST ", "Post"),
23new Tuple<string, String>("PUT ", "Put"),
24new Tuple<string, String>("OPTIONS ", "Options"),
25new Tuple<string, String>("TRACE ", "Trace"),
26new Tuple<string, String>("GET ", "Get")
dotnet-svcutil-lib (13)
FrameworkFork\Microsoft.Xml\Xml\Core\XsdValidatingReaderAsync.cs (7)
678tuple = new Tuple<string, object>(originalStringValue, ReturnBoxedValue(_attributePSVI.typedAttributeValue, AttributeSchemaInfo.XmlType, unwrapTypedValue));
683tuple = new Tuple<string, object>(originalStringValue, this.Value);
693tuple = new Tuple<string, object>(originalStringValue, _atomicValue);
700tuple = new Tuple<string, object>(originalStringValue, string.Empty);
711tuple = new Tuple<string, object>(originalStringValue, value);
726tuple = new Tuple<string, object>(originalStringValue, originalStringValue);
741return new Tuple<XmlSchemaType, object>(tuple_13.Item1, tuple_13.Item3);
FrameworkFork\System.ServiceModel\Internals\System\Runtime\Diagnostics\EtwDiagnosticTrace.cs (4)
281new Tuple<string, string> (DiagnosticStrings.ExceptionTypeTag, XmlEncode(exception.GetType().AssemblyQualifiedName)),
282new Tuple<string, string> (DiagnosticStrings.MessageTag, XmlEncode(exception.Message)),
283new Tuple<string, string> (DiagnosticStrings.StackTraceTag, XmlEncode(StackTraceString(exception))), // Stack trace is sometimes null
284new Tuple<string, string> (DiagnosticStrings.ExceptionStringTag, XmlEncode(exception.ToString())),
Infrastructure.Common (18)
OSHelper.cs (18)
31new Tuple<string, OSID>("Mariner", OSID.Mariner),
32new Tuple<string, OSID>("debian", OSID.Debian),
33new Tuple<string, OSID>("fedora", OSID.Fedora),
34new Tuple<string, OSID>("sles", OSID.SLES),
35new Tuple<string, OSID>("opensuse", OSID.OpenSUSE),
36new Tuple<string, OSID>("osx", OSID.OSX),
37new Tuple<string, OSID>("rhel", OSID.RHEL),
38new Tuple<string, OSID>("ubuntu", OSID.Ubuntu),
42new Tuple<string, OSID>("win81", OSID.Windows_8_1 | OSID.Windows_Server_2012_R2),
43new Tuple<string, OSID>("win7", OSID.Windows_7 | OSID.Windows_Server_2008_R2),
52new Tuple<string, OSID>("Microsoft Windows 6.0.", OSID.Windows_Server_2008),
53new Tuple<string, OSID>("Microsoft Windows 6.1.", OSID.Windows_7 | OSID.Windows_Server_2008_R2),
54new Tuple<string, OSID>("Microsoft Windows 6.2.", OSID.Windows_8 | OSID.Windows_Server_2012),
55new Tuple<string, OSID>("Microsoft Windows 6.3.", OSID.Windows_8_1 | OSID.Windows_Server_2012_R2),
56new Tuple<string, OSID>("Microsoft Windows 10.", OSID.Windows_10 | OSID.Windows_Server_2016),
57new Tuple<string, OSID>(MicrosoftWindowsPhoneName, OSID.WindowsPhone),
58new Tuple<string, OSID>(MicrosoftWindowsName, OSID.AnyWindows), // reserved for "Don't know which version"
59new Tuple<string, OSID>("Darwin", OSID.OSX),
Interop.FunctionalTests (1)
Microsoft.AspNetCore.Components.Endpoints.Tests (1)
Microsoft.AspNetCore.Http.Abstractions.Tests (1)
Microsoft.AspNetCore.Http.Tests (1)
Microsoft.AspNetCore.InternalTesting (2)
Microsoft.AspNetCore.Server.HttpSys (2)
Microsoft.AspNetCore.Server.IntegrationTesting (1)
Microsoft.Build (49)
Construction\Solution\SolutionProjectGenerator.cs (9)
107new Tuple<string, string>("Configuration", null), // This is the solution configuration in a metaproject, and project configuration on an actual project
108new Tuple<string, string>("Platform", null), // This is the solution platform in a metaproject, and project platform on an actual project
109new Tuple<string, string>("BuildingSolutionFile", "true"),
110new Tuple<string, string>("CurrentSolutionConfigurationContents", null),
111new Tuple<string, string>("SolutionDir", null),
112new Tuple<string, string>("SolutionExt", null),
113new Tuple<string, string>("SolutionFileName", null),
114new Tuple<string, string>("SolutionName", null),
115new Tuple<string, string>(SolutionPathPropertyName, null)
Resources\Constants.cs (36)
291var environmentType = new Tuple<string, Type>(null, typeof(Environment));
292var directoryType = new Tuple<string, Type>(null, typeof(Directory));
293var fileType = new Tuple<string, Type>(null, typeof(File));
294var runtimeInformationType = new Tuple<string, Type>(null, typeof(RuntimeInformation));
295var osPlatformType = new Tuple<string, Type>(null, typeof(OSPlatform));
334availableStaticMethods.TryAdd("System.Globalization.CultureInfo::GetCultureInfo", new Tuple<string, Type>(null, typeof(CultureInfo))); // user request
335availableStaticMethods.TryAdd("System.Globalization.CultureInfo::new", new Tuple<string, Type>(null, typeof(CultureInfo))); // user request
336availableStaticMethods.TryAdd("System.Globalization.CultureInfo::CurrentUICulture", new Tuple<string, Type>(null, typeof(CultureInfo))); // user request
339availableStaticMethods.TryAdd("MSBuild", new Tuple<string, Type>(null, typeof(IntrinsicFunctions)));
340availableStaticMethods.TryAdd("System.Byte", new Tuple<string, Type>(null, typeof(Byte)));
341availableStaticMethods.TryAdd("System.Char", new Tuple<string, Type>(null, typeof(Char)));
342availableStaticMethods.TryAdd("System.Convert", new Tuple<string, Type>(null, typeof(Convert)));
343availableStaticMethods.TryAdd("System.DateTime", new Tuple<string, Type>(null, typeof(DateTime)));
344availableStaticMethods.TryAdd("System.DateTimeOffset", new Tuple<string, Type>(null, typeof(DateTimeOffset)));
345availableStaticMethods.TryAdd("System.Decimal", new Tuple<string, Type>(null, typeof(Decimal)));
346availableStaticMethods.TryAdd("System.Double", new Tuple<string, Type>(null, typeof(Double)));
347availableStaticMethods.TryAdd("System.Enum", new Tuple<string, Type>(null, typeof(Enum)));
348availableStaticMethods.TryAdd("System.Guid", new Tuple<string, Type>(null, typeof(Guid)));
349availableStaticMethods.TryAdd("System.Int16", new Tuple<string, Type>(null, typeof(Int16)));
350availableStaticMethods.TryAdd("System.Int32", new Tuple<string, Type>(null, typeof(Int32)));
351availableStaticMethods.TryAdd("System.Int64", new Tuple<string, Type>(null, typeof(Int64)));
352availableStaticMethods.TryAdd("System.IO.Path", new Tuple<string, Type>(null, typeof(Path)));
353availableStaticMethods.TryAdd("System.Math", new Tuple<string, Type>(null, typeof(Math)));
354availableStaticMethods.TryAdd("System.UInt16", new Tuple<string, Type>(null, typeof(UInt16)));
355availableStaticMethods.TryAdd("System.UInt32", new Tuple<string, Type>(null, typeof(UInt32)));
356availableStaticMethods.TryAdd("System.UInt64", new Tuple<string, Type>(null, typeof(UInt64)));
357availableStaticMethods.TryAdd("System.SByte", new Tuple<string, Type>(null, typeof(SByte)));
358availableStaticMethods.TryAdd("System.Single", new Tuple<string, Type>(null, typeof(Single)));
359availableStaticMethods.TryAdd("System.String", new Tuple<string, Type>(null, typeof(String)));
360availableStaticMethods.TryAdd("System.StringComparer", new Tuple<string, Type>(null, typeof(StringComparer)));
361availableStaticMethods.TryAdd("System.TimeSpan", new Tuple<string, Type>(null, typeof(TimeSpan)));
362availableStaticMethods.TryAdd("System.Text.RegularExpressions.Regex", new Tuple<string, Type>(null, typeof(Regex)));
363availableStaticMethods.TryAdd("System.UriBuilder", new Tuple<string, Type>(null, typeof(UriBuilder)));
364availableStaticMethods.TryAdd("System.Version", new Tuple<string, Type>(null, typeof(Version)));
365availableStaticMethods.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));
373var operatingSystemType = new Tuple<string, Type>("Microsoft.Build.Framework.OperatingSystem, Microsoft.Build.Framework, Version=" + MSBuildConstants.CurrentAssemblyVersion + ", Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a", null);
Microsoft.Build.Framework (1)
Microsoft.Build.Tasks.Core (4)
Microsoft.CodeAnalysis.CSharp (2)
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (9)
CodeActions\AddUsing\AddUsingNuGetTests.cs (9)
84""", fixProviderData: new FixProviderData(installerServiceMock.Object, packageServiceMock.Object));
121""", fixProviderData: new FixProviderData(installerServiceMock.Object, packageServiceMock.Object));
156""", fixProviderData: new FixProviderData(installerServiceMock.Object, packageServiceMock.Object));
191""", fixProviderData: new FixProviderData(installerServiceMock.Object, packageServiceMock.Object));
216""", new TestParameters(fixProviderData: new FixProviderData(installerServiceMock.Object, packageServiceMock.Object)));
238var data = new FixProviderData(installerServiceMock.Object, packageServiceMock.Object);
302""", fixProviderData: new FixProviderData(installerServiceMock.Object, packageServiceMock.Object));
339""", fixProviderData: new FixProviderData(installerServiceMock.Object, packageServiceMock.Object));
374""", fixProviderData: new FixProviderData(installerServiceMock.Object, packageServiceMock.Object));
Microsoft.CodeAnalysis.CSharp.Scripting.UnitTests (1)
Microsoft.CodeAnalysis.CSharp.Test.Utilities (2)
Microsoft.CodeAnalysis.LanguageServer.Protocol (1)
Microsoft.CodeAnalysis.Test.Utilities (4)
Microsoft.DotNet.Build.Tasks.Packaging (1)
Microsoft.Maui.Controls (13)
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);
Microsoft.Maui.Controls.Build.Tasks (5)
Microsoft.ML.AutoML (4)
Microsoft.ML.Core (3)
Microsoft.ML.Core.Tests (12)
UnitTests\TestHosts.cs (12)
33hosts.Add(new Tuple<IHost, int>(mainHost.Register("1"), 1));
34hosts.Add(new Tuple<IHost, int>(mainHost.Register("2"), 1));
35hosts.Add(new Tuple<IHost, int>(mainHost.Register("3"), 1));
36hosts.Add(new Tuple<IHost, int>(mainHost.Register("4"), 1));
37hosts.Add(new Tuple<IHost, int>(mainHost.Register("5"), 1));
48hosts.Add(new Tuple<IHost, int>(newHost, randHostTuple.Item2 + 1));
96hosts.Add(new Tuple<IHost, int>(mainHost.Register("1"), 1));
97hosts.Add(new Tuple<IHost, int>(mainHost.Register("2"), 1));
98hosts.Add(new Tuple<IHost, int>(mainHost.Register("3"), 1));
99hosts.Add(new Tuple<IHost, int>(mainHost.Register("4"), 1));
100hosts.Add(new Tuple<IHost, int>(mainHost.Register("5"), 1));
106hosts.Add(new Tuple<IHost, int>(newHost, tuple.Item2 + 1));
Microsoft.ML.Data (1)
Microsoft.ML.Sweeper (2)
Microsoft.ML.TimeSeries (5)
Microsoft.ML.TorchSharp (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.Http.Headers.Tests (5)
PresentationCore (3)
PresentationFramework (9)
System.Collections.Concurrent (2)
System.ComponentModel.Annotations (1)
System.ComponentModel.Composition (8)
System.Composition.Convention (1)
System.Private.CoreLib (1)
System.Private.DataContractSerialization (1)
System.Text.Json (1)
System.Xaml (1)
xunit.console (1)