2 instantiations of DefaultExpression
System.Core (2)
Microsoft\Scripting\Ast\DefaultExpression.cs (2)
71return new DefaultExpression(typeof(void)); 86return new DefaultExpression(type);
16 references to DefaultExpression
System.Core (16)
Microsoft\Scripting\Ast\ConditionalExpression.cs (1)
48} if (ifFalse is DefaultExpression && ifFalse.Type == typeof(void)) {
Microsoft\Scripting\Ast\DebugViewWriter.cs (1)
963protected internal override Expression VisitDefault(DefaultExpression node) {
Microsoft\Scripting\Ast\DefaultExpression.cs (5)
67/// A <see cref="DefaultExpression"/> that has the <see cref="P:Expression.NodeType"/> property equal to 70public static DefaultExpression Empty() { 75/// Creates a <see cref="DefaultExpression"/> that has the <see cref="P:Expression.Type"/> property set to the specified type. 79/// A <see cref="DefaultExpression"/> that has the <see cref="P:Expression.NodeType"/> property equal to 82public static DefaultExpression Default(Type type) {
Microsoft\Scripting\Ast\Expression.DebuggerProxy.cs (2)
131private readonly DefaultExpression _node; 133public DefaultExpressionProxy(DefaultExpression node) {
Microsoft\Scripting\Ast\ExpressionStringBuilder.cs (1)
702protected internal override Expression VisitDefault(DefaultExpression node) {
Microsoft\Scripting\Ast\ExpressionVisitor.cs (2)
289/// Visits the <see cref="DefaultExpression" />. 294protected internal virtual Expression VisitDefault(DefaultExpression node) {
Microsoft\Scripting\Compiler\LambdaCompiler.Logical.cs (2)
64var empty = node as DefaultExpression;
Microsoft\Scripting\Compiler\LambdaCompiler.Statements.cs (2)
132var node = (DefaultExpression)expr;