mscorlib(4.0.0.0) API with additions
RuntimeVariablesExpression.cs
3 using System.Diagnostics;
5 
7 {
9  [DebuggerTypeProxy(typeof(RuntimeVariablesExpressionProxy))]
10  [global::__DynamicallyInvokable]
11  public sealed class RuntimeVariablesExpression : Expression
12  {
13  private readonly ReadOnlyCollection<ParameterExpression> _variables;
14 
17  [global::__DynamicallyInvokable]
18  public sealed override Type Type
19  {
20  [global::__DynamicallyInvokable]
21  get
22  {
23  return typeof(IRuntimeVariables);
24  }
25  }
26 
29  [global::__DynamicallyInvokable]
30  public sealed override ExpressionType NodeType
31  {
32  [global::__DynamicallyInvokable]
33  get
34  {
35  return ExpressionType.RuntimeVariables;
36  }
37  }
38 
41  [global::__DynamicallyInvokable]
43  {
44  [global::__DynamicallyInvokable]
45  get
46  {
47  return _variables;
48  }
49  }
50 
52  {
53  _variables = variables;
54  }
55 
56  protected internal override Expression Accept(ExpressionVisitor visitor)
57  {
58  return visitor.VisitRuntimeVariables(this);
59  }
60 
64  [global::__DynamicallyInvokable]
66  {
67  if (variables == Variables)
68  {
69  return this;
70  }
71  return Expression.RuntimeVariables(variables);
72  }
73  }
74 }
Definition: __Canon.cs:3
RuntimeVariablesExpression Update(IEnumerable< ParameterExpression > variables)
Creates a new expression that is like this one, but using the supplied children. If all of the childr...
Exposes the enumerator, which supports a simple iteration over a collection of a specified type....
Definition: IEnumerable.cs:9
Provides the base class from which the classes that represent expression tree nodes are derived....
Definition: Expression.cs:17
An expression that provides runtime read/write permission for variables.
Represents type declarations: class types, interface types, array types, value types,...
Definition: Type.cs:18
ExpressionType
Describes the node types for the nodes of an expression tree.
ReadOnlyCollection< ParameterExpression > Variables
The variables or parameters to which to provide runtime access.
sealed override ExpressionType NodeType
Returns the node type of this Expression. Extension nodes should return F:System.Linq....
Represents the values of run-time variables.