188 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())),
dotnet-svcutil-lib.Tests (1)
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 (1)
Microsoft.AspNetCore.Components.Endpoints (1)
Microsoft.AspNetCore.Components.Endpoints.Tests (1)
Microsoft.AspNetCore.Components.Server (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.Framework (1)
Microsoft.CodeAnalysis.CSharp (4)
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (9)
CodeActions\AddUsing\AddUsingNuGetTests.cs (9)
84""", new TestParameters(fixProviderData: new FixProviderData(installerServiceMock.Object, packageServiceMock.Object)));
121""", new TestParameters(fixProviderData: new FixProviderData(installerServiceMock.Object, packageServiceMock.Object)));
156""", new TestParameters(fixProviderData: new FixProviderData(installerServiceMock.Object, packageServiceMock.Object)));
191""", new TestParameters(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""", new TestParameters(fixProviderData: new FixProviderData(installerServiceMock.Object, packageServiceMock.Object)));
339""", new TestParameters(fixProviderData: new FixProviderData(installerServiceMock.Object, packageServiceMock.Object)));
374""", new TestParameters(fixProviderData: new FixProviderData(installerServiceMock.Object, packageServiceMock.Object)));
Microsoft.CodeAnalysis.CSharp.Features.UnitTests (24)
Diagnostics\Suppression\SuppressionTests.cs (10)
707return new Tuple<DiagnosticAnalyzer, IConfigurationFixProvider>(
756return new Tuple<DiagnosticAnalyzer, IConfigurationFixProvider>(
795return new Tuple<DiagnosticAnalyzer, IConfigurationFixProvider>(
870return new Tuple<DiagnosticAnalyzer, IConfigurationFixProvider>(
935return new Tuple<DiagnosticAnalyzer, IConfigurationFixProvider>(
984return new Tuple<DiagnosticAnalyzer, IConfigurationFixProvider>(
1077return new Tuple<DiagnosticAnalyzer, IConfigurationFixProvider>(
1164return new Tuple<DiagnosticAnalyzer, IConfigurationFixProvider>(
2216return new Tuple<DiagnosticAnalyzer, IConfigurationFixProvider>(
2653return new Tuple<DiagnosticAnalyzer, IConfigurationFixProvider>(
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.ServiceModel.Primitives (4)
Internals\System\Runtime\Diagnostics\EtwDiagnosticTrace.cs (4)
77new Tuple<string, string> (DiagnosticStrings.ExceptionTypeTag, XmlEncode(exception.GetType().AssemblyQualifiedName)),
78new Tuple<string, string> (DiagnosticStrings.MessageTag, XmlEncode(exception.Message)),
79new Tuple<string, string> (DiagnosticStrings.StackTraceTag, XmlEncode(StackTraceString(exception))), // Stack trace is sometimes null
80new Tuple<string, string> (DiagnosticStrings.ExceptionStringTag, XmlEncode(exception.ToString())),
System.Text.Json (1)
System.Xaml (1)
xunit.console (1)