Example #1
0
 public void NewWithParameters([NotNull] Type type, [CanBeNull, ItemCanBeNull] params object[] arguments)
 {
     ConstructorTestHelpers.NewWithParameters(
         type,
         args => TypeExtensions.New(type, args),
         arguments);
 }
Example #2
0
 public void NewWithParameters([NotNull] Type type, [CanBeNull, ItemCanBeNull] params object[] arguments)
 {
     ConstructorTestHelpers.NewWithParameters(
         type,
         args =>
     {
         var immediateType = new ImmediateType(type);
         return(immediateType.New(args));
     },
         arguments);
 }