121 voteszjv shared this idea ·
248 voteszjv commented
It would be nice if one could also easily import DLL's from projects in the current solution !
127 votesstarted · Adminfsharporg-lang (F# Software Foundation Language Group, F# Software Foundation) respondedzjv commented
Would really like this feature. Currently I have some ugly code with a hardcoded string in F# which I would like to improve. A nameof would make the code much safer against refactorings.
let foo (x) = ...
let fooType = foo.GetType().DeclaringType.GetMethod("foo")
let fooExpr = Expr.TryGetReflectedDefinition(fooType)