11 references to Create
Microsoft.CodeAnalysis.CSharp (6)
Lowering\ClosureConversion\LambdaCapturedVariable.cs (1)
110typeArguments = ImmutableArray.Create(typeArguments, 0, lambdaFrame.Arity);
Symbols\Metadata\PE\TupleTypeDecoder.cs (1)
387return ImmutableArray.Create(_elementNames, start, numberOfElements);
Symbols\Tuples\TupleTypeSymbol.cs (2)
240NamedTypeSymbol currentSymbol = firstTupleType.Construct(ImmutableArray.Create(elementTypes, (chainLength - 1) * (ValueTupleRestPosition - 1), remainder)); 244var chainedTypes = ImmutableArray.Create(elementTypes, (loop - 1) * (ValueTupleRestPosition - 1), ValueTupleRestPosition - 1).Add(TypeWithAnnotations.Create(currentSymbol));
Symbols\TypeUnification.cs (2)
216customModifiers: ImmutableArray.Create(t2.CustomModifiers, t1.CustomModifiers.Length, t2.CustomModifiers.Length - t1.CustomModifiers.Length))); 235customModifiers: ImmutableArray.Create(t1.CustomModifiers, t2.CustomModifiers.Length, t1.CustomModifiers.Length - t2.CustomModifiers.Length)));
Microsoft.CodeAnalysis.ExpressionEvaluator.FunctionResolver (1)
MetadataDecoder.cs (1)
279typeArguments = ImmutableArray.Create(typeArguments, typeArgumentOffset, arity);
Microsoft.CodeAnalysis.VisualBasic (2)
Symbols\Tuples\TupleTypeSymbol.vb (2)
554Dim namedTypeSymbol As NamedTypeSymbol = wellKnownType.Construct(ImmutableArray.Create(Of TypeSymbol)(elementTypes, (chainLength - 1) * (TupleTypeSymbol.RestPosition - 1), remainder)) 563Dim typeArguments As ImmutableArray(Of TypeSymbol) = ImmutableArray.Create(Of TypeSymbol)(elementTypes, ([loop] - 1) * (TupleTypeSymbol.RestPosition - 1), TupleTypeSymbol.RestPosition - 1).Add(namedTypeSymbol)
System.Collections.Immutable (1)
System\Collections\Immutable\ImmutableArray_1.cs (1)
1038return ImmutableArray.Create(self, start, length);
System.Reflection.Metadata (1)
System\Reflection\Internal\MemoryBlocks\ByteArrayMemoryBlock.cs (1)
35return ImmutableArray.Create(_provider.Array, _start + start, length);