Skip to content

Commit

Permalink
.NET: Fix T not getting assigned to valuetype
Browse files Browse the repository at this point in the history
  • Loading branch information
praydog committed May 12, 2024
1 parent bd4634e commit 2727d61
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions csharp-api/REFrameworkNET/ValueType.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ public ref class ValueType : public UnifiedObject {
ValueType(TypeDefinition^ t)
{
m_data = gcnew array<uint8_t>(t->ValueTypeSize);
m_type = t;
pin_ptr<uint8_t> data = &m_data[0];
}

Expand Down

0 comments on commit 2727d61

Please sign in to comment.