Skip to content

Commit

Permalink
Trying something out
Browse files Browse the repository at this point in the history
  • Loading branch information
Simnico99 committed Sep 15, 2022
1 parent 828edfa commit 8903274
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ZirconNet.Core/Runtime/DynamicClass.cs
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ public DynamicClass(in DynamicClassField[] fields)
_fields = new Dictionary<string, KeyValuePair<Type, object?>>();
foreach (var field in fields)
{
_fields.Add(field.FieldName, new KeyValuePair<Type, object?>(field.FieldType, field.Value));
_fields.Add(new string(field.FieldName), new KeyValuePair<Type, object?>(field.FieldType, field.Value));
}
}

Expand Down

0 comments on commit 8903274

Please sign in to comment.