Files
niko c12fbe3fc6 m
2026-04-12 16:51:38 +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: 0x02000380 RID: 896
[Token(Token = "0x2000380")]
public class ParallelOptions
{
/// <summary>Initializes a new instance of the <see cref="T:System.Threading.Tasks.ParallelOptions" /> class.</summary>
// Token: 0x060020E6 RID: 8422 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x60020E6")]
[Address(RVA = "0xB40AF0", Offset = "0xB3FAF0", VA = "0x180B40AF0")]
public ParallelOptions()
{
}
// Token: 0x17000490 RID: 1168
// (get) Token: 0x060020E7 RID: 8423 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x17000490")]
internal TaskScheduler EffectiveTaskScheduler
{
[Token(Token = "0x60020E7")]
[Address(RVA = "0xB40CC0", Offset = "0xB3FCC0", VA = "0x180B40CC0")]
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: 0x17000491 RID: 1169
// (get) Token: 0x060020E8 RID: 8424 RVA: 0x00015C78 File Offset: 0x00013E78
[Token(Token = "0x17000491")]
public int MaxDegreeOfParallelism
{
[Token(Token = "0x60020E8")]
[Address(RVA = "0x411540", Offset = "0x410540", VA = "0x180411540")]
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: 0x17000492 RID: 1170
// (get) Token: 0x060020E9 RID: 8425 RVA: 0x00015C90 File Offset: 0x00013E90
[Token(Token = "0x17000492")]
public CancellationToken CancellationToken
{
[Token(Token = "0x60020E9")]
[Address(RVA = "0x4157C0", Offset = "0x4147C0", VA = "0x1804157C0")]
get
{
return default(CancellationToken);
}
}
// Token: 0x17000493 RID: 1171
// (get) Token: 0x060020EA RID: 8426 RVA: 0x00015CA8 File Offset: 0x00013EA8
[Token(Token = "0x17000493")]
internal int EffectiveMaxConcurrencyLevel
{
[Token(Token = "0x60020EA")]
[Address(RVA = "0xB40BD0", Offset = "0xB3FBD0", VA = "0x180B40BD0")]
get
{
return 0;
}
}
// Token: 0x04001257 RID: 4695
[FieldOffset(Offset = "0x10")]
[Token(Token = "0x4001257")]
private TaskScheduler m_scheduler;
// Token: 0x04001258 RID: 4696
[FieldOffset(Offset = "0x18")]
[Token(Token = "0x4001258")]
private int m_maxDegreeOfParallelism;
// Token: 0x04001259 RID: 4697
[FieldOffset(Offset = "0x20")]
[Token(Token = "0x4001259")]
private CancellationToken m_cancellationToken;
}
}