Skip to content

Commit

Permalink
Fix a few issues
Browse files Browse the repository at this point in the history
  • Loading branch information
stephentoub committed Mar 26, 2020
1 parent 493a3f3 commit b84f162
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
// See the LICENSE file in the project root for more information.

using System.Diagnostics;
using System.Runtime.CompilerServices;
using System.Runtime.Intrinsics;
using System.Runtime.Intrinsics.X86;
using System.Numerics;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

using System.Buffers;
using System.Diagnostics;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;

#if SYSTEM_PRIVATE_CORELIB
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
using System.Buffers;
using System.Diagnostics;
using System.Numerics;
using System.Runtime.CompilerServices;
using System.Runtime.Intrinsics;
using System.Runtime.Intrinsics.X86;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

using System.Diagnostics;
using System.Numerics;
using System.Runtime.CompilerServices;
using System.Runtime.Intrinsics.X86;

#if SYSTEM_PRIVATE_CORELIB
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -522,14 +522,14 @@ internal ref byte GetRawArrayData()
[Intrinsic]
private void GetGenericValueImpl<T>(int pos, out T value)
{
Array? self = this;
Array self = this;
GetGenericValue_icall(ref self, pos, out value);
}

[Intrinsic]
private void SetGenericValueImpl<T>(int pos, ref T value)
{
Array? self = this;
Array self = this;
SetGenericValue_icall(ref self, pos, ref value);
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ private void InitializeForCurrentThread(int skipFrames, bool needFileInfo)

private void InitializeForException(Exception e, int skipFrames, bool needFileInfo)
{
MonoStackFrame[]? frames = get_trace(e, skipFrames, needFileInfo);
MonoStackFrame[] frames = get_trace(e, skipFrames, needFileInfo);
_numOfFrames = frames.Length;

int foreignFrames;
Expand Down

0 comments on commit b84f162

Please sign in to comment.