Compiler Error C3610
'valuetype': value type must be 'boxed' before method 'method' can be called
By default, a value type is not on the managed heap. Before you can call methods from .NET runtime classes, such as Object
, you need to move the value type to the managed heap.
C3610 is only reachable using the obsolete compiler option /clr:oldSyntax.
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for