scripts
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
using System;
|
||||
using System.Collections.ObjectModel;
|
||||
|
||||
namespace System.Linq.Expressions
|
||||
{
|
||||
/// <summary>Represents a strongly typed lambda expression as a data structure in the form of an expression tree. This class cannot be inherited.</summary>
|
||||
/// <typeparam name="TDelegate">The type of the delegate that the <see cref="T:System.Linq.Expressions.Expression`1" /> represents.</typeparam>
|
||||
// Token: 0x02000003 RID: 3
|
||||
public sealed class Expression<TDelegate> : LambdaExpression
|
||||
{
|
||||
// Token: 0x06000002 RID: 2 RVA: 0x000020F4 File Offset: 0x000002F4
|
||||
internal Expression(Expression body, ReadOnlyCollection<ParameterExpression> parameters)
|
||||
: base(typeof(TDelegate), body, parameters)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Compiles the lambda expression described by the expression tree into executable code.</summary>
|
||||
/// <returns>A delegate of type <paramref name="TDelegate" /> that represents the lambda expression described by the <see cref="T:System.Linq.Expressions.Expression`1" />.</returns>
|
||||
// Token: 0x06000003 RID: 3 RVA: 0x00002108 File Offset: 0x00000308
|
||||
public new TDelegate Compile()
|
||||
{
|
||||
return (TDelegate)((object)base.Compile());
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user