public sealed override object ActivatorCreateInstance(Type type, BindingFlags bindingAttr, Binder binder, object[] args, CultureInfo culture, object[] activationAttributes)
 {
     return(ActivatorImplementation.CreateInstance(type, bindingAttr, binder, args, culture, activationAttributes));
 }
Esempio n. 2
0
 public sealed override object ActivatorCreateInstance(
     [DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.PublicConstructors | DynamicallyAccessedMemberTypes.NonPublicConstructors)]
     Type type, BindingFlags bindingAttr, Binder?binder, object?[]?args, CultureInfo?culture, object?[]?activationAttributes)
 {
     return(ActivatorImplementation.CreateInstance(type, bindingAttr, binder, args, culture, activationAttributes));
 }
 public sealed override object ActivatorCreateInstance(Type type, bool nonPublic)
 {
     return(ActivatorImplementation.CreateInstance(type, nonPublic));
 }
Esempio n. 4
0
 public sealed override object ActivatorCreateInstance(
     [DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.PublicConstructors | DynamicallyAccessedMemberTypes.NonPublicConstructors)]
     Type type, bool nonPublic)
 {
     return(ActivatorImplementation.CreateInstance(type, nonPublic));
 }