© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•4y ago•
1 reply
Gcww

❔ How to check if reference type field in mono_field_get_value is null

As the topic of this post suggest, in Mono, I am currently trying to use
mono_field_get_value
mono_field_get_value
on a field that is a reference type (Its a class) but its giving me exception errors because the value is uninitialized and its null. Is there a way to check or handle null values with
mono_field_get_value
mono_field_get_value
or is there a way to check beforehand if its null?
C# banner
C#Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

How to tell if a variable is a reference or value data type
C#CC# / help
12mo ago
Converting null literal or possible null value to non-nullable type.
C#CC# / help
2y ago
❔ Converting null iteral or possible null value to non-nullable type
C#CC# / help
3y ago
❔ Check if Type is static
C#CC# / help
3y ago