12 references to Count
System.Private.CoreLib (12)
System\Reflection\ModifiedType.NativeAot.cs (2)
55
Debug.Assert(index <= functionSig.Parameters.
Count
);
65
Debug.Assert(index < typeInst.GenericTypeArguments.
Count
);
System\Reflection\Runtime\CustomAttributes\NativeFormat\NativeFormatCustomAttributeData.cs (2)
76
int numParameters = parameters.
Count
;
119
ArrayBuilder<CustomAttributeTypedArgument> customAttributeTypedArguments = new ArrayBuilder<CustomAttributeTypedArgument>(_customAttribute.FixedArguments.
Count
);
System\Reflection\Runtime\General\MetadataReaderExtensions.NativeFormat.cs (3)
385
string[] elements = new string[constantHandles.
Count
];
402
object?[] elements = new object[constantHandles.
Count
];
660
int count = collection.
Count
;
System\Reflection\Runtime\General\TypeResolver.NativeFormat.cs (2)
108
var parameterTypes = new RuntimeTypeInfo[methodSig.Parameters.
Count
];
141
ArrayBuilder<RuntimeTypeInfo> genericTypeArguments = new ArrayBuilder<RuntimeTypeInfo>(sig.GenericTypeArguments.
Count
);
System\Reflection\Runtime\MethodInfos\NativeFormat\NativeFormatMethodCommon.cs (1)
39
QSignatureTypeHandle[] typeSignatures = new QSignatureTypeHandle[methodSignature.Parameters.
Count
+ 1];
System\Reflection\Runtime\TypeInfos\NativeFormat\NativeFormatRuntimeGenericParameterTypeInfo.cs (1)
76
ArrayBuilder<QTypeDefRefOrSpec> constraints = new ArrayBuilder<QTypeDefRefOrSpec>(_genericParameter.Constraints.
Count
);
System\Reflection\Runtime\TypeInfos\NativeFormat\NativeFormatRuntimeNamedTypeInfo.cs (1)
297
ArrayBuilder<QTypeDefRefOrSpec> directlyImplementedInterfaces = new ArrayBuilder<QTypeDefRefOrSpec>(_typeDefinition.Interfaces.
Count
);