PostSharp 6.9 / / Post­Sharp Documentation / API Reference / Post­Sharp.​Reflection Namespace / Custom­Reflection­Binder Class / Custom­Reflection­Binder Methods / Custom­Reflection­Binder.​Reorder­Argument­Array Method

CustomReflectionBinder.ReorderArgumentArray Method

Upon returning from BindToMethod(BindingFlags, MethodBase[], Object[], ParameterModifier[], CultureInfo, String[], Object), restores the args argument to what it was when it came from BindToMethod.

Namespace:  PostSharp.Reflection
Assembly:  PostSharp (in PostSharp.dll) Version: 6.9.11.0 (6.9.11.0)
Syntax
C#
public override void ReorderArgumentArray(
	ref Object[] args,
	Object state
)

Parameters

args
Type: System.Object[]
The actual arguments that are passed in. Both the types and values of the arguments can be changed.
state
Type: System.Object
A binder-provided object that keeps track of argument reordering.
See Also