We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fef1201 commit 487731dCopy full SHA for 487731d
Src/StackMemoryCollections/GenerateStack.cs
@@ -675,7 +675,7 @@ private void StackTop(
675
in string sizeOfStr
676
)
677
{
678
- if (typeInfo.IsUnmanagedType)
+ if (typeInfo.IsValueType)
679
680
builder.Append($@"
681
[SkipLocalsInit]
Src/Tests/StackOfTestStructFixture.cs
@@ -1,8 +1,5 @@
1
using NUnit.Framework;
2
-using StackMemoryAttributes.Attributes;
3
-using StackMemoryCollections.Attibutes;
4
using System;
5
-using System.Collections.Generic;
6
using System.Runtime.CompilerServices;
7
8
namespace Tests
0 commit comments