299 references to Create
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.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 (2)
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.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 (1)
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 (1)
Microsoft.CodeAnalysis.Workspaces (1)
Microsoft.CodeAnalysis.Workspaces.Test.Utilities (2)
Microsoft.DotNet.Open.Api.Tools.Tests (6)
Microsoft.DotNet.XUnitAssert.Tests (4)
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 (2)
Microsoft.ML.IntegrationTests (2)
Microsoft.ML.TorchSharp (3)
Microsoft.VisualStudio.LanguageServices (24)
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)
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 (9)
System.Composition.Convention (13)
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 (3)
System.Runtime.Caching (1)
System.Security.Cryptography (1)
System.ServiceModel.Federation (2)
System.Threading.Tasks.Dataflow (6)
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);