Files
2026-04-10 22:50:51 +02:00

92 lines
3.0 KiB
C#

using System;
using Cpp2IlInjected;
namespace System.Threading.Tasks
{
/// <summary>Stores options that configure the operation of methods on the <see cref="T:System.Threading.Tasks.Parallel" /> class.</summary>
// Token: 0x02000364 RID: 868
[Token(Token = "0x2000364")]
public class ParallelOptions
{
/// <summary>Initializes a new instance of the <see cref="T:System.Threading.Tasks.ParallelOptions" /> class.</summary>
// Token: 0x06001EDA RID: 7898 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6001EDA")]
[Address(RVA = "0x1D99580", Offset = "0x1D98380", VA = "0x181D99580")]
public ParallelOptions()
{
}
// Token: 0x17000419 RID: 1049
// (get) Token: 0x06001EDB RID: 7899 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x17000419")]
internal TaskScheduler EffectiveTaskScheduler
{
[Token(Token = "0x6001EDB")]
[Address(RVA = "0x1D99750", Offset = "0x1D98550", VA = "0x181D99750")]
get
{
return null;
}
}
/// <summary>Gets or sets the maximum number of concurrent tasks enabled by this <see cref="T:System.Threading.Tasks.ParallelOptions" /> instance.</summary>
/// <returns>An integer that represents the maximum degree of parallelism.</returns>
/// <exception cref="T:System.ArgumentOutOfRangeException">The property is being set to zero or to a value that is less than -1.</exception>
// Token: 0x1700041A RID: 1050
// (get) Token: 0x06001EDC RID: 7900 RVA: 0x000138A8 File Offset: 0x00011AA8
[Token(Token = "0x1700041A")]
public int MaxDegreeOfParallelism
{
[Token(Token = "0x6001EDC")]
[Address(RVA = "0x40B720", Offset = "0x40A520", VA = "0x18040B720")]
get
{
return 0;
}
}
/// <summary>Gets or sets the <see cref="T:System.Threading.CancellationToken" /> associated with this <see cref="T:System.Threading.Tasks.ParallelOptions" /> instance.</summary>
/// <returns>The token that is associated with this instance.</returns>
// Token: 0x1700041B RID: 1051
// (get) Token: 0x06001EDD RID: 7901 RVA: 0x000138C0 File Offset: 0x00011AC0
[Token(Token = "0x1700041B")]
public CancellationToken CancellationToken
{
[Token(Token = "0x6001EDD")]
[Address(RVA = "0x3F6400", Offset = "0x3F5200", VA = "0x1803F6400")]
get
{
return default(CancellationToken);
}
}
// Token: 0x1700041C RID: 1052
// (get) Token: 0x06001EDE RID: 7902 RVA: 0x000138D8 File Offset: 0x00011AD8
[Token(Token = "0x1700041C")]
internal int EffectiveMaxConcurrencyLevel
{
[Token(Token = "0x6001EDE")]
[Address(RVA = "0x1D99660", Offset = "0x1D98460", VA = "0x181D99660")]
get
{
return 0;
}
}
// Token: 0x04001194 RID: 4500
[FieldOffset(Offset = "0x10")]
[Token(Token = "0x4001194")]
private TaskScheduler m_scheduler;
// Token: 0x04001195 RID: 4501
[FieldOffset(Offset = "0x18")]
[Token(Token = "0x4001195")]
private int m_maxDegreeOfParallelism;
// Token: 0x04001196 RID: 4502
[FieldOffset(Offset = "0x20")]
[Token(Token = "0x4001196")]
private CancellationToken m_cancellationToken;
}
}