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
// using System.Linq.Expressions.Expression;
// using static Microsoft.CSharp.RuntimeBinder.Binder;
Dynamic(
InvokeMember(flags, "Method", new Type[] { }, context, argInfos),
typeof(object), new[] { obj }
)
Some thoughts:
I would want RenderLiteral to allow for extensible behavior. In other words, not every place we use RenderLiteral do we want to return a literal for binders.
Particularly since this is only the C# binders; each additional language may have other binders.
Activity