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