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