Esempio n. 1
0
 public static T CompareExchange <T>(ref T location1, T value, T comparand) where T : class
 {
     Interlocked._CompareExchange(__makeref(location1), __makeref(value), comparand);
     return(value);
 }