The binding would attempt to globally cache the IsSome and GetValue method on FSharpOption<>, the issue is that this type is generic specific, meaning if you had different option types like option<int32> and option<bool> it would throw an argument exception because of the type mismatch.
This PR fixes that by removing this behavior completely, the IsSome and GetValue methods are retrieved every time per type.
Summary
The binding would attempt to globally cache the
IsSome
andGetValue
method onFSharpOption<>
, the issue is that this type is generic specific, meaning if you had different option types likeoption<int32>
andoption<bool>
it would throw an argument exception because of the type mismatch.This PR fixes that by removing this behavior completely, the
IsSome
andGetValue
methods are retrieved every time per type.Fixes #65