2 instantiations of DefaultExpression
System.Linq.Expressions (2)
System\Linq\Expressions\DefaultExpression.cs (2)
53return new DefaultExpression(typeof(void)); // Create new object each time for different identity 68return new DefaultExpression(type);
20 references to DefaultExpression
Microsoft.CodeAnalysis.VisualBasic.Emit.UnitTests (1)
ExpressionTrees\Sources\ExprLambdaUtils.vb (1)
206Protected Overrides Function VisitDefault(node As DefaultExpression) As Expression
netstandard (1)
netstandard.cs (1)
992[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Linq.Expressions.DefaultExpression))]
System.Core (1)
System.Core.cs (1)
130[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Linq.Expressions.DefaultExpression))]
System.Linq.Expressions (17)
System\Linq\Expressions\Compiler\LambdaCompiler.Logical.cs (2)
51var empty = node as DefaultExpression;
System\Linq\Expressions\Compiler\LambdaCompiler.Statements.cs (2)
131var node = (DefaultExpression)expr;
System\Linq\Expressions\ConditionalExpression.cs (1)
28if (ifFalse is DefaultExpression && ifFalse.Type == typeof(void))
System\Linq\Expressions\DebugViewWriter.cs (1)
985protected internal override Expression VisitDefault(DefaultExpression node)
System\Linq\Expressions\DefaultExpression.cs (5)
48/// A <see cref="DefaultExpression"/> that has the <see cref="NodeType"/> property equal to 51public static DefaultExpression Empty() 57/// Creates a <see cref="DefaultExpression"/> that has the <see cref="Type"/> property set to the specified type. 61/// A <see cref="DefaultExpression"/> that has the <see cref="NodeType"/> property equal to 64public static DefaultExpression Default(Type type)
System\Linq\Expressions\Expression.DebuggerProxy.cs (2)
129private readonly DefaultExpression _node; 131public DefaultExpressionProxy(DefaultExpression node)
System\Linq\Expressions\ExpressionStringBuilder.cs (1)
669protected internal override Expression VisitDefault(DefaultExpression node)
System\Linq\Expressions\ExpressionVisitor.cs (2)
258/// Visits the <see cref="DefaultExpression"/>. 263protected internal virtual Expression VisitDefault(DefaultExpression node)
System\Linq\Expressions\Utils.cs (1)
42public static readonly DefaultExpression Empty = Expression.Empty();