@@ -380,7 +380,7 @@ public static object call_cdeclfunction(CodeContext context, IntPtr address, Pyt
380380
381381 _CFuncPtr func = ( _CFuncPtr ) funcType . CreateInstance ( context , address ) ;
382382
383- return PythonOps . CallWithArgsTuple ( func , new object [ 0 ] , args ) ;
383+ return PythonOps . CallWithArgsTuple ( func , System . Array . Empty < object > ( ) , args ) ;
384384 }
385385
386386 public static void call_commethod ( ) {
@@ -399,7 +399,7 @@ public static object call_function(CodeContext context, IntPtr address, PythonTu
399399
400400 _CFuncPtr func = ( _CFuncPtr ) funcType . CreateInstance ( context , address ) ;
401401
402- return PythonOps . CallWithArgsTuple ( func , new object [ 0 ] , args ) ;
402+ return PythonOps . CallWithArgsTuple ( func , System . Array . Empty < object > ( ) , args ) ;
403403 }
404404
405405 private static CFuncPtrType GetFunctionType ( CodeContext context , int flags ) {
@@ -513,7 +513,7 @@ private static ModuleBuilder DynamicModule {
513513 lock ( _lock ) {
514514 if ( _dynamicModule == null ) {
515515 var attributes = new [ ] {
516- new CustomAttributeBuilder ( typeof ( UnverifiableCodeAttribute ) . GetConstructor ( ReflectionUtils . EmptyTypes ) , new object [ 0 ] ) ,
516+ new CustomAttributeBuilder ( typeof ( UnverifiableCodeAttribute ) . GetConstructor ( ReflectionUtils . EmptyTypes ) , System . Array . Empty < object > ( ) ) ,
517517#if ! NETCOREAPP && ! NETSTANDARD
518518 //PermissionSet(SecurityAction.Demand, Unrestricted = true)
519519 new CustomAttributeBuilder ( typeof ( PermissionSetAttribute ) . GetConstructor ( new Type [ ] { typeof ( SecurityAction ) } ) ,
0 commit comments