i18n yellow screen of death

2019-07-07 15:00发布

System.InvalidOperationException:Värdet null kan inte tilldelas en medlem av typen System.Boolean eftersom den är en värdetyp som inte kan ha värdet null.

Thank you Microsoft, intentions are good, I know. As if anybody who really finds this information useful would also consider Swedish as the coding lingua franca. The Moldavians can just turn to Moldavian StackOverflow and post their queries for speedy help.

Does anybody know how to get these messages in English?

2条回答
我命由我不由天
2楼-- · 2019-07-07 15:16

The exception messages are controlled by the thread's culture. You can find some workaround suggestions here.

查看更多
贼婆χ
3楼-- · 2019-07-07 15:36

Google translate gives us:

The value null can not be awarded to a member of type System.Boolean because it is a value type that can not be null value.

Edit: Event though this translation is not perfect it gives us a good idea of the problem. Here is my transalatio nof the translation ;-)

The value null cannot be assigned to a member of type System.Boolean because it is a value type that cannot be a null value.

For the record, I think only the Nullable<> value type can be assigned a null value.

查看更多
登录 后发表回答