#regionassembly mscorlib, Version = 4.0.0.0, Culture = neutral, PublicKeyToken = b77a5c561934e089
// C: \ Program Files (x86) \ Reference Assemblies \ Microsoft \ Framework \ .NETFramework \ v4.6.1 \ mscorlib.dll
#endregion
using System.Reflection;
using System.Runtime.InteropServices;
using System.Runtime.Versioning;
using System.Security;
namespace System
{
//
// Abstract:
// Description contains both managed pointers to a location and possible storage at that location The type of runtime representation of the object.
[CLSCompliant ( false )]
[ComVisible ( true )]
[NonVersionableAttribute]
public struct TypedReference
{
//
// Summary:
// Return the target type of the specified TypedReference.
//
// Parameters:
// value:
// To return the value of its target type.
//
// Return result:
// Return the target type of the specified TypedReference.
public static Type GetTargetType (TypedReference value);
//
// Abstract:
// Generate TypedReference for the field identified by the specified object and field description list.
//
// Parameters:
// target:
// An object containing the field described by the first element of flds.
//
// flds:
// Field description list, where the field described by each element contains the field described by subsequent elements. Each stated field must be of value type. The field description must be the RuntimeFieldInfo // object provided by the type system
.
//
// return the result:
// System.TypedReference field by the last element of flds explained.
//
// Exception:
// T: System.ArgumentNullException:
// target or flds is null. -Or- The element of flds is null.
//
// T: System.ArgumentException:
// The flds array does not contain any elements. -Or- The element of flds is not a RuntimeFieldInfo object. -Or- The attributes of the flds element System.Reflection.FieldInfo.IsInitOnly
// or the value of System.Reflection.FieldInfo.IsStatic is true.
//
// T: System.MissingMemberException:
// The parameter target does not contain the field described by the first element of flds, or the field described by the element of flds is not included in the field described by the subsequent element of flds. -Or- The field described by the element of flds
// is not a value type.
[CLSCompliant ( false )]
[SecurityCritical]
public static TypedReference MakeTypedReference ( object target, FieldInfo [] flds);
//
// Abstract:
// Convert the specified value to TypedReference. This method is not supported.
//
// Parameter:
// target:
// The target of conversion.
//
// value:
// The value to be converted.
//
// Exception:
// T: System.NotSupportedException:
// In all cases.
[CLSCompliant ( false )]
[SecuritySafeCritical]
public static void SetTypedReference (TypedReference target, object value);
//
// Abstract:
// Returns the internal metadata type handle of the specified TypedReference.
//
// Parameters:
// value:
// Request a TypedReference for this type of handle.
//
// Return result:
// Specify the internal metadata type handle of TypedReference.
public static RuntimeTypeHandle TargetTypeToken (TypedReference value);
//
// Summary:
// Convert the specified TypedReference to Object.
//
// Parameter:
// value:
// TypedReference to be converted.
//
// Return result:
// System.Object, converted from TypedReference.
[SecuritySafeCritical]
public static object ToObject (TypedReference value);
//
// Summary:
// Check if the object is equal to the specified object.
//
// Parameters:
// o:
// Object used to compare with the current object.
//
// Return result:
// If the object is equal to the specified object, it is true; otherwise it is false.
//
// Exception:
// T: System.NotSupportedException:
// This method is not implemented.
public override bool Equals (object o);
//
// Summary:
// Return the hash code of this object.
//
// Return result:
// Hash code of this object.
public override int GetHashCode ();
}
}