示例#1
0
文件: UnsafeCode.cs 项目: riQQ/ILSpy
 public unsafe void PointerComparison(int *a, double *b)
 {
     UnsafeCode.UseBool(a == b);
     UnsafeCode.UseBool(a != b);
     UnsafeCode.UseBool(a < b);
     UnsafeCode.UseBool(a > b);
     UnsafeCode.UseBool(a <= b);
     UnsafeCode.UseBool(a >= b);
 }
示例#2
0
文件: UnsafeCode.cs 项目: riQQ/ILSpy
 public unsafe void PointerComparisonWithNull(int *a)
 {
     UnsafeCode.UseBool(a == null);
     UnsafeCode.UseBool(a != null);
 }