28 references to Allocate
Microsoft.CSharp (28)
Microsoft\CSharp\RuntimeBinder\RuntimeBinder.cs (2)
618? TypeArray.Allocate(SymbolTable.GetCTypeArrayFromTypes(typeArguments)) 623new CMemberLookupResults(TypeArray.Allocate(callingTypes.ToArray()), name));
Microsoft\CSharp\RuntimeBinder\Semantics\Binding\Better.cs (1)
255return TypeArray.Allocate(typeList);
Microsoft\CSharp\RuntimeBinder\Semantics\ExpressionBinder.cs (4)
630TypeArray.Allocate(nubParam), 1365argInfo.types = TypeArray.Allocate(prgtype); 1378ppExpandedParams = TypeArray.Allocate(prgtype); 1402ppExpandedParams = TypeArray.Allocate(prgtype);
Microsoft\CSharp\RuntimeBinder\Semantics\ExprFactory.cs (1)
34obj, new CMemberLookupResults(TypeArray.Allocate((CType)method.GetType()), name));
Microsoft\CSharp\RuntimeBinder\Semantics\GroupToArgsBinder.cs (2)
481pArguments.types = TypeArray.Allocate(prgTypes); 711_pArguments.types = TypeArray.Allocate(prgTypes);
Microsoft\CSharp\RuntimeBinder\Semantics\MethodTypeInferrer.cs (1)
142private TypeArray GetResults() => TypeArray.Allocate(_pFixedResults);
Microsoft\CSharp\RuntimeBinder\Semantics\Operators.cs (1)
2541TypeArray.Allocate(rgtype),
Microsoft\CSharp\RuntimeBinder\Semantics\PredefinedMembers.cs (2)
271return TypeManager.GetAggregate(agg, TypeArray.Allocate(typeArgs)); 292return TypeArray.Allocate(ptypes);
Microsoft\CSharp\RuntimeBinder\Semantics\Tree\Visitors\ExpressionTreeRewriter.cs (1)
94TypeArray 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)
229return TypeArray.Allocate(dsts); 735TypeArray newTypeArgs = TypeArray.Allocate(newTypeArgsTemp);
Microsoft\CSharp\RuntimeBinder\SymbolTable.cs (7)
322((TypeParameterType)ctypes[i]).Symbol.SetBounds(TypeArray.Allocate(GetCTypeArrayFromTypes(t.GetGenericParameterConstraints()))); 325return TypeArray.Allocate(ctypes); 384return TypeArray.Allocate(ctypes.ToArray()); 693TypeArray typeArray = TypeArray.Allocate(types.ToArray()); 963typeVar.Symbol.SetBounds(TypeArray.Allocate(GetCTypeArrayFromTypes(t.GetGenericParameterConstraints()))); 1032aggregate.SetIfaces(TypeArray.Allocate(GetCTypeArrayFromTypes(interfaces))); 1654return TypeArray.Allocate(types);