28 references to Allocate
Microsoft.CSharp (28)
Microsoft\CSharp\RuntimeBinder\RuntimeBinder.cs (2)
602? TypeArray.Allocate(SymbolTable.GetCTypeArrayFromTypes(typeArguments)) 607new CMemberLookupResults(TypeArray.Allocate(callingTypes.ToArray()), name));
Microsoft\CSharp\RuntimeBinder\Semantics\Binding\Better.cs (1)
253return TypeArray.Allocate(typeList);
Microsoft\CSharp\RuntimeBinder\Semantics\ExpressionBinder.cs (4)
618TypeArray.Allocate(nubParam), 1339argInfo.types = TypeArray.Allocate(prgtype); 1352ppExpandedParams = TypeArray.Allocate(prgtype); 1376ppExpandedParams = TypeArray.Allocate(prgtype);
Microsoft\CSharp\RuntimeBinder\Semantics\ExprFactory.cs (1)
33obj, new CMemberLookupResults(TypeArray.Allocate((CType)method.GetType()), name));
Microsoft\CSharp\RuntimeBinder\Semantics\GroupToArgsBinder.cs (2)
480pArguments.types = TypeArray.Allocate(prgTypes); 710_pArguments.types = TypeArray.Allocate(prgTypes);
Microsoft\CSharp\RuntimeBinder\Semantics\MethodTypeInferrer.cs (1)
141private TypeArray GetResults() => TypeArray.Allocate(_pFixedResults);
Microsoft\CSharp\RuntimeBinder\Semantics\Operators.cs (1)
2481TypeArray.Allocate(rgtype),
Microsoft\CSharp\RuntimeBinder\Semantics\PredefinedMembers.cs (2)
267return TypeManager.GetAggregate(agg, TypeArray.Allocate(typeArgs)); 287return TypeArray.Allocate(ptypes);
Microsoft\CSharp\RuntimeBinder\Semantics\Tree\Visitors\ExpressionTreeRewriter.cs (1)
93TypeArray lambdaTypeParams = TypeArray.Allocate(delegateType);
Microsoft\CSharp\RuntimeBinder\Semantics\Types\AggregateType.cs (1)
201_winrtifacesAll = TypeArray.Allocate(typeList.ToArray());
Microsoft\CSharp\RuntimeBinder\Semantics\Types\NullableType.cs (1)
30_ats ??= TypeManager.GetAggregate(TypeManager.GetNullable(), TypeArray.Allocate(UnderlyingType));
Microsoft\CSharp\RuntimeBinder\Semantics\Types\TypeArray.cs (2)
122return Allocate(newTypes); 160return Allocate(combined);
Microsoft\CSharp\RuntimeBinder\Semantics\Types\TypeManager.cs (2)
219return TypeArray.Allocate(dsts); 708TypeArray newTypeArgs = TypeArray.Allocate(newTypeArgsTemp);
Microsoft\CSharp\RuntimeBinder\SymbolTable.cs (7)
315((TypeParameterType)ctypes[i]).Symbol.SetBounds(TypeArray.Allocate(GetCTypeArrayFromTypes(t.GetGenericParameterConstraints()))); 318return TypeArray.Allocate(ctypes); 376return TypeArray.Allocate(ctypes.ToArray()); 679TypeArray typeArray = TypeArray.Allocate(types.ToArray()); 943typeVar.Symbol.SetBounds(TypeArray.Allocate(GetCTypeArrayFromTypes(t.GetGenericParameterConstraints()))); 1011aggregate.SetIfaces(TypeArray.Allocate(GetCTypeArrayFromTypes(interfaces))); 1624return TypeArray.Allocate(types);