Update 1.0-1.1-api-diff_System.Runtime.CompilerServices.md

Fix unsafe API changes that return a ref.
This commit is contained in:
nietras 2016-11-17 08:53:00 +01:00 committed by GitHub
parent c2a3cecf60
commit 2390aa71a5

View file

@ -21,10 +21,10 @@
}
public static class Unsafe {
+ public static T Add<T>(ref T source, int elementOffset);
+ public static ref T Add<T>(ref T source, int elementOffset);
+ public static bool AreSame<T>(ref T left, ref T right);
+ public static TTo As<TFrom, TTo>(ref TFrom source);
+ public static T Subtract<T>(ref T source, int elementOffset);
+ public static ref TTo As<TFrom, TTo>(ref TFrom source);
+ public static ref T Subtract<T>(ref T source, int elementOffset);
}
}
```