191 lines
7.6 KiB
C#
191 lines
7.6 KiB
C#
using System;
|
|
using System.Collections;
|
|
using Cpp2IlInjected;
|
|
|
|
namespace System.Data
|
|
{
|
|
/// <summary>Represents a collection of rows for a <see cref="T:System.Data.DataTable" />.</summary>
|
|
// Token: 0x0200002F RID: 47
|
|
[Token(Token = "0x200002F")]
|
|
public sealed class DataRowCollection : InternalDataCollectionBase
|
|
{
|
|
// Token: 0x0600031C RID: 796 RVA: 0x0000206A File Offset: 0x0000026A
|
|
[Token(Token = "0x600031C")]
|
|
[Address(RVA = "0x52D890", Offset = "0x52C890", VA = "0x18052D890")]
|
|
internal DataRowCollection(DataTable table)
|
|
{
|
|
}
|
|
|
|
/// <summary>Gets the total number of <see cref="T:System.Data.DataRow" /> objects in this collection.</summary>
|
|
/// <returns>The total number of <see cref="T:System.Data.DataRow" /> objects in this collection.</returns>
|
|
// Token: 0x17000080 RID: 128
|
|
// (get) Token: 0x0600031D RID: 797 RVA: 0x00002B4C File Offset: 0x00000D4C
|
|
[Token(Token = "0x17000080")]
|
|
public override int Count
|
|
{
|
|
[Token(Token = "0x600031D")]
|
|
[Address(RVA = "0x52D940", Offset = "0x52C940", VA = "0x18052D940", Slot = "9")]
|
|
get
|
|
{
|
|
return 0;
|
|
}
|
|
}
|
|
|
|
/// <summary>Gets the row at the specified index.</summary>
|
|
/// <param name="index">The zero-based index of the row to return.</param>
|
|
/// <returns>The specified <see cref="T:System.Data.DataRow" />.</returns>
|
|
/// <exception cref="T:System.IndexOutOfRangeException">The index value is greater than the number of items in the collection.</exception>
|
|
// Token: 0x17000081 RID: 129
|
|
[Token(Token = "0x17000081")]
|
|
public DataRow this[int index]
|
|
{
|
|
[Token(Token = "0x600031E")]
|
|
[Address(RVA = "0x52D990", Offset = "0x52C990", VA = "0x18052D990")]
|
|
get
|
|
{
|
|
return null;
|
|
}
|
|
}
|
|
|
|
/// <summary>Adds the specified <see cref="T:System.Data.DataRow" /> to the <see cref="T:System.Data.DataRowCollection" /> object.</summary>
|
|
/// <param name="row">The <see cref="T:System.Data.DataRow" /> to add.</param>
|
|
/// <exception cref="T:System.ArgumentNullException">The row is null.</exception>
|
|
/// <exception cref="T:System.ArgumentException">The row either belongs to another table or already belongs to this table.</exception>
|
|
/// <exception cref="T:System.Data.ConstraintException">The addition invalidates a constraint.</exception>
|
|
/// <exception cref="T:System.Data.NoNullAllowedException">The addition tries to put a null in a <see cref="T:System.Data.DataColumn" /> where <see cref="P:System.Data.DataColumn.AllowDBNull" /> is false.</exception>
|
|
// Token: 0x0600031F RID: 799 RVA: 0x0000206A File Offset: 0x0000026A
|
|
[Token(Token = "0x600031F")]
|
|
[Address(RVA = "0x52D270", Offset = "0x52C270", VA = "0x18052D270")]
|
|
public void Add(DataRow row)
|
|
{
|
|
}
|
|
|
|
// Token: 0x06000320 RID: 800 RVA: 0x0000206A File Offset: 0x0000026A
|
|
[Token(Token = "0x6000320")]
|
|
[Address(RVA = "0x52D560", Offset = "0x52C560", VA = "0x18052D560")]
|
|
internal void DiffInsertAt(DataRow row, int pos)
|
|
{
|
|
}
|
|
|
|
/// <summary>Gets the index of the specified <see cref="T:System.Data.DataRow" /> object.</summary>
|
|
/// <param name="row">The <see langword="DataRow" /> to search for.</param>
|
|
/// <returns>The zero-based index of the row, or -1 if the row is not found in the collection.</returns>
|
|
// Token: 0x06000321 RID: 801 RVA: 0x00002B64 File Offset: 0x00000D64
|
|
[Token(Token = "0x6000321")]
|
|
[Address(RVA = "0x52D800", Offset = "0x52C800", VA = "0x18052D800")]
|
|
public int IndexOf(DataRow row)
|
|
{
|
|
return 0;
|
|
}
|
|
|
|
// Token: 0x06000322 RID: 802 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x6000322")]
|
|
[Address(RVA = "0x52D160", Offset = "0x52C160", VA = "0x18052D160")]
|
|
internal DataRow AddWithColumnEvents(params object[] values)
|
|
{
|
|
return null;
|
|
}
|
|
|
|
// Token: 0x06000323 RID: 803 RVA: 0x0000206A File Offset: 0x0000026A
|
|
[Token(Token = "0x6000323")]
|
|
[Address(RVA = "0x52D2B0", Offset = "0x52C2B0", VA = "0x18052D2B0")]
|
|
internal void ArrayAdd(DataRow row)
|
|
{
|
|
}
|
|
|
|
// Token: 0x06000324 RID: 804 RVA: 0x0000206A File Offset: 0x0000026A
|
|
[Token(Token = "0x6000324")]
|
|
[Address(RVA = "0x52D370", Offset = "0x52C370", VA = "0x18052D370")]
|
|
internal void ArrayInsert(DataRow row, int pos)
|
|
{
|
|
}
|
|
|
|
// Token: 0x06000325 RID: 805 RVA: 0x0000206A File Offset: 0x0000026A
|
|
[Token(Token = "0x6000325")]
|
|
[Address(RVA = "0x52D320", Offset = "0x52C320", VA = "0x18052D320")]
|
|
internal void ArrayClear()
|
|
{
|
|
}
|
|
|
|
// Token: 0x06000326 RID: 806 RVA: 0x0000206A File Offset: 0x0000026A
|
|
[Token(Token = "0x6000326")]
|
|
[Address(RVA = "0x52D3F0", Offset = "0x52C3F0", VA = "0x18052D3F0")]
|
|
internal void ArrayRemove(DataRow row)
|
|
{
|
|
}
|
|
|
|
/// <summary>Copies all the <see cref="T:System.Data.DataRow" /> objects from the collection into the given array, starting at the given destination array index.</summary>
|
|
/// <param name="ar">The one-dimensional array that is the destination of the elements copied from the <see langword="DataRowCollection" />. The array must have zero-based indexing.</param>
|
|
/// <param name="index">The zero-based index in the array at which copying begins.</param>
|
|
// Token: 0x06000327 RID: 807 RVA: 0x0000206A File Offset: 0x0000026A
|
|
[Token(Token = "0x6000327")]
|
|
[Address(RVA = "0x52D4F0", Offset = "0x52C4F0", VA = "0x18052D4F0", Slot = "10")]
|
|
public override void CopyTo(Array ar, int index)
|
|
{
|
|
}
|
|
|
|
/// <summary>Copies all the <see cref="T:System.Data.DataRow" /> objects from the collection into the given array, starting at the given destination array index.</summary>
|
|
/// <param name="array">The one-dimensional array that is the destination of the elements copied from the <see langword="DataRowCollection" />. The array must have zero-based indexing.</param>
|
|
/// <param name="index">The zero-based index in the array at which copying begins.</param>
|
|
// Token: 0x06000328 RID: 808 RVA: 0x0000206A File Offset: 0x0000026A
|
|
[Token(Token = "0x6000328")]
|
|
[Address(RVA = "0x52D480", Offset = "0x52C480", VA = "0x18052D480")]
|
|
public void CopyTo(DataRow[] array, int index)
|
|
{
|
|
}
|
|
|
|
/// <summary>Gets an <see cref="T:System.Collections.IEnumerator" /> for this collection.</summary>
|
|
/// <returns>An <see cref="T:System.Collections.IEnumerator" /> for this collection.</returns>
|
|
// Token: 0x06000329 RID: 809 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x6000329")]
|
|
[Address(RVA = "0x52D7B0", Offset = "0x52C7B0", VA = "0x18052D7B0", Slot = "11")]
|
|
public override IEnumerator GetEnumerator()
|
|
{
|
|
return null;
|
|
}
|
|
|
|
// Token: 0x040000A0 RID: 160
|
|
[FieldOffset(Offset = "0x10")]
|
|
[Token(Token = "0x40000A0")]
|
|
private readonly DataTable _table;
|
|
|
|
// Token: 0x040000A1 RID: 161
|
|
[FieldOffset(Offset = "0x18")]
|
|
[Token(Token = "0x40000A1")]
|
|
private readonly DataRowCollection.DataRowTree _list;
|
|
|
|
// Token: 0x040000A2 RID: 162
|
|
[FieldOffset(Offset = "0x20")]
|
|
[Token(Token = "0x40000A2")]
|
|
internal int _nullInList;
|
|
|
|
// Token: 0x02000030 RID: 48
|
|
[Token(Token = "0x2000030")]
|
|
private sealed class DataRowTree : RBTree<DataRow>
|
|
{
|
|
// Token: 0x0600032A RID: 810 RVA: 0x0000206A File Offset: 0x0000026A
|
|
[Token(Token = "0x600032A")]
|
|
[Address(RVA = "0x52DA70", Offset = "0x52CA70", VA = "0x18052DA70")]
|
|
internal DataRowTree()
|
|
{
|
|
}
|
|
|
|
// Token: 0x0600032B RID: 811 RVA: 0x00002B7C File Offset: 0x00000D7C
|
|
[Token(Token = "0x600032B")]
|
|
[Address(RVA = "0x52D9F0", Offset = "0x52C9F0", VA = "0x18052D9F0", Slot = "5")]
|
|
protected override int CompareNode(DataRow record1, DataRow record2)
|
|
{
|
|
return 0;
|
|
}
|
|
|
|
// Token: 0x0600032C RID: 812 RVA: 0x00002B94 File Offset: 0x00000D94
|
|
[Token(Token = "0x600032C")]
|
|
[Address(RVA = "0x52DA30", Offset = "0x52CA30", VA = "0x18052DA30", Slot = "6")]
|
|
protected override int CompareSateliteTreeNode(DataRow record1, DataRow record2)
|
|
{
|
|
return 0;
|
|
}
|
|
}
|
|
}
|
|
}
|