Update 1.0-1.1-api-diff_System.Runtime.CompilerServices.md
Fix unsafe API changes that return a ref.
This commit is contained in:
parent
c2a3cecf60
commit
2390aa71a5
|
@ -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);
|
||||
}
|
||||
}
|
||||
```
|
||||
|
|
Loading…
Reference in a new issue