ものがたり(旧)

atsushieno.hatenablog.com に続く

throw new Exception

Monoのコードはたまに(?)イケてない部分がある。Kazukiさんのパッチを見てて気付いた。


59: -if (this == CultureInfo.CurrentCulture.NumberFormat)
60: -throw new Exception ("HERE the value was modified");
61: + if (this == CultureInfo.CurrentCulture.NumberFormat)
62: + throw new Exception ("HERE the value was modified");

※元々のコードが悪いんであって、パッチが悪いわけじゃあないです。