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
{{ message }}
This repository was archived by the owner on Aug 27, 2026. It is now read-only.
Repository navigation
This repository was archived by the owner on Aug 27, 2026. It is now read-only.
class-parse fails when windows culture is French #129
While generating the binding for ExoPlayer, i stumbled upon this annoying bug.
A workaround is to change in Windows the default digit separator from "," (europe) to "." (usa)
Wrong generated code:
[Register ("DIMEN_UNSET")]
public const float DimenUnset = (float) 1,401298E-45;
Should be instead:
[Register ("DIMEN_UNSET")]
public const float DimenUnset = (float) 1.401298E-45;
This means the float value is formatted using the default culture instead of the invariant culture.
changed the title [-]class-parse fails with exoplayer when windows culture is French[/-][+]class-parse fails when windows culture is French[/+]on Mar 9, 2017
Activity
softlion commentedon Mar 9, 2017
another sample
[-]class-parse fails with exoplayer when windows culture is French[/-][+]class-parse fails when windows culture is French[/+][class-parse] Use InvariantCulture to format floating-point values
[class-parse] Use InvariantCulture to format floating-point values (#131
Bump to Java.Interop/master/e35b03eb
Bump to Java.Interop/master/e35b03eb
Bump to Java.Interop/master/e35b03eb (#507)
Bump to Java.Interop/master/c794fabb
bump Java.Interop to get updated cecil
Bump to Java.Interop/master/cd2e96be (#534)
Bump to xamarin/xamarin-android-tools/main@34e98e2b (#887)
[class-parse] Use InvariantCulture to format floating-point values (#131