Reflection mscorlib [00 00 00 00 00 00 00 00 04 00 00 00 00 00 00 00 ] 1.0.5000.0 2.0.0.0 4.0.0.0 All public static members of this type are safe for multithreaded operations. No instance members are guaranteed to be thread safe. System.Object System.Runtime.InteropServices.ClassInterface(System.Runtime.InteropServices.ClassInterfaceType.AutoDual) System.Runtime.InteropServices.ComVisible(true)

Implementations of the class are used by methods such as , which selects from a set of possible members to execute, based on a set of parameter types and argument values; , which selects a method based on parameter types; and so on.

A default implementation of the class is provided by the property.

Selects a member from a list of candidates, and performs type conversion from actual argument type to formal argument type.

- Constructor
  1.0.5000.0
  2.0.0.0
  4.0.0.0

  This constructor is called by the constructors of derived classes, to initialize state in this type.

  Initializes a new instance of the class.

  0
- Method
  1.0.5000.0
  2.0.0.0
  4.0.0.0
  System.Reflection.FieldInfo `` `` `` ``

  If does not include , the default binder implementation provided by simply returns the first element of . No selection is done.

  This method controls the binding provided by .

  Selects a field from the given set of fields, based on the specified criteria.

  The matching field.

  A bitwise combination of values. The set of fields that are candidates for matching. For example, when a object is used by , this parameter specifies the set of fields that reflection has determined to be possible matches, typically because they have the correct member name. The default implementation provided by changes the order of this array. The field value used to locate a matching field. An instance of that is used to control the coercion of data types, in binder implementations that coerce types. If is null, the for the current thread is used. 0
- Method
  1.0.5000.0
  2.0.0.0
  4.0.0.0
  System.Reflection.MethodBase `` `` `` `` `` `` `` A bitwise combination of values that control the binding process. For requirements, see the Behaviors section. An array of objects that represent the set of methods that Reflection has determined to be a possible match, typically because they have the correct member name. An array of objects that represent the parameters passed in the method invocation. The types, values, and order of the elements of this array might be changed by this method to match the signature of the selected method.

  The only defined value for this parameter is .

  The only defined value for this parameter is .

  A array containing the names of methods to be searched.

  A binder-provided that keeps track of parameter reordering. The object is totally defined by the implementer of the class. This object is if the binder does not reorder the argument array of the bound method.

  Selects a method based on the specified criteria.

  A instance that reflects the method that matches to the specified criteria. It is not required that this instance be contained in . If a suitable method is not found, returns .

  If is not , the system invokes after this method returns. This allows a caller to map the argument array of a method back to the original form if the order has been altered by . This is useful if arguments are in the argument array, because the caller can retrieve those arguments in their original order on return from this method. When arguments are passed by name (i.e., using named arguments), the binder reorders the argument array and that is what the caller sees. This method insures that the original order of the arguments is restored.

  For the parameter, the caller is required to specify either or , and either or . If at least one value from each pair is not specified, this method is required to return .

  The method is permitted to change the order of the argument array of a method call only if the binder returns, via the parameter, a non-null opaque object that records the original order of the argument array. If, on return from , is not , the system calls .

  0
- Method
  1.0.5000.0
  2.0.0.0
  4.0.0.0
  System.Object `` `` ``

  Reflection models the accessibility rules of the common type system. For example, if the caller is in the same assembly, the caller does not need special permissions for internal members. Otherwise, the caller needs . This is consistent with lookup of members that are protected, private, and so on.

  The general principle is that ChangeType should perform only widening coercions, which never lose data. An example of a widening coercion is coercing a value that is a 32-bit signed integer to a value that is a 64-bit signed integer. This is distinguished from a narrowing coercion, which may lose data. An example of a narrowing coercion is coercing a 64-bit signed integer to a 32-bit signed integer.

  The following table lists the coercions performed by the default ChangeType.

  Source type

  Target type

  Any type

  Its base type.

  Any type

  The interface it implements.

  Char

  UInt16, UInt32, Int32, UInt64, Int64, Single, Double

  Byte

  Char, UInt16, Int16, UInt32, Int32, UInt64, Int64, Single, Double

  SByte

  Int16, Int32, Int64, Single, Double

  UInt16

  UInt32, Int32, UInt64, Int64, Single, Double

  Int16

  Int32, Int64, Single, Double

  UInt32

  UInt64, Int64, Single, Double

  Int32

  Int64, Single, Double

  UInt64

  Single, Double

  Int64

  Single, Double

  Single

  Double

  Non-reference

  By-reference.

  Changes the type of the given Object to the given Type.

  An object that contains the given value as the new type.

  The object to change into a new Type. The new Type that will become. An instance of that is used to control the coercion of data types. If is null, the for the current thread is used. 0
- Method
  1.0.5000.0
  2.0.0.0
  4.0.0.0
  System.Void `` `` An array of objects whose elements represent the parameters passed to the bound method in their original order.

  A binder-provided opaque object that keeps track of parameter reordering. This object is the same object that was passed as the parameter in the invocation of that caused to be called.

  To be added.

  Restores the specified set of parameters to their original order after a call to .

  When a method call is bound to a method through reflection using , the order, value, and type of the parameters in the original method call can be changed to match the signature of the bound method. The binder creates as an opaque object that records the original order of the argument array. If, on return from , is not , the system calls . This allows a caller to map the argument array of a method back to the original form if the order had been altered by . This is useful if arguments are in the argument array, because the caller can retrieve those arguments in their original order on return from this method. When arguments are passed by name (i.e., using named arguments), the binder reorders the argument array and that is what the caller sees. This method insures that the original order of the arguments is restored.

  is required to be a non-null that tracks the original ordering of if is reordered by a call to . This method is required to restore the elements of to their original order, value, and

  Implement this method to insure that the parameters contained in are returned to their original order, and value, after being used by a bound method.

  Use this method to insure that the parameters contained in are returned to their original order, and value, after being used by a bound method.

  0
- Method
  1.0.5000.0
  2.0.0.0
  4.0.0.0
  System.Reflection.MethodBase `` `` `` ``

  This method should return null if no method matches the criteria. This method controls the selection provided by the GetConstructor and GetMethod methods on Type.

  Selects a method from the given set of methods, based on the argument type.

  The matching method, if found; otherwise, null.

  A bitwise combination of values. The set of methods that are candidates for matching. For example, when a object is used by , this parameter specifies the set of methods that reflection has determined to be possible matches, typically because they have the correct member name. The default implementation provided by changes the order of this array. The parameter types used to locate a matching method. An array of parameter modifiers that enable binding to work with parameter signatures in which the types have been modified. 0
- Method
  1.0.5000.0
  2.0.0.0
  4.0.0.0
  System.Reflection.PropertyInfo `` `` `` `` ``

  This method controls the selection provided by the GetProperty method on Type.

  Selects a property from the given set of properties, based on the specified criteria.

  The matching property.

  A bitwise combination of values. The set of properties that are candidates for matching. For example, when a object is used by , this parameter specifies the set of properties that reflection has determined to be possible matches, typically because they have the correct member name. The default implementation provided by changes the order of this array. The return value the matching property must have. The index types of the property being searched for. Used for index properties such as the indexer for a class. An array of parameter modifiers that enable binding to work with parameter signatures in which the types have been modified. 0
0