system\reflection\customattribute.cs (17)
423new CustomAttributeNamedArgument(type.GetField("EntryPoint"), dllImport.EntryPoint),
424new CustomAttributeNamedArgument(type.GetField("CharSet"), dllImport.CharSet),
425new CustomAttributeNamedArgument(type.GetField("ExactSpelling"), dllImport.ExactSpelling),
426new CustomAttributeNamedArgument(type.GetField("SetLastError"), dllImport.SetLastError),
427new CustomAttributeNamedArgument(type.GetField("PreserveSig"), dllImport.PreserveSig),
428new CustomAttributeNamedArgument(type.GetField("CallingConvention"), dllImport.CallingConvention),
429new CustomAttributeNamedArgument(type.GetField("BestFitMapping"), dllImport.BestFitMapping),
430new CustomAttributeNamedArgument(type.GetField("ThrowOnUnmappableChar"), dllImport.ThrowOnUnmappableChar)
463namedArgs[i++] = new CustomAttributeNamedArgument(type.GetField("ArraySubType"), marshalAs.ArraySubType);
464namedArgs[i++] = new CustomAttributeNamedArgument(type.GetField("SizeParamIndex"), marshalAs.SizeParamIndex);
465namedArgs[i++] = new CustomAttributeNamedArgument(type.GetField("SizeConst"), marshalAs.SizeConst);
466namedArgs[i++] = new CustomAttributeNamedArgument(type.GetField("IidParameterIndex"), marshalAs.IidParameterIndex);
467namedArgs[i++] = new CustomAttributeNamedArgument(type.GetField("SafeArraySubType"), marshalAs.SafeArraySubType);
469namedArgs[i++] = new CustomAttributeNamedArgument(type.GetField("MarshalType"), marshalAs.MarshalType);
471namedArgs[i++] = new CustomAttributeNamedArgument(type.GetField("MarshalTypeRef"), marshalAs.MarshalTypeRef);
473namedArgs[i++] = new CustomAttributeNamedArgument(type.GetField("MarshalCookie"), marshalAs.MarshalCookie);
475namedArgs[i++] = new CustomAttributeNamedArgument(type.GetField("SafeArrayUserDefinedSubType"), marshalAs.SafeArrayUserDefinedSubType);