public static Serialize ( |
||
member | The member to refer. | |
return |
internal static MemberAccess MemberAccess(MemberExpression expression) { return(new MemberAccess() { Expression = expression.Expression.Null(e => Serialize(e)), Member = MemberRef.Serialize(expression.Member), }.Apply(n => n.Type = TypeRef.Serialize(expression.Type))); }
public static MemberListBinding Serialize(E.MemberListBinding binding) { return(new MemberListBinding() { Member = MemberRef.Serialize(binding.Member), Initializers = binding.Initializers.Select(ElementInit.Serialize).ToArray(), }); }
public static MemberMemberBinding Serialize(E.MemberMemberBinding binding) { return(new MemberMemberBinding() { Member = MemberRef.Serialize(binding.Member), Bindings = binding.Bindings.Select(Serialize).ToArray(), }); }
public static MemberAssignment Serialize(E.MemberAssignment binding) { return(new MemberAssignment() { Member = MemberRef.Serialize(binding.Member), Expression = Node.Serialize(binding.Expression), }); }