128 lines
4.3 KiB
C#
128 lines
4.3 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Diagnostics;
|
|
using System.Reflection;
|
|
using System.Runtime.CompilerServices;
|
|
using Cpp2IlInjected;
|
|
|
|
namespace System.Linq.Expressions
|
|
{
|
|
/// <summary>Represents indexing a property or array.</summary>
|
|
// Token: 0x0200008F RID: 143
|
|
[Token(Token = "0x200008F")]
|
|
[DebuggerTypeProxy(typeof(Expression.IndexExpressionProxy))]
|
|
public sealed class IndexExpression : Expression, IArgumentProvider
|
|
{
|
|
// Token: 0x06000441 RID: 1089 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x6000441")]
|
|
[Address(RVA = "0x5BD890", Offset = "0x5BC690", VA = "0x1805BD890")]
|
|
internal IndexExpression(Expression instance, PropertyInfo indexer, IReadOnlyList<Expression> arguments)
|
|
{
|
|
}
|
|
|
|
/// <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: 0x1700008B RID: 139
|
|
// (get) Token: 0x06000442 RID: 1090 RVA: 0x00002C58 File Offset: 0x00000E58
|
|
[Token(Token = "0x1700008B")]
|
|
public sealed override ExpressionType NodeType
|
|
{
|
|
[Token(Token = "0x6000442")]
|
|
[Address(RVA = "0x5BD980", Offset = "0x5BC780", VA = "0x1805BD980", 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.IndexExpression.Type" /> that represents the static type of the expression.</returns>
|
|
// Token: 0x1700008C RID: 140
|
|
// (get) Token: 0x06000443 RID: 1091 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x1700008C")]
|
|
public sealed override Type Type
|
|
{
|
|
[Token(Token = "0x6000443")]
|
|
[Address(RVA = "0x5BD990", Offset = "0x5BC790", VA = "0x1805BD990", Slot = "5")]
|
|
get
|
|
{
|
|
return null;
|
|
}
|
|
}
|
|
|
|
/// <summary>An object to index.</summary>
|
|
/// <returns>The <see cref="T:System.Linq.Expressions.Expression" /> representing the object to index.</returns>
|
|
// Token: 0x1700008D RID: 141
|
|
// (get) Token: 0x06000444 RID: 1092 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x1700008D")]
|
|
public Expression Object
|
|
{
|
|
[Token(Token = "0x6000444")]
|
|
[Address(RVA = "0x3F5F40", Offset = "0x3F4D40", VA = "0x1803F5F40")]
|
|
[CompilerGenerated]
|
|
get
|
|
{
|
|
return null;
|
|
}
|
|
}
|
|
|
|
/// <summary>Gets the <see cref="T:System.Reflection.PropertyInfo" /> for the property if the expression represents an indexed property, returns null otherwise.</summary>
|
|
/// <returns>The <see cref="T:System.Reflection.PropertyInfo" /> for the property if the expression represents an indexed property, otherwise null.</returns>
|
|
// Token: 0x1700008E RID: 142
|
|
// (get) Token: 0x06000445 RID: 1093 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x1700008E")]
|
|
public PropertyInfo Indexer
|
|
{
|
|
[Token(Token = "0x6000445")]
|
|
[Address(RVA = "0x3F6400", Offset = "0x3F5200", VA = "0x1803F6400")]
|
|
[CompilerGenerated]
|
|
get
|
|
{
|
|
return null;
|
|
}
|
|
}
|
|
|
|
// Token: 0x06000446 RID: 1094 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x6000446")]
|
|
[Address(RVA = "0x5BD7A0", Offset = "0x5BC5A0", VA = "0x1805BD7A0", Slot = "10")]
|
|
public Expression GetArgument(int index)
|
|
{
|
|
return null;
|
|
}
|
|
|
|
// Token: 0x1700008F RID: 143
|
|
// (get) Token: 0x06000447 RID: 1095 RVA: 0x00002C70 File Offset: 0x00000E70
|
|
[Token(Token = "0x1700008F")]
|
|
public int ArgumentCount
|
|
{
|
|
[Token(Token = "0x6000447")]
|
|
[Address(RVA = "0x5BD930", Offset = "0x5BC730", VA = "0x1805BD930", Slot = "11")]
|
|
get
|
|
{
|
|
return 0;
|
|
}
|
|
}
|
|
|
|
// Token: 0x06000448 RID: 1096 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x6000448")]
|
|
[Address(RVA = "0x5BD770", Offset = "0x5BC570", VA = "0x1805BD770", Slot = "9")]
|
|
protected internal override Expression Accept(ExpressionVisitor visitor)
|
|
{
|
|
return null;
|
|
}
|
|
|
|
// Token: 0x06000449 RID: 1097 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x6000449")]
|
|
[Address(RVA = "0x5BD800", Offset = "0x5BC600", VA = "0x1805BD800")]
|
|
internal Expression Rewrite(Expression instance, Expression[] arguments)
|
|
{
|
|
return null;
|
|
}
|
|
|
|
// Token: 0x040001AD RID: 429
|
|
[FieldOffset(Offset = "0x10")]
|
|
[Token(Token = "0x40001AD")]
|
|
private IReadOnlyList<Expression> _arguments;
|
|
}
|
|
}
|