On Fri, Apr 23, 2010 at 7:01 PM, Dino Viehland <di...@microsoft.com> wrote: > I think removing optional should give you the correct behavior - if that > Works then yes it is the expected behavior :).
No, removing Optional makes the parameter required. > > I guess we're checking for Optional before DefaultValue and for Optional we > are matching the reflection behavior of passing Missing.Value. It also gives > you a way to disambiguate whether the user passed None/null or if they > didn't provide the parameter. Maybe check if DefaultValue is provided? It's definitely surprising that adding DefaultValue(null) doesn't set it to null. - Jeff _______________________________________________ Users mailing list Users@lists.ironpython.com http://lists.ironpython.com/listinfo.cgi/users-ironpython.com