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
1 changed files with 3 additions and 3 deletions
|
@ -21,10 +21,10 @@
|
||||||
|
|
||||||
}
|
}
|
||||||
public static class Unsafe {
|
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 bool AreSame<T>(ref T left, ref T right);
|
||||||
+ public static TTo As<TFrom, TTo>(ref TFrom source);
|
+ public static ref TTo As<TFrom, TTo>(ref TFrom source);
|
||||||
+ public static T Subtract<T>(ref T source, int elementOffset);
|
+ public static ref T Subtract<T>(ref T source, int elementOffset);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
Loading…
Reference in a new issue