2 instantiations of DefaultExpression
System.Linq.Expressions (2)
System\Linq\Expressions\DefaultExpression.cs (2)
53
return new
DefaultExpression
(typeof(void)); // Create new object each time for different identity
68
return new
DefaultExpression
(type);
20 references to DefaultExpression
Microsoft.CodeAnalysis.VisualBasic.Emit.UnitTests (1)
ExpressionTrees\Sources\ExprLambdaUtils.vb (1)
206
Protected 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)
51
var
empty = node as
DefaultExpression
;
System\Linq\Expressions\Compiler\LambdaCompiler.Statements.cs (2)
131
var
node = (
DefaultExpression
)expr;
System\Linq\Expressions\ConditionalExpression.cs (1)
28
if (ifFalse is
DefaultExpression
&& ifFalse.Type == typeof(void))
System\Linq\Expressions\DebugViewWriter.cs (1)
985
protected 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
51
public 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
64
public static
DefaultExpression
Default(Type type)
System\Linq\Expressions\Expression.DebuggerProxy.cs (2)
129
private readonly
DefaultExpression
_node;
131
public DefaultExpressionProxy(
DefaultExpression
node)
System\Linq\Expressions\ExpressionStringBuilder.cs (1)
669
protected internal override Expression VisitDefault(
DefaultExpression
node)
System\Linq\Expressions\ExpressionVisitor.cs (2)
258
/// Visits the <see cref="
DefaultExpression
"/>.
263
protected internal virtual Expression VisitDefault(
DefaultExpression
node)
System\Linq\Expressions\Utils.cs (1)
42
public static readonly
DefaultExpression
Empty = Expression.Empty();