504 references to Tuple
AnalyzerRunner (1)
dotnet-svcutil-lib (5)
InMemory.FunctionalTests (34)
src\Servers\Kestrel\shared\test\HttpParsingData.cs (34)
26Tuple.Create("/", "/"),
27Tuple.Create("/abc", "/abc"),
28Tuple.Create("/abc/de/f", "/abc/de/f"),
29Tuple.Create("/%20", "/ "),
30Tuple.Create("/a%20", "/a "),
31Tuple.Create("/%20a", "/ a"),
32Tuple.Create("/a/b%20c", "/a/b c"),
33Tuple.Create("/%C3%A5", "/\u00E5"),
34Tuple.Create("/a%C3%A5a", "/a\u00E5a"),
35Tuple.Create("/%C3%A5/bc", "/\u00E5/bc"),
36Tuple.Create("/%25", "/%"),
37Tuple.Create("/%25%30%30", "/%00"),
38Tuple.Create("/%%2000", "/% 00"),
39Tuple.Create("/%2F", "/%2F"),
40Tuple.Create("http://host/abs/path", "/abs/path"),
41Tuple.Create("http://host/abs/path/", "/abs/path/"),
42Tuple.Create("http://host/a%20b%20c/", "/a b c/"),
43Tuple.Create("https://host/abs/path", "/abs/path"),
44Tuple.Create("https://host/abs/path/", "/abs/path/"),
45Tuple.Create("https://host:22/abs/path", "/abs/path"),
46Tuple.Create("https://user@host:9080/abs/path", "/abs/path"),
47Tuple.Create("http://host/", "/"),
48Tuple.Create("http://host", "/"),
49Tuple.Create("https://host/", "/"),
50Tuple.Create("https://host", "/"),
51Tuple.Create("http://user@host/", "/"),
52Tuple.Create("http://127.0.0.1/", "/"),
53Tuple.Create("http://user@127.0.0.1/", "/"),
54Tuple.Create("http://user@127.0.0.1:8080/", "/"),
55Tuple.Create("http://127.0.0.1:8080/", "/"),
56Tuple.Create("http://[::1]", "/"),
57Tuple.Create("http://[::1]/path", "/path"),
58Tuple.Create("http://[::1]:8080/", "/"),
59Tuple.Create("http://user@[::1]:8080/", "/"),
Microsoft.AspNetCore.Cors (1)
Microsoft.AspNetCore.DataProtection.Tests (26)
KeyManagement\KeyRingProviderTests.cs (26)
36Tuple.Create((DateTimeOffset)now, (IEnumerable<IKey>)allKeys, new DefaultKeyResolution()
74Tuple.Create((DateTimeOffset)now, (IEnumerable<IKey>)allKeys, new DefaultKeyResolution()
79Tuple.Create(key1.ExpirationDate, (IEnumerable<IKey>)allKeys, new DefaultKeyResolution()
118Tuple.Create((DateTimeOffset)now, (DateTimeOffset)now + TimeSpan.FromDays(90), CreateKey())
122Tuple.Create((DateTimeOffset)now, (IEnumerable<IKey>)allKeys1, new DefaultKeyResolution()
127Tuple.Create((DateTimeOffset)now, (IEnumerable<IKey>)allKeys2, new DefaultKeyResolution()
166Tuple.Create(now, now + TimeSpan.FromDays(90), newKey)
170Tuple.Create(now, (IEnumerable<IKey>)allKeys1, new DefaultKeyResolution()
175Tuple.Create(now, (IEnumerable<IKey>)allKeys2, new DefaultKeyResolution()
207Tuple.Create((DateTimeOffset)now, (DateTimeOffset)now + TimeSpan.FromDays(90), newlyCreatedKey)
211Tuple.Create((DateTimeOffset)now, (IEnumerable<IKey>)allKeys, new DefaultKeyResolution()
216Tuple.Create((DateTimeOffset)now, (IEnumerable<IKey>)allKeys, new DefaultKeyResolution()
251Tuple.Create((DateTimeOffset)now, (DateTimeOffset)now + TimeSpan.FromDays(90), CreateKey())
255Tuple.Create((DateTimeOffset)now, (IEnumerable<IKey>)allKeys, new DefaultKeyResolution()
291Tuple.Create(key1.ExpirationDate, (DateTimeOffset)now + TimeSpan.FromDays(90), CreateKey())
295Tuple.Create((DateTimeOffset)now, (IEnumerable<IKey>)allKeys1, new DefaultKeyResolution()
300Tuple.Create((DateTimeOffset)now, (IEnumerable<IKey>)allKeys2, new DefaultKeyResolution()
339Tuple.Create((DateTimeOffset)now, (IEnumerable<IKey>)allKeys, new DefaultKeyResolution()
377Tuple.Create((DateTimeOffset)now, (IEnumerable<IKey>)allKeys, new DefaultKeyResolution()
460Tuple.Create(now, (IEnumerable<IKey>)allKeys, new DefaultKeyResolution()
472Tuple.Create(expiration1, (IEnumerable<IKey>)allKeys, new DefaultKeyResolution()
490Tuple.Create(now, (IEnumerable<IKey>)allKeysAfterGeneration, new DefaultKeyResolution()
504Tuple.Create(expiration1, now + TimeSpan.FromDays(90), CreateKey())
539Tuple.Create(expiration, now + TimeSpan.FromDays(90), generatedKey)
542Tuple.Create(now, (IEnumerable<IKey>)allKeysBefore, new DefaultKeyResolution()
547Tuple.Create(now, (IEnumerable<IKey>)allKeysAfter, new DefaultKeyResolution()
Microsoft.AspNetCore.Mvc.Razor.Test (7)
RazorPageTest.cs (7)
1017Tuple.Create(" ", 9, (object)true, 11, false),
1018Tuple.Create(" ", 9, (object)"abcd", 17, true)
1062Tuple.Create(string.Empty, 9, (object)"prefix", 9, true),
1063Tuple.Create(" ", 15, (object)null, 17, false),
1064Tuple.Create(" ", 21, (object)"suffix", 22, false),
1233Tuple.Create(" ", 9, (object)true, 11, false),
1234Tuple.Create(" ", 15, (object)"abcd", 17, true),
Microsoft.AspNetCore.Server.Kestrel.Core.Tests (34)
src\Servers\Kestrel\shared\test\HttpParsingData.cs (34)
26Tuple.Create("/", "/"),
27Tuple.Create("/abc", "/abc"),
28Tuple.Create("/abc/de/f", "/abc/de/f"),
29Tuple.Create("/%20", "/ "),
30Tuple.Create("/a%20", "/a "),
31Tuple.Create("/%20a", "/ a"),
32Tuple.Create("/a/b%20c", "/a/b c"),
33Tuple.Create("/%C3%A5", "/\u00E5"),
34Tuple.Create("/a%C3%A5a", "/a\u00E5a"),
35Tuple.Create("/%C3%A5/bc", "/\u00E5/bc"),
36Tuple.Create("/%25", "/%"),
37Tuple.Create("/%25%30%30", "/%00"),
38Tuple.Create("/%%2000", "/% 00"),
39Tuple.Create("/%2F", "/%2F"),
40Tuple.Create("http://host/abs/path", "/abs/path"),
41Tuple.Create("http://host/abs/path/", "/abs/path/"),
42Tuple.Create("http://host/a%20b%20c/", "/a b c/"),
43Tuple.Create("https://host/abs/path", "/abs/path"),
44Tuple.Create("https://host/abs/path/", "/abs/path/"),
45Tuple.Create("https://host:22/abs/path", "/abs/path"),
46Tuple.Create("https://user@host:9080/abs/path", "/abs/path"),
47Tuple.Create("http://host/", "/"),
48Tuple.Create("http://host", "/"),
49Tuple.Create("https://host/", "/"),
50Tuple.Create("https://host", "/"),
51Tuple.Create("http://user@host/", "/"),
52Tuple.Create("http://127.0.0.1/", "/"),
53Tuple.Create("http://user@127.0.0.1/", "/"),
54Tuple.Create("http://user@127.0.0.1:8080/", "/"),
55Tuple.Create("http://127.0.0.1:8080/", "/"),
56Tuple.Create("http://[::1]", "/"),
57Tuple.Create("http://[::1]/path", "/path"),
58Tuple.Create("http://[::1]:8080/", "/"),
59Tuple.Create("http://user@[::1]:8080/", "/"),
Microsoft.AspNetCore.TestHost (1)
Microsoft.Build.Utilities.Core (1)
Microsoft.Cci.Extensions (8)
Microsoft.CodeAnalysis.CodeStyle (3)
Microsoft.CodeAnalysis.CSharp (1)
Microsoft.CodeAnalysis.CSharp.CommandLine.UnitTests (16)
CommandLineTests.cs (16)
12422Tuple.Create("portable", DebugInformationFormat.PortablePdb),
12423Tuple.Create("full", platformPdbKind),
12424Tuple.Create("pdbonly", platformPdbKind),
12425Tuple.Create("embedded", DebugInformationFormat.Embedded)
12447Tuple.Create("exe", OutputKind.ConsoleApplication),
12448Tuple.Create("winexe", OutputKind.WindowsApplication),
12449Tuple.Create("library", OutputKind.DynamicallyLinkedLibrary),
12450Tuple.Create("module", OutputKind.NetModule),
12451Tuple.Create("appcontainerexe", OutputKind.WindowsRuntimeApplication),
12452Tuple.Create("winmdobj", OutputKind.WindowsRuntimeMetadata)
12467Tuple.Create("x86", Platform.X86),
12468Tuple.Create("x64", Platform.X64),
12469Tuple.Create("itanium", Platform.Itanium),
12470Tuple.Create("anycpu", Platform.AnyCpu),
12471Tuple.Create("anycpu32bitpreferred",Platform.AnyCpu32BitPreferred),
12472Tuple.Create("arm", Platform.Arm)
Microsoft.CodeAnalysis.CSharp.Features (1)
Microsoft.CodeAnalysis.CSharp.Features.UnitTests (3)
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (12)
Semantics\NullableTests.cs (12)
1264Tuple.Create("*", numerics1),
1265Tuple.Create("/", numerics2),
1266Tuple.Create("%", numerics3),
1267Tuple.Create("+", numerics4),
1268Tuple.Create("+", enumAddition),
1269Tuple.Create("-", numerics5),
1273Tuple.Create(">>", shift1),
1274Tuple.Create(">>>", shift1),
1275Tuple.Create("<<", shift2),
1276Tuple.Create("&", logical1),
1277Tuple.Create("|", logical2),
1278Tuple.Create("^", logical3)
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (2)
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (2)
Microsoft.CodeAnalysis.CSharp.Workspaces.UnitTests (1)
Microsoft.CodeAnalysis.EditorFeatures (2)
Microsoft.CodeAnalysis.EditorFeatures.UnitTests (1)
Microsoft.CodeAnalysis.Features (1)
Microsoft.CodeAnalysis.LanguageServer.Protocol (2)
Microsoft.CodeAnalysis.UnitTests (56)
Collections\List\SegmentedList.Generic.Tests.Remove.cs (21)
107Tuple.Create(listLength ,1 ),
108Tuple.Create(listLength+1 ,0 ),
109Tuple.Create(listLength+1 ,1 ),
110Tuple.Create(listLength ,2 ),
111Tuple.Create(listLength/2 ,listLength/2+1),
112Tuple.Create(listLength-1 ,2 ),
113Tuple.Create(listLength-2 ,3 ),
114Tuple.Create(1 ,listLength ),
115Tuple.Create(0 ,listLength+1 ),
116Tuple.Create(1 ,listLength+1 ),
117Tuple.Create(2 ,listLength ),
118Tuple.Create(listLength/2+1 ,listLength/2 ),
119Tuple.Create(2 ,listLength-1 ),
120Tuple.Create(3 ,listLength-2 ),
139Tuple.Create(-1,-1),
140Tuple.Create(-1, 0),
141Tuple.Create(-1, 1),
142Tuple.Create(-1, 2),
143Tuple.Create(0 ,-1),
144Tuple.Create(1 ,-1),
145Tuple.Create(2 ,-1),
Collections\List\SegmentedList.Generic.Tests.Reverse.cs (21)
120Tuple.Create(listLength ,1 ),
121Tuple.Create(listLength+1 ,0 ),
122Tuple.Create(listLength+1 ,1 ),
123Tuple.Create(listLength ,2 ),
124Tuple.Create(listLength/2 ,listLength/2+1),
125Tuple.Create(listLength-1 ,2 ),
126Tuple.Create(listLength-2 ,3 ),
127Tuple.Create(1 ,listLength ),
128Tuple.Create(0 ,listLength+1 ),
129Tuple.Create(1 ,listLength+1 ),
130Tuple.Create(2 ,listLength ),
131Tuple.Create(listLength/2+1 ,listLength/2 ),
132Tuple.Create(2 ,listLength-1 ),
133Tuple.Create(3 ,listLength-2 ),
152Tuple.Create(-1,-1),
153Tuple.Create(-1, 0),
154Tuple.Create(-1, 1),
155Tuple.Create(-1, 2),
156Tuple.Create(0 ,-1),
157Tuple.Create(1 ,-1),
158Tuple.Create(2 ,-1),
Collections\List\SegmentedList.Generic.Tests.Sort.cs (14)
167Tuple.Create(-1,-1),
168Tuple.Create(-1, 0),
169Tuple.Create(-1, 1),
170Tuple.Create(-1, 2),
171Tuple.Create(-2, 0),
172Tuple.Create(int.MinValue, 0),
173Tuple.Create(0 ,-1),
174Tuple.Create(0 ,-2),
175Tuple.Create(0 , int.MinValue),
176Tuple.Create(1 ,-1),
177Tuple.Create(2 ,-1),
193Tuple.Create(count, 1),
194Tuple.Create(count + 1, 0),
195Tuple.Create(int.MaxValue, 0),
Microsoft.CodeAnalysis.VisualBasic.Semantic.UnitTests (1)
FlowAnalysis\FlowTestBase.vb (1)
70Return CompileAndGetModelAndSpan(program, Function(binding, startNodes, endNodes) Tuple.Create(AnalyzeControlFlow(binding, startNodes, endNodes), AnalyzeDataFlow(binding, startNodes, endNodes)), ilSource, errors)
Microsoft.CodeAnalysis.VisualBasic.Syntax.UnitTests (2)
Microsoft.CodeAnalysis.Workspaces (9)
Microsoft.CodeAnalysis.Workspaces.Test.Utilities (2)
Microsoft.CodeAnalysis.Workspaces.UnitTests (33)
UtilityTest\IntervalTreeTests.cs (33)
47foreach (var tree in CreateTrees(Tuple.Create(5, 5, "A")))
58foreach (var tree in CreateTrees(Tuple.Create(5, 5, "A")))
69foreach (var tree in CreateTrees(Tuple.Create(5, 5, "A")))
80foreach (var tree in CreateTrees(Tuple.Create(5, 5, "A")))
91foreach (var tree in CreateTrees(Tuple.Create(5, 5, "A")))
102foreach (var tree in CreateTrees(Tuple.Create(5, 5, "A")))
113foreach (var tree in CreateTrees(Tuple.Create(5, 5, "A")))
124foreach (var tree in CreateTrees(Tuple.Create(5, 5, "A")))
135foreach (var tree in CreateTrees(Tuple.Create(5, 5, "A")))
146foreach (var tree in CreateTrees(Tuple.Create(5, 5, "A")))
157foreach (var tree in CreateTrees(Tuple.Create(5, 5, "A")))
168foreach (var tree in CreateTrees(Tuple.Create(5, 5, "A"), Tuple.Create(15, 5, "B")))
191Tuple.Create(5, 5, "a"),
192Tuple.Create(6, 3, "b"),
193Tuple.Create(7, 1, "c"));
202Tuple.Create(5, 5, "a"),
203Tuple.Create(7, 5, "b"),
204Tuple.Create(9, 5, "c"));
213Tuple.Create(0, 2, "a"));
229Tuple.Create(0, 3, "a"),
230Tuple.Create(5, 3, "b"),
231Tuple.Create(6, 4, "c"),
232Tuple.Create(8, 1, "d"),
233Tuple.Create(15, 8, "e"),
234Tuple.Create(16, 5, "f"),
235Tuple.Create(17, 2, "g"),
236Tuple.Create(19, 1, "h"),
237Tuple.Create(25, 5, "i"));
245foreach (var _ in CreateTrees(Tuple.Create(8, 1, "A"), Tuple.Create(59, 1, "B"), Tuple.Create(52, 1, "C")))
254var tree = CreateTrees(Tuple.Create(0, 0, "A")).Last();
Microsoft.DotNet.Open.Api.Tools.Tests (6)
Microsoft.DotNet.XUnitAssert.Tests (4)
Microsoft.Extensions.AI.Tests (1)
Microsoft.Extensions.Caching.Hybrid.Tests (5)
SerializerTests.cs (5)
77var obj = RoundTrip(Tuple.Create(42, "abc"), """{"Item1":42,"Item2":"abc"}"""u8, expectedSerializer, addSerializers);
125List<Tuple<int, string>> source = [Tuple.Create(1, "a"), Tuple.Create(2, "b")];
133Tuple<int, string>[] source = [Tuple.Create(1, "a"), Tuple.Create(2, "b")];
Microsoft.ML.AutoML (1)
Microsoft.ML.Core (4)
Microsoft.ML.Data (3)
Microsoft.ML.IntegrationTests (2)
Microsoft.ML.TorchSharp (4)
Microsoft.VisualStudio.LanguageServices (30)
Telemetry\CodeMarkerLogger.cs (22)
23Tuple.Create(CodeMarkerEvent.perfVSCSharpNavigateToStartSearch, CodeMarkerEvent.perfVSCSharpNavigateToEndSearch),
24Tuple.Create(CodeMarkerEvent.perfVBNavigateToStartSearch, CodeMarkerEvent.perfVBNavigateToEndSearch),
29Tuple.Create(CodeMarkerEvent.perfVSCSharpRenameStart, CodeMarkerEvent.perfVSCSharpRenameEnd)
34Tuple.Create(CodeMarkerEvent.perfVSCSharpRenameFindDefinitionStart, CodeMarkerEvent.perfVSCSharpRenameFindDefinitionEnd)
39Tuple.Create(CodeMarkerEvent.perfVSCSharpGetXmlStart, CodeMarkerEvent.perfVSCSharpGetXmlEnd)
44Tuple.Create(CodeMarkerEvent.perfVSCSharpBatchedRequestsAdded, CodeMarkerEvent.perfVSCSharpBatchedRequestsCompleted),
45Tuple.Create(CodeMarkerEvent.perfVBCompilerBackgroundThreadStart, CodeMarkerEvent.perfVBCompilerBackgroundThreadStop),
50Tuple.Create(CodeMarkerEvent.perfVSCSharpFindAllReferencesStart, CodeMarkerEvent.perfVSCSharpFindAllReferencesEnd)
55Tuple.Create(CodeMarkerEvent.perfVBSmartTagInitializeFixesBegin, CodeMarkerEvent.perfVBSmartTagInitializeFixesEnd)
60Tuple.Create(CodeMarkerEvent.perfVBApplyQuickFixBegin, CodeMarkerEvent.perfVBApplyQuickFixEnd),
61Tuple.Create(CodeMarkerEvent.perfVSCSharpGenerateTypeNoUIStart, CodeMarkerEvent.perfVSCSharpGenerateTypeNoUIEnd)
66Tuple.Create(CodeMarkerEvent.perfVBCompilerPrettyListBegin, CodeMarkerEvent.perfVBCompilerPrettyListEnd)
71Tuple.Create(CodeMarkerEvent.perfVBCompilerStartOutliningBegin, CodeMarkerEvent.perfVBCompilerStartOutliningEnd)
76Tuple.Create(CodeMarkerEvent.perfVBCompilerUpdateLineSeparatorsBegin, CodeMarkerEvent.perfVBCompilerUpdateLineSeparatorsEnd)
81Tuple.Create(CodeMarkerEvent.perfVBCompilerDropDownLoadBegin, CodeMarkerEvent.perfVBCompilerDropDownLoadEnd)
86Tuple.Create(CodeMarkerEvent.perfVSCSharpCompletionListStart, CodeMarkerEvent.perfVSCSharpCompletionListEnd),
87Tuple.Create(CodeMarkerEvent.perfVBCompilerIntellisenseBegin, CodeMarkerEvent.perfVBCompilerIntellisenseEnd)
92Tuple.Create(CodeMarkerEvent.perfVSCSharpParamHelpStart, CodeMarkerEvent.perfVSCSharpParamHelpEnd)
97Tuple.Create(CodeMarkerEvent.perfVSCSharpFormatStart, CodeMarkerEvent.perfVSCSharpFormatEnd)
102Tuple.Create(CodeMarkerEvent.perfVSCSharpCommitStart, CodeMarkerEvent.perfVSCSharpCommitEnd)
107Tuple.Create(CodeMarkerEvent.perfVSCSharpIdleSynchronizeInstantaneousSmartTagsStart, CodeMarkerEvent.perfVSCSharpIdleSynchronizeInstantaneousSmartTagsEnd),
108Tuple.Create(CodeMarkerEvent.perfVSCSharpIdleSynchronizeDelaySmartTagsStart, CodeMarkerEvent.perfVSCSharpIdleSynchronizeDelaySmartTagsEnd)
mscorlib (1)
netstandard (1)
PresentationCore (2)
Sockets.FunctionalTests (8)
src\Servers\Kestrel\test\FunctionalTests\MaxRequestBufferSizeTests.cs (8)
80Tuple.Create((long?)totalHeaderSize, true),
83Tuple.Create((long?)16 * 1024, true),
86Tuple.Create((long?)1024 * 1024, true),
89Tuple.Create((long?)5 * 1024 * 1024, true),
93Tuple.Create((long?)_dataLength - 1, false),
97Tuple.Create((long?)_dataLength, false),
100Tuple.Create((long?)long.MaxValue, false),
103Tuple.Create((long?)null, false)
System.ComponentModel.Composition.Registration (13)
System\ComponentModel\Composition\Registration\PartBuilder.cs (10)
104_interfaceExports.Add(Tuple.Create(interfaceFilter, exportConfiguration));
122_propertyExports.Add(Tuple.Create(propertyFilter, exportConfiguration, default(Type)));
140_propertyExports.Add(Tuple.Create(propertyFilter, exportConfiguration, typeof(T)));
158_propertyImports.Add(Tuple.Create(propertyFilter, importConfiguration, default(Type)));
175_propertyImports.Add(Tuple.Create(propertyFilter, importConfiguration, typeof(T)));
189_metadataItems.Add(Tuple.Create(name, value));
197_metadataItemFuncs.Add(Tuple.Create(name, itemFunc));
391configuredMembers.Add(Tuple.Create((object)constructorInfo, s_importingConstructorList));
412configuredMembers.Add(Tuple.Create((object)pi, attributes));
505configuredMembers.Add(Tuple.Create((object)declaredPi, attributes));
System.Composition.Convention (15)
System\Composition\Convention\PartConventionBuilder.cs (10)
170_interfaceExports.Add(Tuple.Create(interfaceFilter, exportConfiguration));
204_propertyExports.Add(Tuple.Create(propertyFilter, exportConfiguration, default(Type)));
240_propertyExports.Add(Tuple.Create(propertyFilter, exportConfiguration, typeof(T)));
274_propertyImports.Add(Tuple.Create(propertyFilter, importConfiguration));
311_propertyImports.Add(Tuple.Create(typedFilter, importConfiguration));
374_metadataItems.Add(Tuple.Create(name, value));
395_metadataItemFuncs.Add(Tuple.Create(name, getValueFromPartType));
582configuredMembers.Add(Tuple.Create((object)constructorInfo, s_importingConstructorList));
603configuredMembers.Add(Tuple.Create((object)pi, attributes));
750configuredMembers.Add(Tuple.Create((object)pi, attributes));
System.Composition.Hosting (2)
System.Composition.TypedParts (1)
System.Numerics.Tensors (6)
System\Numerics\Tensors\netcore\Tensor.cs (6)
5087TensorOperation.Invoke<TensorOperation.Round<T>, T, Tuple<int, MidpointRounding>, T>(x, Tuple.Create(digits, mode), destination);
5100TensorOperation.Invoke<TensorOperation.Round<T>, T, Tuple<int, MidpointRounding>, T>(x, Tuple.Create(digits, mode), in destination);
5111TensorOperation.Invoke<TensorOperation.Round<T>, T, Tuple<int, MidpointRounding>, T>(x, Tuple.Create(digits, MidpointRounding.ToEven), destination);
5123TensorOperation.Invoke<TensorOperation.Round<T>, T, Tuple<int, MidpointRounding>, T>(x, Tuple.Create(digits, MidpointRounding.ToEven), in destination);
5134TensorOperation.Invoke<TensorOperation.Round<T>, T, Tuple<int, MidpointRounding>, T>(x, Tuple.Create(0, mode), destination);
5146TensorOperation.Invoke<TensorOperation.Round<T>, T, Tuple<int, MidpointRounding>, T>(x, Tuple.Create(0, mode), in destination);
System.Private.CoreLib (98)
src\libraries\System.Private.CoreLib\src\System\Tuple.cs (13)
301return Tuple.CombineHashCodes(comparer.GetHashCode(m_Item1!), comparer.GetHashCode(m_Item2!));
430return Tuple.CombineHashCodes(comparer.GetHashCode(m_Item1!), comparer.GetHashCode(m_Item2!), comparer.GetHashCode(m_Item3!));
569return Tuple.CombineHashCodes(comparer.GetHashCode(m_Item1!), comparer.GetHashCode(m_Item2!), comparer.GetHashCode(m_Item3!), comparer.GetHashCode(m_Item4!));
718return Tuple.CombineHashCodes(comparer.GetHashCode(m_Item1!), comparer.GetHashCode(m_Item2!), comparer.GetHashCode(m_Item3!), comparer.GetHashCode(m_Item4!), comparer.GetHashCode(m_Item5!));
877return Tuple.CombineHashCodes(comparer.GetHashCode(m_Item1!), comparer.GetHashCode(m_Item2!), comparer.GetHashCode(m_Item3!), comparer.GetHashCode(m_Item4!), comparer.GetHashCode(m_Item5!), comparer.GetHashCode(m_Item6!));
1046return Tuple.CombineHashCodes(comparer.GetHashCode(m_Item1!), comparer.GetHashCode(m_Item2!), comparer.GetHashCode(m_Item3!), comparer.GetHashCode(m_Item4!), comparer.GetHashCode(m_Item5!), comparer.GetHashCode(m_Item6!), comparer.GetHashCode(m_Item7!));
1234return Tuple.CombineHashCodes(comparer.GetHashCode(m_Item7!), t.GetHashCode(comparer));
1236return Tuple.CombineHashCodes(comparer.GetHashCode(m_Item6!), comparer.GetHashCode(m_Item7!), t.GetHashCode(comparer));
1238return Tuple.CombineHashCodes(comparer.GetHashCode(m_Item5!), comparer.GetHashCode(m_Item6!), comparer.GetHashCode(m_Item7!), t.GetHashCode(comparer));
1240return Tuple.CombineHashCodes(comparer.GetHashCode(m_Item4!), comparer.GetHashCode(m_Item5!), comparer.GetHashCode(m_Item6!), comparer.GetHashCode(m_Item7!), t.GetHashCode(comparer));
1242return Tuple.CombineHashCodes(comparer.GetHashCode(m_Item3!), comparer.GetHashCode(m_Item4!), comparer.GetHashCode(m_Item5!), comparer.GetHashCode(m_Item6!), comparer.GetHashCode(m_Item7!), t.GetHashCode(comparer));
1244return Tuple.CombineHashCodes(comparer.GetHashCode(m_Item2!), comparer.GetHashCode(m_Item3!), comparer.GetHashCode(m_Item4!), comparer.GetHashCode(m_Item5!), comparer.GetHashCode(m_Item6!), comparer.GetHashCode(m_Item7!), t.GetHashCode(comparer));
1246return Tuple.CombineHashCodes(comparer.GetHashCode(m_Item1!), comparer.GetHashCode(m_Item2!), comparer.GetHashCode(m_Item3!), comparer.GetHashCode(m_Item4!), comparer.GetHashCode(m_Item5!), comparer.GetHashCode(m_Item6!), comparer.GetHashCode(m_Item7!), t.GetHashCode(comparer));
src\libraries\System.Private.CoreLib\src\System\TupleExtensions.cs (85)
12/// Provides extension methods for <see cref="Tuple"/> instances to interop with C# tuples features (deconstruction syntax, converting from and to <see cref="ValueTuple"/>).
18/// Deconstruct a properly nested <see cref="Tuple"/> with 1 elements.
29/// Deconstruct a properly nested <see cref="Tuple"/> with 2 elements.
41/// Deconstruct a properly nested <see cref="Tuple"/> with 3 elements.
54/// Deconstruct a properly nested <see cref="Tuple"/> with 4 elements.
68/// Deconstruct a properly nested <see cref="Tuple"/> with 5 elements.
83/// Deconstruct a properly nested <see cref="Tuple"/> with 6 elements.
99/// Deconstruct a properly nested <see cref="Tuple"/> with 7 elements.
116/// Deconstruct a properly nested <see cref="Tuple"/> with 8 elements.
134/// Deconstruct a properly nested <see cref="Tuple"/> with 9 elements.
153/// Deconstruct a properly nested <see cref="Tuple"/> with 10 elements.
173/// Deconstruct a properly nested <see cref="Tuple"/> with 11 elements.
194/// Deconstruct a properly nested <see cref="Tuple"/> with 12 elements.
216/// Deconstruct a properly nested <see cref="Tuple"/> with 13 elements.
239/// Deconstruct a properly nested <see cref="Tuple"/> with 14 elements.
263/// Deconstruct a properly nested <see cref="Tuple"/> with 15 elements.
288/// Deconstruct a properly nested <see cref="Tuple"/> with 16 elements.
314/// Deconstruct a properly nested <see cref="Tuple"/> with 17 elements.
341/// Deconstruct a properly nested <see cref="Tuple"/> with 18 elements.
369/// Deconstruct a properly nested <see cref="Tuple"/> with 19 elements.
398/// Deconstruct a properly nested <see cref="Tuple"/> with 20 elements.
428/// Deconstruct a properly nested <see cref="Tuple"/> with 21 elements.
461/// Make a properly nested <see cref="ValueTuple"/> from a properly nested <see cref="Tuple"/> with 1 element.
471/// Make a properly nested <see cref="ValueTuple"/> from a properly nested <see cref="Tuple"/> with 2 elements.
481/// Make a properly nested <see cref="ValueTuple"/> from a properly nested <see cref="Tuple"/> with 3 elements.
491/// Make a properly nested <see cref="ValueTuple"/> from a properly nested <see cref="Tuple"/> with 4 elements.
501/// Make a properly nested <see cref="ValueTuple"/> from a properly nested <see cref="Tuple"/> with 5 elements.
511/// Make a properly nested <see cref="ValueTuple"/> from a properly nested <see cref="Tuple"/> with 6 elements.
521/// Make a properly nested <see cref="ValueTuple"/> from a properly nested <see cref="Tuple"/> with 7 elements.
531/// Make a properly nested <see cref="ValueTuple"/> from a properly nested <see cref="Tuple"/> with 8 elements.
542/// Make a properly nested <see cref="ValueTuple"/> from a properly nested <see cref="Tuple"/> with 9 elements.
553/// Make a properly nested <see cref="ValueTuple"/> from a properly nested <see cref="Tuple"/> with 10 elements.
564/// Make a properly nested <see cref="ValueTuple"/> from a properly nested <see cref="Tuple"/> with 11 elements.
575/// Make a properly nested <see cref="ValueTuple"/> from a properly nested <see cref="Tuple"/> with 12 elements.
586/// Make a properly nested <see cref="ValueTuple"/> from a properly nested <see cref="Tuple"/> with 13 elements.
597/// Make a properly nested <see cref="ValueTuple"/> from a properly nested <see cref="Tuple"/> with 14 elements.
608/// Make a properly nested <see cref="ValueTuple"/> from a properly nested <see cref="Tuple"/> with 15 elements.
620/// Make a properly nested <see cref="ValueTuple"/> from a properly nested <see cref="Tuple"/> with 16 elements.
632/// Make a properly nested <see cref="ValueTuple"/> from a properly nested <see cref="Tuple"/> with 17 elements.
644/// Make a properly nested <see cref="ValueTuple"/> from a properly nested <see cref="Tuple"/> with 18 elements.
656/// Make a properly nested <see cref="ValueTuple"/> from a properly nested <see cref="Tuple"/> with 19 elements.
668/// Make a properly nested <see cref="ValueTuple"/> from a properly nested <see cref="Tuple"/> with 20 elements.
680/// Make a properly nested <see cref="ValueTuple"/> from a properly nested <see cref="Tuple"/> with 21 elements.
694/// Make a properly nested <see cref="Tuple"/> from a properly nested <see cref="ValueTuple"/> with 1 element.
700return Tuple.Create(value.Item1);
704/// Make a properly nested <see cref="Tuple"/> from a properly nested <see cref="ValueTuple"/> with 2 elements.
710return Tuple.Create(value.Item1, value.Item2);
714/// Make a properly nested <see cref="Tuple"/> from a properly nested <see cref="ValueTuple"/> with 3 elements.
720return Tuple.Create(value.Item1, value.Item2, value.Item3);
724/// Make a properly nested <see cref="Tuple"/> from a properly nested <see cref="ValueTuple"/> with 4 elements.
730return Tuple.Create(value.Item1, value.Item2, value.Item3, value.Item4);
734/// Make a properly nested <see cref="Tuple"/> from a properly nested <see cref="ValueTuple"/> with 5 elements.
740return Tuple.Create(value.Item1, value.Item2, value.Item3, value.Item4, value.Item5);
744/// Make a properly nested <see cref="Tuple"/> from a properly nested <see cref="ValueTuple"/> with 6 elements.
750return Tuple.Create(value.Item1, value.Item2, value.Item3, value.Item4, value.Item5, value.Item6);
754/// Make a properly nested <see cref="Tuple"/> from a properly nested <see cref="ValueTuple"/> with 7 elements.
760return Tuple.Create(value.Item1, value.Item2, value.Item3, value.Item4, value.Item5, value.Item6, value.Item7);
764/// Make a properly nested <see cref="Tuple"/> from a properly nested <see cref="ValueTuple"/> with 8 elements.
771Tuple.Create(value.Rest.Item1));
775/// Make a properly nested <see cref="Tuple"/> from a properly nested <see cref="ValueTuple"/> with 9 elements.
782Tuple.Create(value.Rest.Item1, value.Rest.Item2));
786/// Make a properly nested <see cref="Tuple"/> from a properly nested <see cref="ValueTuple"/> with 10 elements.
793Tuple.Create(value.Rest.Item1, value.Rest.Item2, value.Rest.Item3));
797/// Make a properly nested <see cref="Tuple"/> from a properly nested <see cref="ValueTuple"/> with 11 elements.
804Tuple.Create(value.Rest.Item1, value.Rest.Item2, value.Rest.Item3, value.Rest.Item4));
808/// Make a properly nested <see cref="Tuple"/> from a properly nested <see cref="ValueTuple"/> with 12 elements.
815Tuple.Create(value.Rest.Item1, value.Rest.Item2, value.Rest.Item3, value.Rest.Item4, value.Rest.Item5));
819/// Make a properly nested <see cref="Tuple"/> from a properly nested <see cref="ValueTuple"/> with 13 elements.
826Tuple.Create(value.Rest.Item1, value.Rest.Item2, value.Rest.Item3, value.Rest.Item4, value.Rest.Item5, value.Rest.Item6));
830/// Make a properly nested <see cref="Tuple"/> from a properly nested <see cref="ValueTuple"/> with 14 elements.
837Tuple.Create(value.Rest.Item1, value.Rest.Item2, value.Rest.Item3, value.Rest.Item4, value.Rest.Item5, value.Rest.Item6, value.Rest.Item7));
841/// Make a properly nested <see cref="Tuple"/> from a properly nested <see cref="ValueTuple"/> with 15 elements.
849Tuple.Create(value.Rest.Rest.Item1)));
853/// Make a properly nested <see cref="Tuple"/> from a properly nested <see cref="ValueTuple"/> with 16 elements.
861Tuple.Create(value.Rest.Rest.Item1, value.Rest.Rest.Item2)));
865/// Make a properly nested <see cref="Tuple"/> from a properly nested <see cref="ValueTuple"/> with 17 elements.
873Tuple.Create(value.Rest.Rest.Item1, value.Rest.Rest.Item2, value.Rest.Rest.Item3)));
877/// Make a properly nested <see cref="Tuple"/> from a properly nested <see cref="ValueTuple"/> with 18 elements.
885Tuple.Create(value.Rest.Rest.Item1, value.Rest.Rest.Item2, value.Rest.Rest.Item3, value.Rest.Rest.Item4)));
889/// Make a properly nested <see cref="Tuple"/> from a properly nested <see cref="ValueTuple"/> with 19 elements.
897Tuple.Create(value.Rest.Rest.Item1, value.Rest.Rest.Item2, value.Rest.Rest.Item3, value.Rest.Rest.Item4, value.Rest.Rest.Item5)));
901/// Make a properly nested <see cref="Tuple"/> from a properly nested <see cref="ValueTuple"/> with 20 elements.
909Tuple.Create(value.Rest.Rest.Item1, value.Rest.Rest.Item2, value.Rest.Rest.Item3, value.Rest.Rest.Item4, value.Rest.Rest.Item5, value.Rest.Rest.Item6)));
913/// Make a properly nested <see cref="Tuple"/> from a properly nested <see cref="ValueTuple"/> with 21 elements.
921Tuple.Create(value.Rest.Rest.Item1, value.Rest.Rest.Item2, value.Rest.Rest.Item3, value.Rest.Rest.Item4, value.Rest.Rest.Item5, value.Rest.Rest.Item6, value.Rest.Rest.Item7)));
System.Runtime (1)
System.Runtime.Caching (1)
System.Security.Cryptography (1)
System.ServiceModel.Federation (2)
System.ServiceModel.NetFramingBase (1)
System.Threading.Tasks.Dataflow (9)
Templates.Blazor.Tests (1)
Templates.Blazor.WebAssembly.Auth.Tests (1)
Templates.Blazor.WebAssembly.Tests (1)
Templates.Mvc.Tests (1)
Templates.Tests (1)
xunit.console (9)
common\AssemblyResolution\DependencyContextAssemblyCache.cs (8)
68.Select(lib => compatibleRuntimes.Select(runtime => Tuple.Create(lib, lib.RuntimeAssemblyGroups.FirstOrDefault(libGroup => string.Equals(libGroup.Runtime, runtime))))
72.Select(path => Tuple.Create(Path.GetFileNameWithoutExtension(path), Tuple.Create(tuple.Item1, tuple.Item2))))
82.Select(lib => compatibleRuntimes.Select(runtime => Tuple.Create(lib, lib.NativeLibraryGroups.FirstOrDefault(libGroup => string.Equals(libGroup.Runtime, runtime))))
86.Select(path => Tuple.Create(Path.GetFileName(path), Tuple.Create(tuple.Item1, tuple.Item2))))
221return Tuple.Create(resolvedAssemblyPath, assembly);
245return Tuple.Create(resolvedAssemblyPath, assembly);