Skip to content

Commit

Permalink
Build breaks:
Browse files Browse the repository at this point in the history
  • Loading branch information
jkotas committed Dec 7, 2023
1 parent 713d3ca commit 03ac629
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/coreclr/System.Private.CoreLib/src/System/ArgIterator.cs
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,12 @@ public unsafe ref partial struct ArgIterator
{
private IntPtr _argCookie; // Cookie from the EE.

// The SigPointer structure consists of the following members. (Note: this is an inline native SigPointer data type)
// Note: this is an inline native SigPointer data type.
private IntPtr _sigPtr; // Pointer to remaining signature.
private IntPtr _sigPtrLen; // Remaining length of the pointer

// Note, _sigPtrLen is actually a UInt32, but on 64bit systems this structure becomes
// Note, this is actually a UInt32, but on 64bit systems SigPointer structure becomes
// 8-byte aligned, which requires us to pad it.
private IntPtr _sigPtrLenAndPadding_DoNotUse; // Remaining length of the pointer

private IntPtr _argPtr; // Pointer to remaining args.
private int _remainingArgs; // # of remaining args.
Expand Down Expand Up @@ -70,7 +70,7 @@ public TypedReference GetNextArg()
// can't do this operation
ThrowHelper.ThrowNotSupportedException();
}

// Make sure there are remaining args.
if (_remainingArgs == 0)
{
Expand Down Expand Up @@ -104,7 +104,7 @@ public TypedReference GetNextArg(RuntimeTypeHandle rth)
// location in memory and read the contents.
if (_argPtr == IntPtr.Zero)
{
throw new ArgumentNullException();
throw new ArgumentNullException(null);
}

if (rth.IsNullHandle())
Expand Down

0 comments on commit 03ac629

Please sign in to comment.