You've already forked linux-packaging-mono
Imported Upstream version 5.10.0.47
Former-commit-id: d0813289fa2d35e1f8ed77530acb4fb1df441bc0
This commit is contained in:
parent
88ff76fe28
commit
e46a49ecf1
@ -431,8 +431,10 @@ namespace MonoTests.System.Reflection
|
||||
Assert.IsFalse (lvi.IsPinned, "#3-1");
|
||||
|
||||
if (/* mcs */ lvi.LocalType == typeof (byte*) || /* csc */ lvi.LocalType == typeof (byte).MakeByRefType ()) {
|
||||
foundPinnedBytePointer = true;
|
||||
Assert.IsTrue (lvi.IsPinned, "#3-2");
|
||||
// We have three locals. There's b the byte[], there's a byte* and there's a byte&.
|
||||
// mcs emits a byte* for the latter type.
|
||||
// We need to find one such pinned byte pointer. Therefore we're folding with logical or
|
||||
foundPinnedBytePointer = foundPinnedBytePointer || lvi.IsPinned;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user