Files
Aug2021-Cpp2IL-Dump/System.Core/System/Linq/Expressions/NewArrayExpression.cs
T
2026-04-10 22:50:51 +02:00

86 lines
4.1 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 creating a new array and possibly initializing the elements of the new array.</summary>
// Token: 0x020000B6 RID: 182
[Token(Token = "0x20000B6")]
[DebuggerTypeProxy(typeof(Expression.NewArrayExpressionProxy))]
public class NewArrayExpression : Expression
{
// Token: 0x060004E9 RID: 1257 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x60004E9")]
[Address(RVA = "0x6BBB80", Offset = "0x6BA980", VA = "0x1806BBB80")]
internal NewArrayExpression(Type type, ReadOnlyCollection<Expression> expressions)
{
}
// Token: 0x060004EA RID: 1258 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x60004EA")]
[Address(RVA = "0x6BBC00", Offset = "0x6BAA00", VA = "0x1806BBC00")]
internal static NewArrayExpression Make(ExpressionType nodeType, Type type, ReadOnlyCollection<Expression> expressions)
{
return null;
}
/// <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.NewArrayExpression.Type" /> that represents the static type of the expression.</returns>
// Token: 0x170000D2 RID: 210
// (get) Token: 0x060004EB RID: 1259 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x170000D2")]
public sealed override Type Type
{
[Token(Token = "0x60004EB")]
[Address(RVA = "0x3F6E20", Offset = "0x3F5C20", VA = "0x1803F6E20", Slot = "5")]
[CompilerGenerated]
get
{
return null;
}
}
/// <summary>Gets the bounds of the array if the value of the <see cref="P:System.Linq.Expressions.Expression.NodeType" /> property is <see cref="F:System.Linq.Expressions.ExpressionType.NewArrayBounds" />, or the values to initialize the elements of the new array if the value of the <see cref="P:System.Linq.Expressions.Expression.NodeType" /> property is <see cref="F:System.Linq.Expressions.ExpressionType.NewArrayInit" />.</summary>
/// <returns>A <see cref="T:System.Collections.ObjectModel.ReadOnlyCollection`1" /> of <see cref="T:System.Linq.Expressions.Expression" /> objects which represent either the bounds of the array or the initialization values.</returns>
// Token: 0x170000D3 RID: 211
// (get) Token: 0x060004EC RID: 1260 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x170000D3")]
public ReadOnlyCollection<Expression> Expressions
{
[Token(Token = "0x60004EC")]
[Address(RVA = "0x3F5F40", Offset = "0x3F4D40", VA = "0x1803F5F40")]
[CompilerGenerated]
get
{
return null;
}
}
/// <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: 0x060004ED RID: 1261 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x60004ED")]
[Address(RVA = "0x5FAB40", Offset = "0x5F9940", VA = "0x1805FAB40", 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="expressions">The <see cref="P:System.Linq.Expressions.NewArrayExpression.Expressions" /> property of the result.</param>
/// <returns>This expression if no children are changed or an expression with the updated children.</returns>
// Token: 0x060004EE RID: 1262 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x60004EE")]
[Address(RVA = "0x6BBCB0", Offset = "0x6BAAB0", VA = "0x1806BBCB0")]
public NewArrayExpression Update(IEnumerable<Expression> expressions)
{
return null;
}
}
}