Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ GetConstructor() [1/5]

ConstructorInfo? System.Type.GetConstructor ( BindingFlags bindingAttr,
Binder? binder,
CallingConventions callConvention,
Type[] types,
ParameterModifier?[] modifiers )
inlineinherited

Definition at line 560 of file Type.cs.

561 {
562 if (types == null)
563 {
564 throw new ArgumentNullException("types");
565 }
566 for (int i = 0; i < types.Length; i++)
567 {
568 if (types[i] == null)
569 {
570 throw new ArgumentNullException("types");
571 }
572 }
573 return GetConstructorImpl(bindingAttr, binder, callConvention, types, modifiers);
574 }
ConstructorInfo? GetConstructorImpl(BindingFlags bindingAttr, Binder? binder, CallingConventions callConvention, Type[] types, ParameterModifier[]? modifiers)

References System.Type.GetConstructorImpl().