Example #1
0
 public bool Equals(ValueTypeReference <T> other)
 {
     return(underlyingReference.Equals(other.underlyingReference));
 }
Example #2
0
 public static ValueTypeReference <T> FromValueType(object valueType, Type type)
 {
     return(new ValueTypeReference <T>(ValueTypeReference.FromValueType(valueType, type)));
 }
Example #3
0
 private ValueTypeReference(ValueTypeReference underlyingReference)
 {
     this.underlyingReference = underlyingReference;
 }
Example #4
0
 public static ValueTypeReference <T> FromValueType(T valueType)
 {
     return(new ValueTypeReference <T>(ValueTypeReference.FromValueType(valueType)));
 }
Example #5
0
 public ValueTypeReference(IntPtr memoryAddress)
 {
     underlyingReference = new ValueTypeReference(memoryAddress);
 }