287 {
288 RuntimeType.ListBuilder<object> attributes = default(RuntimeType.ListBuilder<object>);
289 AddCustomAttributes(ref attributes, decoratedModule, decoratedMetadataToken, attributeFilterType, mustBeInheritable: false, default(RuntimeType.ListBuilder<object>));
290 RuntimeType
elementType = (((object)attributeFilterType ==
null || attributeFilterType.IsValueType || attributeFilterType.ContainsGenericParameters) ? ((RuntimeType)typeof(
object)) : attributeFilterType);
292 for (
int i = 0;
i < attributes.Count;
i++)
293 {
295 }
297 }
static object[] CreateAttributeArrayHelper(RuntimeType elementType, int elementCount)
static unsafe void AddCustomAttributes(ref RuntimeType.ListBuilder< object > attributes, RuntimeModule decoratedModule, int decoratedMetadataToken, RuntimeType attributeFilterType, bool mustBeInheritable, RuntimeType.ListBuilder< object > derivedAttributes)