You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Make reflected definitions easy to access [10922358]
Submitted by zjv on 12/1/2015 12:00:00 AM 3 votes on UserVoice prior to migration
Given a reflected function like this:
[<ReflectedDefinition(true)>]
let foo (x) = ...
I would like to be able to get the reflected definition like this:
foo.TryGetReflectedDefinition()
instead of ugly code like this (note how I had to write the method name as a string):
let fooType = foo.GetType().DeclaringType.GetMethod("foo")
let fooExpr = Expr.TryGetReflectedDefinition(fooType)
Make reflected definitions easy to access [10922358]
Submitted by zjv on 12/1/2015 12:00:00 AM
3 votes on UserVoice prior to migration
Given a reflected function like this:
[<ReflectedDefinition(true)>]
let foo (x) = ...
I would like to be able to get the reflected definition like this:
foo.TryGetReflectedDefinition()
instead of ugly code like this (note how I had to write the method name as a string):
let fooType = foo.GetType().DeclaringType.GetMethod("foo")
let fooExpr = Expr.TryGetReflectedDefinition(fooType)
Response
** by fslang-admin on 2/3/2016 12:00:00 AM **
See comment from Don Syme
Original UserVoice Submission
Archived Uservoice Comments
The text was updated successfully, but these errors were encountered: