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

141 lines
5.6 KiB
C#

using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Diagnostics;
using System.Runtime.CompilerServices;
using Cpp2IlInjected;
namespace System.Linq.Expressions
{
/// <summary>Represents a try/catch/finally/fault block.</summary>
// Token: 0x020000D0 RID: 208
[Token(Token = "0x20000D0")]
[DebuggerTypeProxy(typeof(Expression.TryExpressionProxy))]
public sealed class TryExpression : Expression
{
// Token: 0x06000615 RID: 1557 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6000615")]
[Address(RVA = "0x10DE260", Offset = "0x10DD260", VA = "0x1810DE260")]
internal TryExpression(Type type, Expression body, Expression @finally, Expression fault, ReadOnlyCollection<CatchBlock> handlers)
{
}
/// <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.TryExpression.Type" /> that represents the static type of the expression.</returns>
// Token: 0x1700013E RID: 318
// (get) Token: 0x06000616 RID: 1558 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x1700013E")]
public sealed override Type Type
{
[Token(Token = "0x6000616")]
[Address(RVA = "0x411530", Offset = "0x410530", VA = "0x180411530", Slot = "5")]
[CompilerGenerated]
get
{
return null;
}
}
/// <summary>Returns the node type of this <see cref="T:System.Linq.Expressions.Expression" />.</summary>
/// <returns>The <see cref="T:System.Linq.Expressions.ExpressionType" /> that represents this expression.</returns>
// Token: 0x1700013F RID: 319
// (get) Token: 0x06000617 RID: 1559 RVA: 0x000032E8 File Offset: 0x000014E8
[Token(Token = "0x1700013F")]
public sealed override ExpressionType NodeType
{
[Token(Token = "0x6000617")]
[Address(RVA = "0x10DE300", Offset = "0x10DD300", VA = "0x1810DE300", Slot = "4")]
get
{
return ExpressionType.Add;
}
}
/// <summary>Gets the <see cref="T:System.Linq.Expressions.Expression" /> representing the body of the try block.</summary>
/// <returns>The <see cref="T:System.Linq.Expressions.Expression" /> representing the body of the try block.</returns>
// Token: 0x17000140 RID: 320
// (get) Token: 0x06000618 RID: 1560 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x17000140")]
public Expression Body
{
[Token(Token = "0x6000618")]
[Address(RVA = "0x4157B0", Offset = "0x4147B0", VA = "0x1804157B0")]
[CompilerGenerated]
get
{
return null;
}
}
/// <summary>Gets the collection of <see cref="T:System.Linq.Expressions.CatchBlock" /> expressions associated with the try block.</summary>
/// <returns>The collection of <see cref="T:System.Linq.Expressions.CatchBlock" /> expressions associated with the try block.</returns>
// Token: 0x17000141 RID: 321
// (get) Token: 0x06000619 RID: 1561 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x17000141")]
public ReadOnlyCollection<CatchBlock> Handlers
{
[Token(Token = "0x6000619")]
[Address(RVA = "0x4157C0", Offset = "0x4147C0", VA = "0x1804157C0")]
[CompilerGenerated]
get
{
return null;
}
}
/// <summary>Gets the <see cref="T:System.Linq.Expressions.Expression" /> representing the finally block.</summary>
/// <returns>The <see cref="T:System.Linq.Expressions.Expression" /> representing the finally block.</returns>
// Token: 0x17000142 RID: 322
// (get) Token: 0x0600061A RID: 1562 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x17000142")]
public Expression Finally
{
[Token(Token = "0x600061A")]
[Address(RVA = "0x4157D0", Offset = "0x4147D0", VA = "0x1804157D0")]
[CompilerGenerated]
get
{
return null;
}
}
/// <summary>Gets the <see cref="T:System.Linq.Expressions.Expression" /> representing the fault block.</summary>
/// <returns>The <see cref="T:System.Linq.Expressions.Expression" /> representing the fault block.</returns>
// Token: 0x17000143 RID: 323
// (get) Token: 0x0600061B RID: 1563 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x17000143")]
public Expression Fault
{
[Token(Token = "0x600061B")]
[Address(RVA = "0x4157E0", Offset = "0x4147E0", VA = "0x1804157E0")]
[CompilerGenerated]
get
{
return null;
}
}
// Token: 0x0600061C RID: 1564 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x600061C")]
[Address(RVA = "0x10DE130", Offset = "0x10DD130", VA = "0x1810DE130", Slot = "9")]
protected internal override Expression Accept(ExpressionVisitor visitor)
{
return null;
}
/// <summary>Creates a new expression that is like this one, but using the supplied children. If all of the children are the same, it will return this expression.</summary>
/// <param name="body">The <see cref="P:System.Linq.Expressions.TryExpression.Body" /> property of the result.</param>
/// <param name="handlers">The <see cref="P:System.Linq.Expressions.TryExpression.Handlers" /> property of the result.</param>
/// <param name="finally">The <see cref="P:System.Linq.Expressions.TryExpression.Finally" /> property of the result.</param>
/// <param name="fault">The <see cref="P:System.Linq.Expressions.TryExpression.Fault" /> property of the result.</param>
/// <returns>This expression if no children are changed or an expression with the updated children.</returns>
// Token: 0x0600061D RID: 1565 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x600061D")]
[Address(RVA = "0x10DE160", Offset = "0x10DD160", VA = "0x1810DE160")]
public TryExpression Update(Expression body, IEnumerable<CatchBlock> handlers, Expression @finally, Expression fault)
{
return null;
}
}
}