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