It seems you're using the local decimal denoter when writing floats and doubles. Take this example, in a Danish locale:
Notice the two decimal numbers use comma instead of period. Comma is the standard in Denmark, but it means the produced code is useless.
EDIT:
Actually, it seems to only happen in some cases.
Vector2 vector2 =
new
Vector2((
float
)rectangle.Width * 0,5, (
float
)rectangle.Height * 0,5);
Notice the two decimal numbers use comma instead of period. Comma is the standard in Denmark, but it means the produced code is useless.
EDIT:
Actually, it seems to only happen in some cases.