mscorlib(4.0.0.0) API with additions
DefaultExpression.cs
1 using System.Diagnostics;
2 
4 {
6  [DebuggerTypeProxy(typeof(DefaultExpressionProxy))]
7  [global::__DynamicallyInvokable]
8  public sealed class DefaultExpression : Expression
9  {
10  private readonly Type _type;
11 
14  [global::__DynamicallyInvokable]
15  public sealed override Type Type
16  {
17  [global::__DynamicallyInvokable]
18  get
19  {
20  return _type;
21  }
22  }
23 
26  [global::__DynamicallyInvokable]
27  public sealed override ExpressionType NodeType
28  {
29  [global::__DynamicallyInvokable]
30  get
31  {
32  return ExpressionType.Default;
33  }
34  }
35 
36  internal DefaultExpression(Type type)
37  {
38  _type = type;
39  }
40 
41  protected internal override Expression Accept(ExpressionVisitor visitor)
42  {
43  return visitor.VisitDefault(this);
44  }
45  }
46 }
Definition: __Canon.cs:3
Provides the base class from which the classes that represent expression tree nodes are derived....
Definition: Expression.cs:17
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.
sealed override ExpressionType NodeType
Returns the node type of this expression. Extension nodes should return F:System.Linq....
Represents the default value of a type or an empty expression.