Files
27Aug2021-Cpp2IL-Dump/System.Core/System/Linq/Expressions/BlockExpression.cs
T
niko c12fbe3fc6 m
2026-04-12 16:51:38 +02:00

151 lines
5.5 KiB
C#

using System;
using System.Collections.ObjectModel;
using System.Diagnostics;
using System.Diagnostics.CodeAnalysis;
using Cpp2IlInjected;
namespace System.Linq.Expressions
{
/// <summary>Represents a block that contains a sequence of expressions where variables can be defined.</summary>
// Token: 0x02000074 RID: 116
[Token(Token = "0x2000074")]
[DebuggerTypeProxy(typeof(Expression.BlockExpressionProxy))]
public class BlockExpression : Expression
{
/// <summary>Gets the expressions in this block.</summary>
/// <returns>The read-only collection containing all the expressions in this block.</returns>
// Token: 0x17000071 RID: 113
// (get) Token: 0x06000368 RID: 872 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x17000071")]
public ReadOnlyCollection<Expression> Expressions
{
[Token(Token = "0x6000368")]
[Address(RVA = "0x85E360", Offset = "0x85D360", VA = "0x18085E360")]
get
{
return null;
}
}
/// <summary>Gets the variables defined in this block.</summary>
/// <returns>The read-only collection containing all the variables defined in this block.</returns>
// Token: 0x17000072 RID: 114
// (get) Token: 0x06000369 RID: 873 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x17000072")]
public ReadOnlyCollection<ParameterExpression> Variables
{
[Token(Token = "0x6000369")]
[Address(RVA = "0x85E3F0", Offset = "0x85D3F0", VA = "0x18085E3F0")]
get
{
return null;
}
}
// Token: 0x0600036A RID: 874 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x600036A")]
[Address(RVA = "0x85E2C0", Offset = "0x85D2C0", VA = "0x18085E2C0")]
internal BlockExpression()
{
}
/// <summary>Dispatches to the specific visit method for this node type. For example, <see cref="T:System.Linq.Expressions.MethodCallExpression" /> calls the <see cref="M:System.Linq.Expressions.ExpressionVisitor.VisitMethodCall(System.Linq.Expressions.MethodCallExpression)" />.</summary>
/// <param name="visitor">The visitor to visit this node with.</param>
/// <returns>The result of visiting this node.</returns>
// Token: 0x0600036B RID: 875 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x600036B")]
[Address(RVA = "0x85E020", Offset = "0x85D020", VA = "0x18085E020", Slot = "9")]
protected internal override Expression Accept(ExpressionVisitor visitor)
{
return null;
}
/// <summary>Returns the node type of this expression. Extension nodes should return <see cref="F:System.Linq.Expressions.ExpressionType.Extension" /> when overriding this method.</summary>
/// <returns>The <see cref="T:System.Linq.Expressions.ExpressionType" /> of the expression.</returns>
// Token: 0x17000073 RID: 115
// (get) Token: 0x0600036C RID: 876 RVA: 0x00002BB0 File Offset: 0x00000DB0
[Token(Token = "0x17000073")]
public sealed override ExpressionType NodeType
{
[Token(Token = "0x600036C")]
[Address(RVA = "0x85E380", Offset = "0x85D380", VA = "0x18085E380", Slot = "4")]
get
{
return ExpressionType.Add;
}
}
/// <summary>Gets the static type of the expression that this <see cref="T:System.Linq.Expressions.Expression" /> represents.</summary>
/// <returns>The <see cref="P:System.Linq.Expressions.BlockExpression.Type" /> that represents the static type of the expression.</returns>
// Token: 0x17000074 RID: 116
// (get) Token: 0x0600036D RID: 877 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x17000074")]
public override Type Type
{
[Token(Token = "0x600036D")]
[Address(RVA = "0x85E390", Offset = "0x85D390", VA = "0x18085E390", Slot = "5")]
get
{
return null;
}
}
// Token: 0x0600036E RID: 878 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x600036E")]
[Address(RVA = "0x85E050", Offset = "0x85D050", VA = "0x18085E050", Slot = "10")]
[ExcludeFromCodeCoverage]
internal virtual Expression GetExpression(int index)
{
return null;
}
// Token: 0x17000075 RID: 117
// (get) Token: 0x0600036F RID: 879 RVA: 0x00002BC8 File Offset: 0x00000DC8
[Token(Token = "0x17000075")]
[ExcludeFromCodeCoverage]
internal virtual int ExpressionCount
{
[Token(Token = "0x600036F")]
[Address(RVA = "0x85E320", Offset = "0x85D320", VA = "0x18085E320", Slot = "11")]
get
{
return 0;
}
}
// Token: 0x06000370 RID: 880 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6000370")]
[Address(RVA = "0x85E090", Offset = "0x85D090", VA = "0x18085E090", Slot = "12")]
[ExcludeFromCodeCoverage]
internal virtual ReadOnlyCollection<Expression> GetOrMakeExpressions()
{
return null;
}
// Token: 0x06000371 RID: 881 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6000371")]
[Address(RVA = "0x85E0D0", Offset = "0x85D0D0", VA = "0x18085E0D0", Slot = "13")]
internal virtual ReadOnlyCollection<ParameterExpression> GetOrMakeVariables()
{
return null;
}
// Token: 0x06000372 RID: 882 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6000372")]
[Address(RVA = "0x85E280", Offset = "0x85D280", VA = "0x18085E280", Slot = "14")]
[ExcludeFromCodeCoverage]
internal virtual BlockExpression Rewrite(ReadOnlyCollection<ParameterExpression> variables, Expression[] args)
{
return null;
}
// Token: 0x06000373 RID: 883 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6000373")]
[Address(RVA = "0x85E130", Offset = "0x85D130", VA = "0x18085E130")]
internal static ReadOnlyCollection<Expression> ReturnReadOnlyExpressions(BlockExpression provider, ref object collection)
{
return null;
}
}
}