10 references to Create
Microsoft.CodeAnalysis (10)
DiagnosticAnalyzer\AnalyzerExecutor.cs (2)
944
var tuples = nodeActionsByKind.Select(kvp => KeyValuePairUtil.
Create
(kvp.Key, kvp.Value.ToImmutableAndFree()));
1043
var tuples = operationActionsByKind.Select(kvp => KeyValuePairUtil.
Create
(kvp.Key, kvp.Value.ToImmutableAndFree()));
DocumentationComments\DocumentationCommentIncludeCache.cs (1)
58
return KeyValuePairUtil.
Create
(resolvedPath, document);
InternalUtilities\KeyValuePairUtil.cs (1)
22
public static KeyValuePair<TKey, TValue> ToKeyValuePair<TKey, TValue>(this (TKey, TValue) tuple) =>
Create
(tuple.Item1, tuple.Item2);
MetadataReader\MetadataDecoder.cs (1)
410
argumentsBuilder.Add(KeyValuePairUtil.
Create
(DecodeTypeOrThrow(ref ppSig, typeCode, out argumentRefersToNoPia), modifiers));
MetadataReader\MetadataHelpers.cs (1)
902
nestedNamespaces[keyIndex] = KeyValuePairUtil.
Create
(primaryPair.Key, primaryPair.Value.Concat(pair.Value));
MetadataReference\AssemblyIdentityMap.cs (1)
100
var pair = KeyValuePairUtil.
Create
(identity, value);
PEWriter\MetadataWriter.cs (2)
1144
_signatureIndex.Add(methodReference, KeyValuePairUtil.
Create
(result, signatureBlob));
1290
_signatureIndex.Add(propertyDef, KeyValuePairUtil.
Create
(result, blob));
ReferenceManager\CommonReferenceManager.State.cs (1)
682
return ReferencedAssembliesMap.Select(ra => KeyValuePairUtil.
Create
(ra.Key, (IAssemblySymbolInternal)ReferencedAssemblies[ra.Value]));