#pragma warning restore CA1822 // Mark members as static /// <summary> /// Initializes a new instance of the <see cref="YieldAwaiter"/> struct. /// </summary> internal YieldAwaiter(TaskController taskController, SystemCompiler.YieldAwaitable.YieldAwaiter awaiter) { this.TaskController = taskController; this.Awaiter = awaiter; }
/// <summary> /// Initializes a new instance of the <see cref="YieldAwaitable"/> struct. /// </summary> internal YieldAwaitable(SystemCompiler.YieldAwaitable.YieldAwaiter awaiter) { this.Awaiter = new YieldAwaiter(ref awaiter); }
/// <summary> /// Initializes a new instance of the <see cref="YieldAwaiter"/> struct. /// </summary> internal YieldAwaiter(ref SystemCompiler.YieldAwaitable.YieldAwaiter awaiter) { this.Awaiter = awaiter; }
#pragma warning restore CA1822 // Mark members as static /// <summary> /// Initializes a new instance of the <see cref="YieldAwaiter"/> struct. /// </summary> internal YieldAwaiter(CoyoteRuntime runtime, SystemCompiler.YieldAwaitable.YieldAwaiter awaiter) { this.Runtime = runtime; this.Awaiter = awaiter; }