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

68 lines
2.4 KiB
C#

using System;
using System.Collections.ObjectModel;
using System.Reflection;
using System.Runtime.CompilerServices;
using Cpp2IlInjected;
namespace System.Linq.Expressions
{
/// <summary>Represents an initializer for a single element of an <see cref="T:System.Collections.IEnumerable" /> collection.</summary>
// Token: 0x0200008B RID: 139
[Token(Token = "0x200008B")]
public sealed class ElementInit : IArgumentProvider
{
/// <summary>Gets the instance method that is used to add an element to an <see cref="T:System.Collections.IEnumerable" /> collection.</summary>
/// <returns>A <see cref="T:System.Reflection.MethodInfo" /> that represents an instance method that adds an element to a collection.</returns>
// Token: 0x17000099 RID: 153
// (get) Token: 0x060003DC RID: 988 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x17000099")]
public MethodInfo AddMethod
{
[Token(Token = "0x60003DC")]
[Address(RVA = "0x411530", Offset = "0x410530", VA = "0x180411530")]
[CompilerGenerated]
get
{
return null;
}
}
/// <summary>Gets the collection of arguments that are passed to a method that adds an element to an <see cref="T:System.Collections.IEnumerable" /> collection.</summary>
/// <returns>A <see cref="T:System.Collections.ObjectModel.ReadOnlyCollection`1" /> of <see cref="T:System.Linq.Expressions.Expression" /> objects that represent the arguments for a method that adds an element to a collection.</returns>
// Token: 0x1700009A RID: 154
// (get) Token: 0x060003DD RID: 989 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x1700009A")]
public ReadOnlyCollection<Expression> Arguments
{
[Token(Token = "0x60003DD")]
[Address(RVA = "0x4157B0", Offset = "0x4147B0", VA = "0x1804157B0")]
[CompilerGenerated]
get
{
return null;
}
}
// Token: 0x060003DE RID: 990 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x60003DE")]
[Address(RVA = "0x861070", Offset = "0x860070", VA = "0x180861070", Slot = "4")]
public Expression GetArgument(int index)
{
return null;
}
// Token: 0x1700009B RID: 155
// (get) Token: 0x060003DF RID: 991 RVA: 0x00002DD8 File Offset: 0x00000FD8
[Token(Token = "0x1700009B")]
public int ArgumentCount
{
[Token(Token = "0x60003DF")]
[Address(RVA = "0x8610D0", Offset = "0x8600D0", VA = "0x1808610D0", Slot = "5")]
get
{
return 0;
}
}
}
}