You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The detailed message of the CS0188 error is shown below
error CS0188: The 'this' object cannot be used before all of its fields have been assigned.
In the Currency struct constructor, it uses a local method called GetHash to set a value in a field called Hash. This violates the rule described above.
I think the problem would be solved if the field Hash didn't need to be defined, but rather calculated and used as needed.
The detailed message of the CS0188 error is shown below
error CS0188: The 'this' object cannot be used before all of its fields have been assigned.
In the Currency struct constructor, it uses a local method called
GetHash
to set a value in a field calledHash
. This violates the rule described above.I think the problem would be solved if the field
Hash
didn't need to be defined, but rather calculated and used as needed.libplanet/Libplanet.Types/Assets/Currency.cs
Line 246 in 87c5fdf
The text was updated successfully, but these errors were encountered: