Definition at line 3116 of file RuntimeType.cs.
3117 {
3120 {
3122 }
3124 {
3126 }
3129 object result;
3131 {
3133 }
3134 else
3135 {
3139 for (
int i = 0;
i <
args.Length;
i++)
3140 {
3143 {
3145 }
3146 }
3148 {
3150 {
3152 }
3153 }
3154 if (
list.Count == 0)
3155 {
3156 throw new MissingMethodException(SR.Format(SR.MissingConstructor_Name,
FullName));
3157 }
3159 object state =
null;
3161 try
3162 {
3164 }
3165 catch (MissingMethodException)
3166 {
3168 }
3170 {
3171 throw new MissingMethodException(SR.Format(SR.MissingConstructor_Name,
FullName));
3172 }
3173 if (
methodBase.GetParametersNoCopy().Length == 0)
3174 {
3175 if (
args.Length != 0)
3176 {
3177 throw new NotSupportedException(SR.NotSupported_CallToVarArg);
3178 }
3180 }
3181 else
3182 {
3185 {
3187 }
3188 }
3189 }
3190 return result;
3191 }
void Add(TKey key, TValue value)
object CreateInstanceDefaultCtor(bool publicOnly, bool wrapExceptions)
bool IsGenericCOMObjectImpl()
static bool FilterApplyConstructorInfo(RuntimeConstructorInfo constructor, BindingFlags bindingFlags, CallingConventions callConv, Type[] argumentTypes)
void CreateInstanceCheckThis()
ConstructorInfo[] GetConstructors()
References System.Collections.Generic.Dictionary< TKey, TValue >.Add(), System.array, System.Activator.CreateInstance(), System.RuntimeType.CreateInstanceCheckThis(), System.RuntimeType.CreateInstanceDefaultCtor(), System.culture, System.Type.DefaultBinder, System.RuntimeType.FilterApplyConstructorInfo(), System.SR.Format(), System.RuntimeType.FullName, System.Type.GetConstructors(), System.RuntimeType.IsGenericCOMObjectImpl(), System.list, System.match, System.SR.MissingConstructor_Name, System.SR.NotSupported_CallToVarArg, System.obj, and System.state.