92 references to Create
GenerateDocumentationAndConfigFiles (1)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\Engine\AbstractFormatEngine.cs (1)
80
lastRulesAndOptions = Tuple.
Create
(formattingRules, options, new ChainedFormattingRules(formattingRules, options));
Metrics (1)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\Engine\AbstractFormatEngine.cs (1)
80
lastRulesAndOptions = Tuple.
Create
(formattingRules, options, new ChainedFormattingRules(formattingRules, options));
Metrics.Legacy (1)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\Engine\AbstractFormatEngine.cs (1)
80
lastRulesAndOptions = Tuple.
Create
(formattingRules, options, new ChainedFormattingRules(formattingRules, options));
Microsoft.AspNetCore.Cors (1)
Infrastructure\CorsMiddleware.cs (1)
188
context.Response.OnStarting(OnResponseStartingDelegate, Tuple.
Create
(this, context, corsResult));
Microsoft.AspNetCore.DataProtection.Tests (26)
KeyManagement\KeyRingProviderTests.cs (26)
36
Tuple.
Create
((DateTimeOffset)now, (IEnumerable<IKey>)allKeys, new DefaultKeyResolution()
74
Tuple.
Create
((DateTimeOffset)now, (IEnumerable<IKey>)allKeys, new DefaultKeyResolution()
79
Tuple.
Create
(key1.ExpirationDate, (IEnumerable<IKey>)allKeys, new DefaultKeyResolution()
118
Tuple.
Create
((DateTimeOffset)now, (DateTimeOffset)now + TimeSpan.FromDays(90), CreateKey())
122
Tuple.
Create
((DateTimeOffset)now, (IEnumerable<IKey>)allKeys1, new DefaultKeyResolution()
127
Tuple.
Create
((DateTimeOffset)now, (IEnumerable<IKey>)allKeys2, new DefaultKeyResolution()
166
Tuple.
Create
(now, now + TimeSpan.FromDays(90), newKey)
170
Tuple.
Create
(now, (IEnumerable<IKey>)allKeys1, new DefaultKeyResolution()
175
Tuple.
Create
(now, (IEnumerable<IKey>)allKeys2, new DefaultKeyResolution()
207
Tuple.
Create
((DateTimeOffset)now, (DateTimeOffset)now + TimeSpan.FromDays(90), newlyCreatedKey)
211
Tuple.
Create
((DateTimeOffset)now, (IEnumerable<IKey>)allKeys, new DefaultKeyResolution()
216
Tuple.
Create
((DateTimeOffset)now, (IEnumerable<IKey>)allKeys, new DefaultKeyResolution()
251
Tuple.
Create
((DateTimeOffset)now, (DateTimeOffset)now + TimeSpan.FromDays(90), CreateKey())
255
Tuple.
Create
((DateTimeOffset)now, (IEnumerable<IKey>)allKeys, new DefaultKeyResolution()
291
Tuple.
Create
(key1.ExpirationDate, (DateTimeOffset)now + TimeSpan.FromDays(90), CreateKey())
295
Tuple.
Create
((DateTimeOffset)now, (IEnumerable<IKey>)allKeys1, new DefaultKeyResolution()
300
Tuple.
Create
((DateTimeOffset)now, (IEnumerable<IKey>)allKeys2, new DefaultKeyResolution()
339
Tuple.
Create
((DateTimeOffset)now, (IEnumerable<IKey>)allKeys, new DefaultKeyResolution()
377
Tuple.
Create
((DateTimeOffset)now, (IEnumerable<IKey>)allKeys, new DefaultKeyResolution()
460
Tuple.
Create
(now, (IEnumerable<IKey>)allKeys, new DefaultKeyResolution()
472
Tuple.
Create
(expiration1, (IEnumerable<IKey>)allKeys, new DefaultKeyResolution()
490
Tuple.
Create
(now, (IEnumerable<IKey>)allKeysAfterGeneration, new DefaultKeyResolution()
504
Tuple.
Create
(expiration1, now + TimeSpan.FromDays(90), CreateKey())
539
Tuple.
Create
(expiration, now + TimeSpan.FromDays(90), generatedKey)
542
Tuple.
Create
(now, (IEnumerable<IKey>)allKeysBefore, new DefaultKeyResolution()
547
Tuple.
Create
(now, (IEnumerable<IKey>)allKeysAfter, new DefaultKeyResolution()
Microsoft.CodeAnalysis.Analyzers (1)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\Engine\AbstractFormatEngine.cs (1)
80
lastRulesAndOptions = Tuple.
Create
(formattingRules, options, new ChainedFormattingRules(formattingRules, options));
Microsoft.CodeAnalysis.AnalyzerUtilities (1)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\Engine\AbstractFormatEngine.cs (1)
80
lastRulesAndOptions = Tuple.
Create
(formattingRules, options, new ChainedFormattingRules(formattingRules, options));
Microsoft.CodeAnalysis.BannedApiAnalyzers (1)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\Engine\AbstractFormatEngine.cs (1)
80
lastRulesAndOptions = Tuple.
Create
(formattingRules, options, new ChainedFormattingRules(formattingRules, options));
Microsoft.CodeAnalysis.CodeStyle (1)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\Engine\AbstractFormatEngine.cs (1)
80
lastRulesAndOptions = Tuple.
Create
(formattingRules, options, new ChainedFormattingRules(formattingRules, options));
Microsoft.CodeAnalysis.PerformanceSensitiveAnalyzers (1)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\Engine\AbstractFormatEngine.cs (1)
80
lastRulesAndOptions = Tuple.
Create
(formattingRules, options, new ChainedFormattingRules(formattingRules, options));
Microsoft.CodeAnalysis.PublicApiAnalyzers (1)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\Engine\AbstractFormatEngine.cs (1)
80
lastRulesAndOptions = Tuple.
Create
(formattingRules, options, new ChainedFormattingRules(formattingRules, options));
Microsoft.CodeAnalysis.ResxSourceGenerator (1)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\Engine\AbstractFormatEngine.cs (1)
80
lastRulesAndOptions = Tuple.
Create
(formattingRules, options, new ChainedFormattingRules(formattingRules, options));
Microsoft.CodeAnalysis.Workspaces (3)
Rename\SymbolicRenameLocations.ReferenceProcessing.cs (2)
377
.Select(t => Tuple.
Create
(t.ToString(), t.Span.Start, t.Span));
395
.Select(t => Tuple.
Create
(t.ToString(), t.Span.Start, t.Token.Span));
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\Engine\AbstractFormatEngine.cs (1)
80
lastRulesAndOptions = Tuple.
Create
(formattingRules, options, new ChainedFormattingRules(formattingRules, options));
Microsoft.CodeAnalysis.Workspaces.UnitTests (33)
UtilityTest\IntervalTreeTests.cs (33)
47
foreach (var tree in CreateTrees(Tuple.
Create
(5, 5, "A")))
58
foreach (var tree in CreateTrees(Tuple.
Create
(5, 5, "A")))
69
foreach (var tree in CreateTrees(Tuple.
Create
(5, 5, "A")))
80
foreach (var tree in CreateTrees(Tuple.
Create
(5, 5, "A")))
91
foreach (var tree in CreateTrees(Tuple.
Create
(5, 5, "A")))
102
foreach (var tree in CreateTrees(Tuple.
Create
(5, 5, "A")))
113
foreach (var tree in CreateTrees(Tuple.
Create
(5, 5, "A")))
124
foreach (var tree in CreateTrees(Tuple.
Create
(5, 5, "A")))
135
foreach (var tree in CreateTrees(Tuple.
Create
(5, 5, "A")))
146
foreach (var tree in CreateTrees(Tuple.
Create
(5, 5, "A")))
157
foreach (var tree in CreateTrees(Tuple.
Create
(5, 5, "A")))
168
foreach (var tree in CreateTrees(Tuple.
Create
(5, 5, "A"), Tuple.
Create
(15, 5, "B")))
191
Tuple.
Create
(5, 5, "a"),
192
Tuple.
Create
(6, 3, "b"),
193
Tuple.
Create
(7, 1, "c"));
202
Tuple.
Create
(5, 5, "a"),
203
Tuple.
Create
(7, 5, "b"),
204
Tuple.
Create
(9, 5, "c"));
213
Tuple.
Create
(0, 2, "a"));
229
Tuple.
Create
(0, 3, "a"),
230
Tuple.
Create
(5, 3, "b"),
231
Tuple.
Create
(6, 4, "c"),
232
Tuple.
Create
(8, 1, "d"),
233
Tuple.
Create
(15, 8, "e"),
234
Tuple.
Create
(16, 5, "f"),
235
Tuple.
Create
(17, 2, "g"),
236
Tuple.
Create
(19, 1, "h"),
237
Tuple.
Create
(25, 5, "i"));
245
foreach (var _ in CreateTrees(Tuple.
Create
(8, 1, "A"), Tuple.
Create
(59, 1, "B"), Tuple.
Create
(52, 1, "C")))
254
var tree = CreateTrees(Tuple.
Create
(0, 0, "A")).Last();
Microsoft.ML.Data (1)
DataLoadSave\Binary\BinarySaver.cs (1)
299
metadataInfos.Add(Tuple.
Create
(metaColumn.Name, codec, (CompressionKind)args[5]));
Microsoft.ML.TorchSharp (1)
AutoFormerV2\ObjectDetectionMetrics.cs (1)
198
tupleList.Add(Tuple.
Create
(annotaIndex, detectIndex, iou));
Microsoft.VisualStudio.LanguageServices (2)
Venus\ContainedLanguageCodeSupport.cs (2)
164
return Tuple.
Create
(existingHandler.Item2, (string)null, default(VsTextSpan));
246
return Tuple.
Create
(ConstructMemberId(newMethod), newMemberText, insertionPoint.Value.ToVsTextSpan());
Roslyn.Diagnostics.Analyzers (1)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\Engine\AbstractFormatEngine.cs (1)
80
lastRulesAndOptions = Tuple.
Create
(formattingRules, options, new ChainedFormattingRules(formattingRules, options));
System.ComponentModel.Composition.Registration (4)
System\ComponentModel\Composition\Registration\PartBuilder.cs (4)
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)));
System.Composition.Convention (2)
System\Composition\Convention\PartConventionBuilder.cs (2)
204
_propertyExports.Add(Tuple.
Create
(propertyFilter, exportConfiguration, default(Type)));
240
_propertyExports.Add(Tuple.
Create
(propertyFilter, exportConfiguration, typeof(T)));
System.Private.CoreLib (3)
src\libraries\System.Private.CoreLib\src\System\TupleExtensions.cs (3)
720
return Tuple.
Create
(value.Item1, value.Item2, value.Item3);
793
Tuple.
Create
(value.Rest.Item1, value.Rest.Item2, value.Rest.Item3));
873
Tuple.
Create
(value.Rest.Rest.Item1, value.Rest.Rest.Item2, value.Rest.Rest.Item3)));
System.Threading.Tasks.Dataflow (3)
Base\DataflowBlock.cs (1)
1888
Tuple.
Create
<Action<T>, T, int>(action, result, branchId),
Blocks\BatchedJoinBlock.cs (1)
325
_source.AddMessage(Tuple.
Create
(_target1.GetAndEmptyMessages(), _target2!.GetAndEmptyMessages(), _target3!.GetAndEmptyMessages()));
Blocks\JoinBlock.cs (1)
290
() => _source.AddMessage(Tuple.
Create
(_target1!.GetOneMessage(), _target2!.GetOneMessage(), _target3!.GetOneMessage())),
Test.Utilities (1)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\Engine\AbstractFormatEngine.cs (1)
80
lastRulesAndOptions = Tuple.
Create
(formattingRules, options, new ChainedFormattingRules(formattingRules, options));
Text.Analyzers (1)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\Engine\AbstractFormatEngine.cs (1)
80
lastRulesAndOptions = Tuple.
Create
(formattingRules, options, new ChainedFormattingRules(formattingRules, options));