According to Microsoft's documentation, Type.GetValue(object) will throw a NotSupportedException if "A field is marked literal, but the field does not have one of the accepted literal types."
I have no idea what it means to "mark a field as literal." I want to understand this so that I may know how to guard against this exception.
Aucun commentaire:
Enregistrer un commentaire