diff --git a/AssemblyToProcess/AssemblyToProcess.csproj b/AssemblyToProcess/AssemblyToProcess.csproj index 7070f89..a553927 100644 --- a/AssemblyToProcess/AssemblyToProcess.csproj +++ b/AssemblyToProcess/AssemblyToProcess.csproj @@ -1,10 +1,15 @@  - net472;net6.0 + net472;net10.0;net11.0 true enable + + true + $(Features);runtime-async=on + $(DefineConstants);NET11_0 + diff --git a/AssemblyToProcess/CatchAndFinally.cs b/AssemblyToProcess/CatchAndFinally.cs index 921b741..08d93a7 100644 --- a/AssemblyToProcess/CatchAndFinally.cs +++ b/AssemblyToProcess/CatchAndFinally.cs @@ -76,7 +76,7 @@ public async Task Finally3() } } -#if NETCOREAPP2_0 +#if NET public async Task Catch1_WithValueTask() { try diff --git a/AssemblyToProcess/ClassWithAttribute.cs b/AssemblyToProcess/ClassWithAttribute.cs index 6a04621..5f3b42e 100644 --- a/AssemblyToProcess/ClassWithAttribute.cs +++ b/AssemblyToProcess/ClassWithAttribute.cs @@ -19,16 +19,16 @@ public async Task AsyncMethodWithReturn(SynchronizationContext context) public async Task AsyncGenericMethod(SynchronizationContext context) { SynchronizationContext.SetSynchronizationContext(context); - await Task.Run(() => 10); + await Task.Run(async () => await Return10()); } public async Task AsyncGenericMethodWithReturn(SynchronizationContext context) { SynchronizationContext.SetSynchronizationContext(context); - return await Task.Run(() => 10); + return await Task.Run(async () => await Return10()); } -#if NETCOREAPP2_0 +#if NET public async Task AsyncMethod_WithValueTask(SynchronizationContext context) { SynchronizationContext.SetSynchronizationContext(context); @@ -45,13 +45,20 @@ public async Task AsyncMethodWithReturn_WithValueTask(SynchronizationContex public async Task AsyncGenericMethod_WithValueTask(SynchronizationContext context) { SynchronizationContext.SetSynchronizationContext(context); - await new ValueTask(Task.Run(() => 10)); + await new ValueTask(Task.Run(async () => await Return10())); } public async Task AsyncGenericMethodWithReturn_WithValueTask(SynchronizationContext context) { SynchronizationContext.SetSynchronizationContext(context); - return await new ValueTask(Task.Run(() => 10)); + return await new ValueTask(Task.Run(async () => await Return10())); } #endif + + // using some more complex task than async () => 10, to make sure the method is not optimized away by the compiler, which would make the test fail; + async Task Return10() + { + await Task.Delay(10).ConfigureAwait(false); + return 10; + } } diff --git a/AssemblyToProcess/DoNotWeave.cs b/AssemblyToProcess/DoNotWeave.cs index 045184a..82c70dd 100644 --- a/AssemblyToProcess/DoNotWeave.cs +++ b/AssemblyToProcess/DoNotWeave.cs @@ -19,16 +19,16 @@ public async Task AsyncMethodWithReturn(SynchronizationContext context) public async Task AsyncGenericMethod(SynchronizationContext context) { SynchronizationContext.SetSynchronizationContext(context); - await Task.Run(() => 10).ConfigureAwait(true); + await Task.Run(async () => await Return10()).ConfigureAwait(true); } public async Task AsyncGenericMethodWithReturn(SynchronizationContext context) { SynchronizationContext.SetSynchronizationContext(context); - return await Task.Run(() => 10).ConfigureAwait(true); + return await Task.Run(async () => await Return10()).ConfigureAwait(true); } -#if NETCOREAPP2_0 +#if NET public async Task AsyncMethod_WithValueTask(SynchronizationContext context) { SynchronizationContext.SetSynchronizationContext(context); @@ -45,13 +45,21 @@ public async Task AsyncMethodWithReturn_WithValueTask(SynchronizationContex public async Task AsyncGenericMethod_WithValueTask(SynchronizationContext context) { SynchronizationContext.SetSynchronizationContext(context); - await new ValueTask(Task.Run(() => 10)).ConfigureAwait(true); + await new ValueTask(Task.Run(async () => await Return10())).ConfigureAwait(true); } public async Task AsyncGenericMethodWithReturn_WithValueTask(SynchronizationContext context) { SynchronizationContext.SetSynchronizationContext(context); - return await new ValueTask(Task.Run(() => 10)).ConfigureAwait(true); + return await new ValueTask(Task.Run(async () => await Return10())).ConfigureAwait(true); } + #endif + + // using some more complex task than () => 10, to make sure the method is not optimized away by the compiler, which would make the test fail; + async Task Return10() + { + await Task.Delay(10).ConfigureAwait(false); + return 10; + } } \ No newline at end of file diff --git a/AssemblyToProcess/Example.cs b/AssemblyToProcess/Example.cs index f473c03..f95e0bd 100644 --- a/AssemblyToProcess/Example.cs +++ b/AssemblyToProcess/Example.cs @@ -93,7 +93,7 @@ public async Task AsyncMethod12() return result; } -#if NETCOREAPP2_0 +#if NET public async Task AsyncMethod1_WithValueTask() { await new ValueTask(Task.Delay(1)); diff --git a/AssemblyToProcess/FlagSynchronizationContext.cs b/AssemblyToProcess/FlagSynchronizationContext.cs index 181d387..c7123b4 100644 --- a/AssemblyToProcess/FlagSynchronizationContext.cs +++ b/AssemblyToProcess/FlagSynchronizationContext.cs @@ -1,5 +1,4 @@ -public class FlagSynchronizationContext : - SynchronizationContext +public class FlagSynchronizationContext : SynchronizationContext { public bool Flag { get; set; } diff --git a/AssemblyToProcess/GenericIssue.cs b/AssemblyToProcess/GenericIssue.cs index e2be372..f829ca0 100644 --- a/AssemblyToProcess/GenericIssue.cs +++ b/AssemblyToProcess/GenericIssue.cs @@ -9,7 +9,7 @@ public async Task Method(Task itemTask) var item = await itemTask; } -#if NETCOREAPP2_0 +#if NET [ConfigureAwait(false)] public async Task Method_WithValueTask(Task itemTask) { @@ -26,7 +26,7 @@ public async Task Method(Task itemTask) var item = await itemTask; } -#if NETCOREAPP2_0 +#if NET [ConfigureAwait(false)] public async Task Method_WithValueTask(Task itemTask) { diff --git a/AssemblyToProcess/Issue1.cs b/AssemblyToProcess/Issue1.cs index 2618a34..094c1fb 100644 --- a/AssemblyToProcess/Issue1.cs +++ b/AssemblyToProcess/Issue1.cs @@ -11,11 +11,11 @@ async Task WithReaderAndWriter(TextWriter writer, StreamReader reader) } } -#if NETCOREAPP2_0 +#if NET [ConfigureAwait(false)] async Task WithReaderAndWriter_WithValueTask(TextWriter writer, StreamReader reader) { - while (await new ValueTask(reader.ReadLineAsync()) is { } line) + while (await new ValueTask(reader.ReadLineAsync()) is { } line) { await new ValueTask(writer.WriteLineAsync(line)); } diff --git a/AssemblyToProcess/MethodWithAttribute.cs b/AssemblyToProcess/MethodWithAttribute.cs index c57ab42..fb34895 100644 --- a/AssemblyToProcess/MethodWithAttribute.cs +++ b/AssemblyToProcess/MethodWithAttribute.cs @@ -9,7 +9,7 @@ public async Task AsyncMethod(SynchronizationContext context) await Task.Delay(0); } -#if NETCOREAPP2_0 +#if NET [ConfigureAwait(false)] public async Task AsyncMethod_WithValueTask(SynchronizationContext context) { diff --git a/AssemblyToProcess/MethodWithUsing.cs b/AssemblyToProcess/MethodWithUsing.cs index 390bbb9..1081228 100644 --- a/AssemblyToProcess/MethodWithUsing.cs +++ b/AssemblyToProcess/MethodWithUsing.cs @@ -14,7 +14,7 @@ static async Task NewMethod() return new MyDisposable(); } -#if NETCOREAPP2_0 +#if NET [ConfigureAwait(false)] public async Task AsyncMethod_WithValueTask() { diff --git a/ConfigureAwait.Fody/CecilExtensions.cs b/ConfigureAwait.Fody/CecilExtensions.cs index 16cbfac..0d26cff 100644 --- a/ConfigureAwait.Fody/CecilExtensions.cs +++ b/ConfigureAwait.Fody/CecilExtensions.cs @@ -2,8 +2,18 @@ using Mono.Cecil; using Mono.Cecil.Cil; +enum AsyncStateMachineKind +{ + None, + StateMachine, + CompilerService +} + static class CecilExtensions { + // Not yet defined in Cecil, remove later when update is available. + const MethodImplAttributes MethodImplAttributes_Async = (MethodImplAttributes)0x2000; + public static bool IsIAsyncStateMachine(this TypeDefinition type) { if (type is not {HasInterfaces: true}) @@ -12,12 +22,12 @@ public static bool IsIAsyncStateMachine(this TypeDefinition type) } return type.Interfaces - .Any(_ => _.InterfaceType.FullName == "System.Runtime.CompilerServices.IAsyncStateMachine"); + .Any(item => item.InterfaceType.FullName == "System.Runtime.CompilerServices.IAsyncStateMachine"); } public static MethodDefinition Method(this TypeDefinition type, MethodReference reference) { - return type.Methods.FirstOrDefault(_ => _.Name == reference.Name); + return type.Methods.FirstOrDefault(item => item.Name == reference.Name); } public static bool IsCompilerGenerated(this ICustomAttributeProvider provider) @@ -39,10 +49,15 @@ public static void InsertBefore(this ILProcessor processor, Instruction target, } } - public static bool IsAsyncStateMachineType(this ICustomAttributeProvider provider) + public static AsyncStateMachineKind GetAsyncStateMachineKind(this MethodDefinition method) { - return provider.CustomAttributes - .Any(a => a.AttributeType.FullName == "System.Runtime.CompilerServices.AsyncStateMachineAttribute"); + if (method.CustomAttributes.Any(a => a.AttributeType.FullName == "System.Runtime.CompilerServices.AsyncStateMachineAttribute")) + return AsyncStateMachineKind.StateMachine; + + if (method.ImplAttributes.HasFlag(MethodImplAttributes_Async)) + return AsyncStateMachineKind.CompilerService; + + return AsyncStateMachineKind.None; } public static TypeDefinition GetAsyncStateMachineType(this ICustomAttributeProvider provider) @@ -53,7 +68,7 @@ public static TypeDefinition GetAsyncStateMachineType(this ICustomAttributeProvi return (TypeDefinition)attribute?.ConstructorArguments[0].Value; } - public static CustomAttribute GetConfigureAwaitAttribute(this ICustomAttributeProvider value) + static CustomAttribute GetConfigureAwaitAttribute(this ICustomAttributeProvider value) { return value.CustomAttributes.FirstOrDefault(a => a.AttributeType.FullName == "Fody.ConfigureAwaitAttribute"); } @@ -66,11 +81,11 @@ public static CustomAttribute GetConfigureAwaitAttribute(this ICustomAttributePr return defaultValue; } - if (value is MethodDefinition method && - !method.IsAsyncStateMachineType()) + if (value is MethodDefinition method && method.GetAsyncStateMachineKind() == AsyncStateMachineKind.None) { throw new WeavingException($"ConfigureAwaitAttribute applied to non-async method '{method.FullName}'."); } + return (bool?)attribute.ConstructorArguments[0].Value; } diff --git a/ConfigureAwait.Fody/ConfigureAwait.Fody.csproj b/ConfigureAwait.Fody/ConfigureAwait.Fody.csproj index a477377..35d591c 100644 --- a/ConfigureAwait.Fody/ConfigureAwait.Fody.csproj +++ b/ConfigureAwait.Fody/ConfigureAwait.Fody.csproj @@ -6,6 +6,6 @@ - + \ No newline at end of file diff --git a/ConfigureAwait.Fody/ModuleWeaver.cs b/ConfigureAwait.Fody/ModuleWeaver.cs index 47c6787..3ec7f9d 100644 --- a/ConfigureAwait.Fody/ModuleWeaver.cs +++ b/ConfigureAwait.Fody/ModuleWeaver.cs @@ -10,7 +10,7 @@ public override void Execute() { ReadConfig(); - FindTypes(); + FindRuntimeTypes(); var configureAwaitValue = ModuleDefinition.Assembly.GetConfigureAwaitConfig(continueOnCapturedContext); @@ -51,20 +51,23 @@ void ProcessType(bool? assemblyConfigureAwaitValue, TypeDefinition type) return; } - var configureAwaitValue = type.GetConfigureAwaitConfig(assemblyConfigureAwaitValue); + var typeConfigureAwaitValue = type.GetConfigureAwaitConfig(assemblyConfigureAwaitValue); foreach (var method in type.Methods) { - var localConfigureAwaitValue = method.GetConfigureAwaitConfig(configureAwaitValue); - if (localConfigureAwaitValue == null) - { + var methodConfigureAwaitValue = method.GetConfigureAwaitConfig(typeConfigureAwaitValue); + + if (!methodConfigureAwaitValue.HasValue) continue; - } var asyncStateMachineType = method.GetAsyncStateMachineType(); if (asyncStateMachineType != null) { - AddAwaitConfigToAsyncMethod(asyncStateMachineType, localConfigureAwaitValue.Value); + AddAwaitConfigToAsyncMethod(asyncStateMachineType, methodConfigureAwaitValue.Value); + } + else if (method.GetAsyncStateMachineKind() == AsyncStateMachineKind.CompilerService) + { + AddAwaitConfigToAsyncMethod(method, methodConfigureAwaitValue.Value); } } } @@ -114,6 +117,10 @@ void TryRedirectMethodInstruction(MethodReference method, Instruction instructio var declaringType = method.DeclaringType; if (declaringType.FullName == "System.Threading.Tasks.Task") { + // Only redirect GetAwaiter; constructors and other members must not be redirected + if (method.Name != "GetAwaiter") + return; + var newOperand = configuredTaskAwaitableTypeDef.Method(method); if (newOperand != null) { @@ -126,6 +133,10 @@ void TryRedirectMethodInstruction(MethodReference method, Instruction instructio if (declaringType.FullName == "System.Threading.Tasks.ValueTask") { + // Only redirect GetAwaiter; constructors and other members must not be redirected + if (method.Name != "GetAwaiter") + return; + var newOperand = configuredValueTaskAwaitableTypeDef.Method(method); if (newOperand != null) { @@ -168,6 +179,10 @@ void TryRedirectMethodInstruction(MethodReference method, Instruction instructio // Change Task`1 to ConfiguredTaskAwaitable`1 if (declaringType.FullName.StartsWith("System.Threading.Tasks.Task`1")) { + // Only redirect GetAwaiter; other members (including constructors) must not be redirected + if (method.Name != "GetAwaiter") + return; + var newOperand = genericConfiguredTaskAwaitableTypeDef.Method(method); if (newOperand != null) { @@ -183,6 +198,10 @@ void TryRedirectMethodInstruction(MethodReference method, Instruction instructio // Change Task`1 to ConfiguredTaskAwaitable`1 if (declaringType.FullName.StartsWith("System.Threading.Tasks.ValueTask`1")) { + // Only redirect GetAwaiter; other members (including constructors) must not be redirected + if (method.Name != "GetAwaiter") + return; + var newOperand = genericConfiguredValueTaskAwaitableTypeDef.Method(method); if (newOperand != null) { diff --git a/ConfigureAwait.Fody/ModuleWeaver_CompilerServices.cs b/ConfigureAwait.Fody/ModuleWeaver_CompilerServices.cs new file mode 100644 index 0000000..5149e64 --- /dev/null +++ b/ConfigureAwait.Fody/ModuleWeaver_CompilerServices.cs @@ -0,0 +1,180 @@ +using Fody; +using Mono.Cecil; +using Mono.Cecil.Cil; +using Mono.Cecil.Rocks; + +public partial class ModuleWeaver +{ + /// + /// Rewrites calls to System.Runtime.CompilerServices.AsyncHelpers.Await(task) inside + /// so that each awaited task is first configured via ConfigureAwait(). + /// + /// + /// The rewrite handles all four awaitable variants — Task, Task<T>, ValueTask and ValueTask<T> — and retargets the original + /// Await call to the overload that accepts the corresponding configured-awaitable type. + /// For value-type awaitables a temporary local is introduced so that ConfigureAwait can be called as an instance method via a managed pointer (ldloca / call). + /// + /// The method whose IL body is to be rewritten. + /// + /// The value passed to ConfigureAwait: to continue on the + /// captured synchronisation context; to suppress it. + /// + void AddAwaitConfigToAsyncMethod(MethodDefinition method, bool configureAwaitValue) + { + var body = method.Body; + + body.SimplifyMacros(); + + var ilProcessor = body.GetILProcessor(); + + foreach (var instruction in body.Instructions.ToList()) + { + // Find calls to AsyncHelpers.Await, which is the method we inject for awaiting tasks. We rewrite these calls to first call ConfigureAwait on the task, then pass the resulting configured awaitable to an overload of Await that accepts it. + + if (instruction.OpCode != OpCodes.Call) + continue; + + var methodReference = (MethodReference)instruction.Operand; + + if (methodReference.Name != "Await" || methodReference.DeclaringType.FullName != "System.Runtime.CompilerServices.AsyncHelpers") + continue; + + var methodDefinition = methodReference.Resolve() ?? throw new WeavingException($"Failed to resolve method reference: {methodReference.FullName}"); + if (!methodDefinition.IsStatic) + continue; + + if (methodReference.Parameters.Count != 1) + continue; + + var parameterTypeReference = methodReference.Parameters[0].ParameterType; + + // Skip if the parameter has already a configured awaitable. In that case the configureAwait call has already been applied by source code, so we can skip it. + if (parameterTypeReference.Name.StartsWith("Configured", StringComparison.Ordinal)) + continue; + + var declaringType = methodDefinition.DeclaringType; + + MethodReference configureAwaitMethodRef; + MethodReference targetMethodRef; + bool isValueType; + + var paramTypeDefinition = parameterTypeReference.Resolve() ?? throw new WeavingException($"Failed to resolve parameter type: {parameterTypeReference.FullName}"); + string configuredAwaitableName; + + // Determine the appropriate ConfigureAwait method to call based on the parameter type, and the corresponding await-overload to retarget to. + if (methodDefinition.HasGenericParameters) + { + if (methodReference is not GenericInstanceMethod genericCallRef) + continue; + + var typeArg = genericCallRef.GenericArguments[0]; + + TypeReference taskBaseType; + MethodDefinition configureAwaitMethodDef; + + switch (paramTypeDefinition.Name) + { + case "ValueTask`1": + taskBaseType = genericValueTaskType; + configureAwaitMethodDef = genericValueTaskConfigureAwaitMethodDef; + configuredAwaitableName = "ConfiguredValueTaskAwaitable`1"; + isValueType = true; + break; + + case "Task`1": + taskBaseType = genericTaskType; + configureAwaitMethodDef = genericTaskConfigureAwaitMethodDef; + configuredAwaitableName = "ConfiguredTaskAwaitable`1"; + isValueType = false; + break; + + default: + continue; + } + + var taskT = taskBaseType.MakeGenericInstanceType(typeArg); + configureAwaitMethodRef = ModuleDefinition.ImportReference(configureAwaitMethodDef); + configureAwaitMethodRef.DeclaringType = taskT; + + var targetMethodDefinition = FindAwaitMethodDefinition(declaringType, configuredAwaitableName); + + var genericTargetMethodRef = new GenericInstanceMethod(ModuleDefinition.ImportReference(targetMethodDefinition)); + genericTargetMethodRef.GenericArguments.Add(typeArg); + targetMethodRef = genericTargetMethodRef; + } + else + { + switch (paramTypeDefinition.Name) + { + case "ValueTask": + configureAwaitMethodRef = valueTaskConfigureAwaitMethod; + configuredAwaitableName = "ConfiguredValueTaskAwaitable"; + isValueType = true; + break; + + case "Task": + configureAwaitMethodRef = taskConfigureAwaitMethod; + configuredAwaitableName = "ConfiguredTaskAwaitable"; + isValueType = false; + break; + + default: + continue; + } + + var targetMethodDefinition = FindAwaitMethodDefinition(declaringType, configuredAwaitableName); + + targetMethodRef = ModuleDefinition.ImportReference(targetMethodDefinition); + } + + // Inline ConfigureAwait directly before the Await call, then retarget the call to Await(Configured*Awaitable). + // For reference-type awaitables (Task, Task): the value is already a reference on the stack, so callvirt works directly. + // For value-type awaitables (ValueTask, ValueTask): ConfigureAwait is an instance method on a struct, so its 'this' parameter must be a managed pointer. We stash the value into a new local and ldloca it, then use call (not callvirt). + var configureAwaitParameterInstruction = Instruction.Create(OpCodes.Ldc_I4, configureAwaitValue ? 1 : 0); + + if (isValueType) + { + // Determine the concrete value-type to use for the temp local. + TypeReference localType; + if (methodDefinition.HasGenericParameters && methodReference is GenericInstanceMethod) + { + // e.g. ValueTask`1 + localType = (GenericInstanceType)configureAwaitMethodRef.DeclaringType; + } + else + { + localType = ModuleDefinition.ImportReference(parameterTypeReference.Resolve() ?? throw new WeavingException($"Failed to resolve parameter type: {parameterTypeReference.FullName}")); + } + + var tempLocal = new VariableDefinition(localType); + body.Variables.Add(tempLocal); + + // stloc ; save the ValueTask from the stack + // ldloca ; push managed pointer to it + // ldc.i4 + // call ValueTask::ConfigureAwait(bool) + ilProcessor.InsertBefore(instruction, Instruction.Create(OpCodes.Stloc, tempLocal)); + ilProcessor.InsertBefore(instruction, Instruction.Create(OpCodes.Ldloca, tempLocal)); + ilProcessor.InsertBefore(instruction, configureAwaitParameterInstruction); + ilProcessor.InsertBefore(instruction, Instruction.Create(OpCodes.Call, configureAwaitMethodRef)); + } + else + { + ilProcessor.InsertBefore(instruction, configureAwaitParameterInstruction); + ilProcessor.InsertBefore(instruction, Instruction.Create(OpCodes.Callvirt, configureAwaitMethodRef)); + } + + instruction.Operand = targetMethodRef; + } + + body.OptimizeMacros(); + } + + static MethodDefinition FindAwaitMethodDefinition(TypeDefinition declaringType, string configuredAwaitableName) + { + return declaringType.Methods.FirstOrDefault(m => + m.Name == "Await" && + m.Parameters.Count == 1 && + m.Parameters[0].ParameterType.Name == configuredAwaitableName) ?? throw new WeavingException($"Failed to find target method: Await({configuredAwaitableName})"); + } +} diff --git a/ConfigureAwait.Fody/ModuleWeaver_TypeFinder.cs b/ConfigureAwait.Fody/ModuleWeaver_TypeFinder.cs index 97d2a88..08d971d 100644 --- a/ConfigureAwait.Fody/ModuleWeaver_TypeFinder.cs +++ b/ConfigureAwait.Fody/ModuleWeaver_TypeFinder.cs @@ -27,7 +27,7 @@ public partial class ModuleWeaver TypeReference genericTaskType; TypeReference genericValueTaskType; - void FindTypes() + void FindRuntimeTypes() { taskDef = FindTypeDefinition("System.Threading.Tasks.Task"); var configureTaskAwaitMethodDef = taskDef.Methods.First(_ => _.Name == "ConfigureAwait"); diff --git a/ConfigureAwait.sln.DotSettings b/ConfigureAwait.sln.DotSettings index 6033a4e..bbbf431 100644 --- a/ConfigureAwait.sln.DotSettings +++ b/ConfigureAwait.sln.DotSettings @@ -627,4 +627,7 @@ II.2.12 <HandlesEvent /> <data /> - <data><IncludeFilters /><ExcludeFilters /></data> \ No newline at end of file + <data><IncludeFilters /><ExcludeFilters /></data> + True + True + True \ No newline at end of file diff --git a/ConfigureAwait/ConfigureAwait.csproj b/ConfigureAwait/ConfigureAwait.csproj index 63c6a10..d6c2f5f 100644 --- a/ConfigureAwait/ConfigureAwait.csproj +++ b/ConfigureAwait/ConfigureAwait.csproj @@ -13,7 +13,7 @@ - - + + diff --git a/Directory.Build.props b/Directory.Build.props index 8fdc63a..4240f49 100644 --- a/Directory.Build.props +++ b/Directory.Build.props @@ -3,7 +3,7 @@ true 3.3.2 - preview + latest NU5118 enable true diff --git a/Tests/CatchAndFinallyTests.cs b/Tests/CatchAndFinallyTests.cs new file mode 100644 index 0000000..c50bcbd --- /dev/null +++ b/Tests/CatchAndFinallyTests.cs @@ -0,0 +1,156 @@ +public partial class ModuleWeaverTests +{ + [Fact] + public async Task CatchAndFinally_Catch1() + { + var test = testResult.GetInstance("CatchAndFinally"); + + await test.Catch1(); + } + + [Fact] + public async Task CatchAndFinally_Catch2() + { + var context = testResult.GetInstance("FlagSynchronizationContext"); + var test = testResult.GetInstance("CatchAndFinally"); + + SynchronizationContext.SetSynchronizationContext((SynchronizationContext)context); + Task task; + try + { + task = test.Catch2(); + } + finally + { + SynchronizationContext.SetSynchronizationContext(null); + } + + await task; + + Assert.False(context.Flag); + } + + [Fact] + public async Task CatchAndFinally_Catch3() + { + var test = testResult.GetInstance("CatchAndFinally"); + + await test.Catch3(); + } + + [Fact] + public async Task CatchAndFinally_Finally1() + { + var test = testResult.GetInstance("CatchAndFinally"); + + await Assert.ThrowsAsync(() => (Task)test.Finally1()); + } + + [Fact] + public async Task CatchAndFinally_Finally2() + { + var context = testResult.GetInstance("FlagSynchronizationContext"); + var test = testResult.GetInstance("CatchAndFinally"); + + SynchronizationContext.SetSynchronizationContext((SynchronizationContext)context); + Task task; + try + { + task = test.Finally2(); + } + finally + { + SynchronizationContext.SetSynchronizationContext(null); + } + + await Assert.ThrowsAsync(() => task); + + Assert.False(context.Flag); + } + + [Fact] + public async Task CatchAndFinally_Finally3() + { + var test = testResult.GetInstance("CatchAndFinally"); + + await Assert.ThrowsAsync(() => (Task)test.Finally3()); + } + +#if NET + [Fact] + public async Task CatchAndFinally_Catch1_WithValueTask() + { + var test = testResult.GetInstance("CatchAndFinally"); + + await test.Catch1_WithValueTask(); + } + + [Fact] + public async Task CatchAndFinally_Catch2_WithValueTask() + { + var context = testResult.GetInstance("FlagSynchronizationContext"); + var test = testResult.GetInstance("CatchAndFinally"); + + SynchronizationContext.SetSynchronizationContext((SynchronizationContext)context); + Task task; + try + { + task = test.Catch2_WithValueTask(); + } + finally + { + SynchronizationContext.SetSynchronizationContext(null); + } + + await task; + + Assert.False(context.Flag); + } + + [Fact] + public async Task CatchAndFinally_Catch3_WithValueTask() + { + var test = testResult.GetInstance("CatchAndFinally"); + + await test.Catch3_WithValueTask(); + } + + [Fact] + public async Task CatchAndFinally_Finally1_WithValueTask() + { + var test = testResult.GetInstance("CatchAndFinally"); + + await Assert.ThrowsAsync(() => (Task)test.Finally1_WithValueTask()); + } + + [Fact] + public async Task CatchAndFinally_Finally2_WithValueTask() + { + var context = testResult.GetInstance("FlagSynchronizationContext"); + var test = testResult.GetInstance("CatchAndFinally"); + + SynchronizationContext.SetSynchronizationContext((SynchronizationContext)context); + Task task; + try + { + task = test.Finally2_WithValueTask(); + } + finally + { + SynchronizationContext.SetSynchronizationContext(null); + } + + await Assert.ThrowsAsync(() => task); + + Assert.False(context.Flag); + } + + [Fact] + public async Task CatchAndFinally_Finally3_WithValueTask() + { + var test = testResult.GetInstance("CatchAndFinally"); + + await Assert.ThrowsAsync(() => (Task)test.Finally3_WithValueTask()); + } +#endif +} diff --git a/Tests/ClassWithAttributeTests.cs b/Tests/ClassWithAttributeTests.cs index 99124bc..73976dc 100644 --- a/Tests/ClassWithAttributeTests.cs +++ b/Tests/ClassWithAttributeTests.cs @@ -53,4 +53,60 @@ public async Task ClassWithAttribute_AsyncGenericMethodWithReturn() Assert.False(context.Flag); Assert.Equal(10, result); } + +#if NET + [Fact] + public async Task ClassWithAttribute_AsyncMethod_WithValueTask() + { + var context = testResult.GetInstance("FlagSynchronizationContext"); + var test = testResult.GetInstance("ClassWithAttribute"); + + Assert.False(context.Flag); + + await test.AsyncMethod_WithValueTask(context); + + Assert.False(context.Flag); + } + + [Fact] + public async Task ClassWithAttribute_AsyncMethodWithReturn_WithValueTask() + { + var context = testResult.GetInstance("FlagSynchronizationContext"); + var test = testResult.GetInstance("ClassWithAttribute"); + + Assert.False(context.Flag); + + var result = await test.AsyncMethodWithReturn_WithValueTask(context); + + Assert.False(context.Flag); + Assert.Equal(10, result); + } + + [Fact] + public async Task ClassWithAttribute_AsyncGenericMethod_WithValueTask() + { + var context = testResult.GetInstance("FlagSynchronizationContext"); + var test = testResult.GetInstance("ClassWithAttribute"); + + Assert.False(context.Flag); + + await test.AsyncGenericMethod_WithValueTask(context); + + Assert.False(context.Flag); + } + + [Fact] + public async Task ClassWithAttribute_AsyncGenericMethodWithReturn_WithValueTask() + { + var context = testResult.GetInstance("FlagSynchronizationContext"); + var test = testResult.GetInstance("ClassWithAttribute"); + + Assert.False(context.Flag); + + var result = await test.AsyncGenericMethodWithReturn_WithValueTask(context); + + Assert.False(context.Flag); + Assert.Equal(10, result); + } +#endif } \ No newline at end of file diff --git a/Tests/DoNotWeaveTests.cs b/Tests/DoNotWeaveTests.cs index d98a87c..a683347 100644 --- a/Tests/DoNotWeaveTests.cs +++ b/Tests/DoNotWeaveTests.cs @@ -53,4 +53,62 @@ public async Task DoNotWeave_AsyncGenericMethodWithReturn() Assert.True(context.Flag); Assert.Equal(10, result); } + +#if NET + [Fact] + public async Task DoNotWeave_AsyncMethod_WithValueTask() + { + var context = testResult.GetInstance("FlagSynchronizationContext"); + var test = testResult.GetInstance("DoNotWeave"); + + Assert.False(context.Flag); + + await test.AsyncMethod_WithValueTask(context); + + Assert.True(context.Flag); + } + + [Fact] + public async Task DoNotWeave_AsyncMethodWithReturn_WithValueTask() + { + var context = testResult.GetInstance("FlagSynchronizationContext"); + var test = testResult.GetInstance("DoNotWeave"); + + Assert.False(context.Flag); + + var result = await test.AsyncMethodWithReturn_WithValueTask(context); + + Assert.True(context.Flag); + Assert.Equal(10, result); + } + + [Fact] + public async Task DoNotWeave_AsyncGenericMethod_WithValueTask() + { + var context = testResult.GetInstance("FlagSynchronizationContext"); + var test = testResult.GetInstance("DoNotWeave"); + + Assert.False(context.Flag); + + await test.AsyncGenericMethod_WithValueTask(context); + + Assert.True(context.Flag); + } + + [Fact] + public async Task DoNotWeave_AsyncGenericMethodWithReturn_WithValueTask() + { + var context = testResult.GetInstance("FlagSynchronizationContext"); + var test = testResult.GetInstance("DoNotWeave"); + + Assert.False(context.Flag); + + var result = await test.AsyncGenericMethodWithReturn_WithValueTask(context); + + Assert.True(context.Flag); + Assert.Equal(10, result); + } + +#endif + } \ No newline at end of file diff --git a/Tests/MethodWithAttributeTests.cs b/Tests/MethodWithAttributeTests.cs index 0d43919..ac9da45 100644 --- a/Tests/MethodWithAttributeTests.cs +++ b/Tests/MethodWithAttributeTests.cs @@ -12,4 +12,19 @@ public async Task MethodWithAttribute_AsyncMethod() Assert.False(context.Flag); } + +#if NET + [Fact] + public async Task MethodWithAttribute_AsyncMethod_WithValueTask() + { + var context = testResult.GetInstance("FlagSynchronizationContext"); + var test = testResult.GetInstance("MethodWithAttribute"); + + Assert.False(context.Flag); + + await test.AsyncMethod_WithValueTask(context); + + Assert.False(context.Flag); + } +#endif } \ No newline at end of file diff --git a/Tests/MethodWithUsing.cs b/Tests/MethodWithUsing.cs index d4d4429..950536d 100644 --- a/Tests/MethodWithUsing.cs +++ b/Tests/MethodWithUsing.cs @@ -9,4 +9,16 @@ public async Task MethodWithUsing() var disposedField = disposableType.GetField("Disposed"); Assert.True((bool)disposedField.GetValue(null)); } + +#if NET + [Fact] + public async Task MethodWithUsing_WithValueTask() + { + var test = testResult.GetInstance("MethodWithUsing"); + await test.AsyncMethod_WithValueTask(); + var disposableType = testResult.Assembly.GetType("MyDisposable"); + var disposedField = disposableType.GetField("Disposed"); + Assert.True((bool)disposedField.GetValue(null)); + } +#endif } \ No newline at end of file diff --git a/Tests/ModuleWeaverTests.DecompileCatchAndFinally.Core.Debug.verified.txt b/Tests/ModuleWeaverTests.DecompileCatchAndFinally.Core.Debug.verified.txt deleted file mode 100644 index 02282de..0000000 --- a/Tests/ModuleWeaverTests.DecompileCatchAndFinally.Core.Debug.verified.txt +++ /dev/null @@ -1,2266 +0,0 @@ -.class public auto ansi beforefieldinit CatchAndFinally -extends [System.Runtime]System.Object -{ -.custom instance void System.Runtime.CompilerServices.NullableContextAttribute::.ctor(uint8) = ( 01 00 01 00 00 ) -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.class auto ansi sealed nested private beforefieldinit 'd__0' -extends [System.Runtime]System.Object -implements [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine -{ -.interfaceimpl type [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field public int32 '<>1__state' -.field public valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder '<>t__builder' -.field public class CatchAndFinally '<>4__this' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field private object '<>s__1' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field private int32 '<>s__2' -.field private valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter '<>u__1' -.method public hidebysig specialname rtspecialname -instance void .ctor() cil managed -{ -.maxstack 8 -IL_0000: ldarg.0 -IL_0001: call instance void [System.Runtime]System.Object::.ctor() -IL_0006: nop -IL_0007: ret -} -.method private hidebysig newslot virtual final -instance void MoveNext() cil managed -{ -.override [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext -.maxstack 3 -.locals init (int32 V_0, -object V_1, -int32 V_2, -valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter V_3, -class CatchAndFinally/'d__0' V_4, -class [System.Runtime]System.Exception V_5) -IL_0000: ldarg.0 -IL_0001: ldfld int32 CatchAndFinally/'d__0'::'<>1__state' -IL_0006: stloc.0 -.try -{ -IL_0007: ldloc.0 -IL_0008: brfalse.s IL_000c -IL_000a: br.s IL_000e -IL_000c: br.s IL_0076 -IL_000e: nop -IL_000f: ldarg.0 -IL_0010: ldc.i4.0 -IL_0011: stfld int32 CatchAndFinally/'d__0'::'<>s__2' -.try -{ -IL_0016: nop -IL_0017: newobj instance void [System.Runtime]System.NotImplementedException::.ctor() -IL_001c: throw -} // end .try -catch [System.Runtime]System.Object -{ -IL_001d: stloc.1 -IL_001e: ldarg.0 -IL_001f: ldloc.1 -IL_0020: stfld object CatchAndFinally/'d__0'::'<>s__1' -IL_0025: ldarg.0 -IL_0026: ldc.i4.1 -IL_0027: stfld int32 CatchAndFinally/'d__0'::'<>s__2' -IL_002c: leave.s IL_002e -} // end handler -IL_002e: ldarg.0 -IL_002f: ldfld int32 CatchAndFinally/'d__0'::'<>s__2' -IL_0034: stloc.2 -IL_0035: ldloc.2 -IL_0036: ldc.i4.1 -IL_0037: beq.s IL_003b -IL_0039: br.s IL_009d -IL_003b: nop -IL_003c: ldc.i4.1 -IL_003d: call class [System.Runtime]System.Threading.Tasks.Task [System.Runtime]System.Threading.Tasks.Task::Delay(int32) -IL_0042: callvirt instance valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter [System.Runtime]System.Threading.Tasks.Task::GetAwaiter() -IL_0047: stloc.3 -IL_0048: ldloca.s V_3 -IL_004a: call instance bool [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter::get_IsCompleted() -IL_004f: brtrue.s IL_0092 -IL_0051: ldarg.0 -IL_0052: ldc.i4.0 -IL_0053: dup -IL_0054: stloc.0 -IL_0055: stfld int32 CatchAndFinally/'d__0'::'<>1__state' -IL_005a: ldarg.0 -IL_005b: ldloc.3 -IL_005c: stfld valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter CatchAndFinally/'d__0'::'<>u__1' -IL_0061: ldarg.0 -IL_0062: stloc.s V_4 -IL_0064: ldarg.0 -IL_0065: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__0'::'<>t__builder' -IL_006a: ldloca.s V_3 -IL_006c: ldloca.s V_4 -IL_006e: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::AwaitUnsafeOnCompletedd__0'>(!!0&, -!!1&) -IL_0073: nop -IL_0074: leave.s IL_00d4 -IL_0076: ldarg.0 -IL_0077: ldfld valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter CatchAndFinally/'d__0'::'<>u__1' -IL_007c: stloc.3 -IL_007d: ldarg.0 -IL_007e: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter CatchAndFinally/'d__0'::'<>u__1' -IL_0083: initobj [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter -IL_0089: ldarg.0 -IL_008a: ldc.i4.m1 -IL_008b: dup -IL_008c: stloc.0 -IL_008d: stfld int32 CatchAndFinally/'d__0'::'<>1__state' -IL_0092: ldloca.s V_3 -IL_0094: call instance void [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter::GetResult() -IL_0099: nop -IL_009a: nop -IL_009b: br.s IL_009d -IL_009d: ldarg.0 -IL_009e: ldnull -IL_009f: stfld object CatchAndFinally/'d__0'::'<>s__1' -IL_00a4: leave.s IL_00c0 -} // end .try -catch [System.Runtime]System.Exception -{ -IL_00a6: stloc.s V_5 -IL_00a8: ldarg.0 -IL_00a9: ldc.i4.s -2 -IL_00ab: stfld int32 CatchAndFinally/'d__0'::'<>1__state' -IL_00b0: ldarg.0 -IL_00b1: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__0'::'<>t__builder' -IL_00b6: ldloc.s V_5 -IL_00b8: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetException(class [System.Runtime]System.Exception) -IL_00bd: nop -IL_00be: leave.s IL_00d4 -} // end handler -IL_00c0: ldarg.0 -IL_00c1: ldc.i4.s -2 -IL_00c3: stfld int32 CatchAndFinally/'d__0'::'<>1__state' -IL_00c8: ldarg.0 -IL_00c9: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__0'::'<>t__builder' -IL_00ce: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetResult() -IL_00d3: nop -IL_00d4: ret -} -.method private hidebysig newslot virtual final -instance void SetStateMachine(class [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed -{ -.param [1] -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.override [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine -.maxstack 8 -IL_0000: ret -} -} -.class auto ansi sealed nested private beforefieldinit 'd__6' -extends [System.Runtime]System.Object -implements [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine -{ -.interfaceimpl type [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field public int32 '<>1__state' -.field public valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder '<>t__builder' -.field public class CatchAndFinally '<>4__this' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field private object '<>s__1' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field private int32 '<>s__2' -.field private valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ValueTaskAwaiter '<>u__1' -.method public hidebysig specialname rtspecialname -instance void .ctor() cil managed -{ -.maxstack 8 -IL_0000: ldarg.0 -IL_0001: call instance void [System.Runtime]System.Object::.ctor() -IL_0006: nop -IL_0007: ret -} -.method private hidebysig newslot virtual final -instance void MoveNext() cil managed -{ -.override [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext -.maxstack 3 -.locals init (int32 V_0, -object V_1, -int32 V_2, -valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ValueTaskAwaiter V_3, -valuetype [System.Threading.Tasks.Extensions]System.Threading.Tasks.ValueTask V_4, -class CatchAndFinally/'d__6' V_5, -class [System.Runtime]System.Exception V_6) -IL_0000: ldarg.0 -IL_0001: ldfld int32 CatchAndFinally/'d__6'::'<>1__state' -IL_0006: stloc.0 -.try -{ -IL_0007: ldloc.0 -IL_0008: brfalse.s IL_000c -IL_000a: br.s IL_000e -IL_000c: br.s IL_007f -IL_000e: nop -IL_000f: ldarg.0 -IL_0010: ldc.i4.0 -IL_0011: stfld int32 CatchAndFinally/'d__6'::'<>s__2' -.try -{ -IL_0016: nop -IL_0017: newobj instance void [System.Runtime]System.NotImplementedException::.ctor() -IL_001c: throw -} // end .try -catch [System.Runtime]System.Object -{ -IL_001d: stloc.1 -IL_001e: ldarg.0 -IL_001f: ldloc.1 -IL_0020: stfld object CatchAndFinally/'d__6'::'<>s__1' -IL_0025: ldarg.0 -IL_0026: ldc.i4.1 -IL_0027: stfld int32 CatchAndFinally/'d__6'::'<>s__2' -IL_002c: leave.s IL_002e -} // end handler -IL_002e: ldarg.0 -IL_002f: ldfld int32 CatchAndFinally/'d__6'::'<>s__2' -IL_0034: stloc.2 -IL_0035: ldloc.2 -IL_0036: ldc.i4.1 -IL_0037: beq.s IL_003b -IL_0039: br.s IL_00a6 -IL_003b: nop -IL_003c: ldc.i4.1 -IL_003d: call class [System.Runtime]System.Threading.Tasks.Task [System.Runtime]System.Threading.Tasks.Task::Delay(int32) -IL_0042: newobj instance void [System.Threading.Tasks.Extensions]System.Threading.Tasks.ValueTask::.ctor(class [System.Runtime]System.Threading.Tasks.Task) -IL_0047: stloc.s V_4 -IL_0049: ldloca.s V_4 -IL_004b: call instance valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ValueTaskAwaiter [System.Threading.Tasks.Extensions]System.Threading.Tasks.ValueTask::GetAwaiter() -IL_0050: stloc.3 -IL_0051: ldloca.s V_3 -IL_0053: call instance bool [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ValueTaskAwaiter::get_IsCompleted() -IL_0058: brtrue.s IL_009b -IL_005a: ldarg.0 -IL_005b: ldc.i4.0 -IL_005c: dup -IL_005d: stloc.0 -IL_005e: stfld int32 CatchAndFinally/'d__6'::'<>1__state' -IL_0063: ldarg.0 -IL_0064: ldloc.3 -IL_0065: stfld valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ValueTaskAwaiter CatchAndFinally/'d__6'::'<>u__1' -IL_006a: ldarg.0 -IL_006b: stloc.s V_5 -IL_006d: ldarg.0 -IL_006e: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__6'::'<>t__builder' -IL_0073: ldloca.s V_3 -IL_0075: ldloca.s V_5 -IL_0077: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::AwaitUnsafeOnCompletedd__6'>(!!0&, -!!1&) -IL_007c: nop -IL_007d: leave.s IL_00dd -IL_007f: ldarg.0 -IL_0080: ldfld valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ValueTaskAwaiter CatchAndFinally/'d__6'::'<>u__1' -IL_0085: stloc.3 -IL_0086: ldarg.0 -IL_0087: ldflda valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ValueTaskAwaiter CatchAndFinally/'d__6'::'<>u__1' -IL_008c: initobj [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ValueTaskAwaiter -IL_0092: ldarg.0 -IL_0093: ldc.i4.m1 -IL_0094: dup -IL_0095: stloc.0 -IL_0096: stfld int32 CatchAndFinally/'d__6'::'<>1__state' -IL_009b: ldloca.s V_3 -IL_009d: call instance void [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ValueTaskAwaiter::GetResult() -IL_00a2: nop -IL_00a3: nop -IL_00a4: br.s IL_00a6 -IL_00a6: ldarg.0 -IL_00a7: ldnull -IL_00a8: stfld object CatchAndFinally/'d__6'::'<>s__1' -IL_00ad: leave.s IL_00c9 -} // end .try -catch [System.Runtime]System.Exception -{ -IL_00af: stloc.s V_6 -IL_00b1: ldarg.0 -IL_00b2: ldc.i4.s -2 -IL_00b4: stfld int32 CatchAndFinally/'d__6'::'<>1__state' -IL_00b9: ldarg.0 -IL_00ba: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__6'::'<>t__builder' -IL_00bf: ldloc.s V_6 -IL_00c1: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetException(class [System.Runtime]System.Exception) -IL_00c6: nop -IL_00c7: leave.s IL_00dd -} // end handler -IL_00c9: ldarg.0 -IL_00ca: ldc.i4.s -2 -IL_00cc: stfld int32 CatchAndFinally/'d__6'::'<>1__state' -IL_00d1: ldarg.0 -IL_00d2: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__6'::'<>t__builder' -IL_00d7: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetResult() -IL_00dc: nop -IL_00dd: ret -} -.method private hidebysig newslot virtual final -instance void SetStateMachine(class [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed -{ -.param [1] -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.override [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine -.maxstack 8 -IL_0000: ret -} -} -.class auto ansi sealed nested private beforefieldinit 'd__1' -extends [System.Runtime]System.Object -implements [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine -{ -.interfaceimpl type [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field public int32 '<>1__state' -.field public valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder '<>t__builder' -.field public class CatchAndFinally '<>4__this' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field private object '<>s__1' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field private int32 '<>s__2' -.field private valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter '<>u__1' -.method public hidebysig specialname rtspecialname -instance void .ctor() cil managed -{ -.maxstack 8 -IL_0000: ldarg.0 -IL_0001: call instance void [System.Runtime]System.Object::.ctor() -IL_0006: nop -IL_0007: ret -} -.method private hidebysig newslot virtual final -instance void MoveNext() cil managed -{ -.override [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext -.maxstack 3 -.locals init (int32 V_0, -object V_1, -int32 V_2, -valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter V_3, -valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable V_4, -class CatchAndFinally/'d__1' V_5, -class [System.Runtime]System.Exception V_6) -IL_0000: ldarg.0 -IL_0001: ldfld int32 CatchAndFinally/'d__1'::'<>1__state' -IL_0006: stloc.0 -.try -{ -IL_0007: ldloc.0 -IL_0008: brfalse.s IL_000c -IL_000a: br.s IL_0011 -IL_000c: br IL_0083 -IL_0011: nop -IL_0012: ldarg.0 -IL_0013: ldc.i4.0 -IL_0014: stfld int32 CatchAndFinally/'d__1'::'<>s__2' -.try -{ -IL_0019: nop -IL_001a: newobj instance void [System.Runtime]System.NotImplementedException::.ctor() -IL_001f: throw -} // end .try -catch [System.Runtime]System.Object -{ -IL_0020: stloc.1 -IL_0021: ldarg.0 -IL_0022: ldloc.1 -IL_0023: stfld object CatchAndFinally/'d__1'::'<>s__1' -IL_0028: ldarg.0 -IL_0029: ldc.i4.1 -IL_002a: stfld int32 CatchAndFinally/'d__1'::'<>s__2' -IL_002f: leave.s IL_0031 -} // end handler -IL_0031: ldarg.0 -IL_0032: ldfld int32 CatchAndFinally/'d__1'::'<>s__2' -IL_0037: stloc.2 -IL_0038: ldloc.2 -IL_0039: ldc.i4.1 -IL_003a: beq.s IL_003e -IL_003c: br.s IL_00aa -IL_003e: nop -IL_003f: ldc.i4.1 -IL_0040: call class [System.Runtime]System.Threading.Tasks.Task [System.Runtime]System.Threading.Tasks.Task::Delay(int32) -IL_0045: ldc.i4.0 -IL_0046: callvirt instance valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable [System.Private.CoreLib]System.Threading.Tasks.Task::ConfigureAwait(bool) -IL_004b: stloc.s V_4 -IL_004d: ldloca.s V_4 -IL_004f: call instance valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable::GetAwaiter() -IL_0054: stloc.3 -IL_0055: ldloca.s V_3 -IL_0057: call instance bool [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter::get_IsCompleted() -IL_005c: brtrue.s IL_009f -IL_005e: ldarg.0 -IL_005f: ldc.i4.0 -IL_0060: dup -IL_0061: stloc.0 -IL_0062: stfld int32 CatchAndFinally/'d__1'::'<>1__state' -IL_0067: ldarg.0 -IL_0068: ldloc.3 -IL_0069: stfld valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter CatchAndFinally/'d__1'::'<>u__1' -IL_006e: ldarg.0 -IL_006f: stloc.s V_5 -IL_0071: ldarg.0 -IL_0072: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__1'::'<>t__builder' -IL_0077: ldloca.s V_3 -IL_0079: ldloca.s V_5 -IL_007b: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::AwaitUnsafeOnCompletedd__1'>(!!0&, -!!1&) -IL_0080: nop -IL_0081: leave.s IL_00e1 -IL_0083: ldarg.0 -IL_0084: ldfld valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter CatchAndFinally/'d__1'::'<>u__1' -IL_0089: stloc.3 -IL_008a: ldarg.0 -IL_008b: ldflda valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter CatchAndFinally/'d__1'::'<>u__1' -IL_0090: initobj [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter -IL_0096: ldarg.0 -IL_0097: ldc.i4.m1 -IL_0098: dup -IL_0099: stloc.0 -IL_009a: stfld int32 CatchAndFinally/'d__1'::'<>1__state' -IL_009f: ldloca.s V_3 -IL_00a1: call instance void [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter::GetResult() -IL_00a6: nop -IL_00a7: nop -IL_00a8: br.s IL_00aa -IL_00aa: ldarg.0 -IL_00ab: ldnull -IL_00ac: stfld object CatchAndFinally/'d__1'::'<>s__1' -IL_00b1: leave.s IL_00cd -} // end .try -catch [System.Runtime]System.Exception -{ -IL_00b3: stloc.s V_6 -IL_00b5: ldarg.0 -IL_00b6: ldc.i4.s -2 -IL_00b8: stfld int32 CatchAndFinally/'d__1'::'<>1__state' -IL_00bd: ldarg.0 -IL_00be: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__1'::'<>t__builder' -IL_00c3: ldloc.s V_6 -IL_00c5: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetException(class [System.Runtime]System.Exception) -IL_00ca: nop -IL_00cb: leave.s IL_00e1 -} // end handler -IL_00cd: ldarg.0 -IL_00ce: ldc.i4.s -2 -IL_00d0: stfld int32 CatchAndFinally/'d__1'::'<>1__state' -IL_00d5: ldarg.0 -IL_00d6: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__1'::'<>t__builder' -IL_00db: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetResult() -IL_00e0: nop -IL_00e1: ret -} -.method private hidebysig newslot virtual final -instance void SetStateMachine(class [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed -{ -.param [1] -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.override [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine -.maxstack 8 -IL_0000: ret -} -} -.class auto ansi sealed nested private beforefieldinit 'd__7' -extends [System.Runtime]System.Object -implements [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine -{ -.interfaceimpl type [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field public int32 '<>1__state' -.field public valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder '<>t__builder' -.field public class CatchAndFinally '<>4__this' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field private object '<>s__1' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field private int32 '<>s__2' -.field private valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter '<>u__1' -.method public hidebysig specialname rtspecialname -instance void .ctor() cil managed -{ -.maxstack 8 -IL_0000: ldarg.0 -IL_0001: call instance void [System.Runtime]System.Object::.ctor() -IL_0006: nop -IL_0007: ret -} -.method private hidebysig newslot virtual final -instance void MoveNext() cil managed -{ -.override [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext -.maxstack 3 -.locals init (int32 V_0, -object V_1, -int32 V_2, -valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter V_3, -valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable V_4, -valuetype [System.Threading.Tasks.Extensions]System.Threading.Tasks.ValueTask V_5, -class CatchAndFinally/'d__7' V_6, -class [System.Runtime]System.Exception V_7) -IL_0000: ldarg.0 -IL_0001: ldfld int32 CatchAndFinally/'d__7'::'<>1__state' -IL_0006: stloc.0 -.try -{ -IL_0007: ldloc.0 -IL_0008: brfalse.s IL_000c -IL_000a: br.s IL_0011 -IL_000c: br IL_008c -IL_0011: nop -IL_0012: ldarg.0 -IL_0013: ldc.i4.0 -IL_0014: stfld int32 CatchAndFinally/'d__7'::'<>s__2' -.try -{ -IL_0019: nop -IL_001a: newobj instance void [System.Runtime]System.NotImplementedException::.ctor() -IL_001f: throw -} // end .try -catch [System.Runtime]System.Object -{ -IL_0020: stloc.1 -IL_0021: ldarg.0 -IL_0022: ldloc.1 -IL_0023: stfld object CatchAndFinally/'d__7'::'<>s__1' -IL_0028: ldarg.0 -IL_0029: ldc.i4.1 -IL_002a: stfld int32 CatchAndFinally/'d__7'::'<>s__2' -IL_002f: leave.s IL_0031 -} // end handler -IL_0031: ldarg.0 -IL_0032: ldfld int32 CatchAndFinally/'d__7'::'<>s__2' -IL_0037: stloc.2 -IL_0038: ldloc.2 -IL_0039: ldc.i4.1 -IL_003a: beq.s IL_003e -IL_003c: br.s IL_00b3 -IL_003e: nop -IL_003f: ldc.i4.1 -IL_0040: call class [System.Runtime]System.Threading.Tasks.Task [System.Runtime]System.Threading.Tasks.Task::Delay(int32) -IL_0045: call instance void [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable::.ctor(valuetype [System.Private.CoreLib]System.Threading.Tasks.ValueTask&) -IL_004a: stloc.s V_5 -IL_004c: ldloca.s V_5 -IL_004e: ldc.i4.0 -IL_004f: callvirt instance valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable [System.Private.CoreLib]System.Threading.Tasks.ValueTask::ConfigureAwait(bool) -IL_0054: stloc.s V_4 -IL_0056: ldloca.s V_4 -IL_0058: call instance valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable::GetAwaiter() -IL_005d: stloc.3 -IL_005e: ldloca.s V_3 -IL_0060: call instance bool [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter::get_IsCompleted() -IL_0065: brtrue.s IL_00a8 -IL_0067: ldarg.0 -IL_0068: ldc.i4.0 -IL_0069: dup -IL_006a: stloc.0 -IL_006b: stfld int32 CatchAndFinally/'d__7'::'<>1__state' -IL_0070: ldarg.0 -IL_0071: ldloc.3 -IL_0072: stfld valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter CatchAndFinally/'d__7'::'<>u__1' -IL_0077: ldarg.0 -IL_0078: stloc.s V_6 -IL_007a: ldarg.0 -IL_007b: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__7'::'<>t__builder' -IL_0080: ldloca.s V_3 -IL_0082: ldloca.s V_6 -IL_0084: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::AwaitUnsafeOnCompletedd__7'>(!!0&, -!!1&) -IL_0089: nop -IL_008a: leave.s IL_00ea -IL_008c: ldarg.0 -IL_008d: ldfld valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter CatchAndFinally/'d__7'::'<>u__1' -IL_0092: stloc.3 -IL_0093: ldarg.0 -IL_0094: ldflda valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter CatchAndFinally/'d__7'::'<>u__1' -IL_0099: initobj [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter -IL_009f: ldarg.0 -IL_00a0: ldc.i4.m1 -IL_00a1: dup -IL_00a2: stloc.0 -IL_00a3: stfld int32 CatchAndFinally/'d__7'::'<>1__state' -IL_00a8: ldloca.s V_3 -IL_00aa: call instance void [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter::GetResult() -IL_00af: nop -IL_00b0: nop -IL_00b1: br.s IL_00b3 -IL_00b3: ldarg.0 -IL_00b4: ldnull -IL_00b5: stfld object CatchAndFinally/'d__7'::'<>s__1' -IL_00ba: leave.s IL_00d6 -} // end .try -catch [System.Runtime]System.Exception -{ -IL_00bc: stloc.s V_7 -IL_00be: ldarg.0 -IL_00bf: ldc.i4.s -2 -IL_00c1: stfld int32 CatchAndFinally/'d__7'::'<>1__state' -IL_00c6: ldarg.0 -IL_00c7: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__7'::'<>t__builder' -IL_00cc: ldloc.s V_7 -IL_00ce: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetException(class [System.Runtime]System.Exception) -IL_00d3: nop -IL_00d4: leave.s IL_00ea -} // end handler -IL_00d6: ldarg.0 -IL_00d7: ldc.i4.s -2 -IL_00d9: stfld int32 CatchAndFinally/'d__7'::'<>1__state' -IL_00de: ldarg.0 -IL_00df: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__7'::'<>t__builder' -IL_00e4: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetResult() -IL_00e9: nop -IL_00ea: ret -} -.method private hidebysig newslot virtual final -instance void SetStateMachine(class [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed -{ -.param [1] -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.override [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine -.maxstack 8 -IL_0000: ret -} -} -.class auto ansi sealed nested private beforefieldinit 'd__2' -extends [System.Runtime]System.Object -implements [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine -{ -.interfaceimpl type [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field public int32 '<>1__state' -.field public valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder '<>t__builder' -.field public class CatchAndFinally '<>4__this' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field private object '<>s__1' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field private int32 '<>s__2' -.field private valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter '<>u__1' -.method public hidebysig specialname rtspecialname -instance void .ctor() cil managed -{ -.maxstack 8 -IL_0000: ldarg.0 -IL_0001: call instance void [System.Runtime]System.Object::.ctor() -IL_0006: nop -IL_0007: ret -} -.method private hidebysig newslot virtual final -instance void MoveNext() cil managed -{ -.override [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext -.maxstack 3 -.locals init (int32 V_0, -object V_1, -int32 V_2, -valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter V_3, -valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable V_4, -class CatchAndFinally/'d__2' V_5, -class [System.Runtime]System.Exception V_6) -IL_0000: ldarg.0 -IL_0001: ldfld int32 CatchAndFinally/'d__2'::'<>1__state' -IL_0006: stloc.0 -.try -{ -IL_0007: ldloc.0 -IL_0008: brfalse.s IL_000c -IL_000a: br.s IL_000e -IL_000c: br.s IL_0080 -IL_000e: nop -IL_000f: ldarg.0 -IL_0010: ldc.i4.0 -IL_0011: stfld int32 CatchAndFinally/'d__2'::'<>s__2' -.try -{ -IL_0016: nop -IL_0017: newobj instance void [System.Runtime]System.NotImplementedException::.ctor() -IL_001c: throw -} // end .try -catch [System.Runtime]System.Object -{ -IL_001d: stloc.1 -IL_001e: ldarg.0 -IL_001f: ldloc.1 -IL_0020: stfld object CatchAndFinally/'d__2'::'<>s__1' -IL_0025: ldarg.0 -IL_0026: ldc.i4.1 -IL_0027: stfld int32 CatchAndFinally/'d__2'::'<>s__2' -IL_002c: leave.s IL_002e -} // end handler -IL_002e: ldarg.0 -IL_002f: ldfld int32 CatchAndFinally/'d__2'::'<>s__2' -IL_0034: stloc.2 -IL_0035: ldloc.2 -IL_0036: ldc.i4.1 -IL_0037: beq.s IL_003b -IL_0039: br.s IL_00a7 -IL_003b: nop -IL_003c: ldc.i4.1 -IL_003d: call class [System.Runtime]System.Threading.Tasks.Task [System.Runtime]System.Threading.Tasks.Task::Delay(int32) -IL_0042: ldc.i4.0 -IL_0043: callvirt instance valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable [System.Runtime]System.Threading.Tasks.Task::ConfigureAwait(bool) -IL_0048: stloc.s V_4 -IL_004a: ldloca.s V_4 -IL_004c: call instance valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable::GetAwaiter() -IL_0051: stloc.3 -IL_0052: ldloca.s V_3 -IL_0054: call instance bool [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter::get_IsCompleted() -IL_0059: brtrue.s IL_009c -IL_005b: ldarg.0 -IL_005c: ldc.i4.0 -IL_005d: dup -IL_005e: stloc.0 -IL_005f: stfld int32 CatchAndFinally/'d__2'::'<>1__state' -IL_0064: ldarg.0 -IL_0065: ldloc.3 -IL_0066: stfld valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter CatchAndFinally/'d__2'::'<>u__1' -IL_006b: ldarg.0 -IL_006c: stloc.s V_5 -IL_006e: ldarg.0 -IL_006f: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__2'::'<>t__builder' -IL_0074: ldloca.s V_3 -IL_0076: ldloca.s V_5 -IL_0078: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::AwaitUnsafeOnCompletedd__2'>(!!0&, -!!1&) -IL_007d: nop -IL_007e: leave.s IL_00de -IL_0080: ldarg.0 -IL_0081: ldfld valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter CatchAndFinally/'d__2'::'<>u__1' -IL_0086: stloc.3 -IL_0087: ldarg.0 -IL_0088: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter CatchAndFinally/'d__2'::'<>u__1' -IL_008d: initobj [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter -IL_0093: ldarg.0 -IL_0094: ldc.i4.m1 -IL_0095: dup -IL_0096: stloc.0 -IL_0097: stfld int32 CatchAndFinally/'d__2'::'<>1__state' -IL_009c: ldloca.s V_3 -IL_009e: call instance void [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter::GetResult() -IL_00a3: nop -IL_00a4: nop -IL_00a5: br.s IL_00a7 -IL_00a7: ldarg.0 -IL_00a8: ldnull -IL_00a9: stfld object CatchAndFinally/'d__2'::'<>s__1' -IL_00ae: leave.s IL_00ca -} // end .try -catch [System.Runtime]System.Exception -{ -IL_00b0: stloc.s V_6 -IL_00b2: ldarg.0 -IL_00b3: ldc.i4.s -2 -IL_00b5: stfld int32 CatchAndFinally/'d__2'::'<>1__state' -IL_00ba: ldarg.0 -IL_00bb: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__2'::'<>t__builder' -IL_00c0: ldloc.s V_6 -IL_00c2: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetException(class [System.Runtime]System.Exception) -IL_00c7: nop -IL_00c8: leave.s IL_00de -} // end handler -IL_00ca: ldarg.0 -IL_00cb: ldc.i4.s -2 -IL_00cd: stfld int32 CatchAndFinally/'d__2'::'<>1__state' -IL_00d2: ldarg.0 -IL_00d3: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__2'::'<>t__builder' -IL_00d8: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetResult() -IL_00dd: nop -IL_00de: ret -} -.method private hidebysig newslot virtual final -instance void SetStateMachine(class [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed -{ -.param [1] -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.override [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine -.maxstack 8 -IL_0000: ret -} -} -.class auto ansi sealed nested private beforefieldinit 'd__8' -extends [System.Runtime]System.Object -implements [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine -{ -.interfaceimpl type [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field public int32 '<>1__state' -.field public valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder '<>t__builder' -.field public class CatchAndFinally '<>4__this' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field private object '<>s__1' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field private int32 '<>s__2' -.field private valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter '<>u__1' -.method public hidebysig specialname rtspecialname -instance void .ctor() cil managed -{ -.maxstack 8 -IL_0000: ldarg.0 -IL_0001: call instance void [System.Runtime]System.Object::.ctor() -IL_0006: nop -IL_0007: ret -} -.method private hidebysig newslot virtual final -instance void MoveNext() cil managed -{ -.override [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext -.maxstack 3 -.locals init (int32 V_0, -object V_1, -int32 V_2, -valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter V_3, -valuetype [System.Threading.Tasks.Extensions]System.Threading.Tasks.ValueTask V_4, -valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable V_5, -class CatchAndFinally/'d__8' V_6, -class [System.Runtime]System.Exception V_7) -IL_0000: ldarg.0 -IL_0001: ldfld int32 CatchAndFinally/'d__8'::'<>1__state' -IL_0006: stloc.0 -.try -{ -IL_0007: ldloc.0 -IL_0008: brfalse.s IL_000c -IL_000a: br.s IL_000e -IL_000c: br.s IL_0089 -IL_000e: nop -IL_000f: ldarg.0 -IL_0010: ldc.i4.0 -IL_0011: stfld int32 CatchAndFinally/'d__8'::'<>s__2' -.try -{ -IL_0016: nop -IL_0017: newobj instance void [System.Runtime]System.NotImplementedException::.ctor() -IL_001c: throw -} // end .try -catch [System.Runtime]System.Object -{ -IL_001d: stloc.1 -IL_001e: ldarg.0 -IL_001f: ldloc.1 -IL_0020: stfld object CatchAndFinally/'d__8'::'<>s__1' -IL_0025: ldarg.0 -IL_0026: ldc.i4.1 -IL_0027: stfld int32 CatchAndFinally/'d__8'::'<>s__2' -IL_002c: leave.s IL_002e -} // end handler -IL_002e: ldarg.0 -IL_002f: ldfld int32 CatchAndFinally/'d__8'::'<>s__2' -IL_0034: stloc.2 -IL_0035: ldloc.2 -IL_0036: ldc.i4.1 -IL_0037: beq.s IL_003b -IL_0039: br.s IL_00b0 -IL_003b: nop -IL_003c: ldc.i4.1 -IL_003d: call class [System.Runtime]System.Threading.Tasks.Task [System.Runtime]System.Threading.Tasks.Task::Delay(int32) -IL_0042: newobj instance void [System.Threading.Tasks.Extensions]System.Threading.Tasks.ValueTask::.ctor(class [System.Runtime]System.Threading.Tasks.Task) -IL_0047: stloc.s V_4 -IL_0049: ldloca.s V_4 -IL_004b: ldc.i4.0 -IL_004c: call instance valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable [System.Threading.Tasks.Extensions]System.Threading.Tasks.ValueTask::ConfigureAwait(bool) -IL_0051: stloc.s V_5 -IL_0053: ldloca.s V_5 -IL_0055: call instance valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable::GetAwaiter() -IL_005a: stloc.3 -IL_005b: ldloca.s V_3 -IL_005d: call instance bool [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter::get_IsCompleted() -IL_0062: brtrue.s IL_00a5 -IL_0064: ldarg.0 -IL_0065: ldc.i4.0 -IL_0066: dup -IL_0067: stloc.0 -IL_0068: stfld int32 CatchAndFinally/'d__8'::'<>1__state' -IL_006d: ldarg.0 -IL_006e: ldloc.3 -IL_006f: stfld valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter CatchAndFinally/'d__8'::'<>u__1' -IL_0074: ldarg.0 -IL_0075: stloc.s V_6 -IL_0077: ldarg.0 -IL_0078: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__8'::'<>t__builder' -IL_007d: ldloca.s V_3 -IL_007f: ldloca.s V_6 -IL_0081: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::AwaitUnsafeOnCompletedd__8'>(!!0&, -!!1&) -IL_0086: nop -IL_0087: leave.s IL_00e7 -IL_0089: ldarg.0 -IL_008a: ldfld valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter CatchAndFinally/'d__8'::'<>u__1' -IL_008f: stloc.3 -IL_0090: ldarg.0 -IL_0091: ldflda valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter CatchAndFinally/'d__8'::'<>u__1' -IL_0096: initobj [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter -IL_009c: ldarg.0 -IL_009d: ldc.i4.m1 -IL_009e: dup -IL_009f: stloc.0 -IL_00a0: stfld int32 CatchAndFinally/'d__8'::'<>1__state' -IL_00a5: ldloca.s V_3 -IL_00a7: call instance void [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter::GetResult() -IL_00ac: nop -IL_00ad: nop -IL_00ae: br.s IL_00b0 -IL_00b0: ldarg.0 -IL_00b1: ldnull -IL_00b2: stfld object CatchAndFinally/'d__8'::'<>s__1' -IL_00b7: leave.s IL_00d3 -} // end .try -catch [System.Runtime]System.Exception -{ -IL_00b9: stloc.s V_7 -IL_00bb: ldarg.0 -IL_00bc: ldc.i4.s -2 -IL_00be: stfld int32 CatchAndFinally/'d__8'::'<>1__state' -IL_00c3: ldarg.0 -IL_00c4: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__8'::'<>t__builder' -IL_00c9: ldloc.s V_7 -IL_00cb: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetException(class [System.Runtime]System.Exception) -IL_00d0: nop -IL_00d1: leave.s IL_00e7 -} // end handler -IL_00d3: ldarg.0 -IL_00d4: ldc.i4.s -2 -IL_00d6: stfld int32 CatchAndFinally/'d__8'::'<>1__state' -IL_00db: ldarg.0 -IL_00dc: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__8'::'<>t__builder' -IL_00e1: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetResult() -IL_00e6: nop -IL_00e7: ret -} -.method private hidebysig newslot virtual final -instance void SetStateMachine(class [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed -{ -.param [1] -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.override [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine -.maxstack 8 -IL_0000: ret -} -} -.class auto ansi sealed nested private beforefieldinit 'd__3' -extends [System.Runtime]System.Object -implements [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine -{ -.interfaceimpl type [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field public int32 '<>1__state' -.field public valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder '<>t__builder' -.field public class CatchAndFinally '<>4__this' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field private object '<>s__1' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field private int32 '<>s__2' -.field private valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter '<>u__1' -.method public hidebysig specialname rtspecialname -instance void .ctor() cil managed -{ -.maxstack 8 -IL_0000: ldarg.0 -IL_0001: call instance void [System.Runtime]System.Object::.ctor() -IL_0006: nop -IL_0007: ret -} -.method private hidebysig newslot virtual final -instance void MoveNext() cil managed -{ -.override [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext -.maxstack 3 -.locals init (int32 V_0, -object V_1, -valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter V_2, -class CatchAndFinally/'d__3' V_3, -class [System.Runtime]System.Exception V_4) -IL_0000: ldarg.0 -IL_0001: ldfld int32 CatchAndFinally/'d__3'::'<>1__state' -IL_0006: stloc.0 -.try -{ -IL_0007: ldloc.0 -IL_0008: brfalse.s IL_000c -IL_000a: br.s IL_000e -IL_000c: br.s IL_006b -IL_000e: nop -IL_000f: ldarg.0 -IL_0010: ldnull -IL_0011: stfld object CatchAndFinally/'d__3'::'<>s__1' -IL_0016: ldarg.0 -IL_0017: ldc.i4.0 -IL_0018: stfld int32 CatchAndFinally/'d__3'::'<>s__2' -.try -{ -IL_001d: nop -IL_001e: newobj instance void [System.Runtime]System.NotImplementedException::.ctor() -IL_0023: throw -} // end .try -catch [System.Runtime]System.Object -{ -IL_0024: stloc.1 -IL_0025: ldarg.0 -IL_0026: ldloc.1 -IL_0027: stfld object CatchAndFinally/'d__3'::'<>s__1' -IL_002c: leave.s IL_002e -} // end handler -IL_002e: nop -IL_002f: ldc.i4.1 -IL_0030: call class [System.Runtime]System.Threading.Tasks.Task [System.Runtime]System.Threading.Tasks.Task::Delay(int32) -IL_0035: callvirt instance valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter [System.Runtime]System.Threading.Tasks.Task::GetAwaiter() -IL_003a: stloc.2 -IL_003b: ldloca.s V_2 -IL_003d: call instance bool [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter::get_IsCompleted() -IL_0042: brtrue.s IL_0087 -IL_0044: ldarg.0 -IL_0045: ldc.i4.0 -IL_0046: dup -IL_0047: stloc.0 -IL_0048: stfld int32 CatchAndFinally/'d__3'::'<>1__state' -IL_004d: ldarg.0 -IL_004e: ldloc.2 -IL_004f: stfld valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter CatchAndFinally/'d__3'::'<>u__1' -IL_0054: ldarg.0 -IL_0055: stloc.3 -IL_0056: ldarg.0 -IL_0057: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__3'::'<>t__builder' -IL_005c: ldloca.s V_2 -IL_005e: ldloca.s V_3 -IL_0060: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::AwaitUnsafeOnCompletedd__3'>(!!0&, -!!1&) -IL_0065: nop -IL_0066: leave IL_00f3 -IL_006b: ldarg.0 -IL_006c: ldfld valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter CatchAndFinally/'d__3'::'<>u__1' -IL_0071: stloc.2 -IL_0072: ldarg.0 -IL_0073: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter CatchAndFinally/'d__3'::'<>u__1' -IL_0078: initobj [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter -IL_007e: ldarg.0 -IL_007f: ldc.i4.m1 -IL_0080: dup -IL_0081: stloc.0 -IL_0082: stfld int32 CatchAndFinally/'d__3'::'<>1__state' -IL_0087: ldloca.s V_2 -IL_0089: call instance void [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter::GetResult() -IL_008e: nop -IL_008f: nop -IL_0090: ldarg.0 -IL_0091: ldfld object CatchAndFinally/'d__3'::'<>s__1' -IL_0096: stloc.1 -IL_0097: ldloc.1 -IL_0098: brfalse.s IL_00b5 -IL_009a: ldloc.1 -IL_009b: isinst [System.Runtime]System.Exception -IL_00a0: stloc.s V_4 -IL_00a2: ldloc.s V_4 -IL_00a4: brtrue.s IL_00a8 -IL_00a6: ldloc.1 -IL_00a7: throw -IL_00a8: ldloc.s V_4 -IL_00aa: call class [System.Runtime]System.Runtime.ExceptionServices.ExceptionDispatchInfo [System.Runtime]System.Runtime.ExceptionServices.ExceptionDispatchInfo::Capture(class [System.Runtime]System.Exception) -IL_00af: callvirt instance void [System.Runtime]System.Runtime.ExceptionServices.ExceptionDispatchInfo::Throw() -IL_00b4: nop -IL_00b5: ldarg.0 -IL_00b6: ldfld int32 CatchAndFinally/'d__3'::'<>s__2' -IL_00bb: pop -IL_00bc: ldarg.0 -IL_00bd: ldnull -IL_00be: stfld object CatchAndFinally/'d__3'::'<>s__1' -IL_00c3: leave.s IL_00df -} // end .try -catch [System.Runtime]System.Exception -{ -IL_00c5: stloc.s V_4 -IL_00c7: ldarg.0 -IL_00c8: ldc.i4.s -2 -IL_00ca: stfld int32 CatchAndFinally/'d__3'::'<>1__state' -IL_00cf: ldarg.0 -IL_00d0: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__3'::'<>t__builder' -IL_00d5: ldloc.s V_4 -IL_00d7: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetException(class [System.Runtime]System.Exception) -IL_00dc: nop -IL_00dd: leave.s IL_00f3 -} // end handler -IL_00df: ldarg.0 -IL_00e0: ldc.i4.s -2 -IL_00e2: stfld int32 CatchAndFinally/'d__3'::'<>1__state' -IL_00e7: ldarg.0 -IL_00e8: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__3'::'<>t__builder' -IL_00ed: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetResult() -IL_00f2: nop -IL_00f3: ret -} -.method private hidebysig newslot virtual final -instance void SetStateMachine(class [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed -{ -.param [1] -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.override [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine -.maxstack 8 -IL_0000: ret -} -} -.class auto ansi sealed nested private beforefieldinit 'd__9' -extends [System.Runtime]System.Object -implements [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine -{ -.interfaceimpl type [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field public int32 '<>1__state' -.field public valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder '<>t__builder' -.field public class CatchAndFinally '<>4__this' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field private object '<>s__1' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field private int32 '<>s__2' -.field private valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ValueTaskAwaiter '<>u__1' -.method public hidebysig specialname rtspecialname -instance void .ctor() cil managed -{ -.maxstack 8 -IL_0000: ldarg.0 -IL_0001: call instance void [System.Runtime]System.Object::.ctor() -IL_0006: nop -IL_0007: ret -} -.method private hidebysig newslot virtual final -instance void MoveNext() cil managed -{ -.override [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext -.maxstack 3 -.locals init (int32 V_0, -object V_1, -valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ValueTaskAwaiter V_2, -valuetype [System.Threading.Tasks.Extensions]System.Threading.Tasks.ValueTask V_3, -class CatchAndFinally/'d__9' V_4, -class [System.Runtime]System.Exception V_5) -IL_0000: ldarg.0 -IL_0001: ldfld int32 CatchAndFinally/'d__9'::'<>1__state' -IL_0006: stloc.0 -.try -{ -IL_0007: ldloc.0 -IL_0008: brfalse.s IL_000c -IL_000a: br.s IL_000e -IL_000c: br.s IL_0074 -IL_000e: nop -IL_000f: ldarg.0 -IL_0010: ldnull -IL_0011: stfld object CatchAndFinally/'d__9'::'<>s__1' -IL_0016: ldarg.0 -IL_0017: ldc.i4.0 -IL_0018: stfld int32 CatchAndFinally/'d__9'::'<>s__2' -.try -{ -IL_001d: nop -IL_001e: newobj instance void [System.Runtime]System.NotImplementedException::.ctor() -IL_0023: throw -} // end .try -catch [System.Runtime]System.Object -{ -IL_0024: stloc.1 -IL_0025: ldarg.0 -IL_0026: ldloc.1 -IL_0027: stfld object CatchAndFinally/'d__9'::'<>s__1' -IL_002c: leave.s IL_002e -} // end handler -IL_002e: nop -IL_002f: ldc.i4.1 -IL_0030: call class [System.Runtime]System.Threading.Tasks.Task [System.Runtime]System.Threading.Tasks.Task::Delay(int32) -IL_0035: newobj instance void [System.Threading.Tasks.Extensions]System.Threading.Tasks.ValueTask::.ctor(class [System.Runtime]System.Threading.Tasks.Task) -IL_003a: stloc.3 -IL_003b: ldloca.s V_3 -IL_003d: call instance valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ValueTaskAwaiter [System.Threading.Tasks.Extensions]System.Threading.Tasks.ValueTask::GetAwaiter() -IL_0042: stloc.2 -IL_0043: ldloca.s V_2 -IL_0045: call instance bool [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ValueTaskAwaiter::get_IsCompleted() -IL_004a: brtrue.s IL_0090 -IL_004c: ldarg.0 -IL_004d: ldc.i4.0 -IL_004e: dup -IL_004f: stloc.0 -IL_0050: stfld int32 CatchAndFinally/'d__9'::'<>1__state' -IL_0055: ldarg.0 -IL_0056: ldloc.2 -IL_0057: stfld valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ValueTaskAwaiter CatchAndFinally/'d__9'::'<>u__1' -IL_005c: ldarg.0 -IL_005d: stloc.s V_4 -IL_005f: ldarg.0 -IL_0060: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__9'::'<>t__builder' -IL_0065: ldloca.s V_2 -IL_0067: ldloca.s V_4 -IL_0069: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::AwaitUnsafeOnCompletedd__9'>(!!0&, -!!1&) -IL_006e: nop -IL_006f: leave IL_00fc -IL_0074: ldarg.0 -IL_0075: ldfld valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ValueTaskAwaiter CatchAndFinally/'d__9'::'<>u__1' -IL_007a: stloc.2 -IL_007b: ldarg.0 -IL_007c: ldflda valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ValueTaskAwaiter CatchAndFinally/'d__9'::'<>u__1' -IL_0081: initobj [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ValueTaskAwaiter -IL_0087: ldarg.0 -IL_0088: ldc.i4.m1 -IL_0089: dup -IL_008a: stloc.0 -IL_008b: stfld int32 CatchAndFinally/'d__9'::'<>1__state' -IL_0090: ldloca.s V_2 -IL_0092: call instance void [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ValueTaskAwaiter::GetResult() -IL_0097: nop -IL_0098: nop -IL_0099: ldarg.0 -IL_009a: ldfld object CatchAndFinally/'d__9'::'<>s__1' -IL_009f: stloc.1 -IL_00a0: ldloc.1 -IL_00a1: brfalse.s IL_00be -IL_00a3: ldloc.1 -IL_00a4: isinst [System.Runtime]System.Exception -IL_00a9: stloc.s V_5 -IL_00ab: ldloc.s V_5 -IL_00ad: brtrue.s IL_00b1 -IL_00af: ldloc.1 -IL_00b0: throw -IL_00b1: ldloc.s V_5 -IL_00b3: call class [System.Runtime]System.Runtime.ExceptionServices.ExceptionDispatchInfo [System.Runtime]System.Runtime.ExceptionServices.ExceptionDispatchInfo::Capture(class [System.Runtime]System.Exception) -IL_00b8: callvirt instance void [System.Runtime]System.Runtime.ExceptionServices.ExceptionDispatchInfo::Throw() -IL_00bd: nop -IL_00be: ldarg.0 -IL_00bf: ldfld int32 CatchAndFinally/'d__9'::'<>s__2' -IL_00c4: pop -IL_00c5: ldarg.0 -IL_00c6: ldnull -IL_00c7: stfld object CatchAndFinally/'d__9'::'<>s__1' -IL_00cc: leave.s IL_00e8 -} // end .try -catch [System.Runtime]System.Exception -{ -IL_00ce: stloc.s V_5 -IL_00d0: ldarg.0 -IL_00d1: ldc.i4.s -2 -IL_00d3: stfld int32 CatchAndFinally/'d__9'::'<>1__state' -IL_00d8: ldarg.0 -IL_00d9: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__9'::'<>t__builder' -IL_00de: ldloc.s V_5 -IL_00e0: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetException(class [System.Runtime]System.Exception) -IL_00e5: nop -IL_00e6: leave.s IL_00fc -} // end handler -IL_00e8: ldarg.0 -IL_00e9: ldc.i4.s -2 -IL_00eb: stfld int32 CatchAndFinally/'d__9'::'<>1__state' -IL_00f0: ldarg.0 -IL_00f1: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__9'::'<>t__builder' -IL_00f6: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetResult() -IL_00fb: nop -IL_00fc: ret -} -.method private hidebysig newslot virtual final -instance void SetStateMachine(class [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed -{ -.param [1] -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.override [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine -.maxstack 8 -IL_0000: ret -} -} -.class auto ansi sealed nested private beforefieldinit 'd__4' -extends [System.Runtime]System.Object -implements [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine -{ -.interfaceimpl type [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field public int32 '<>1__state' -.field public valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder '<>t__builder' -.field public class CatchAndFinally '<>4__this' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field private object '<>s__1' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field private int32 '<>s__2' -.field private valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter '<>u__1' -.method public hidebysig specialname rtspecialname -instance void .ctor() cil managed -{ -.maxstack 8 -IL_0000: ldarg.0 -IL_0001: call instance void [System.Runtime]System.Object::.ctor() -IL_0006: nop -IL_0007: ret -} -.method private hidebysig newslot virtual final -instance void MoveNext() cil managed -{ -.override [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext -.maxstack 3 -.locals init (int32 V_0, -object V_1, -valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter V_2, -valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable V_3, -class CatchAndFinally/'d__4' V_4, -class [System.Runtime]System.Exception V_5) -IL_0000: ldarg.0 -IL_0001: ldfld int32 CatchAndFinally/'d__4'::'<>1__state' -IL_0006: stloc.0 -.try -{ -IL_0007: ldloc.0 -IL_0008: brfalse.s IL_000c -IL_000a: br.s IL_000e -IL_000c: br.s IL_0075 -IL_000e: nop -IL_000f: ldarg.0 -IL_0010: ldnull -IL_0011: stfld object CatchAndFinally/'d__4'::'<>s__1' -IL_0016: ldarg.0 -IL_0017: ldc.i4.0 -IL_0018: stfld int32 CatchAndFinally/'d__4'::'<>s__2' -.try -{ -IL_001d: nop -IL_001e: newobj instance void [System.Runtime]System.NotImplementedException::.ctor() -IL_0023: throw -} // end .try -catch [System.Runtime]System.Object -{ -IL_0024: stloc.1 -IL_0025: ldarg.0 -IL_0026: ldloc.1 -IL_0027: stfld object CatchAndFinally/'d__4'::'<>s__1' -IL_002c: leave.s IL_002e -} // end handler -IL_002e: nop -IL_002f: ldc.i4.1 -IL_0030: call class [System.Runtime]System.Threading.Tasks.Task [System.Runtime]System.Threading.Tasks.Task::Delay(int32) -IL_0035: ldc.i4.0 -IL_0036: callvirt instance valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable [System.Private.CoreLib]System.Threading.Tasks.Task::ConfigureAwait(bool) -IL_003b: stloc.3 -IL_003c: ldloca.s V_3 -IL_003e: call instance valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable::GetAwaiter() -IL_0043: stloc.2 -IL_0044: ldloca.s V_2 -IL_0046: call instance bool [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter::get_IsCompleted() -IL_004b: brtrue.s IL_0091 -IL_004d: ldarg.0 -IL_004e: ldc.i4.0 -IL_004f: dup -IL_0050: stloc.0 -IL_0051: stfld int32 CatchAndFinally/'d__4'::'<>1__state' -IL_0056: ldarg.0 -IL_0057: ldloc.2 -IL_0058: stfld valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter CatchAndFinally/'d__4'::'<>u__1' -IL_005d: ldarg.0 -IL_005e: stloc.s V_4 -IL_0060: ldarg.0 -IL_0061: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__4'::'<>t__builder' -IL_0066: ldloca.s V_2 -IL_0068: ldloca.s V_4 -IL_006a: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::AwaitUnsafeOnCompletedd__4'>(!!0&, -!!1&) -IL_006f: nop -IL_0070: leave IL_00fd -IL_0075: ldarg.0 -IL_0076: ldfld valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter CatchAndFinally/'d__4'::'<>u__1' -IL_007b: stloc.2 -IL_007c: ldarg.0 -IL_007d: ldflda valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter CatchAndFinally/'d__4'::'<>u__1' -IL_0082: initobj [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter -IL_0088: ldarg.0 -IL_0089: ldc.i4.m1 -IL_008a: dup -IL_008b: stloc.0 -IL_008c: stfld int32 CatchAndFinally/'d__4'::'<>1__state' -IL_0091: ldloca.s V_2 -IL_0093: call instance void [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter::GetResult() -IL_0098: nop -IL_0099: nop -IL_009a: ldarg.0 -IL_009b: ldfld object CatchAndFinally/'d__4'::'<>s__1' -IL_00a0: stloc.1 -IL_00a1: ldloc.1 -IL_00a2: brfalse.s IL_00bf -IL_00a4: ldloc.1 -IL_00a5: isinst [System.Runtime]System.Exception -IL_00aa: stloc.s V_5 -IL_00ac: ldloc.s V_5 -IL_00ae: brtrue.s IL_00b2 -IL_00b0: ldloc.1 -IL_00b1: throw -IL_00b2: ldloc.s V_5 -IL_00b4: call class [System.Runtime]System.Runtime.ExceptionServices.ExceptionDispatchInfo [System.Runtime]System.Runtime.ExceptionServices.ExceptionDispatchInfo::Capture(class [System.Runtime]System.Exception) -IL_00b9: callvirt instance void [System.Runtime]System.Runtime.ExceptionServices.ExceptionDispatchInfo::Throw() -IL_00be: nop -IL_00bf: ldarg.0 -IL_00c0: ldfld int32 CatchAndFinally/'d__4'::'<>s__2' -IL_00c5: pop -IL_00c6: ldarg.0 -IL_00c7: ldnull -IL_00c8: stfld object CatchAndFinally/'d__4'::'<>s__1' -IL_00cd: leave.s IL_00e9 -} // end .try -catch [System.Runtime]System.Exception -{ -IL_00cf: stloc.s V_5 -IL_00d1: ldarg.0 -IL_00d2: ldc.i4.s -2 -IL_00d4: stfld int32 CatchAndFinally/'d__4'::'<>1__state' -IL_00d9: ldarg.0 -IL_00da: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__4'::'<>t__builder' -IL_00df: ldloc.s V_5 -IL_00e1: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetException(class [System.Runtime]System.Exception) -IL_00e6: nop -IL_00e7: leave.s IL_00fd -} // end handler -IL_00e9: ldarg.0 -IL_00ea: ldc.i4.s -2 -IL_00ec: stfld int32 CatchAndFinally/'d__4'::'<>1__state' -IL_00f1: ldarg.0 -IL_00f2: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__4'::'<>t__builder' -IL_00f7: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetResult() -IL_00fc: nop -IL_00fd: ret -} -.method private hidebysig newslot virtual final -instance void SetStateMachine(class [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed -{ -.param [1] -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.override [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine -.maxstack 8 -IL_0000: ret -} -} -.class auto ansi sealed nested private beforefieldinit 'd__10' -extends [System.Runtime]System.Object -implements [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine -{ -.interfaceimpl type [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field public int32 '<>1__state' -.field public valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder '<>t__builder' -.field public class CatchAndFinally '<>4__this' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field private object '<>s__1' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field private int32 '<>s__2' -.field private valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter '<>u__1' -.method public hidebysig specialname rtspecialname -instance void .ctor() cil managed -{ -.maxstack 8 -IL_0000: ldarg.0 -IL_0001: call instance void [System.Runtime]System.Object::.ctor() -IL_0006: nop -IL_0007: ret -} -.method private hidebysig newslot virtual final -instance void MoveNext() cil managed -{ -.override [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext -.maxstack 3 -.locals init (int32 V_0, -object V_1, -valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter V_2, -valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable V_3, -valuetype [System.Threading.Tasks.Extensions]System.Threading.Tasks.ValueTask V_4, -class CatchAndFinally/'d__10' V_5, -class [System.Runtime]System.Exception V_6) -IL_0000: ldarg.0 -IL_0001: ldfld int32 CatchAndFinally/'d__10'::'<>1__state' -IL_0006: stloc.0 -.try -{ -IL_0007: ldloc.0 -IL_0008: brfalse.s IL_000c -IL_000a: br.s IL_000e -IL_000c: br.s IL_007e -IL_000e: nop -IL_000f: ldarg.0 -IL_0010: ldnull -IL_0011: stfld object CatchAndFinally/'d__10'::'<>s__1' -IL_0016: ldarg.0 -IL_0017: ldc.i4.0 -IL_0018: stfld int32 CatchAndFinally/'d__10'::'<>s__2' -.try -{ -IL_001d: nop -IL_001e: newobj instance void [System.Runtime]System.NotImplementedException::.ctor() -IL_0023: throw -} // end .try -catch [System.Runtime]System.Object -{ -IL_0024: stloc.1 -IL_0025: ldarg.0 -IL_0026: ldloc.1 -IL_0027: stfld object CatchAndFinally/'d__10'::'<>s__1' -IL_002c: leave.s IL_002e -} // end handler -IL_002e: nop -IL_002f: ldc.i4.1 -IL_0030: call class [System.Runtime]System.Threading.Tasks.Task [System.Runtime]System.Threading.Tasks.Task::Delay(int32) -IL_0035: call instance void [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable::.ctor(valuetype [System.Private.CoreLib]System.Threading.Tasks.ValueTask&) -IL_003a: stloc.s V_4 -IL_003c: ldloca.s V_4 -IL_003e: ldc.i4.0 -IL_003f: callvirt instance valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable [System.Private.CoreLib]System.Threading.Tasks.ValueTask::ConfigureAwait(bool) -IL_0044: stloc.3 -IL_0045: ldloca.s V_3 -IL_0047: call instance valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable::GetAwaiter() -IL_004c: stloc.2 -IL_004d: ldloca.s V_2 -IL_004f: call instance bool [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter::get_IsCompleted() -IL_0054: brtrue.s IL_009a -IL_0056: ldarg.0 -IL_0057: ldc.i4.0 -IL_0058: dup -IL_0059: stloc.0 -IL_005a: stfld int32 CatchAndFinally/'d__10'::'<>1__state' -IL_005f: ldarg.0 -IL_0060: ldloc.2 -IL_0061: stfld valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter CatchAndFinally/'d__10'::'<>u__1' -IL_0066: ldarg.0 -IL_0067: stloc.s V_5 -IL_0069: ldarg.0 -IL_006a: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__10'::'<>t__builder' -IL_006f: ldloca.s V_2 -IL_0071: ldloca.s V_5 -IL_0073: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::AwaitUnsafeOnCompletedd__10'>(!!0&, -!!1&) -IL_0078: nop -IL_0079: leave IL_0106 -IL_007e: ldarg.0 -IL_007f: ldfld valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter CatchAndFinally/'d__10'::'<>u__1' -IL_0084: stloc.2 -IL_0085: ldarg.0 -IL_0086: ldflda valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter CatchAndFinally/'d__10'::'<>u__1' -IL_008b: initobj [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter -IL_0091: ldarg.0 -IL_0092: ldc.i4.m1 -IL_0093: dup -IL_0094: stloc.0 -IL_0095: stfld int32 CatchAndFinally/'d__10'::'<>1__state' -IL_009a: ldloca.s V_2 -IL_009c: call instance void [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter::GetResult() -IL_00a1: nop -IL_00a2: nop -IL_00a3: ldarg.0 -IL_00a4: ldfld object CatchAndFinally/'d__10'::'<>s__1' -IL_00a9: stloc.1 -IL_00aa: ldloc.1 -IL_00ab: brfalse.s IL_00c8 -IL_00ad: ldloc.1 -IL_00ae: isinst [System.Runtime]System.Exception -IL_00b3: stloc.s V_6 -IL_00b5: ldloc.s V_6 -IL_00b7: brtrue.s IL_00bb -IL_00b9: ldloc.1 -IL_00ba: throw -IL_00bb: ldloc.s V_6 -IL_00bd: call class [System.Runtime]System.Runtime.ExceptionServices.ExceptionDispatchInfo [System.Runtime]System.Runtime.ExceptionServices.ExceptionDispatchInfo::Capture(class [System.Runtime]System.Exception) -IL_00c2: callvirt instance void [System.Runtime]System.Runtime.ExceptionServices.ExceptionDispatchInfo::Throw() -IL_00c7: nop -IL_00c8: ldarg.0 -IL_00c9: ldfld int32 CatchAndFinally/'d__10'::'<>s__2' -IL_00ce: pop -IL_00cf: ldarg.0 -IL_00d0: ldnull -IL_00d1: stfld object CatchAndFinally/'d__10'::'<>s__1' -IL_00d6: leave.s IL_00f2 -} // end .try -catch [System.Runtime]System.Exception -{ -IL_00d8: stloc.s V_6 -IL_00da: ldarg.0 -IL_00db: ldc.i4.s -2 -IL_00dd: stfld int32 CatchAndFinally/'d__10'::'<>1__state' -IL_00e2: ldarg.0 -IL_00e3: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__10'::'<>t__builder' -IL_00e8: ldloc.s V_6 -IL_00ea: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetException(class [System.Runtime]System.Exception) -IL_00ef: nop -IL_00f0: leave.s IL_0106 -} // end handler -IL_00f2: ldarg.0 -IL_00f3: ldc.i4.s -2 -IL_00f5: stfld int32 CatchAndFinally/'d__10'::'<>1__state' -IL_00fa: ldarg.0 -IL_00fb: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__10'::'<>t__builder' -IL_0100: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetResult() -IL_0105: nop -IL_0106: ret -} -.method private hidebysig newslot virtual final -instance void SetStateMachine(class [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed -{ -.param [1] -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.override [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine -.maxstack 8 -IL_0000: ret -} -} -.class auto ansi sealed nested private beforefieldinit 'd__5' -extends [System.Runtime]System.Object -implements [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine -{ -.interfaceimpl type [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field public int32 '<>1__state' -.field public valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder '<>t__builder' -.field public class CatchAndFinally '<>4__this' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field private object '<>s__1' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field private int32 '<>s__2' -.field private valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter '<>u__1' -.method public hidebysig specialname rtspecialname -instance void .ctor() cil managed -{ -.maxstack 8 -IL_0000: ldarg.0 -IL_0001: call instance void [System.Runtime]System.Object::.ctor() -IL_0006: nop -IL_0007: ret -} -.method private hidebysig newslot virtual final -instance void MoveNext() cil managed -{ -.override [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext -.maxstack 3 -.locals init (int32 V_0, -object V_1, -valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter V_2, -valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable V_3, -class CatchAndFinally/'d__5' V_4, -class [System.Runtime]System.Exception V_5) -IL_0000: ldarg.0 -IL_0001: ldfld int32 CatchAndFinally/'d__5'::'<>1__state' -IL_0006: stloc.0 -.try -{ -IL_0007: ldloc.0 -IL_0008: brfalse.s IL_000c -IL_000a: br.s IL_000e -IL_000c: br.s IL_0075 -IL_000e: nop -IL_000f: ldarg.0 -IL_0010: ldnull -IL_0011: stfld object CatchAndFinally/'d__5'::'<>s__1' -IL_0016: ldarg.0 -IL_0017: ldc.i4.0 -IL_0018: stfld int32 CatchAndFinally/'d__5'::'<>s__2' -.try -{ -IL_001d: nop -IL_001e: newobj instance void [System.Runtime]System.NotImplementedException::.ctor() -IL_0023: throw -} // end .try -catch [System.Runtime]System.Object -{ -IL_0024: stloc.1 -IL_0025: ldarg.0 -IL_0026: ldloc.1 -IL_0027: stfld object CatchAndFinally/'d__5'::'<>s__1' -IL_002c: leave.s IL_002e -} // end handler -IL_002e: nop -IL_002f: ldc.i4.1 -IL_0030: call class [System.Runtime]System.Threading.Tasks.Task [System.Runtime]System.Threading.Tasks.Task::Delay(int32) -IL_0035: ldc.i4.0 -IL_0036: callvirt instance valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable [System.Runtime]System.Threading.Tasks.Task::ConfigureAwait(bool) -IL_003b: stloc.3 -IL_003c: ldloca.s V_3 -IL_003e: call instance valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable::GetAwaiter() -IL_0043: stloc.2 -IL_0044: ldloca.s V_2 -IL_0046: call instance bool [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter::get_IsCompleted() -IL_004b: brtrue.s IL_0091 -IL_004d: ldarg.0 -IL_004e: ldc.i4.0 -IL_004f: dup -IL_0050: stloc.0 -IL_0051: stfld int32 CatchAndFinally/'d__5'::'<>1__state' -IL_0056: ldarg.0 -IL_0057: ldloc.2 -IL_0058: stfld valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter CatchAndFinally/'d__5'::'<>u__1' -IL_005d: ldarg.0 -IL_005e: stloc.s V_4 -IL_0060: ldarg.0 -IL_0061: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__5'::'<>t__builder' -IL_0066: ldloca.s V_2 -IL_0068: ldloca.s V_4 -IL_006a: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::AwaitUnsafeOnCompletedd__5'>(!!0&, -!!1&) -IL_006f: nop -IL_0070: leave IL_00fd -IL_0075: ldarg.0 -IL_0076: ldfld valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter CatchAndFinally/'d__5'::'<>u__1' -IL_007b: stloc.2 -IL_007c: ldarg.0 -IL_007d: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter CatchAndFinally/'d__5'::'<>u__1' -IL_0082: initobj [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter -IL_0088: ldarg.0 -IL_0089: ldc.i4.m1 -IL_008a: dup -IL_008b: stloc.0 -IL_008c: stfld int32 CatchAndFinally/'d__5'::'<>1__state' -IL_0091: ldloca.s V_2 -IL_0093: call instance void [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter::GetResult() -IL_0098: nop -IL_0099: nop -IL_009a: ldarg.0 -IL_009b: ldfld object CatchAndFinally/'d__5'::'<>s__1' -IL_00a0: stloc.1 -IL_00a1: ldloc.1 -IL_00a2: brfalse.s IL_00bf -IL_00a4: ldloc.1 -IL_00a5: isinst [System.Runtime]System.Exception -IL_00aa: stloc.s V_5 -IL_00ac: ldloc.s V_5 -IL_00ae: brtrue.s IL_00b2 -IL_00b0: ldloc.1 -IL_00b1: throw -IL_00b2: ldloc.s V_5 -IL_00b4: call class [System.Runtime]System.Runtime.ExceptionServices.ExceptionDispatchInfo [System.Runtime]System.Runtime.ExceptionServices.ExceptionDispatchInfo::Capture(class [System.Runtime]System.Exception) -IL_00b9: callvirt instance void [System.Runtime]System.Runtime.ExceptionServices.ExceptionDispatchInfo::Throw() -IL_00be: nop -IL_00bf: ldarg.0 -IL_00c0: ldfld int32 CatchAndFinally/'d__5'::'<>s__2' -IL_00c5: pop -IL_00c6: ldarg.0 -IL_00c7: ldnull -IL_00c8: stfld object CatchAndFinally/'d__5'::'<>s__1' -IL_00cd: leave.s IL_00e9 -} // end .try -catch [System.Runtime]System.Exception -{ -IL_00cf: stloc.s V_5 -IL_00d1: ldarg.0 -IL_00d2: ldc.i4.s -2 -IL_00d4: stfld int32 CatchAndFinally/'d__5'::'<>1__state' -IL_00d9: ldarg.0 -IL_00da: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__5'::'<>t__builder' -IL_00df: ldloc.s V_5 -IL_00e1: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetException(class [System.Runtime]System.Exception) -IL_00e6: nop -IL_00e7: leave.s IL_00fd -} // end handler -IL_00e9: ldarg.0 -IL_00ea: ldc.i4.s -2 -IL_00ec: stfld int32 CatchAndFinally/'d__5'::'<>1__state' -IL_00f1: ldarg.0 -IL_00f2: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__5'::'<>t__builder' -IL_00f7: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetResult() -IL_00fc: nop -IL_00fd: ret -} -.method private hidebysig newslot virtual final -instance void SetStateMachine(class [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed -{ -.param [1] -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.override [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine -.maxstack 8 -IL_0000: ret -} -} -.class auto ansi sealed nested private beforefieldinit 'd__11' -extends [System.Runtime]System.Object -implements [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine -{ -.interfaceimpl type [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field public int32 '<>1__state' -.field public valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder '<>t__builder' -.field public class CatchAndFinally '<>4__this' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field private object '<>s__1' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field private int32 '<>s__2' -.field private valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter '<>u__1' -.method public hidebysig specialname rtspecialname -instance void .ctor() cil managed -{ -.maxstack 8 -IL_0000: ldarg.0 -IL_0001: call instance void [System.Runtime]System.Object::.ctor() -IL_0006: nop -IL_0007: ret -} -.method private hidebysig newslot virtual final -instance void MoveNext() cil managed -{ -.override [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext -.maxstack 3 -.locals init (int32 V_0, -object V_1, -valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter V_2, -valuetype [System.Threading.Tasks.Extensions]System.Threading.Tasks.ValueTask V_3, -valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable V_4, -class CatchAndFinally/'d__11' V_5, -class [System.Runtime]System.Exception V_6) -IL_0000: ldarg.0 -IL_0001: ldfld int32 CatchAndFinally/'d__11'::'<>1__state' -IL_0006: stloc.0 -.try -{ -IL_0007: ldloc.0 -IL_0008: brfalse.s IL_000c -IL_000a: br.s IL_000e -IL_000c: br.s IL_007e -IL_000e: nop -IL_000f: ldarg.0 -IL_0010: ldnull -IL_0011: stfld object CatchAndFinally/'d__11'::'<>s__1' -IL_0016: ldarg.0 -IL_0017: ldc.i4.0 -IL_0018: stfld int32 CatchAndFinally/'d__11'::'<>s__2' -.try -{ -IL_001d: nop -IL_001e: newobj instance void [System.Runtime]System.NotImplementedException::.ctor() -IL_0023: throw -} // end .try -catch [System.Runtime]System.Object -{ -IL_0024: stloc.1 -IL_0025: ldarg.0 -IL_0026: ldloc.1 -IL_0027: stfld object CatchAndFinally/'d__11'::'<>s__1' -IL_002c: leave.s IL_002e -} // end handler -IL_002e: nop -IL_002f: ldc.i4.1 -IL_0030: call class [System.Runtime]System.Threading.Tasks.Task [System.Runtime]System.Threading.Tasks.Task::Delay(int32) -IL_0035: newobj instance void [System.Threading.Tasks.Extensions]System.Threading.Tasks.ValueTask::.ctor(class [System.Runtime]System.Threading.Tasks.Task) -IL_003a: stloc.3 -IL_003b: ldloca.s V_3 -IL_003d: ldc.i4.0 -IL_003e: call instance valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable [System.Threading.Tasks.Extensions]System.Threading.Tasks.ValueTask::ConfigureAwait(bool) -IL_0043: stloc.s V_4 -IL_0045: ldloca.s V_4 -IL_0047: call instance valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable::GetAwaiter() -IL_004c: stloc.2 -IL_004d: ldloca.s V_2 -IL_004f: call instance bool [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter::get_IsCompleted() -IL_0054: brtrue.s IL_009a -IL_0056: ldarg.0 -IL_0057: ldc.i4.0 -IL_0058: dup -IL_0059: stloc.0 -IL_005a: stfld int32 CatchAndFinally/'d__11'::'<>1__state' -IL_005f: ldarg.0 -IL_0060: ldloc.2 -IL_0061: stfld valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter CatchAndFinally/'d__11'::'<>u__1' -IL_0066: ldarg.0 -IL_0067: stloc.s V_5 -IL_0069: ldarg.0 -IL_006a: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__11'::'<>t__builder' -IL_006f: ldloca.s V_2 -IL_0071: ldloca.s V_5 -IL_0073: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::AwaitUnsafeOnCompletedd__11'>(!!0&, -!!1&) -IL_0078: nop -IL_0079: leave IL_0106 -IL_007e: ldarg.0 -IL_007f: ldfld valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter CatchAndFinally/'d__11'::'<>u__1' -IL_0084: stloc.2 -IL_0085: ldarg.0 -IL_0086: ldflda valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter CatchAndFinally/'d__11'::'<>u__1' -IL_008b: initobj [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter -IL_0091: ldarg.0 -IL_0092: ldc.i4.m1 -IL_0093: dup -IL_0094: stloc.0 -IL_0095: stfld int32 CatchAndFinally/'d__11'::'<>1__state' -IL_009a: ldloca.s V_2 -IL_009c: call instance void [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter::GetResult() -IL_00a1: nop -IL_00a2: nop -IL_00a3: ldarg.0 -IL_00a4: ldfld object CatchAndFinally/'d__11'::'<>s__1' -IL_00a9: stloc.1 -IL_00aa: ldloc.1 -IL_00ab: brfalse.s IL_00c8 -IL_00ad: ldloc.1 -IL_00ae: isinst [System.Runtime]System.Exception -IL_00b3: stloc.s V_6 -IL_00b5: ldloc.s V_6 -IL_00b7: brtrue.s IL_00bb -IL_00b9: ldloc.1 -IL_00ba: throw -IL_00bb: ldloc.s V_6 -IL_00bd: call class [System.Runtime]System.Runtime.ExceptionServices.ExceptionDispatchInfo [System.Runtime]System.Runtime.ExceptionServices.ExceptionDispatchInfo::Capture(class [System.Runtime]System.Exception) -IL_00c2: callvirt instance void [System.Runtime]System.Runtime.ExceptionServices.ExceptionDispatchInfo::Throw() -IL_00c7: nop -IL_00c8: ldarg.0 -IL_00c9: ldfld int32 CatchAndFinally/'d__11'::'<>s__2' -IL_00ce: pop -IL_00cf: ldarg.0 -IL_00d0: ldnull -IL_00d1: stfld object CatchAndFinally/'d__11'::'<>s__1' -IL_00d6: leave.s IL_00f2 -} // end .try -catch [System.Runtime]System.Exception -{ -IL_00d8: stloc.s V_6 -IL_00da: ldarg.0 -IL_00db: ldc.i4.s -2 -IL_00dd: stfld int32 CatchAndFinally/'d__11'::'<>1__state' -IL_00e2: ldarg.0 -IL_00e3: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__11'::'<>t__builder' -IL_00e8: ldloc.s V_6 -IL_00ea: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetException(class [System.Runtime]System.Exception) -IL_00ef: nop -IL_00f0: leave.s IL_0106 -} // end handler -IL_00f2: ldarg.0 -IL_00f3: ldc.i4.s -2 -IL_00f5: stfld int32 CatchAndFinally/'d__11'::'<>1__state' -IL_00fa: ldarg.0 -IL_00fb: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__11'::'<>t__builder' -IL_0100: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetResult() -IL_0105: nop -IL_0106: ret -} -.method private hidebysig newslot virtual final -instance void SetStateMachine(class [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed -{ -.param [1] -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.override [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine -.maxstack 8 -IL_0000: ret -} -} -.method public hidebysig instance class [System.Runtime]System.Threading.Tasks.Task -Catch1() cil managed -{ -6C 79 2B 3C 43 61 74 63 68 31 3E 64 5F 5F 30 00 // ly+d__0. -00 ) -.maxstack 2 -.locals init (class CatchAndFinally/'d__0' V_0) -IL_0000: newobj instance void CatchAndFinally/'d__0'::.ctor() -IL_0005: stloc.0 -IL_0006: ldloc.0 -IL_0007: call valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Create() -IL_000c: stfld valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__0'::'<>t__builder' -IL_0011: ldloc.0 -IL_0012: ldarg.0 -IL_0013: stfld class CatchAndFinally CatchAndFinally/'d__0'::'<>4__this' -IL_0018: ldloc.0 -IL_0019: ldc.i4.m1 -IL_001a: stfld int32 CatchAndFinally/'d__0'::'<>1__state' -IL_001f: ldloc.0 -IL_0020: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__0'::'<>t__builder' -IL_0025: ldloca.s V_0 -IL_0027: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Startd__0'>(!!0&) -IL_002c: ldloc.0 -IL_002d: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__0'::'<>t__builder' -IL_0032: call instance class [System.Runtime]System.Threading.Tasks.Task [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::get_Task() -IL_0037: ret -} -.method public hidebysig instance class [System.Runtime]System.Threading.Tasks.Task -Catch2() cil managed -{ -6C 79 2B 3C 43 61 74 63 68 32 3E 64 5F 5F 31 00 // ly+d__1. -00 ) -.maxstack 2 -.locals init (class CatchAndFinally/'d__1' V_0) -IL_0000: newobj instance void CatchAndFinally/'d__1'::.ctor() -IL_0005: stloc.0 -IL_0006: ldloc.0 -IL_0007: call valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Create() -IL_000c: stfld valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__1'::'<>t__builder' -IL_0011: ldloc.0 -IL_0012: ldarg.0 -IL_0013: stfld class CatchAndFinally CatchAndFinally/'d__1'::'<>4__this' -IL_0018: ldloc.0 -IL_0019: ldc.i4.m1 -IL_001a: stfld int32 CatchAndFinally/'d__1'::'<>1__state' -IL_001f: ldloc.0 -IL_0020: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__1'::'<>t__builder' -IL_0025: ldloca.s V_0 -IL_0027: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Startd__1'>(!!0&) -IL_002c: ldloc.0 -IL_002d: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__1'::'<>t__builder' -IL_0032: call instance class [System.Runtime]System.Threading.Tasks.Task [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::get_Task() -IL_0037: ret -} -.method public hidebysig instance class [System.Runtime]System.Threading.Tasks.Task -Catch3() cil managed -{ -6C 79 2B 3C 43 61 74 63 68 33 3E 64 5F 5F 32 00 // ly+d__2. -00 ) -.maxstack 2 -.locals init (class CatchAndFinally/'d__2' V_0) -IL_0000: newobj instance void CatchAndFinally/'d__2'::.ctor() -IL_0005: stloc.0 -IL_0006: ldloc.0 -IL_0007: call valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Create() -IL_000c: stfld valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__2'::'<>t__builder' -IL_0011: ldloc.0 -IL_0012: ldarg.0 -IL_0013: stfld class CatchAndFinally CatchAndFinally/'d__2'::'<>4__this' -IL_0018: ldloc.0 -IL_0019: ldc.i4.m1 -IL_001a: stfld int32 CatchAndFinally/'d__2'::'<>1__state' -IL_001f: ldloc.0 -IL_0020: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__2'::'<>t__builder' -IL_0025: ldloca.s V_0 -IL_0027: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Startd__2'>(!!0&) -IL_002c: ldloc.0 -IL_002d: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__2'::'<>t__builder' -IL_0032: call instance class [System.Runtime]System.Threading.Tasks.Task [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::get_Task() -IL_0037: ret -} -.method public hidebysig instance class [System.Runtime]System.Threading.Tasks.Task -Finally1() cil managed -{ -6C 79 2B 3C 46 69 6E 61 6C 6C 79 31 3E 64 5F 5F // ly+d__ -33 00 00 ) // 3.. -.maxstack 2 -.locals init (class CatchAndFinally/'d__3' V_0) -IL_0000: newobj instance void CatchAndFinally/'d__3'::.ctor() -IL_0005: stloc.0 -IL_0006: ldloc.0 -IL_0007: call valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Create() -IL_000c: stfld valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__3'::'<>t__builder' -IL_0011: ldloc.0 -IL_0012: ldarg.0 -IL_0013: stfld class CatchAndFinally CatchAndFinally/'d__3'::'<>4__this' -IL_0018: ldloc.0 -IL_0019: ldc.i4.m1 -IL_001a: stfld int32 CatchAndFinally/'d__3'::'<>1__state' -IL_001f: ldloc.0 -IL_0020: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__3'::'<>t__builder' -IL_0025: ldloca.s V_0 -IL_0027: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Startd__3'>(!!0&) -IL_002c: ldloc.0 -IL_002d: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__3'::'<>t__builder' -IL_0032: call instance class [System.Runtime]System.Threading.Tasks.Task [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::get_Task() -IL_0037: ret -} -.method public hidebysig instance class [System.Runtime]System.Threading.Tasks.Task -Finally2() cil managed -{ -6C 79 2B 3C 46 69 6E 61 6C 6C 79 32 3E 64 5F 5F // ly+d__ -34 00 00 ) // 4.. -.maxstack 2 -.locals init (class CatchAndFinally/'d__4' V_0) -IL_0000: newobj instance void CatchAndFinally/'d__4'::.ctor() -IL_0005: stloc.0 -IL_0006: ldloc.0 -IL_0007: call valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Create() -IL_000c: stfld valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__4'::'<>t__builder' -IL_0011: ldloc.0 -IL_0012: ldarg.0 -IL_0013: stfld class CatchAndFinally CatchAndFinally/'d__4'::'<>4__this' -IL_0018: ldloc.0 -IL_0019: ldc.i4.m1 -IL_001a: stfld int32 CatchAndFinally/'d__4'::'<>1__state' -IL_001f: ldloc.0 -IL_0020: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__4'::'<>t__builder' -IL_0025: ldloca.s V_0 -IL_0027: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Startd__4'>(!!0&) -IL_002c: ldloc.0 -IL_002d: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__4'::'<>t__builder' -IL_0032: call instance class [System.Runtime]System.Threading.Tasks.Task [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::get_Task() -IL_0037: ret -} -.method public hidebysig instance class [System.Runtime]System.Threading.Tasks.Task -Finally3() cil managed -{ -6C 79 2B 3C 46 69 6E 61 6C 6C 79 33 3E 64 5F 5F // ly+d__ -35 00 00 ) // 5.. -.maxstack 2 -.locals init (class CatchAndFinally/'d__5' V_0) -IL_0000: newobj instance void CatchAndFinally/'d__5'::.ctor() -IL_0005: stloc.0 -IL_0006: ldloc.0 -IL_0007: call valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Create() -IL_000c: stfld valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__5'::'<>t__builder' -IL_0011: ldloc.0 -IL_0012: ldarg.0 -IL_0013: stfld class CatchAndFinally CatchAndFinally/'d__5'::'<>4__this' -IL_0018: ldloc.0 -IL_0019: ldc.i4.m1 -IL_001a: stfld int32 CatchAndFinally/'d__5'::'<>1__state' -IL_001f: ldloc.0 -IL_0020: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__5'::'<>t__builder' -IL_0025: ldloca.s V_0 -IL_0027: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Startd__5'>(!!0&) -IL_002c: ldloc.0 -IL_002d: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__5'::'<>t__builder' -IL_0032: call instance class [System.Runtime]System.Threading.Tasks.Task [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::get_Task() -IL_0037: ret -} -.method public hidebysig instance class [System.Runtime]System.Threading.Tasks.Task -Catch1_WithValueTask() cil managed -{ -6C 79 2B 3C 43 61 74 63 68 31 5F 57 69 74 68 56 // ly+d__6.. -.maxstack 2 -.locals init (class CatchAndFinally/'d__6' V_0) -IL_0000: newobj instance void CatchAndFinally/'d__6'::.ctor() -IL_0005: stloc.0 -IL_0006: ldloc.0 -IL_0007: call valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Create() -IL_000c: stfld valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__6'::'<>t__builder' -IL_0011: ldloc.0 -IL_0012: ldarg.0 -IL_0013: stfld class CatchAndFinally CatchAndFinally/'d__6'::'<>4__this' -IL_0018: ldloc.0 -IL_0019: ldc.i4.m1 -IL_001a: stfld int32 CatchAndFinally/'d__6'::'<>1__state' -IL_001f: ldloc.0 -IL_0020: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__6'::'<>t__builder' -IL_0025: ldloca.s V_0 -IL_0027: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Startd__6'>(!!0&) -IL_002c: ldloc.0 -IL_002d: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__6'::'<>t__builder' -IL_0032: call instance class [System.Runtime]System.Threading.Tasks.Task [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::get_Task() -IL_0037: ret -} -.method public hidebysig instance class [System.Runtime]System.Threading.Tasks.Task -Catch2_WithValueTask() cil managed -{ -6C 79 2B 3C 43 61 74 63 68 32 5F 57 69 74 68 56 // ly+d__7.. -.maxstack 2 -.locals init (class CatchAndFinally/'d__7' V_0) -IL_0000: newobj instance void CatchAndFinally/'d__7'::.ctor() -IL_0005: stloc.0 -IL_0006: ldloc.0 -IL_0007: call valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Create() -IL_000c: stfld valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__7'::'<>t__builder' -IL_0011: ldloc.0 -IL_0012: ldarg.0 -IL_0013: stfld class CatchAndFinally CatchAndFinally/'d__7'::'<>4__this' -IL_0018: ldloc.0 -IL_0019: ldc.i4.m1 -IL_001a: stfld int32 CatchAndFinally/'d__7'::'<>1__state' -IL_001f: ldloc.0 -IL_0020: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__7'::'<>t__builder' -IL_0025: ldloca.s V_0 -IL_0027: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Startd__7'>(!!0&) -IL_002c: ldloc.0 -IL_002d: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__7'::'<>t__builder' -IL_0032: call instance class [System.Runtime]System.Threading.Tasks.Task [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::get_Task() -IL_0037: ret -} -.method public hidebysig instance class [System.Runtime]System.Threading.Tasks.Task -Catch3_WithValueTask() cil managed -{ -6C 79 2B 3C 43 61 74 63 68 33 5F 57 69 74 68 56 // ly+d__8.. -.maxstack 2 -.locals init (class CatchAndFinally/'d__8' V_0) -IL_0000: newobj instance void CatchAndFinally/'d__8'::.ctor() -IL_0005: stloc.0 -IL_0006: ldloc.0 -IL_0007: call valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Create() -IL_000c: stfld valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__8'::'<>t__builder' -IL_0011: ldloc.0 -IL_0012: ldarg.0 -IL_0013: stfld class CatchAndFinally CatchAndFinally/'d__8'::'<>4__this' -IL_0018: ldloc.0 -IL_0019: ldc.i4.m1 -IL_001a: stfld int32 CatchAndFinally/'d__8'::'<>1__state' -IL_001f: ldloc.0 -IL_0020: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__8'::'<>t__builder' -IL_0025: ldloca.s V_0 -IL_0027: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Startd__8'>(!!0&) -IL_002c: ldloc.0 -IL_002d: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__8'::'<>t__builder' -IL_0032: call instance class [System.Runtime]System.Threading.Tasks.Task [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::get_Task() -IL_0037: ret -} -.method public hidebysig instance class [System.Runtime]System.Threading.Tasks.Task -Finally1_WithValueTask() cil managed -{ -6C 79 2B 3C 46 69 6E 61 6C 6C 79 31 5F 57 69 74 // ly+d__9. -00 ) -.maxstack 2 -.locals init (class CatchAndFinally/'d__9' V_0) -IL_0000: newobj instance void CatchAndFinally/'d__9'::.ctor() -IL_0005: stloc.0 -IL_0006: ldloc.0 -IL_0007: call valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Create() -IL_000c: stfld valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__9'::'<>t__builder' -IL_0011: ldloc.0 -IL_0012: ldarg.0 -IL_0013: stfld class CatchAndFinally CatchAndFinally/'d__9'::'<>4__this' -IL_0018: ldloc.0 -IL_0019: ldc.i4.m1 -IL_001a: stfld int32 CatchAndFinally/'d__9'::'<>1__state' -IL_001f: ldloc.0 -IL_0020: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__9'::'<>t__builder' -IL_0025: ldloca.s V_0 -IL_0027: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Startd__9'>(!!0&) -IL_002c: ldloc.0 -IL_002d: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__9'::'<>t__builder' -IL_0032: call instance class [System.Runtime]System.Threading.Tasks.Task [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::get_Task() -IL_0037: ret -} -.method public hidebysig instance class [System.Runtime]System.Threading.Tasks.Task -Finally2_WithValueTask() cil managed -{ -6C 79 2B 3C 46 69 6E 61 6C 6C 79 32 5F 57 69 74 // ly+d__10 -00 00 ) -.maxstack 2 -.locals init (class CatchAndFinally/'d__10' V_0) -IL_0000: newobj instance void CatchAndFinally/'d__10'::.ctor() -IL_0005: stloc.0 -IL_0006: ldloc.0 -IL_0007: call valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Create() -IL_000c: stfld valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__10'::'<>t__builder' -IL_0011: ldloc.0 -IL_0012: ldarg.0 -IL_0013: stfld class CatchAndFinally CatchAndFinally/'d__10'::'<>4__this' -IL_0018: ldloc.0 -IL_0019: ldc.i4.m1 -IL_001a: stfld int32 CatchAndFinally/'d__10'::'<>1__state' -IL_001f: ldloc.0 -IL_0020: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__10'::'<>t__builder' -IL_0025: ldloca.s V_0 -IL_0027: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Startd__10'>(!!0&) -IL_002c: ldloc.0 -IL_002d: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__10'::'<>t__builder' -IL_0032: call instance class [System.Runtime]System.Threading.Tasks.Task [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::get_Task() -IL_0037: ret -} -.method public hidebysig instance class [System.Runtime]System.Threading.Tasks.Task -Finally3_WithValueTask() cil managed -{ -6C 79 2B 3C 46 69 6E 61 6C 6C 79 33 5F 57 69 74 // ly+d__11 -00 00 ) -.maxstack 2 -.locals init (class CatchAndFinally/'d__11' V_0) -IL_0000: newobj instance void CatchAndFinally/'d__11'::.ctor() -IL_0005: stloc.0 -IL_0006: ldloc.0 -IL_0007: call valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Create() -IL_000c: stfld valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__11'::'<>t__builder' -IL_0011: ldloc.0 -IL_0012: ldarg.0 -IL_0013: stfld class CatchAndFinally CatchAndFinally/'d__11'::'<>4__this' -IL_0018: ldloc.0 -IL_0019: ldc.i4.m1 -IL_001a: stfld int32 CatchAndFinally/'d__11'::'<>1__state' -IL_001f: ldloc.0 -IL_0020: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__11'::'<>t__builder' -IL_0025: ldloca.s V_0 -IL_0027: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Startd__11'>(!!0&) -IL_002c: ldloc.0 -IL_002d: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__11'::'<>t__builder' -IL_0032: call instance class [System.Runtime]System.Threading.Tasks.Task [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::get_Task() -IL_0037: ret -} -.method public hidebysig specialname rtspecialname -instance void .ctor() cil managed -{ -.maxstack 8 -IL_0000: ldarg.0 -IL_0001: call instance void [System.Runtime]System.Object::.ctor() -IL_0006: nop -IL_0007: ret -} -} diff --git a/Tests/ModuleWeaverTests.DecompileCatchAndFinally.Core.Release.verified.txt b/Tests/ModuleWeaverTests.DecompileCatchAndFinally.Core.Release.verified.txt deleted file mode 100644 index a931cce..0000000 --- a/Tests/ModuleWeaverTests.DecompileCatchAndFinally.Core.Release.verified.txt +++ /dev/null @@ -1,1827 +0,0 @@ -.class public auto ansi beforefieldinit CatchAndFinally -extends [System.Runtime]System.Object -{ -.custom instance void System.Runtime.CompilerServices.NullableContextAttribute::.ctor(uint8) = ( 01 00 01 00 00 ) -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.class auto ansi sealed nested private beforefieldinit 'd__0' -extends [System.Runtime]System.ValueType -implements [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine -{ -.interfaceimpl type [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field public int32 '<>1__state' -.field public valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder '<>t__builder' -.field private valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter '<>u__1' -.method private hidebysig newslot virtual final -instance void MoveNext() cil managed -{ -.override [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext -.maxstack 3 -.locals init (int32 V_0, -int32 V_1, -valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter V_2, -class [System.Runtime]System.Exception V_3) -IL_0000: ldarg.0 -IL_0001: ldfld int32 CatchAndFinally/'d__0'::'<>1__state' -IL_0006: stloc.0 -.try -{ -IL_0007: ldloc.0 -IL_0008: brfalse.s IL_0050 -IL_000a: ldc.i4.0 -IL_000b: stloc.1 -.try -{ -IL_000c: newobj instance void [System.Runtime]System.NotImplementedException::.ctor() -IL_0011: throw -} // end .try -catch [System.Runtime]System.Object -{ -IL_0012: pop -IL_0013: ldc.i4.1 -IL_0014: stloc.1 -IL_0015: leave.s IL_0017 -} // end handler -IL_0017: ldloc.1 -IL_0018: ldc.i4.1 -IL_0019: bne.un.s IL_0073 -IL_001b: ldc.i4.1 -IL_001c: call class [System.Runtime]System.Threading.Tasks.Task [System.Runtime]System.Threading.Tasks.Task::Delay(int32) -IL_0021: callvirt instance valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter [System.Runtime]System.Threading.Tasks.Task::GetAwaiter() -IL_0026: stloc.2 -IL_0027: ldloca.s V_2 -IL_0029: call instance bool [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter::get_IsCompleted() -IL_002e: brtrue.s IL_006c -IL_0030: ldarg.0 -IL_0031: ldc.i4.0 -IL_0032: dup -IL_0033: stloc.0 -IL_0034: stfld int32 CatchAndFinally/'d__0'::'<>1__state' -IL_0039: ldarg.0 -IL_003a: ldloc.2 -IL_003b: stfld valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter CatchAndFinally/'d__0'::'<>u__1' -IL_0040: ldarg.0 -IL_0041: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__0'::'<>t__builder' -IL_0046: ldloca.s V_2 -IL_0048: ldarg.0 -IL_0049: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::AwaitUnsafeOnCompletedd__0'>(!!0&, -!!1&) -IL_004e: leave.s IL_009f -IL_0050: ldarg.0 -IL_0051: ldfld valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter CatchAndFinally/'d__0'::'<>u__1' -IL_0056: stloc.2 -IL_0057: ldarg.0 -IL_0058: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter CatchAndFinally/'d__0'::'<>u__1' -IL_005d: initobj [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter -IL_0063: ldarg.0 -IL_0064: ldc.i4.m1 -IL_0065: dup -IL_0066: stloc.0 -IL_0067: stfld int32 CatchAndFinally/'d__0'::'<>1__state' -IL_006c: ldloca.s V_2 -IL_006e: call instance void [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter::GetResult() -IL_0073: leave.s IL_008c -} // end .try -catch [System.Runtime]System.Exception -{ -IL_0075: stloc.3 -IL_0076: ldarg.0 -IL_0077: ldc.i4.s -2 -IL_0079: stfld int32 CatchAndFinally/'d__0'::'<>1__state' -IL_007e: ldarg.0 -IL_007f: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__0'::'<>t__builder' -IL_0084: ldloc.3 -IL_0085: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetException(class [System.Runtime]System.Exception) -IL_008a: leave.s IL_009f -} // end handler -IL_008c: ldarg.0 -IL_008d: ldc.i4.s -2 -IL_008f: stfld int32 CatchAndFinally/'d__0'::'<>1__state' -IL_0094: ldarg.0 -IL_0095: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__0'::'<>t__builder' -IL_009a: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetResult() -IL_009f: ret -} -.method private hidebysig newslot virtual final -instance void SetStateMachine(class [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed -{ -.param [1] -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.override [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine -.maxstack 8 -IL_0000: ldarg.0 -IL_0001: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__0'::'<>t__builder' -IL_0006: ldarg.1 -IL_0007: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetStateMachine(class [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine) -IL_000c: ret -} -} -.class auto ansi sealed nested private beforefieldinit 'd__1' -extends [System.Runtime]System.ValueType -implements [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine -{ -.interfaceimpl type [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field public int32 '<>1__state' -.field public valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder '<>t__builder' -.field private valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter '<>u__1' -.method private hidebysig newslot virtual final -instance void MoveNext() cil managed -{ -.override [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext -.maxstack 3 -.locals init (int32 V_0, -int32 V_1, -valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter V_2, -valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable V_3, -class [System.Runtime]System.Exception V_4) -IL_0000: ldarg.0 -IL_0001: ldfld int32 CatchAndFinally/'d__1'::'<>1__state' -IL_0006: stloc.0 -.try -{ -IL_0007: ldloc.0 -IL_0008: brfalse.s IL_0059 -IL_000a: ldc.i4.0 -IL_000b: stloc.1 -.try -{ -IL_000c: newobj instance void [System.Runtime]System.NotImplementedException::.ctor() -IL_0011: throw -} // end .try -catch [System.Runtime]System.Object -{ -IL_0012: pop -IL_0013: ldc.i4.1 -IL_0014: stloc.1 -IL_0015: leave.s IL_0017 -} // end handler -IL_0017: ldloc.1 -IL_0018: ldc.i4.1 -IL_0019: bne.un.s IL_007c -IL_001b: ldc.i4.1 -IL_001c: call class [System.Runtime]System.Threading.Tasks.Task [System.Runtime]System.Threading.Tasks.Task::Delay(int32) -IL_0021: ldc.i4.0 -IL_0022: callvirt instance valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable [System.Private.CoreLib]System.Threading.Tasks.Task::ConfigureAwait(bool) -IL_0027: stloc.3 -IL_0028: ldloca.s V_3 -IL_002a: call instance valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable::GetAwaiter() -IL_002f: stloc.2 -IL_0030: ldloca.s V_2 -IL_0032: call instance bool [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter::get_IsCompleted() -IL_0037: brtrue.s IL_0075 -IL_0039: ldarg.0 -IL_003a: ldc.i4.0 -IL_003b: dup -IL_003c: stloc.0 -IL_003d: stfld int32 CatchAndFinally/'d__1'::'<>1__state' -IL_0042: ldarg.0 -IL_0043: ldloc.2 -IL_0044: stfld valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter CatchAndFinally/'d__1'::'<>u__1' -IL_0049: ldarg.0 -IL_004a: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__1'::'<>t__builder' -IL_004f: ldloca.s V_2 -IL_0051: ldarg.0 -IL_0052: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::AwaitUnsafeOnCompletedd__1'>(!!0&, -!!1&) -IL_0057: leave.s IL_00aa -IL_0059: ldarg.0 -IL_005a: ldfld valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter CatchAndFinally/'d__1'::'<>u__1' -IL_005f: stloc.2 -IL_0060: ldarg.0 -IL_0061: ldflda valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter CatchAndFinally/'d__1'::'<>u__1' -IL_0066: initobj [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter -IL_006c: ldarg.0 -IL_006d: ldc.i4.m1 -IL_006e: dup -IL_006f: stloc.0 -IL_0070: stfld int32 CatchAndFinally/'d__1'::'<>1__state' -IL_0075: ldloca.s V_2 -IL_0077: call instance void [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter::GetResult() -IL_007c: leave.s IL_0097 -} // end .try -catch [System.Runtime]System.Exception -{ -IL_007e: stloc.s V_4 -IL_0080: ldarg.0 -IL_0081: ldc.i4.s -2 -IL_0083: stfld int32 CatchAndFinally/'d__1'::'<>1__state' -IL_0088: ldarg.0 -IL_0089: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__1'::'<>t__builder' -IL_008e: ldloc.s V_4 -IL_0090: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetException(class [System.Runtime]System.Exception) -IL_0095: leave.s IL_00aa -} // end handler -IL_0097: ldarg.0 -IL_0098: ldc.i4.s -2 -IL_009a: stfld int32 CatchAndFinally/'d__1'::'<>1__state' -IL_009f: ldarg.0 -IL_00a0: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__1'::'<>t__builder' -IL_00a5: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetResult() -IL_00aa: ret -} -.method private hidebysig newslot virtual final -instance void SetStateMachine(class [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed -{ -.param [1] -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.override [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine -.maxstack 8 -IL_0000: ldarg.0 -IL_0001: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__1'::'<>t__builder' -IL_0006: ldarg.1 -IL_0007: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetStateMachine(class [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine) -IL_000c: ret -} -} -.class auto ansi sealed nested private beforefieldinit 'd__2' -extends [System.Runtime]System.ValueType -implements [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine -{ -.interfaceimpl type [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field public int32 '<>1__state' -.field public valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder '<>t__builder' -.field private valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter '<>u__1' -.method private hidebysig newslot virtual final -instance void MoveNext() cil managed -{ -.override [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext -.maxstack 3 -.locals init (int32 V_0, -int32 V_1, -valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter V_2, -valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable V_3, -class [System.Runtime]System.Exception V_4) -IL_0000: ldarg.0 -IL_0001: ldfld int32 CatchAndFinally/'d__2'::'<>1__state' -IL_0006: stloc.0 -.try -{ -IL_0007: ldloc.0 -IL_0008: brfalse.s IL_0059 -IL_000a: ldc.i4.0 -IL_000b: stloc.1 -.try -{ -IL_000c: newobj instance void [System.Runtime]System.NotImplementedException::.ctor() -IL_0011: throw -} // end .try -catch [System.Runtime]System.Object -{ -IL_0012: pop -IL_0013: ldc.i4.1 -IL_0014: stloc.1 -IL_0015: leave.s IL_0017 -} // end handler -IL_0017: ldloc.1 -IL_0018: ldc.i4.1 -IL_0019: bne.un.s IL_007c -IL_001b: ldc.i4.1 -IL_001c: call class [System.Runtime]System.Threading.Tasks.Task [System.Runtime]System.Threading.Tasks.Task::Delay(int32) -IL_0021: ldc.i4.0 -IL_0022: callvirt instance valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable [System.Runtime]System.Threading.Tasks.Task::ConfigureAwait(bool) -IL_0027: stloc.3 -IL_0028: ldloca.s V_3 -IL_002a: call instance valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable::GetAwaiter() -IL_002f: stloc.2 -IL_0030: ldloca.s V_2 -IL_0032: call instance bool [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter::get_IsCompleted() -IL_0037: brtrue.s IL_0075 -IL_0039: ldarg.0 -IL_003a: ldc.i4.0 -IL_003b: dup -IL_003c: stloc.0 -IL_003d: stfld int32 CatchAndFinally/'d__2'::'<>1__state' -IL_0042: ldarg.0 -IL_0043: ldloc.2 -IL_0044: stfld valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter CatchAndFinally/'d__2'::'<>u__1' -IL_0049: ldarg.0 -IL_004a: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__2'::'<>t__builder' -IL_004f: ldloca.s V_2 -IL_0051: ldarg.0 -IL_0052: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::AwaitUnsafeOnCompletedd__2'>(!!0&, -!!1&) -IL_0057: leave.s IL_00aa -IL_0059: ldarg.0 -IL_005a: ldfld valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter CatchAndFinally/'d__2'::'<>u__1' -IL_005f: stloc.2 -IL_0060: ldarg.0 -IL_0061: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter CatchAndFinally/'d__2'::'<>u__1' -IL_0066: initobj [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter -IL_006c: ldarg.0 -IL_006d: ldc.i4.m1 -IL_006e: dup -IL_006f: stloc.0 -IL_0070: stfld int32 CatchAndFinally/'d__2'::'<>1__state' -IL_0075: ldloca.s V_2 -IL_0077: call instance void [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter::GetResult() -IL_007c: leave.s IL_0097 -} // end .try -catch [System.Runtime]System.Exception -{ -IL_007e: stloc.s V_4 -IL_0080: ldarg.0 -IL_0081: ldc.i4.s -2 -IL_0083: stfld int32 CatchAndFinally/'d__2'::'<>1__state' -IL_0088: ldarg.0 -IL_0089: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__2'::'<>t__builder' -IL_008e: ldloc.s V_4 -IL_0090: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetException(class [System.Runtime]System.Exception) -IL_0095: leave.s IL_00aa -} // end handler -IL_0097: ldarg.0 -IL_0098: ldc.i4.s -2 -IL_009a: stfld int32 CatchAndFinally/'d__2'::'<>1__state' -IL_009f: ldarg.0 -IL_00a0: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__2'::'<>t__builder' -IL_00a5: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetResult() -IL_00aa: ret -} -.method private hidebysig newslot virtual final -instance void SetStateMachine(class [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed -{ -.param [1] -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.override [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine -.maxstack 8 -IL_0000: ldarg.0 -IL_0001: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__2'::'<>t__builder' -IL_0006: ldarg.1 -IL_0007: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetStateMachine(class [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine) -IL_000c: ret -} -} -.class auto ansi sealed nested private beforefieldinit 'd__3' -extends [System.Runtime]System.ValueType -implements [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine -{ -.interfaceimpl type [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field public int32 '<>1__state' -.field public valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder '<>t__builder' -.field private object '<>7__wrap1' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field private int32 '<>7__wrap2' -.field private valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter '<>u__1' -.method private hidebysig newslot virtual final -instance void MoveNext() cil managed -{ -.override [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext -.maxstack 3 -.locals init (int32 V_0, -object V_1, -valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter V_2, -class [System.Runtime]System.Exception V_3) -IL_0000: ldarg.0 -IL_0001: ldfld int32 CatchAndFinally/'d__3'::'<>1__state' -IL_0006: stloc.0 -.try -{ -IL_0007: ldloc.0 -IL_0008: brfalse.s IL_005d -IL_000a: ldarg.0 -IL_000b: ldnull -IL_000c: stfld object CatchAndFinally/'d__3'::'<>7__wrap1' -IL_0011: ldarg.0 -IL_0012: ldc.i4.0 -IL_0013: stfld int32 CatchAndFinally/'d__3'::'<>7__wrap2' -.try -{ -IL_0018: newobj instance void [System.Runtime]System.NotImplementedException::.ctor() -IL_001d: throw -} // end .try -catch [System.Runtime]System.Object -{ -IL_001e: stloc.1 -IL_001f: ldarg.0 -IL_0020: ldloc.1 -IL_0021: stfld object CatchAndFinally/'d__3'::'<>7__wrap1' -IL_0026: leave.s IL_0028 -} // end handler -IL_0028: ldc.i4.1 -IL_0029: call class [System.Runtime]System.Threading.Tasks.Task [System.Runtime]System.Threading.Tasks.Task::Delay(int32) -IL_002e: callvirt instance valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter [System.Runtime]System.Threading.Tasks.Task::GetAwaiter() -IL_0033: stloc.2 -IL_0034: ldloca.s V_2 -IL_0036: call instance bool [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter::get_IsCompleted() -IL_003b: brtrue.s IL_0079 -IL_003d: ldarg.0 -IL_003e: ldc.i4.0 -IL_003f: dup -IL_0040: stloc.0 -IL_0041: stfld int32 CatchAndFinally/'d__3'::'<>1__state' -IL_0046: ldarg.0 -IL_0047: ldloc.2 -IL_0048: stfld valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter CatchAndFinally/'d__3'::'<>u__1' -IL_004d: ldarg.0 -IL_004e: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__3'::'<>t__builder' -IL_0053: ldloca.s V_2 -IL_0055: ldarg.0 -IL_0056: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::AwaitUnsafeOnCompletedd__3'>(!!0&, -!!1&) -IL_005b: leave.s IL_00d2 -IL_005d: ldarg.0 -IL_005e: ldfld valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter CatchAndFinally/'d__3'::'<>u__1' -IL_0063: stloc.2 -IL_0064: ldarg.0 -IL_0065: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter CatchAndFinally/'d__3'::'<>u__1' -IL_006a: initobj [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter -IL_0070: ldarg.0 -IL_0071: ldc.i4.m1 -IL_0072: dup -IL_0073: stloc.0 -IL_0074: stfld int32 CatchAndFinally/'d__3'::'<>1__state' -IL_0079: ldloca.s V_2 -IL_007b: call instance void [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter::GetResult() -IL_0080: ldarg.0 -IL_0081: ldfld object CatchAndFinally/'d__3'::'<>7__wrap1' -IL_0086: stloc.1 -IL_0087: ldloc.1 -IL_0088: brfalse.s IL_009f -IL_008a: ldloc.1 -IL_008b: isinst [System.Runtime]System.Exception -IL_0090: dup -IL_0091: brtrue.s IL_0095 -IL_0093: ldloc.1 -IL_0094: throw -IL_0095: call class [System.Runtime]System.Runtime.ExceptionServices.ExceptionDispatchInfo [System.Runtime]System.Runtime.ExceptionServices.ExceptionDispatchInfo::Capture(class [System.Runtime]System.Exception) -IL_009a: callvirt instance void [System.Runtime]System.Runtime.ExceptionServices.ExceptionDispatchInfo::Throw() -IL_009f: ldarg.0 -IL_00a0: ldnull -IL_00a1: stfld object CatchAndFinally/'d__3'::'<>7__wrap1' -IL_00a6: leave.s IL_00bf -} // end .try -catch [System.Runtime]System.Exception -{ -IL_00a8: stloc.3 -IL_00a9: ldarg.0 -IL_00aa: ldc.i4.s -2 -IL_00ac: stfld int32 CatchAndFinally/'d__3'::'<>1__state' -IL_00b1: ldarg.0 -IL_00b2: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__3'::'<>t__builder' -IL_00b7: ldloc.3 -IL_00b8: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetException(class [System.Runtime]System.Exception) -IL_00bd: leave.s IL_00d2 -} // end handler -IL_00bf: ldarg.0 -IL_00c0: ldc.i4.s -2 -IL_00c2: stfld int32 CatchAndFinally/'d__3'::'<>1__state' -IL_00c7: ldarg.0 -IL_00c8: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__3'::'<>t__builder' -IL_00cd: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetResult() -IL_00d2: ret -} -.method private hidebysig newslot virtual final -instance void SetStateMachine(class [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed -{ -.param [1] -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.override [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine -.maxstack 8 -IL_0000: ldarg.0 -IL_0001: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__3'::'<>t__builder' -IL_0006: ldarg.1 -IL_0007: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetStateMachine(class [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine) -IL_000c: ret -} -} -.class auto ansi sealed nested private beforefieldinit 'd__4' -extends [System.Runtime]System.ValueType -implements [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine -{ -.interfaceimpl type [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field public int32 '<>1__state' -.field public valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder '<>t__builder' -.field private object '<>7__wrap1' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field private int32 '<>7__wrap2' -.field private valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter '<>u__1' -.method private hidebysig newslot virtual final -instance void MoveNext() cil managed -{ -.override [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext -.maxstack 3 -.locals init (int32 V_0, -object V_1, -valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter V_2, -valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable V_3, -class [System.Runtime]System.Exception V_4) -IL_0000: ldarg.0 -IL_0001: ldfld int32 CatchAndFinally/'d__4'::'<>1__state' -IL_0006: stloc.0 -.try -{ -IL_0007: ldloc.0 -IL_0008: brfalse.s IL_0069 -IL_000a: ldarg.0 -IL_000b: ldnull -IL_000c: stfld object CatchAndFinally/'d__4'::'<>7__wrap1' -IL_0011: ldarg.0 -IL_0012: ldc.i4.0 -IL_0013: stfld int32 CatchAndFinally/'d__4'::'<>7__wrap2' -.try -{ -IL_0018: newobj instance void [System.Runtime]System.NotImplementedException::.ctor() -IL_001d: throw -} // end .try -catch [System.Runtime]System.Object -{ -IL_001e: stloc.1 -IL_001f: ldarg.0 -IL_0020: ldloc.1 -IL_0021: stfld object CatchAndFinally/'d__4'::'<>7__wrap1' -IL_0026: leave.s IL_0028 -} // end handler -IL_0028: ldc.i4.1 -IL_0029: call class [System.Runtime]System.Threading.Tasks.Task [System.Runtime]System.Threading.Tasks.Task::Delay(int32) -IL_002e: ldc.i4.0 -IL_002f: callvirt instance valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable [System.Private.CoreLib]System.Threading.Tasks.Task::ConfigureAwait(bool) -IL_0034: stloc.3 -IL_0035: ldloca.s V_3 -IL_0037: call instance valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable::GetAwaiter() -IL_003c: stloc.2 -IL_003d: ldloca.s V_2 -IL_003f: call instance bool [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter::get_IsCompleted() -IL_0044: brtrue.s IL_0085 -IL_0046: ldarg.0 -IL_0047: ldc.i4.0 -IL_0048: dup -IL_0049: stloc.0 -IL_004a: stfld int32 CatchAndFinally/'d__4'::'<>1__state' -IL_004f: ldarg.0 -IL_0050: ldloc.2 -IL_0051: stfld valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter CatchAndFinally/'d__4'::'<>u__1' -IL_0056: ldarg.0 -IL_0057: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__4'::'<>t__builder' -IL_005c: ldloca.s V_2 -IL_005e: ldarg.0 -IL_005f: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::AwaitUnsafeOnCompletedd__4'>(!!0&, -!!1&) -IL_0064: leave IL_00e0 -IL_0069: ldarg.0 -IL_006a: ldfld valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter CatchAndFinally/'d__4'::'<>u__1' -IL_006f: stloc.2 -IL_0070: ldarg.0 -IL_0071: ldflda valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter CatchAndFinally/'d__4'::'<>u__1' -IL_0076: initobj [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter -IL_007c: ldarg.0 -IL_007d: ldc.i4.m1 -IL_007e: dup -IL_007f: stloc.0 -IL_0080: stfld int32 CatchAndFinally/'d__4'::'<>1__state' -IL_0085: ldloca.s V_2 -IL_0087: call instance void [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter::GetResult() -IL_008c: ldarg.0 -IL_008d: ldfld object CatchAndFinally/'d__4'::'<>7__wrap1' -IL_0092: stloc.1 -IL_0093: ldloc.1 -IL_0094: brfalse.s IL_00ab -IL_0096: ldloc.1 -IL_0097: isinst [System.Runtime]System.Exception -IL_009c: dup -IL_009d: brtrue.s IL_00a1 -IL_009f: ldloc.1 -IL_00a0: throw -IL_00a1: call class [System.Runtime]System.Runtime.ExceptionServices.ExceptionDispatchInfo [System.Runtime]System.Runtime.ExceptionServices.ExceptionDispatchInfo::Capture(class [System.Runtime]System.Exception) -IL_00a6: callvirt instance void [System.Runtime]System.Runtime.ExceptionServices.ExceptionDispatchInfo::Throw() -IL_00ab: ldarg.0 -IL_00ac: ldnull -IL_00ad: stfld object CatchAndFinally/'d__4'::'<>7__wrap1' -IL_00b2: leave.s IL_00cd -} // end .try -catch [System.Runtime]System.Exception -{ -IL_00b4: stloc.s V_4 -IL_00b6: ldarg.0 -IL_00b7: ldc.i4.s -2 -IL_00b9: stfld int32 CatchAndFinally/'d__4'::'<>1__state' -IL_00be: ldarg.0 -IL_00bf: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__4'::'<>t__builder' -IL_00c4: ldloc.s V_4 -IL_00c6: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetException(class [System.Runtime]System.Exception) -IL_00cb: leave.s IL_00e0 -} // end handler -IL_00cd: ldarg.0 -IL_00ce: ldc.i4.s -2 -IL_00d0: stfld int32 CatchAndFinally/'d__4'::'<>1__state' -IL_00d5: ldarg.0 -IL_00d6: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__4'::'<>t__builder' -IL_00db: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetResult() -IL_00e0: ret -} -.method private hidebysig newslot virtual final -instance void SetStateMachine(class [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed -{ -.param [1] -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.override [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine -.maxstack 8 -IL_0000: ldarg.0 -IL_0001: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__4'::'<>t__builder' -IL_0006: ldarg.1 -IL_0007: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetStateMachine(class [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine) -IL_000c: ret -} -} -.class auto ansi sealed nested private beforefieldinit 'd__5' -extends [System.Runtime]System.ValueType -implements [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine -{ -.interfaceimpl type [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field public int32 '<>1__state' -.field public valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder '<>t__builder' -.field private object '<>7__wrap1' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field private int32 '<>7__wrap2' -.field private valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter '<>u__1' -.method private hidebysig newslot virtual final -instance void MoveNext() cil managed -{ -.override [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext -.maxstack 3 -.locals init (int32 V_0, -object V_1, -valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter V_2, -valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable V_3, -class [System.Runtime]System.Exception V_4) -IL_0000: ldarg.0 -IL_0001: ldfld int32 CatchAndFinally/'d__5'::'<>1__state' -IL_0006: stloc.0 -.try -{ -IL_0007: ldloc.0 -IL_0008: brfalse.s IL_0066 -IL_000a: ldarg.0 -IL_000b: ldnull -IL_000c: stfld object CatchAndFinally/'d__5'::'<>7__wrap1' -IL_0011: ldarg.0 -IL_0012: ldc.i4.0 -IL_0013: stfld int32 CatchAndFinally/'d__5'::'<>7__wrap2' -.try -{ -IL_0018: newobj instance void [System.Runtime]System.NotImplementedException::.ctor() -IL_001d: throw -} // end .try -catch [System.Runtime]System.Object -{ -IL_001e: stloc.1 -IL_001f: ldarg.0 -IL_0020: ldloc.1 -IL_0021: stfld object CatchAndFinally/'d__5'::'<>7__wrap1' -IL_0026: leave.s IL_0028 -} // end handler -IL_0028: ldc.i4.1 -IL_0029: call class [System.Runtime]System.Threading.Tasks.Task [System.Runtime]System.Threading.Tasks.Task::Delay(int32) -IL_002e: ldc.i4.0 -IL_002f: callvirt instance valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable [System.Runtime]System.Threading.Tasks.Task::ConfigureAwait(bool) -IL_0034: stloc.3 -IL_0035: ldloca.s V_3 -IL_0037: call instance valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable::GetAwaiter() -IL_003c: stloc.2 -IL_003d: ldloca.s V_2 -IL_003f: call instance bool [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter::get_IsCompleted() -IL_0044: brtrue.s IL_0082 -IL_0046: ldarg.0 -IL_0047: ldc.i4.0 -IL_0048: dup -IL_0049: stloc.0 -IL_004a: stfld int32 CatchAndFinally/'d__5'::'<>1__state' -IL_004f: ldarg.0 -IL_0050: ldloc.2 -IL_0051: stfld valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter CatchAndFinally/'d__5'::'<>u__1' -IL_0056: ldarg.0 -IL_0057: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__5'::'<>t__builder' -IL_005c: ldloca.s V_2 -IL_005e: ldarg.0 -IL_005f: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::AwaitUnsafeOnCompletedd__5'>(!!0&, -!!1&) -IL_0064: leave.s IL_00dd -IL_0066: ldarg.0 -IL_0067: ldfld valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter CatchAndFinally/'d__5'::'<>u__1' -IL_006c: stloc.2 -IL_006d: ldarg.0 -IL_006e: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter CatchAndFinally/'d__5'::'<>u__1' -IL_0073: initobj [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter -IL_0079: ldarg.0 -IL_007a: ldc.i4.m1 -IL_007b: dup -IL_007c: stloc.0 -IL_007d: stfld int32 CatchAndFinally/'d__5'::'<>1__state' -IL_0082: ldloca.s V_2 -IL_0084: call instance void [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter::GetResult() -IL_0089: ldarg.0 -IL_008a: ldfld object CatchAndFinally/'d__5'::'<>7__wrap1' -IL_008f: stloc.1 -IL_0090: ldloc.1 -IL_0091: brfalse.s IL_00a8 -IL_0093: ldloc.1 -IL_0094: isinst [System.Runtime]System.Exception -IL_0099: dup -IL_009a: brtrue.s IL_009e -IL_009c: ldloc.1 -IL_009d: throw -IL_009e: call class [System.Runtime]System.Runtime.ExceptionServices.ExceptionDispatchInfo [System.Runtime]System.Runtime.ExceptionServices.ExceptionDispatchInfo::Capture(class [System.Runtime]System.Exception) -IL_00a3: callvirt instance void [System.Runtime]System.Runtime.ExceptionServices.ExceptionDispatchInfo::Throw() -IL_00a8: ldarg.0 -IL_00a9: ldnull -IL_00aa: stfld object CatchAndFinally/'d__5'::'<>7__wrap1' -IL_00af: leave.s IL_00ca -} // end .try -catch [System.Runtime]System.Exception -{ -IL_00b1: stloc.s V_4 -IL_00b3: ldarg.0 -IL_00b4: ldc.i4.s -2 -IL_00b6: stfld int32 CatchAndFinally/'d__5'::'<>1__state' -IL_00bb: ldarg.0 -IL_00bc: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__5'::'<>t__builder' -IL_00c1: ldloc.s V_4 -IL_00c3: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetException(class [System.Runtime]System.Exception) -IL_00c8: leave.s IL_00dd -} // end handler -IL_00ca: ldarg.0 -IL_00cb: ldc.i4.s -2 -IL_00cd: stfld int32 CatchAndFinally/'d__5'::'<>1__state' -IL_00d2: ldarg.0 -IL_00d3: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__5'::'<>t__builder' -IL_00d8: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetResult() -IL_00dd: ret -} -.method private hidebysig newslot virtual final -instance void SetStateMachine(class [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed -{ -.param [1] -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.override [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine -.maxstack 8 -IL_0000: ldarg.0 -IL_0001: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__5'::'<>t__builder' -IL_0006: ldarg.1 -IL_0007: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetStateMachine(class [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine) -IL_000c: ret -} -} -.class auto ansi sealed nested private beforefieldinit 'd__6' -extends [System.Runtime]System.ValueType -implements [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine -{ -.interfaceimpl type [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field public int32 '<>1__state' -.field public valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder '<>t__builder' -.field private valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ValueTaskAwaiter '<>u__1' -.method private hidebysig newslot virtual final -instance void MoveNext() cil managed -{ -.override [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext -.maxstack 3 -.locals init (int32 V_0, -int32 V_1, -valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ValueTaskAwaiter V_2, -valuetype [System.Threading.Tasks.Extensions]System.Threading.Tasks.ValueTask V_3, -class [System.Runtime]System.Exception V_4) -IL_0000: ldarg.0 -IL_0001: ldfld int32 CatchAndFinally/'d__6'::'<>1__state' -IL_0006: stloc.0 -.try -{ -IL_0007: ldloc.0 -IL_0008: brfalse.s IL_0058 -IL_000a: ldc.i4.0 -IL_000b: stloc.1 -.try -{ -IL_000c: newobj instance void [System.Runtime]System.NotImplementedException::.ctor() -IL_0011: throw -} // end .try -catch [System.Runtime]System.Object -{ -IL_0012: pop -IL_0013: ldc.i4.1 -IL_0014: stloc.1 -IL_0015: leave.s IL_0017 -} // end handler -IL_0017: ldloc.1 -IL_0018: ldc.i4.1 -IL_0019: bne.un.s IL_007b -IL_001b: ldc.i4.1 -IL_001c: call class [System.Runtime]System.Threading.Tasks.Task [System.Runtime]System.Threading.Tasks.Task::Delay(int32) -IL_0021: newobj instance void [System.Threading.Tasks.Extensions]System.Threading.Tasks.ValueTask::.ctor(class [System.Runtime]System.Threading.Tasks.Task) -IL_0026: stloc.3 -IL_0027: ldloca.s V_3 -IL_0029: call instance valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ValueTaskAwaiter [System.Threading.Tasks.Extensions]System.Threading.Tasks.ValueTask::GetAwaiter() -IL_002e: stloc.2 -IL_002f: ldloca.s V_2 -IL_0031: call instance bool [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ValueTaskAwaiter::get_IsCompleted() -IL_0036: brtrue.s IL_0074 -IL_0038: ldarg.0 -IL_0039: ldc.i4.0 -IL_003a: dup -IL_003b: stloc.0 -IL_003c: stfld int32 CatchAndFinally/'d__6'::'<>1__state' -IL_0041: ldarg.0 -IL_0042: ldloc.2 -IL_0043: stfld valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ValueTaskAwaiter CatchAndFinally/'d__6'::'<>u__1' -IL_0048: ldarg.0 -IL_0049: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__6'::'<>t__builder' -IL_004e: ldloca.s V_2 -IL_0050: ldarg.0 -IL_0051: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::AwaitUnsafeOnCompletedd__6'>(!!0&, -!!1&) -IL_0056: leave.s IL_00a9 -IL_0058: ldarg.0 -IL_0059: ldfld valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ValueTaskAwaiter CatchAndFinally/'d__6'::'<>u__1' -IL_005e: stloc.2 -IL_005f: ldarg.0 -IL_0060: ldflda valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ValueTaskAwaiter CatchAndFinally/'d__6'::'<>u__1' -IL_0065: initobj [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ValueTaskAwaiter -IL_006b: ldarg.0 -IL_006c: ldc.i4.m1 -IL_006d: dup -IL_006e: stloc.0 -IL_006f: stfld int32 CatchAndFinally/'d__6'::'<>1__state' -IL_0074: ldloca.s V_2 -IL_0076: call instance void [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ValueTaskAwaiter::GetResult() -IL_007b: leave.s IL_0096 -} // end .try -catch [System.Runtime]System.Exception -{ -IL_007d: stloc.s V_4 -IL_007f: ldarg.0 -IL_0080: ldc.i4.s -2 -IL_0082: stfld int32 CatchAndFinally/'d__6'::'<>1__state' -IL_0087: ldarg.0 -IL_0088: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__6'::'<>t__builder' -IL_008d: ldloc.s V_4 -IL_008f: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetException(class [System.Runtime]System.Exception) -IL_0094: leave.s IL_00a9 -} // end handler -IL_0096: ldarg.0 -IL_0097: ldc.i4.s -2 -IL_0099: stfld int32 CatchAndFinally/'d__6'::'<>1__state' -IL_009e: ldarg.0 -IL_009f: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__6'::'<>t__builder' -IL_00a4: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetResult() -IL_00a9: ret -} -.method private hidebysig newslot virtual final -instance void SetStateMachine(class [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed -{ -.param [1] -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.override [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine -.maxstack 8 -IL_0000: ldarg.0 -IL_0001: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__6'::'<>t__builder' -IL_0006: ldarg.1 -IL_0007: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetStateMachine(class [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine) -IL_000c: ret -} -} -.class auto ansi sealed nested private beforefieldinit 'd__7' -extends [System.Runtime]System.ValueType -implements [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine -{ -.interfaceimpl type [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field public int32 '<>1__state' -.field public valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder '<>t__builder' -.field private valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter '<>u__1' -.method private hidebysig newslot virtual final -instance void MoveNext() cil managed -{ -.override [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext -.maxstack 3 -.locals init (int32 V_0, -int32 V_1, -valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter V_2, -valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable V_3, -valuetype [System.Threading.Tasks.Extensions]System.Threading.Tasks.ValueTask V_4, -class [System.Runtime]System.Exception V_5) -IL_0000: ldarg.0 -IL_0001: ldfld int32 CatchAndFinally/'d__7'::'<>1__state' -IL_0006: stloc.0 -.try -{ -IL_0007: ldloc.0 -IL_0008: brfalse.s IL_0062 -IL_000a: ldc.i4.0 -IL_000b: stloc.1 -.try -{ -IL_000c: newobj instance void [System.Runtime]System.NotImplementedException::.ctor() -IL_0011: throw -} // end .try -catch [System.Runtime]System.Object -{ -IL_0012: pop -IL_0013: ldc.i4.1 -IL_0014: stloc.1 -IL_0015: leave.s IL_0017 -} // end handler -IL_0017: ldloc.1 -IL_0018: ldc.i4.1 -IL_0019: bne.un.s IL_0085 -IL_001b: ldc.i4.1 -IL_001c: call class [System.Runtime]System.Threading.Tasks.Task [System.Runtime]System.Threading.Tasks.Task::Delay(int32) -IL_0021: call instance void [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable::.ctor(valuetype [System.Private.CoreLib]System.Threading.Tasks.ValueTask&) -IL_0026: stloc.s V_4 -IL_0028: ldloca.s V_4 -IL_002a: ldc.i4.0 -IL_002b: callvirt instance valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable [System.Private.CoreLib]System.Threading.Tasks.ValueTask::ConfigureAwait(bool) -IL_0030: stloc.3 -IL_0031: ldloca.s V_3 -IL_0033: call instance valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable::GetAwaiter() -IL_0038: stloc.2 -IL_0039: ldloca.s V_2 -IL_003b: call instance bool [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter::get_IsCompleted() -IL_0040: brtrue.s IL_007e -IL_0042: ldarg.0 -IL_0043: ldc.i4.0 -IL_0044: dup -IL_0045: stloc.0 -IL_0046: stfld int32 CatchAndFinally/'d__7'::'<>1__state' -IL_004b: ldarg.0 -IL_004c: ldloc.2 -IL_004d: stfld valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter CatchAndFinally/'d__7'::'<>u__1' -IL_0052: ldarg.0 -IL_0053: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__7'::'<>t__builder' -IL_0058: ldloca.s V_2 -IL_005a: ldarg.0 -IL_005b: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::AwaitUnsafeOnCompletedd__7'>(!!0&, -!!1&) -IL_0060: leave.s IL_00b3 -IL_0062: ldarg.0 -IL_0063: ldfld valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter CatchAndFinally/'d__7'::'<>u__1' -IL_0068: stloc.2 -IL_0069: ldarg.0 -IL_006a: ldflda valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter CatchAndFinally/'d__7'::'<>u__1' -IL_006f: initobj [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter -IL_0075: ldarg.0 -IL_0076: ldc.i4.m1 -IL_0077: dup -IL_0078: stloc.0 -IL_0079: stfld int32 CatchAndFinally/'d__7'::'<>1__state' -IL_007e: ldloca.s V_2 -IL_0080: call instance void [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter::GetResult() -IL_0085: leave.s IL_00a0 -} // end .try -catch [System.Runtime]System.Exception -{ -IL_0087: stloc.s V_5 -IL_0089: ldarg.0 -IL_008a: ldc.i4.s -2 -IL_008c: stfld int32 CatchAndFinally/'d__7'::'<>1__state' -IL_0091: ldarg.0 -IL_0092: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__7'::'<>t__builder' -IL_0097: ldloc.s V_5 -IL_0099: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetException(class [System.Runtime]System.Exception) -IL_009e: leave.s IL_00b3 -} // end handler -IL_00a0: ldarg.0 -IL_00a1: ldc.i4.s -2 -IL_00a3: stfld int32 CatchAndFinally/'d__7'::'<>1__state' -IL_00a8: ldarg.0 -IL_00a9: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__7'::'<>t__builder' -IL_00ae: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetResult() -IL_00b3: ret -} -.method private hidebysig newslot virtual final -instance void SetStateMachine(class [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed -{ -.param [1] -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.override [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine -.maxstack 8 -IL_0000: ldarg.0 -IL_0001: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__7'::'<>t__builder' -IL_0006: ldarg.1 -IL_0007: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetStateMachine(class [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine) -IL_000c: ret -} -} -.class auto ansi sealed nested private beforefieldinit 'd__8' -extends [System.Runtime]System.ValueType -implements [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine -{ -.interfaceimpl type [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field public int32 '<>1__state' -.field public valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder '<>t__builder' -.field private valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter '<>u__1' -.method private hidebysig newslot virtual final -instance void MoveNext() cil managed -{ -.override [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext -.maxstack 3 -.locals init (int32 V_0, -int32 V_1, -valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter V_2, -valuetype [System.Threading.Tasks.Extensions]System.Threading.Tasks.ValueTask V_3, -valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable V_4, -class [System.Runtime]System.Exception V_5) -IL_0000: ldarg.0 -IL_0001: ldfld int32 CatchAndFinally/'d__8'::'<>1__state' -IL_0006: stloc.0 -.try -{ -IL_0007: ldloc.0 -IL_0008: brfalse.s IL_0062 -IL_000a: ldc.i4.0 -IL_000b: stloc.1 -.try -{ -IL_000c: newobj instance void [System.Runtime]System.NotImplementedException::.ctor() -IL_0011: throw -} // end .try -catch [System.Runtime]System.Object -{ -IL_0012: pop -IL_0013: ldc.i4.1 -IL_0014: stloc.1 -IL_0015: leave.s IL_0017 -} // end handler -IL_0017: ldloc.1 -IL_0018: ldc.i4.1 -IL_0019: bne.un.s IL_0085 -IL_001b: ldc.i4.1 -IL_001c: call class [System.Runtime]System.Threading.Tasks.Task [System.Runtime]System.Threading.Tasks.Task::Delay(int32) -IL_0021: newobj instance void [System.Threading.Tasks.Extensions]System.Threading.Tasks.ValueTask::.ctor(class [System.Runtime]System.Threading.Tasks.Task) -IL_0026: stloc.3 -IL_0027: ldloca.s V_3 -IL_0029: ldc.i4.0 -IL_002a: call instance valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable [System.Threading.Tasks.Extensions]System.Threading.Tasks.ValueTask::ConfigureAwait(bool) -IL_002f: stloc.s V_4 -IL_0031: ldloca.s V_4 -IL_0033: call instance valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable::GetAwaiter() -IL_0038: stloc.2 -IL_0039: ldloca.s V_2 -IL_003b: call instance bool [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter::get_IsCompleted() -IL_0040: brtrue.s IL_007e -IL_0042: ldarg.0 -IL_0043: ldc.i4.0 -IL_0044: dup -IL_0045: stloc.0 -IL_0046: stfld int32 CatchAndFinally/'d__8'::'<>1__state' -IL_004b: ldarg.0 -IL_004c: ldloc.2 -IL_004d: stfld valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter CatchAndFinally/'d__8'::'<>u__1' -IL_0052: ldarg.0 -IL_0053: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__8'::'<>t__builder' -IL_0058: ldloca.s V_2 -IL_005a: ldarg.0 -IL_005b: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::AwaitUnsafeOnCompletedd__8'>(!!0&, -!!1&) -IL_0060: leave.s IL_00b3 -IL_0062: ldarg.0 -IL_0063: ldfld valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter CatchAndFinally/'d__8'::'<>u__1' -IL_0068: stloc.2 -IL_0069: ldarg.0 -IL_006a: ldflda valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter CatchAndFinally/'d__8'::'<>u__1' -IL_006f: initobj [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter -IL_0075: ldarg.0 -IL_0076: ldc.i4.m1 -IL_0077: dup -IL_0078: stloc.0 -IL_0079: stfld int32 CatchAndFinally/'d__8'::'<>1__state' -IL_007e: ldloca.s V_2 -IL_0080: call instance void [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter::GetResult() -IL_0085: leave.s IL_00a0 -} // end .try -catch [System.Runtime]System.Exception -{ -IL_0087: stloc.s V_5 -IL_0089: ldarg.0 -IL_008a: ldc.i4.s -2 -IL_008c: stfld int32 CatchAndFinally/'d__8'::'<>1__state' -IL_0091: ldarg.0 -IL_0092: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__8'::'<>t__builder' -IL_0097: ldloc.s V_5 -IL_0099: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetException(class [System.Runtime]System.Exception) -IL_009e: leave.s IL_00b3 -} // end handler -IL_00a0: ldarg.0 -IL_00a1: ldc.i4.s -2 -IL_00a3: stfld int32 CatchAndFinally/'d__8'::'<>1__state' -IL_00a8: ldarg.0 -IL_00a9: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__8'::'<>t__builder' -IL_00ae: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetResult() -IL_00b3: ret -} -.method private hidebysig newslot virtual final -instance void SetStateMachine(class [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed -{ -.param [1] -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.override [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine -.maxstack 8 -IL_0000: ldarg.0 -IL_0001: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__8'::'<>t__builder' -IL_0006: ldarg.1 -IL_0007: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetStateMachine(class [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine) -IL_000c: ret -} -} -.class auto ansi sealed nested private beforefieldinit 'd__9' -extends [System.Runtime]System.ValueType -implements [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine -{ -.interfaceimpl type [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field public int32 '<>1__state' -.field public valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder '<>t__builder' -.field private object '<>7__wrap1' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field private int32 '<>7__wrap2' -.field private valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ValueTaskAwaiter '<>u__1' -.method private hidebysig newslot virtual final -instance void MoveNext() cil managed -{ -.override [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext -.maxstack 3 -.locals init (int32 V_0, -object V_1, -valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ValueTaskAwaiter V_2, -valuetype [System.Threading.Tasks.Extensions]System.Threading.Tasks.ValueTask V_3, -class [System.Runtime]System.Exception V_4) -IL_0000: ldarg.0 -IL_0001: ldfld int32 CatchAndFinally/'d__9'::'<>1__state' -IL_0006: stloc.0 -.try -{ -IL_0007: ldloc.0 -IL_0008: brfalse.s IL_0065 -IL_000a: ldarg.0 -IL_000b: ldnull -IL_000c: stfld object CatchAndFinally/'d__9'::'<>7__wrap1' -IL_0011: ldarg.0 -IL_0012: ldc.i4.0 -IL_0013: stfld int32 CatchAndFinally/'d__9'::'<>7__wrap2' -.try -{ -IL_0018: newobj instance void [System.Runtime]System.NotImplementedException::.ctor() -IL_001d: throw -} // end .try -catch [System.Runtime]System.Object -{ -IL_001e: stloc.1 -IL_001f: ldarg.0 -IL_0020: ldloc.1 -IL_0021: stfld object CatchAndFinally/'d__9'::'<>7__wrap1' -IL_0026: leave.s IL_0028 -} // end handler -IL_0028: ldc.i4.1 -IL_0029: call class [System.Runtime]System.Threading.Tasks.Task [System.Runtime]System.Threading.Tasks.Task::Delay(int32) -IL_002e: newobj instance void [System.Threading.Tasks.Extensions]System.Threading.Tasks.ValueTask::.ctor(class [System.Runtime]System.Threading.Tasks.Task) -IL_0033: stloc.3 -IL_0034: ldloca.s V_3 -IL_0036: call instance valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ValueTaskAwaiter [System.Threading.Tasks.Extensions]System.Threading.Tasks.ValueTask::GetAwaiter() -IL_003b: stloc.2 -IL_003c: ldloca.s V_2 -IL_003e: call instance bool [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ValueTaskAwaiter::get_IsCompleted() -IL_0043: brtrue.s IL_0081 -IL_0045: ldarg.0 -IL_0046: ldc.i4.0 -IL_0047: dup -IL_0048: stloc.0 -IL_0049: stfld int32 CatchAndFinally/'d__9'::'<>1__state' -IL_004e: ldarg.0 -IL_004f: ldloc.2 -IL_0050: stfld valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ValueTaskAwaiter CatchAndFinally/'d__9'::'<>u__1' -IL_0055: ldarg.0 -IL_0056: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__9'::'<>t__builder' -IL_005b: ldloca.s V_2 -IL_005d: ldarg.0 -IL_005e: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::AwaitUnsafeOnCompletedd__9'>(!!0&, -!!1&) -IL_0063: leave.s IL_00dc -IL_0065: ldarg.0 -IL_0066: ldfld valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ValueTaskAwaiter CatchAndFinally/'d__9'::'<>u__1' -IL_006b: stloc.2 -IL_006c: ldarg.0 -IL_006d: ldflda valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ValueTaskAwaiter CatchAndFinally/'d__9'::'<>u__1' -IL_0072: initobj [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ValueTaskAwaiter -IL_0078: ldarg.0 -IL_0079: ldc.i4.m1 -IL_007a: dup -IL_007b: stloc.0 -IL_007c: stfld int32 CatchAndFinally/'d__9'::'<>1__state' -IL_0081: ldloca.s V_2 -IL_0083: call instance void [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ValueTaskAwaiter::GetResult() -IL_0088: ldarg.0 -IL_0089: ldfld object CatchAndFinally/'d__9'::'<>7__wrap1' -IL_008e: stloc.1 -IL_008f: ldloc.1 -IL_0090: brfalse.s IL_00a7 -IL_0092: ldloc.1 -IL_0093: isinst [System.Runtime]System.Exception -IL_0098: dup -IL_0099: brtrue.s IL_009d -IL_009b: ldloc.1 -IL_009c: throw -IL_009d: call class [System.Runtime]System.Runtime.ExceptionServices.ExceptionDispatchInfo [System.Runtime]System.Runtime.ExceptionServices.ExceptionDispatchInfo::Capture(class [System.Runtime]System.Exception) -IL_00a2: callvirt instance void [System.Runtime]System.Runtime.ExceptionServices.ExceptionDispatchInfo::Throw() -IL_00a7: ldarg.0 -IL_00a8: ldnull -IL_00a9: stfld object CatchAndFinally/'d__9'::'<>7__wrap1' -IL_00ae: leave.s IL_00c9 -} // end .try -catch [System.Runtime]System.Exception -{ -IL_00b0: stloc.s V_4 -IL_00b2: ldarg.0 -IL_00b3: ldc.i4.s -2 -IL_00b5: stfld int32 CatchAndFinally/'d__9'::'<>1__state' -IL_00ba: ldarg.0 -IL_00bb: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__9'::'<>t__builder' -IL_00c0: ldloc.s V_4 -IL_00c2: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetException(class [System.Runtime]System.Exception) -IL_00c7: leave.s IL_00dc -} // end handler -IL_00c9: ldarg.0 -IL_00ca: ldc.i4.s -2 -IL_00cc: stfld int32 CatchAndFinally/'d__9'::'<>1__state' -IL_00d1: ldarg.0 -IL_00d2: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__9'::'<>t__builder' -IL_00d7: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetResult() -IL_00dc: ret -} -.method private hidebysig newslot virtual final -instance void SetStateMachine(class [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed -{ -.param [1] -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.override [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine -.maxstack 8 -IL_0000: ldarg.0 -IL_0001: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__9'::'<>t__builder' -IL_0006: ldarg.1 -IL_0007: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetStateMachine(class [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine) -IL_000c: ret -} -} -.class auto ansi sealed nested private beforefieldinit 'd__10' -extends [System.Runtime]System.ValueType -implements [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine -{ -.interfaceimpl type [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field public int32 '<>1__state' -.field public valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder '<>t__builder' -.field private object '<>7__wrap1' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field private int32 '<>7__wrap2' -.field private valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter '<>u__1' -.method private hidebysig newslot virtual final -instance void MoveNext() cil managed -{ -.override [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext -.maxstack 3 -.locals init (int32 V_0, -object V_1, -valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter V_2, -valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable V_3, -valuetype [System.Threading.Tasks.Extensions]System.Threading.Tasks.ValueTask V_4, -class [System.Runtime]System.Exception V_5) -IL_0000: ldarg.0 -IL_0001: ldfld int32 CatchAndFinally/'d__10'::'<>1__state' -IL_0006: stloc.0 -.try -{ -IL_0007: ldloc.0 -IL_0008: brfalse.s IL_0072 -IL_000a: ldarg.0 -IL_000b: ldnull -IL_000c: stfld object CatchAndFinally/'d__10'::'<>7__wrap1' -IL_0011: ldarg.0 -IL_0012: ldc.i4.0 -IL_0013: stfld int32 CatchAndFinally/'d__10'::'<>7__wrap2' -.try -{ -IL_0018: newobj instance void [System.Runtime]System.NotImplementedException::.ctor() -IL_001d: throw -} // end .try -catch [System.Runtime]System.Object -{ -IL_001e: stloc.1 -IL_001f: ldarg.0 -IL_0020: ldloc.1 -IL_0021: stfld object CatchAndFinally/'d__10'::'<>7__wrap1' -IL_0026: leave.s IL_0028 -} // end handler -IL_0028: ldc.i4.1 -IL_0029: call class [System.Runtime]System.Threading.Tasks.Task [System.Runtime]System.Threading.Tasks.Task::Delay(int32) -IL_002e: call instance void [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable::.ctor(valuetype [System.Private.CoreLib]System.Threading.Tasks.ValueTask&) -IL_0033: stloc.s V_4 -IL_0035: ldloca.s V_4 -IL_0037: ldc.i4.0 -IL_0038: callvirt instance valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable [System.Private.CoreLib]System.Threading.Tasks.ValueTask::ConfigureAwait(bool) -IL_003d: stloc.3 -IL_003e: ldloca.s V_3 -IL_0040: call instance valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable::GetAwaiter() -IL_0045: stloc.2 -IL_0046: ldloca.s V_2 -IL_0048: call instance bool [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter::get_IsCompleted() -IL_004d: brtrue.s IL_008e -IL_004f: ldarg.0 -IL_0050: ldc.i4.0 -IL_0051: dup -IL_0052: stloc.0 -IL_0053: stfld int32 CatchAndFinally/'d__10'::'<>1__state' -IL_0058: ldarg.0 -IL_0059: ldloc.2 -IL_005a: stfld valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter CatchAndFinally/'d__10'::'<>u__1' -IL_005f: ldarg.0 -IL_0060: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__10'::'<>t__builder' -IL_0065: ldloca.s V_2 -IL_0067: ldarg.0 -IL_0068: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::AwaitUnsafeOnCompletedd__10'>(!!0&, -!!1&) -IL_006d: leave IL_00e9 -IL_0072: ldarg.0 -IL_0073: ldfld valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter CatchAndFinally/'d__10'::'<>u__1' -IL_0078: stloc.2 -IL_0079: ldarg.0 -IL_007a: ldflda valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter CatchAndFinally/'d__10'::'<>u__1' -IL_007f: initobj [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter -IL_0085: ldarg.0 -IL_0086: ldc.i4.m1 -IL_0087: dup -IL_0088: stloc.0 -IL_0089: stfld int32 CatchAndFinally/'d__10'::'<>1__state' -IL_008e: ldloca.s V_2 -IL_0090: call instance void [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter::GetResult() -IL_0095: ldarg.0 -IL_0096: ldfld object CatchAndFinally/'d__10'::'<>7__wrap1' -IL_009b: stloc.1 -IL_009c: ldloc.1 -IL_009d: brfalse.s IL_00b4 -IL_009f: ldloc.1 -IL_00a0: isinst [System.Runtime]System.Exception -IL_00a5: dup -IL_00a6: brtrue.s IL_00aa -IL_00a8: ldloc.1 -IL_00a9: throw -IL_00aa: call class [System.Runtime]System.Runtime.ExceptionServices.ExceptionDispatchInfo [System.Runtime]System.Runtime.ExceptionServices.ExceptionDispatchInfo::Capture(class [System.Runtime]System.Exception) -IL_00af: callvirt instance void [System.Runtime]System.Runtime.ExceptionServices.ExceptionDispatchInfo::Throw() -IL_00b4: ldarg.0 -IL_00b5: ldnull -IL_00b6: stfld object CatchAndFinally/'d__10'::'<>7__wrap1' -IL_00bb: leave.s IL_00d6 -} // end .try -catch [System.Runtime]System.Exception -{ -IL_00bd: stloc.s V_5 -IL_00bf: ldarg.0 -IL_00c0: ldc.i4.s -2 -IL_00c2: stfld int32 CatchAndFinally/'d__10'::'<>1__state' -IL_00c7: ldarg.0 -IL_00c8: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__10'::'<>t__builder' -IL_00cd: ldloc.s V_5 -IL_00cf: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetException(class [System.Runtime]System.Exception) -IL_00d4: leave.s IL_00e9 -} // end handler -IL_00d6: ldarg.0 -IL_00d7: ldc.i4.s -2 -IL_00d9: stfld int32 CatchAndFinally/'d__10'::'<>1__state' -IL_00de: ldarg.0 -IL_00df: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__10'::'<>t__builder' -IL_00e4: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetResult() -IL_00e9: ret -} -.method private hidebysig newslot virtual final -instance void SetStateMachine(class [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed -{ -.param [1] -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.override [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine -.maxstack 8 -IL_0000: ldarg.0 -IL_0001: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__10'::'<>t__builder' -IL_0006: ldarg.1 -IL_0007: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetStateMachine(class [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine) -IL_000c: ret -} -} -.class auto ansi sealed nested private beforefieldinit 'd__11' -extends [System.Runtime]System.ValueType -implements [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine -{ -.interfaceimpl type [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field public int32 '<>1__state' -.field public valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder '<>t__builder' -.field private object '<>7__wrap1' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field private int32 '<>7__wrap2' -.field private valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter '<>u__1' -.method private hidebysig newslot virtual final -instance void MoveNext() cil managed -{ -.override [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext -.maxstack 3 -.locals init (int32 V_0, -object V_1, -valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter V_2, -valuetype [System.Threading.Tasks.Extensions]System.Threading.Tasks.ValueTask V_3, -valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable V_4, -class [System.Runtime]System.Exception V_5) -IL_0000: ldarg.0 -IL_0001: ldfld int32 CatchAndFinally/'d__11'::'<>1__state' -IL_0006: stloc.0 -.try -{ -IL_0007: ldloc.0 -IL_0008: brfalse.s IL_006f -IL_000a: ldarg.0 -IL_000b: ldnull -IL_000c: stfld object CatchAndFinally/'d__11'::'<>7__wrap1' -IL_0011: ldarg.0 -IL_0012: ldc.i4.0 -IL_0013: stfld int32 CatchAndFinally/'d__11'::'<>7__wrap2' -.try -{ -IL_0018: newobj instance void [System.Runtime]System.NotImplementedException::.ctor() -IL_001d: throw -} // end .try -catch [System.Runtime]System.Object -{ -IL_001e: stloc.1 -IL_001f: ldarg.0 -IL_0020: ldloc.1 -IL_0021: stfld object CatchAndFinally/'d__11'::'<>7__wrap1' -IL_0026: leave.s IL_0028 -} // end handler -IL_0028: ldc.i4.1 -IL_0029: call class [System.Runtime]System.Threading.Tasks.Task [System.Runtime]System.Threading.Tasks.Task::Delay(int32) -IL_002e: newobj instance void [System.Threading.Tasks.Extensions]System.Threading.Tasks.ValueTask::.ctor(class [System.Runtime]System.Threading.Tasks.Task) -IL_0033: stloc.3 -IL_0034: ldloca.s V_3 -IL_0036: ldc.i4.0 -IL_0037: call instance valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable [System.Threading.Tasks.Extensions]System.Threading.Tasks.ValueTask::ConfigureAwait(bool) -IL_003c: stloc.s V_4 -IL_003e: ldloca.s V_4 -IL_0040: call instance valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable::GetAwaiter() -IL_0045: stloc.2 -IL_0046: ldloca.s V_2 -IL_0048: call instance bool [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter::get_IsCompleted() -IL_004d: brtrue.s IL_008b -IL_004f: ldarg.0 -IL_0050: ldc.i4.0 -IL_0051: dup -IL_0052: stloc.0 -IL_0053: stfld int32 CatchAndFinally/'d__11'::'<>1__state' -IL_0058: ldarg.0 -IL_0059: ldloc.2 -IL_005a: stfld valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter CatchAndFinally/'d__11'::'<>u__1' -IL_005f: ldarg.0 -IL_0060: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__11'::'<>t__builder' -IL_0065: ldloca.s V_2 -IL_0067: ldarg.0 -IL_0068: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::AwaitUnsafeOnCompletedd__11'>(!!0&, -!!1&) -IL_006d: leave.s IL_00e6 -IL_006f: ldarg.0 -IL_0070: ldfld valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter CatchAndFinally/'d__11'::'<>u__1' -IL_0075: stloc.2 -IL_0076: ldarg.0 -IL_0077: ldflda valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter CatchAndFinally/'d__11'::'<>u__1' -IL_007c: initobj [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter -IL_0082: ldarg.0 -IL_0083: ldc.i4.m1 -IL_0084: dup -IL_0085: stloc.0 -IL_0086: stfld int32 CatchAndFinally/'d__11'::'<>1__state' -IL_008b: ldloca.s V_2 -IL_008d: call instance void [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter::GetResult() -IL_0092: ldarg.0 -IL_0093: ldfld object CatchAndFinally/'d__11'::'<>7__wrap1' -IL_0098: stloc.1 -IL_0099: ldloc.1 -IL_009a: brfalse.s IL_00b1 -IL_009c: ldloc.1 -IL_009d: isinst [System.Runtime]System.Exception -IL_00a2: dup -IL_00a3: brtrue.s IL_00a7 -IL_00a5: ldloc.1 -IL_00a6: throw -IL_00a7: call class [System.Runtime]System.Runtime.ExceptionServices.ExceptionDispatchInfo [System.Runtime]System.Runtime.ExceptionServices.ExceptionDispatchInfo::Capture(class [System.Runtime]System.Exception) -IL_00ac: callvirt instance void [System.Runtime]System.Runtime.ExceptionServices.ExceptionDispatchInfo::Throw() -IL_00b1: ldarg.0 -IL_00b2: ldnull -IL_00b3: stfld object CatchAndFinally/'d__11'::'<>7__wrap1' -IL_00b8: leave.s IL_00d3 -} // end .try -catch [System.Runtime]System.Exception -{ -IL_00ba: stloc.s V_5 -IL_00bc: ldarg.0 -IL_00bd: ldc.i4.s -2 -IL_00bf: stfld int32 CatchAndFinally/'d__11'::'<>1__state' -IL_00c4: ldarg.0 -IL_00c5: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__11'::'<>t__builder' -IL_00ca: ldloc.s V_5 -IL_00cc: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetException(class [System.Runtime]System.Exception) -IL_00d1: leave.s IL_00e6 -} // end handler -IL_00d3: ldarg.0 -IL_00d4: ldc.i4.s -2 -IL_00d6: stfld int32 CatchAndFinally/'d__11'::'<>1__state' -IL_00db: ldarg.0 -IL_00dc: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__11'::'<>t__builder' -IL_00e1: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetResult() -IL_00e6: ret -} -.method private hidebysig newslot virtual final -instance void SetStateMachine(class [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed -{ -.param [1] -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.override [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine -.maxstack 8 -IL_0000: ldarg.0 -IL_0001: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__11'::'<>t__builder' -IL_0006: ldarg.1 -IL_0007: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetStateMachine(class [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine) -IL_000c: ret -} -} -.method public hidebysig instance class [System.Runtime]System.Threading.Tasks.Task -Catch1() cil managed -{ -6C 79 2B 3C 43 61 74 63 68 31 3E 64 5F 5F 30 00 // ly+d__0. -00 ) -.maxstack 2 -.locals init (valuetype CatchAndFinally/'d__0' V_0) -IL_0000: ldloca.s V_0 -IL_0002: call valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Create() -IL_0007: stfld valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__0'::'<>t__builder' -IL_000c: ldloca.s V_0 -IL_000e: ldc.i4.m1 -IL_000f: stfld int32 CatchAndFinally/'d__0'::'<>1__state' -IL_0014: ldloca.s V_0 -IL_0016: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__0'::'<>t__builder' -IL_001b: ldloca.s V_0 -IL_001d: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Startd__0'>(!!0&) -IL_0022: ldloca.s V_0 -IL_0024: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__0'::'<>t__builder' -IL_0029: call instance class [System.Runtime]System.Threading.Tasks.Task [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::get_Task() -IL_002e: ret -} -.method public hidebysig instance class [System.Runtime]System.Threading.Tasks.Task -Catch2() cil managed -{ -6C 79 2B 3C 43 61 74 63 68 32 3E 64 5F 5F 31 00 // ly+d__1. -00 ) -.maxstack 2 -.locals init (valuetype CatchAndFinally/'d__1' V_0) -IL_0000: ldloca.s V_0 -IL_0002: call valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Create() -IL_0007: stfld valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__1'::'<>t__builder' -IL_000c: ldloca.s V_0 -IL_000e: ldc.i4.m1 -IL_000f: stfld int32 CatchAndFinally/'d__1'::'<>1__state' -IL_0014: ldloca.s V_0 -IL_0016: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__1'::'<>t__builder' -IL_001b: ldloca.s V_0 -IL_001d: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Startd__1'>(!!0&) -IL_0022: ldloca.s V_0 -IL_0024: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__1'::'<>t__builder' -IL_0029: call instance class [System.Runtime]System.Threading.Tasks.Task [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::get_Task() -IL_002e: ret -} -.method public hidebysig instance class [System.Runtime]System.Threading.Tasks.Task -Catch3() cil managed -{ -6C 79 2B 3C 43 61 74 63 68 33 3E 64 5F 5F 32 00 // ly+d__2. -00 ) -.maxstack 2 -.locals init (valuetype CatchAndFinally/'d__2' V_0) -IL_0000: ldloca.s V_0 -IL_0002: call valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Create() -IL_0007: stfld valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__2'::'<>t__builder' -IL_000c: ldloca.s V_0 -IL_000e: ldc.i4.m1 -IL_000f: stfld int32 CatchAndFinally/'d__2'::'<>1__state' -IL_0014: ldloca.s V_0 -IL_0016: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__2'::'<>t__builder' -IL_001b: ldloca.s V_0 -IL_001d: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Startd__2'>(!!0&) -IL_0022: ldloca.s V_0 -IL_0024: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__2'::'<>t__builder' -IL_0029: call instance class [System.Runtime]System.Threading.Tasks.Task [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::get_Task() -IL_002e: ret -} -.method public hidebysig instance class [System.Runtime]System.Threading.Tasks.Task -Finally1() cil managed -{ -6C 79 2B 3C 46 69 6E 61 6C 6C 79 31 3E 64 5F 5F // ly+d__ -33 00 00 ) // 3.. -.maxstack 2 -.locals init (valuetype CatchAndFinally/'d__3' V_0) -IL_0000: ldloca.s V_0 -IL_0002: call valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Create() -IL_0007: stfld valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__3'::'<>t__builder' -IL_000c: ldloca.s V_0 -IL_000e: ldc.i4.m1 -IL_000f: stfld int32 CatchAndFinally/'d__3'::'<>1__state' -IL_0014: ldloca.s V_0 -IL_0016: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__3'::'<>t__builder' -IL_001b: ldloca.s V_0 -IL_001d: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Startd__3'>(!!0&) -IL_0022: ldloca.s V_0 -IL_0024: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__3'::'<>t__builder' -IL_0029: call instance class [System.Runtime]System.Threading.Tasks.Task [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::get_Task() -IL_002e: ret -} -.method public hidebysig instance class [System.Runtime]System.Threading.Tasks.Task -Finally2() cil managed -{ -6C 79 2B 3C 46 69 6E 61 6C 6C 79 32 3E 64 5F 5F // ly+d__ -34 00 00 ) // 4.. -.maxstack 2 -.locals init (valuetype CatchAndFinally/'d__4' V_0) -IL_0000: ldloca.s V_0 -IL_0002: call valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Create() -IL_0007: stfld valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__4'::'<>t__builder' -IL_000c: ldloca.s V_0 -IL_000e: ldc.i4.m1 -IL_000f: stfld int32 CatchAndFinally/'d__4'::'<>1__state' -IL_0014: ldloca.s V_0 -IL_0016: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__4'::'<>t__builder' -IL_001b: ldloca.s V_0 -IL_001d: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Startd__4'>(!!0&) -IL_0022: ldloca.s V_0 -IL_0024: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__4'::'<>t__builder' -IL_0029: call instance class [System.Runtime]System.Threading.Tasks.Task [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::get_Task() -IL_002e: ret -} -.method public hidebysig instance class [System.Runtime]System.Threading.Tasks.Task -Finally3() cil managed -{ -6C 79 2B 3C 46 69 6E 61 6C 6C 79 33 3E 64 5F 5F // ly+d__ -35 00 00 ) // 5.. -.maxstack 2 -.locals init (valuetype CatchAndFinally/'d__5' V_0) -IL_0000: ldloca.s V_0 -IL_0002: call valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Create() -IL_0007: stfld valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__5'::'<>t__builder' -IL_000c: ldloca.s V_0 -IL_000e: ldc.i4.m1 -IL_000f: stfld int32 CatchAndFinally/'d__5'::'<>1__state' -IL_0014: ldloca.s V_0 -IL_0016: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__5'::'<>t__builder' -IL_001b: ldloca.s V_0 -IL_001d: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Startd__5'>(!!0&) -IL_0022: ldloca.s V_0 -IL_0024: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__5'::'<>t__builder' -IL_0029: call instance class [System.Runtime]System.Threading.Tasks.Task [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::get_Task() -IL_002e: ret -} -.method public hidebysig instance class [System.Runtime]System.Threading.Tasks.Task -Catch1_WithValueTask() cil managed -{ -6C 79 2B 3C 43 61 74 63 68 31 5F 57 69 74 68 56 // ly+d__6.. -.maxstack 2 -.locals init (valuetype CatchAndFinally/'d__6' V_0) -IL_0000: ldloca.s V_0 -IL_0002: call valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Create() -IL_0007: stfld valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__6'::'<>t__builder' -IL_000c: ldloca.s V_0 -IL_000e: ldc.i4.m1 -IL_000f: stfld int32 CatchAndFinally/'d__6'::'<>1__state' -IL_0014: ldloca.s V_0 -IL_0016: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__6'::'<>t__builder' -IL_001b: ldloca.s V_0 -IL_001d: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Startd__6'>(!!0&) -IL_0022: ldloca.s V_0 -IL_0024: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__6'::'<>t__builder' -IL_0029: call instance class [System.Runtime]System.Threading.Tasks.Task [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::get_Task() -IL_002e: ret -} -.method public hidebysig instance class [System.Runtime]System.Threading.Tasks.Task -Catch2_WithValueTask() cil managed -{ -6C 79 2B 3C 43 61 74 63 68 32 5F 57 69 74 68 56 // ly+d__7.. -.maxstack 2 -.locals init (valuetype CatchAndFinally/'d__7' V_0) -IL_0000: ldloca.s V_0 -IL_0002: call valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Create() -IL_0007: stfld valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__7'::'<>t__builder' -IL_000c: ldloca.s V_0 -IL_000e: ldc.i4.m1 -IL_000f: stfld int32 CatchAndFinally/'d__7'::'<>1__state' -IL_0014: ldloca.s V_0 -IL_0016: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__7'::'<>t__builder' -IL_001b: ldloca.s V_0 -IL_001d: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Startd__7'>(!!0&) -IL_0022: ldloca.s V_0 -IL_0024: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__7'::'<>t__builder' -IL_0029: call instance class [System.Runtime]System.Threading.Tasks.Task [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::get_Task() -IL_002e: ret -} -.method public hidebysig instance class [System.Runtime]System.Threading.Tasks.Task -Catch3_WithValueTask() cil managed -{ -6C 79 2B 3C 43 61 74 63 68 33 5F 57 69 74 68 56 // ly+d__8.. -.maxstack 2 -.locals init (valuetype CatchAndFinally/'d__8' V_0) -IL_0000: ldloca.s V_0 -IL_0002: call valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Create() -IL_0007: stfld valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__8'::'<>t__builder' -IL_000c: ldloca.s V_0 -IL_000e: ldc.i4.m1 -IL_000f: stfld int32 CatchAndFinally/'d__8'::'<>1__state' -IL_0014: ldloca.s V_0 -IL_0016: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__8'::'<>t__builder' -IL_001b: ldloca.s V_0 -IL_001d: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Startd__8'>(!!0&) -IL_0022: ldloca.s V_0 -IL_0024: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__8'::'<>t__builder' -IL_0029: call instance class [System.Runtime]System.Threading.Tasks.Task [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::get_Task() -IL_002e: ret -} -.method public hidebysig instance class [System.Runtime]System.Threading.Tasks.Task -Finally1_WithValueTask() cil managed -{ -6C 79 2B 3C 46 69 6E 61 6C 6C 79 31 5F 57 69 74 // ly+d__9. -00 ) -.maxstack 2 -.locals init (valuetype CatchAndFinally/'d__9' V_0) -IL_0000: ldloca.s V_0 -IL_0002: call valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Create() -IL_0007: stfld valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__9'::'<>t__builder' -IL_000c: ldloca.s V_0 -IL_000e: ldc.i4.m1 -IL_000f: stfld int32 CatchAndFinally/'d__9'::'<>1__state' -IL_0014: ldloca.s V_0 -IL_0016: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__9'::'<>t__builder' -IL_001b: ldloca.s V_0 -IL_001d: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Startd__9'>(!!0&) -IL_0022: ldloca.s V_0 -IL_0024: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__9'::'<>t__builder' -IL_0029: call instance class [System.Runtime]System.Threading.Tasks.Task [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::get_Task() -IL_002e: ret -} -.method public hidebysig instance class [System.Runtime]System.Threading.Tasks.Task -Finally2_WithValueTask() cil managed -{ -6C 79 2B 3C 46 69 6E 61 6C 6C 79 32 5F 57 69 74 // ly+d__10 -00 00 ) -.maxstack 2 -.locals init (valuetype CatchAndFinally/'d__10' V_0) -IL_0000: ldloca.s V_0 -IL_0002: call valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Create() -IL_0007: stfld valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__10'::'<>t__builder' -IL_000c: ldloca.s V_0 -IL_000e: ldc.i4.m1 -IL_000f: stfld int32 CatchAndFinally/'d__10'::'<>1__state' -IL_0014: ldloca.s V_0 -IL_0016: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__10'::'<>t__builder' -IL_001b: ldloca.s V_0 -IL_001d: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Startd__10'>(!!0&) -IL_0022: ldloca.s V_0 -IL_0024: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__10'::'<>t__builder' -IL_0029: call instance class [System.Runtime]System.Threading.Tasks.Task [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::get_Task() -IL_002e: ret -} -.method public hidebysig instance class [System.Runtime]System.Threading.Tasks.Task -Finally3_WithValueTask() cil managed -{ -6C 79 2B 3C 46 69 6E 61 6C 6C 79 33 5F 57 69 74 // ly+d__11 -00 00 ) -.maxstack 2 -.locals init (valuetype CatchAndFinally/'d__11' V_0) -IL_0000: ldloca.s V_0 -IL_0002: call valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Create() -IL_0007: stfld valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__11'::'<>t__builder' -IL_000c: ldloca.s V_0 -IL_000e: ldc.i4.m1 -IL_000f: stfld int32 CatchAndFinally/'d__11'::'<>1__state' -IL_0014: ldloca.s V_0 -IL_0016: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__11'::'<>t__builder' -IL_001b: ldloca.s V_0 -IL_001d: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Startd__11'>(!!0&) -IL_0022: ldloca.s V_0 -IL_0024: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__11'::'<>t__builder' -IL_0029: call instance class [System.Runtime]System.Threading.Tasks.Task [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::get_Task() -IL_002e: ret -} -.method public hidebysig specialname rtspecialname -instance void .ctor() cil managed -{ -.maxstack 8 -IL_0000: ldarg.0 -IL_0001: call instance void [System.Runtime]System.Object::.ctor() -IL_0006: ret -} -} diff --git a/Tests/ModuleWeaverTests.DecompileCatchAndFinally.Debug.DotNet.verified.txt b/Tests/ModuleWeaverTests.DecompileCatchAndFinally.Debug.DotNet.verified.txt deleted file mode 100644 index 917652f..0000000 --- a/Tests/ModuleWeaverTests.DecompileCatchAndFinally.Debug.DotNet.verified.txt +++ /dev/null @@ -1,1115 +0,0 @@ -.class public auto ansi beforefieldinit CatchAndFinally -extends [System.Runtime]System.Object -{ -.custom instance void System.Runtime.CompilerServices.NullableContextAttribute::.ctor(uint8) = ( 01 00 01 00 00 ) -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.class auto ansi sealed nested private beforefieldinit 'd__0' -extends [System.Runtime]System.Object -implements [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine -{ -.interfaceimpl type [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field public int32 '<>1__state' -.field public valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder '<>t__builder' -.field public class CatchAndFinally '<>4__this' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field private object '<>s__1' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field private int32 '<>s__2' -.field private valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter '<>u__1' -.method public hidebysig specialname rtspecialname -instance void .ctor() cil managed -{ -.maxstack 8 -IL_0000: ldarg.0 -IL_0001: call instance void [System.Runtime]System.Object::.ctor() -IL_0006: nop -IL_0007: ret -} -.method private hidebysig newslot virtual final -instance void MoveNext() cil managed -{ -.override [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext -.maxstack 3 -.locals init (int32 V_0, -object V_1, -int32 V_2, -valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter V_3, -class CatchAndFinally/'d__0' V_4, -class [System.Runtime]System.Exception V_5) -IL_0000: ldarg.0 -IL_0001: ldfld int32 CatchAndFinally/'d__0'::'<>1__state' -IL_0006: stloc.0 -.try -{ -IL_0007: ldloc.0 -IL_0008: brfalse.s IL_000c -IL_000a: br.s IL_000e -IL_000c: br.s IL_0076 -IL_000e: nop -IL_000f: ldarg.0 -IL_0010: ldc.i4.0 -IL_0011: stfld int32 CatchAndFinally/'d__0'::'<>s__2' -.try -{ -IL_0016: nop -IL_0017: newobj instance void [System.Runtime]System.NotImplementedException::.ctor() -IL_001c: throw -} // end .try -catch [System.Runtime]System.Object -{ -IL_001d: stloc.1 -IL_001e: ldarg.0 -IL_001f: ldloc.1 -IL_0020: stfld object CatchAndFinally/'d__0'::'<>s__1' -IL_0025: ldarg.0 -IL_0026: ldc.i4.1 -IL_0027: stfld int32 CatchAndFinally/'d__0'::'<>s__2' -IL_002c: leave.s IL_002e -} // end handler -IL_002e: ldarg.0 -IL_002f: ldfld int32 CatchAndFinally/'d__0'::'<>s__2' -IL_0034: stloc.2 -IL_0035: ldloc.2 -IL_0036: ldc.i4.1 -IL_0037: beq.s IL_003b -IL_0039: br.s IL_009d -IL_003b: nop -IL_003c: ldc.i4.1 -IL_003d: call class [System.Runtime]System.Threading.Tasks.Task [System.Runtime]System.Threading.Tasks.Task::Delay(int32) -IL_0042: callvirt instance valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter [System.Runtime]System.Threading.Tasks.Task::GetAwaiter() -IL_0047: stloc.3 -IL_0048: ldloca.s V_3 -IL_004a: call instance bool [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter::get_IsCompleted() -IL_004f: brtrue.s IL_0092 -IL_0051: ldarg.0 -IL_0052: ldc.i4.0 -IL_0053: dup -IL_0054: stloc.0 -IL_0055: stfld int32 CatchAndFinally/'d__0'::'<>1__state' -IL_005a: ldarg.0 -IL_005b: ldloc.3 -IL_005c: stfld valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter CatchAndFinally/'d__0'::'<>u__1' -IL_0061: ldarg.0 -IL_0062: stloc.s V_4 -IL_0064: ldarg.0 -IL_0065: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__0'::'<>t__builder' -IL_006a: ldloca.s V_3 -IL_006c: ldloca.s V_4 -IL_006e: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::AwaitUnsafeOnCompletedd__0'>(!!0&, -!!1&) -IL_0073: nop -IL_0074: leave.s IL_00d4 -IL_0076: ldarg.0 -IL_0077: ldfld valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter CatchAndFinally/'d__0'::'<>u__1' -IL_007c: stloc.3 -IL_007d: ldarg.0 -IL_007e: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter CatchAndFinally/'d__0'::'<>u__1' -IL_0083: initobj [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter -IL_0089: ldarg.0 -IL_008a: ldc.i4.m1 -IL_008b: dup -IL_008c: stloc.0 -IL_008d: stfld int32 CatchAndFinally/'d__0'::'<>1__state' -IL_0092: ldloca.s V_3 -IL_0094: call instance void [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter::GetResult() -IL_0099: nop -IL_009a: nop -IL_009b: br.s IL_009d -IL_009d: ldarg.0 -IL_009e: ldnull -IL_009f: stfld object CatchAndFinally/'d__0'::'<>s__1' -IL_00a4: leave.s IL_00c0 -} // end .try -catch [System.Runtime]System.Exception -{ -IL_00a6: stloc.s V_5 -IL_00a8: ldarg.0 -IL_00a9: ldc.i4.s -2 -IL_00ab: stfld int32 CatchAndFinally/'d__0'::'<>1__state' -IL_00b0: ldarg.0 -IL_00b1: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__0'::'<>t__builder' -IL_00b6: ldloc.s V_5 -IL_00b8: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetException(class [System.Runtime]System.Exception) -IL_00bd: nop -IL_00be: leave.s IL_00d4 -} // end handler -IL_00c0: ldarg.0 -IL_00c1: ldc.i4.s -2 -IL_00c3: stfld int32 CatchAndFinally/'d__0'::'<>1__state' -IL_00c8: ldarg.0 -IL_00c9: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__0'::'<>t__builder' -IL_00ce: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetResult() -IL_00d3: nop -IL_00d4: ret -} -.method private hidebysig newslot virtual final -instance void SetStateMachine(class [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed -{ -.override [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine -.maxstack 8 -IL_0000: ret -} -} -.class auto ansi sealed nested private beforefieldinit 'd__1' -extends [System.Runtime]System.Object -implements [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine -{ -.interfaceimpl type [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field public int32 '<>1__state' -.field public valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder '<>t__builder' -.field public class CatchAndFinally '<>4__this' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field private object '<>s__1' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field private int32 '<>s__2' -.field private valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter '<>u__1' -.method public hidebysig specialname rtspecialname -instance void .ctor() cil managed -{ -.maxstack 8 -IL_0000: ldarg.0 -IL_0001: call instance void [System.Runtime]System.Object::.ctor() -IL_0006: nop -IL_0007: ret -} -.method private hidebysig newslot virtual final -instance void MoveNext() cil managed -{ -.override [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext -.maxstack 3 -.locals init (int32 V_0, -object V_1, -int32 V_2, -valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter V_3, -valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable V_4, -class CatchAndFinally/'d__1' V_5, -class [System.Runtime]System.Exception V_6) -IL_0000: ldarg.0 -IL_0001: ldfld int32 CatchAndFinally/'d__1'::'<>1__state' -IL_0006: stloc.0 -.try -{ -IL_0007: ldloc.0 -IL_0008: brfalse.s IL_000c -IL_000a: br.s IL_0011 -IL_000c: br IL_0083 -IL_0011: nop -IL_0012: ldarg.0 -IL_0013: ldc.i4.0 -IL_0014: stfld int32 CatchAndFinally/'d__1'::'<>s__2' -.try -{ -IL_0019: nop -IL_001a: newobj instance void [System.Runtime]System.NotImplementedException::.ctor() -IL_001f: throw -} // end .try -catch [System.Runtime]System.Object -{ -IL_0020: stloc.1 -IL_0021: ldarg.0 -IL_0022: ldloc.1 -IL_0023: stfld object CatchAndFinally/'d__1'::'<>s__1' -IL_0028: ldarg.0 -IL_0029: ldc.i4.1 -IL_002a: stfld int32 CatchAndFinally/'d__1'::'<>s__2' -IL_002f: leave.s IL_0031 -} // end handler -IL_0031: ldarg.0 -IL_0032: ldfld int32 CatchAndFinally/'d__1'::'<>s__2' -IL_0037: stloc.2 -IL_0038: ldloc.2 -IL_0039: ldc.i4.1 -IL_003a: beq.s IL_003e -IL_003c: br.s IL_00aa -IL_003e: nop -IL_003f: ldc.i4.1 -IL_0040: call class [System.Runtime]System.Threading.Tasks.Task [System.Runtime]System.Threading.Tasks.Task::Delay(int32) -IL_0045: ldc.i4.0 -IL_0046: callvirt instance valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable [System.Private.CoreLib]System.Threading.Tasks.Task::ConfigureAwait(bool) -IL_004b: stloc.s V_4 -IL_004d: ldloca.s V_4 -IL_004f: call instance valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable::GetAwaiter() -IL_0054: stloc.3 -IL_0055: ldloca.s V_3 -IL_0057: call instance bool [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter::get_IsCompleted() -IL_005c: brtrue.s IL_009f -IL_005e: ldarg.0 -IL_005f: ldc.i4.0 -IL_0060: dup -IL_0061: stloc.0 -IL_0062: stfld int32 CatchAndFinally/'d__1'::'<>1__state' -IL_0067: ldarg.0 -IL_0068: ldloc.3 -IL_0069: stfld valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter CatchAndFinally/'d__1'::'<>u__1' -IL_006e: ldarg.0 -IL_006f: stloc.s V_5 -IL_0071: ldarg.0 -IL_0072: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__1'::'<>t__builder' -IL_0077: ldloca.s V_3 -IL_0079: ldloca.s V_5 -IL_007b: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::AwaitUnsafeOnCompletedd__1'>(!!0&, -!!1&) -IL_0080: nop -IL_0081: leave.s IL_00e1 -IL_0083: ldarg.0 -IL_0084: ldfld valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter CatchAndFinally/'d__1'::'<>u__1' -IL_0089: stloc.3 -IL_008a: ldarg.0 -IL_008b: ldflda valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter CatchAndFinally/'d__1'::'<>u__1' -IL_0090: initobj [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter -IL_0096: ldarg.0 -IL_0097: ldc.i4.m1 -IL_0098: dup -IL_0099: stloc.0 -IL_009a: stfld int32 CatchAndFinally/'d__1'::'<>1__state' -IL_009f: ldloca.s V_3 -IL_00a1: call instance void [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter::GetResult() -IL_00a6: nop -IL_00a7: nop -IL_00a8: br.s IL_00aa -IL_00aa: ldarg.0 -IL_00ab: ldnull -IL_00ac: stfld object CatchAndFinally/'d__1'::'<>s__1' -IL_00b1: leave.s IL_00cd -} // end .try -catch [System.Runtime]System.Exception -{ -IL_00b3: stloc.s V_6 -IL_00b5: ldarg.0 -IL_00b6: ldc.i4.s -2 -IL_00b8: stfld int32 CatchAndFinally/'d__1'::'<>1__state' -IL_00bd: ldarg.0 -IL_00be: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__1'::'<>t__builder' -IL_00c3: ldloc.s V_6 -IL_00c5: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetException(class [System.Runtime]System.Exception) -IL_00ca: nop -IL_00cb: leave.s IL_00e1 -} // end handler -IL_00cd: ldarg.0 -IL_00ce: ldc.i4.s -2 -IL_00d0: stfld int32 CatchAndFinally/'d__1'::'<>1__state' -IL_00d5: ldarg.0 -IL_00d6: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__1'::'<>t__builder' -IL_00db: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetResult() -IL_00e0: nop -IL_00e1: ret -} -.method private hidebysig newslot virtual final -instance void SetStateMachine(class [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed -{ -.override [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine -.maxstack 8 -IL_0000: ret -} -} -.class auto ansi sealed nested private beforefieldinit 'd__2' -extends [System.Runtime]System.Object -implements [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine -{ -.interfaceimpl type [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field public int32 '<>1__state' -.field public valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder '<>t__builder' -.field public class CatchAndFinally '<>4__this' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field private object '<>s__1' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field private int32 '<>s__2' -.field private valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter '<>u__1' -.method public hidebysig specialname rtspecialname -instance void .ctor() cil managed -{ -.maxstack 8 -IL_0000: ldarg.0 -IL_0001: call instance void [System.Runtime]System.Object::.ctor() -IL_0006: nop -IL_0007: ret -} -.method private hidebysig newslot virtual final -instance void MoveNext() cil managed -{ -.override [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext -.maxstack 3 -.locals init (int32 V_0, -object V_1, -int32 V_2, -valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter V_3, -valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable V_4, -class CatchAndFinally/'d__2' V_5, -class [System.Runtime]System.Exception V_6) -IL_0000: ldarg.0 -IL_0001: ldfld int32 CatchAndFinally/'d__2'::'<>1__state' -IL_0006: stloc.0 -.try -{ -IL_0007: ldloc.0 -IL_0008: brfalse.s IL_000c -IL_000a: br.s IL_000e -IL_000c: br.s IL_0080 -IL_000e: nop -IL_000f: ldarg.0 -IL_0010: ldc.i4.0 -IL_0011: stfld int32 CatchAndFinally/'d__2'::'<>s__2' -.try -{ -IL_0016: nop -IL_0017: newobj instance void [System.Runtime]System.NotImplementedException::.ctor() -IL_001c: throw -} // end .try -catch [System.Runtime]System.Object -{ -IL_001d: stloc.1 -IL_001e: ldarg.0 -IL_001f: ldloc.1 -IL_0020: stfld object CatchAndFinally/'d__2'::'<>s__1' -IL_0025: ldarg.0 -IL_0026: ldc.i4.1 -IL_0027: stfld int32 CatchAndFinally/'d__2'::'<>s__2' -IL_002c: leave.s IL_002e -} // end handler -IL_002e: ldarg.0 -IL_002f: ldfld int32 CatchAndFinally/'d__2'::'<>s__2' -IL_0034: stloc.2 -IL_0035: ldloc.2 -IL_0036: ldc.i4.1 -IL_0037: beq.s IL_003b -IL_0039: br.s IL_00a7 -IL_003b: nop -IL_003c: ldc.i4.1 -IL_003d: call class [System.Runtime]System.Threading.Tasks.Task [System.Runtime]System.Threading.Tasks.Task::Delay(int32) -IL_0042: ldc.i4.0 -IL_0043: callvirt instance valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable [System.Runtime]System.Threading.Tasks.Task::ConfigureAwait(bool) -IL_0048: stloc.s V_4 -IL_004a: ldloca.s V_4 -IL_004c: call instance valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable::GetAwaiter() -IL_0051: stloc.3 -IL_0052: ldloca.s V_3 -IL_0054: call instance bool [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter::get_IsCompleted() -IL_0059: brtrue.s IL_009c -IL_005b: ldarg.0 -IL_005c: ldc.i4.0 -IL_005d: dup -IL_005e: stloc.0 -IL_005f: stfld int32 CatchAndFinally/'d__2'::'<>1__state' -IL_0064: ldarg.0 -IL_0065: ldloc.3 -IL_0066: stfld valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter CatchAndFinally/'d__2'::'<>u__1' -IL_006b: ldarg.0 -IL_006c: stloc.s V_5 -IL_006e: ldarg.0 -IL_006f: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__2'::'<>t__builder' -IL_0074: ldloca.s V_3 -IL_0076: ldloca.s V_5 -IL_0078: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::AwaitUnsafeOnCompletedd__2'>(!!0&, -!!1&) -IL_007d: nop -IL_007e: leave.s IL_00de -IL_0080: ldarg.0 -IL_0081: ldfld valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter CatchAndFinally/'d__2'::'<>u__1' -IL_0086: stloc.3 -IL_0087: ldarg.0 -IL_0088: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter CatchAndFinally/'d__2'::'<>u__1' -IL_008d: initobj [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter -IL_0093: ldarg.0 -IL_0094: ldc.i4.m1 -IL_0095: dup -IL_0096: stloc.0 -IL_0097: stfld int32 CatchAndFinally/'d__2'::'<>1__state' -IL_009c: ldloca.s V_3 -IL_009e: call instance void [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter::GetResult() -IL_00a3: nop -IL_00a4: nop -IL_00a5: br.s IL_00a7 -IL_00a7: ldarg.0 -IL_00a8: ldnull -IL_00a9: stfld object CatchAndFinally/'d__2'::'<>s__1' -IL_00ae: leave.s IL_00ca -} // end .try -catch [System.Runtime]System.Exception -{ -IL_00b0: stloc.s V_6 -IL_00b2: ldarg.0 -IL_00b3: ldc.i4.s -2 -IL_00b5: stfld int32 CatchAndFinally/'d__2'::'<>1__state' -IL_00ba: ldarg.0 -IL_00bb: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__2'::'<>t__builder' -IL_00c0: ldloc.s V_6 -IL_00c2: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetException(class [System.Runtime]System.Exception) -IL_00c7: nop -IL_00c8: leave.s IL_00de -} // end handler -IL_00ca: ldarg.0 -IL_00cb: ldc.i4.s -2 -IL_00cd: stfld int32 CatchAndFinally/'d__2'::'<>1__state' -IL_00d2: ldarg.0 -IL_00d3: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__2'::'<>t__builder' -IL_00d8: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetResult() -IL_00dd: nop -IL_00de: ret -} -.method private hidebysig newslot virtual final -instance void SetStateMachine(class [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed -{ -.override [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine -.maxstack 8 -IL_0000: ret -} -} -.class auto ansi sealed nested private beforefieldinit 'd__3' -extends [System.Runtime]System.Object -implements [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine -{ -.interfaceimpl type [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field public int32 '<>1__state' -.field public valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder '<>t__builder' -.field public class CatchAndFinally '<>4__this' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field private object '<>s__1' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field private int32 '<>s__2' -.field private valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter '<>u__1' -.method public hidebysig specialname rtspecialname -instance void .ctor() cil managed -{ -.maxstack 8 -IL_0000: ldarg.0 -IL_0001: call instance void [System.Runtime]System.Object::.ctor() -IL_0006: nop -IL_0007: ret -} -.method private hidebysig newslot virtual final -instance void MoveNext() cil managed -{ -.override [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext -.maxstack 3 -.locals init (int32 V_0, -object V_1, -valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter V_2, -class CatchAndFinally/'d__3' V_3, -class [System.Runtime]System.Exception V_4) -IL_0000: ldarg.0 -IL_0001: ldfld int32 CatchAndFinally/'d__3'::'<>1__state' -IL_0006: stloc.0 -.try -{ -IL_0007: ldloc.0 -IL_0008: brfalse.s IL_000c -IL_000a: br.s IL_000e -IL_000c: br.s IL_006b -IL_000e: nop -IL_000f: ldarg.0 -IL_0010: ldnull -IL_0011: stfld object CatchAndFinally/'d__3'::'<>s__1' -IL_0016: ldarg.0 -IL_0017: ldc.i4.0 -IL_0018: stfld int32 CatchAndFinally/'d__3'::'<>s__2' -.try -{ -IL_001d: nop -IL_001e: newobj instance void [System.Runtime]System.NotImplementedException::.ctor() -IL_0023: throw -} // end .try -catch [System.Runtime]System.Object -{ -IL_0024: stloc.1 -IL_0025: ldarg.0 -IL_0026: ldloc.1 -IL_0027: stfld object CatchAndFinally/'d__3'::'<>s__1' -IL_002c: leave.s IL_002e -} // end handler -IL_002e: nop -IL_002f: ldc.i4.1 -IL_0030: call class [System.Runtime]System.Threading.Tasks.Task [System.Runtime]System.Threading.Tasks.Task::Delay(int32) -IL_0035: callvirt instance valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter [System.Runtime]System.Threading.Tasks.Task::GetAwaiter() -IL_003a: stloc.2 -IL_003b: ldloca.s V_2 -IL_003d: call instance bool [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter::get_IsCompleted() -IL_0042: brtrue.s IL_0087 -IL_0044: ldarg.0 -IL_0045: ldc.i4.0 -IL_0046: dup -IL_0047: stloc.0 -IL_0048: stfld int32 CatchAndFinally/'d__3'::'<>1__state' -IL_004d: ldarg.0 -IL_004e: ldloc.2 -IL_004f: stfld valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter CatchAndFinally/'d__3'::'<>u__1' -IL_0054: ldarg.0 -IL_0055: stloc.3 -IL_0056: ldarg.0 -IL_0057: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__3'::'<>t__builder' -IL_005c: ldloca.s V_2 -IL_005e: ldloca.s V_3 -IL_0060: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::AwaitUnsafeOnCompletedd__3'>(!!0&, -!!1&) -IL_0065: nop -IL_0066: leave IL_00f3 -IL_006b: ldarg.0 -IL_006c: ldfld valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter CatchAndFinally/'d__3'::'<>u__1' -IL_0071: stloc.2 -IL_0072: ldarg.0 -IL_0073: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter CatchAndFinally/'d__3'::'<>u__1' -IL_0078: initobj [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter -IL_007e: ldarg.0 -IL_007f: ldc.i4.m1 -IL_0080: dup -IL_0081: stloc.0 -IL_0082: stfld int32 CatchAndFinally/'d__3'::'<>1__state' -IL_0087: ldloca.s V_2 -IL_0089: call instance void [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter::GetResult() -IL_008e: nop -IL_008f: nop -IL_0090: ldarg.0 -IL_0091: ldfld object CatchAndFinally/'d__3'::'<>s__1' -IL_0096: stloc.1 -IL_0097: ldloc.1 -IL_0098: brfalse.s IL_00b5 -IL_009a: ldloc.1 -IL_009b: isinst [System.Runtime]System.Exception -IL_00a0: stloc.s V_4 -IL_00a2: ldloc.s V_4 -IL_00a4: brtrue.s IL_00a8 -IL_00a6: ldloc.1 -IL_00a7: throw -IL_00a8: ldloc.s V_4 -IL_00aa: call class [System.Runtime]System.Runtime.ExceptionServices.ExceptionDispatchInfo [System.Runtime]System.Runtime.ExceptionServices.ExceptionDispatchInfo::Capture(class [System.Runtime]System.Exception) -IL_00af: callvirt instance void [System.Runtime]System.Runtime.ExceptionServices.ExceptionDispatchInfo::Throw() -IL_00b4: nop -IL_00b5: ldarg.0 -IL_00b6: ldfld int32 CatchAndFinally/'d__3'::'<>s__2' -IL_00bb: pop -IL_00bc: ldarg.0 -IL_00bd: ldnull -IL_00be: stfld object CatchAndFinally/'d__3'::'<>s__1' -IL_00c3: leave.s IL_00df -} // end .try -catch [System.Runtime]System.Exception -{ -IL_00c5: stloc.s V_4 -IL_00c7: ldarg.0 -IL_00c8: ldc.i4.s -2 -IL_00ca: stfld int32 CatchAndFinally/'d__3'::'<>1__state' -IL_00cf: ldarg.0 -IL_00d0: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__3'::'<>t__builder' -IL_00d5: ldloc.s V_4 -IL_00d7: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetException(class [System.Runtime]System.Exception) -IL_00dc: nop -IL_00dd: leave.s IL_00f3 -} // end handler -IL_00df: ldarg.0 -IL_00e0: ldc.i4.s -2 -IL_00e2: stfld int32 CatchAndFinally/'d__3'::'<>1__state' -IL_00e7: ldarg.0 -IL_00e8: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__3'::'<>t__builder' -IL_00ed: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetResult() -IL_00f2: nop -IL_00f3: ret -} -.method private hidebysig newslot virtual final -instance void SetStateMachine(class [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed -{ -.override [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine -.maxstack 8 -IL_0000: ret -} -} -.class auto ansi sealed nested private beforefieldinit 'd__4' -extends [System.Runtime]System.Object -implements [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine -{ -.interfaceimpl type [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field public int32 '<>1__state' -.field public valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder '<>t__builder' -.field public class CatchAndFinally '<>4__this' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field private object '<>s__1' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field private int32 '<>s__2' -.field private valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter '<>u__1' -.method public hidebysig specialname rtspecialname -instance void .ctor() cil managed -{ -.maxstack 8 -IL_0000: ldarg.0 -IL_0001: call instance void [System.Runtime]System.Object::.ctor() -IL_0006: nop -IL_0007: ret -} -.method private hidebysig newslot virtual final -instance void MoveNext() cil managed -{ -.override [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext -.maxstack 3 -.locals init (int32 V_0, -object V_1, -valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter V_2, -valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable V_3, -class CatchAndFinally/'d__4' V_4, -class [System.Runtime]System.Exception V_5) -IL_0000: ldarg.0 -IL_0001: ldfld int32 CatchAndFinally/'d__4'::'<>1__state' -IL_0006: stloc.0 -.try -{ -IL_0007: ldloc.0 -IL_0008: brfalse.s IL_000c -IL_000a: br.s IL_000e -IL_000c: br.s IL_0075 -IL_000e: nop -IL_000f: ldarg.0 -IL_0010: ldnull -IL_0011: stfld object CatchAndFinally/'d__4'::'<>s__1' -IL_0016: ldarg.0 -IL_0017: ldc.i4.0 -IL_0018: stfld int32 CatchAndFinally/'d__4'::'<>s__2' -.try -{ -IL_001d: nop -IL_001e: newobj instance void [System.Runtime]System.NotImplementedException::.ctor() -IL_0023: throw -} // end .try -catch [System.Runtime]System.Object -{ -IL_0024: stloc.1 -IL_0025: ldarg.0 -IL_0026: ldloc.1 -IL_0027: stfld object CatchAndFinally/'d__4'::'<>s__1' -IL_002c: leave.s IL_002e -} // end handler -IL_002e: nop -IL_002f: ldc.i4.1 -IL_0030: call class [System.Runtime]System.Threading.Tasks.Task [System.Runtime]System.Threading.Tasks.Task::Delay(int32) -IL_0035: ldc.i4.0 -IL_0036: callvirt instance valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable [System.Private.CoreLib]System.Threading.Tasks.Task::ConfigureAwait(bool) -IL_003b: stloc.3 -IL_003c: ldloca.s V_3 -IL_003e: call instance valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable::GetAwaiter() -IL_0043: stloc.2 -IL_0044: ldloca.s V_2 -IL_0046: call instance bool [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter::get_IsCompleted() -IL_004b: brtrue.s IL_0091 -IL_004d: ldarg.0 -IL_004e: ldc.i4.0 -IL_004f: dup -IL_0050: stloc.0 -IL_0051: stfld int32 CatchAndFinally/'d__4'::'<>1__state' -IL_0056: ldarg.0 -IL_0057: ldloc.2 -IL_0058: stfld valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter CatchAndFinally/'d__4'::'<>u__1' -IL_005d: ldarg.0 -IL_005e: stloc.s V_4 -IL_0060: ldarg.0 -IL_0061: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__4'::'<>t__builder' -IL_0066: ldloca.s V_2 -IL_0068: ldloca.s V_4 -IL_006a: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::AwaitUnsafeOnCompletedd__4'>(!!0&, -!!1&) -IL_006f: nop -IL_0070: leave IL_00fd -IL_0075: ldarg.0 -IL_0076: ldfld valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter CatchAndFinally/'d__4'::'<>u__1' -IL_007b: stloc.2 -IL_007c: ldarg.0 -IL_007d: ldflda valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter CatchAndFinally/'d__4'::'<>u__1' -IL_0082: initobj [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter -IL_0088: ldarg.0 -IL_0089: ldc.i4.m1 -IL_008a: dup -IL_008b: stloc.0 -IL_008c: stfld int32 CatchAndFinally/'d__4'::'<>1__state' -IL_0091: ldloca.s V_2 -IL_0093: call instance void [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter::GetResult() -IL_0098: nop -IL_0099: nop -IL_009a: ldarg.0 -IL_009b: ldfld object CatchAndFinally/'d__4'::'<>s__1' -IL_00a0: stloc.1 -IL_00a1: ldloc.1 -IL_00a2: brfalse.s IL_00bf -IL_00a4: ldloc.1 -IL_00a5: isinst [System.Runtime]System.Exception -IL_00aa: stloc.s V_5 -IL_00ac: ldloc.s V_5 -IL_00ae: brtrue.s IL_00b2 -IL_00b0: ldloc.1 -IL_00b1: throw -IL_00b2: ldloc.s V_5 -IL_00b4: call class [System.Runtime]System.Runtime.ExceptionServices.ExceptionDispatchInfo [System.Runtime]System.Runtime.ExceptionServices.ExceptionDispatchInfo::Capture(class [System.Runtime]System.Exception) -IL_00b9: callvirt instance void [System.Runtime]System.Runtime.ExceptionServices.ExceptionDispatchInfo::Throw() -IL_00be: nop -IL_00bf: ldarg.0 -IL_00c0: ldfld int32 CatchAndFinally/'d__4'::'<>s__2' -IL_00c5: pop -IL_00c6: ldarg.0 -IL_00c7: ldnull -IL_00c8: stfld object CatchAndFinally/'d__4'::'<>s__1' -IL_00cd: leave.s IL_00e9 -} // end .try -catch [System.Runtime]System.Exception -{ -IL_00cf: stloc.s V_5 -IL_00d1: ldarg.0 -IL_00d2: ldc.i4.s -2 -IL_00d4: stfld int32 CatchAndFinally/'d__4'::'<>1__state' -IL_00d9: ldarg.0 -IL_00da: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__4'::'<>t__builder' -IL_00df: ldloc.s V_5 -IL_00e1: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetException(class [System.Runtime]System.Exception) -IL_00e6: nop -IL_00e7: leave.s IL_00fd -} // end handler -IL_00e9: ldarg.0 -IL_00ea: ldc.i4.s -2 -IL_00ec: stfld int32 CatchAndFinally/'d__4'::'<>1__state' -IL_00f1: ldarg.0 -IL_00f2: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__4'::'<>t__builder' -IL_00f7: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetResult() -IL_00fc: nop -IL_00fd: ret -} -.method private hidebysig newslot virtual final -instance void SetStateMachine(class [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed -{ -.override [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine -.maxstack 8 -IL_0000: ret -} -} -.class auto ansi sealed nested private beforefieldinit 'd__5' -extends [System.Runtime]System.Object -implements [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine -{ -.interfaceimpl type [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field public int32 '<>1__state' -.field public valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder '<>t__builder' -.field public class CatchAndFinally '<>4__this' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field private object '<>s__1' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field private int32 '<>s__2' -.field private valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter '<>u__1' -.method public hidebysig specialname rtspecialname -instance void .ctor() cil managed -{ -.maxstack 8 -IL_0000: ldarg.0 -IL_0001: call instance void [System.Runtime]System.Object::.ctor() -IL_0006: nop -IL_0007: ret -} -.method private hidebysig newslot virtual final -instance void MoveNext() cil managed -{ -.override [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext -.maxstack 3 -.locals init (int32 V_0, -object V_1, -valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter V_2, -valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable V_3, -class CatchAndFinally/'d__5' V_4, -class [System.Runtime]System.Exception V_5) -IL_0000: ldarg.0 -IL_0001: ldfld int32 CatchAndFinally/'d__5'::'<>1__state' -IL_0006: stloc.0 -.try -{ -IL_0007: ldloc.0 -IL_0008: brfalse.s IL_000c -IL_000a: br.s IL_000e -IL_000c: br.s IL_0075 -IL_000e: nop -IL_000f: ldarg.0 -IL_0010: ldnull -IL_0011: stfld object CatchAndFinally/'d__5'::'<>s__1' -IL_0016: ldarg.0 -IL_0017: ldc.i4.0 -IL_0018: stfld int32 CatchAndFinally/'d__5'::'<>s__2' -.try -{ -IL_001d: nop -IL_001e: newobj instance void [System.Runtime]System.NotImplementedException::.ctor() -IL_0023: throw -} // end .try -catch [System.Runtime]System.Object -{ -IL_0024: stloc.1 -IL_0025: ldarg.0 -IL_0026: ldloc.1 -IL_0027: stfld object CatchAndFinally/'d__5'::'<>s__1' -IL_002c: leave.s IL_002e -} // end handler -IL_002e: nop -IL_002f: ldc.i4.1 -IL_0030: call class [System.Runtime]System.Threading.Tasks.Task [System.Runtime]System.Threading.Tasks.Task::Delay(int32) -IL_0035: ldc.i4.0 -IL_0036: callvirt instance valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable [System.Runtime]System.Threading.Tasks.Task::ConfigureAwait(bool) -IL_003b: stloc.3 -IL_003c: ldloca.s V_3 -IL_003e: call instance valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable::GetAwaiter() -IL_0043: stloc.2 -IL_0044: ldloca.s V_2 -IL_0046: call instance bool [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter::get_IsCompleted() -IL_004b: brtrue.s IL_0091 -IL_004d: ldarg.0 -IL_004e: ldc.i4.0 -IL_004f: dup -IL_0050: stloc.0 -IL_0051: stfld int32 CatchAndFinally/'d__5'::'<>1__state' -IL_0056: ldarg.0 -IL_0057: ldloc.2 -IL_0058: stfld valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter CatchAndFinally/'d__5'::'<>u__1' -IL_005d: ldarg.0 -IL_005e: stloc.s V_4 -IL_0060: ldarg.0 -IL_0061: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__5'::'<>t__builder' -IL_0066: ldloca.s V_2 -IL_0068: ldloca.s V_4 -IL_006a: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::AwaitUnsafeOnCompletedd__5'>(!!0&, -!!1&) -IL_006f: nop -IL_0070: leave IL_00fd -IL_0075: ldarg.0 -IL_0076: ldfld valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter CatchAndFinally/'d__5'::'<>u__1' -IL_007b: stloc.2 -IL_007c: ldarg.0 -IL_007d: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter CatchAndFinally/'d__5'::'<>u__1' -IL_0082: initobj [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter -IL_0088: ldarg.0 -IL_0089: ldc.i4.m1 -IL_008a: dup -IL_008b: stloc.0 -IL_008c: stfld int32 CatchAndFinally/'d__5'::'<>1__state' -IL_0091: ldloca.s V_2 -IL_0093: call instance void [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter::GetResult() -IL_0098: nop -IL_0099: nop -IL_009a: ldarg.0 -IL_009b: ldfld object CatchAndFinally/'d__5'::'<>s__1' -IL_00a0: stloc.1 -IL_00a1: ldloc.1 -IL_00a2: brfalse.s IL_00bf -IL_00a4: ldloc.1 -IL_00a5: isinst [System.Runtime]System.Exception -IL_00aa: stloc.s V_5 -IL_00ac: ldloc.s V_5 -IL_00ae: brtrue.s IL_00b2 -IL_00b0: ldloc.1 -IL_00b1: throw -IL_00b2: ldloc.s V_5 -IL_00b4: call class [System.Runtime]System.Runtime.ExceptionServices.ExceptionDispatchInfo [System.Runtime]System.Runtime.ExceptionServices.ExceptionDispatchInfo::Capture(class [System.Runtime]System.Exception) -IL_00b9: callvirt instance void [System.Runtime]System.Runtime.ExceptionServices.ExceptionDispatchInfo::Throw() -IL_00be: nop -IL_00bf: ldarg.0 -IL_00c0: ldfld int32 CatchAndFinally/'d__5'::'<>s__2' -IL_00c5: pop -IL_00c6: ldarg.0 -IL_00c7: ldnull -IL_00c8: stfld object CatchAndFinally/'d__5'::'<>s__1' -IL_00cd: leave.s IL_00e9 -} // end .try -catch [System.Runtime]System.Exception -{ -IL_00cf: stloc.s V_5 -IL_00d1: ldarg.0 -IL_00d2: ldc.i4.s -2 -IL_00d4: stfld int32 CatchAndFinally/'d__5'::'<>1__state' -IL_00d9: ldarg.0 -IL_00da: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__5'::'<>t__builder' -IL_00df: ldloc.s V_5 -IL_00e1: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetException(class [System.Runtime]System.Exception) -IL_00e6: nop -IL_00e7: leave.s IL_00fd -} // end handler -IL_00e9: ldarg.0 -IL_00ea: ldc.i4.s -2 -IL_00ec: stfld int32 CatchAndFinally/'d__5'::'<>1__state' -IL_00f1: ldarg.0 -IL_00f2: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__5'::'<>t__builder' -IL_00f7: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetResult() -IL_00fc: nop -IL_00fd: ret -} -.method private hidebysig newslot virtual final -instance void SetStateMachine(class [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed -{ -.override [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine -.maxstack 8 -IL_0000: ret -} -} -.method public hidebysig instance class [System.Runtime]System.Threading.Tasks.Task -Catch1() cil managed -{ -6C 79 2B 3C 43 61 74 63 68 31 3E 64 5F 5F 30 00 // ly+d__0. -00 ) -.maxstack 2 -.locals init (class CatchAndFinally/'d__0' V_0) -IL_0000: newobj instance void CatchAndFinally/'d__0'::.ctor() -IL_0005: stloc.0 -IL_0006: ldloc.0 -IL_0007: call valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Create() -IL_000c: stfld valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__0'::'<>t__builder' -IL_0011: ldloc.0 -IL_0012: ldarg.0 -IL_0013: stfld class CatchAndFinally CatchAndFinally/'d__0'::'<>4__this' -IL_0018: ldloc.0 -IL_0019: ldc.i4.m1 -IL_001a: stfld int32 CatchAndFinally/'d__0'::'<>1__state' -IL_001f: ldloc.0 -IL_0020: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__0'::'<>t__builder' -IL_0025: ldloca.s V_0 -IL_0027: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Startd__0'>(!!0&) -IL_002c: ldloc.0 -IL_002d: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__0'::'<>t__builder' -IL_0032: call instance class [System.Runtime]System.Threading.Tasks.Task [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::get_Task() -IL_0037: ret -} -.method public hidebysig instance class [System.Runtime]System.Threading.Tasks.Task -Catch2() cil managed -{ -6C 79 2B 3C 43 61 74 63 68 32 3E 64 5F 5F 31 00 // ly+d__1. -00 ) -.maxstack 2 -.locals init (class CatchAndFinally/'d__1' V_0) -IL_0000: newobj instance void CatchAndFinally/'d__1'::.ctor() -IL_0005: stloc.0 -IL_0006: ldloc.0 -IL_0007: call valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Create() -IL_000c: stfld valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__1'::'<>t__builder' -IL_0011: ldloc.0 -IL_0012: ldarg.0 -IL_0013: stfld class CatchAndFinally CatchAndFinally/'d__1'::'<>4__this' -IL_0018: ldloc.0 -IL_0019: ldc.i4.m1 -IL_001a: stfld int32 CatchAndFinally/'d__1'::'<>1__state' -IL_001f: ldloc.0 -IL_0020: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__1'::'<>t__builder' -IL_0025: ldloca.s V_0 -IL_0027: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Startd__1'>(!!0&) -IL_002c: ldloc.0 -IL_002d: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__1'::'<>t__builder' -IL_0032: call instance class [System.Runtime]System.Threading.Tasks.Task [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::get_Task() -IL_0037: ret -} -.method public hidebysig instance class [System.Runtime]System.Threading.Tasks.Task -Catch3() cil managed -{ -6C 79 2B 3C 43 61 74 63 68 33 3E 64 5F 5F 32 00 // ly+d__2. -00 ) -.maxstack 2 -.locals init (class CatchAndFinally/'d__2' V_0) -IL_0000: newobj instance void CatchAndFinally/'d__2'::.ctor() -IL_0005: stloc.0 -IL_0006: ldloc.0 -IL_0007: call valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Create() -IL_000c: stfld valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__2'::'<>t__builder' -IL_0011: ldloc.0 -IL_0012: ldarg.0 -IL_0013: stfld class CatchAndFinally CatchAndFinally/'d__2'::'<>4__this' -IL_0018: ldloc.0 -IL_0019: ldc.i4.m1 -IL_001a: stfld int32 CatchAndFinally/'d__2'::'<>1__state' -IL_001f: ldloc.0 -IL_0020: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__2'::'<>t__builder' -IL_0025: ldloca.s V_0 -IL_0027: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Startd__2'>(!!0&) -IL_002c: ldloc.0 -IL_002d: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__2'::'<>t__builder' -IL_0032: call instance class [System.Runtime]System.Threading.Tasks.Task [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::get_Task() -IL_0037: ret -} -.method public hidebysig instance class [System.Runtime]System.Threading.Tasks.Task -Finally1() cil managed -{ -6C 79 2B 3C 46 69 6E 61 6C 6C 79 31 3E 64 5F 5F // ly+d__ -33 00 00 ) // 3.. -.maxstack 2 -.locals init (class CatchAndFinally/'d__3' V_0) -IL_0000: newobj instance void CatchAndFinally/'d__3'::.ctor() -IL_0005: stloc.0 -IL_0006: ldloc.0 -IL_0007: call valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Create() -IL_000c: stfld valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__3'::'<>t__builder' -IL_0011: ldloc.0 -IL_0012: ldarg.0 -IL_0013: stfld class CatchAndFinally CatchAndFinally/'d__3'::'<>4__this' -IL_0018: ldloc.0 -IL_0019: ldc.i4.m1 -IL_001a: stfld int32 CatchAndFinally/'d__3'::'<>1__state' -IL_001f: ldloc.0 -IL_0020: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__3'::'<>t__builder' -IL_0025: ldloca.s V_0 -IL_0027: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Startd__3'>(!!0&) -IL_002c: ldloc.0 -IL_002d: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__3'::'<>t__builder' -IL_0032: call instance class [System.Runtime]System.Threading.Tasks.Task [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::get_Task() -IL_0037: ret -} -.method public hidebysig instance class [System.Runtime]System.Threading.Tasks.Task -Finally2() cil managed -{ -6C 79 2B 3C 46 69 6E 61 6C 6C 79 32 3E 64 5F 5F // ly+d__ -34 00 00 ) // 4.. -.maxstack 2 -.locals init (class CatchAndFinally/'d__4' V_0) -IL_0000: newobj instance void CatchAndFinally/'d__4'::.ctor() -IL_0005: stloc.0 -IL_0006: ldloc.0 -IL_0007: call valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Create() -IL_000c: stfld valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__4'::'<>t__builder' -IL_0011: ldloc.0 -IL_0012: ldarg.0 -IL_0013: stfld class CatchAndFinally CatchAndFinally/'d__4'::'<>4__this' -IL_0018: ldloc.0 -IL_0019: ldc.i4.m1 -IL_001a: stfld int32 CatchAndFinally/'d__4'::'<>1__state' -IL_001f: ldloc.0 -IL_0020: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__4'::'<>t__builder' -IL_0025: ldloca.s V_0 -IL_0027: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Startd__4'>(!!0&) -IL_002c: ldloc.0 -IL_002d: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__4'::'<>t__builder' -IL_0032: call instance class [System.Runtime]System.Threading.Tasks.Task [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::get_Task() -IL_0037: ret -} -.method public hidebysig instance class [System.Runtime]System.Threading.Tasks.Task -Finally3() cil managed -{ -6C 79 2B 3C 46 69 6E 61 6C 6C 79 33 3E 64 5F 5F // ly+d__ -35 00 00 ) // 5.. -.maxstack 2 -.locals init (class CatchAndFinally/'d__5' V_0) -IL_0000: newobj instance void CatchAndFinally/'d__5'::.ctor() -IL_0005: stloc.0 -IL_0006: ldloc.0 -IL_0007: call valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Create() -IL_000c: stfld valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__5'::'<>t__builder' -IL_0011: ldloc.0 -IL_0012: ldarg.0 -IL_0013: stfld class CatchAndFinally CatchAndFinally/'d__5'::'<>4__this' -IL_0018: ldloc.0 -IL_0019: ldc.i4.m1 -IL_001a: stfld int32 CatchAndFinally/'d__5'::'<>1__state' -IL_001f: ldloc.0 -IL_0020: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__5'::'<>t__builder' -IL_0025: ldloca.s V_0 -IL_0027: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Startd__5'>(!!0&) -IL_002c: ldloc.0 -IL_002d: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__5'::'<>t__builder' -IL_0032: call instance class [System.Runtime]System.Threading.Tasks.Task [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::get_Task() -IL_0037: ret -} -.method public hidebysig specialname rtspecialname -instance void .ctor() cil managed -{ -.maxstack 8 -IL_0000: ldarg.0 -IL_0001: call instance void [System.Runtime]System.Object::.ctor() -IL_0006: nop -IL_0007: ret -} -} diff --git a/Tests/ModuleWeaverTests.DecompileCatchAndFinally.Debug.Core.verified.txt b/Tests/ModuleWeaverTests.DecompileCatchAndFinally.Debug.DotNet10_0.verified.txt similarity index 51% rename from Tests/ModuleWeaverTests.DecompileCatchAndFinally.Debug.Core.verified.txt rename to Tests/ModuleWeaverTests.DecompileCatchAndFinally.Debug.DotNet10_0.verified.txt index 88de277..51adf40 100644 --- a/Tests/ModuleWeaverTests.DecompileCatchAndFinally.Debug.Core.verified.txt +++ b/Tests/ModuleWeaverTests.DecompileCatchAndFinally.Debug.DotNet10_0.verified.txt @@ -1,20 +1,15 @@ .class public auto ansi beforefieldinit CatchAndFinally extends [System.Runtime]System.Object { -.custom instance void System.Runtime.CompilerServices.NullableContextAttribute::.ctor(uint8) = ( 01 00 01 00 00 ) -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) .class auto ansi sealed nested private beforefieldinit 'd__0' extends [System.Runtime]System.Object -implements [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine +implements [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine { -.interfaceimpl type [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) +.interfaceimpl type [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine .field public int32 '<>1__state' -.field public valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder '<>t__builder' +.field public valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder '<>t__builder' .field public class CatchAndFinally '<>4__this' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) .field private object '<>s__1' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) .field private int32 '<>s__2' .field private valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter '<>u__1' .method public hidebysig specialname rtspecialname @@ -29,7 +24,7 @@ IL_0007: ret .method private hidebysig newslot virtual final instance void MoveNext() cil managed { -.override [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext +.override [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext .maxstack 3 .locals init (int32 V_0, object V_1, @@ -93,10 +88,10 @@ IL_005c: stfld valuetype [System.Runtime]System.Runtime.CompilerServices.T IL_0061: ldarg.0 IL_0062: stloc.s V_4 IL_0064: ldarg.0 -IL_0065: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__0'::'<>t__builder' +IL_0065: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__0'::'<>t__builder' IL_006a: ldloca.s V_3 IL_006c: ldloca.s V_4 -IL_006e: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::AwaitUnsafeOnCompletedd__0'>(!!0&, +IL_006e: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::AwaitUnsafeOnCompletedd__0'>(!!0&, !!1&) IL_0073: nop IL_0074: leave.s IL_00d4 @@ -128,9 +123,9 @@ IL_00a8: ldarg.0 IL_00a9: ldc.i4.s -2 IL_00ab: stfld int32 CatchAndFinally/'d__0'::'<>1__state' IL_00b0: ldarg.0 -IL_00b1: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__0'::'<>t__builder' +IL_00b1: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__0'::'<>t__builder' IL_00b6: ldloc.s V_5 -IL_00b8: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetException(class [System.Runtime]System.Exception) +IL_00b8: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetException(class [System.Runtime]System.Exception) IL_00bd: nop IL_00be: leave.s IL_00d4 } // end handler @@ -138,35 +133,30 @@ IL_00c0: ldarg.0 IL_00c1: ldc.i4.s -2 IL_00c3: stfld int32 CatchAndFinally/'d__0'::'<>1__state' IL_00c8: ldarg.0 -IL_00c9: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__0'::'<>t__builder' -IL_00ce: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetResult() +IL_00c9: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__0'::'<>t__builder' +IL_00ce: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetResult() IL_00d3: nop IL_00d4: ret } .method private hidebysig newslot virtual final -instance void SetStateMachine(class [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed +instance void SetStateMachine(class [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed { -.param [1] -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.override [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine +.override [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine .maxstack 8 IL_0000: ret } } .class auto ansi sealed nested private beforefieldinit 'd__6' extends [System.Runtime]System.Object -implements [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine +implements [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine { -.interfaceimpl type [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) +.interfaceimpl type [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine .field public int32 '<>1__state' -.field public valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder '<>t__builder' +.field public valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder '<>t__builder' .field public class CatchAndFinally '<>4__this' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) .field private object '<>s__1' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) .field private int32 '<>s__2' -.field private valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ValueTaskAwaiter '<>u__1' +.field private valuetype [System.Runtime]System.Runtime.CompilerServices.ValueTaskAwaiter '<>u__1' .method public hidebysig specialname rtspecialname instance void .ctor() cil managed { @@ -179,13 +169,13 @@ IL_0007: ret .method private hidebysig newslot virtual final instance void MoveNext() cil managed { -.override [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext +.override [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext .maxstack 3 .locals init (int32 V_0, object V_1, int32 V_2, -valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ValueTaskAwaiter V_3, -valuetype [System.Threading.Tasks.Extensions]System.Threading.Tasks.ValueTask V_4, +valuetype [System.Runtime]System.Runtime.CompilerServices.ValueTaskAwaiter V_3, +valuetype [System.Runtime]System.Threading.Tasks.ValueTask V_4, class CatchAndFinally/'d__6' V_5, class [System.Runtime]System.Exception V_6) IL_0000: ldarg.0 @@ -228,13 +218,13 @@ IL_0039: br.s IL_00a6 IL_003b: nop IL_003c: ldc.i4.1 IL_003d: call class [System.Runtime]System.Threading.Tasks.Task [System.Runtime]System.Threading.Tasks.Task::Delay(int32) -IL_0042: newobj instance void [System.Threading.Tasks.Extensions]System.Threading.Tasks.ValueTask::.ctor(class [System.Runtime]System.Threading.Tasks.Task) +IL_0042: newobj instance void [System.Runtime]System.Threading.Tasks.ValueTask::.ctor(class [System.Runtime]System.Threading.Tasks.Task) IL_0047: stloc.s V_4 IL_0049: ldloca.s V_4 -IL_004b: call instance valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ValueTaskAwaiter [System.Threading.Tasks.Extensions]System.Threading.Tasks.ValueTask::GetAwaiter() +IL_004b: call instance valuetype [System.Runtime]System.Runtime.CompilerServices.ValueTaskAwaiter [System.Runtime]System.Threading.Tasks.ValueTask::GetAwaiter() IL_0050: stloc.3 IL_0051: ldloca.s V_3 -IL_0053: call instance bool [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ValueTaskAwaiter::get_IsCompleted() +IL_0053: call instance bool [System.Runtime]System.Runtime.CompilerServices.ValueTaskAwaiter::get_IsCompleted() IL_0058: brtrue.s IL_009b IL_005a: ldarg.0 IL_005b: ldc.i4.0 @@ -243,30 +233,30 @@ IL_005d: stloc.0 IL_005e: stfld int32 CatchAndFinally/'d__6'::'<>1__state' IL_0063: ldarg.0 IL_0064: ldloc.3 -IL_0065: stfld valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ValueTaskAwaiter CatchAndFinally/'d__6'::'<>u__1' +IL_0065: stfld valuetype [System.Runtime]System.Runtime.CompilerServices.ValueTaskAwaiter CatchAndFinally/'d__6'::'<>u__1' IL_006a: ldarg.0 IL_006b: stloc.s V_5 IL_006d: ldarg.0 -IL_006e: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__6'::'<>t__builder' +IL_006e: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__6'::'<>t__builder' IL_0073: ldloca.s V_3 IL_0075: ldloca.s V_5 -IL_0077: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::AwaitUnsafeOnCompletedd__6'>(!!0&, +IL_0077: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::AwaitUnsafeOnCompletedd__6'>(!!0&, !!1&) IL_007c: nop IL_007d: leave.s IL_00dd IL_007f: ldarg.0 -IL_0080: ldfld valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ValueTaskAwaiter CatchAndFinally/'d__6'::'<>u__1' +IL_0080: ldfld valuetype [System.Runtime]System.Runtime.CompilerServices.ValueTaskAwaiter CatchAndFinally/'d__6'::'<>u__1' IL_0085: stloc.3 IL_0086: ldarg.0 -IL_0087: ldflda valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ValueTaskAwaiter CatchAndFinally/'d__6'::'<>u__1' -IL_008c: initobj [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ValueTaskAwaiter +IL_0087: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.ValueTaskAwaiter CatchAndFinally/'d__6'::'<>u__1' +IL_008c: initobj [System.Runtime]System.Runtime.CompilerServices.ValueTaskAwaiter IL_0092: ldarg.0 IL_0093: ldc.i4.m1 IL_0094: dup IL_0095: stloc.0 IL_0096: stfld int32 CatchAndFinally/'d__6'::'<>1__state' IL_009b: ldloca.s V_3 -IL_009d: call instance void [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ValueTaskAwaiter::GetResult() +IL_009d: call instance void [System.Runtime]System.Runtime.CompilerServices.ValueTaskAwaiter::GetResult() IL_00a2: nop IL_00a3: nop IL_00a4: br.s IL_00a6 @@ -282,9 +272,9 @@ IL_00b1: ldarg.0 IL_00b2: ldc.i4.s -2 IL_00b4: stfld int32 CatchAndFinally/'d__6'::'<>1__state' IL_00b9: ldarg.0 -IL_00ba: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__6'::'<>t__builder' +IL_00ba: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__6'::'<>t__builder' IL_00bf: ldloc.s V_6 -IL_00c1: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetException(class [System.Runtime]System.Exception) +IL_00c1: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetException(class [System.Runtime]System.Exception) IL_00c6: nop IL_00c7: leave.s IL_00dd } // end handler @@ -292,33 +282,28 @@ IL_00c9: ldarg.0 IL_00ca: ldc.i4.s -2 IL_00cc: stfld int32 CatchAndFinally/'d__6'::'<>1__state' IL_00d1: ldarg.0 -IL_00d2: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__6'::'<>t__builder' -IL_00d7: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetResult() +IL_00d2: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__6'::'<>t__builder' +IL_00d7: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetResult() IL_00dc: nop IL_00dd: ret } .method private hidebysig newslot virtual final -instance void SetStateMachine(class [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed +instance void SetStateMachine(class [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed { -.param [1] -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.override [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine +.override [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine .maxstack 8 IL_0000: ret } } .class auto ansi sealed nested private beforefieldinit 'd__1' extends [System.Runtime]System.Object -implements [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine +implements [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine { -.interfaceimpl type [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) +.interfaceimpl type [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine .field public int32 '<>1__state' -.field public valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder '<>t__builder' +.field public valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder '<>t__builder' .field public class CatchAndFinally '<>4__this' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) .field private object '<>s__1' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) .field private int32 '<>s__2' .field private valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter '<>u__1' .method public hidebysig specialname rtspecialname @@ -333,7 +318,7 @@ IL_0007: ret .method private hidebysig newslot virtual final instance void MoveNext() cil managed { -.override [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext +.override [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext .maxstack 3 .locals init (int32 V_0, object V_1, @@ -402,10 +387,10 @@ IL_0069: stfld valuetype [System.Private.CoreLib]System.Runtime.CompilerSe IL_006e: ldarg.0 IL_006f: stloc.s V_5 IL_0071: ldarg.0 -IL_0072: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__1'::'<>t__builder' +IL_0072: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__1'::'<>t__builder' IL_0077: ldloca.s V_3 IL_0079: ldloca.s V_5 -IL_007b: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::AwaitUnsafeOnCompletedd__1'>(!!0&, +IL_007b: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::AwaitUnsafeOnCompletedd__1'>(!!0&, !!1&) IL_0080: nop IL_0081: leave.s IL_00e1 @@ -437,9 +422,9 @@ IL_00b5: ldarg.0 IL_00b6: ldc.i4.s -2 IL_00b8: stfld int32 CatchAndFinally/'d__1'::'<>1__state' IL_00bd: ldarg.0 -IL_00be: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__1'::'<>t__builder' +IL_00be: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__1'::'<>t__builder' IL_00c3: ldloc.s V_6 -IL_00c5: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetException(class [System.Runtime]System.Exception) +IL_00c5: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetException(class [System.Runtime]System.Exception) IL_00ca: nop IL_00cb: leave.s IL_00e1 } // end handler @@ -447,33 +432,28 @@ IL_00cd: ldarg.0 IL_00ce: ldc.i4.s -2 IL_00d0: stfld int32 CatchAndFinally/'d__1'::'<>1__state' IL_00d5: ldarg.0 -IL_00d6: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__1'::'<>t__builder' -IL_00db: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetResult() +IL_00d6: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__1'::'<>t__builder' +IL_00db: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetResult() IL_00e0: nop IL_00e1: ret } .method private hidebysig newslot virtual final -instance void SetStateMachine(class [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed +instance void SetStateMachine(class [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed { -.param [1] -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.override [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine +.override [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine .maxstack 8 IL_0000: ret } } .class auto ansi sealed nested private beforefieldinit 'd__7' extends [System.Runtime]System.Object -implements [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine +implements [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine { -.interfaceimpl type [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) +.interfaceimpl type [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine .field public int32 '<>1__state' -.field public valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder '<>t__builder' +.field public valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder '<>t__builder' .field public class CatchAndFinally '<>4__this' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) .field private object '<>s__1' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) .field private int32 '<>s__2' .field private valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter '<>u__1' .method public hidebysig specialname rtspecialname @@ -488,14 +468,14 @@ IL_0007: ret .method private hidebysig newslot virtual final instance void MoveNext() cil managed { -.override [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext +.override [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext .maxstack 3 .locals init (int32 V_0, object V_1, int32 V_2, valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter V_3, valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable V_4, -valuetype [System.Threading.Tasks.Extensions]System.Threading.Tasks.ValueTask V_5, +valuetype [System.Runtime]System.Threading.Tasks.ValueTask V_5, class CatchAndFinally/'d__7' V_6, class [System.Runtime]System.Exception V_7) IL_0000: ldarg.0 @@ -538,7 +518,7 @@ IL_003c: br.s IL_00b3 IL_003e: nop IL_003f: ldc.i4.1 IL_0040: call class [System.Runtime]System.Threading.Tasks.Task [System.Runtime]System.Threading.Tasks.Task::Delay(int32) -IL_0045: call instance void [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable::.ctor(valuetype [System.Private.CoreLib]System.Threading.Tasks.ValueTask&) +IL_0045: newobj instance void [System.Runtime]System.Threading.Tasks.ValueTask::.ctor(class [System.Runtime]System.Threading.Tasks.Task) IL_004a: stloc.s V_5 IL_004c: ldloca.s V_5 IL_004e: ldc.i4.0 @@ -561,10 +541,10 @@ IL_0072: stfld valuetype [System.Private.CoreLib]System.Runtime.CompilerSe IL_0077: ldarg.0 IL_0078: stloc.s V_6 IL_007a: ldarg.0 -IL_007b: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__7'::'<>t__builder' +IL_007b: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__7'::'<>t__builder' IL_0080: ldloca.s V_3 IL_0082: ldloca.s V_6 -IL_0084: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::AwaitUnsafeOnCompletedd__7'>(!!0&, +IL_0084: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::AwaitUnsafeOnCompletedd__7'>(!!0&, !!1&) IL_0089: nop IL_008a: leave.s IL_00ea @@ -596,9 +576,9 @@ IL_00be: ldarg.0 IL_00bf: ldc.i4.s -2 IL_00c1: stfld int32 CatchAndFinally/'d__7'::'<>1__state' IL_00c6: ldarg.0 -IL_00c7: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__7'::'<>t__builder' +IL_00c7: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__7'::'<>t__builder' IL_00cc: ldloc.s V_7 -IL_00ce: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetException(class [System.Runtime]System.Exception) +IL_00ce: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetException(class [System.Runtime]System.Exception) IL_00d3: nop IL_00d4: leave.s IL_00ea } // end handler @@ -606,33 +586,28 @@ IL_00d6: ldarg.0 IL_00d7: ldc.i4.s -2 IL_00d9: stfld int32 CatchAndFinally/'d__7'::'<>1__state' IL_00de: ldarg.0 -IL_00df: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__7'::'<>t__builder' -IL_00e4: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetResult() +IL_00df: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__7'::'<>t__builder' +IL_00e4: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetResult() IL_00e9: nop IL_00ea: ret } .method private hidebysig newslot virtual final -instance void SetStateMachine(class [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed +instance void SetStateMachine(class [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed { -.param [1] -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.override [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine +.override [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine .maxstack 8 IL_0000: ret } } .class auto ansi sealed nested private beforefieldinit 'd__2' extends [System.Runtime]System.Object -implements [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine +implements [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine { -.interfaceimpl type [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) +.interfaceimpl type [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine .field public int32 '<>1__state' -.field public valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder '<>t__builder' +.field public valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder '<>t__builder' .field public class CatchAndFinally '<>4__this' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) .field private object '<>s__1' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) .field private int32 '<>s__2' .field private valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter '<>u__1' .method public hidebysig specialname rtspecialname @@ -647,7 +622,7 @@ IL_0007: ret .method private hidebysig newslot virtual final instance void MoveNext() cil managed { -.override [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext +.override [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext .maxstack 3 .locals init (int32 V_0, object V_1, @@ -716,10 +691,10 @@ IL_0066: stfld valuetype [System.Runtime]System.Runtime.CompilerServices.C IL_006b: ldarg.0 IL_006c: stloc.s V_5 IL_006e: ldarg.0 -IL_006f: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__2'::'<>t__builder' +IL_006f: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__2'::'<>t__builder' IL_0074: ldloca.s V_3 IL_0076: ldloca.s V_5 -IL_0078: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::AwaitUnsafeOnCompletedd__2'>(!!0&, +IL_0078: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::AwaitUnsafeOnCompletedd__2'>(!!0&, !!1&) IL_007d: nop IL_007e: leave.s IL_00de @@ -751,9 +726,9 @@ IL_00b2: ldarg.0 IL_00b3: ldc.i4.s -2 IL_00b5: stfld int32 CatchAndFinally/'d__2'::'<>1__state' IL_00ba: ldarg.0 -IL_00bb: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__2'::'<>t__builder' +IL_00bb: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__2'::'<>t__builder' IL_00c0: ldloc.s V_6 -IL_00c2: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetException(class [System.Runtime]System.Exception) +IL_00c2: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetException(class [System.Runtime]System.Exception) IL_00c7: nop IL_00c8: leave.s IL_00de } // end handler @@ -761,35 +736,30 @@ IL_00ca: ldarg.0 IL_00cb: ldc.i4.s -2 IL_00cd: stfld int32 CatchAndFinally/'d__2'::'<>1__state' IL_00d2: ldarg.0 -IL_00d3: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__2'::'<>t__builder' -IL_00d8: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetResult() +IL_00d3: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__2'::'<>t__builder' +IL_00d8: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetResult() IL_00dd: nop IL_00de: ret } .method private hidebysig newslot virtual final -instance void SetStateMachine(class [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed +instance void SetStateMachine(class [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed { -.param [1] -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.override [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine +.override [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine .maxstack 8 IL_0000: ret } } .class auto ansi sealed nested private beforefieldinit 'd__8' extends [System.Runtime]System.Object -implements [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine +implements [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine { -.interfaceimpl type [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) +.interfaceimpl type [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine .field public int32 '<>1__state' -.field public valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder '<>t__builder' +.field public valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder '<>t__builder' .field public class CatchAndFinally '<>4__this' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) .field private object '<>s__1' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) .field private int32 '<>s__2' -.field private valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter '<>u__1' +.field private valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter '<>u__1' .method public hidebysig specialname rtspecialname instance void .ctor() cil managed { @@ -802,14 +772,14 @@ IL_0007: ret .method private hidebysig newslot virtual final instance void MoveNext() cil managed { -.override [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext +.override [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext .maxstack 3 .locals init (int32 V_0, object V_1, int32 V_2, -valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter V_3, -valuetype [System.Threading.Tasks.Extensions]System.Threading.Tasks.ValueTask V_4, -valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable V_5, +valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter V_3, +valuetype [System.Runtime]System.Threading.Tasks.ValueTask V_4, +valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable V_5, class CatchAndFinally/'d__8' V_6, class [System.Runtime]System.Exception V_7) IL_0000: ldarg.0 @@ -852,17 +822,17 @@ IL_0039: br.s IL_00b0 IL_003b: nop IL_003c: ldc.i4.1 IL_003d: call class [System.Runtime]System.Threading.Tasks.Task [System.Runtime]System.Threading.Tasks.Task::Delay(int32) -IL_0042: newobj instance void [System.Threading.Tasks.Extensions]System.Threading.Tasks.ValueTask::.ctor(class [System.Runtime]System.Threading.Tasks.Task) +IL_0042: newobj instance void [System.Runtime]System.Threading.Tasks.ValueTask::.ctor(class [System.Runtime]System.Threading.Tasks.Task) IL_0047: stloc.s V_4 IL_0049: ldloca.s V_4 IL_004b: ldc.i4.0 -IL_004c: call instance valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable [System.Threading.Tasks.Extensions]System.Threading.Tasks.ValueTask::ConfigureAwait(bool) +IL_004c: call instance valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable [System.Runtime]System.Threading.Tasks.ValueTask::ConfigureAwait(bool) IL_0051: stloc.s V_5 IL_0053: ldloca.s V_5 -IL_0055: call instance valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable::GetAwaiter() +IL_0055: call instance valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter [System.Runtime]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable::GetAwaiter() IL_005a: stloc.3 IL_005b: ldloca.s V_3 -IL_005d: call instance bool [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter::get_IsCompleted() +IL_005d: call instance bool [System.Runtime]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter::get_IsCompleted() IL_0062: brtrue.s IL_00a5 IL_0064: ldarg.0 IL_0065: ldc.i4.0 @@ -871,30 +841,30 @@ IL_0067: stloc.0 IL_0068: stfld int32 CatchAndFinally/'d__8'::'<>1__state' IL_006d: ldarg.0 IL_006e: ldloc.3 -IL_006f: stfld valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter CatchAndFinally/'d__8'::'<>u__1' +IL_006f: stfld valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter CatchAndFinally/'d__8'::'<>u__1' IL_0074: ldarg.0 IL_0075: stloc.s V_6 IL_0077: ldarg.0 -IL_0078: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__8'::'<>t__builder' +IL_0078: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__8'::'<>t__builder' IL_007d: ldloca.s V_3 IL_007f: ldloca.s V_6 -IL_0081: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::AwaitUnsafeOnCompletedd__8'>(!!0&, +IL_0081: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::AwaitUnsafeOnCompletedd__8'>(!!0&, !!1&) IL_0086: nop IL_0087: leave.s IL_00e7 IL_0089: ldarg.0 -IL_008a: ldfld valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter CatchAndFinally/'d__8'::'<>u__1' +IL_008a: ldfld valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter CatchAndFinally/'d__8'::'<>u__1' IL_008f: stloc.3 IL_0090: ldarg.0 -IL_0091: ldflda valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter CatchAndFinally/'d__8'::'<>u__1' -IL_0096: initobj [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter +IL_0091: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter CatchAndFinally/'d__8'::'<>u__1' +IL_0096: initobj [System.Runtime]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter IL_009c: ldarg.0 IL_009d: ldc.i4.m1 IL_009e: dup IL_009f: stloc.0 IL_00a0: stfld int32 CatchAndFinally/'d__8'::'<>1__state' IL_00a5: ldloca.s V_3 -IL_00a7: call instance void [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter::GetResult() +IL_00a7: call instance void [System.Runtime]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter::GetResult() IL_00ac: nop IL_00ad: nop IL_00ae: br.s IL_00b0 @@ -910,9 +880,9 @@ IL_00bb: ldarg.0 IL_00bc: ldc.i4.s -2 IL_00be: stfld int32 CatchAndFinally/'d__8'::'<>1__state' IL_00c3: ldarg.0 -IL_00c4: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__8'::'<>t__builder' +IL_00c4: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__8'::'<>t__builder' IL_00c9: ldloc.s V_7 -IL_00cb: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetException(class [System.Runtime]System.Exception) +IL_00cb: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetException(class [System.Runtime]System.Exception) IL_00d0: nop IL_00d1: leave.s IL_00e7 } // end handler @@ -920,33 +890,28 @@ IL_00d3: ldarg.0 IL_00d4: ldc.i4.s -2 IL_00d6: stfld int32 CatchAndFinally/'d__8'::'<>1__state' IL_00db: ldarg.0 -IL_00dc: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__8'::'<>t__builder' -IL_00e1: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetResult() +IL_00dc: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__8'::'<>t__builder' +IL_00e1: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetResult() IL_00e6: nop IL_00e7: ret } .method private hidebysig newslot virtual final -instance void SetStateMachine(class [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed +instance void SetStateMachine(class [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed { -.param [1] -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.override [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine +.override [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine .maxstack 8 IL_0000: ret } } .class auto ansi sealed nested private beforefieldinit 'd__3' extends [System.Runtime]System.Object -implements [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine +implements [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine { -.interfaceimpl type [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) +.interfaceimpl type [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine .field public int32 '<>1__state' -.field public valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder '<>t__builder' +.field public valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder '<>t__builder' .field public class CatchAndFinally '<>4__this' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) .field private object '<>s__1' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) .field private int32 '<>s__2' .field private valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter '<>u__1' .method public hidebysig specialname rtspecialname @@ -961,7 +926,7 @@ IL_0007: ret .method private hidebysig newslot virtual final instance void MoveNext() cil managed { -.override [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext +.override [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext .maxstack 3 .locals init (int32 V_0, object V_1, @@ -976,7 +941,7 @@ IL_0006: stloc.0 IL_0007: ldloc.0 IL_0008: brfalse.s IL_000c IL_000a: br.s IL_000e -IL_000c: br.s IL_006b +IL_000c: br.s IL_0068 IL_000e: nop IL_000f: ldarg.0 IL_0010: ldnull @@ -1005,7 +970,7 @@ IL_0035: callvirt instance valuetype [System.Runtime]System.Runtime.CompilerS IL_003a: stloc.2 IL_003b: ldloca.s V_2 IL_003d: call instance bool [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter::get_IsCompleted() -IL_0042: brtrue.s IL_0087 +IL_0042: brtrue.s IL_0084 IL_0044: ldarg.0 IL_0045: ldc.i4.0 IL_0046: dup @@ -1017,98 +982,87 @@ IL_004f: stfld valuetype [System.Runtime]System.Runtime.CompilerServices.T IL_0054: ldarg.0 IL_0055: stloc.3 IL_0056: ldarg.0 -IL_0057: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__3'::'<>t__builder' +IL_0057: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__3'::'<>t__builder' IL_005c: ldloca.s V_2 IL_005e: ldloca.s V_3 -IL_0060: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::AwaitUnsafeOnCompletedd__3'>(!!0&, +IL_0060: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::AwaitUnsafeOnCompletedd__3'>(!!0&, !!1&) IL_0065: nop -IL_0066: leave IL_00f3 -IL_006b: ldarg.0 -IL_006c: ldfld valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter CatchAndFinally/'d__3'::'<>u__1' -IL_0071: stloc.2 -IL_0072: ldarg.0 -IL_0073: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter CatchAndFinally/'d__3'::'<>u__1' -IL_0078: initobj [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter -IL_007e: ldarg.0 -IL_007f: ldc.i4.m1 -IL_0080: dup -IL_0081: stloc.0 -IL_0082: stfld int32 CatchAndFinally/'d__3'::'<>1__state' -IL_0087: ldloca.s V_2 -IL_0089: call instance void [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter::GetResult() -IL_008e: nop -IL_008f: nop -IL_0090: ldarg.0 -IL_0091: ldfld object CatchAndFinally/'d__3'::'<>s__1' -IL_0096: stloc.1 +IL_0066: leave.s IL_00dc +IL_0068: ldarg.0 +IL_0069: ldfld valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter CatchAndFinally/'d__3'::'<>u__1' +IL_006e: stloc.2 +IL_006f: ldarg.0 +IL_0070: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter CatchAndFinally/'d__3'::'<>u__1' +IL_0075: initobj [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter +IL_007b: ldarg.0 +IL_007c: ldc.i4.m1 +IL_007d: dup +IL_007e: stloc.0 +IL_007f: stfld int32 CatchAndFinally/'d__3'::'<>1__state' +IL_0084: ldloca.s V_2 +IL_0086: call instance void [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter::GetResult() +IL_008b: nop +IL_008c: nop +IL_008d: ldarg.0 +IL_008e: ldfld object CatchAndFinally/'d__3'::'<>s__1' +IL_0093: stloc.1 +IL_0094: ldloc.1 +IL_0095: brfalse.s IL_00b2 IL_0097: ldloc.1 -IL_0098: brfalse.s IL_00b5 -IL_009a: ldloc.1 -IL_009b: isinst [System.Runtime]System.Exception -IL_00a0: stloc.s V_4 -IL_00a2: ldloc.s V_4 -IL_00a4: brtrue.s IL_00a8 -IL_00a6: ldloc.1 -IL_00a7: throw -IL_00a8: ldloc.s V_4 -IL_00aa: call class [System.Runtime]System.Runtime.ExceptionServices.ExceptionDispatchInfo [System.Runtime]System.Runtime.ExceptionServices.ExceptionDispatchInfo::Capture(class [System.Runtime]System.Exception) -IL_00af: callvirt instance void [System.Runtime]System.Runtime.ExceptionServices.ExceptionDispatchInfo::Throw() -IL_00b4: nop -IL_00b5: ldarg.0 -IL_00b6: ldfld int32 CatchAndFinally/'d__3'::'<>s__2' -IL_00bb: pop -IL_00bc: ldarg.0 -IL_00bd: ldnull -IL_00be: stfld object CatchAndFinally/'d__3'::'<>s__1' -IL_00c3: leave.s IL_00df +IL_0098: isinst [System.Runtime]System.Exception +IL_009d: stloc.s V_4 +IL_009f: ldloc.s V_4 +IL_00a1: brtrue.s IL_00a5 +IL_00a3: ldloc.1 +IL_00a4: throw +IL_00a5: ldloc.s V_4 +IL_00a7: call class [System.Runtime]System.Runtime.ExceptionServices.ExceptionDispatchInfo [System.Runtime]System.Runtime.ExceptionServices.ExceptionDispatchInfo::Capture(class [System.Runtime]System.Exception) +IL_00ac: callvirt instance void [System.Runtime]System.Runtime.ExceptionServices.ExceptionDispatchInfo::Throw() +IL_00b1: nop +IL_00b2: ldarg.0 +IL_00b3: ldfld int32 CatchAndFinally/'d__3'::'<>s__2' +IL_00b8: pop +IL_00b9: ldarg.0 +IL_00ba: ldnull +IL_00bb: stfld object CatchAndFinally/'d__3'::'<>s__1' +IL_00c0: ldnull +IL_00c1: throw } // end .try catch [System.Runtime]System.Exception { -IL_00c5: stloc.s V_4 -IL_00c7: ldarg.0 -IL_00c8: ldc.i4.s -2 -IL_00ca: stfld int32 CatchAndFinally/'d__3'::'<>1__state' -IL_00cf: ldarg.0 -IL_00d0: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__3'::'<>t__builder' -IL_00d5: ldloc.s V_4 -IL_00d7: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetException(class [System.Runtime]System.Exception) -IL_00dc: nop -IL_00dd: leave.s IL_00f3 +IL_00c2: stloc.s V_4 +IL_00c4: ldarg.0 +IL_00c5: ldc.i4.s -2 +IL_00c7: stfld int32 CatchAndFinally/'d__3'::'<>1__state' +IL_00cc: ldarg.0 +IL_00cd: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__3'::'<>t__builder' +IL_00d2: ldloc.s V_4 +IL_00d4: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetException(class [System.Runtime]System.Exception) +IL_00d9: nop +IL_00da: leave.s IL_00dc } // end handler -IL_00df: ldarg.0 -IL_00e0: ldc.i4.s -2 -IL_00e2: stfld int32 CatchAndFinally/'d__3'::'<>1__state' -IL_00e7: ldarg.0 -IL_00e8: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__3'::'<>t__builder' -IL_00ed: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetResult() -IL_00f2: nop -IL_00f3: ret +IL_00dc: ret } .method private hidebysig newslot virtual final -instance void SetStateMachine(class [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed +instance void SetStateMachine(class [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed { -.param [1] -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.override [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine +.override [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine .maxstack 8 IL_0000: ret } } .class auto ansi sealed nested private beforefieldinit 'd__9' extends [System.Runtime]System.Object -implements [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine +implements [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine { -.interfaceimpl type [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) +.interfaceimpl type [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine .field public int32 '<>1__state' -.field public valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder '<>t__builder' +.field public valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder '<>t__builder' .field public class CatchAndFinally '<>4__this' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) .field private object '<>s__1' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) .field private int32 '<>s__2' -.field private valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ValueTaskAwaiter '<>u__1' +.field private valuetype [System.Runtime]System.Runtime.CompilerServices.ValueTaskAwaiter '<>u__1' .method public hidebysig specialname rtspecialname instance void .ctor() cil managed { @@ -1121,12 +1075,12 @@ IL_0007: ret .method private hidebysig newslot virtual final instance void MoveNext() cil managed { -.override [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext +.override [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext .maxstack 3 .locals init (int32 V_0, object V_1, -valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ValueTaskAwaiter V_2, -valuetype [System.Threading.Tasks.Extensions]System.Threading.Tasks.ValueTask V_3, +valuetype [System.Runtime]System.Runtime.CompilerServices.ValueTaskAwaiter V_2, +valuetype [System.Runtime]System.Threading.Tasks.ValueTask V_3, class CatchAndFinally/'d__9' V_4, class [System.Runtime]System.Exception V_5) IL_0000: ldarg.0 @@ -1137,7 +1091,7 @@ IL_0006: stloc.0 IL_0007: ldloc.0 IL_0008: brfalse.s IL_000c IL_000a: br.s IL_000e -IL_000c: br.s IL_0074 +IL_000c: br.s IL_0071 IL_000e: nop IL_000f: ldarg.0 IL_0010: ldnull @@ -1162,14 +1116,14 @@ IL_002c: leave.s IL_002e IL_002e: nop IL_002f: ldc.i4.1 IL_0030: call class [System.Runtime]System.Threading.Tasks.Task [System.Runtime]System.Threading.Tasks.Task::Delay(int32) -IL_0035: newobj instance void [System.Threading.Tasks.Extensions]System.Threading.Tasks.ValueTask::.ctor(class [System.Runtime]System.Threading.Tasks.Task) +IL_0035: newobj instance void [System.Runtime]System.Threading.Tasks.ValueTask::.ctor(class [System.Runtime]System.Threading.Tasks.Task) IL_003a: stloc.3 IL_003b: ldloca.s V_3 -IL_003d: call instance valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ValueTaskAwaiter [System.Threading.Tasks.Extensions]System.Threading.Tasks.ValueTask::GetAwaiter() +IL_003d: call instance valuetype [System.Runtime]System.Runtime.CompilerServices.ValueTaskAwaiter [System.Runtime]System.Threading.Tasks.ValueTask::GetAwaiter() IL_0042: stloc.2 IL_0043: ldloca.s V_2 -IL_0045: call instance bool [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ValueTaskAwaiter::get_IsCompleted() -IL_004a: brtrue.s IL_0090 +IL_0045: call instance bool [System.Runtime]System.Runtime.CompilerServices.ValueTaskAwaiter::get_IsCompleted() +IL_004a: brtrue.s IL_008d IL_004c: ldarg.0 IL_004d: ldc.i4.0 IL_004e: dup @@ -1177,100 +1131,89 @@ IL_004f: stloc.0 IL_0050: stfld int32 CatchAndFinally/'d__9'::'<>1__state' IL_0055: ldarg.0 IL_0056: ldloc.2 -IL_0057: stfld valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ValueTaskAwaiter CatchAndFinally/'d__9'::'<>u__1' +IL_0057: stfld valuetype [System.Runtime]System.Runtime.CompilerServices.ValueTaskAwaiter CatchAndFinally/'d__9'::'<>u__1' IL_005c: ldarg.0 IL_005d: stloc.s V_4 IL_005f: ldarg.0 -IL_0060: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__9'::'<>t__builder' +IL_0060: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__9'::'<>t__builder' IL_0065: ldloca.s V_2 IL_0067: ldloca.s V_4 -IL_0069: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::AwaitUnsafeOnCompletedd__9'>(!!0&, +IL_0069: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::AwaitUnsafeOnCompletedd__9'>(!!0&, !!1&) IL_006e: nop -IL_006f: leave IL_00fc -IL_0074: ldarg.0 -IL_0075: ldfld valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ValueTaskAwaiter CatchAndFinally/'d__9'::'<>u__1' -IL_007a: stloc.2 -IL_007b: ldarg.0 -IL_007c: ldflda valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ValueTaskAwaiter CatchAndFinally/'d__9'::'<>u__1' -IL_0081: initobj [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ValueTaskAwaiter -IL_0087: ldarg.0 -IL_0088: ldc.i4.m1 -IL_0089: dup -IL_008a: stloc.0 -IL_008b: stfld int32 CatchAndFinally/'d__9'::'<>1__state' -IL_0090: ldloca.s V_2 -IL_0092: call instance void [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ValueTaskAwaiter::GetResult() -IL_0097: nop -IL_0098: nop -IL_0099: ldarg.0 -IL_009a: ldfld object CatchAndFinally/'d__9'::'<>s__1' -IL_009f: stloc.1 +IL_006f: leave.s IL_00e5 +IL_0071: ldarg.0 +IL_0072: ldfld valuetype [System.Runtime]System.Runtime.CompilerServices.ValueTaskAwaiter CatchAndFinally/'d__9'::'<>u__1' +IL_0077: stloc.2 +IL_0078: ldarg.0 +IL_0079: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.ValueTaskAwaiter CatchAndFinally/'d__9'::'<>u__1' +IL_007e: initobj [System.Runtime]System.Runtime.CompilerServices.ValueTaskAwaiter +IL_0084: ldarg.0 +IL_0085: ldc.i4.m1 +IL_0086: dup +IL_0087: stloc.0 +IL_0088: stfld int32 CatchAndFinally/'d__9'::'<>1__state' +IL_008d: ldloca.s V_2 +IL_008f: call instance void [System.Runtime]System.Runtime.CompilerServices.ValueTaskAwaiter::GetResult() +IL_0094: nop +IL_0095: nop +IL_0096: ldarg.0 +IL_0097: ldfld object CatchAndFinally/'d__9'::'<>s__1' +IL_009c: stloc.1 +IL_009d: ldloc.1 +IL_009e: brfalse.s IL_00bb IL_00a0: ldloc.1 -IL_00a1: brfalse.s IL_00be -IL_00a3: ldloc.1 -IL_00a4: isinst [System.Runtime]System.Exception -IL_00a9: stloc.s V_5 -IL_00ab: ldloc.s V_5 -IL_00ad: brtrue.s IL_00b1 -IL_00af: ldloc.1 -IL_00b0: throw -IL_00b1: ldloc.s V_5 -IL_00b3: call class [System.Runtime]System.Runtime.ExceptionServices.ExceptionDispatchInfo [System.Runtime]System.Runtime.ExceptionServices.ExceptionDispatchInfo::Capture(class [System.Runtime]System.Exception) -IL_00b8: callvirt instance void [System.Runtime]System.Runtime.ExceptionServices.ExceptionDispatchInfo::Throw() -IL_00bd: nop -IL_00be: ldarg.0 -IL_00bf: ldfld int32 CatchAndFinally/'d__9'::'<>s__2' -IL_00c4: pop -IL_00c5: ldarg.0 -IL_00c6: ldnull -IL_00c7: stfld object CatchAndFinally/'d__9'::'<>s__1' -IL_00cc: leave.s IL_00e8 +IL_00a1: isinst [System.Runtime]System.Exception +IL_00a6: stloc.s V_5 +IL_00a8: ldloc.s V_5 +IL_00aa: brtrue.s IL_00ae +IL_00ac: ldloc.1 +IL_00ad: throw +IL_00ae: ldloc.s V_5 +IL_00b0: call class [System.Runtime]System.Runtime.ExceptionServices.ExceptionDispatchInfo [System.Runtime]System.Runtime.ExceptionServices.ExceptionDispatchInfo::Capture(class [System.Runtime]System.Exception) +IL_00b5: callvirt instance void [System.Runtime]System.Runtime.ExceptionServices.ExceptionDispatchInfo::Throw() +IL_00ba: nop +IL_00bb: ldarg.0 +IL_00bc: ldfld int32 CatchAndFinally/'d__9'::'<>s__2' +IL_00c1: pop +IL_00c2: ldarg.0 +IL_00c3: ldnull +IL_00c4: stfld object CatchAndFinally/'d__9'::'<>s__1' +IL_00c9: ldnull +IL_00ca: throw } // end .try catch [System.Runtime]System.Exception { -IL_00ce: stloc.s V_5 -IL_00d0: ldarg.0 -IL_00d1: ldc.i4.s -2 -IL_00d3: stfld int32 CatchAndFinally/'d__9'::'<>1__state' -IL_00d8: ldarg.0 -IL_00d9: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__9'::'<>t__builder' -IL_00de: ldloc.s V_5 -IL_00e0: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetException(class [System.Runtime]System.Exception) -IL_00e5: nop -IL_00e6: leave.s IL_00fc +IL_00cb: stloc.s V_5 +IL_00cd: ldarg.0 +IL_00ce: ldc.i4.s -2 +IL_00d0: stfld int32 CatchAndFinally/'d__9'::'<>1__state' +IL_00d5: ldarg.0 +IL_00d6: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__9'::'<>t__builder' +IL_00db: ldloc.s V_5 +IL_00dd: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetException(class [System.Runtime]System.Exception) +IL_00e2: nop +IL_00e3: leave.s IL_00e5 } // end handler -IL_00e8: ldarg.0 -IL_00e9: ldc.i4.s -2 -IL_00eb: stfld int32 CatchAndFinally/'d__9'::'<>1__state' -IL_00f0: ldarg.0 -IL_00f1: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__9'::'<>t__builder' -IL_00f6: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetResult() -IL_00fb: nop -IL_00fc: ret +IL_00e5: ret } .method private hidebysig newslot virtual final -instance void SetStateMachine(class [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed +instance void SetStateMachine(class [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed { -.param [1] -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.override [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine +.override [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine .maxstack 8 IL_0000: ret } } .class auto ansi sealed nested private beforefieldinit 'd__4' extends [System.Runtime]System.Object -implements [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine +implements [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine { -.interfaceimpl type [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) +.interfaceimpl type [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine .field public int32 '<>1__state' -.field public valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder '<>t__builder' +.field public valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder '<>t__builder' .field public class CatchAndFinally '<>4__this' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) .field private object '<>s__1' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) .field private int32 '<>s__2' .field private valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter '<>u__1' .method public hidebysig specialname rtspecialname @@ -1285,7 +1228,7 @@ IL_0007: ret .method private hidebysig newslot virtual final instance void MoveNext() cil managed { -.override [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext +.override [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext .maxstack 3 .locals init (int32 V_0, object V_1, @@ -1301,7 +1244,7 @@ IL_0006: stloc.0 IL_0007: ldloc.0 IL_0008: brfalse.s IL_000c IL_000a: br.s IL_000e -IL_000c: br.s IL_0075 +IL_000c: br.s IL_0072 IL_000e: nop IL_000f: ldarg.0 IL_0010: ldnull @@ -1334,7 +1277,7 @@ IL_003e: call instance valuetype [System.Private.CoreLib]System.Runtime.C IL_0043: stloc.2 IL_0044: ldloca.s V_2 IL_0046: call instance bool [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter::get_IsCompleted() -IL_004b: brtrue.s IL_0091 +IL_004b: brtrue.s IL_008e IL_004d: ldarg.0 IL_004e: ldc.i4.0 IL_004f: dup @@ -1346,96 +1289,85 @@ IL_0058: stfld valuetype [System.Private.CoreLib]System.Runtime.CompilerSe IL_005d: ldarg.0 IL_005e: stloc.s V_4 IL_0060: ldarg.0 -IL_0061: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__4'::'<>t__builder' +IL_0061: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__4'::'<>t__builder' IL_0066: ldloca.s V_2 IL_0068: ldloca.s V_4 -IL_006a: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::AwaitUnsafeOnCompletedd__4'>(!!0&, +IL_006a: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::AwaitUnsafeOnCompletedd__4'>(!!0&, !!1&) IL_006f: nop -IL_0070: leave IL_00fd -IL_0075: ldarg.0 -IL_0076: ldfld valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter CatchAndFinally/'d__4'::'<>u__1' -IL_007b: stloc.2 -IL_007c: ldarg.0 -IL_007d: ldflda valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter CatchAndFinally/'d__4'::'<>u__1' -IL_0082: initobj [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter -IL_0088: ldarg.0 -IL_0089: ldc.i4.m1 -IL_008a: dup -IL_008b: stloc.0 -IL_008c: stfld int32 CatchAndFinally/'d__4'::'<>1__state' -IL_0091: ldloca.s V_2 -IL_0093: call instance void [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter::GetResult() -IL_0098: nop -IL_0099: nop -IL_009a: ldarg.0 -IL_009b: ldfld object CatchAndFinally/'d__4'::'<>s__1' -IL_00a0: stloc.1 +IL_0070: leave.s IL_00e6 +IL_0072: ldarg.0 +IL_0073: ldfld valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter CatchAndFinally/'d__4'::'<>u__1' +IL_0078: stloc.2 +IL_0079: ldarg.0 +IL_007a: ldflda valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter CatchAndFinally/'d__4'::'<>u__1' +IL_007f: initobj [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter +IL_0085: ldarg.0 +IL_0086: ldc.i4.m1 +IL_0087: dup +IL_0088: stloc.0 +IL_0089: stfld int32 CatchAndFinally/'d__4'::'<>1__state' +IL_008e: ldloca.s V_2 +IL_0090: call instance void [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter::GetResult() +IL_0095: nop +IL_0096: nop +IL_0097: ldarg.0 +IL_0098: ldfld object CatchAndFinally/'d__4'::'<>s__1' +IL_009d: stloc.1 +IL_009e: ldloc.1 +IL_009f: brfalse.s IL_00bc IL_00a1: ldloc.1 -IL_00a2: brfalse.s IL_00bf -IL_00a4: ldloc.1 -IL_00a5: isinst [System.Runtime]System.Exception -IL_00aa: stloc.s V_5 -IL_00ac: ldloc.s V_5 -IL_00ae: brtrue.s IL_00b2 -IL_00b0: ldloc.1 -IL_00b1: throw -IL_00b2: ldloc.s V_5 -IL_00b4: call class [System.Runtime]System.Runtime.ExceptionServices.ExceptionDispatchInfo [System.Runtime]System.Runtime.ExceptionServices.ExceptionDispatchInfo::Capture(class [System.Runtime]System.Exception) -IL_00b9: callvirt instance void [System.Runtime]System.Runtime.ExceptionServices.ExceptionDispatchInfo::Throw() -IL_00be: nop -IL_00bf: ldarg.0 -IL_00c0: ldfld int32 CatchAndFinally/'d__4'::'<>s__2' -IL_00c5: pop -IL_00c6: ldarg.0 -IL_00c7: ldnull -IL_00c8: stfld object CatchAndFinally/'d__4'::'<>s__1' -IL_00cd: leave.s IL_00e9 +IL_00a2: isinst [System.Runtime]System.Exception +IL_00a7: stloc.s V_5 +IL_00a9: ldloc.s V_5 +IL_00ab: brtrue.s IL_00af +IL_00ad: ldloc.1 +IL_00ae: throw +IL_00af: ldloc.s V_5 +IL_00b1: call class [System.Runtime]System.Runtime.ExceptionServices.ExceptionDispatchInfo [System.Runtime]System.Runtime.ExceptionServices.ExceptionDispatchInfo::Capture(class [System.Runtime]System.Exception) +IL_00b6: callvirt instance void [System.Runtime]System.Runtime.ExceptionServices.ExceptionDispatchInfo::Throw() +IL_00bb: nop +IL_00bc: ldarg.0 +IL_00bd: ldfld int32 CatchAndFinally/'d__4'::'<>s__2' +IL_00c2: pop +IL_00c3: ldarg.0 +IL_00c4: ldnull +IL_00c5: stfld object CatchAndFinally/'d__4'::'<>s__1' +IL_00ca: ldnull +IL_00cb: throw } // end .try catch [System.Runtime]System.Exception { -IL_00cf: stloc.s V_5 -IL_00d1: ldarg.0 -IL_00d2: ldc.i4.s -2 -IL_00d4: stfld int32 CatchAndFinally/'d__4'::'<>1__state' -IL_00d9: ldarg.0 -IL_00da: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__4'::'<>t__builder' -IL_00df: ldloc.s V_5 -IL_00e1: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetException(class [System.Runtime]System.Exception) -IL_00e6: nop -IL_00e7: leave.s IL_00fd +IL_00cc: stloc.s V_5 +IL_00ce: ldarg.0 +IL_00cf: ldc.i4.s -2 +IL_00d1: stfld int32 CatchAndFinally/'d__4'::'<>1__state' +IL_00d6: ldarg.0 +IL_00d7: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__4'::'<>t__builder' +IL_00dc: ldloc.s V_5 +IL_00de: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetException(class [System.Runtime]System.Exception) +IL_00e3: nop +IL_00e4: leave.s IL_00e6 } // end handler -IL_00e9: ldarg.0 -IL_00ea: ldc.i4.s -2 -IL_00ec: stfld int32 CatchAndFinally/'d__4'::'<>1__state' -IL_00f1: ldarg.0 -IL_00f2: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__4'::'<>t__builder' -IL_00f7: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetResult() -IL_00fc: nop -IL_00fd: ret +IL_00e6: ret } .method private hidebysig newslot virtual final -instance void SetStateMachine(class [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed +instance void SetStateMachine(class [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed { -.param [1] -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.override [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine +.override [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine .maxstack 8 IL_0000: ret } } .class auto ansi sealed nested private beforefieldinit 'd__10' extends [System.Runtime]System.Object -implements [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine +implements [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine { -.interfaceimpl type [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) +.interfaceimpl type [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine .field public int32 '<>1__state' -.field public valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder '<>t__builder' +.field public valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder '<>t__builder' .field public class CatchAndFinally '<>4__this' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) .field private object '<>s__1' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) .field private int32 '<>s__2' .field private valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter '<>u__1' .method public hidebysig specialname rtspecialname @@ -1450,13 +1382,13 @@ IL_0007: ret .method private hidebysig newslot virtual final instance void MoveNext() cil managed { -.override [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext +.override [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext .maxstack 3 .locals init (int32 V_0, object V_1, valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter V_2, valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable V_3, -valuetype [System.Threading.Tasks.Extensions]System.Threading.Tasks.ValueTask V_4, +valuetype [System.Runtime]System.Threading.Tasks.ValueTask V_4, class CatchAndFinally/'d__10' V_5, class [System.Runtime]System.Exception V_6) IL_0000: ldarg.0 @@ -1467,7 +1399,7 @@ IL_0006: stloc.0 IL_0007: ldloc.0 IL_0008: brfalse.s IL_000c IL_000a: br.s IL_000e -IL_000c: br.s IL_007e +IL_000c: br.s IL_007b IL_000e: nop IL_000f: ldarg.0 IL_0010: ldnull @@ -1492,7 +1424,7 @@ IL_002c: leave.s IL_002e IL_002e: nop IL_002f: ldc.i4.1 IL_0030: call class [System.Runtime]System.Threading.Tasks.Task [System.Runtime]System.Threading.Tasks.Task::Delay(int32) -IL_0035: call instance void [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable::.ctor(valuetype [System.Private.CoreLib]System.Threading.Tasks.ValueTask&) +IL_0035: newobj instance void [System.Runtime]System.Threading.Tasks.ValueTask::.ctor(class [System.Runtime]System.Threading.Tasks.Task) IL_003a: stloc.s V_4 IL_003c: ldloca.s V_4 IL_003e: ldc.i4.0 @@ -1503,7 +1435,7 @@ IL_0047: call instance valuetype [System.Private.CoreLib]System.Runtime.C IL_004c: stloc.2 IL_004d: ldloca.s V_2 IL_004f: call instance bool [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter::get_IsCompleted() -IL_0054: brtrue.s IL_009a +IL_0054: brtrue.s IL_0097 IL_0056: ldarg.0 IL_0057: ldc.i4.0 IL_0058: dup @@ -1515,96 +1447,85 @@ IL_0061: stfld valuetype [System.Private.CoreLib]System.Runtime.CompilerSe IL_0066: ldarg.0 IL_0067: stloc.s V_5 IL_0069: ldarg.0 -IL_006a: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__10'::'<>t__builder' +IL_006a: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__10'::'<>t__builder' IL_006f: ldloca.s V_2 IL_0071: ldloca.s V_5 -IL_0073: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::AwaitUnsafeOnCompletedd__10'>(!!0&, +IL_0073: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::AwaitUnsafeOnCompletedd__10'>(!!0&, !!1&) IL_0078: nop -IL_0079: leave IL_0106 -IL_007e: ldarg.0 -IL_007f: ldfld valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter CatchAndFinally/'d__10'::'<>u__1' -IL_0084: stloc.2 -IL_0085: ldarg.0 -IL_0086: ldflda valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter CatchAndFinally/'d__10'::'<>u__1' -IL_008b: initobj [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter -IL_0091: ldarg.0 -IL_0092: ldc.i4.m1 -IL_0093: dup -IL_0094: stloc.0 -IL_0095: stfld int32 CatchAndFinally/'d__10'::'<>1__state' -IL_009a: ldloca.s V_2 -IL_009c: call instance void [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter::GetResult() -IL_00a1: nop -IL_00a2: nop -IL_00a3: ldarg.0 -IL_00a4: ldfld object CatchAndFinally/'d__10'::'<>s__1' -IL_00a9: stloc.1 +IL_0079: leave.s IL_00ef +IL_007b: ldarg.0 +IL_007c: ldfld valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter CatchAndFinally/'d__10'::'<>u__1' +IL_0081: stloc.2 +IL_0082: ldarg.0 +IL_0083: ldflda valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter CatchAndFinally/'d__10'::'<>u__1' +IL_0088: initobj [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter +IL_008e: ldarg.0 +IL_008f: ldc.i4.m1 +IL_0090: dup +IL_0091: stloc.0 +IL_0092: stfld int32 CatchAndFinally/'d__10'::'<>1__state' +IL_0097: ldloca.s V_2 +IL_0099: call instance void [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter::GetResult() +IL_009e: nop +IL_009f: nop +IL_00a0: ldarg.0 +IL_00a1: ldfld object CatchAndFinally/'d__10'::'<>s__1' +IL_00a6: stloc.1 +IL_00a7: ldloc.1 +IL_00a8: brfalse.s IL_00c5 IL_00aa: ldloc.1 -IL_00ab: brfalse.s IL_00c8 -IL_00ad: ldloc.1 -IL_00ae: isinst [System.Runtime]System.Exception -IL_00b3: stloc.s V_6 -IL_00b5: ldloc.s V_6 -IL_00b7: brtrue.s IL_00bb -IL_00b9: ldloc.1 -IL_00ba: throw -IL_00bb: ldloc.s V_6 -IL_00bd: call class [System.Runtime]System.Runtime.ExceptionServices.ExceptionDispatchInfo [System.Runtime]System.Runtime.ExceptionServices.ExceptionDispatchInfo::Capture(class [System.Runtime]System.Exception) -IL_00c2: callvirt instance void [System.Runtime]System.Runtime.ExceptionServices.ExceptionDispatchInfo::Throw() -IL_00c7: nop -IL_00c8: ldarg.0 -IL_00c9: ldfld int32 CatchAndFinally/'d__10'::'<>s__2' -IL_00ce: pop -IL_00cf: ldarg.0 -IL_00d0: ldnull -IL_00d1: stfld object CatchAndFinally/'d__10'::'<>s__1' -IL_00d6: leave.s IL_00f2 +IL_00ab: isinst [System.Runtime]System.Exception +IL_00b0: stloc.s V_6 +IL_00b2: ldloc.s V_6 +IL_00b4: brtrue.s IL_00b8 +IL_00b6: ldloc.1 +IL_00b7: throw +IL_00b8: ldloc.s V_6 +IL_00ba: call class [System.Runtime]System.Runtime.ExceptionServices.ExceptionDispatchInfo [System.Runtime]System.Runtime.ExceptionServices.ExceptionDispatchInfo::Capture(class [System.Runtime]System.Exception) +IL_00bf: callvirt instance void [System.Runtime]System.Runtime.ExceptionServices.ExceptionDispatchInfo::Throw() +IL_00c4: nop +IL_00c5: ldarg.0 +IL_00c6: ldfld int32 CatchAndFinally/'d__10'::'<>s__2' +IL_00cb: pop +IL_00cc: ldarg.0 +IL_00cd: ldnull +IL_00ce: stfld object CatchAndFinally/'d__10'::'<>s__1' +IL_00d3: ldnull +IL_00d4: throw } // end .try catch [System.Runtime]System.Exception { -IL_00d8: stloc.s V_6 -IL_00da: ldarg.0 -IL_00db: ldc.i4.s -2 -IL_00dd: stfld int32 CatchAndFinally/'d__10'::'<>1__state' -IL_00e2: ldarg.0 -IL_00e3: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__10'::'<>t__builder' -IL_00e8: ldloc.s V_6 -IL_00ea: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetException(class [System.Runtime]System.Exception) -IL_00ef: nop -IL_00f0: leave.s IL_0106 +IL_00d5: stloc.s V_6 +IL_00d7: ldarg.0 +IL_00d8: ldc.i4.s -2 +IL_00da: stfld int32 CatchAndFinally/'d__10'::'<>1__state' +IL_00df: ldarg.0 +IL_00e0: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__10'::'<>t__builder' +IL_00e5: ldloc.s V_6 +IL_00e7: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetException(class [System.Runtime]System.Exception) +IL_00ec: nop +IL_00ed: leave.s IL_00ef } // end handler -IL_00f2: ldarg.0 -IL_00f3: ldc.i4.s -2 -IL_00f5: stfld int32 CatchAndFinally/'d__10'::'<>1__state' -IL_00fa: ldarg.0 -IL_00fb: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__10'::'<>t__builder' -IL_0100: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetResult() -IL_0105: nop -IL_0106: ret +IL_00ef: ret } .method private hidebysig newslot virtual final -instance void SetStateMachine(class [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed +instance void SetStateMachine(class [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed { -.param [1] -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.override [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine +.override [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine .maxstack 8 IL_0000: ret } } .class auto ansi sealed nested private beforefieldinit 'd__5' extends [System.Runtime]System.Object -implements [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine +implements [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine { -.interfaceimpl type [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) +.interfaceimpl type [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine .field public int32 '<>1__state' -.field public valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder '<>t__builder' +.field public valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder '<>t__builder' .field public class CatchAndFinally '<>4__this' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) .field private object '<>s__1' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) .field private int32 '<>s__2' .field private valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter '<>u__1' .method public hidebysig specialname rtspecialname @@ -1619,7 +1540,7 @@ IL_0007: ret .method private hidebysig newslot virtual final instance void MoveNext() cil managed { -.override [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext +.override [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext .maxstack 3 .locals init (int32 V_0, object V_1, @@ -1635,7 +1556,7 @@ IL_0006: stloc.0 IL_0007: ldloc.0 IL_0008: brfalse.s IL_000c IL_000a: br.s IL_000e -IL_000c: br.s IL_0075 +IL_000c: br.s IL_0072 IL_000e: nop IL_000f: ldarg.0 IL_0010: ldnull @@ -1668,7 +1589,7 @@ IL_003e: call instance valuetype [System.Runtime]System.Runtime.CompilerS IL_0043: stloc.2 IL_0044: ldloca.s V_2 IL_0046: call instance bool [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter::get_IsCompleted() -IL_004b: brtrue.s IL_0091 +IL_004b: brtrue.s IL_008e IL_004d: ldarg.0 IL_004e: ldc.i4.0 IL_004f: dup @@ -1680,98 +1601,87 @@ IL_0058: stfld valuetype [System.Runtime]System.Runtime.CompilerServices.C IL_005d: ldarg.0 IL_005e: stloc.s V_4 IL_0060: ldarg.0 -IL_0061: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__5'::'<>t__builder' +IL_0061: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__5'::'<>t__builder' IL_0066: ldloca.s V_2 IL_0068: ldloca.s V_4 -IL_006a: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::AwaitUnsafeOnCompletedd__5'>(!!0&, +IL_006a: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::AwaitUnsafeOnCompletedd__5'>(!!0&, !!1&) IL_006f: nop -IL_0070: leave IL_00fd -IL_0075: ldarg.0 -IL_0076: ldfld valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter CatchAndFinally/'d__5'::'<>u__1' -IL_007b: stloc.2 -IL_007c: ldarg.0 -IL_007d: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter CatchAndFinally/'d__5'::'<>u__1' -IL_0082: initobj [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter -IL_0088: ldarg.0 -IL_0089: ldc.i4.m1 -IL_008a: dup -IL_008b: stloc.0 -IL_008c: stfld int32 CatchAndFinally/'d__5'::'<>1__state' -IL_0091: ldloca.s V_2 -IL_0093: call instance void [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter::GetResult() -IL_0098: nop -IL_0099: nop -IL_009a: ldarg.0 -IL_009b: ldfld object CatchAndFinally/'d__5'::'<>s__1' -IL_00a0: stloc.1 +IL_0070: leave.s IL_00e6 +IL_0072: ldarg.0 +IL_0073: ldfld valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter CatchAndFinally/'d__5'::'<>u__1' +IL_0078: stloc.2 +IL_0079: ldarg.0 +IL_007a: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter CatchAndFinally/'d__5'::'<>u__1' +IL_007f: initobj [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter +IL_0085: ldarg.0 +IL_0086: ldc.i4.m1 +IL_0087: dup +IL_0088: stloc.0 +IL_0089: stfld int32 CatchAndFinally/'d__5'::'<>1__state' +IL_008e: ldloca.s V_2 +IL_0090: call instance void [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter::GetResult() +IL_0095: nop +IL_0096: nop +IL_0097: ldarg.0 +IL_0098: ldfld object CatchAndFinally/'d__5'::'<>s__1' +IL_009d: stloc.1 +IL_009e: ldloc.1 +IL_009f: brfalse.s IL_00bc IL_00a1: ldloc.1 -IL_00a2: brfalse.s IL_00bf -IL_00a4: ldloc.1 -IL_00a5: isinst [System.Runtime]System.Exception -IL_00aa: stloc.s V_5 -IL_00ac: ldloc.s V_5 -IL_00ae: brtrue.s IL_00b2 -IL_00b0: ldloc.1 -IL_00b1: throw -IL_00b2: ldloc.s V_5 -IL_00b4: call class [System.Runtime]System.Runtime.ExceptionServices.ExceptionDispatchInfo [System.Runtime]System.Runtime.ExceptionServices.ExceptionDispatchInfo::Capture(class [System.Runtime]System.Exception) -IL_00b9: callvirt instance void [System.Runtime]System.Runtime.ExceptionServices.ExceptionDispatchInfo::Throw() -IL_00be: nop -IL_00bf: ldarg.0 -IL_00c0: ldfld int32 CatchAndFinally/'d__5'::'<>s__2' -IL_00c5: pop -IL_00c6: ldarg.0 -IL_00c7: ldnull -IL_00c8: stfld object CatchAndFinally/'d__5'::'<>s__1' -IL_00cd: leave.s IL_00e9 +IL_00a2: isinst [System.Runtime]System.Exception +IL_00a7: stloc.s V_5 +IL_00a9: ldloc.s V_5 +IL_00ab: brtrue.s IL_00af +IL_00ad: ldloc.1 +IL_00ae: throw +IL_00af: ldloc.s V_5 +IL_00b1: call class [System.Runtime]System.Runtime.ExceptionServices.ExceptionDispatchInfo [System.Runtime]System.Runtime.ExceptionServices.ExceptionDispatchInfo::Capture(class [System.Runtime]System.Exception) +IL_00b6: callvirt instance void [System.Runtime]System.Runtime.ExceptionServices.ExceptionDispatchInfo::Throw() +IL_00bb: nop +IL_00bc: ldarg.0 +IL_00bd: ldfld int32 CatchAndFinally/'d__5'::'<>s__2' +IL_00c2: pop +IL_00c3: ldarg.0 +IL_00c4: ldnull +IL_00c5: stfld object CatchAndFinally/'d__5'::'<>s__1' +IL_00ca: ldnull +IL_00cb: throw } // end .try catch [System.Runtime]System.Exception { -IL_00cf: stloc.s V_5 -IL_00d1: ldarg.0 -IL_00d2: ldc.i4.s -2 -IL_00d4: stfld int32 CatchAndFinally/'d__5'::'<>1__state' -IL_00d9: ldarg.0 -IL_00da: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__5'::'<>t__builder' -IL_00df: ldloc.s V_5 -IL_00e1: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetException(class [System.Runtime]System.Exception) -IL_00e6: nop -IL_00e7: leave.s IL_00fd +IL_00cc: stloc.s V_5 +IL_00ce: ldarg.0 +IL_00cf: ldc.i4.s -2 +IL_00d1: stfld int32 CatchAndFinally/'d__5'::'<>1__state' +IL_00d6: ldarg.0 +IL_00d7: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__5'::'<>t__builder' +IL_00dc: ldloc.s V_5 +IL_00de: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetException(class [System.Runtime]System.Exception) +IL_00e3: nop +IL_00e4: leave.s IL_00e6 } // end handler -IL_00e9: ldarg.0 -IL_00ea: ldc.i4.s -2 -IL_00ec: stfld int32 CatchAndFinally/'d__5'::'<>1__state' -IL_00f1: ldarg.0 -IL_00f2: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__5'::'<>t__builder' -IL_00f7: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetResult() -IL_00fc: nop -IL_00fd: ret +IL_00e6: ret } .method private hidebysig newslot virtual final -instance void SetStateMachine(class [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed +instance void SetStateMachine(class [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed { -.param [1] -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.override [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine +.override [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine .maxstack 8 IL_0000: ret } } .class auto ansi sealed nested private beforefieldinit 'd__11' extends [System.Runtime]System.Object -implements [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine +implements [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine { -.interfaceimpl type [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) +.interfaceimpl type [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine .field public int32 '<>1__state' -.field public valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder '<>t__builder' +.field public valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder '<>t__builder' .field public class CatchAndFinally '<>4__this' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) .field private object '<>s__1' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) .field private int32 '<>s__2' -.field private valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter '<>u__1' +.field private valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter '<>u__1' .method public hidebysig specialname rtspecialname instance void .ctor() cil managed { @@ -1784,13 +1694,13 @@ IL_0007: ret .method private hidebysig newslot virtual final instance void MoveNext() cil managed { -.override [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext +.override [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext .maxstack 3 .locals init (int32 V_0, object V_1, -valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter V_2, -valuetype [System.Threading.Tasks.Extensions]System.Threading.Tasks.ValueTask V_3, -valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable V_4, +valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter V_2, +valuetype [System.Runtime]System.Threading.Tasks.ValueTask V_3, +valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable V_4, class CatchAndFinally/'d__11' V_5, class [System.Runtime]System.Exception V_6) IL_0000: ldarg.0 @@ -1801,7 +1711,7 @@ IL_0006: stloc.0 IL_0007: ldloc.0 IL_0008: brfalse.s IL_000c IL_000a: br.s IL_000e -IL_000c: br.s IL_007e +IL_000c: br.s IL_007b IL_000e: nop IL_000f: ldarg.0 IL_0010: ldnull @@ -1826,18 +1736,18 @@ IL_002c: leave.s IL_002e IL_002e: nop IL_002f: ldc.i4.1 IL_0030: call class [System.Runtime]System.Threading.Tasks.Task [System.Runtime]System.Threading.Tasks.Task::Delay(int32) -IL_0035: newobj instance void [System.Threading.Tasks.Extensions]System.Threading.Tasks.ValueTask::.ctor(class [System.Runtime]System.Threading.Tasks.Task) +IL_0035: newobj instance void [System.Runtime]System.Threading.Tasks.ValueTask::.ctor(class [System.Runtime]System.Threading.Tasks.Task) IL_003a: stloc.3 IL_003b: ldloca.s V_3 IL_003d: ldc.i4.0 -IL_003e: call instance valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable [System.Threading.Tasks.Extensions]System.Threading.Tasks.ValueTask::ConfigureAwait(bool) +IL_003e: call instance valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable [System.Runtime]System.Threading.Tasks.ValueTask::ConfigureAwait(bool) IL_0043: stloc.s V_4 IL_0045: ldloca.s V_4 -IL_0047: call instance valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable::GetAwaiter() +IL_0047: call instance valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter [System.Runtime]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable::GetAwaiter() IL_004c: stloc.2 IL_004d: ldloca.s V_2 -IL_004f: call instance bool [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter::get_IsCompleted() -IL_0054: brtrue.s IL_009a +IL_004f: call instance bool [System.Runtime]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter::get_IsCompleted() +IL_0054: brtrue.s IL_0097 IL_0056: ldarg.0 IL_0057: ldc.i4.0 IL_0058: dup @@ -1845,84 +1755,76 @@ IL_0059: stloc.0 IL_005a: stfld int32 CatchAndFinally/'d__11'::'<>1__state' IL_005f: ldarg.0 IL_0060: ldloc.2 -IL_0061: stfld valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter CatchAndFinally/'d__11'::'<>u__1' +IL_0061: stfld valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter CatchAndFinally/'d__11'::'<>u__1' IL_0066: ldarg.0 IL_0067: stloc.s V_5 IL_0069: ldarg.0 -IL_006a: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__11'::'<>t__builder' +IL_006a: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__11'::'<>t__builder' IL_006f: ldloca.s V_2 IL_0071: ldloca.s V_5 -IL_0073: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::AwaitUnsafeOnCompletedd__11'>(!!0&, +IL_0073: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::AwaitUnsafeOnCompletedd__11'>(!!0&, !!1&) IL_0078: nop -IL_0079: leave IL_0106 -IL_007e: ldarg.0 -IL_007f: ldfld valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter CatchAndFinally/'d__11'::'<>u__1' -IL_0084: stloc.2 -IL_0085: ldarg.0 -IL_0086: ldflda valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter CatchAndFinally/'d__11'::'<>u__1' -IL_008b: initobj [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter -IL_0091: ldarg.0 -IL_0092: ldc.i4.m1 -IL_0093: dup -IL_0094: stloc.0 -IL_0095: stfld int32 CatchAndFinally/'d__11'::'<>1__state' -IL_009a: ldloca.s V_2 -IL_009c: call instance void [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter::GetResult() -IL_00a1: nop -IL_00a2: nop -IL_00a3: ldarg.0 -IL_00a4: ldfld object CatchAndFinally/'d__11'::'<>s__1' -IL_00a9: stloc.1 +IL_0079: leave.s IL_00ef +IL_007b: ldarg.0 +IL_007c: ldfld valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter CatchAndFinally/'d__11'::'<>u__1' +IL_0081: stloc.2 +IL_0082: ldarg.0 +IL_0083: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter CatchAndFinally/'d__11'::'<>u__1' +IL_0088: initobj [System.Runtime]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter +IL_008e: ldarg.0 +IL_008f: ldc.i4.m1 +IL_0090: dup +IL_0091: stloc.0 +IL_0092: stfld int32 CatchAndFinally/'d__11'::'<>1__state' +IL_0097: ldloca.s V_2 +IL_0099: call instance void [System.Runtime]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter::GetResult() +IL_009e: nop +IL_009f: nop +IL_00a0: ldarg.0 +IL_00a1: ldfld object CatchAndFinally/'d__11'::'<>s__1' +IL_00a6: stloc.1 +IL_00a7: ldloc.1 +IL_00a8: brfalse.s IL_00c5 IL_00aa: ldloc.1 -IL_00ab: brfalse.s IL_00c8 -IL_00ad: ldloc.1 -IL_00ae: isinst [System.Runtime]System.Exception -IL_00b3: stloc.s V_6 -IL_00b5: ldloc.s V_6 -IL_00b7: brtrue.s IL_00bb -IL_00b9: ldloc.1 -IL_00ba: throw -IL_00bb: ldloc.s V_6 -IL_00bd: call class [System.Runtime]System.Runtime.ExceptionServices.ExceptionDispatchInfo [System.Runtime]System.Runtime.ExceptionServices.ExceptionDispatchInfo::Capture(class [System.Runtime]System.Exception) -IL_00c2: callvirt instance void [System.Runtime]System.Runtime.ExceptionServices.ExceptionDispatchInfo::Throw() -IL_00c7: nop -IL_00c8: ldarg.0 -IL_00c9: ldfld int32 CatchAndFinally/'d__11'::'<>s__2' -IL_00ce: pop -IL_00cf: ldarg.0 -IL_00d0: ldnull -IL_00d1: stfld object CatchAndFinally/'d__11'::'<>s__1' -IL_00d6: leave.s IL_00f2 +IL_00ab: isinst [System.Runtime]System.Exception +IL_00b0: stloc.s V_6 +IL_00b2: ldloc.s V_6 +IL_00b4: brtrue.s IL_00b8 +IL_00b6: ldloc.1 +IL_00b7: throw +IL_00b8: ldloc.s V_6 +IL_00ba: call class [System.Runtime]System.Runtime.ExceptionServices.ExceptionDispatchInfo [System.Runtime]System.Runtime.ExceptionServices.ExceptionDispatchInfo::Capture(class [System.Runtime]System.Exception) +IL_00bf: callvirt instance void [System.Runtime]System.Runtime.ExceptionServices.ExceptionDispatchInfo::Throw() +IL_00c4: nop +IL_00c5: ldarg.0 +IL_00c6: ldfld int32 CatchAndFinally/'d__11'::'<>s__2' +IL_00cb: pop +IL_00cc: ldarg.0 +IL_00cd: ldnull +IL_00ce: stfld object CatchAndFinally/'d__11'::'<>s__1' +IL_00d3: ldnull +IL_00d4: throw } // end .try catch [System.Runtime]System.Exception { -IL_00d8: stloc.s V_6 -IL_00da: ldarg.0 -IL_00db: ldc.i4.s -2 -IL_00dd: stfld int32 CatchAndFinally/'d__11'::'<>1__state' -IL_00e2: ldarg.0 -IL_00e3: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__11'::'<>t__builder' -IL_00e8: ldloc.s V_6 -IL_00ea: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetException(class [System.Runtime]System.Exception) -IL_00ef: nop -IL_00f0: leave.s IL_0106 +IL_00d5: stloc.s V_6 +IL_00d7: ldarg.0 +IL_00d8: ldc.i4.s -2 +IL_00da: stfld int32 CatchAndFinally/'d__11'::'<>1__state' +IL_00df: ldarg.0 +IL_00e0: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__11'::'<>t__builder' +IL_00e5: ldloc.s V_6 +IL_00e7: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetException(class [System.Runtime]System.Exception) +IL_00ec: nop +IL_00ed: leave.s IL_00ef } // end handler -IL_00f2: ldarg.0 -IL_00f3: ldc.i4.s -2 -IL_00f5: stfld int32 CatchAndFinally/'d__11'::'<>1__state' -IL_00fa: ldarg.0 -IL_00fb: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__11'::'<>t__builder' -IL_0100: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetResult() -IL_0105: nop -IL_0106: ret +IL_00ef: ret } .method private hidebysig newslot virtual final -instance void SetStateMachine(class [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed +instance void SetStateMachine(class [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed { -.param [1] -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.override [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine +.override [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine .maxstack 8 IL_0000: ret } @@ -1937,8 +1839,8 @@ Catch1() cil managed IL_0000: newobj instance void CatchAndFinally/'d__0'::.ctor() IL_0005: stloc.0 IL_0006: ldloc.0 -IL_0007: call valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Create() -IL_000c: stfld valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__0'::'<>t__builder' +IL_0007: call valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Create() +IL_000c: stfld valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__0'::'<>t__builder' IL_0011: ldloc.0 IL_0012: ldarg.0 IL_0013: stfld class CatchAndFinally CatchAndFinally/'d__0'::'<>4__this' @@ -1946,12 +1848,12 @@ IL_0018: ldloc.0 IL_0019: ldc.i4.m1 IL_001a: stfld int32 CatchAndFinally/'d__0'::'<>1__state' IL_001f: ldloc.0 -IL_0020: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__0'::'<>t__builder' +IL_0020: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__0'::'<>t__builder' IL_0025: ldloca.s V_0 -IL_0027: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Startd__0'>(!!0&) +IL_0027: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Startd__0'>(!!0&) IL_002c: ldloc.0 -IL_002d: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__0'::'<>t__builder' -IL_0032: call instance class [System.Runtime]System.Threading.Tasks.Task [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::get_Task() +IL_002d: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__0'::'<>t__builder' +IL_0032: call instance class [System.Runtime]System.Threading.Tasks.Task [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::get_Task() IL_0037: ret } .method public hidebysig instance class [System.Runtime]System.Threading.Tasks.Task @@ -1964,8 +1866,8 @@ Catch2() cil managed IL_0000: newobj instance void CatchAndFinally/'d__1'::.ctor() IL_0005: stloc.0 IL_0006: ldloc.0 -IL_0007: call valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Create() -IL_000c: stfld valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__1'::'<>t__builder' +IL_0007: call valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Create() +IL_000c: stfld valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__1'::'<>t__builder' IL_0011: ldloc.0 IL_0012: ldarg.0 IL_0013: stfld class CatchAndFinally CatchAndFinally/'d__1'::'<>4__this' @@ -1973,12 +1875,12 @@ IL_0018: ldloc.0 IL_0019: ldc.i4.m1 IL_001a: stfld int32 CatchAndFinally/'d__1'::'<>1__state' IL_001f: ldloc.0 -IL_0020: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__1'::'<>t__builder' +IL_0020: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__1'::'<>t__builder' IL_0025: ldloca.s V_0 -IL_0027: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Startd__1'>(!!0&) +IL_0027: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Startd__1'>(!!0&) IL_002c: ldloc.0 -IL_002d: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__1'::'<>t__builder' -IL_0032: call instance class [System.Runtime]System.Threading.Tasks.Task [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::get_Task() +IL_002d: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__1'::'<>t__builder' +IL_0032: call instance class [System.Runtime]System.Threading.Tasks.Task [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::get_Task() IL_0037: ret } .method public hidebysig instance class [System.Runtime]System.Threading.Tasks.Task @@ -1991,8 +1893,8 @@ Catch3() cil managed IL_0000: newobj instance void CatchAndFinally/'d__2'::.ctor() IL_0005: stloc.0 IL_0006: ldloc.0 -IL_0007: call valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Create() -IL_000c: stfld valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__2'::'<>t__builder' +IL_0007: call valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Create() +IL_000c: stfld valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__2'::'<>t__builder' IL_0011: ldloc.0 IL_0012: ldarg.0 IL_0013: stfld class CatchAndFinally CatchAndFinally/'d__2'::'<>4__this' @@ -2000,12 +1902,12 @@ IL_0018: ldloc.0 IL_0019: ldc.i4.m1 IL_001a: stfld int32 CatchAndFinally/'d__2'::'<>1__state' IL_001f: ldloc.0 -IL_0020: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__2'::'<>t__builder' +IL_0020: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__2'::'<>t__builder' IL_0025: ldloca.s V_0 -IL_0027: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Startd__2'>(!!0&) +IL_0027: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Startd__2'>(!!0&) IL_002c: ldloc.0 -IL_002d: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__2'::'<>t__builder' -IL_0032: call instance class [System.Runtime]System.Threading.Tasks.Task [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::get_Task() +IL_002d: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__2'::'<>t__builder' +IL_0032: call instance class [System.Runtime]System.Threading.Tasks.Task [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::get_Task() IL_0037: ret } .method public hidebysig instance class [System.Runtime]System.Threading.Tasks.Task @@ -2018,8 +1920,8 @@ Finally1() cil managed IL_0000: newobj instance void CatchAndFinally/'d__3'::.ctor() IL_0005: stloc.0 IL_0006: ldloc.0 -IL_0007: call valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Create() -IL_000c: stfld valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__3'::'<>t__builder' +IL_0007: call valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Create() +IL_000c: stfld valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__3'::'<>t__builder' IL_0011: ldloc.0 IL_0012: ldarg.0 IL_0013: stfld class CatchAndFinally CatchAndFinally/'d__3'::'<>4__this' @@ -2027,12 +1929,12 @@ IL_0018: ldloc.0 IL_0019: ldc.i4.m1 IL_001a: stfld int32 CatchAndFinally/'d__3'::'<>1__state' IL_001f: ldloc.0 -IL_0020: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__3'::'<>t__builder' +IL_0020: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__3'::'<>t__builder' IL_0025: ldloca.s V_0 -IL_0027: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Startd__3'>(!!0&) +IL_0027: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Startd__3'>(!!0&) IL_002c: ldloc.0 -IL_002d: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__3'::'<>t__builder' -IL_0032: call instance class [System.Runtime]System.Threading.Tasks.Task [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::get_Task() +IL_002d: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__3'::'<>t__builder' +IL_0032: call instance class [System.Runtime]System.Threading.Tasks.Task [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::get_Task() IL_0037: ret } .method public hidebysig instance class [System.Runtime]System.Threading.Tasks.Task @@ -2045,8 +1947,8 @@ Finally2() cil managed IL_0000: newobj instance void CatchAndFinally/'d__4'::.ctor() IL_0005: stloc.0 IL_0006: ldloc.0 -IL_0007: call valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Create() -IL_000c: stfld valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__4'::'<>t__builder' +IL_0007: call valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Create() +IL_000c: stfld valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__4'::'<>t__builder' IL_0011: ldloc.0 IL_0012: ldarg.0 IL_0013: stfld class CatchAndFinally CatchAndFinally/'d__4'::'<>4__this' @@ -2054,12 +1956,12 @@ IL_0018: ldloc.0 IL_0019: ldc.i4.m1 IL_001a: stfld int32 CatchAndFinally/'d__4'::'<>1__state' IL_001f: ldloc.0 -IL_0020: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__4'::'<>t__builder' +IL_0020: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__4'::'<>t__builder' IL_0025: ldloca.s V_0 -IL_0027: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Startd__4'>(!!0&) +IL_0027: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Startd__4'>(!!0&) IL_002c: ldloc.0 -IL_002d: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__4'::'<>t__builder' -IL_0032: call instance class [System.Runtime]System.Threading.Tasks.Task [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::get_Task() +IL_002d: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__4'::'<>t__builder' +IL_0032: call instance class [System.Runtime]System.Threading.Tasks.Task [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::get_Task() IL_0037: ret } .method public hidebysig instance class [System.Runtime]System.Threading.Tasks.Task @@ -2072,8 +1974,8 @@ Finally3() cil managed IL_0000: newobj instance void CatchAndFinally/'d__5'::.ctor() IL_0005: stloc.0 IL_0006: ldloc.0 -IL_0007: call valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Create() -IL_000c: stfld valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__5'::'<>t__builder' +IL_0007: call valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Create() +IL_000c: stfld valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__5'::'<>t__builder' IL_0011: ldloc.0 IL_0012: ldarg.0 IL_0013: stfld class CatchAndFinally CatchAndFinally/'d__5'::'<>4__this' @@ -2081,12 +1983,12 @@ IL_0018: ldloc.0 IL_0019: ldc.i4.m1 IL_001a: stfld int32 CatchAndFinally/'d__5'::'<>1__state' IL_001f: ldloc.0 -IL_0020: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__5'::'<>t__builder' +IL_0020: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__5'::'<>t__builder' IL_0025: ldloca.s V_0 -IL_0027: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Startd__5'>(!!0&) +IL_0027: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Startd__5'>(!!0&) IL_002c: ldloc.0 -IL_002d: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__5'::'<>t__builder' -IL_0032: call instance class [System.Runtime]System.Threading.Tasks.Task [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::get_Task() +IL_002d: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__5'::'<>t__builder' +IL_0032: call instance class [System.Runtime]System.Threading.Tasks.Task [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::get_Task() IL_0037: ret } .method public hidebysig instance class [System.Runtime]System.Threading.Tasks.Task @@ -2099,8 +2001,8 @@ Catch1_WithValueTask() cil managed IL_0000: newobj instance void CatchAndFinally/'d__6'::.ctor() IL_0005: stloc.0 IL_0006: ldloc.0 -IL_0007: call valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Create() -IL_000c: stfld valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__6'::'<>t__builder' +IL_0007: call valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Create() +IL_000c: stfld valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__6'::'<>t__builder' IL_0011: ldloc.0 IL_0012: ldarg.0 IL_0013: stfld class CatchAndFinally CatchAndFinally/'d__6'::'<>4__this' @@ -2108,12 +2010,12 @@ IL_0018: ldloc.0 IL_0019: ldc.i4.m1 IL_001a: stfld int32 CatchAndFinally/'d__6'::'<>1__state' IL_001f: ldloc.0 -IL_0020: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__6'::'<>t__builder' +IL_0020: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__6'::'<>t__builder' IL_0025: ldloca.s V_0 -IL_0027: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Startd__6'>(!!0&) +IL_0027: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Startd__6'>(!!0&) IL_002c: ldloc.0 -IL_002d: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__6'::'<>t__builder' -IL_0032: call instance class [System.Runtime]System.Threading.Tasks.Task [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::get_Task() +IL_002d: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__6'::'<>t__builder' +IL_0032: call instance class [System.Runtime]System.Threading.Tasks.Task [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::get_Task() IL_0037: ret } .method public hidebysig instance class [System.Runtime]System.Threading.Tasks.Task @@ -2126,8 +2028,8 @@ Catch2_WithValueTask() cil managed IL_0000: newobj instance void CatchAndFinally/'d__7'::.ctor() IL_0005: stloc.0 IL_0006: ldloc.0 -IL_0007: call valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Create() -IL_000c: stfld valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__7'::'<>t__builder' +IL_0007: call valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Create() +IL_000c: stfld valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__7'::'<>t__builder' IL_0011: ldloc.0 IL_0012: ldarg.0 IL_0013: stfld class CatchAndFinally CatchAndFinally/'d__7'::'<>4__this' @@ -2135,12 +2037,12 @@ IL_0018: ldloc.0 IL_0019: ldc.i4.m1 IL_001a: stfld int32 CatchAndFinally/'d__7'::'<>1__state' IL_001f: ldloc.0 -IL_0020: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__7'::'<>t__builder' +IL_0020: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__7'::'<>t__builder' IL_0025: ldloca.s V_0 -IL_0027: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Startd__7'>(!!0&) +IL_0027: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Startd__7'>(!!0&) IL_002c: ldloc.0 -IL_002d: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__7'::'<>t__builder' -IL_0032: call instance class [System.Runtime]System.Threading.Tasks.Task [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::get_Task() +IL_002d: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__7'::'<>t__builder' +IL_0032: call instance class [System.Runtime]System.Threading.Tasks.Task [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::get_Task() IL_0037: ret } .method public hidebysig instance class [System.Runtime]System.Threading.Tasks.Task @@ -2153,8 +2055,8 @@ Catch3_WithValueTask() cil managed IL_0000: newobj instance void CatchAndFinally/'d__8'::.ctor() IL_0005: stloc.0 IL_0006: ldloc.0 -IL_0007: call valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Create() -IL_000c: stfld valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__8'::'<>t__builder' +IL_0007: call valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Create() +IL_000c: stfld valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__8'::'<>t__builder' IL_0011: ldloc.0 IL_0012: ldarg.0 IL_0013: stfld class CatchAndFinally CatchAndFinally/'d__8'::'<>4__this' @@ -2162,12 +2064,12 @@ IL_0018: ldloc.0 IL_0019: ldc.i4.m1 IL_001a: stfld int32 CatchAndFinally/'d__8'::'<>1__state' IL_001f: ldloc.0 -IL_0020: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__8'::'<>t__builder' +IL_0020: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__8'::'<>t__builder' IL_0025: ldloca.s V_0 -IL_0027: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Startd__8'>(!!0&) +IL_0027: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Startd__8'>(!!0&) IL_002c: ldloc.0 -IL_002d: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__8'::'<>t__builder' -IL_0032: call instance class [System.Runtime]System.Threading.Tasks.Task [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::get_Task() +IL_002d: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__8'::'<>t__builder' +IL_0032: call instance class [System.Runtime]System.Threading.Tasks.Task [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::get_Task() IL_0037: ret } .method public hidebysig instance class [System.Runtime]System.Threading.Tasks.Task @@ -2181,8 +2083,8 @@ Finally1_WithValueTask() cil managed IL_0000: newobj instance void CatchAndFinally/'d__9'::.ctor() IL_0005: stloc.0 IL_0006: ldloc.0 -IL_0007: call valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Create() -IL_000c: stfld valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__9'::'<>t__builder' +IL_0007: call valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Create() +IL_000c: stfld valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__9'::'<>t__builder' IL_0011: ldloc.0 IL_0012: ldarg.0 IL_0013: stfld class CatchAndFinally CatchAndFinally/'d__9'::'<>4__this' @@ -2190,12 +2092,12 @@ IL_0018: ldloc.0 IL_0019: ldc.i4.m1 IL_001a: stfld int32 CatchAndFinally/'d__9'::'<>1__state' IL_001f: ldloc.0 -IL_0020: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__9'::'<>t__builder' +IL_0020: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__9'::'<>t__builder' IL_0025: ldloca.s V_0 -IL_0027: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Startd__9'>(!!0&) +IL_0027: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Startd__9'>(!!0&) IL_002c: ldloc.0 -IL_002d: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__9'::'<>t__builder' -IL_0032: call instance class [System.Runtime]System.Threading.Tasks.Task [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::get_Task() +IL_002d: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__9'::'<>t__builder' +IL_0032: call instance class [System.Runtime]System.Threading.Tasks.Task [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::get_Task() IL_0037: ret } .method public hidebysig instance class [System.Runtime]System.Threading.Tasks.Task @@ -2209,8 +2111,8 @@ Finally2_WithValueTask() cil managed IL_0000: newobj instance void CatchAndFinally/'d__10'::.ctor() IL_0005: stloc.0 IL_0006: ldloc.0 -IL_0007: call valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Create() -IL_000c: stfld valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__10'::'<>t__builder' +IL_0007: call valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Create() +IL_000c: stfld valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__10'::'<>t__builder' IL_0011: ldloc.0 IL_0012: ldarg.0 IL_0013: stfld class CatchAndFinally CatchAndFinally/'d__10'::'<>4__this' @@ -2218,12 +2120,12 @@ IL_0018: ldloc.0 IL_0019: ldc.i4.m1 IL_001a: stfld int32 CatchAndFinally/'d__10'::'<>1__state' IL_001f: ldloc.0 -IL_0020: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__10'::'<>t__builder' +IL_0020: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__10'::'<>t__builder' IL_0025: ldloca.s V_0 -IL_0027: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Startd__10'>(!!0&) +IL_0027: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Startd__10'>(!!0&) IL_002c: ldloc.0 -IL_002d: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__10'::'<>t__builder' -IL_0032: call instance class [System.Runtime]System.Threading.Tasks.Task [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::get_Task() +IL_002d: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__10'::'<>t__builder' +IL_0032: call instance class [System.Runtime]System.Threading.Tasks.Task [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::get_Task() IL_0037: ret } .method public hidebysig instance class [System.Runtime]System.Threading.Tasks.Task @@ -2237,8 +2139,8 @@ Finally3_WithValueTask() cil managed IL_0000: newobj instance void CatchAndFinally/'d__11'::.ctor() IL_0005: stloc.0 IL_0006: ldloc.0 -IL_0007: call valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Create() -IL_000c: stfld valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__11'::'<>t__builder' +IL_0007: call valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Create() +IL_000c: stfld valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__11'::'<>t__builder' IL_0011: ldloc.0 IL_0012: ldarg.0 IL_0013: stfld class CatchAndFinally CatchAndFinally/'d__11'::'<>4__this' @@ -2246,12 +2148,12 @@ IL_0018: ldloc.0 IL_0019: ldc.i4.m1 IL_001a: stfld int32 CatchAndFinally/'d__11'::'<>1__state' IL_001f: ldloc.0 -IL_0020: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__11'::'<>t__builder' +IL_0020: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__11'::'<>t__builder' IL_0025: ldloca.s V_0 -IL_0027: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Startd__11'>(!!0&) +IL_0027: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Startd__11'>(!!0&) IL_002c: ldloc.0 -IL_002d: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__11'::'<>t__builder' -IL_0032: call instance class [System.Runtime]System.Threading.Tasks.Task [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::get_Task() +IL_002d: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__11'::'<>t__builder' +IL_0032: call instance class [System.Runtime]System.Threading.Tasks.Task [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::get_Task() IL_0037: ret } .method public hidebysig specialname rtspecialname diff --git a/Tests/ModuleWeaverTests.DecompileCatchAndFinally.Debug.DotNet11_0.verified.txt b/Tests/ModuleWeaverTests.DecompileCatchAndFinally.Debug.DotNet11_0.verified.txt new file mode 100644 index 0000000..45a8438 --- /dev/null +++ b/Tests/ModuleWeaverTests.DecompileCatchAndFinally.Debug.DotNet11_0.verified.txt @@ -0,0 +1,545 @@ +.class public auto ansi beforefieldinit CatchAndFinally +extends [System.Runtime]System.Object +{ +.method public hidebysig instance class [System.Runtime]System.Threading.Tasks.Task +Catch1() cil managed +{ +.maxstack 2 +.locals init (object V_0, +int32 V_1, +object V_2) +IL_0000: nop +IL_0001: ldc.i4.0 +IL_0002: stloc.1 +.try +{ +IL_0003: nop +IL_0004: newobj instance void [System.Runtime]System.NotImplementedException::.ctor() +IL_0009: throw +} // end .try +catch [System.Runtime]System.Object +{ +IL_000a: stloc.2 +IL_000b: ldloc.2 +IL_000c: stloc.0 +IL_000d: ldc.i4.1 +IL_000e: stloc.1 +IL_000f: leave.s IL_0011 +} // end handler +IL_0011: ldloc.1 +IL_0012: ldc.i4.1 +IL_0013: beq.s IL_0017 +IL_0015: br.s IL_0027 +IL_0017: nop +IL_0018: ldc.i4.1 +IL_0019: call class [System.Runtime]System.Threading.Tasks.Task [System.Runtime]System.Threading.Tasks.Task::Delay(int32) +IL_001e: call void [System.Runtime]System.Runtime.CompilerServices.AsyncHelpers::Await(class [System.Runtime]System.Threading.Tasks.Task) +IL_0023: nop +IL_0024: nop +IL_0025: br.s IL_0027 +IL_0027: ret +} +.method public hidebysig instance class [System.Runtime]System.Threading.Tasks.Task +Catch2() cil managed +{ +.maxstack 2 +.locals init (object V_0, +int32 V_1, +object V_2) +IL_0000: nop +IL_0001: ldc.i4.0 +IL_0002: stloc.1 +.try +{ +IL_0003: nop +IL_0004: newobj instance void [System.Runtime]System.NotImplementedException::.ctor() +IL_0009: throw +} // end .try +catch [System.Runtime]System.Object +{ +IL_000a: stloc.2 +IL_000b: ldloc.2 +IL_000c: stloc.0 +IL_000d: ldc.i4.1 +IL_000e: stloc.1 +IL_000f: leave.s IL_0011 +} // end handler +IL_0011: ldloc.1 +IL_0012: ldc.i4.1 +IL_0013: beq.s IL_0017 +IL_0015: br.s IL_002d +IL_0017: nop +IL_0018: ldc.i4.1 +IL_0019: call class [System.Runtime]System.Threading.Tasks.Task [System.Runtime]System.Threading.Tasks.Task::Delay(int32) +IL_001e: ldc.i4.0 +IL_001f: callvirt instance valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable [System.Private.CoreLib]System.Threading.Tasks.Task::ConfigureAwait(bool) +IL_0024: call void [System.Private.CoreLib]System.Runtime.CompilerServices.AsyncHelpers::Await(valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable) +IL_0029: nop +IL_002a: nop +IL_002b: br.s IL_002d +IL_002d: ret +} +.method public hidebysig instance class [System.Runtime]System.Threading.Tasks.Task +Catch3() cil managed +{ +.maxstack 2 +.locals init (object V_0, +int32 V_1, +object V_2) +IL_0000: nop +IL_0001: ldc.i4.0 +IL_0002: stloc.1 +.try +{ +IL_0003: nop +IL_0004: newobj instance void [System.Runtime]System.NotImplementedException::.ctor() +IL_0009: throw +} // end .try +catch [System.Runtime]System.Object +{ +IL_000a: stloc.2 +IL_000b: ldloc.2 +IL_000c: stloc.0 +IL_000d: ldc.i4.1 +IL_000e: stloc.1 +IL_000f: leave.s IL_0011 +} // end handler +IL_0011: ldloc.1 +IL_0012: ldc.i4.1 +IL_0013: beq.s IL_0017 +IL_0015: br.s IL_002d +IL_0017: nop +IL_0018: ldc.i4.1 +IL_0019: call class [System.Runtime]System.Threading.Tasks.Task [System.Runtime]System.Threading.Tasks.Task::Delay(int32) +IL_001e: ldc.i4.0 +IL_001f: callvirt instance valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable [System.Runtime]System.Threading.Tasks.Task::ConfigureAwait(bool) +IL_0024: call void [System.Runtime]System.Runtime.CompilerServices.AsyncHelpers::Await(valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable) +IL_0029: nop +IL_002a: nop +IL_002b: br.s IL_002d +IL_002d: ret +} +.method public hidebysig instance class [System.Runtime]System.Threading.Tasks.Task +Finally1() cil managed +{ +.maxstack 1 +.locals init (object V_0, +int32 V_1, +class [System.Runtime]System.Exception V_2) +IL_0000: nop +IL_0001: ldnull +IL_0002: stloc.0 +IL_0003: ldc.i4.0 +IL_0004: stloc.1 +.try +{ +IL_0005: nop +IL_0006: newobj instance void [System.Runtime]System.NotImplementedException::.ctor() +IL_000b: throw +} // end .try +catch [System.Runtime]System.Object +{ +IL_000c: stloc.0 +IL_000d: leave.s IL_000f +} // end handler +IL_000f: nop +IL_0010: ldc.i4.1 +IL_0011: call class [System.Runtime]System.Threading.Tasks.Task [System.Runtime]System.Threading.Tasks.Task::Delay(int32) +IL_0016: call void [System.Runtime]System.Runtime.CompilerServices.AsyncHelpers::Await(class [System.Runtime]System.Threading.Tasks.Task) +IL_001b: nop +IL_001c: nop +IL_001d: ldloc.0 +IL_001e: brfalse.s IL_0038 +IL_0020: ldloc.0 +IL_0021: isinst [System.Runtime]System.Exception +IL_0026: stloc.2 +IL_0027: ldloc.2 +IL_0028: brtrue.s IL_002c +IL_002a: ldloc.0 +IL_002b: throw +IL_002c: ldloc.2 +IL_002d: call class [System.Runtime]System.Runtime.ExceptionServices.ExceptionDispatchInfo [System.Runtime]System.Runtime.ExceptionServices.ExceptionDispatchInfo::Capture(class [System.Runtime]System.Exception) +IL_0032: callvirt instance void [System.Runtime]System.Runtime.ExceptionServices.ExceptionDispatchInfo::Throw() +IL_0037: nop +IL_0038: ldnull +IL_0039: throw +} +.method public hidebysig instance class [System.Runtime]System.Threading.Tasks.Task +Finally2() cil managed +{ +.maxstack 2 +.locals init (object V_0, +int32 V_1, +class [System.Runtime]System.Exception V_2) +IL_0000: nop +IL_0001: ldnull +IL_0002: stloc.0 +IL_0003: ldc.i4.0 +IL_0004: stloc.1 +.try +{ +IL_0005: nop +IL_0006: newobj instance void [System.Runtime]System.NotImplementedException::.ctor() +IL_000b: throw +} // end .try +catch [System.Runtime]System.Object +{ +IL_000c: stloc.0 +IL_000d: leave.s IL_000f +} // end handler +IL_000f: nop +IL_0010: ldc.i4.1 +IL_0011: call class [System.Runtime]System.Threading.Tasks.Task [System.Runtime]System.Threading.Tasks.Task::Delay(int32) +IL_0016: ldc.i4.0 +IL_0017: callvirt instance valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable [System.Private.CoreLib]System.Threading.Tasks.Task::ConfigureAwait(bool) +IL_001c: call void [System.Private.CoreLib]System.Runtime.CompilerServices.AsyncHelpers::Await(valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable) +IL_0021: nop +IL_0022: nop +IL_0023: ldloc.0 +IL_0024: brfalse.s IL_003e +IL_0026: ldloc.0 +IL_0027: isinst [System.Runtime]System.Exception +IL_002c: stloc.2 +IL_002d: ldloc.2 +IL_002e: brtrue.s IL_0032 +IL_0030: ldloc.0 +IL_0031: throw +IL_0032: ldloc.2 +IL_0033: call class [System.Runtime]System.Runtime.ExceptionServices.ExceptionDispatchInfo [System.Runtime]System.Runtime.ExceptionServices.ExceptionDispatchInfo::Capture(class [System.Runtime]System.Exception) +IL_0038: callvirt instance void [System.Runtime]System.Runtime.ExceptionServices.ExceptionDispatchInfo::Throw() +IL_003d: nop +IL_003e: ldnull +IL_003f: throw +} +.method public hidebysig instance class [System.Runtime]System.Threading.Tasks.Task +Finally3() cil managed +{ +.maxstack 2 +.locals init (object V_0, +int32 V_1, +class [System.Runtime]System.Exception V_2) +IL_0000: nop +IL_0001: ldnull +IL_0002: stloc.0 +IL_0003: ldc.i4.0 +IL_0004: stloc.1 +.try +{ +IL_0005: nop +IL_0006: newobj instance void [System.Runtime]System.NotImplementedException::.ctor() +IL_000b: throw +} // end .try +catch [System.Runtime]System.Object +{ +IL_000c: stloc.0 +IL_000d: leave.s IL_000f +} // end handler +IL_000f: nop +IL_0010: ldc.i4.1 +IL_0011: call class [System.Runtime]System.Threading.Tasks.Task [System.Runtime]System.Threading.Tasks.Task::Delay(int32) +IL_0016: ldc.i4.0 +IL_0017: callvirt instance valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable [System.Runtime]System.Threading.Tasks.Task::ConfigureAwait(bool) +IL_001c: call void [System.Runtime]System.Runtime.CompilerServices.AsyncHelpers::Await(valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable) +IL_0021: nop +IL_0022: nop +IL_0023: ldloc.0 +IL_0024: brfalse.s IL_003e +IL_0026: ldloc.0 +IL_0027: isinst [System.Runtime]System.Exception +IL_002c: stloc.2 +IL_002d: ldloc.2 +IL_002e: brtrue.s IL_0032 +IL_0030: ldloc.0 +IL_0031: throw +IL_0032: ldloc.2 +IL_0033: call class [System.Runtime]System.Runtime.ExceptionServices.ExceptionDispatchInfo [System.Runtime]System.Runtime.ExceptionServices.ExceptionDispatchInfo::Capture(class [System.Runtime]System.Exception) +IL_0038: callvirt instance void [System.Runtime]System.Runtime.ExceptionServices.ExceptionDispatchInfo::Throw() +IL_003d: nop +IL_003e: ldnull +IL_003f: throw +} +.method public hidebysig instance class [System.Runtime]System.Threading.Tasks.Task +Catch1_WithValueTask() cil managed +{ +.maxstack 2 +.locals init (object V_0, +int32 V_1, +object V_2) +IL_0000: nop +IL_0001: ldc.i4.0 +IL_0002: stloc.1 +.try +{ +IL_0003: nop +IL_0004: newobj instance void [System.Runtime]System.NotImplementedException::.ctor() +IL_0009: throw +} // end .try +catch [System.Runtime]System.Object +{ +IL_000a: stloc.2 +IL_000b: ldloc.2 +IL_000c: stloc.0 +IL_000d: ldc.i4.1 +IL_000e: stloc.1 +IL_000f: leave.s IL_0011 +} // end handler +IL_0011: ldloc.1 +IL_0012: ldc.i4.1 +IL_0013: beq.s IL_0017 +IL_0015: br.s IL_002c +IL_0017: nop +IL_0018: ldc.i4.1 +IL_0019: call class [System.Runtime]System.Threading.Tasks.Task [System.Runtime]System.Threading.Tasks.Task::Delay(int32) +IL_001e: newobj instance void [System.Runtime]System.Threading.Tasks.ValueTask::.ctor(class [System.Runtime]System.Threading.Tasks.Task) +IL_0023: call void [System.Runtime]System.Runtime.CompilerServices.AsyncHelpers::Await(valuetype [System.Runtime]System.Threading.Tasks.ValueTask) +IL_0028: nop +IL_0029: nop +IL_002a: br.s IL_002c +IL_002c: ret +} +.method public hidebysig instance class [System.Runtime]System.Threading.Tasks.Task +Catch2_WithValueTask() cil managed +{ +.maxstack 2 +.locals init (object V_0, +int32 V_1, +object V_2, +valuetype [System.Private.CoreLib]System.Threading.Tasks.ValueTask V_3) +IL_0000: nop +IL_0001: ldc.i4.0 +IL_0002: stloc.1 +.try +{ +IL_0003: nop +IL_0004: newobj instance void [System.Runtime]System.NotImplementedException::.ctor() +IL_0009: throw +} // end .try +catch [System.Runtime]System.Object +{ +IL_000a: stloc.2 +IL_000b: ldloc.2 +IL_000c: stloc.0 +IL_000d: ldc.i4.1 +IL_000e: stloc.1 +IL_000f: leave.s IL_0011 +} // end handler +IL_0011: ldloc.1 +IL_0012: ldc.i4.1 +IL_0013: beq.s IL_0017 +IL_0015: br.s IL_0035 +IL_0017: nop +IL_0018: ldc.i4.1 +IL_0019: call class [System.Runtime]System.Threading.Tasks.Task [System.Runtime]System.Threading.Tasks.Task::Delay(int32) +IL_001e: newobj instance void [System.Runtime]System.Threading.Tasks.ValueTask::.ctor(class [System.Runtime]System.Threading.Tasks.Task) +IL_0023: stloc.3 +IL_0024: ldloca.s V_3 +IL_0026: ldc.i4.0 +IL_0027: call instance valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable [System.Private.CoreLib]System.Threading.Tasks.ValueTask::ConfigureAwait(bool) +IL_002c: call void [System.Private.CoreLib]System.Runtime.CompilerServices.AsyncHelpers::Await(valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable) +IL_0031: nop +IL_0032: nop +IL_0033: br.s IL_0035 +IL_0035: ret +} +.method public hidebysig instance class [System.Runtime]System.Threading.Tasks.Task +Catch3_WithValueTask() cil managed +{ +.maxstack 2 +.locals init (object V_0, +int32 V_1, +object V_2, +valuetype [System.Runtime]System.Threading.Tasks.ValueTask V_3) +IL_0000: nop +IL_0001: ldc.i4.0 +IL_0002: stloc.1 +.try +{ +IL_0003: nop +IL_0004: newobj instance void [System.Runtime]System.NotImplementedException::.ctor() +IL_0009: throw +} // end .try +catch [System.Runtime]System.Object +{ +IL_000a: stloc.2 +IL_000b: ldloc.2 +IL_000c: stloc.0 +IL_000d: ldc.i4.1 +IL_000e: stloc.1 +IL_000f: leave.s IL_0011 +} // end handler +IL_0011: ldloc.1 +IL_0012: ldc.i4.1 +IL_0013: beq.s IL_0017 +IL_0015: br.s IL_0035 +IL_0017: nop +IL_0018: ldc.i4.1 +IL_0019: call class [System.Runtime]System.Threading.Tasks.Task [System.Runtime]System.Threading.Tasks.Task::Delay(int32) +IL_001e: newobj instance void [System.Runtime]System.Threading.Tasks.ValueTask::.ctor(class [System.Runtime]System.Threading.Tasks.Task) +IL_0023: stloc.3 +IL_0024: ldloca.s V_3 +IL_0026: ldc.i4.0 +IL_0027: call instance valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable [System.Runtime]System.Threading.Tasks.ValueTask::ConfigureAwait(bool) +IL_002c: call void [System.Runtime]System.Runtime.CompilerServices.AsyncHelpers::Await(valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable) +IL_0031: nop +IL_0032: nop +IL_0033: br.s IL_0035 +IL_0035: ret +} +.method public hidebysig instance class [System.Runtime]System.Threading.Tasks.Task +Finally1_WithValueTask() cil managed +{ +.maxstack 1 +.locals init (object V_0, +int32 V_1, +class [System.Runtime]System.Exception V_2) +IL_0000: nop +IL_0001: ldnull +IL_0002: stloc.0 +IL_0003: ldc.i4.0 +IL_0004: stloc.1 +.try +{ +IL_0005: nop +IL_0006: newobj instance void [System.Runtime]System.NotImplementedException::.ctor() +IL_000b: throw +} // end .try +catch [System.Runtime]System.Object +{ +IL_000c: stloc.0 +IL_000d: leave.s IL_000f +} // end handler +IL_000f: nop +IL_0010: ldc.i4.1 +IL_0011: call class [System.Runtime]System.Threading.Tasks.Task [System.Runtime]System.Threading.Tasks.Task::Delay(int32) +IL_0016: newobj instance void [System.Runtime]System.Threading.Tasks.ValueTask::.ctor(class [System.Runtime]System.Threading.Tasks.Task) +IL_001b: call void [System.Runtime]System.Runtime.CompilerServices.AsyncHelpers::Await(valuetype [System.Runtime]System.Threading.Tasks.ValueTask) +IL_0020: nop +IL_0021: nop +IL_0022: ldloc.0 +IL_0023: brfalse.s IL_003d +IL_0025: ldloc.0 +IL_0026: isinst [System.Runtime]System.Exception +IL_002b: stloc.2 +IL_002c: ldloc.2 +IL_002d: brtrue.s IL_0031 +IL_002f: ldloc.0 +IL_0030: throw +IL_0031: ldloc.2 +IL_0032: call class [System.Runtime]System.Runtime.ExceptionServices.ExceptionDispatchInfo [System.Runtime]System.Runtime.ExceptionServices.ExceptionDispatchInfo::Capture(class [System.Runtime]System.Exception) +IL_0037: callvirt instance void [System.Runtime]System.Runtime.ExceptionServices.ExceptionDispatchInfo::Throw() +IL_003c: nop +IL_003d: ldnull +IL_003e: throw +} +.method public hidebysig instance class [System.Runtime]System.Threading.Tasks.Task +Finally2_WithValueTask() cil managed +{ +.maxstack 2 +.locals init (object V_0, +int32 V_1, +class [System.Runtime]System.Exception V_2, +valuetype [System.Private.CoreLib]System.Threading.Tasks.ValueTask V_3) +IL_0000: nop +IL_0001: ldnull +IL_0002: stloc.0 +IL_0003: ldc.i4.0 +IL_0004: stloc.1 +.try +{ +IL_0005: nop +IL_0006: newobj instance void [System.Runtime]System.NotImplementedException::.ctor() +IL_000b: throw +} // end .try +catch [System.Runtime]System.Object +{ +IL_000c: stloc.0 +IL_000d: leave.s IL_000f +} // end handler +IL_000f: nop +IL_0010: ldc.i4.1 +IL_0011: call class [System.Runtime]System.Threading.Tasks.Task [System.Runtime]System.Threading.Tasks.Task::Delay(int32) +IL_0016: newobj instance void [System.Runtime]System.Threading.Tasks.ValueTask::.ctor(class [System.Runtime]System.Threading.Tasks.Task) +IL_001b: stloc.3 +IL_001c: ldloca.s V_3 +IL_001e: ldc.i4.0 +IL_001f: call instance valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable [System.Private.CoreLib]System.Threading.Tasks.ValueTask::ConfigureAwait(bool) +IL_0024: call void [System.Private.CoreLib]System.Runtime.CompilerServices.AsyncHelpers::Await(valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable) +IL_0029: nop +IL_002a: nop +IL_002b: ldloc.0 +IL_002c: brfalse.s IL_0046 +IL_002e: ldloc.0 +IL_002f: isinst [System.Runtime]System.Exception +IL_0034: stloc.2 +IL_0035: ldloc.2 +IL_0036: brtrue.s IL_003a +IL_0038: ldloc.0 +IL_0039: throw +IL_003a: ldloc.2 +IL_003b: call class [System.Runtime]System.Runtime.ExceptionServices.ExceptionDispatchInfo [System.Runtime]System.Runtime.ExceptionServices.ExceptionDispatchInfo::Capture(class [System.Runtime]System.Exception) +IL_0040: callvirt instance void [System.Runtime]System.Runtime.ExceptionServices.ExceptionDispatchInfo::Throw() +IL_0045: nop +IL_0046: ldnull +IL_0047: throw +} +.method public hidebysig instance class [System.Runtime]System.Threading.Tasks.Task +Finally3_WithValueTask() cil managed +{ +.maxstack 2 +.locals init (object V_0, +int32 V_1, +valuetype [System.Runtime]System.Threading.Tasks.ValueTask V_2, +class [System.Runtime]System.Exception V_3) +IL_0000: nop +IL_0001: ldnull +IL_0002: stloc.0 +IL_0003: ldc.i4.0 +IL_0004: stloc.1 +.try +{ +IL_0005: nop +IL_0006: newobj instance void [System.Runtime]System.NotImplementedException::.ctor() +IL_000b: throw +} // end .try +catch [System.Runtime]System.Object +{ +IL_000c: stloc.0 +IL_000d: leave.s IL_000f +} // end handler +IL_000f: nop +IL_0010: ldc.i4.1 +IL_0011: call class [System.Runtime]System.Threading.Tasks.Task [System.Runtime]System.Threading.Tasks.Task::Delay(int32) +IL_0016: newobj instance void [System.Runtime]System.Threading.Tasks.ValueTask::.ctor(class [System.Runtime]System.Threading.Tasks.Task) +IL_001b: stloc.2 +IL_001c: ldloca.s V_2 +IL_001e: ldc.i4.0 +IL_001f: call instance valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable [System.Runtime]System.Threading.Tasks.ValueTask::ConfigureAwait(bool) +IL_0024: call void [System.Runtime]System.Runtime.CompilerServices.AsyncHelpers::Await(valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable) +IL_0029: nop +IL_002a: nop +IL_002b: ldloc.0 +IL_002c: brfalse.s IL_0046 +IL_002e: ldloc.0 +IL_002f: isinst [System.Runtime]System.Exception +IL_0034: stloc.3 +IL_0035: ldloc.3 +IL_0036: brtrue.s IL_003a +IL_0038: ldloc.0 +IL_0039: throw +IL_003a: ldloc.3 +IL_003b: call class [System.Runtime]System.Runtime.ExceptionServices.ExceptionDispatchInfo [System.Runtime]System.Runtime.ExceptionServices.ExceptionDispatchInfo::Capture(class [System.Runtime]System.Exception) +IL_0040: callvirt instance void [System.Runtime]System.Runtime.ExceptionServices.ExceptionDispatchInfo::Throw() +IL_0045: nop +IL_0046: ldnull +IL_0047: throw +} +.method public hidebysig specialname rtspecialname +instance void .ctor() cil managed +{ +.maxstack 8 +IL_0000: ldarg.0 +IL_0001: call instance void [System.Runtime]System.Object::.ctor() +IL_0006: nop +IL_0007: ret +} +} diff --git a/Tests/ModuleWeaverTests.DecompileCatchAndFinally.Debug.Net.verified.txt b/Tests/ModuleWeaverTests.DecompileCatchAndFinally.Debug.Net4_7.verified.txt similarity index 88% rename from Tests/ModuleWeaverTests.DecompileCatchAndFinally.Debug.Net.verified.txt rename to Tests/ModuleWeaverTests.DecompileCatchAndFinally.Debug.Net4_7.verified.txt index e0b2b73..a0500dc 100644 --- a/Tests/ModuleWeaverTests.DecompileCatchAndFinally.Debug.Net.verified.txt +++ b/Tests/ModuleWeaverTests.DecompileCatchAndFinally.Debug.Net4_7.verified.txt @@ -504,7 +504,7 @@ IL_0006: stloc.0 IL_0007: ldloc.0 IL_0008: brfalse.s IL_000c IL_000a: br.s IL_000e -IL_000c: br.s IL_006b +IL_000c: br.s IL_0068 IL_000e: nop IL_000f: ldarg.0 IL_0010: ldnull @@ -533,7 +533,7 @@ IL_0035: callvirt instance valuetype [mscorlib]System.Runtime.CompilerService IL_003a: stloc.2 IL_003b: ldloca.s V_2 IL_003d: call instance bool [mscorlib]System.Runtime.CompilerServices.TaskAwaiter::get_IsCompleted() -IL_0042: brtrue.s IL_0087 +IL_0042: brtrue.s IL_0084 IL_0044: ldarg.0 IL_0045: ldc.i4.0 IL_0046: dup @@ -551,67 +551,61 @@ IL_005e: ldloca.s V_3 IL_0060: call instance void [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::AwaitUnsafeOnCompletedd__3'>(!!0&, !!1&) IL_0065: nop -IL_0066: leave IL_00f3 -IL_006b: ldarg.0 -IL_006c: ldfld valuetype [mscorlib]System.Runtime.CompilerServices.TaskAwaiter CatchAndFinally/'d__3'::'<>u__1' -IL_0071: stloc.2 -IL_0072: ldarg.0 -IL_0073: ldflda valuetype [mscorlib]System.Runtime.CompilerServices.TaskAwaiter CatchAndFinally/'d__3'::'<>u__1' -IL_0078: initobj [mscorlib]System.Runtime.CompilerServices.TaskAwaiter -IL_007e: ldarg.0 -IL_007f: ldc.i4.m1 -IL_0080: dup -IL_0081: stloc.0 -IL_0082: stfld int32 CatchAndFinally/'d__3'::'<>1__state' -IL_0087: ldloca.s V_2 -IL_0089: call instance void [mscorlib]System.Runtime.CompilerServices.TaskAwaiter::GetResult() -IL_008e: nop -IL_008f: nop -IL_0090: ldarg.0 -IL_0091: ldfld object CatchAndFinally/'d__3'::'<>s__1' -IL_0096: stloc.1 +IL_0066: leave.s IL_00dc +IL_0068: ldarg.0 +IL_0069: ldfld valuetype [mscorlib]System.Runtime.CompilerServices.TaskAwaiter CatchAndFinally/'d__3'::'<>u__1' +IL_006e: stloc.2 +IL_006f: ldarg.0 +IL_0070: ldflda valuetype [mscorlib]System.Runtime.CompilerServices.TaskAwaiter CatchAndFinally/'d__3'::'<>u__1' +IL_0075: initobj [mscorlib]System.Runtime.CompilerServices.TaskAwaiter +IL_007b: ldarg.0 +IL_007c: ldc.i4.m1 +IL_007d: dup +IL_007e: stloc.0 +IL_007f: stfld int32 CatchAndFinally/'d__3'::'<>1__state' +IL_0084: ldloca.s V_2 +IL_0086: call instance void [mscorlib]System.Runtime.CompilerServices.TaskAwaiter::GetResult() +IL_008b: nop +IL_008c: nop +IL_008d: ldarg.0 +IL_008e: ldfld object CatchAndFinally/'d__3'::'<>s__1' +IL_0093: stloc.1 +IL_0094: ldloc.1 +IL_0095: brfalse.s IL_00b2 IL_0097: ldloc.1 -IL_0098: brfalse.s IL_00b5 -IL_009a: ldloc.1 -IL_009b: isinst [mscorlib]System.Exception -IL_00a0: stloc.s V_4 -IL_00a2: ldloc.s V_4 -IL_00a4: brtrue.s IL_00a8 -IL_00a6: ldloc.1 -IL_00a7: throw -IL_00a8: ldloc.s V_4 -IL_00aa: call class [mscorlib]System.Runtime.ExceptionServices.ExceptionDispatchInfo [mscorlib]System.Runtime.ExceptionServices.ExceptionDispatchInfo::Capture(class [mscorlib]System.Exception) -IL_00af: callvirt instance void [mscorlib]System.Runtime.ExceptionServices.ExceptionDispatchInfo::Throw() -IL_00b4: nop -IL_00b5: ldarg.0 -IL_00b6: ldfld int32 CatchAndFinally/'d__3'::'<>s__2' -IL_00bb: pop -IL_00bc: ldarg.0 -IL_00bd: ldnull -IL_00be: stfld object CatchAndFinally/'d__3'::'<>s__1' -IL_00c3: leave.s IL_00df +IL_0098: isinst [mscorlib]System.Exception +IL_009d: stloc.s V_4 +IL_009f: ldloc.s V_4 +IL_00a1: brtrue.s IL_00a5 +IL_00a3: ldloc.1 +IL_00a4: throw +IL_00a5: ldloc.s V_4 +IL_00a7: call class [mscorlib]System.Runtime.ExceptionServices.ExceptionDispatchInfo [mscorlib]System.Runtime.ExceptionServices.ExceptionDispatchInfo::Capture(class [mscorlib]System.Exception) +IL_00ac: callvirt instance void [mscorlib]System.Runtime.ExceptionServices.ExceptionDispatchInfo::Throw() +IL_00b1: nop +IL_00b2: ldarg.0 +IL_00b3: ldfld int32 CatchAndFinally/'d__3'::'<>s__2' +IL_00b8: pop +IL_00b9: ldarg.0 +IL_00ba: ldnull +IL_00bb: stfld object CatchAndFinally/'d__3'::'<>s__1' +IL_00c0: ldnull +IL_00c1: throw } // end .try catch [mscorlib]System.Exception { -IL_00c5: stloc.s V_4 -IL_00c7: ldarg.0 -IL_00c8: ldc.i4.s -2 -IL_00ca: stfld int32 CatchAndFinally/'d__3'::'<>1__state' -IL_00cf: ldarg.0 -IL_00d0: ldflda valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__3'::'<>t__builder' -IL_00d5: ldloc.s V_4 -IL_00d7: call instance void [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetException(class [mscorlib]System.Exception) -IL_00dc: nop -IL_00dd: leave.s IL_00f3 +IL_00c2: stloc.s V_4 +IL_00c4: ldarg.0 +IL_00c5: ldc.i4.s -2 +IL_00c7: stfld int32 CatchAndFinally/'d__3'::'<>1__state' +IL_00cc: ldarg.0 +IL_00cd: ldflda valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__3'::'<>t__builder' +IL_00d2: ldloc.s V_4 +IL_00d4: call instance void [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetException(class [mscorlib]System.Exception) +IL_00d9: nop +IL_00da: leave.s IL_00dc } // end handler -IL_00df: ldarg.0 -IL_00e0: ldc.i4.s -2 -IL_00e2: stfld int32 CatchAndFinally/'d__3'::'<>1__state' -IL_00e7: ldarg.0 -IL_00e8: ldflda valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__3'::'<>t__builder' -IL_00ed: call instance void [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetResult() -IL_00f2: nop -IL_00f3: ret +IL_00dc: ret } .method private hidebysig newslot virtual final instance void SetStateMachine(class [mscorlib]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed @@ -665,7 +659,7 @@ IL_0006: stloc.0 IL_0007: ldloc.0 IL_0008: brfalse.s IL_000c IL_000a: br.s IL_000e -IL_000c: br.s IL_0075 +IL_000c: br.s IL_0072 IL_000e: nop IL_000f: ldarg.0 IL_0010: ldnull @@ -698,7 +692,7 @@ IL_003e: call instance valuetype [mscorlib]System.Runtime.CompilerService IL_0043: stloc.2 IL_0044: ldloca.s V_2 IL_0046: call instance bool [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter::get_IsCompleted() -IL_004b: brtrue.s IL_0091 +IL_004b: brtrue.s IL_008e IL_004d: ldarg.0 IL_004e: ldc.i4.0 IL_004f: dup @@ -716,67 +710,61 @@ IL_0068: ldloca.s V_4 IL_006a: call instance void [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::AwaitUnsafeOnCompletedd__4'>(!!0&, !!1&) IL_006f: nop -IL_0070: leave IL_00fd -IL_0075: ldarg.0 -IL_0076: ldfld valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter CatchAndFinally/'d__4'::'<>u__1' -IL_007b: stloc.2 -IL_007c: ldarg.0 -IL_007d: ldflda valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter CatchAndFinally/'d__4'::'<>u__1' -IL_0082: initobj [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter -IL_0088: ldarg.0 -IL_0089: ldc.i4.m1 -IL_008a: dup -IL_008b: stloc.0 -IL_008c: stfld int32 CatchAndFinally/'d__4'::'<>1__state' -IL_0091: ldloca.s V_2 -IL_0093: call instance void [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter::GetResult() -IL_0098: nop -IL_0099: nop -IL_009a: ldarg.0 -IL_009b: ldfld object CatchAndFinally/'d__4'::'<>s__1' -IL_00a0: stloc.1 +IL_0070: leave.s IL_00e6 +IL_0072: ldarg.0 +IL_0073: ldfld valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter CatchAndFinally/'d__4'::'<>u__1' +IL_0078: stloc.2 +IL_0079: ldarg.0 +IL_007a: ldflda valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter CatchAndFinally/'d__4'::'<>u__1' +IL_007f: initobj [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter +IL_0085: ldarg.0 +IL_0086: ldc.i4.m1 +IL_0087: dup +IL_0088: stloc.0 +IL_0089: stfld int32 CatchAndFinally/'d__4'::'<>1__state' +IL_008e: ldloca.s V_2 +IL_0090: call instance void [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter::GetResult() +IL_0095: nop +IL_0096: nop +IL_0097: ldarg.0 +IL_0098: ldfld object CatchAndFinally/'d__4'::'<>s__1' +IL_009d: stloc.1 +IL_009e: ldloc.1 +IL_009f: brfalse.s IL_00bc IL_00a1: ldloc.1 -IL_00a2: brfalse.s IL_00bf -IL_00a4: ldloc.1 -IL_00a5: isinst [mscorlib]System.Exception -IL_00aa: stloc.s V_5 -IL_00ac: ldloc.s V_5 -IL_00ae: brtrue.s IL_00b2 -IL_00b0: ldloc.1 -IL_00b1: throw -IL_00b2: ldloc.s V_5 -IL_00b4: call class [mscorlib]System.Runtime.ExceptionServices.ExceptionDispatchInfo [mscorlib]System.Runtime.ExceptionServices.ExceptionDispatchInfo::Capture(class [mscorlib]System.Exception) -IL_00b9: callvirt instance void [mscorlib]System.Runtime.ExceptionServices.ExceptionDispatchInfo::Throw() -IL_00be: nop -IL_00bf: ldarg.0 -IL_00c0: ldfld int32 CatchAndFinally/'d__4'::'<>s__2' -IL_00c5: pop -IL_00c6: ldarg.0 -IL_00c7: ldnull -IL_00c8: stfld object CatchAndFinally/'d__4'::'<>s__1' -IL_00cd: leave.s IL_00e9 +IL_00a2: isinst [mscorlib]System.Exception +IL_00a7: stloc.s V_5 +IL_00a9: ldloc.s V_5 +IL_00ab: brtrue.s IL_00af +IL_00ad: ldloc.1 +IL_00ae: throw +IL_00af: ldloc.s V_5 +IL_00b1: call class [mscorlib]System.Runtime.ExceptionServices.ExceptionDispatchInfo [mscorlib]System.Runtime.ExceptionServices.ExceptionDispatchInfo::Capture(class [mscorlib]System.Exception) +IL_00b6: callvirt instance void [mscorlib]System.Runtime.ExceptionServices.ExceptionDispatchInfo::Throw() +IL_00bb: nop +IL_00bc: ldarg.0 +IL_00bd: ldfld int32 CatchAndFinally/'d__4'::'<>s__2' +IL_00c2: pop +IL_00c3: ldarg.0 +IL_00c4: ldnull +IL_00c5: stfld object CatchAndFinally/'d__4'::'<>s__1' +IL_00ca: ldnull +IL_00cb: throw } // end .try catch [mscorlib]System.Exception { -IL_00cf: stloc.s V_5 -IL_00d1: ldarg.0 -IL_00d2: ldc.i4.s -2 -IL_00d4: stfld int32 CatchAndFinally/'d__4'::'<>1__state' -IL_00d9: ldarg.0 -IL_00da: ldflda valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__4'::'<>t__builder' -IL_00df: ldloc.s V_5 -IL_00e1: call instance void [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetException(class [mscorlib]System.Exception) -IL_00e6: nop -IL_00e7: leave.s IL_00fd +IL_00cc: stloc.s V_5 +IL_00ce: ldarg.0 +IL_00cf: ldc.i4.s -2 +IL_00d1: stfld int32 CatchAndFinally/'d__4'::'<>1__state' +IL_00d6: ldarg.0 +IL_00d7: ldflda valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__4'::'<>t__builder' +IL_00dc: ldloc.s V_5 +IL_00de: call instance void [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetException(class [mscorlib]System.Exception) +IL_00e3: nop +IL_00e4: leave.s IL_00e6 } // end handler -IL_00e9: ldarg.0 -IL_00ea: ldc.i4.s -2 -IL_00ec: stfld int32 CatchAndFinally/'d__4'::'<>1__state' -IL_00f1: ldarg.0 -IL_00f2: ldflda valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__4'::'<>t__builder' -IL_00f7: call instance void [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetResult() -IL_00fc: nop -IL_00fd: ret +IL_00e6: ret } .method private hidebysig newslot virtual final instance void SetStateMachine(class [mscorlib]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed @@ -830,7 +818,7 @@ IL_0006: stloc.0 IL_0007: ldloc.0 IL_0008: brfalse.s IL_000c IL_000a: br.s IL_000e -IL_000c: br.s IL_0075 +IL_000c: br.s IL_0072 IL_000e: nop IL_000f: ldarg.0 IL_0010: ldnull @@ -863,7 +851,7 @@ IL_003e: call instance valuetype [mscorlib]System.Runtime.CompilerService IL_0043: stloc.2 IL_0044: ldloca.s V_2 IL_0046: call instance bool [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter::get_IsCompleted() -IL_004b: brtrue.s IL_0091 +IL_004b: brtrue.s IL_008e IL_004d: ldarg.0 IL_004e: ldc.i4.0 IL_004f: dup @@ -881,67 +869,61 @@ IL_0068: ldloca.s V_4 IL_006a: call instance void [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::AwaitUnsafeOnCompletedd__5'>(!!0&, !!1&) IL_006f: nop -IL_0070: leave IL_00fd -IL_0075: ldarg.0 -IL_0076: ldfld valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter CatchAndFinally/'d__5'::'<>u__1' -IL_007b: stloc.2 -IL_007c: ldarg.0 -IL_007d: ldflda valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter CatchAndFinally/'d__5'::'<>u__1' -IL_0082: initobj [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter -IL_0088: ldarg.0 -IL_0089: ldc.i4.m1 -IL_008a: dup -IL_008b: stloc.0 -IL_008c: stfld int32 CatchAndFinally/'d__5'::'<>1__state' -IL_0091: ldloca.s V_2 -IL_0093: call instance void [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter::GetResult() -IL_0098: nop -IL_0099: nop -IL_009a: ldarg.0 -IL_009b: ldfld object CatchAndFinally/'d__5'::'<>s__1' -IL_00a0: stloc.1 +IL_0070: leave.s IL_00e6 +IL_0072: ldarg.0 +IL_0073: ldfld valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter CatchAndFinally/'d__5'::'<>u__1' +IL_0078: stloc.2 +IL_0079: ldarg.0 +IL_007a: ldflda valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter CatchAndFinally/'d__5'::'<>u__1' +IL_007f: initobj [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter +IL_0085: ldarg.0 +IL_0086: ldc.i4.m1 +IL_0087: dup +IL_0088: stloc.0 +IL_0089: stfld int32 CatchAndFinally/'d__5'::'<>1__state' +IL_008e: ldloca.s V_2 +IL_0090: call instance void [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter::GetResult() +IL_0095: nop +IL_0096: nop +IL_0097: ldarg.0 +IL_0098: ldfld object CatchAndFinally/'d__5'::'<>s__1' +IL_009d: stloc.1 +IL_009e: ldloc.1 +IL_009f: brfalse.s IL_00bc IL_00a1: ldloc.1 -IL_00a2: brfalse.s IL_00bf -IL_00a4: ldloc.1 -IL_00a5: isinst [mscorlib]System.Exception -IL_00aa: stloc.s V_5 -IL_00ac: ldloc.s V_5 -IL_00ae: brtrue.s IL_00b2 -IL_00b0: ldloc.1 -IL_00b1: throw -IL_00b2: ldloc.s V_5 -IL_00b4: call class [mscorlib]System.Runtime.ExceptionServices.ExceptionDispatchInfo [mscorlib]System.Runtime.ExceptionServices.ExceptionDispatchInfo::Capture(class [mscorlib]System.Exception) -IL_00b9: callvirt instance void [mscorlib]System.Runtime.ExceptionServices.ExceptionDispatchInfo::Throw() -IL_00be: nop -IL_00bf: ldarg.0 -IL_00c0: ldfld int32 CatchAndFinally/'d__5'::'<>s__2' -IL_00c5: pop -IL_00c6: ldarg.0 -IL_00c7: ldnull -IL_00c8: stfld object CatchAndFinally/'d__5'::'<>s__1' -IL_00cd: leave.s IL_00e9 +IL_00a2: isinst [mscorlib]System.Exception +IL_00a7: stloc.s V_5 +IL_00a9: ldloc.s V_5 +IL_00ab: brtrue.s IL_00af +IL_00ad: ldloc.1 +IL_00ae: throw +IL_00af: ldloc.s V_5 +IL_00b1: call class [mscorlib]System.Runtime.ExceptionServices.ExceptionDispatchInfo [mscorlib]System.Runtime.ExceptionServices.ExceptionDispatchInfo::Capture(class [mscorlib]System.Exception) +IL_00b6: callvirt instance void [mscorlib]System.Runtime.ExceptionServices.ExceptionDispatchInfo::Throw() +IL_00bb: nop +IL_00bc: ldarg.0 +IL_00bd: ldfld int32 CatchAndFinally/'d__5'::'<>s__2' +IL_00c2: pop +IL_00c3: ldarg.0 +IL_00c4: ldnull +IL_00c5: stfld object CatchAndFinally/'d__5'::'<>s__1' +IL_00ca: ldnull +IL_00cb: throw } // end .try catch [mscorlib]System.Exception { -IL_00cf: stloc.s V_5 -IL_00d1: ldarg.0 -IL_00d2: ldc.i4.s -2 -IL_00d4: stfld int32 CatchAndFinally/'d__5'::'<>1__state' -IL_00d9: ldarg.0 -IL_00da: ldflda valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__5'::'<>t__builder' -IL_00df: ldloc.s V_5 -IL_00e1: call instance void [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetException(class [mscorlib]System.Exception) -IL_00e6: nop -IL_00e7: leave.s IL_00fd +IL_00cc: stloc.s V_5 +IL_00ce: ldarg.0 +IL_00cf: ldc.i4.s -2 +IL_00d1: stfld int32 CatchAndFinally/'d__5'::'<>1__state' +IL_00d6: ldarg.0 +IL_00d7: ldflda valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__5'::'<>t__builder' +IL_00dc: ldloc.s V_5 +IL_00de: call instance void [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetException(class [mscorlib]System.Exception) +IL_00e3: nop +IL_00e4: leave.s IL_00e6 } // end handler -IL_00e9: ldarg.0 -IL_00ea: ldc.i4.s -2 -IL_00ec: stfld int32 CatchAndFinally/'d__5'::'<>1__state' -IL_00f1: ldarg.0 -IL_00f2: ldflda valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__5'::'<>t__builder' -IL_00f7: call instance void [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetResult() -IL_00fc: nop -IL_00fd: ret +IL_00e6: ret } .method private hidebysig newslot virtual final instance void SetStateMachine(class [mscorlib]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed diff --git a/Tests/ModuleWeaverTests.DecompileCatchAndFinally.DotNet.Debug.verified.txt b/Tests/ModuleWeaverTests.DecompileCatchAndFinally.DotNet.Debug.verified.txt deleted file mode 100644 index 917652f..0000000 --- a/Tests/ModuleWeaverTests.DecompileCatchAndFinally.DotNet.Debug.verified.txt +++ /dev/null @@ -1,1115 +0,0 @@ -.class public auto ansi beforefieldinit CatchAndFinally -extends [System.Runtime]System.Object -{ -.custom instance void System.Runtime.CompilerServices.NullableContextAttribute::.ctor(uint8) = ( 01 00 01 00 00 ) -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.class auto ansi sealed nested private beforefieldinit 'd__0' -extends [System.Runtime]System.Object -implements [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine -{ -.interfaceimpl type [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field public int32 '<>1__state' -.field public valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder '<>t__builder' -.field public class CatchAndFinally '<>4__this' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field private object '<>s__1' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field private int32 '<>s__2' -.field private valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter '<>u__1' -.method public hidebysig specialname rtspecialname -instance void .ctor() cil managed -{ -.maxstack 8 -IL_0000: ldarg.0 -IL_0001: call instance void [System.Runtime]System.Object::.ctor() -IL_0006: nop -IL_0007: ret -} -.method private hidebysig newslot virtual final -instance void MoveNext() cil managed -{ -.override [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext -.maxstack 3 -.locals init (int32 V_0, -object V_1, -int32 V_2, -valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter V_3, -class CatchAndFinally/'d__0' V_4, -class [System.Runtime]System.Exception V_5) -IL_0000: ldarg.0 -IL_0001: ldfld int32 CatchAndFinally/'d__0'::'<>1__state' -IL_0006: stloc.0 -.try -{ -IL_0007: ldloc.0 -IL_0008: brfalse.s IL_000c -IL_000a: br.s IL_000e -IL_000c: br.s IL_0076 -IL_000e: nop -IL_000f: ldarg.0 -IL_0010: ldc.i4.0 -IL_0011: stfld int32 CatchAndFinally/'d__0'::'<>s__2' -.try -{ -IL_0016: nop -IL_0017: newobj instance void [System.Runtime]System.NotImplementedException::.ctor() -IL_001c: throw -} // end .try -catch [System.Runtime]System.Object -{ -IL_001d: stloc.1 -IL_001e: ldarg.0 -IL_001f: ldloc.1 -IL_0020: stfld object CatchAndFinally/'d__0'::'<>s__1' -IL_0025: ldarg.0 -IL_0026: ldc.i4.1 -IL_0027: stfld int32 CatchAndFinally/'d__0'::'<>s__2' -IL_002c: leave.s IL_002e -} // end handler -IL_002e: ldarg.0 -IL_002f: ldfld int32 CatchAndFinally/'d__0'::'<>s__2' -IL_0034: stloc.2 -IL_0035: ldloc.2 -IL_0036: ldc.i4.1 -IL_0037: beq.s IL_003b -IL_0039: br.s IL_009d -IL_003b: nop -IL_003c: ldc.i4.1 -IL_003d: call class [System.Runtime]System.Threading.Tasks.Task [System.Runtime]System.Threading.Tasks.Task::Delay(int32) -IL_0042: callvirt instance valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter [System.Runtime]System.Threading.Tasks.Task::GetAwaiter() -IL_0047: stloc.3 -IL_0048: ldloca.s V_3 -IL_004a: call instance bool [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter::get_IsCompleted() -IL_004f: brtrue.s IL_0092 -IL_0051: ldarg.0 -IL_0052: ldc.i4.0 -IL_0053: dup -IL_0054: stloc.0 -IL_0055: stfld int32 CatchAndFinally/'d__0'::'<>1__state' -IL_005a: ldarg.0 -IL_005b: ldloc.3 -IL_005c: stfld valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter CatchAndFinally/'d__0'::'<>u__1' -IL_0061: ldarg.0 -IL_0062: stloc.s V_4 -IL_0064: ldarg.0 -IL_0065: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__0'::'<>t__builder' -IL_006a: ldloca.s V_3 -IL_006c: ldloca.s V_4 -IL_006e: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::AwaitUnsafeOnCompletedd__0'>(!!0&, -!!1&) -IL_0073: nop -IL_0074: leave.s IL_00d4 -IL_0076: ldarg.0 -IL_0077: ldfld valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter CatchAndFinally/'d__0'::'<>u__1' -IL_007c: stloc.3 -IL_007d: ldarg.0 -IL_007e: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter CatchAndFinally/'d__0'::'<>u__1' -IL_0083: initobj [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter -IL_0089: ldarg.0 -IL_008a: ldc.i4.m1 -IL_008b: dup -IL_008c: stloc.0 -IL_008d: stfld int32 CatchAndFinally/'d__0'::'<>1__state' -IL_0092: ldloca.s V_3 -IL_0094: call instance void [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter::GetResult() -IL_0099: nop -IL_009a: nop -IL_009b: br.s IL_009d -IL_009d: ldarg.0 -IL_009e: ldnull -IL_009f: stfld object CatchAndFinally/'d__0'::'<>s__1' -IL_00a4: leave.s IL_00c0 -} // end .try -catch [System.Runtime]System.Exception -{ -IL_00a6: stloc.s V_5 -IL_00a8: ldarg.0 -IL_00a9: ldc.i4.s -2 -IL_00ab: stfld int32 CatchAndFinally/'d__0'::'<>1__state' -IL_00b0: ldarg.0 -IL_00b1: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__0'::'<>t__builder' -IL_00b6: ldloc.s V_5 -IL_00b8: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetException(class [System.Runtime]System.Exception) -IL_00bd: nop -IL_00be: leave.s IL_00d4 -} // end handler -IL_00c0: ldarg.0 -IL_00c1: ldc.i4.s -2 -IL_00c3: stfld int32 CatchAndFinally/'d__0'::'<>1__state' -IL_00c8: ldarg.0 -IL_00c9: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__0'::'<>t__builder' -IL_00ce: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetResult() -IL_00d3: nop -IL_00d4: ret -} -.method private hidebysig newslot virtual final -instance void SetStateMachine(class [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed -{ -.override [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine -.maxstack 8 -IL_0000: ret -} -} -.class auto ansi sealed nested private beforefieldinit 'd__1' -extends [System.Runtime]System.Object -implements [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine -{ -.interfaceimpl type [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field public int32 '<>1__state' -.field public valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder '<>t__builder' -.field public class CatchAndFinally '<>4__this' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field private object '<>s__1' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field private int32 '<>s__2' -.field private valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter '<>u__1' -.method public hidebysig specialname rtspecialname -instance void .ctor() cil managed -{ -.maxstack 8 -IL_0000: ldarg.0 -IL_0001: call instance void [System.Runtime]System.Object::.ctor() -IL_0006: nop -IL_0007: ret -} -.method private hidebysig newslot virtual final -instance void MoveNext() cil managed -{ -.override [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext -.maxstack 3 -.locals init (int32 V_0, -object V_1, -int32 V_2, -valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter V_3, -valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable V_4, -class CatchAndFinally/'d__1' V_5, -class [System.Runtime]System.Exception V_6) -IL_0000: ldarg.0 -IL_0001: ldfld int32 CatchAndFinally/'d__1'::'<>1__state' -IL_0006: stloc.0 -.try -{ -IL_0007: ldloc.0 -IL_0008: brfalse.s IL_000c -IL_000a: br.s IL_0011 -IL_000c: br IL_0083 -IL_0011: nop -IL_0012: ldarg.0 -IL_0013: ldc.i4.0 -IL_0014: stfld int32 CatchAndFinally/'d__1'::'<>s__2' -.try -{ -IL_0019: nop -IL_001a: newobj instance void [System.Runtime]System.NotImplementedException::.ctor() -IL_001f: throw -} // end .try -catch [System.Runtime]System.Object -{ -IL_0020: stloc.1 -IL_0021: ldarg.0 -IL_0022: ldloc.1 -IL_0023: stfld object CatchAndFinally/'d__1'::'<>s__1' -IL_0028: ldarg.0 -IL_0029: ldc.i4.1 -IL_002a: stfld int32 CatchAndFinally/'d__1'::'<>s__2' -IL_002f: leave.s IL_0031 -} // end handler -IL_0031: ldarg.0 -IL_0032: ldfld int32 CatchAndFinally/'d__1'::'<>s__2' -IL_0037: stloc.2 -IL_0038: ldloc.2 -IL_0039: ldc.i4.1 -IL_003a: beq.s IL_003e -IL_003c: br.s IL_00aa -IL_003e: nop -IL_003f: ldc.i4.1 -IL_0040: call class [System.Runtime]System.Threading.Tasks.Task [System.Runtime]System.Threading.Tasks.Task::Delay(int32) -IL_0045: ldc.i4.0 -IL_0046: callvirt instance valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable [System.Private.CoreLib]System.Threading.Tasks.Task::ConfigureAwait(bool) -IL_004b: stloc.s V_4 -IL_004d: ldloca.s V_4 -IL_004f: call instance valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable::GetAwaiter() -IL_0054: stloc.3 -IL_0055: ldloca.s V_3 -IL_0057: call instance bool [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter::get_IsCompleted() -IL_005c: brtrue.s IL_009f -IL_005e: ldarg.0 -IL_005f: ldc.i4.0 -IL_0060: dup -IL_0061: stloc.0 -IL_0062: stfld int32 CatchAndFinally/'d__1'::'<>1__state' -IL_0067: ldarg.0 -IL_0068: ldloc.3 -IL_0069: stfld valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter CatchAndFinally/'d__1'::'<>u__1' -IL_006e: ldarg.0 -IL_006f: stloc.s V_5 -IL_0071: ldarg.0 -IL_0072: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__1'::'<>t__builder' -IL_0077: ldloca.s V_3 -IL_0079: ldloca.s V_5 -IL_007b: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::AwaitUnsafeOnCompletedd__1'>(!!0&, -!!1&) -IL_0080: nop -IL_0081: leave.s IL_00e1 -IL_0083: ldarg.0 -IL_0084: ldfld valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter CatchAndFinally/'d__1'::'<>u__1' -IL_0089: stloc.3 -IL_008a: ldarg.0 -IL_008b: ldflda valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter CatchAndFinally/'d__1'::'<>u__1' -IL_0090: initobj [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter -IL_0096: ldarg.0 -IL_0097: ldc.i4.m1 -IL_0098: dup -IL_0099: stloc.0 -IL_009a: stfld int32 CatchAndFinally/'d__1'::'<>1__state' -IL_009f: ldloca.s V_3 -IL_00a1: call instance void [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter::GetResult() -IL_00a6: nop -IL_00a7: nop -IL_00a8: br.s IL_00aa -IL_00aa: ldarg.0 -IL_00ab: ldnull -IL_00ac: stfld object CatchAndFinally/'d__1'::'<>s__1' -IL_00b1: leave.s IL_00cd -} // end .try -catch [System.Runtime]System.Exception -{ -IL_00b3: stloc.s V_6 -IL_00b5: ldarg.0 -IL_00b6: ldc.i4.s -2 -IL_00b8: stfld int32 CatchAndFinally/'d__1'::'<>1__state' -IL_00bd: ldarg.0 -IL_00be: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__1'::'<>t__builder' -IL_00c3: ldloc.s V_6 -IL_00c5: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetException(class [System.Runtime]System.Exception) -IL_00ca: nop -IL_00cb: leave.s IL_00e1 -} // end handler -IL_00cd: ldarg.0 -IL_00ce: ldc.i4.s -2 -IL_00d0: stfld int32 CatchAndFinally/'d__1'::'<>1__state' -IL_00d5: ldarg.0 -IL_00d6: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__1'::'<>t__builder' -IL_00db: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetResult() -IL_00e0: nop -IL_00e1: ret -} -.method private hidebysig newslot virtual final -instance void SetStateMachine(class [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed -{ -.override [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine -.maxstack 8 -IL_0000: ret -} -} -.class auto ansi sealed nested private beforefieldinit 'd__2' -extends [System.Runtime]System.Object -implements [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine -{ -.interfaceimpl type [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field public int32 '<>1__state' -.field public valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder '<>t__builder' -.field public class CatchAndFinally '<>4__this' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field private object '<>s__1' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field private int32 '<>s__2' -.field private valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter '<>u__1' -.method public hidebysig specialname rtspecialname -instance void .ctor() cil managed -{ -.maxstack 8 -IL_0000: ldarg.0 -IL_0001: call instance void [System.Runtime]System.Object::.ctor() -IL_0006: nop -IL_0007: ret -} -.method private hidebysig newslot virtual final -instance void MoveNext() cil managed -{ -.override [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext -.maxstack 3 -.locals init (int32 V_0, -object V_1, -int32 V_2, -valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter V_3, -valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable V_4, -class CatchAndFinally/'d__2' V_5, -class [System.Runtime]System.Exception V_6) -IL_0000: ldarg.0 -IL_0001: ldfld int32 CatchAndFinally/'d__2'::'<>1__state' -IL_0006: stloc.0 -.try -{ -IL_0007: ldloc.0 -IL_0008: brfalse.s IL_000c -IL_000a: br.s IL_000e -IL_000c: br.s IL_0080 -IL_000e: nop -IL_000f: ldarg.0 -IL_0010: ldc.i4.0 -IL_0011: stfld int32 CatchAndFinally/'d__2'::'<>s__2' -.try -{ -IL_0016: nop -IL_0017: newobj instance void [System.Runtime]System.NotImplementedException::.ctor() -IL_001c: throw -} // end .try -catch [System.Runtime]System.Object -{ -IL_001d: stloc.1 -IL_001e: ldarg.0 -IL_001f: ldloc.1 -IL_0020: stfld object CatchAndFinally/'d__2'::'<>s__1' -IL_0025: ldarg.0 -IL_0026: ldc.i4.1 -IL_0027: stfld int32 CatchAndFinally/'d__2'::'<>s__2' -IL_002c: leave.s IL_002e -} // end handler -IL_002e: ldarg.0 -IL_002f: ldfld int32 CatchAndFinally/'d__2'::'<>s__2' -IL_0034: stloc.2 -IL_0035: ldloc.2 -IL_0036: ldc.i4.1 -IL_0037: beq.s IL_003b -IL_0039: br.s IL_00a7 -IL_003b: nop -IL_003c: ldc.i4.1 -IL_003d: call class [System.Runtime]System.Threading.Tasks.Task [System.Runtime]System.Threading.Tasks.Task::Delay(int32) -IL_0042: ldc.i4.0 -IL_0043: callvirt instance valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable [System.Runtime]System.Threading.Tasks.Task::ConfigureAwait(bool) -IL_0048: stloc.s V_4 -IL_004a: ldloca.s V_4 -IL_004c: call instance valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable::GetAwaiter() -IL_0051: stloc.3 -IL_0052: ldloca.s V_3 -IL_0054: call instance bool [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter::get_IsCompleted() -IL_0059: brtrue.s IL_009c -IL_005b: ldarg.0 -IL_005c: ldc.i4.0 -IL_005d: dup -IL_005e: stloc.0 -IL_005f: stfld int32 CatchAndFinally/'d__2'::'<>1__state' -IL_0064: ldarg.0 -IL_0065: ldloc.3 -IL_0066: stfld valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter CatchAndFinally/'d__2'::'<>u__1' -IL_006b: ldarg.0 -IL_006c: stloc.s V_5 -IL_006e: ldarg.0 -IL_006f: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__2'::'<>t__builder' -IL_0074: ldloca.s V_3 -IL_0076: ldloca.s V_5 -IL_0078: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::AwaitUnsafeOnCompletedd__2'>(!!0&, -!!1&) -IL_007d: nop -IL_007e: leave.s IL_00de -IL_0080: ldarg.0 -IL_0081: ldfld valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter CatchAndFinally/'d__2'::'<>u__1' -IL_0086: stloc.3 -IL_0087: ldarg.0 -IL_0088: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter CatchAndFinally/'d__2'::'<>u__1' -IL_008d: initobj [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter -IL_0093: ldarg.0 -IL_0094: ldc.i4.m1 -IL_0095: dup -IL_0096: stloc.0 -IL_0097: stfld int32 CatchAndFinally/'d__2'::'<>1__state' -IL_009c: ldloca.s V_3 -IL_009e: call instance void [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter::GetResult() -IL_00a3: nop -IL_00a4: nop -IL_00a5: br.s IL_00a7 -IL_00a7: ldarg.0 -IL_00a8: ldnull -IL_00a9: stfld object CatchAndFinally/'d__2'::'<>s__1' -IL_00ae: leave.s IL_00ca -} // end .try -catch [System.Runtime]System.Exception -{ -IL_00b0: stloc.s V_6 -IL_00b2: ldarg.0 -IL_00b3: ldc.i4.s -2 -IL_00b5: stfld int32 CatchAndFinally/'d__2'::'<>1__state' -IL_00ba: ldarg.0 -IL_00bb: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__2'::'<>t__builder' -IL_00c0: ldloc.s V_6 -IL_00c2: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetException(class [System.Runtime]System.Exception) -IL_00c7: nop -IL_00c8: leave.s IL_00de -} // end handler -IL_00ca: ldarg.0 -IL_00cb: ldc.i4.s -2 -IL_00cd: stfld int32 CatchAndFinally/'d__2'::'<>1__state' -IL_00d2: ldarg.0 -IL_00d3: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__2'::'<>t__builder' -IL_00d8: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetResult() -IL_00dd: nop -IL_00de: ret -} -.method private hidebysig newslot virtual final -instance void SetStateMachine(class [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed -{ -.override [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine -.maxstack 8 -IL_0000: ret -} -} -.class auto ansi sealed nested private beforefieldinit 'd__3' -extends [System.Runtime]System.Object -implements [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine -{ -.interfaceimpl type [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field public int32 '<>1__state' -.field public valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder '<>t__builder' -.field public class CatchAndFinally '<>4__this' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field private object '<>s__1' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field private int32 '<>s__2' -.field private valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter '<>u__1' -.method public hidebysig specialname rtspecialname -instance void .ctor() cil managed -{ -.maxstack 8 -IL_0000: ldarg.0 -IL_0001: call instance void [System.Runtime]System.Object::.ctor() -IL_0006: nop -IL_0007: ret -} -.method private hidebysig newslot virtual final -instance void MoveNext() cil managed -{ -.override [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext -.maxstack 3 -.locals init (int32 V_0, -object V_1, -valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter V_2, -class CatchAndFinally/'d__3' V_3, -class [System.Runtime]System.Exception V_4) -IL_0000: ldarg.0 -IL_0001: ldfld int32 CatchAndFinally/'d__3'::'<>1__state' -IL_0006: stloc.0 -.try -{ -IL_0007: ldloc.0 -IL_0008: brfalse.s IL_000c -IL_000a: br.s IL_000e -IL_000c: br.s IL_006b -IL_000e: nop -IL_000f: ldarg.0 -IL_0010: ldnull -IL_0011: stfld object CatchAndFinally/'d__3'::'<>s__1' -IL_0016: ldarg.0 -IL_0017: ldc.i4.0 -IL_0018: stfld int32 CatchAndFinally/'d__3'::'<>s__2' -.try -{ -IL_001d: nop -IL_001e: newobj instance void [System.Runtime]System.NotImplementedException::.ctor() -IL_0023: throw -} // end .try -catch [System.Runtime]System.Object -{ -IL_0024: stloc.1 -IL_0025: ldarg.0 -IL_0026: ldloc.1 -IL_0027: stfld object CatchAndFinally/'d__3'::'<>s__1' -IL_002c: leave.s IL_002e -} // end handler -IL_002e: nop -IL_002f: ldc.i4.1 -IL_0030: call class [System.Runtime]System.Threading.Tasks.Task [System.Runtime]System.Threading.Tasks.Task::Delay(int32) -IL_0035: callvirt instance valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter [System.Runtime]System.Threading.Tasks.Task::GetAwaiter() -IL_003a: stloc.2 -IL_003b: ldloca.s V_2 -IL_003d: call instance bool [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter::get_IsCompleted() -IL_0042: brtrue.s IL_0087 -IL_0044: ldarg.0 -IL_0045: ldc.i4.0 -IL_0046: dup -IL_0047: stloc.0 -IL_0048: stfld int32 CatchAndFinally/'d__3'::'<>1__state' -IL_004d: ldarg.0 -IL_004e: ldloc.2 -IL_004f: stfld valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter CatchAndFinally/'d__3'::'<>u__1' -IL_0054: ldarg.0 -IL_0055: stloc.3 -IL_0056: ldarg.0 -IL_0057: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__3'::'<>t__builder' -IL_005c: ldloca.s V_2 -IL_005e: ldloca.s V_3 -IL_0060: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::AwaitUnsafeOnCompletedd__3'>(!!0&, -!!1&) -IL_0065: nop -IL_0066: leave IL_00f3 -IL_006b: ldarg.0 -IL_006c: ldfld valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter CatchAndFinally/'d__3'::'<>u__1' -IL_0071: stloc.2 -IL_0072: ldarg.0 -IL_0073: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter CatchAndFinally/'d__3'::'<>u__1' -IL_0078: initobj [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter -IL_007e: ldarg.0 -IL_007f: ldc.i4.m1 -IL_0080: dup -IL_0081: stloc.0 -IL_0082: stfld int32 CatchAndFinally/'d__3'::'<>1__state' -IL_0087: ldloca.s V_2 -IL_0089: call instance void [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter::GetResult() -IL_008e: nop -IL_008f: nop -IL_0090: ldarg.0 -IL_0091: ldfld object CatchAndFinally/'d__3'::'<>s__1' -IL_0096: stloc.1 -IL_0097: ldloc.1 -IL_0098: brfalse.s IL_00b5 -IL_009a: ldloc.1 -IL_009b: isinst [System.Runtime]System.Exception -IL_00a0: stloc.s V_4 -IL_00a2: ldloc.s V_4 -IL_00a4: brtrue.s IL_00a8 -IL_00a6: ldloc.1 -IL_00a7: throw -IL_00a8: ldloc.s V_4 -IL_00aa: call class [System.Runtime]System.Runtime.ExceptionServices.ExceptionDispatchInfo [System.Runtime]System.Runtime.ExceptionServices.ExceptionDispatchInfo::Capture(class [System.Runtime]System.Exception) -IL_00af: callvirt instance void [System.Runtime]System.Runtime.ExceptionServices.ExceptionDispatchInfo::Throw() -IL_00b4: nop -IL_00b5: ldarg.0 -IL_00b6: ldfld int32 CatchAndFinally/'d__3'::'<>s__2' -IL_00bb: pop -IL_00bc: ldarg.0 -IL_00bd: ldnull -IL_00be: stfld object CatchAndFinally/'d__3'::'<>s__1' -IL_00c3: leave.s IL_00df -} // end .try -catch [System.Runtime]System.Exception -{ -IL_00c5: stloc.s V_4 -IL_00c7: ldarg.0 -IL_00c8: ldc.i4.s -2 -IL_00ca: stfld int32 CatchAndFinally/'d__3'::'<>1__state' -IL_00cf: ldarg.0 -IL_00d0: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__3'::'<>t__builder' -IL_00d5: ldloc.s V_4 -IL_00d7: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetException(class [System.Runtime]System.Exception) -IL_00dc: nop -IL_00dd: leave.s IL_00f3 -} // end handler -IL_00df: ldarg.0 -IL_00e0: ldc.i4.s -2 -IL_00e2: stfld int32 CatchAndFinally/'d__3'::'<>1__state' -IL_00e7: ldarg.0 -IL_00e8: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__3'::'<>t__builder' -IL_00ed: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetResult() -IL_00f2: nop -IL_00f3: ret -} -.method private hidebysig newslot virtual final -instance void SetStateMachine(class [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed -{ -.override [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine -.maxstack 8 -IL_0000: ret -} -} -.class auto ansi sealed nested private beforefieldinit 'd__4' -extends [System.Runtime]System.Object -implements [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine -{ -.interfaceimpl type [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field public int32 '<>1__state' -.field public valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder '<>t__builder' -.field public class CatchAndFinally '<>4__this' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field private object '<>s__1' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field private int32 '<>s__2' -.field private valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter '<>u__1' -.method public hidebysig specialname rtspecialname -instance void .ctor() cil managed -{ -.maxstack 8 -IL_0000: ldarg.0 -IL_0001: call instance void [System.Runtime]System.Object::.ctor() -IL_0006: nop -IL_0007: ret -} -.method private hidebysig newslot virtual final -instance void MoveNext() cil managed -{ -.override [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext -.maxstack 3 -.locals init (int32 V_0, -object V_1, -valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter V_2, -valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable V_3, -class CatchAndFinally/'d__4' V_4, -class [System.Runtime]System.Exception V_5) -IL_0000: ldarg.0 -IL_0001: ldfld int32 CatchAndFinally/'d__4'::'<>1__state' -IL_0006: stloc.0 -.try -{ -IL_0007: ldloc.0 -IL_0008: brfalse.s IL_000c -IL_000a: br.s IL_000e -IL_000c: br.s IL_0075 -IL_000e: nop -IL_000f: ldarg.0 -IL_0010: ldnull -IL_0011: stfld object CatchAndFinally/'d__4'::'<>s__1' -IL_0016: ldarg.0 -IL_0017: ldc.i4.0 -IL_0018: stfld int32 CatchAndFinally/'d__4'::'<>s__2' -.try -{ -IL_001d: nop -IL_001e: newobj instance void [System.Runtime]System.NotImplementedException::.ctor() -IL_0023: throw -} // end .try -catch [System.Runtime]System.Object -{ -IL_0024: stloc.1 -IL_0025: ldarg.0 -IL_0026: ldloc.1 -IL_0027: stfld object CatchAndFinally/'d__4'::'<>s__1' -IL_002c: leave.s IL_002e -} // end handler -IL_002e: nop -IL_002f: ldc.i4.1 -IL_0030: call class [System.Runtime]System.Threading.Tasks.Task [System.Runtime]System.Threading.Tasks.Task::Delay(int32) -IL_0035: ldc.i4.0 -IL_0036: callvirt instance valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable [System.Private.CoreLib]System.Threading.Tasks.Task::ConfigureAwait(bool) -IL_003b: stloc.3 -IL_003c: ldloca.s V_3 -IL_003e: call instance valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable::GetAwaiter() -IL_0043: stloc.2 -IL_0044: ldloca.s V_2 -IL_0046: call instance bool [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter::get_IsCompleted() -IL_004b: brtrue.s IL_0091 -IL_004d: ldarg.0 -IL_004e: ldc.i4.0 -IL_004f: dup -IL_0050: stloc.0 -IL_0051: stfld int32 CatchAndFinally/'d__4'::'<>1__state' -IL_0056: ldarg.0 -IL_0057: ldloc.2 -IL_0058: stfld valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter CatchAndFinally/'d__4'::'<>u__1' -IL_005d: ldarg.0 -IL_005e: stloc.s V_4 -IL_0060: ldarg.0 -IL_0061: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__4'::'<>t__builder' -IL_0066: ldloca.s V_2 -IL_0068: ldloca.s V_4 -IL_006a: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::AwaitUnsafeOnCompletedd__4'>(!!0&, -!!1&) -IL_006f: nop -IL_0070: leave IL_00fd -IL_0075: ldarg.0 -IL_0076: ldfld valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter CatchAndFinally/'d__4'::'<>u__1' -IL_007b: stloc.2 -IL_007c: ldarg.0 -IL_007d: ldflda valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter CatchAndFinally/'d__4'::'<>u__1' -IL_0082: initobj [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter -IL_0088: ldarg.0 -IL_0089: ldc.i4.m1 -IL_008a: dup -IL_008b: stloc.0 -IL_008c: stfld int32 CatchAndFinally/'d__4'::'<>1__state' -IL_0091: ldloca.s V_2 -IL_0093: call instance void [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter::GetResult() -IL_0098: nop -IL_0099: nop -IL_009a: ldarg.0 -IL_009b: ldfld object CatchAndFinally/'d__4'::'<>s__1' -IL_00a0: stloc.1 -IL_00a1: ldloc.1 -IL_00a2: brfalse.s IL_00bf -IL_00a4: ldloc.1 -IL_00a5: isinst [System.Runtime]System.Exception -IL_00aa: stloc.s V_5 -IL_00ac: ldloc.s V_5 -IL_00ae: brtrue.s IL_00b2 -IL_00b0: ldloc.1 -IL_00b1: throw -IL_00b2: ldloc.s V_5 -IL_00b4: call class [System.Runtime]System.Runtime.ExceptionServices.ExceptionDispatchInfo [System.Runtime]System.Runtime.ExceptionServices.ExceptionDispatchInfo::Capture(class [System.Runtime]System.Exception) -IL_00b9: callvirt instance void [System.Runtime]System.Runtime.ExceptionServices.ExceptionDispatchInfo::Throw() -IL_00be: nop -IL_00bf: ldarg.0 -IL_00c0: ldfld int32 CatchAndFinally/'d__4'::'<>s__2' -IL_00c5: pop -IL_00c6: ldarg.0 -IL_00c7: ldnull -IL_00c8: stfld object CatchAndFinally/'d__4'::'<>s__1' -IL_00cd: leave.s IL_00e9 -} // end .try -catch [System.Runtime]System.Exception -{ -IL_00cf: stloc.s V_5 -IL_00d1: ldarg.0 -IL_00d2: ldc.i4.s -2 -IL_00d4: stfld int32 CatchAndFinally/'d__4'::'<>1__state' -IL_00d9: ldarg.0 -IL_00da: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__4'::'<>t__builder' -IL_00df: ldloc.s V_5 -IL_00e1: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetException(class [System.Runtime]System.Exception) -IL_00e6: nop -IL_00e7: leave.s IL_00fd -} // end handler -IL_00e9: ldarg.0 -IL_00ea: ldc.i4.s -2 -IL_00ec: stfld int32 CatchAndFinally/'d__4'::'<>1__state' -IL_00f1: ldarg.0 -IL_00f2: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__4'::'<>t__builder' -IL_00f7: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetResult() -IL_00fc: nop -IL_00fd: ret -} -.method private hidebysig newslot virtual final -instance void SetStateMachine(class [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed -{ -.override [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine -.maxstack 8 -IL_0000: ret -} -} -.class auto ansi sealed nested private beforefieldinit 'd__5' -extends [System.Runtime]System.Object -implements [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine -{ -.interfaceimpl type [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field public int32 '<>1__state' -.field public valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder '<>t__builder' -.field public class CatchAndFinally '<>4__this' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field private object '<>s__1' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field private int32 '<>s__2' -.field private valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter '<>u__1' -.method public hidebysig specialname rtspecialname -instance void .ctor() cil managed -{ -.maxstack 8 -IL_0000: ldarg.0 -IL_0001: call instance void [System.Runtime]System.Object::.ctor() -IL_0006: nop -IL_0007: ret -} -.method private hidebysig newslot virtual final -instance void MoveNext() cil managed -{ -.override [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext -.maxstack 3 -.locals init (int32 V_0, -object V_1, -valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter V_2, -valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable V_3, -class CatchAndFinally/'d__5' V_4, -class [System.Runtime]System.Exception V_5) -IL_0000: ldarg.0 -IL_0001: ldfld int32 CatchAndFinally/'d__5'::'<>1__state' -IL_0006: stloc.0 -.try -{ -IL_0007: ldloc.0 -IL_0008: brfalse.s IL_000c -IL_000a: br.s IL_000e -IL_000c: br.s IL_0075 -IL_000e: nop -IL_000f: ldarg.0 -IL_0010: ldnull -IL_0011: stfld object CatchAndFinally/'d__5'::'<>s__1' -IL_0016: ldarg.0 -IL_0017: ldc.i4.0 -IL_0018: stfld int32 CatchAndFinally/'d__5'::'<>s__2' -.try -{ -IL_001d: nop -IL_001e: newobj instance void [System.Runtime]System.NotImplementedException::.ctor() -IL_0023: throw -} // end .try -catch [System.Runtime]System.Object -{ -IL_0024: stloc.1 -IL_0025: ldarg.0 -IL_0026: ldloc.1 -IL_0027: stfld object CatchAndFinally/'d__5'::'<>s__1' -IL_002c: leave.s IL_002e -} // end handler -IL_002e: nop -IL_002f: ldc.i4.1 -IL_0030: call class [System.Runtime]System.Threading.Tasks.Task [System.Runtime]System.Threading.Tasks.Task::Delay(int32) -IL_0035: ldc.i4.0 -IL_0036: callvirt instance valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable [System.Runtime]System.Threading.Tasks.Task::ConfigureAwait(bool) -IL_003b: stloc.3 -IL_003c: ldloca.s V_3 -IL_003e: call instance valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable::GetAwaiter() -IL_0043: stloc.2 -IL_0044: ldloca.s V_2 -IL_0046: call instance bool [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter::get_IsCompleted() -IL_004b: brtrue.s IL_0091 -IL_004d: ldarg.0 -IL_004e: ldc.i4.0 -IL_004f: dup -IL_0050: stloc.0 -IL_0051: stfld int32 CatchAndFinally/'d__5'::'<>1__state' -IL_0056: ldarg.0 -IL_0057: ldloc.2 -IL_0058: stfld valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter CatchAndFinally/'d__5'::'<>u__1' -IL_005d: ldarg.0 -IL_005e: stloc.s V_4 -IL_0060: ldarg.0 -IL_0061: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__5'::'<>t__builder' -IL_0066: ldloca.s V_2 -IL_0068: ldloca.s V_4 -IL_006a: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::AwaitUnsafeOnCompletedd__5'>(!!0&, -!!1&) -IL_006f: nop -IL_0070: leave IL_00fd -IL_0075: ldarg.0 -IL_0076: ldfld valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter CatchAndFinally/'d__5'::'<>u__1' -IL_007b: stloc.2 -IL_007c: ldarg.0 -IL_007d: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter CatchAndFinally/'d__5'::'<>u__1' -IL_0082: initobj [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter -IL_0088: ldarg.0 -IL_0089: ldc.i4.m1 -IL_008a: dup -IL_008b: stloc.0 -IL_008c: stfld int32 CatchAndFinally/'d__5'::'<>1__state' -IL_0091: ldloca.s V_2 -IL_0093: call instance void [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter::GetResult() -IL_0098: nop -IL_0099: nop -IL_009a: ldarg.0 -IL_009b: ldfld object CatchAndFinally/'d__5'::'<>s__1' -IL_00a0: stloc.1 -IL_00a1: ldloc.1 -IL_00a2: brfalse.s IL_00bf -IL_00a4: ldloc.1 -IL_00a5: isinst [System.Runtime]System.Exception -IL_00aa: stloc.s V_5 -IL_00ac: ldloc.s V_5 -IL_00ae: brtrue.s IL_00b2 -IL_00b0: ldloc.1 -IL_00b1: throw -IL_00b2: ldloc.s V_5 -IL_00b4: call class [System.Runtime]System.Runtime.ExceptionServices.ExceptionDispatchInfo [System.Runtime]System.Runtime.ExceptionServices.ExceptionDispatchInfo::Capture(class [System.Runtime]System.Exception) -IL_00b9: callvirt instance void [System.Runtime]System.Runtime.ExceptionServices.ExceptionDispatchInfo::Throw() -IL_00be: nop -IL_00bf: ldarg.0 -IL_00c0: ldfld int32 CatchAndFinally/'d__5'::'<>s__2' -IL_00c5: pop -IL_00c6: ldarg.0 -IL_00c7: ldnull -IL_00c8: stfld object CatchAndFinally/'d__5'::'<>s__1' -IL_00cd: leave.s IL_00e9 -} // end .try -catch [System.Runtime]System.Exception -{ -IL_00cf: stloc.s V_5 -IL_00d1: ldarg.0 -IL_00d2: ldc.i4.s -2 -IL_00d4: stfld int32 CatchAndFinally/'d__5'::'<>1__state' -IL_00d9: ldarg.0 -IL_00da: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__5'::'<>t__builder' -IL_00df: ldloc.s V_5 -IL_00e1: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetException(class [System.Runtime]System.Exception) -IL_00e6: nop -IL_00e7: leave.s IL_00fd -} // end handler -IL_00e9: ldarg.0 -IL_00ea: ldc.i4.s -2 -IL_00ec: stfld int32 CatchAndFinally/'d__5'::'<>1__state' -IL_00f1: ldarg.0 -IL_00f2: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__5'::'<>t__builder' -IL_00f7: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetResult() -IL_00fc: nop -IL_00fd: ret -} -.method private hidebysig newslot virtual final -instance void SetStateMachine(class [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed -{ -.override [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine -.maxstack 8 -IL_0000: ret -} -} -.method public hidebysig instance class [System.Runtime]System.Threading.Tasks.Task -Catch1() cil managed -{ -6C 79 2B 3C 43 61 74 63 68 31 3E 64 5F 5F 30 00 // ly+d__0. -00 ) -.maxstack 2 -.locals init (class CatchAndFinally/'d__0' V_0) -IL_0000: newobj instance void CatchAndFinally/'d__0'::.ctor() -IL_0005: stloc.0 -IL_0006: ldloc.0 -IL_0007: call valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Create() -IL_000c: stfld valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__0'::'<>t__builder' -IL_0011: ldloc.0 -IL_0012: ldarg.0 -IL_0013: stfld class CatchAndFinally CatchAndFinally/'d__0'::'<>4__this' -IL_0018: ldloc.0 -IL_0019: ldc.i4.m1 -IL_001a: stfld int32 CatchAndFinally/'d__0'::'<>1__state' -IL_001f: ldloc.0 -IL_0020: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__0'::'<>t__builder' -IL_0025: ldloca.s V_0 -IL_0027: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Startd__0'>(!!0&) -IL_002c: ldloc.0 -IL_002d: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__0'::'<>t__builder' -IL_0032: call instance class [System.Runtime]System.Threading.Tasks.Task [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::get_Task() -IL_0037: ret -} -.method public hidebysig instance class [System.Runtime]System.Threading.Tasks.Task -Catch2() cil managed -{ -6C 79 2B 3C 43 61 74 63 68 32 3E 64 5F 5F 31 00 // ly+d__1. -00 ) -.maxstack 2 -.locals init (class CatchAndFinally/'d__1' V_0) -IL_0000: newobj instance void CatchAndFinally/'d__1'::.ctor() -IL_0005: stloc.0 -IL_0006: ldloc.0 -IL_0007: call valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Create() -IL_000c: stfld valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__1'::'<>t__builder' -IL_0011: ldloc.0 -IL_0012: ldarg.0 -IL_0013: stfld class CatchAndFinally CatchAndFinally/'d__1'::'<>4__this' -IL_0018: ldloc.0 -IL_0019: ldc.i4.m1 -IL_001a: stfld int32 CatchAndFinally/'d__1'::'<>1__state' -IL_001f: ldloc.0 -IL_0020: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__1'::'<>t__builder' -IL_0025: ldloca.s V_0 -IL_0027: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Startd__1'>(!!0&) -IL_002c: ldloc.0 -IL_002d: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__1'::'<>t__builder' -IL_0032: call instance class [System.Runtime]System.Threading.Tasks.Task [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::get_Task() -IL_0037: ret -} -.method public hidebysig instance class [System.Runtime]System.Threading.Tasks.Task -Catch3() cil managed -{ -6C 79 2B 3C 43 61 74 63 68 33 3E 64 5F 5F 32 00 // ly+d__2. -00 ) -.maxstack 2 -.locals init (class CatchAndFinally/'d__2' V_0) -IL_0000: newobj instance void CatchAndFinally/'d__2'::.ctor() -IL_0005: stloc.0 -IL_0006: ldloc.0 -IL_0007: call valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Create() -IL_000c: stfld valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__2'::'<>t__builder' -IL_0011: ldloc.0 -IL_0012: ldarg.0 -IL_0013: stfld class CatchAndFinally CatchAndFinally/'d__2'::'<>4__this' -IL_0018: ldloc.0 -IL_0019: ldc.i4.m1 -IL_001a: stfld int32 CatchAndFinally/'d__2'::'<>1__state' -IL_001f: ldloc.0 -IL_0020: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__2'::'<>t__builder' -IL_0025: ldloca.s V_0 -IL_0027: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Startd__2'>(!!0&) -IL_002c: ldloc.0 -IL_002d: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__2'::'<>t__builder' -IL_0032: call instance class [System.Runtime]System.Threading.Tasks.Task [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::get_Task() -IL_0037: ret -} -.method public hidebysig instance class [System.Runtime]System.Threading.Tasks.Task -Finally1() cil managed -{ -6C 79 2B 3C 46 69 6E 61 6C 6C 79 31 3E 64 5F 5F // ly+d__ -33 00 00 ) // 3.. -.maxstack 2 -.locals init (class CatchAndFinally/'d__3' V_0) -IL_0000: newobj instance void CatchAndFinally/'d__3'::.ctor() -IL_0005: stloc.0 -IL_0006: ldloc.0 -IL_0007: call valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Create() -IL_000c: stfld valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__3'::'<>t__builder' -IL_0011: ldloc.0 -IL_0012: ldarg.0 -IL_0013: stfld class CatchAndFinally CatchAndFinally/'d__3'::'<>4__this' -IL_0018: ldloc.0 -IL_0019: ldc.i4.m1 -IL_001a: stfld int32 CatchAndFinally/'d__3'::'<>1__state' -IL_001f: ldloc.0 -IL_0020: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__3'::'<>t__builder' -IL_0025: ldloca.s V_0 -IL_0027: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Startd__3'>(!!0&) -IL_002c: ldloc.0 -IL_002d: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__3'::'<>t__builder' -IL_0032: call instance class [System.Runtime]System.Threading.Tasks.Task [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::get_Task() -IL_0037: ret -} -.method public hidebysig instance class [System.Runtime]System.Threading.Tasks.Task -Finally2() cil managed -{ -6C 79 2B 3C 46 69 6E 61 6C 6C 79 32 3E 64 5F 5F // ly+d__ -34 00 00 ) // 4.. -.maxstack 2 -.locals init (class CatchAndFinally/'d__4' V_0) -IL_0000: newobj instance void CatchAndFinally/'d__4'::.ctor() -IL_0005: stloc.0 -IL_0006: ldloc.0 -IL_0007: call valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Create() -IL_000c: stfld valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__4'::'<>t__builder' -IL_0011: ldloc.0 -IL_0012: ldarg.0 -IL_0013: stfld class CatchAndFinally CatchAndFinally/'d__4'::'<>4__this' -IL_0018: ldloc.0 -IL_0019: ldc.i4.m1 -IL_001a: stfld int32 CatchAndFinally/'d__4'::'<>1__state' -IL_001f: ldloc.0 -IL_0020: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__4'::'<>t__builder' -IL_0025: ldloca.s V_0 -IL_0027: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Startd__4'>(!!0&) -IL_002c: ldloc.0 -IL_002d: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__4'::'<>t__builder' -IL_0032: call instance class [System.Runtime]System.Threading.Tasks.Task [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::get_Task() -IL_0037: ret -} -.method public hidebysig instance class [System.Runtime]System.Threading.Tasks.Task -Finally3() cil managed -{ -6C 79 2B 3C 46 69 6E 61 6C 6C 79 33 3E 64 5F 5F // ly+d__ -35 00 00 ) // 5.. -.maxstack 2 -.locals init (class CatchAndFinally/'d__5' V_0) -IL_0000: newobj instance void CatchAndFinally/'d__5'::.ctor() -IL_0005: stloc.0 -IL_0006: ldloc.0 -IL_0007: call valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Create() -IL_000c: stfld valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__5'::'<>t__builder' -IL_0011: ldloc.0 -IL_0012: ldarg.0 -IL_0013: stfld class CatchAndFinally CatchAndFinally/'d__5'::'<>4__this' -IL_0018: ldloc.0 -IL_0019: ldc.i4.m1 -IL_001a: stfld int32 CatchAndFinally/'d__5'::'<>1__state' -IL_001f: ldloc.0 -IL_0020: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__5'::'<>t__builder' -IL_0025: ldloca.s V_0 -IL_0027: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Startd__5'>(!!0&) -IL_002c: ldloc.0 -IL_002d: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__5'::'<>t__builder' -IL_0032: call instance class [System.Runtime]System.Threading.Tasks.Task [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::get_Task() -IL_0037: ret -} -.method public hidebysig specialname rtspecialname -instance void .ctor() cil managed -{ -.maxstack 8 -IL_0000: ldarg.0 -IL_0001: call instance void [System.Runtime]System.Object::.ctor() -IL_0006: nop -IL_0007: ret -} -} diff --git a/Tests/ModuleWeaverTests.DecompileCatchAndFinally.DotNet.Release.verified.txt b/Tests/ModuleWeaverTests.DecompileCatchAndFinally.DotNet.Release.verified.txt deleted file mode 100644 index 8a50f25..0000000 --- a/Tests/ModuleWeaverTests.DecompileCatchAndFinally.DotNet.Release.verified.txt +++ /dev/null @@ -1,895 +0,0 @@ -.class public auto ansi beforefieldinit CatchAndFinally -extends [System.Runtime]System.Object -{ -.custom instance void System.Runtime.CompilerServices.NullableContextAttribute::.ctor(uint8) = ( 01 00 01 00 00 ) -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.class auto ansi sealed nested private beforefieldinit 'd__0' -extends [System.Runtime]System.ValueType -implements [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine -{ -.interfaceimpl type [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field public int32 '<>1__state' -.field public valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder '<>t__builder' -.field private valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter '<>u__1' -.method private hidebysig newslot virtual final -instance void MoveNext() cil managed -{ -.override [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext -.maxstack 3 -.locals init (int32 V_0, -int32 V_1, -valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter V_2, -class [System.Runtime]System.Exception V_3) -IL_0000: ldarg.0 -IL_0001: ldfld int32 CatchAndFinally/'d__0'::'<>1__state' -IL_0006: stloc.0 -.try -{ -IL_0007: ldloc.0 -IL_0008: brfalse.s IL_0050 -IL_000a: ldc.i4.0 -IL_000b: stloc.1 -.try -{ -IL_000c: newobj instance void [System.Runtime]System.NotImplementedException::.ctor() -IL_0011: throw -} // end .try -catch [System.Runtime]System.Object -{ -IL_0012: pop -IL_0013: ldc.i4.1 -IL_0014: stloc.1 -IL_0015: leave.s IL_0017 -} // end handler -IL_0017: ldloc.1 -IL_0018: ldc.i4.1 -IL_0019: bne.un.s IL_0073 -IL_001b: ldc.i4.1 -IL_001c: call class [System.Runtime]System.Threading.Tasks.Task [System.Runtime]System.Threading.Tasks.Task::Delay(int32) -IL_0021: callvirt instance valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter [System.Runtime]System.Threading.Tasks.Task::GetAwaiter() -IL_0026: stloc.2 -IL_0027: ldloca.s V_2 -IL_0029: call instance bool [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter::get_IsCompleted() -IL_002e: brtrue.s IL_006c -IL_0030: ldarg.0 -IL_0031: ldc.i4.0 -IL_0032: dup -IL_0033: stloc.0 -IL_0034: stfld int32 CatchAndFinally/'d__0'::'<>1__state' -IL_0039: ldarg.0 -IL_003a: ldloc.2 -IL_003b: stfld valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter CatchAndFinally/'d__0'::'<>u__1' -IL_0040: ldarg.0 -IL_0041: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__0'::'<>t__builder' -IL_0046: ldloca.s V_2 -IL_0048: ldarg.0 -IL_0049: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::AwaitUnsafeOnCompletedd__0'>(!!0&, -!!1&) -IL_004e: leave.s IL_009f -IL_0050: ldarg.0 -IL_0051: ldfld valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter CatchAndFinally/'d__0'::'<>u__1' -IL_0056: stloc.2 -IL_0057: ldarg.0 -IL_0058: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter CatchAndFinally/'d__0'::'<>u__1' -IL_005d: initobj [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter -IL_0063: ldarg.0 -IL_0064: ldc.i4.m1 -IL_0065: dup -IL_0066: stloc.0 -IL_0067: stfld int32 CatchAndFinally/'d__0'::'<>1__state' -IL_006c: ldloca.s V_2 -IL_006e: call instance void [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter::GetResult() -IL_0073: leave.s IL_008c -} // end .try -catch [System.Runtime]System.Exception -{ -IL_0075: stloc.3 -IL_0076: ldarg.0 -IL_0077: ldc.i4.s -2 -IL_0079: stfld int32 CatchAndFinally/'d__0'::'<>1__state' -IL_007e: ldarg.0 -IL_007f: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__0'::'<>t__builder' -IL_0084: ldloc.3 -IL_0085: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetException(class [System.Runtime]System.Exception) -IL_008a: leave.s IL_009f -} // end handler -IL_008c: ldarg.0 -IL_008d: ldc.i4.s -2 -IL_008f: stfld int32 CatchAndFinally/'d__0'::'<>1__state' -IL_0094: ldarg.0 -IL_0095: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__0'::'<>t__builder' -IL_009a: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetResult() -IL_009f: ret -} -.method private hidebysig newslot virtual final -instance void SetStateMachine(class [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed -{ -.override [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine -.maxstack 8 -IL_0000: ldarg.0 -IL_0001: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__0'::'<>t__builder' -IL_0006: ldarg.1 -IL_0007: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetStateMachine(class [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine) -IL_000c: ret -} -} -.class auto ansi sealed nested private beforefieldinit 'd__1' -extends [System.Runtime]System.ValueType -implements [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine -{ -.interfaceimpl type [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field public int32 '<>1__state' -.field public valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder '<>t__builder' -.field private valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter '<>u__1' -.method private hidebysig newslot virtual final -instance void MoveNext() cil managed -{ -.override [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext -.maxstack 3 -.locals init (int32 V_0, -int32 V_1, -valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter V_2, -valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable V_3, -class [System.Runtime]System.Exception V_4) -IL_0000: ldarg.0 -IL_0001: ldfld int32 CatchAndFinally/'d__1'::'<>1__state' -IL_0006: stloc.0 -.try -{ -IL_0007: ldloc.0 -IL_0008: brfalse.s IL_0059 -IL_000a: ldc.i4.0 -IL_000b: stloc.1 -.try -{ -IL_000c: newobj instance void [System.Runtime]System.NotImplementedException::.ctor() -IL_0011: throw -} // end .try -catch [System.Runtime]System.Object -{ -IL_0012: pop -IL_0013: ldc.i4.1 -IL_0014: stloc.1 -IL_0015: leave.s IL_0017 -} // end handler -IL_0017: ldloc.1 -IL_0018: ldc.i4.1 -IL_0019: bne.un.s IL_007c -IL_001b: ldc.i4.1 -IL_001c: call class [System.Runtime]System.Threading.Tasks.Task [System.Runtime]System.Threading.Tasks.Task::Delay(int32) -IL_0021: ldc.i4.0 -IL_0022: callvirt instance valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable [System.Private.CoreLib]System.Threading.Tasks.Task::ConfigureAwait(bool) -IL_0027: stloc.3 -IL_0028: ldloca.s V_3 -IL_002a: call instance valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable::GetAwaiter() -IL_002f: stloc.2 -IL_0030: ldloca.s V_2 -IL_0032: call instance bool [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter::get_IsCompleted() -IL_0037: brtrue.s IL_0075 -IL_0039: ldarg.0 -IL_003a: ldc.i4.0 -IL_003b: dup -IL_003c: stloc.0 -IL_003d: stfld int32 CatchAndFinally/'d__1'::'<>1__state' -IL_0042: ldarg.0 -IL_0043: ldloc.2 -IL_0044: stfld valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter CatchAndFinally/'d__1'::'<>u__1' -IL_0049: ldarg.0 -IL_004a: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__1'::'<>t__builder' -IL_004f: ldloca.s V_2 -IL_0051: ldarg.0 -IL_0052: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::AwaitUnsafeOnCompletedd__1'>(!!0&, -!!1&) -IL_0057: leave.s IL_00aa -IL_0059: ldarg.0 -IL_005a: ldfld valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter CatchAndFinally/'d__1'::'<>u__1' -IL_005f: stloc.2 -IL_0060: ldarg.0 -IL_0061: ldflda valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter CatchAndFinally/'d__1'::'<>u__1' -IL_0066: initobj [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter -IL_006c: ldarg.0 -IL_006d: ldc.i4.m1 -IL_006e: dup -IL_006f: stloc.0 -IL_0070: stfld int32 CatchAndFinally/'d__1'::'<>1__state' -IL_0075: ldloca.s V_2 -IL_0077: call instance void [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter::GetResult() -IL_007c: leave.s IL_0097 -} // end .try -catch [System.Runtime]System.Exception -{ -IL_007e: stloc.s V_4 -IL_0080: ldarg.0 -IL_0081: ldc.i4.s -2 -IL_0083: stfld int32 CatchAndFinally/'d__1'::'<>1__state' -IL_0088: ldarg.0 -IL_0089: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__1'::'<>t__builder' -IL_008e: ldloc.s V_4 -IL_0090: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetException(class [System.Runtime]System.Exception) -IL_0095: leave.s IL_00aa -} // end handler -IL_0097: ldarg.0 -IL_0098: ldc.i4.s -2 -IL_009a: stfld int32 CatchAndFinally/'d__1'::'<>1__state' -IL_009f: ldarg.0 -IL_00a0: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__1'::'<>t__builder' -IL_00a5: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetResult() -IL_00aa: ret -} -.method private hidebysig newslot virtual final -instance void SetStateMachine(class [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed -{ -.override [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine -.maxstack 8 -IL_0000: ldarg.0 -IL_0001: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__1'::'<>t__builder' -IL_0006: ldarg.1 -IL_0007: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetStateMachine(class [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine) -IL_000c: ret -} -} -.class auto ansi sealed nested private beforefieldinit 'd__2' -extends [System.Runtime]System.ValueType -implements [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine -{ -.interfaceimpl type [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field public int32 '<>1__state' -.field public valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder '<>t__builder' -.field private valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter '<>u__1' -.method private hidebysig newslot virtual final -instance void MoveNext() cil managed -{ -.override [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext -.maxstack 3 -.locals init (int32 V_0, -int32 V_1, -valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter V_2, -valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable V_3, -class [System.Runtime]System.Exception V_4) -IL_0000: ldarg.0 -IL_0001: ldfld int32 CatchAndFinally/'d__2'::'<>1__state' -IL_0006: stloc.0 -.try -{ -IL_0007: ldloc.0 -IL_0008: brfalse.s IL_0059 -IL_000a: ldc.i4.0 -IL_000b: stloc.1 -.try -{ -IL_000c: newobj instance void [System.Runtime]System.NotImplementedException::.ctor() -IL_0011: throw -} // end .try -catch [System.Runtime]System.Object -{ -IL_0012: pop -IL_0013: ldc.i4.1 -IL_0014: stloc.1 -IL_0015: leave.s IL_0017 -} // end handler -IL_0017: ldloc.1 -IL_0018: ldc.i4.1 -IL_0019: bne.un.s IL_007c -IL_001b: ldc.i4.1 -IL_001c: call class [System.Runtime]System.Threading.Tasks.Task [System.Runtime]System.Threading.Tasks.Task::Delay(int32) -IL_0021: ldc.i4.0 -IL_0022: callvirt instance valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable [System.Runtime]System.Threading.Tasks.Task::ConfigureAwait(bool) -IL_0027: stloc.3 -IL_0028: ldloca.s V_3 -IL_002a: call instance valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable::GetAwaiter() -IL_002f: stloc.2 -IL_0030: ldloca.s V_2 -IL_0032: call instance bool [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter::get_IsCompleted() -IL_0037: brtrue.s IL_0075 -IL_0039: ldarg.0 -IL_003a: ldc.i4.0 -IL_003b: dup -IL_003c: stloc.0 -IL_003d: stfld int32 CatchAndFinally/'d__2'::'<>1__state' -IL_0042: ldarg.0 -IL_0043: ldloc.2 -IL_0044: stfld valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter CatchAndFinally/'d__2'::'<>u__1' -IL_0049: ldarg.0 -IL_004a: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__2'::'<>t__builder' -IL_004f: ldloca.s V_2 -IL_0051: ldarg.0 -IL_0052: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::AwaitUnsafeOnCompletedd__2'>(!!0&, -!!1&) -IL_0057: leave.s IL_00aa -IL_0059: ldarg.0 -IL_005a: ldfld valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter CatchAndFinally/'d__2'::'<>u__1' -IL_005f: stloc.2 -IL_0060: ldarg.0 -IL_0061: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter CatchAndFinally/'d__2'::'<>u__1' -IL_0066: initobj [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter -IL_006c: ldarg.0 -IL_006d: ldc.i4.m1 -IL_006e: dup -IL_006f: stloc.0 -IL_0070: stfld int32 CatchAndFinally/'d__2'::'<>1__state' -IL_0075: ldloca.s V_2 -IL_0077: call instance void [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter::GetResult() -IL_007c: leave.s IL_0097 -} // end .try -catch [System.Runtime]System.Exception -{ -IL_007e: stloc.s V_4 -IL_0080: ldarg.0 -IL_0081: ldc.i4.s -2 -IL_0083: stfld int32 CatchAndFinally/'d__2'::'<>1__state' -IL_0088: ldarg.0 -IL_0089: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__2'::'<>t__builder' -IL_008e: ldloc.s V_4 -IL_0090: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetException(class [System.Runtime]System.Exception) -IL_0095: leave.s IL_00aa -} // end handler -IL_0097: ldarg.0 -IL_0098: ldc.i4.s -2 -IL_009a: stfld int32 CatchAndFinally/'d__2'::'<>1__state' -IL_009f: ldarg.0 -IL_00a0: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__2'::'<>t__builder' -IL_00a5: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetResult() -IL_00aa: ret -} -.method private hidebysig newslot virtual final -instance void SetStateMachine(class [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed -{ -.override [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine -.maxstack 8 -IL_0000: ldarg.0 -IL_0001: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__2'::'<>t__builder' -IL_0006: ldarg.1 -IL_0007: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetStateMachine(class [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine) -IL_000c: ret -} -} -.class auto ansi sealed nested private beforefieldinit 'd__3' -extends [System.Runtime]System.ValueType -implements [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine -{ -.interfaceimpl type [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field public int32 '<>1__state' -.field public valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder '<>t__builder' -.field private object '<>7__wrap1' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field private int32 '<>7__wrap2' -.field private valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter '<>u__1' -.method private hidebysig newslot virtual final -instance void MoveNext() cil managed -{ -.override [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext -.maxstack 3 -.locals init (int32 V_0, -object V_1, -valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter V_2, -class [System.Runtime]System.Exception V_3) -IL_0000: ldarg.0 -IL_0001: ldfld int32 CatchAndFinally/'d__3'::'<>1__state' -IL_0006: stloc.0 -.try -{ -IL_0007: ldloc.0 -IL_0008: brfalse.s IL_005d -IL_000a: ldarg.0 -IL_000b: ldnull -IL_000c: stfld object CatchAndFinally/'d__3'::'<>7__wrap1' -IL_0011: ldarg.0 -IL_0012: ldc.i4.0 -IL_0013: stfld int32 CatchAndFinally/'d__3'::'<>7__wrap2' -.try -{ -IL_0018: newobj instance void [System.Runtime]System.NotImplementedException::.ctor() -IL_001d: throw -} // end .try -catch [System.Runtime]System.Object -{ -IL_001e: stloc.1 -IL_001f: ldarg.0 -IL_0020: ldloc.1 -IL_0021: stfld object CatchAndFinally/'d__3'::'<>7__wrap1' -IL_0026: leave.s IL_0028 -} // end handler -IL_0028: ldc.i4.1 -IL_0029: call class [System.Runtime]System.Threading.Tasks.Task [System.Runtime]System.Threading.Tasks.Task::Delay(int32) -IL_002e: callvirt instance valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter [System.Runtime]System.Threading.Tasks.Task::GetAwaiter() -IL_0033: stloc.2 -IL_0034: ldloca.s V_2 -IL_0036: call instance bool [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter::get_IsCompleted() -IL_003b: brtrue.s IL_0079 -IL_003d: ldarg.0 -IL_003e: ldc.i4.0 -IL_003f: dup -IL_0040: stloc.0 -IL_0041: stfld int32 CatchAndFinally/'d__3'::'<>1__state' -IL_0046: ldarg.0 -IL_0047: ldloc.2 -IL_0048: stfld valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter CatchAndFinally/'d__3'::'<>u__1' -IL_004d: ldarg.0 -IL_004e: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__3'::'<>t__builder' -IL_0053: ldloca.s V_2 -IL_0055: ldarg.0 -IL_0056: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::AwaitUnsafeOnCompletedd__3'>(!!0&, -!!1&) -IL_005b: leave.s IL_00d2 -IL_005d: ldarg.0 -IL_005e: ldfld valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter CatchAndFinally/'d__3'::'<>u__1' -IL_0063: stloc.2 -IL_0064: ldarg.0 -IL_0065: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter CatchAndFinally/'d__3'::'<>u__1' -IL_006a: initobj [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter -IL_0070: ldarg.0 -IL_0071: ldc.i4.m1 -IL_0072: dup -IL_0073: stloc.0 -IL_0074: stfld int32 CatchAndFinally/'d__3'::'<>1__state' -IL_0079: ldloca.s V_2 -IL_007b: call instance void [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter::GetResult() -IL_0080: ldarg.0 -IL_0081: ldfld object CatchAndFinally/'d__3'::'<>7__wrap1' -IL_0086: stloc.1 -IL_0087: ldloc.1 -IL_0088: brfalse.s IL_009f -IL_008a: ldloc.1 -IL_008b: isinst [System.Runtime]System.Exception -IL_0090: dup -IL_0091: brtrue.s IL_0095 -IL_0093: ldloc.1 -IL_0094: throw -IL_0095: call class [System.Runtime]System.Runtime.ExceptionServices.ExceptionDispatchInfo [System.Runtime]System.Runtime.ExceptionServices.ExceptionDispatchInfo::Capture(class [System.Runtime]System.Exception) -IL_009a: callvirt instance void [System.Runtime]System.Runtime.ExceptionServices.ExceptionDispatchInfo::Throw() -IL_009f: ldarg.0 -IL_00a0: ldnull -IL_00a1: stfld object CatchAndFinally/'d__3'::'<>7__wrap1' -IL_00a6: leave.s IL_00bf -} // end .try -catch [System.Runtime]System.Exception -{ -IL_00a8: stloc.3 -IL_00a9: ldarg.0 -IL_00aa: ldc.i4.s -2 -IL_00ac: stfld int32 CatchAndFinally/'d__3'::'<>1__state' -IL_00b1: ldarg.0 -IL_00b2: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__3'::'<>t__builder' -IL_00b7: ldloc.3 -IL_00b8: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetException(class [System.Runtime]System.Exception) -IL_00bd: leave.s IL_00d2 -} // end handler -IL_00bf: ldarg.0 -IL_00c0: ldc.i4.s -2 -IL_00c2: stfld int32 CatchAndFinally/'d__3'::'<>1__state' -IL_00c7: ldarg.0 -IL_00c8: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__3'::'<>t__builder' -IL_00cd: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetResult() -IL_00d2: ret -} -.method private hidebysig newslot virtual final -instance void SetStateMachine(class [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed -{ -.override [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine -.maxstack 8 -IL_0000: ldarg.0 -IL_0001: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__3'::'<>t__builder' -IL_0006: ldarg.1 -IL_0007: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetStateMachine(class [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine) -IL_000c: ret -} -} -.class auto ansi sealed nested private beforefieldinit 'd__4' -extends [System.Runtime]System.ValueType -implements [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine -{ -.interfaceimpl type [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field public int32 '<>1__state' -.field public valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder '<>t__builder' -.field private object '<>7__wrap1' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field private int32 '<>7__wrap2' -.field private valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter '<>u__1' -.method private hidebysig newslot virtual final -instance void MoveNext() cil managed -{ -.override [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext -.maxstack 3 -.locals init (int32 V_0, -object V_1, -valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter V_2, -valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable V_3, -class [System.Runtime]System.Exception V_4) -IL_0000: ldarg.0 -IL_0001: ldfld int32 CatchAndFinally/'d__4'::'<>1__state' -IL_0006: stloc.0 -.try -{ -IL_0007: ldloc.0 -IL_0008: brfalse.s IL_0069 -IL_000a: ldarg.0 -IL_000b: ldnull -IL_000c: stfld object CatchAndFinally/'d__4'::'<>7__wrap1' -IL_0011: ldarg.0 -IL_0012: ldc.i4.0 -IL_0013: stfld int32 CatchAndFinally/'d__4'::'<>7__wrap2' -.try -{ -IL_0018: newobj instance void [System.Runtime]System.NotImplementedException::.ctor() -IL_001d: throw -} // end .try -catch [System.Runtime]System.Object -{ -IL_001e: stloc.1 -IL_001f: ldarg.0 -IL_0020: ldloc.1 -IL_0021: stfld object CatchAndFinally/'d__4'::'<>7__wrap1' -IL_0026: leave.s IL_0028 -} // end handler -IL_0028: ldc.i4.1 -IL_0029: call class [System.Runtime]System.Threading.Tasks.Task [System.Runtime]System.Threading.Tasks.Task::Delay(int32) -IL_002e: ldc.i4.0 -IL_002f: callvirt instance valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable [System.Private.CoreLib]System.Threading.Tasks.Task::ConfigureAwait(bool) -IL_0034: stloc.3 -IL_0035: ldloca.s V_3 -IL_0037: call instance valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable::GetAwaiter() -IL_003c: stloc.2 -IL_003d: ldloca.s V_2 -IL_003f: call instance bool [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter::get_IsCompleted() -IL_0044: brtrue.s IL_0085 -IL_0046: ldarg.0 -IL_0047: ldc.i4.0 -IL_0048: dup -IL_0049: stloc.0 -IL_004a: stfld int32 CatchAndFinally/'d__4'::'<>1__state' -IL_004f: ldarg.0 -IL_0050: ldloc.2 -IL_0051: stfld valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter CatchAndFinally/'d__4'::'<>u__1' -IL_0056: ldarg.0 -IL_0057: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__4'::'<>t__builder' -IL_005c: ldloca.s V_2 -IL_005e: ldarg.0 -IL_005f: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::AwaitUnsafeOnCompletedd__4'>(!!0&, -!!1&) -IL_0064: leave IL_00e0 -IL_0069: ldarg.0 -IL_006a: ldfld valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter CatchAndFinally/'d__4'::'<>u__1' -IL_006f: stloc.2 -IL_0070: ldarg.0 -IL_0071: ldflda valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter CatchAndFinally/'d__4'::'<>u__1' -IL_0076: initobj [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter -IL_007c: ldarg.0 -IL_007d: ldc.i4.m1 -IL_007e: dup -IL_007f: stloc.0 -IL_0080: stfld int32 CatchAndFinally/'d__4'::'<>1__state' -IL_0085: ldloca.s V_2 -IL_0087: call instance void [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter::GetResult() -IL_008c: ldarg.0 -IL_008d: ldfld object CatchAndFinally/'d__4'::'<>7__wrap1' -IL_0092: stloc.1 -IL_0093: ldloc.1 -IL_0094: brfalse.s IL_00ab -IL_0096: ldloc.1 -IL_0097: isinst [System.Runtime]System.Exception -IL_009c: dup -IL_009d: brtrue.s IL_00a1 -IL_009f: ldloc.1 -IL_00a0: throw -IL_00a1: call class [System.Runtime]System.Runtime.ExceptionServices.ExceptionDispatchInfo [System.Runtime]System.Runtime.ExceptionServices.ExceptionDispatchInfo::Capture(class [System.Runtime]System.Exception) -IL_00a6: callvirt instance void [System.Runtime]System.Runtime.ExceptionServices.ExceptionDispatchInfo::Throw() -IL_00ab: ldarg.0 -IL_00ac: ldnull -IL_00ad: stfld object CatchAndFinally/'d__4'::'<>7__wrap1' -IL_00b2: leave.s IL_00cd -} // end .try -catch [System.Runtime]System.Exception -{ -IL_00b4: stloc.s V_4 -IL_00b6: ldarg.0 -IL_00b7: ldc.i4.s -2 -IL_00b9: stfld int32 CatchAndFinally/'d__4'::'<>1__state' -IL_00be: ldarg.0 -IL_00bf: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__4'::'<>t__builder' -IL_00c4: ldloc.s V_4 -IL_00c6: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetException(class [System.Runtime]System.Exception) -IL_00cb: leave.s IL_00e0 -} // end handler -IL_00cd: ldarg.0 -IL_00ce: ldc.i4.s -2 -IL_00d0: stfld int32 CatchAndFinally/'d__4'::'<>1__state' -IL_00d5: ldarg.0 -IL_00d6: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__4'::'<>t__builder' -IL_00db: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetResult() -IL_00e0: ret -} -.method private hidebysig newslot virtual final -instance void SetStateMachine(class [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed -{ -.override [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine -.maxstack 8 -IL_0000: ldarg.0 -IL_0001: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__4'::'<>t__builder' -IL_0006: ldarg.1 -IL_0007: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetStateMachine(class [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine) -IL_000c: ret -} -} -.class auto ansi sealed nested private beforefieldinit 'd__5' -extends [System.Runtime]System.ValueType -implements [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine -{ -.interfaceimpl type [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field public int32 '<>1__state' -.field public valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder '<>t__builder' -.field private object '<>7__wrap1' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field private int32 '<>7__wrap2' -.field private valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter '<>u__1' -.method private hidebysig newslot virtual final -instance void MoveNext() cil managed -{ -.override [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext -.maxstack 3 -.locals init (int32 V_0, -object V_1, -valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter V_2, -valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable V_3, -class [System.Runtime]System.Exception V_4) -IL_0000: ldarg.0 -IL_0001: ldfld int32 CatchAndFinally/'d__5'::'<>1__state' -IL_0006: stloc.0 -.try -{ -IL_0007: ldloc.0 -IL_0008: brfalse.s IL_0066 -IL_000a: ldarg.0 -IL_000b: ldnull -IL_000c: stfld object CatchAndFinally/'d__5'::'<>7__wrap1' -IL_0011: ldarg.0 -IL_0012: ldc.i4.0 -IL_0013: stfld int32 CatchAndFinally/'d__5'::'<>7__wrap2' -.try -{ -IL_0018: newobj instance void [System.Runtime]System.NotImplementedException::.ctor() -IL_001d: throw -} // end .try -catch [System.Runtime]System.Object -{ -IL_001e: stloc.1 -IL_001f: ldarg.0 -IL_0020: ldloc.1 -IL_0021: stfld object CatchAndFinally/'d__5'::'<>7__wrap1' -IL_0026: leave.s IL_0028 -} // end handler -IL_0028: ldc.i4.1 -IL_0029: call class [System.Runtime]System.Threading.Tasks.Task [System.Runtime]System.Threading.Tasks.Task::Delay(int32) -IL_002e: ldc.i4.0 -IL_002f: callvirt instance valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable [System.Runtime]System.Threading.Tasks.Task::ConfigureAwait(bool) -IL_0034: stloc.3 -IL_0035: ldloca.s V_3 -IL_0037: call instance valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable::GetAwaiter() -IL_003c: stloc.2 -IL_003d: ldloca.s V_2 -IL_003f: call instance bool [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter::get_IsCompleted() -IL_0044: brtrue.s IL_0082 -IL_0046: ldarg.0 -IL_0047: ldc.i4.0 -IL_0048: dup -IL_0049: stloc.0 -IL_004a: stfld int32 CatchAndFinally/'d__5'::'<>1__state' -IL_004f: ldarg.0 -IL_0050: ldloc.2 -IL_0051: stfld valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter CatchAndFinally/'d__5'::'<>u__1' -IL_0056: ldarg.0 -IL_0057: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__5'::'<>t__builder' -IL_005c: ldloca.s V_2 -IL_005e: ldarg.0 -IL_005f: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::AwaitUnsafeOnCompletedd__5'>(!!0&, -!!1&) -IL_0064: leave.s IL_00dd -IL_0066: ldarg.0 -IL_0067: ldfld valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter CatchAndFinally/'d__5'::'<>u__1' -IL_006c: stloc.2 -IL_006d: ldarg.0 -IL_006e: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter CatchAndFinally/'d__5'::'<>u__1' -IL_0073: initobj [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter -IL_0079: ldarg.0 -IL_007a: ldc.i4.m1 -IL_007b: dup -IL_007c: stloc.0 -IL_007d: stfld int32 CatchAndFinally/'d__5'::'<>1__state' -IL_0082: ldloca.s V_2 -IL_0084: call instance void [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter::GetResult() -IL_0089: ldarg.0 -IL_008a: ldfld object CatchAndFinally/'d__5'::'<>7__wrap1' -IL_008f: stloc.1 -IL_0090: ldloc.1 -IL_0091: brfalse.s IL_00a8 -IL_0093: ldloc.1 -IL_0094: isinst [System.Runtime]System.Exception -IL_0099: dup -IL_009a: brtrue.s IL_009e -IL_009c: ldloc.1 -IL_009d: throw -IL_009e: call class [System.Runtime]System.Runtime.ExceptionServices.ExceptionDispatchInfo [System.Runtime]System.Runtime.ExceptionServices.ExceptionDispatchInfo::Capture(class [System.Runtime]System.Exception) -IL_00a3: callvirt instance void [System.Runtime]System.Runtime.ExceptionServices.ExceptionDispatchInfo::Throw() -IL_00a8: ldarg.0 -IL_00a9: ldnull -IL_00aa: stfld object CatchAndFinally/'d__5'::'<>7__wrap1' -IL_00af: leave.s IL_00ca -} // end .try -catch [System.Runtime]System.Exception -{ -IL_00b1: stloc.s V_4 -IL_00b3: ldarg.0 -IL_00b4: ldc.i4.s -2 -IL_00b6: stfld int32 CatchAndFinally/'d__5'::'<>1__state' -IL_00bb: ldarg.0 -IL_00bc: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__5'::'<>t__builder' -IL_00c1: ldloc.s V_4 -IL_00c3: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetException(class [System.Runtime]System.Exception) -IL_00c8: leave.s IL_00dd -} // end handler -IL_00ca: ldarg.0 -IL_00cb: ldc.i4.s -2 -IL_00cd: stfld int32 CatchAndFinally/'d__5'::'<>1__state' -IL_00d2: ldarg.0 -IL_00d3: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__5'::'<>t__builder' -IL_00d8: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetResult() -IL_00dd: ret -} -.method private hidebysig newslot virtual final -instance void SetStateMachine(class [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed -{ -.override [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine -.maxstack 8 -IL_0000: ldarg.0 -IL_0001: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__5'::'<>t__builder' -IL_0006: ldarg.1 -IL_0007: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetStateMachine(class [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine) -IL_000c: ret -} -} -.method public hidebysig instance class [System.Runtime]System.Threading.Tasks.Task -Catch1() cil managed -{ -6C 79 2B 3C 43 61 74 63 68 31 3E 64 5F 5F 30 00 // ly+d__0. -00 ) -.maxstack 2 -.locals init (valuetype CatchAndFinally/'d__0' V_0) -IL_0000: ldloca.s V_0 -IL_0002: call valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Create() -IL_0007: stfld valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__0'::'<>t__builder' -IL_000c: ldloca.s V_0 -IL_000e: ldc.i4.m1 -IL_000f: stfld int32 CatchAndFinally/'d__0'::'<>1__state' -IL_0014: ldloca.s V_0 -IL_0016: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__0'::'<>t__builder' -IL_001b: ldloca.s V_0 -IL_001d: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Startd__0'>(!!0&) -IL_0022: ldloca.s V_0 -IL_0024: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__0'::'<>t__builder' -IL_0029: call instance class [System.Runtime]System.Threading.Tasks.Task [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::get_Task() -IL_002e: ret -} -.method public hidebysig instance class [System.Runtime]System.Threading.Tasks.Task -Catch2() cil managed -{ -6C 79 2B 3C 43 61 74 63 68 32 3E 64 5F 5F 31 00 // ly+d__1. -00 ) -.maxstack 2 -.locals init (valuetype CatchAndFinally/'d__1' V_0) -IL_0000: ldloca.s V_0 -IL_0002: call valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Create() -IL_0007: stfld valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__1'::'<>t__builder' -IL_000c: ldloca.s V_0 -IL_000e: ldc.i4.m1 -IL_000f: stfld int32 CatchAndFinally/'d__1'::'<>1__state' -IL_0014: ldloca.s V_0 -IL_0016: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__1'::'<>t__builder' -IL_001b: ldloca.s V_0 -IL_001d: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Startd__1'>(!!0&) -IL_0022: ldloca.s V_0 -IL_0024: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__1'::'<>t__builder' -IL_0029: call instance class [System.Runtime]System.Threading.Tasks.Task [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::get_Task() -IL_002e: ret -} -.method public hidebysig instance class [System.Runtime]System.Threading.Tasks.Task -Catch3() cil managed -{ -6C 79 2B 3C 43 61 74 63 68 33 3E 64 5F 5F 32 00 // ly+d__2. -00 ) -.maxstack 2 -.locals init (valuetype CatchAndFinally/'d__2' V_0) -IL_0000: ldloca.s V_0 -IL_0002: call valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Create() -IL_0007: stfld valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__2'::'<>t__builder' -IL_000c: ldloca.s V_0 -IL_000e: ldc.i4.m1 -IL_000f: stfld int32 CatchAndFinally/'d__2'::'<>1__state' -IL_0014: ldloca.s V_0 -IL_0016: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__2'::'<>t__builder' -IL_001b: ldloca.s V_0 -IL_001d: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Startd__2'>(!!0&) -IL_0022: ldloca.s V_0 -IL_0024: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__2'::'<>t__builder' -IL_0029: call instance class [System.Runtime]System.Threading.Tasks.Task [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::get_Task() -IL_002e: ret -} -.method public hidebysig instance class [System.Runtime]System.Threading.Tasks.Task -Finally1() cil managed -{ -6C 79 2B 3C 46 69 6E 61 6C 6C 79 31 3E 64 5F 5F // ly+d__ -33 00 00 ) // 3.. -.maxstack 2 -.locals init (valuetype CatchAndFinally/'d__3' V_0) -IL_0000: ldloca.s V_0 -IL_0002: call valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Create() -IL_0007: stfld valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__3'::'<>t__builder' -IL_000c: ldloca.s V_0 -IL_000e: ldc.i4.m1 -IL_000f: stfld int32 CatchAndFinally/'d__3'::'<>1__state' -IL_0014: ldloca.s V_0 -IL_0016: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__3'::'<>t__builder' -IL_001b: ldloca.s V_0 -IL_001d: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Startd__3'>(!!0&) -IL_0022: ldloca.s V_0 -IL_0024: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__3'::'<>t__builder' -IL_0029: call instance class [System.Runtime]System.Threading.Tasks.Task [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::get_Task() -IL_002e: ret -} -.method public hidebysig instance class [System.Runtime]System.Threading.Tasks.Task -Finally2() cil managed -{ -6C 79 2B 3C 46 69 6E 61 6C 6C 79 32 3E 64 5F 5F // ly+d__ -34 00 00 ) // 4.. -.maxstack 2 -.locals init (valuetype CatchAndFinally/'d__4' V_0) -IL_0000: ldloca.s V_0 -IL_0002: call valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Create() -IL_0007: stfld valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__4'::'<>t__builder' -IL_000c: ldloca.s V_0 -IL_000e: ldc.i4.m1 -IL_000f: stfld int32 CatchAndFinally/'d__4'::'<>1__state' -IL_0014: ldloca.s V_0 -IL_0016: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__4'::'<>t__builder' -IL_001b: ldloca.s V_0 -IL_001d: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Startd__4'>(!!0&) -IL_0022: ldloca.s V_0 -IL_0024: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__4'::'<>t__builder' -IL_0029: call instance class [System.Runtime]System.Threading.Tasks.Task [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::get_Task() -IL_002e: ret -} -.method public hidebysig instance class [System.Runtime]System.Threading.Tasks.Task -Finally3() cil managed -{ -6C 79 2B 3C 46 69 6E 61 6C 6C 79 33 3E 64 5F 5F // ly+d__ -35 00 00 ) // 5.. -.maxstack 2 -.locals init (valuetype CatchAndFinally/'d__5' V_0) -IL_0000: ldloca.s V_0 -IL_0002: call valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Create() -IL_0007: stfld valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__5'::'<>t__builder' -IL_000c: ldloca.s V_0 -IL_000e: ldc.i4.m1 -IL_000f: stfld int32 CatchAndFinally/'d__5'::'<>1__state' -IL_0014: ldloca.s V_0 -IL_0016: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__5'::'<>t__builder' -IL_001b: ldloca.s V_0 -IL_001d: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Startd__5'>(!!0&) -IL_0022: ldloca.s V_0 -IL_0024: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__5'::'<>t__builder' -IL_0029: call instance class [System.Runtime]System.Threading.Tasks.Task [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::get_Task() -IL_002e: ret -} -.method public hidebysig specialname rtspecialname -instance void .ctor() cil managed -{ -.maxstack 8 -IL_0000: ldarg.0 -IL_0001: call instance void [System.Runtime]System.Object::.ctor() -IL_0006: ret -} -} diff --git a/Tests/ModuleWeaverTests.DecompileCatchAndFinally.Net.Debug.verified.txt b/Tests/ModuleWeaverTests.DecompileCatchAndFinally.Net.Debug.verified.txt deleted file mode 100644 index a723e63..0000000 --- a/Tests/ModuleWeaverTests.DecompileCatchAndFinally.Net.Debug.verified.txt +++ /dev/null @@ -1,1127 +0,0 @@ -.class public auto ansi beforefieldinit CatchAndFinally -extends [mscorlib]System.Object -{ -.custom instance void System.Runtime.CompilerServices.NullableContextAttribute::.ctor(uint8) = ( 01 00 01 00 00 ) -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.class auto ansi sealed nested private beforefieldinit 'd__0' -extends [mscorlib]System.Object -implements [mscorlib]System.Runtime.CompilerServices.IAsyncStateMachine -{ -.interfaceimpl type [mscorlib]System.Runtime.CompilerServices.IAsyncStateMachine -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field public int32 '<>1__state' -.field public valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder '<>t__builder' -.field public class CatchAndFinally '<>4__this' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field private object '<>s__1' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field private int32 '<>s__2' -.field private valuetype [mscorlib]System.Runtime.CompilerServices.TaskAwaiter '<>u__1' -.method public hidebysig specialname rtspecialname -instance void .ctor() cil managed -{ -.maxstack 8 -IL_0000: ldarg.0 -IL_0001: call instance void [mscorlib]System.Object::.ctor() -IL_0006: nop -IL_0007: ret -} -.method private hidebysig newslot virtual final -instance void MoveNext() cil managed -{ -.override [mscorlib]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext -.maxstack 3 -.locals init (int32 V_0, -object V_1, -int32 V_2, -valuetype [mscorlib]System.Runtime.CompilerServices.TaskAwaiter V_3, -class CatchAndFinally/'d__0' V_4, -class [mscorlib]System.Exception V_5) -IL_0000: ldarg.0 -IL_0001: ldfld int32 CatchAndFinally/'d__0'::'<>1__state' -IL_0006: stloc.0 -.try -{ -IL_0007: ldloc.0 -IL_0008: brfalse.s IL_000c -IL_000a: br.s IL_000e -IL_000c: br.s IL_0076 -IL_000e: nop -IL_000f: ldarg.0 -IL_0010: ldc.i4.0 -IL_0011: stfld int32 CatchAndFinally/'d__0'::'<>s__2' -.try -{ -IL_0016: nop -IL_0017: newobj instance void [mscorlib]System.NotImplementedException::.ctor() -IL_001c: throw -} // end .try -catch [mscorlib]System.Object -{ -IL_001d: stloc.1 -IL_001e: ldarg.0 -IL_001f: ldloc.1 -IL_0020: stfld object CatchAndFinally/'d__0'::'<>s__1' -IL_0025: ldarg.0 -IL_0026: ldc.i4.1 -IL_0027: stfld int32 CatchAndFinally/'d__0'::'<>s__2' -IL_002c: leave.s IL_002e -} // end handler -IL_002e: ldarg.0 -IL_002f: ldfld int32 CatchAndFinally/'d__0'::'<>s__2' -IL_0034: stloc.2 -IL_0035: ldloc.2 -IL_0036: ldc.i4.1 -IL_0037: beq.s IL_003b -IL_0039: br.s IL_009d -IL_003b: nop -IL_003c: ldc.i4.1 -IL_003d: call class [mscorlib]System.Threading.Tasks.Task [mscorlib]System.Threading.Tasks.Task::Delay(int32) -IL_0042: callvirt instance valuetype [mscorlib]System.Runtime.CompilerServices.TaskAwaiter [mscorlib]System.Threading.Tasks.Task::GetAwaiter() -IL_0047: stloc.3 -IL_0048: ldloca.s V_3 -IL_004a: call instance bool [mscorlib]System.Runtime.CompilerServices.TaskAwaiter::get_IsCompleted() -IL_004f: brtrue.s IL_0092 -IL_0051: ldarg.0 -IL_0052: ldc.i4.0 -IL_0053: dup -IL_0054: stloc.0 -IL_0055: stfld int32 CatchAndFinally/'d__0'::'<>1__state' -IL_005a: ldarg.0 -IL_005b: ldloc.3 -IL_005c: stfld valuetype [mscorlib]System.Runtime.CompilerServices.TaskAwaiter CatchAndFinally/'d__0'::'<>u__1' -IL_0061: ldarg.0 -IL_0062: stloc.s V_4 -IL_0064: ldarg.0 -IL_0065: ldflda valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__0'::'<>t__builder' -IL_006a: ldloca.s V_3 -IL_006c: ldloca.s V_4 -IL_006e: call instance void [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::AwaitUnsafeOnCompletedd__0'>(!!0&, -!!1&) -IL_0073: nop -IL_0074: leave.s IL_00d4 -IL_0076: ldarg.0 -IL_0077: ldfld valuetype [mscorlib]System.Runtime.CompilerServices.TaskAwaiter CatchAndFinally/'d__0'::'<>u__1' -IL_007c: stloc.3 -IL_007d: ldarg.0 -IL_007e: ldflda valuetype [mscorlib]System.Runtime.CompilerServices.TaskAwaiter CatchAndFinally/'d__0'::'<>u__1' -IL_0083: initobj [mscorlib]System.Runtime.CompilerServices.TaskAwaiter -IL_0089: ldarg.0 -IL_008a: ldc.i4.m1 -IL_008b: dup -IL_008c: stloc.0 -IL_008d: stfld int32 CatchAndFinally/'d__0'::'<>1__state' -IL_0092: ldloca.s V_3 -IL_0094: call instance void [mscorlib]System.Runtime.CompilerServices.TaskAwaiter::GetResult() -IL_0099: nop -IL_009a: nop -IL_009b: br.s IL_009d -IL_009d: ldarg.0 -IL_009e: ldnull -IL_009f: stfld object CatchAndFinally/'d__0'::'<>s__1' -IL_00a4: leave.s IL_00c0 -} // end .try -catch [mscorlib]System.Exception -{ -IL_00a6: stloc.s V_5 -IL_00a8: ldarg.0 -IL_00a9: ldc.i4.s -2 -IL_00ab: stfld int32 CatchAndFinally/'d__0'::'<>1__state' -IL_00b0: ldarg.0 -IL_00b1: ldflda valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__0'::'<>t__builder' -IL_00b6: ldloc.s V_5 -IL_00b8: call instance void [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetException(class [mscorlib]System.Exception) -IL_00bd: nop -IL_00be: leave.s IL_00d4 -} // end handler -IL_00c0: ldarg.0 -IL_00c1: ldc.i4.s -2 -IL_00c3: stfld int32 CatchAndFinally/'d__0'::'<>1__state' -IL_00c8: ldarg.0 -IL_00c9: ldflda valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__0'::'<>t__builder' -IL_00ce: call instance void [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetResult() -IL_00d3: nop -IL_00d4: ret -} -.method private hidebysig newslot virtual final -instance void SetStateMachine(class [mscorlib]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed -{ -.param [1] -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.override [mscorlib]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine -.maxstack 8 -IL_0000: ret -} -} -.class auto ansi sealed nested private beforefieldinit 'd__1' -extends [mscorlib]System.Object -implements [mscorlib]System.Runtime.CompilerServices.IAsyncStateMachine -{ -.interfaceimpl type [mscorlib]System.Runtime.CompilerServices.IAsyncStateMachine -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field public int32 '<>1__state' -.field public valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder '<>t__builder' -.field public class CatchAndFinally '<>4__this' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field private object '<>s__1' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field private int32 '<>s__2' -.field private valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter '<>u__1' -.method public hidebysig specialname rtspecialname -instance void .ctor() cil managed -{ -.maxstack 8 -IL_0000: ldarg.0 -IL_0001: call instance void [mscorlib]System.Object::.ctor() -IL_0006: nop -IL_0007: ret -} -.method private hidebysig newslot virtual final -instance void MoveNext() cil managed -{ -.override [mscorlib]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext -.maxstack 3 -.locals init (int32 V_0, -object V_1, -int32 V_2, -valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter V_3, -valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable V_4, -class CatchAndFinally/'d__1' V_5, -class [mscorlib]System.Exception V_6) -IL_0000: ldarg.0 -IL_0001: ldfld int32 CatchAndFinally/'d__1'::'<>1__state' -IL_0006: stloc.0 -.try -{ -IL_0007: ldloc.0 -IL_0008: brfalse.s IL_000c -IL_000a: br.s IL_0011 -IL_000c: br IL_0083 -IL_0011: nop -IL_0012: ldarg.0 -IL_0013: ldc.i4.0 -IL_0014: stfld int32 CatchAndFinally/'d__1'::'<>s__2' -.try -{ -IL_0019: nop -IL_001a: newobj instance void [mscorlib]System.NotImplementedException::.ctor() -IL_001f: throw -} // end .try -catch [mscorlib]System.Object -{ -IL_0020: stloc.1 -IL_0021: ldarg.0 -IL_0022: ldloc.1 -IL_0023: stfld object CatchAndFinally/'d__1'::'<>s__1' -IL_0028: ldarg.0 -IL_0029: ldc.i4.1 -IL_002a: stfld int32 CatchAndFinally/'d__1'::'<>s__2' -IL_002f: leave.s IL_0031 -} // end handler -IL_0031: ldarg.0 -IL_0032: ldfld int32 CatchAndFinally/'d__1'::'<>s__2' -IL_0037: stloc.2 -IL_0038: ldloc.2 -IL_0039: ldc.i4.1 -IL_003a: beq.s IL_003e -IL_003c: br.s IL_00aa -IL_003e: nop -IL_003f: ldc.i4.1 -IL_0040: call class [mscorlib]System.Threading.Tasks.Task [mscorlib]System.Threading.Tasks.Task::Delay(int32) -IL_0045: ldc.i4.0 -IL_0046: callvirt instance valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable [mscorlib]System.Threading.Tasks.Task::ConfigureAwait(bool) -IL_004b: stloc.s V_4 -IL_004d: ldloca.s V_4 -IL_004f: call instance valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable::GetAwaiter() -IL_0054: stloc.3 -IL_0055: ldloca.s V_3 -IL_0057: call instance bool [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter::get_IsCompleted() -IL_005c: brtrue.s IL_009f -IL_005e: ldarg.0 -IL_005f: ldc.i4.0 -IL_0060: dup -IL_0061: stloc.0 -IL_0062: stfld int32 CatchAndFinally/'d__1'::'<>1__state' -IL_0067: ldarg.0 -IL_0068: ldloc.3 -IL_0069: stfld valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter CatchAndFinally/'d__1'::'<>u__1' -IL_006e: ldarg.0 -IL_006f: stloc.s V_5 -IL_0071: ldarg.0 -IL_0072: ldflda valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__1'::'<>t__builder' -IL_0077: ldloca.s V_3 -IL_0079: ldloca.s V_5 -IL_007b: call instance void [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::AwaitUnsafeOnCompletedd__1'>(!!0&, -!!1&) -IL_0080: nop -IL_0081: leave.s IL_00e1 -IL_0083: ldarg.0 -IL_0084: ldfld valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter CatchAndFinally/'d__1'::'<>u__1' -IL_0089: stloc.3 -IL_008a: ldarg.0 -IL_008b: ldflda valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter CatchAndFinally/'d__1'::'<>u__1' -IL_0090: initobj [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter -IL_0096: ldarg.0 -IL_0097: ldc.i4.m1 -IL_0098: dup -IL_0099: stloc.0 -IL_009a: stfld int32 CatchAndFinally/'d__1'::'<>1__state' -IL_009f: ldloca.s V_3 -IL_00a1: call instance void [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter::GetResult() -IL_00a6: nop -IL_00a7: nop -IL_00a8: br.s IL_00aa -IL_00aa: ldarg.0 -IL_00ab: ldnull -IL_00ac: stfld object CatchAndFinally/'d__1'::'<>s__1' -IL_00b1: leave.s IL_00cd -} // end .try -catch [mscorlib]System.Exception -{ -IL_00b3: stloc.s V_6 -IL_00b5: ldarg.0 -IL_00b6: ldc.i4.s -2 -IL_00b8: stfld int32 CatchAndFinally/'d__1'::'<>1__state' -IL_00bd: ldarg.0 -IL_00be: ldflda valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__1'::'<>t__builder' -IL_00c3: ldloc.s V_6 -IL_00c5: call instance void [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetException(class [mscorlib]System.Exception) -IL_00ca: nop -IL_00cb: leave.s IL_00e1 -} // end handler -IL_00cd: ldarg.0 -IL_00ce: ldc.i4.s -2 -IL_00d0: stfld int32 CatchAndFinally/'d__1'::'<>1__state' -IL_00d5: ldarg.0 -IL_00d6: ldflda valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__1'::'<>t__builder' -IL_00db: call instance void [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetResult() -IL_00e0: nop -IL_00e1: ret -} -.method private hidebysig newslot virtual final -instance void SetStateMachine(class [mscorlib]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed -{ -.param [1] -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.override [mscorlib]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine -.maxstack 8 -IL_0000: ret -} -} -.class auto ansi sealed nested private beforefieldinit 'd__2' -extends [mscorlib]System.Object -implements [mscorlib]System.Runtime.CompilerServices.IAsyncStateMachine -{ -.interfaceimpl type [mscorlib]System.Runtime.CompilerServices.IAsyncStateMachine -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field public int32 '<>1__state' -.field public valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder '<>t__builder' -.field public class CatchAndFinally '<>4__this' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field private object '<>s__1' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field private int32 '<>s__2' -.field private valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter '<>u__1' -.method public hidebysig specialname rtspecialname -instance void .ctor() cil managed -{ -.maxstack 8 -IL_0000: ldarg.0 -IL_0001: call instance void [mscorlib]System.Object::.ctor() -IL_0006: nop -IL_0007: ret -} -.method private hidebysig newslot virtual final -instance void MoveNext() cil managed -{ -.override [mscorlib]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext -.maxstack 3 -.locals init (int32 V_0, -object V_1, -int32 V_2, -valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter V_3, -valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable V_4, -class CatchAndFinally/'d__2' V_5, -class [mscorlib]System.Exception V_6) -IL_0000: ldarg.0 -IL_0001: ldfld int32 CatchAndFinally/'d__2'::'<>1__state' -IL_0006: stloc.0 -.try -{ -IL_0007: ldloc.0 -IL_0008: brfalse.s IL_000c -IL_000a: br.s IL_000e -IL_000c: br.s IL_0080 -IL_000e: nop -IL_000f: ldarg.0 -IL_0010: ldc.i4.0 -IL_0011: stfld int32 CatchAndFinally/'d__2'::'<>s__2' -.try -{ -IL_0016: nop -IL_0017: newobj instance void [mscorlib]System.NotImplementedException::.ctor() -IL_001c: throw -} // end .try -catch [mscorlib]System.Object -{ -IL_001d: stloc.1 -IL_001e: ldarg.0 -IL_001f: ldloc.1 -IL_0020: stfld object CatchAndFinally/'d__2'::'<>s__1' -IL_0025: ldarg.0 -IL_0026: ldc.i4.1 -IL_0027: stfld int32 CatchAndFinally/'d__2'::'<>s__2' -IL_002c: leave.s IL_002e -} // end handler -IL_002e: ldarg.0 -IL_002f: ldfld int32 CatchAndFinally/'d__2'::'<>s__2' -IL_0034: stloc.2 -IL_0035: ldloc.2 -IL_0036: ldc.i4.1 -IL_0037: beq.s IL_003b -IL_0039: br.s IL_00a7 -IL_003b: nop -IL_003c: ldc.i4.1 -IL_003d: call class [mscorlib]System.Threading.Tasks.Task [mscorlib]System.Threading.Tasks.Task::Delay(int32) -IL_0042: ldc.i4.0 -IL_0043: callvirt instance valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable [mscorlib]System.Threading.Tasks.Task::ConfigureAwait(bool) -IL_0048: stloc.s V_4 -IL_004a: ldloca.s V_4 -IL_004c: call instance valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable::GetAwaiter() -IL_0051: stloc.3 -IL_0052: ldloca.s V_3 -IL_0054: call instance bool [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter::get_IsCompleted() -IL_0059: brtrue.s IL_009c -IL_005b: ldarg.0 -IL_005c: ldc.i4.0 -IL_005d: dup -IL_005e: stloc.0 -IL_005f: stfld int32 CatchAndFinally/'d__2'::'<>1__state' -IL_0064: ldarg.0 -IL_0065: ldloc.3 -IL_0066: stfld valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter CatchAndFinally/'d__2'::'<>u__1' -IL_006b: ldarg.0 -IL_006c: stloc.s V_5 -IL_006e: ldarg.0 -IL_006f: ldflda valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__2'::'<>t__builder' -IL_0074: ldloca.s V_3 -IL_0076: ldloca.s V_5 -IL_0078: call instance void [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::AwaitUnsafeOnCompletedd__2'>(!!0&, -!!1&) -IL_007d: nop -IL_007e: leave.s IL_00de -IL_0080: ldarg.0 -IL_0081: ldfld valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter CatchAndFinally/'d__2'::'<>u__1' -IL_0086: stloc.3 -IL_0087: ldarg.0 -IL_0088: ldflda valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter CatchAndFinally/'d__2'::'<>u__1' -IL_008d: initobj [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter -IL_0093: ldarg.0 -IL_0094: ldc.i4.m1 -IL_0095: dup -IL_0096: stloc.0 -IL_0097: stfld int32 CatchAndFinally/'d__2'::'<>1__state' -IL_009c: ldloca.s V_3 -IL_009e: call instance void [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter::GetResult() -IL_00a3: nop -IL_00a4: nop -IL_00a5: br.s IL_00a7 -IL_00a7: ldarg.0 -IL_00a8: ldnull -IL_00a9: stfld object CatchAndFinally/'d__2'::'<>s__1' -IL_00ae: leave.s IL_00ca -} // end .try -catch [mscorlib]System.Exception -{ -IL_00b0: stloc.s V_6 -IL_00b2: ldarg.0 -IL_00b3: ldc.i4.s -2 -IL_00b5: stfld int32 CatchAndFinally/'d__2'::'<>1__state' -IL_00ba: ldarg.0 -IL_00bb: ldflda valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__2'::'<>t__builder' -IL_00c0: ldloc.s V_6 -IL_00c2: call instance void [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetException(class [mscorlib]System.Exception) -IL_00c7: nop -IL_00c8: leave.s IL_00de -} // end handler -IL_00ca: ldarg.0 -IL_00cb: ldc.i4.s -2 -IL_00cd: stfld int32 CatchAndFinally/'d__2'::'<>1__state' -IL_00d2: ldarg.0 -IL_00d3: ldflda valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__2'::'<>t__builder' -IL_00d8: call instance void [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetResult() -IL_00dd: nop -IL_00de: ret -} -.method private hidebysig newslot virtual final -instance void SetStateMachine(class [mscorlib]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed -{ -.param [1] -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.override [mscorlib]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine -.maxstack 8 -IL_0000: ret -} -} -.class auto ansi sealed nested private beforefieldinit 'd__3' -extends [mscorlib]System.Object -implements [mscorlib]System.Runtime.CompilerServices.IAsyncStateMachine -{ -.interfaceimpl type [mscorlib]System.Runtime.CompilerServices.IAsyncStateMachine -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field public int32 '<>1__state' -.field public valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder '<>t__builder' -.field public class CatchAndFinally '<>4__this' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field private object '<>s__1' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field private int32 '<>s__2' -.field private valuetype [mscorlib]System.Runtime.CompilerServices.TaskAwaiter '<>u__1' -.method public hidebysig specialname rtspecialname -instance void .ctor() cil managed -{ -.maxstack 8 -IL_0000: ldarg.0 -IL_0001: call instance void [mscorlib]System.Object::.ctor() -IL_0006: nop -IL_0007: ret -} -.method private hidebysig newslot virtual final -instance void MoveNext() cil managed -{ -.override [mscorlib]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext -.maxstack 3 -.locals init (int32 V_0, -object V_1, -valuetype [mscorlib]System.Runtime.CompilerServices.TaskAwaiter V_2, -class CatchAndFinally/'d__3' V_3, -class [mscorlib]System.Exception V_4) -IL_0000: ldarg.0 -IL_0001: ldfld int32 CatchAndFinally/'d__3'::'<>1__state' -IL_0006: stloc.0 -.try -{ -IL_0007: ldloc.0 -IL_0008: brfalse.s IL_000c -IL_000a: br.s IL_000e -IL_000c: br.s IL_006b -IL_000e: nop -IL_000f: ldarg.0 -IL_0010: ldnull -IL_0011: stfld object CatchAndFinally/'d__3'::'<>s__1' -IL_0016: ldarg.0 -IL_0017: ldc.i4.0 -IL_0018: stfld int32 CatchAndFinally/'d__3'::'<>s__2' -.try -{ -IL_001d: nop -IL_001e: newobj instance void [mscorlib]System.NotImplementedException::.ctor() -IL_0023: throw -} // end .try -catch [mscorlib]System.Object -{ -IL_0024: stloc.1 -IL_0025: ldarg.0 -IL_0026: ldloc.1 -IL_0027: stfld object CatchAndFinally/'d__3'::'<>s__1' -IL_002c: leave.s IL_002e -} // end handler -IL_002e: nop -IL_002f: ldc.i4.1 -IL_0030: call class [mscorlib]System.Threading.Tasks.Task [mscorlib]System.Threading.Tasks.Task::Delay(int32) -IL_0035: callvirt instance valuetype [mscorlib]System.Runtime.CompilerServices.TaskAwaiter [mscorlib]System.Threading.Tasks.Task::GetAwaiter() -IL_003a: stloc.2 -IL_003b: ldloca.s V_2 -IL_003d: call instance bool [mscorlib]System.Runtime.CompilerServices.TaskAwaiter::get_IsCompleted() -IL_0042: brtrue.s IL_0087 -IL_0044: ldarg.0 -IL_0045: ldc.i4.0 -IL_0046: dup -IL_0047: stloc.0 -IL_0048: stfld int32 CatchAndFinally/'d__3'::'<>1__state' -IL_004d: ldarg.0 -IL_004e: ldloc.2 -IL_004f: stfld valuetype [mscorlib]System.Runtime.CompilerServices.TaskAwaiter CatchAndFinally/'d__3'::'<>u__1' -IL_0054: ldarg.0 -IL_0055: stloc.3 -IL_0056: ldarg.0 -IL_0057: ldflda valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__3'::'<>t__builder' -IL_005c: ldloca.s V_2 -IL_005e: ldloca.s V_3 -IL_0060: call instance void [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::AwaitUnsafeOnCompletedd__3'>(!!0&, -!!1&) -IL_0065: nop -IL_0066: leave IL_00f3 -IL_006b: ldarg.0 -IL_006c: ldfld valuetype [mscorlib]System.Runtime.CompilerServices.TaskAwaiter CatchAndFinally/'d__3'::'<>u__1' -IL_0071: stloc.2 -IL_0072: ldarg.0 -IL_0073: ldflda valuetype [mscorlib]System.Runtime.CompilerServices.TaskAwaiter CatchAndFinally/'d__3'::'<>u__1' -IL_0078: initobj [mscorlib]System.Runtime.CompilerServices.TaskAwaiter -IL_007e: ldarg.0 -IL_007f: ldc.i4.m1 -IL_0080: dup -IL_0081: stloc.0 -IL_0082: stfld int32 CatchAndFinally/'d__3'::'<>1__state' -IL_0087: ldloca.s V_2 -IL_0089: call instance void [mscorlib]System.Runtime.CompilerServices.TaskAwaiter::GetResult() -IL_008e: nop -IL_008f: nop -IL_0090: ldarg.0 -IL_0091: ldfld object CatchAndFinally/'d__3'::'<>s__1' -IL_0096: stloc.1 -IL_0097: ldloc.1 -IL_0098: brfalse.s IL_00b5 -IL_009a: ldloc.1 -IL_009b: isinst [mscorlib]System.Exception -IL_00a0: stloc.s V_4 -IL_00a2: ldloc.s V_4 -IL_00a4: brtrue.s IL_00a8 -IL_00a6: ldloc.1 -IL_00a7: throw -IL_00a8: ldloc.s V_4 -IL_00aa: call class [mscorlib]System.Runtime.ExceptionServices.ExceptionDispatchInfo [mscorlib]System.Runtime.ExceptionServices.ExceptionDispatchInfo::Capture(class [mscorlib]System.Exception) -IL_00af: callvirt instance void [mscorlib]System.Runtime.ExceptionServices.ExceptionDispatchInfo::Throw() -IL_00b4: nop -IL_00b5: ldarg.0 -IL_00b6: ldfld int32 CatchAndFinally/'d__3'::'<>s__2' -IL_00bb: pop -IL_00bc: ldarg.0 -IL_00bd: ldnull -IL_00be: stfld object CatchAndFinally/'d__3'::'<>s__1' -IL_00c3: leave.s IL_00df -} // end .try -catch [mscorlib]System.Exception -{ -IL_00c5: stloc.s V_4 -IL_00c7: ldarg.0 -IL_00c8: ldc.i4.s -2 -IL_00ca: stfld int32 CatchAndFinally/'d__3'::'<>1__state' -IL_00cf: ldarg.0 -IL_00d0: ldflda valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__3'::'<>t__builder' -IL_00d5: ldloc.s V_4 -IL_00d7: call instance void [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetException(class [mscorlib]System.Exception) -IL_00dc: nop -IL_00dd: leave.s IL_00f3 -} // end handler -IL_00df: ldarg.0 -IL_00e0: ldc.i4.s -2 -IL_00e2: stfld int32 CatchAndFinally/'d__3'::'<>1__state' -IL_00e7: ldarg.0 -IL_00e8: ldflda valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__3'::'<>t__builder' -IL_00ed: call instance void [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetResult() -IL_00f2: nop -IL_00f3: ret -} -.method private hidebysig newslot virtual final -instance void SetStateMachine(class [mscorlib]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed -{ -.param [1] -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.override [mscorlib]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine -.maxstack 8 -IL_0000: ret -} -} -.class auto ansi sealed nested private beforefieldinit 'd__4' -extends [mscorlib]System.Object -implements [mscorlib]System.Runtime.CompilerServices.IAsyncStateMachine -{ -.interfaceimpl type [mscorlib]System.Runtime.CompilerServices.IAsyncStateMachine -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field public int32 '<>1__state' -.field public valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder '<>t__builder' -.field public class CatchAndFinally '<>4__this' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field private object '<>s__1' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field private int32 '<>s__2' -.field private valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter '<>u__1' -.method public hidebysig specialname rtspecialname -instance void .ctor() cil managed -{ -.maxstack 8 -IL_0000: ldarg.0 -IL_0001: call instance void [mscorlib]System.Object::.ctor() -IL_0006: nop -IL_0007: ret -} -.method private hidebysig newslot virtual final -instance void MoveNext() cil managed -{ -.override [mscorlib]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext -.maxstack 3 -.locals init (int32 V_0, -object V_1, -valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter V_2, -valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable V_3, -class CatchAndFinally/'d__4' V_4, -class [mscorlib]System.Exception V_5) -IL_0000: ldarg.0 -IL_0001: ldfld int32 CatchAndFinally/'d__4'::'<>1__state' -IL_0006: stloc.0 -.try -{ -IL_0007: ldloc.0 -IL_0008: brfalse.s IL_000c -IL_000a: br.s IL_000e -IL_000c: br.s IL_0075 -IL_000e: nop -IL_000f: ldarg.0 -IL_0010: ldnull -IL_0011: stfld object CatchAndFinally/'d__4'::'<>s__1' -IL_0016: ldarg.0 -IL_0017: ldc.i4.0 -IL_0018: stfld int32 CatchAndFinally/'d__4'::'<>s__2' -.try -{ -IL_001d: nop -IL_001e: newobj instance void [mscorlib]System.NotImplementedException::.ctor() -IL_0023: throw -} // end .try -catch [mscorlib]System.Object -{ -IL_0024: stloc.1 -IL_0025: ldarg.0 -IL_0026: ldloc.1 -IL_0027: stfld object CatchAndFinally/'d__4'::'<>s__1' -IL_002c: leave.s IL_002e -} // end handler -IL_002e: nop -IL_002f: ldc.i4.1 -IL_0030: call class [mscorlib]System.Threading.Tasks.Task [mscorlib]System.Threading.Tasks.Task::Delay(int32) -IL_0035: ldc.i4.0 -IL_0036: callvirt instance valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable [mscorlib]System.Threading.Tasks.Task::ConfigureAwait(bool) -IL_003b: stloc.3 -IL_003c: ldloca.s V_3 -IL_003e: call instance valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable::GetAwaiter() -IL_0043: stloc.2 -IL_0044: ldloca.s V_2 -IL_0046: call instance bool [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter::get_IsCompleted() -IL_004b: brtrue.s IL_0091 -IL_004d: ldarg.0 -IL_004e: ldc.i4.0 -IL_004f: dup -IL_0050: stloc.0 -IL_0051: stfld int32 CatchAndFinally/'d__4'::'<>1__state' -IL_0056: ldarg.0 -IL_0057: ldloc.2 -IL_0058: stfld valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter CatchAndFinally/'d__4'::'<>u__1' -IL_005d: ldarg.0 -IL_005e: stloc.s V_4 -IL_0060: ldarg.0 -IL_0061: ldflda valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__4'::'<>t__builder' -IL_0066: ldloca.s V_2 -IL_0068: ldloca.s V_4 -IL_006a: call instance void [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::AwaitUnsafeOnCompletedd__4'>(!!0&, -!!1&) -IL_006f: nop -IL_0070: leave IL_00fd -IL_0075: ldarg.0 -IL_0076: ldfld valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter CatchAndFinally/'d__4'::'<>u__1' -IL_007b: stloc.2 -IL_007c: ldarg.0 -IL_007d: ldflda valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter CatchAndFinally/'d__4'::'<>u__1' -IL_0082: initobj [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter -IL_0088: ldarg.0 -IL_0089: ldc.i4.m1 -IL_008a: dup -IL_008b: stloc.0 -IL_008c: stfld int32 CatchAndFinally/'d__4'::'<>1__state' -IL_0091: ldloca.s V_2 -IL_0093: call instance void [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter::GetResult() -IL_0098: nop -IL_0099: nop -IL_009a: ldarg.0 -IL_009b: ldfld object CatchAndFinally/'d__4'::'<>s__1' -IL_00a0: stloc.1 -IL_00a1: ldloc.1 -IL_00a2: brfalse.s IL_00bf -IL_00a4: ldloc.1 -IL_00a5: isinst [mscorlib]System.Exception -IL_00aa: stloc.s V_5 -IL_00ac: ldloc.s V_5 -IL_00ae: brtrue.s IL_00b2 -IL_00b0: ldloc.1 -IL_00b1: throw -IL_00b2: ldloc.s V_5 -IL_00b4: call class [mscorlib]System.Runtime.ExceptionServices.ExceptionDispatchInfo [mscorlib]System.Runtime.ExceptionServices.ExceptionDispatchInfo::Capture(class [mscorlib]System.Exception) -IL_00b9: callvirt instance void [mscorlib]System.Runtime.ExceptionServices.ExceptionDispatchInfo::Throw() -IL_00be: nop -IL_00bf: ldarg.0 -IL_00c0: ldfld int32 CatchAndFinally/'d__4'::'<>s__2' -IL_00c5: pop -IL_00c6: ldarg.0 -IL_00c7: ldnull -IL_00c8: stfld object CatchAndFinally/'d__4'::'<>s__1' -IL_00cd: leave.s IL_00e9 -} // end .try -catch [mscorlib]System.Exception -{ -IL_00cf: stloc.s V_5 -IL_00d1: ldarg.0 -IL_00d2: ldc.i4.s -2 -IL_00d4: stfld int32 CatchAndFinally/'d__4'::'<>1__state' -IL_00d9: ldarg.0 -IL_00da: ldflda valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__4'::'<>t__builder' -IL_00df: ldloc.s V_5 -IL_00e1: call instance void [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetException(class [mscorlib]System.Exception) -IL_00e6: nop -IL_00e7: leave.s IL_00fd -} // end handler -IL_00e9: ldarg.0 -IL_00ea: ldc.i4.s -2 -IL_00ec: stfld int32 CatchAndFinally/'d__4'::'<>1__state' -IL_00f1: ldarg.0 -IL_00f2: ldflda valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__4'::'<>t__builder' -IL_00f7: call instance void [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetResult() -IL_00fc: nop -IL_00fd: ret -} -.method private hidebysig newslot virtual final -instance void SetStateMachine(class [mscorlib]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed -{ -.param [1] -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.override [mscorlib]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine -.maxstack 8 -IL_0000: ret -} -} -.class auto ansi sealed nested private beforefieldinit 'd__5' -extends [mscorlib]System.Object -implements [mscorlib]System.Runtime.CompilerServices.IAsyncStateMachine -{ -.interfaceimpl type [mscorlib]System.Runtime.CompilerServices.IAsyncStateMachine -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field public int32 '<>1__state' -.field public valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder '<>t__builder' -.field public class CatchAndFinally '<>4__this' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field private object '<>s__1' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field private int32 '<>s__2' -.field private valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter '<>u__1' -.method public hidebysig specialname rtspecialname -instance void .ctor() cil managed -{ -.maxstack 8 -IL_0000: ldarg.0 -IL_0001: call instance void [mscorlib]System.Object::.ctor() -IL_0006: nop -IL_0007: ret -} -.method private hidebysig newslot virtual final -instance void MoveNext() cil managed -{ -.override [mscorlib]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext -.maxstack 3 -.locals init (int32 V_0, -object V_1, -valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter V_2, -valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable V_3, -class CatchAndFinally/'d__5' V_4, -class [mscorlib]System.Exception V_5) -IL_0000: ldarg.0 -IL_0001: ldfld int32 CatchAndFinally/'d__5'::'<>1__state' -IL_0006: stloc.0 -.try -{ -IL_0007: ldloc.0 -IL_0008: brfalse.s IL_000c -IL_000a: br.s IL_000e -IL_000c: br.s IL_0075 -IL_000e: nop -IL_000f: ldarg.0 -IL_0010: ldnull -IL_0011: stfld object CatchAndFinally/'d__5'::'<>s__1' -IL_0016: ldarg.0 -IL_0017: ldc.i4.0 -IL_0018: stfld int32 CatchAndFinally/'d__5'::'<>s__2' -.try -{ -IL_001d: nop -IL_001e: newobj instance void [mscorlib]System.NotImplementedException::.ctor() -IL_0023: throw -} // end .try -catch [mscorlib]System.Object -{ -IL_0024: stloc.1 -IL_0025: ldarg.0 -IL_0026: ldloc.1 -IL_0027: stfld object CatchAndFinally/'d__5'::'<>s__1' -IL_002c: leave.s IL_002e -} // end handler -IL_002e: nop -IL_002f: ldc.i4.1 -IL_0030: call class [mscorlib]System.Threading.Tasks.Task [mscorlib]System.Threading.Tasks.Task::Delay(int32) -IL_0035: ldc.i4.0 -IL_0036: callvirt instance valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable [mscorlib]System.Threading.Tasks.Task::ConfigureAwait(bool) -IL_003b: stloc.3 -IL_003c: ldloca.s V_3 -IL_003e: call instance valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable::GetAwaiter() -IL_0043: stloc.2 -IL_0044: ldloca.s V_2 -IL_0046: call instance bool [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter::get_IsCompleted() -IL_004b: brtrue.s IL_0091 -IL_004d: ldarg.0 -IL_004e: ldc.i4.0 -IL_004f: dup -IL_0050: stloc.0 -IL_0051: stfld int32 CatchAndFinally/'d__5'::'<>1__state' -IL_0056: ldarg.0 -IL_0057: ldloc.2 -IL_0058: stfld valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter CatchAndFinally/'d__5'::'<>u__1' -IL_005d: ldarg.0 -IL_005e: stloc.s V_4 -IL_0060: ldarg.0 -IL_0061: ldflda valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__5'::'<>t__builder' -IL_0066: ldloca.s V_2 -IL_0068: ldloca.s V_4 -IL_006a: call instance void [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::AwaitUnsafeOnCompletedd__5'>(!!0&, -!!1&) -IL_006f: nop -IL_0070: leave IL_00fd -IL_0075: ldarg.0 -IL_0076: ldfld valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter CatchAndFinally/'d__5'::'<>u__1' -IL_007b: stloc.2 -IL_007c: ldarg.0 -IL_007d: ldflda valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter CatchAndFinally/'d__5'::'<>u__1' -IL_0082: initobj [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter -IL_0088: ldarg.0 -IL_0089: ldc.i4.m1 -IL_008a: dup -IL_008b: stloc.0 -IL_008c: stfld int32 CatchAndFinally/'d__5'::'<>1__state' -IL_0091: ldloca.s V_2 -IL_0093: call instance void [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter::GetResult() -IL_0098: nop -IL_0099: nop -IL_009a: ldarg.0 -IL_009b: ldfld object CatchAndFinally/'d__5'::'<>s__1' -IL_00a0: stloc.1 -IL_00a1: ldloc.1 -IL_00a2: brfalse.s IL_00bf -IL_00a4: ldloc.1 -IL_00a5: isinst [mscorlib]System.Exception -IL_00aa: stloc.s V_5 -IL_00ac: ldloc.s V_5 -IL_00ae: brtrue.s IL_00b2 -IL_00b0: ldloc.1 -IL_00b1: throw -IL_00b2: ldloc.s V_5 -IL_00b4: call class [mscorlib]System.Runtime.ExceptionServices.ExceptionDispatchInfo [mscorlib]System.Runtime.ExceptionServices.ExceptionDispatchInfo::Capture(class [mscorlib]System.Exception) -IL_00b9: callvirt instance void [mscorlib]System.Runtime.ExceptionServices.ExceptionDispatchInfo::Throw() -IL_00be: nop -IL_00bf: ldarg.0 -IL_00c0: ldfld int32 CatchAndFinally/'d__5'::'<>s__2' -IL_00c5: pop -IL_00c6: ldarg.0 -IL_00c7: ldnull -IL_00c8: stfld object CatchAndFinally/'d__5'::'<>s__1' -IL_00cd: leave.s IL_00e9 -} // end .try -catch [mscorlib]System.Exception -{ -IL_00cf: stloc.s V_5 -IL_00d1: ldarg.0 -IL_00d2: ldc.i4.s -2 -IL_00d4: stfld int32 CatchAndFinally/'d__5'::'<>1__state' -IL_00d9: ldarg.0 -IL_00da: ldflda valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__5'::'<>t__builder' -IL_00df: ldloc.s V_5 -IL_00e1: call instance void [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetException(class [mscorlib]System.Exception) -IL_00e6: nop -IL_00e7: leave.s IL_00fd -} // end handler -IL_00e9: ldarg.0 -IL_00ea: ldc.i4.s -2 -IL_00ec: stfld int32 CatchAndFinally/'d__5'::'<>1__state' -IL_00f1: ldarg.0 -IL_00f2: ldflda valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__5'::'<>t__builder' -IL_00f7: call instance void [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetResult() -IL_00fc: nop -IL_00fd: ret -} -.method private hidebysig newslot virtual final -instance void SetStateMachine(class [mscorlib]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed -{ -.param [1] -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.override [mscorlib]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine -.maxstack 8 -IL_0000: ret -} -} -.method public hidebysig instance class [mscorlib]System.Threading.Tasks.Task -Catch1() cil managed -{ -6C 79 2B 3C 43 61 74 63 68 31 3E 64 5F 5F 30 00 // ly+d__0. -00 ) -.maxstack 2 -.locals init (class CatchAndFinally/'d__0' V_0) -IL_0000: newobj instance void CatchAndFinally/'d__0'::.ctor() -IL_0005: stloc.0 -IL_0006: ldloc.0 -IL_0007: call valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Create() -IL_000c: stfld valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__0'::'<>t__builder' -IL_0011: ldloc.0 -IL_0012: ldarg.0 -IL_0013: stfld class CatchAndFinally CatchAndFinally/'d__0'::'<>4__this' -IL_0018: ldloc.0 -IL_0019: ldc.i4.m1 -IL_001a: stfld int32 CatchAndFinally/'d__0'::'<>1__state' -IL_001f: ldloc.0 -IL_0020: ldflda valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__0'::'<>t__builder' -IL_0025: ldloca.s V_0 -IL_0027: call instance void [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Startd__0'>(!!0&) -IL_002c: ldloc.0 -IL_002d: ldflda valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__0'::'<>t__builder' -IL_0032: call instance class [mscorlib]System.Threading.Tasks.Task [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::get_Task() -IL_0037: ret -} -.method public hidebysig instance class [mscorlib]System.Threading.Tasks.Task -Catch2() cil managed -{ -6C 79 2B 3C 43 61 74 63 68 32 3E 64 5F 5F 31 00 // ly+d__1. -00 ) -.maxstack 2 -.locals init (class CatchAndFinally/'d__1' V_0) -IL_0000: newobj instance void CatchAndFinally/'d__1'::.ctor() -IL_0005: stloc.0 -IL_0006: ldloc.0 -IL_0007: call valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Create() -IL_000c: stfld valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__1'::'<>t__builder' -IL_0011: ldloc.0 -IL_0012: ldarg.0 -IL_0013: stfld class CatchAndFinally CatchAndFinally/'d__1'::'<>4__this' -IL_0018: ldloc.0 -IL_0019: ldc.i4.m1 -IL_001a: stfld int32 CatchAndFinally/'d__1'::'<>1__state' -IL_001f: ldloc.0 -IL_0020: ldflda valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__1'::'<>t__builder' -IL_0025: ldloca.s V_0 -IL_0027: call instance void [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Startd__1'>(!!0&) -IL_002c: ldloc.0 -IL_002d: ldflda valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__1'::'<>t__builder' -IL_0032: call instance class [mscorlib]System.Threading.Tasks.Task [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::get_Task() -IL_0037: ret -} -.method public hidebysig instance class [mscorlib]System.Threading.Tasks.Task -Catch3() cil managed -{ -6C 79 2B 3C 43 61 74 63 68 33 3E 64 5F 5F 32 00 // ly+d__2. -00 ) -.maxstack 2 -.locals init (class CatchAndFinally/'d__2' V_0) -IL_0000: newobj instance void CatchAndFinally/'d__2'::.ctor() -IL_0005: stloc.0 -IL_0006: ldloc.0 -IL_0007: call valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Create() -IL_000c: stfld valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__2'::'<>t__builder' -IL_0011: ldloc.0 -IL_0012: ldarg.0 -IL_0013: stfld class CatchAndFinally CatchAndFinally/'d__2'::'<>4__this' -IL_0018: ldloc.0 -IL_0019: ldc.i4.m1 -IL_001a: stfld int32 CatchAndFinally/'d__2'::'<>1__state' -IL_001f: ldloc.0 -IL_0020: ldflda valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__2'::'<>t__builder' -IL_0025: ldloca.s V_0 -IL_0027: call instance void [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Startd__2'>(!!0&) -IL_002c: ldloc.0 -IL_002d: ldflda valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__2'::'<>t__builder' -IL_0032: call instance class [mscorlib]System.Threading.Tasks.Task [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::get_Task() -IL_0037: ret -} -.method public hidebysig instance class [mscorlib]System.Threading.Tasks.Task -Finally1() cil managed -{ -6C 79 2B 3C 46 69 6E 61 6C 6C 79 31 3E 64 5F 5F // ly+d__ -33 00 00 ) // 3.. -.maxstack 2 -.locals init (class CatchAndFinally/'d__3' V_0) -IL_0000: newobj instance void CatchAndFinally/'d__3'::.ctor() -IL_0005: stloc.0 -IL_0006: ldloc.0 -IL_0007: call valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Create() -IL_000c: stfld valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__3'::'<>t__builder' -IL_0011: ldloc.0 -IL_0012: ldarg.0 -IL_0013: stfld class CatchAndFinally CatchAndFinally/'d__3'::'<>4__this' -IL_0018: ldloc.0 -IL_0019: ldc.i4.m1 -IL_001a: stfld int32 CatchAndFinally/'d__3'::'<>1__state' -IL_001f: ldloc.0 -IL_0020: ldflda valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__3'::'<>t__builder' -IL_0025: ldloca.s V_0 -IL_0027: call instance void [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Startd__3'>(!!0&) -IL_002c: ldloc.0 -IL_002d: ldflda valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__3'::'<>t__builder' -IL_0032: call instance class [mscorlib]System.Threading.Tasks.Task [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::get_Task() -IL_0037: ret -} -.method public hidebysig instance class [mscorlib]System.Threading.Tasks.Task -Finally2() cil managed -{ -6C 79 2B 3C 46 69 6E 61 6C 6C 79 32 3E 64 5F 5F // ly+d__ -34 00 00 ) // 4.. -.maxstack 2 -.locals init (class CatchAndFinally/'d__4' V_0) -IL_0000: newobj instance void CatchAndFinally/'d__4'::.ctor() -IL_0005: stloc.0 -IL_0006: ldloc.0 -IL_0007: call valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Create() -IL_000c: stfld valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__4'::'<>t__builder' -IL_0011: ldloc.0 -IL_0012: ldarg.0 -IL_0013: stfld class CatchAndFinally CatchAndFinally/'d__4'::'<>4__this' -IL_0018: ldloc.0 -IL_0019: ldc.i4.m1 -IL_001a: stfld int32 CatchAndFinally/'d__4'::'<>1__state' -IL_001f: ldloc.0 -IL_0020: ldflda valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__4'::'<>t__builder' -IL_0025: ldloca.s V_0 -IL_0027: call instance void [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Startd__4'>(!!0&) -IL_002c: ldloc.0 -IL_002d: ldflda valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__4'::'<>t__builder' -IL_0032: call instance class [mscorlib]System.Threading.Tasks.Task [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::get_Task() -IL_0037: ret -} -.method public hidebysig instance class [mscorlib]System.Threading.Tasks.Task -Finally3() cil managed -{ -6C 79 2B 3C 46 69 6E 61 6C 6C 79 33 3E 64 5F 5F // ly+d__ -35 00 00 ) // 5.. -.maxstack 2 -.locals init (class CatchAndFinally/'d__5' V_0) -IL_0000: newobj instance void CatchAndFinally/'d__5'::.ctor() -IL_0005: stloc.0 -IL_0006: ldloc.0 -IL_0007: call valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Create() -IL_000c: stfld valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__5'::'<>t__builder' -IL_0011: ldloc.0 -IL_0012: ldarg.0 -IL_0013: stfld class CatchAndFinally CatchAndFinally/'d__5'::'<>4__this' -IL_0018: ldloc.0 -IL_0019: ldc.i4.m1 -IL_001a: stfld int32 CatchAndFinally/'d__5'::'<>1__state' -IL_001f: ldloc.0 -IL_0020: ldflda valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__5'::'<>t__builder' -IL_0025: ldloca.s V_0 -IL_0027: call instance void [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Startd__5'>(!!0&) -IL_002c: ldloc.0 -IL_002d: ldflda valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__5'::'<>t__builder' -IL_0032: call instance class [mscorlib]System.Threading.Tasks.Task [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::get_Task() -IL_0037: ret -} -.method public hidebysig specialname rtspecialname -instance void .ctor() cil managed -{ -.maxstack 8 -IL_0000: ldarg.0 -IL_0001: call instance void [mscorlib]System.Object::.ctor() -IL_0006: nop -IL_0007: ret -} -} diff --git a/Tests/ModuleWeaverTests.DecompileCatchAndFinally.Net.Release.verified.txt b/Tests/ModuleWeaverTests.DecompileCatchAndFinally.Net.Release.verified.txt deleted file mode 100644 index 77b98a7..0000000 --- a/Tests/ModuleWeaverTests.DecompileCatchAndFinally.Net.Release.verified.txt +++ /dev/null @@ -1,907 +0,0 @@ -.class public auto ansi beforefieldinit CatchAndFinally -extends [mscorlib]System.Object -{ -.custom instance void System.Runtime.CompilerServices.NullableContextAttribute::.ctor(uint8) = ( 01 00 01 00 00 ) -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.class auto ansi sealed nested private beforefieldinit 'd__0' -extends [mscorlib]System.ValueType -implements [mscorlib]System.Runtime.CompilerServices.IAsyncStateMachine -{ -.interfaceimpl type [mscorlib]System.Runtime.CompilerServices.IAsyncStateMachine -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field public int32 '<>1__state' -.field public valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder '<>t__builder' -.field private valuetype [mscorlib]System.Runtime.CompilerServices.TaskAwaiter '<>u__1' -.method private hidebysig newslot virtual final -instance void MoveNext() cil managed -{ -.override [mscorlib]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext -.maxstack 3 -.locals init (int32 V_0, -int32 V_1, -valuetype [mscorlib]System.Runtime.CompilerServices.TaskAwaiter V_2, -class [mscorlib]System.Exception V_3) -IL_0000: ldarg.0 -IL_0001: ldfld int32 CatchAndFinally/'d__0'::'<>1__state' -IL_0006: stloc.0 -.try -{ -IL_0007: ldloc.0 -IL_0008: brfalse.s IL_0050 -IL_000a: ldc.i4.0 -IL_000b: stloc.1 -.try -{ -IL_000c: newobj instance void [mscorlib]System.NotImplementedException::.ctor() -IL_0011: throw -} // end .try -catch [mscorlib]System.Object -{ -IL_0012: pop -IL_0013: ldc.i4.1 -IL_0014: stloc.1 -IL_0015: leave.s IL_0017 -} // end handler -IL_0017: ldloc.1 -IL_0018: ldc.i4.1 -IL_0019: bne.un.s IL_0073 -IL_001b: ldc.i4.1 -IL_001c: call class [mscorlib]System.Threading.Tasks.Task [mscorlib]System.Threading.Tasks.Task::Delay(int32) -IL_0021: callvirt instance valuetype [mscorlib]System.Runtime.CompilerServices.TaskAwaiter [mscorlib]System.Threading.Tasks.Task::GetAwaiter() -IL_0026: stloc.2 -IL_0027: ldloca.s V_2 -IL_0029: call instance bool [mscorlib]System.Runtime.CompilerServices.TaskAwaiter::get_IsCompleted() -IL_002e: brtrue.s IL_006c -IL_0030: ldarg.0 -IL_0031: ldc.i4.0 -IL_0032: dup -IL_0033: stloc.0 -IL_0034: stfld int32 CatchAndFinally/'d__0'::'<>1__state' -IL_0039: ldarg.0 -IL_003a: ldloc.2 -IL_003b: stfld valuetype [mscorlib]System.Runtime.CompilerServices.TaskAwaiter CatchAndFinally/'d__0'::'<>u__1' -IL_0040: ldarg.0 -IL_0041: ldflda valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__0'::'<>t__builder' -IL_0046: ldloca.s V_2 -IL_0048: ldarg.0 -IL_0049: call instance void [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::AwaitUnsafeOnCompletedd__0'>(!!0&, -!!1&) -IL_004e: leave.s IL_009f -IL_0050: ldarg.0 -IL_0051: ldfld valuetype [mscorlib]System.Runtime.CompilerServices.TaskAwaiter CatchAndFinally/'d__0'::'<>u__1' -IL_0056: stloc.2 -IL_0057: ldarg.0 -IL_0058: ldflda valuetype [mscorlib]System.Runtime.CompilerServices.TaskAwaiter CatchAndFinally/'d__0'::'<>u__1' -IL_005d: initobj [mscorlib]System.Runtime.CompilerServices.TaskAwaiter -IL_0063: ldarg.0 -IL_0064: ldc.i4.m1 -IL_0065: dup -IL_0066: stloc.0 -IL_0067: stfld int32 CatchAndFinally/'d__0'::'<>1__state' -IL_006c: ldloca.s V_2 -IL_006e: call instance void [mscorlib]System.Runtime.CompilerServices.TaskAwaiter::GetResult() -IL_0073: leave.s IL_008c -} // end .try -catch [mscorlib]System.Exception -{ -IL_0075: stloc.3 -IL_0076: ldarg.0 -IL_0077: ldc.i4.s -2 -IL_0079: stfld int32 CatchAndFinally/'d__0'::'<>1__state' -IL_007e: ldarg.0 -IL_007f: ldflda valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__0'::'<>t__builder' -IL_0084: ldloc.3 -IL_0085: call instance void [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetException(class [mscorlib]System.Exception) -IL_008a: leave.s IL_009f -} // end handler -IL_008c: ldarg.0 -IL_008d: ldc.i4.s -2 -IL_008f: stfld int32 CatchAndFinally/'d__0'::'<>1__state' -IL_0094: ldarg.0 -IL_0095: ldflda valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__0'::'<>t__builder' -IL_009a: call instance void [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetResult() -IL_009f: ret -} -.method private hidebysig newslot virtual final -instance void SetStateMachine(class [mscorlib]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed -{ -.param [1] -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.override [mscorlib]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine -.maxstack 8 -IL_0000: ldarg.0 -IL_0001: ldflda valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__0'::'<>t__builder' -IL_0006: ldarg.1 -IL_0007: call instance void [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetStateMachine(class [mscorlib]System.Runtime.CompilerServices.IAsyncStateMachine) -IL_000c: ret -} -} -.class auto ansi sealed nested private beforefieldinit 'd__1' -extends [mscorlib]System.ValueType -implements [mscorlib]System.Runtime.CompilerServices.IAsyncStateMachine -{ -.interfaceimpl type [mscorlib]System.Runtime.CompilerServices.IAsyncStateMachine -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field public int32 '<>1__state' -.field public valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder '<>t__builder' -.field private valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter '<>u__1' -.method private hidebysig newslot virtual final -instance void MoveNext() cil managed -{ -.override [mscorlib]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext -.maxstack 3 -.locals init (int32 V_0, -int32 V_1, -valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter V_2, -valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable V_3, -class [mscorlib]System.Exception V_4) -IL_0000: ldarg.0 -IL_0001: ldfld int32 CatchAndFinally/'d__1'::'<>1__state' -IL_0006: stloc.0 -.try -{ -IL_0007: ldloc.0 -IL_0008: brfalse.s IL_0059 -IL_000a: ldc.i4.0 -IL_000b: stloc.1 -.try -{ -IL_000c: newobj instance void [mscorlib]System.NotImplementedException::.ctor() -IL_0011: throw -} // end .try -catch [mscorlib]System.Object -{ -IL_0012: pop -IL_0013: ldc.i4.1 -IL_0014: stloc.1 -IL_0015: leave.s IL_0017 -} // end handler -IL_0017: ldloc.1 -IL_0018: ldc.i4.1 -IL_0019: bne.un.s IL_007c -IL_001b: ldc.i4.1 -IL_001c: call class [mscorlib]System.Threading.Tasks.Task [mscorlib]System.Threading.Tasks.Task::Delay(int32) -IL_0021: ldc.i4.0 -IL_0022: callvirt instance valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable [mscorlib]System.Threading.Tasks.Task::ConfigureAwait(bool) -IL_0027: stloc.3 -IL_0028: ldloca.s V_3 -IL_002a: call instance valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable::GetAwaiter() -IL_002f: stloc.2 -IL_0030: ldloca.s V_2 -IL_0032: call instance bool [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter::get_IsCompleted() -IL_0037: brtrue.s IL_0075 -IL_0039: ldarg.0 -IL_003a: ldc.i4.0 -IL_003b: dup -IL_003c: stloc.0 -IL_003d: stfld int32 CatchAndFinally/'d__1'::'<>1__state' -IL_0042: ldarg.0 -IL_0043: ldloc.2 -IL_0044: stfld valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter CatchAndFinally/'d__1'::'<>u__1' -IL_0049: ldarg.0 -IL_004a: ldflda valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__1'::'<>t__builder' -IL_004f: ldloca.s V_2 -IL_0051: ldarg.0 -IL_0052: call instance void [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::AwaitUnsafeOnCompletedd__1'>(!!0&, -!!1&) -IL_0057: leave.s IL_00aa -IL_0059: ldarg.0 -IL_005a: ldfld valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter CatchAndFinally/'d__1'::'<>u__1' -IL_005f: stloc.2 -IL_0060: ldarg.0 -IL_0061: ldflda valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter CatchAndFinally/'d__1'::'<>u__1' -IL_0066: initobj [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter -IL_006c: ldarg.0 -IL_006d: ldc.i4.m1 -IL_006e: dup -IL_006f: stloc.0 -IL_0070: stfld int32 CatchAndFinally/'d__1'::'<>1__state' -IL_0075: ldloca.s V_2 -IL_0077: call instance void [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter::GetResult() -IL_007c: leave.s IL_0097 -} // end .try -catch [mscorlib]System.Exception -{ -IL_007e: stloc.s V_4 -IL_0080: ldarg.0 -IL_0081: ldc.i4.s -2 -IL_0083: stfld int32 CatchAndFinally/'d__1'::'<>1__state' -IL_0088: ldarg.0 -IL_0089: ldflda valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__1'::'<>t__builder' -IL_008e: ldloc.s V_4 -IL_0090: call instance void [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetException(class [mscorlib]System.Exception) -IL_0095: leave.s IL_00aa -} // end handler -IL_0097: ldarg.0 -IL_0098: ldc.i4.s -2 -IL_009a: stfld int32 CatchAndFinally/'d__1'::'<>1__state' -IL_009f: ldarg.0 -IL_00a0: ldflda valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__1'::'<>t__builder' -IL_00a5: call instance void [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetResult() -IL_00aa: ret -} -.method private hidebysig newslot virtual final -instance void SetStateMachine(class [mscorlib]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed -{ -.param [1] -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.override [mscorlib]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine -.maxstack 8 -IL_0000: ldarg.0 -IL_0001: ldflda valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__1'::'<>t__builder' -IL_0006: ldarg.1 -IL_0007: call instance void [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetStateMachine(class [mscorlib]System.Runtime.CompilerServices.IAsyncStateMachine) -IL_000c: ret -} -} -.class auto ansi sealed nested private beforefieldinit 'd__2' -extends [mscorlib]System.ValueType -implements [mscorlib]System.Runtime.CompilerServices.IAsyncStateMachine -{ -.interfaceimpl type [mscorlib]System.Runtime.CompilerServices.IAsyncStateMachine -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field public int32 '<>1__state' -.field public valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder '<>t__builder' -.field private valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter '<>u__1' -.method private hidebysig newslot virtual final -instance void MoveNext() cil managed -{ -.override [mscorlib]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext -.maxstack 3 -.locals init (int32 V_0, -int32 V_1, -valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter V_2, -valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable V_3, -class [mscorlib]System.Exception V_4) -IL_0000: ldarg.0 -IL_0001: ldfld int32 CatchAndFinally/'d__2'::'<>1__state' -IL_0006: stloc.0 -.try -{ -IL_0007: ldloc.0 -IL_0008: brfalse.s IL_0059 -IL_000a: ldc.i4.0 -IL_000b: stloc.1 -.try -{ -IL_000c: newobj instance void [mscorlib]System.NotImplementedException::.ctor() -IL_0011: throw -} // end .try -catch [mscorlib]System.Object -{ -IL_0012: pop -IL_0013: ldc.i4.1 -IL_0014: stloc.1 -IL_0015: leave.s IL_0017 -} // end handler -IL_0017: ldloc.1 -IL_0018: ldc.i4.1 -IL_0019: bne.un.s IL_007c -IL_001b: ldc.i4.1 -IL_001c: call class [mscorlib]System.Threading.Tasks.Task [mscorlib]System.Threading.Tasks.Task::Delay(int32) -IL_0021: ldc.i4.0 -IL_0022: callvirt instance valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable [mscorlib]System.Threading.Tasks.Task::ConfigureAwait(bool) -IL_0027: stloc.3 -IL_0028: ldloca.s V_3 -IL_002a: call instance valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable::GetAwaiter() -IL_002f: stloc.2 -IL_0030: ldloca.s V_2 -IL_0032: call instance bool [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter::get_IsCompleted() -IL_0037: brtrue.s IL_0075 -IL_0039: ldarg.0 -IL_003a: ldc.i4.0 -IL_003b: dup -IL_003c: stloc.0 -IL_003d: stfld int32 CatchAndFinally/'d__2'::'<>1__state' -IL_0042: ldarg.0 -IL_0043: ldloc.2 -IL_0044: stfld valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter CatchAndFinally/'d__2'::'<>u__1' -IL_0049: ldarg.0 -IL_004a: ldflda valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__2'::'<>t__builder' -IL_004f: ldloca.s V_2 -IL_0051: ldarg.0 -IL_0052: call instance void [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::AwaitUnsafeOnCompletedd__2'>(!!0&, -!!1&) -IL_0057: leave.s IL_00aa -IL_0059: ldarg.0 -IL_005a: ldfld valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter CatchAndFinally/'d__2'::'<>u__1' -IL_005f: stloc.2 -IL_0060: ldarg.0 -IL_0061: ldflda valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter CatchAndFinally/'d__2'::'<>u__1' -IL_0066: initobj [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter -IL_006c: ldarg.0 -IL_006d: ldc.i4.m1 -IL_006e: dup -IL_006f: stloc.0 -IL_0070: stfld int32 CatchAndFinally/'d__2'::'<>1__state' -IL_0075: ldloca.s V_2 -IL_0077: call instance void [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter::GetResult() -IL_007c: leave.s IL_0097 -} // end .try -catch [mscorlib]System.Exception -{ -IL_007e: stloc.s V_4 -IL_0080: ldarg.0 -IL_0081: ldc.i4.s -2 -IL_0083: stfld int32 CatchAndFinally/'d__2'::'<>1__state' -IL_0088: ldarg.0 -IL_0089: ldflda valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__2'::'<>t__builder' -IL_008e: ldloc.s V_4 -IL_0090: call instance void [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetException(class [mscorlib]System.Exception) -IL_0095: leave.s IL_00aa -} // end handler -IL_0097: ldarg.0 -IL_0098: ldc.i4.s -2 -IL_009a: stfld int32 CatchAndFinally/'d__2'::'<>1__state' -IL_009f: ldarg.0 -IL_00a0: ldflda valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__2'::'<>t__builder' -IL_00a5: call instance void [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetResult() -IL_00aa: ret -} -.method private hidebysig newslot virtual final -instance void SetStateMachine(class [mscorlib]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed -{ -.param [1] -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.override [mscorlib]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine -.maxstack 8 -IL_0000: ldarg.0 -IL_0001: ldflda valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__2'::'<>t__builder' -IL_0006: ldarg.1 -IL_0007: call instance void [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetStateMachine(class [mscorlib]System.Runtime.CompilerServices.IAsyncStateMachine) -IL_000c: ret -} -} -.class auto ansi sealed nested private beforefieldinit 'd__3' -extends [mscorlib]System.ValueType -implements [mscorlib]System.Runtime.CompilerServices.IAsyncStateMachine -{ -.interfaceimpl type [mscorlib]System.Runtime.CompilerServices.IAsyncStateMachine -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field public int32 '<>1__state' -.field public valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder '<>t__builder' -.field private object '<>7__wrap1' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field private int32 '<>7__wrap2' -.field private valuetype [mscorlib]System.Runtime.CompilerServices.TaskAwaiter '<>u__1' -.method private hidebysig newslot virtual final -instance void MoveNext() cil managed -{ -.override [mscorlib]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext -.maxstack 3 -.locals init (int32 V_0, -object V_1, -valuetype [mscorlib]System.Runtime.CompilerServices.TaskAwaiter V_2, -class [mscorlib]System.Exception V_3) -IL_0000: ldarg.0 -IL_0001: ldfld int32 CatchAndFinally/'d__3'::'<>1__state' -IL_0006: stloc.0 -.try -{ -IL_0007: ldloc.0 -IL_0008: brfalse.s IL_005d -IL_000a: ldarg.0 -IL_000b: ldnull -IL_000c: stfld object CatchAndFinally/'d__3'::'<>7__wrap1' -IL_0011: ldarg.0 -IL_0012: ldc.i4.0 -IL_0013: stfld int32 CatchAndFinally/'d__3'::'<>7__wrap2' -.try -{ -IL_0018: newobj instance void [mscorlib]System.NotImplementedException::.ctor() -IL_001d: throw -} // end .try -catch [mscorlib]System.Object -{ -IL_001e: stloc.1 -IL_001f: ldarg.0 -IL_0020: ldloc.1 -IL_0021: stfld object CatchAndFinally/'d__3'::'<>7__wrap1' -IL_0026: leave.s IL_0028 -} // end handler -IL_0028: ldc.i4.1 -IL_0029: call class [mscorlib]System.Threading.Tasks.Task [mscorlib]System.Threading.Tasks.Task::Delay(int32) -IL_002e: callvirt instance valuetype [mscorlib]System.Runtime.CompilerServices.TaskAwaiter [mscorlib]System.Threading.Tasks.Task::GetAwaiter() -IL_0033: stloc.2 -IL_0034: ldloca.s V_2 -IL_0036: call instance bool [mscorlib]System.Runtime.CompilerServices.TaskAwaiter::get_IsCompleted() -IL_003b: brtrue.s IL_0079 -IL_003d: ldarg.0 -IL_003e: ldc.i4.0 -IL_003f: dup -IL_0040: stloc.0 -IL_0041: stfld int32 CatchAndFinally/'d__3'::'<>1__state' -IL_0046: ldarg.0 -IL_0047: ldloc.2 -IL_0048: stfld valuetype [mscorlib]System.Runtime.CompilerServices.TaskAwaiter CatchAndFinally/'d__3'::'<>u__1' -IL_004d: ldarg.0 -IL_004e: ldflda valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__3'::'<>t__builder' -IL_0053: ldloca.s V_2 -IL_0055: ldarg.0 -IL_0056: call instance void [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::AwaitUnsafeOnCompletedd__3'>(!!0&, -!!1&) -IL_005b: leave.s IL_00d2 -IL_005d: ldarg.0 -IL_005e: ldfld valuetype [mscorlib]System.Runtime.CompilerServices.TaskAwaiter CatchAndFinally/'d__3'::'<>u__1' -IL_0063: stloc.2 -IL_0064: ldarg.0 -IL_0065: ldflda valuetype [mscorlib]System.Runtime.CompilerServices.TaskAwaiter CatchAndFinally/'d__3'::'<>u__1' -IL_006a: initobj [mscorlib]System.Runtime.CompilerServices.TaskAwaiter -IL_0070: ldarg.0 -IL_0071: ldc.i4.m1 -IL_0072: dup -IL_0073: stloc.0 -IL_0074: stfld int32 CatchAndFinally/'d__3'::'<>1__state' -IL_0079: ldloca.s V_2 -IL_007b: call instance void [mscorlib]System.Runtime.CompilerServices.TaskAwaiter::GetResult() -IL_0080: ldarg.0 -IL_0081: ldfld object CatchAndFinally/'d__3'::'<>7__wrap1' -IL_0086: stloc.1 -IL_0087: ldloc.1 -IL_0088: brfalse.s IL_009f -IL_008a: ldloc.1 -IL_008b: isinst [mscorlib]System.Exception -IL_0090: dup -IL_0091: brtrue.s IL_0095 -IL_0093: ldloc.1 -IL_0094: throw -IL_0095: call class [mscorlib]System.Runtime.ExceptionServices.ExceptionDispatchInfo [mscorlib]System.Runtime.ExceptionServices.ExceptionDispatchInfo::Capture(class [mscorlib]System.Exception) -IL_009a: callvirt instance void [mscorlib]System.Runtime.ExceptionServices.ExceptionDispatchInfo::Throw() -IL_009f: ldarg.0 -IL_00a0: ldnull -IL_00a1: stfld object CatchAndFinally/'d__3'::'<>7__wrap1' -IL_00a6: leave.s IL_00bf -} // end .try -catch [mscorlib]System.Exception -{ -IL_00a8: stloc.3 -IL_00a9: ldarg.0 -IL_00aa: ldc.i4.s -2 -IL_00ac: stfld int32 CatchAndFinally/'d__3'::'<>1__state' -IL_00b1: ldarg.0 -IL_00b2: ldflda valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__3'::'<>t__builder' -IL_00b7: ldloc.3 -IL_00b8: call instance void [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetException(class [mscorlib]System.Exception) -IL_00bd: leave.s IL_00d2 -} // end handler -IL_00bf: ldarg.0 -IL_00c0: ldc.i4.s -2 -IL_00c2: stfld int32 CatchAndFinally/'d__3'::'<>1__state' -IL_00c7: ldarg.0 -IL_00c8: ldflda valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__3'::'<>t__builder' -IL_00cd: call instance void [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetResult() -IL_00d2: ret -} -.method private hidebysig newslot virtual final -instance void SetStateMachine(class [mscorlib]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed -{ -.param [1] -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.override [mscorlib]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine -.maxstack 8 -IL_0000: ldarg.0 -IL_0001: ldflda valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__3'::'<>t__builder' -IL_0006: ldarg.1 -IL_0007: call instance void [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetStateMachine(class [mscorlib]System.Runtime.CompilerServices.IAsyncStateMachine) -IL_000c: ret -} -} -.class auto ansi sealed nested private beforefieldinit 'd__4' -extends [mscorlib]System.ValueType -implements [mscorlib]System.Runtime.CompilerServices.IAsyncStateMachine -{ -.interfaceimpl type [mscorlib]System.Runtime.CompilerServices.IAsyncStateMachine -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field public int32 '<>1__state' -.field public valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder '<>t__builder' -.field private object '<>7__wrap1' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field private int32 '<>7__wrap2' -.field private valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter '<>u__1' -.method private hidebysig newslot virtual final -instance void MoveNext() cil managed -{ -.override [mscorlib]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext -.maxstack 3 -.locals init (int32 V_0, -object V_1, -valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter V_2, -valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable V_3, -class [mscorlib]System.Exception V_4) -IL_0000: ldarg.0 -IL_0001: ldfld int32 CatchAndFinally/'d__4'::'<>1__state' -IL_0006: stloc.0 -.try -{ -IL_0007: ldloc.0 -IL_0008: brfalse.s IL_0069 -IL_000a: ldarg.0 -IL_000b: ldnull -IL_000c: stfld object CatchAndFinally/'d__4'::'<>7__wrap1' -IL_0011: ldarg.0 -IL_0012: ldc.i4.0 -IL_0013: stfld int32 CatchAndFinally/'d__4'::'<>7__wrap2' -.try -{ -IL_0018: newobj instance void [mscorlib]System.NotImplementedException::.ctor() -IL_001d: throw -} // end .try -catch [mscorlib]System.Object -{ -IL_001e: stloc.1 -IL_001f: ldarg.0 -IL_0020: ldloc.1 -IL_0021: stfld object CatchAndFinally/'d__4'::'<>7__wrap1' -IL_0026: leave.s IL_0028 -} // end handler -IL_0028: ldc.i4.1 -IL_0029: call class [mscorlib]System.Threading.Tasks.Task [mscorlib]System.Threading.Tasks.Task::Delay(int32) -IL_002e: ldc.i4.0 -IL_002f: callvirt instance valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable [mscorlib]System.Threading.Tasks.Task::ConfigureAwait(bool) -IL_0034: stloc.3 -IL_0035: ldloca.s V_3 -IL_0037: call instance valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable::GetAwaiter() -IL_003c: stloc.2 -IL_003d: ldloca.s V_2 -IL_003f: call instance bool [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter::get_IsCompleted() -IL_0044: brtrue.s IL_0085 -IL_0046: ldarg.0 -IL_0047: ldc.i4.0 -IL_0048: dup -IL_0049: stloc.0 -IL_004a: stfld int32 CatchAndFinally/'d__4'::'<>1__state' -IL_004f: ldarg.0 -IL_0050: ldloc.2 -IL_0051: stfld valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter CatchAndFinally/'d__4'::'<>u__1' -IL_0056: ldarg.0 -IL_0057: ldflda valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__4'::'<>t__builder' -IL_005c: ldloca.s V_2 -IL_005e: ldarg.0 -IL_005f: call instance void [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::AwaitUnsafeOnCompletedd__4'>(!!0&, -!!1&) -IL_0064: leave IL_00e0 -IL_0069: ldarg.0 -IL_006a: ldfld valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter CatchAndFinally/'d__4'::'<>u__1' -IL_006f: stloc.2 -IL_0070: ldarg.0 -IL_0071: ldflda valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter CatchAndFinally/'d__4'::'<>u__1' -IL_0076: initobj [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter -IL_007c: ldarg.0 -IL_007d: ldc.i4.m1 -IL_007e: dup -IL_007f: stloc.0 -IL_0080: stfld int32 CatchAndFinally/'d__4'::'<>1__state' -IL_0085: ldloca.s V_2 -IL_0087: call instance void [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter::GetResult() -IL_008c: ldarg.0 -IL_008d: ldfld object CatchAndFinally/'d__4'::'<>7__wrap1' -IL_0092: stloc.1 -IL_0093: ldloc.1 -IL_0094: brfalse.s IL_00ab -IL_0096: ldloc.1 -IL_0097: isinst [mscorlib]System.Exception -IL_009c: dup -IL_009d: brtrue.s IL_00a1 -IL_009f: ldloc.1 -IL_00a0: throw -IL_00a1: call class [mscorlib]System.Runtime.ExceptionServices.ExceptionDispatchInfo [mscorlib]System.Runtime.ExceptionServices.ExceptionDispatchInfo::Capture(class [mscorlib]System.Exception) -IL_00a6: callvirt instance void [mscorlib]System.Runtime.ExceptionServices.ExceptionDispatchInfo::Throw() -IL_00ab: ldarg.0 -IL_00ac: ldnull -IL_00ad: stfld object CatchAndFinally/'d__4'::'<>7__wrap1' -IL_00b2: leave.s IL_00cd -} // end .try -catch [mscorlib]System.Exception -{ -IL_00b4: stloc.s V_4 -IL_00b6: ldarg.0 -IL_00b7: ldc.i4.s -2 -IL_00b9: stfld int32 CatchAndFinally/'d__4'::'<>1__state' -IL_00be: ldarg.0 -IL_00bf: ldflda valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__4'::'<>t__builder' -IL_00c4: ldloc.s V_4 -IL_00c6: call instance void [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetException(class [mscorlib]System.Exception) -IL_00cb: leave.s IL_00e0 -} // end handler -IL_00cd: ldarg.0 -IL_00ce: ldc.i4.s -2 -IL_00d0: stfld int32 CatchAndFinally/'d__4'::'<>1__state' -IL_00d5: ldarg.0 -IL_00d6: ldflda valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__4'::'<>t__builder' -IL_00db: call instance void [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetResult() -IL_00e0: ret -} -.method private hidebysig newslot virtual final -instance void SetStateMachine(class [mscorlib]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed -{ -.param [1] -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.override [mscorlib]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine -.maxstack 8 -IL_0000: ldarg.0 -IL_0001: ldflda valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__4'::'<>t__builder' -IL_0006: ldarg.1 -IL_0007: call instance void [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetStateMachine(class [mscorlib]System.Runtime.CompilerServices.IAsyncStateMachine) -IL_000c: ret -} -} -.class auto ansi sealed nested private beforefieldinit 'd__5' -extends [mscorlib]System.ValueType -implements [mscorlib]System.Runtime.CompilerServices.IAsyncStateMachine -{ -.interfaceimpl type [mscorlib]System.Runtime.CompilerServices.IAsyncStateMachine -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field public int32 '<>1__state' -.field public valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder '<>t__builder' -.field private object '<>7__wrap1' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field private int32 '<>7__wrap2' -.field private valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter '<>u__1' -.method private hidebysig newslot virtual final -instance void MoveNext() cil managed -{ -.override [mscorlib]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext -.maxstack 3 -.locals init (int32 V_0, -object V_1, -valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter V_2, -valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable V_3, -class [mscorlib]System.Exception V_4) -IL_0000: ldarg.0 -IL_0001: ldfld int32 CatchAndFinally/'d__5'::'<>1__state' -IL_0006: stloc.0 -.try -{ -IL_0007: ldloc.0 -IL_0008: brfalse.s IL_0066 -IL_000a: ldarg.0 -IL_000b: ldnull -IL_000c: stfld object CatchAndFinally/'d__5'::'<>7__wrap1' -IL_0011: ldarg.0 -IL_0012: ldc.i4.0 -IL_0013: stfld int32 CatchAndFinally/'d__5'::'<>7__wrap2' -.try -{ -IL_0018: newobj instance void [mscorlib]System.NotImplementedException::.ctor() -IL_001d: throw -} // end .try -catch [mscorlib]System.Object -{ -IL_001e: stloc.1 -IL_001f: ldarg.0 -IL_0020: ldloc.1 -IL_0021: stfld object CatchAndFinally/'d__5'::'<>7__wrap1' -IL_0026: leave.s IL_0028 -} // end handler -IL_0028: ldc.i4.1 -IL_0029: call class [mscorlib]System.Threading.Tasks.Task [mscorlib]System.Threading.Tasks.Task::Delay(int32) -IL_002e: ldc.i4.0 -IL_002f: callvirt instance valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable [mscorlib]System.Threading.Tasks.Task::ConfigureAwait(bool) -IL_0034: stloc.3 -IL_0035: ldloca.s V_3 -IL_0037: call instance valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable::GetAwaiter() -IL_003c: stloc.2 -IL_003d: ldloca.s V_2 -IL_003f: call instance bool [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter::get_IsCompleted() -IL_0044: brtrue.s IL_0082 -IL_0046: ldarg.0 -IL_0047: ldc.i4.0 -IL_0048: dup -IL_0049: stloc.0 -IL_004a: stfld int32 CatchAndFinally/'d__5'::'<>1__state' -IL_004f: ldarg.0 -IL_0050: ldloc.2 -IL_0051: stfld valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter CatchAndFinally/'d__5'::'<>u__1' -IL_0056: ldarg.0 -IL_0057: ldflda valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__5'::'<>t__builder' -IL_005c: ldloca.s V_2 -IL_005e: ldarg.0 -IL_005f: call instance void [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::AwaitUnsafeOnCompletedd__5'>(!!0&, -!!1&) -IL_0064: leave.s IL_00dd -IL_0066: ldarg.0 -IL_0067: ldfld valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter CatchAndFinally/'d__5'::'<>u__1' -IL_006c: stloc.2 -IL_006d: ldarg.0 -IL_006e: ldflda valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter CatchAndFinally/'d__5'::'<>u__1' -IL_0073: initobj [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter -IL_0079: ldarg.0 -IL_007a: ldc.i4.m1 -IL_007b: dup -IL_007c: stloc.0 -IL_007d: stfld int32 CatchAndFinally/'d__5'::'<>1__state' -IL_0082: ldloca.s V_2 -IL_0084: call instance void [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter::GetResult() -IL_0089: ldarg.0 -IL_008a: ldfld object CatchAndFinally/'d__5'::'<>7__wrap1' -IL_008f: stloc.1 -IL_0090: ldloc.1 -IL_0091: brfalse.s IL_00a8 -IL_0093: ldloc.1 -IL_0094: isinst [mscorlib]System.Exception -IL_0099: dup -IL_009a: brtrue.s IL_009e -IL_009c: ldloc.1 -IL_009d: throw -IL_009e: call class [mscorlib]System.Runtime.ExceptionServices.ExceptionDispatchInfo [mscorlib]System.Runtime.ExceptionServices.ExceptionDispatchInfo::Capture(class [mscorlib]System.Exception) -IL_00a3: callvirt instance void [mscorlib]System.Runtime.ExceptionServices.ExceptionDispatchInfo::Throw() -IL_00a8: ldarg.0 -IL_00a9: ldnull -IL_00aa: stfld object CatchAndFinally/'d__5'::'<>7__wrap1' -IL_00af: leave.s IL_00ca -} // end .try -catch [mscorlib]System.Exception -{ -IL_00b1: stloc.s V_4 -IL_00b3: ldarg.0 -IL_00b4: ldc.i4.s -2 -IL_00b6: stfld int32 CatchAndFinally/'d__5'::'<>1__state' -IL_00bb: ldarg.0 -IL_00bc: ldflda valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__5'::'<>t__builder' -IL_00c1: ldloc.s V_4 -IL_00c3: call instance void [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetException(class [mscorlib]System.Exception) -IL_00c8: leave.s IL_00dd -} // end handler -IL_00ca: ldarg.0 -IL_00cb: ldc.i4.s -2 -IL_00cd: stfld int32 CatchAndFinally/'d__5'::'<>1__state' -IL_00d2: ldarg.0 -IL_00d3: ldflda valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__5'::'<>t__builder' -IL_00d8: call instance void [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetResult() -IL_00dd: ret -} -.method private hidebysig newslot virtual final -instance void SetStateMachine(class [mscorlib]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed -{ -.param [1] -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.override [mscorlib]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine -.maxstack 8 -IL_0000: ldarg.0 -IL_0001: ldflda valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__5'::'<>t__builder' -IL_0006: ldarg.1 -IL_0007: call instance void [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetStateMachine(class [mscorlib]System.Runtime.CompilerServices.IAsyncStateMachine) -IL_000c: ret -} -} -.method public hidebysig instance class [mscorlib]System.Threading.Tasks.Task -Catch1() cil managed -{ -6C 79 2B 3C 43 61 74 63 68 31 3E 64 5F 5F 30 00 // ly+d__0. -00 ) -.maxstack 2 -.locals init (valuetype CatchAndFinally/'d__0' V_0) -IL_0000: ldloca.s V_0 -IL_0002: call valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Create() -IL_0007: stfld valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__0'::'<>t__builder' -IL_000c: ldloca.s V_0 -IL_000e: ldc.i4.m1 -IL_000f: stfld int32 CatchAndFinally/'d__0'::'<>1__state' -IL_0014: ldloca.s V_0 -IL_0016: ldflda valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__0'::'<>t__builder' -IL_001b: ldloca.s V_0 -IL_001d: call instance void [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Startd__0'>(!!0&) -IL_0022: ldloca.s V_0 -IL_0024: ldflda valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__0'::'<>t__builder' -IL_0029: call instance class [mscorlib]System.Threading.Tasks.Task [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::get_Task() -IL_002e: ret -} -.method public hidebysig instance class [mscorlib]System.Threading.Tasks.Task -Catch2() cil managed -{ -6C 79 2B 3C 43 61 74 63 68 32 3E 64 5F 5F 31 00 // ly+d__1. -00 ) -.maxstack 2 -.locals init (valuetype CatchAndFinally/'d__1' V_0) -IL_0000: ldloca.s V_0 -IL_0002: call valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Create() -IL_0007: stfld valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__1'::'<>t__builder' -IL_000c: ldloca.s V_0 -IL_000e: ldc.i4.m1 -IL_000f: stfld int32 CatchAndFinally/'d__1'::'<>1__state' -IL_0014: ldloca.s V_0 -IL_0016: ldflda valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__1'::'<>t__builder' -IL_001b: ldloca.s V_0 -IL_001d: call instance void [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Startd__1'>(!!0&) -IL_0022: ldloca.s V_0 -IL_0024: ldflda valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__1'::'<>t__builder' -IL_0029: call instance class [mscorlib]System.Threading.Tasks.Task [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::get_Task() -IL_002e: ret -} -.method public hidebysig instance class [mscorlib]System.Threading.Tasks.Task -Catch3() cil managed -{ -6C 79 2B 3C 43 61 74 63 68 33 3E 64 5F 5F 32 00 // ly+d__2. -00 ) -.maxstack 2 -.locals init (valuetype CatchAndFinally/'d__2' V_0) -IL_0000: ldloca.s V_0 -IL_0002: call valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Create() -IL_0007: stfld valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__2'::'<>t__builder' -IL_000c: ldloca.s V_0 -IL_000e: ldc.i4.m1 -IL_000f: stfld int32 CatchAndFinally/'d__2'::'<>1__state' -IL_0014: ldloca.s V_0 -IL_0016: ldflda valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__2'::'<>t__builder' -IL_001b: ldloca.s V_0 -IL_001d: call instance void [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Startd__2'>(!!0&) -IL_0022: ldloca.s V_0 -IL_0024: ldflda valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__2'::'<>t__builder' -IL_0029: call instance class [mscorlib]System.Threading.Tasks.Task [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::get_Task() -IL_002e: ret -} -.method public hidebysig instance class [mscorlib]System.Threading.Tasks.Task -Finally1() cil managed -{ -6C 79 2B 3C 46 69 6E 61 6C 6C 79 31 3E 64 5F 5F // ly+d__ -33 00 00 ) // 3.. -.maxstack 2 -.locals init (valuetype CatchAndFinally/'d__3' V_0) -IL_0000: ldloca.s V_0 -IL_0002: call valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Create() -IL_0007: stfld valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__3'::'<>t__builder' -IL_000c: ldloca.s V_0 -IL_000e: ldc.i4.m1 -IL_000f: stfld int32 CatchAndFinally/'d__3'::'<>1__state' -IL_0014: ldloca.s V_0 -IL_0016: ldflda valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__3'::'<>t__builder' -IL_001b: ldloca.s V_0 -IL_001d: call instance void [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Startd__3'>(!!0&) -IL_0022: ldloca.s V_0 -IL_0024: ldflda valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__3'::'<>t__builder' -IL_0029: call instance class [mscorlib]System.Threading.Tasks.Task [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::get_Task() -IL_002e: ret -} -.method public hidebysig instance class [mscorlib]System.Threading.Tasks.Task -Finally2() cil managed -{ -6C 79 2B 3C 46 69 6E 61 6C 6C 79 32 3E 64 5F 5F // ly+d__ -34 00 00 ) // 4.. -.maxstack 2 -.locals init (valuetype CatchAndFinally/'d__4' V_0) -IL_0000: ldloca.s V_0 -IL_0002: call valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Create() -IL_0007: stfld valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__4'::'<>t__builder' -IL_000c: ldloca.s V_0 -IL_000e: ldc.i4.m1 -IL_000f: stfld int32 CatchAndFinally/'d__4'::'<>1__state' -IL_0014: ldloca.s V_0 -IL_0016: ldflda valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__4'::'<>t__builder' -IL_001b: ldloca.s V_0 -IL_001d: call instance void [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Startd__4'>(!!0&) -IL_0022: ldloca.s V_0 -IL_0024: ldflda valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__4'::'<>t__builder' -IL_0029: call instance class [mscorlib]System.Threading.Tasks.Task [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::get_Task() -IL_002e: ret -} -.method public hidebysig instance class [mscorlib]System.Threading.Tasks.Task -Finally3() cil managed -{ -6C 79 2B 3C 46 69 6E 61 6C 6C 79 33 3E 64 5F 5F // ly+d__ -35 00 00 ) // 5.. -.maxstack 2 -.locals init (valuetype CatchAndFinally/'d__5' V_0) -IL_0000: ldloca.s V_0 -IL_0002: call valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Create() -IL_0007: stfld valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__5'::'<>t__builder' -IL_000c: ldloca.s V_0 -IL_000e: ldc.i4.m1 -IL_000f: stfld int32 CatchAndFinally/'d__5'::'<>1__state' -IL_0014: ldloca.s V_0 -IL_0016: ldflda valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__5'::'<>t__builder' -IL_001b: ldloca.s V_0 -IL_001d: call instance void [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Startd__5'>(!!0&) -IL_0022: ldloca.s V_0 -IL_0024: ldflda valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__5'::'<>t__builder' -IL_0029: call instance class [mscorlib]System.Threading.Tasks.Task [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::get_Task() -IL_002e: ret -} -.method public hidebysig specialname rtspecialname -instance void .ctor() cil managed -{ -.maxstack 8 -IL_0000: ldarg.0 -IL_0001: call instance void [mscorlib]System.Object::.ctor() -IL_0006: ret -} -} diff --git a/Tests/ModuleWeaverTests.DecompileCatchAndFinally.Release.Core.verified.txt b/Tests/ModuleWeaverTests.DecompileCatchAndFinally.Release.Core.verified.txt deleted file mode 100644 index 57016ca..0000000 --- a/Tests/ModuleWeaverTests.DecompileCatchAndFinally.Release.Core.verified.txt +++ /dev/null @@ -1,1827 +0,0 @@ -.class public auto ansi beforefieldinit CatchAndFinally -extends [System.Runtime]System.Object -{ -.custom instance void System.Runtime.CompilerServices.NullableContextAttribute::.ctor(uint8) = ( 01 00 01 00 00 ) -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.class auto ansi sealed nested private beforefieldinit 'd__0' -extends [System.Runtime]System.ValueType -implements [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine -{ -.interfaceimpl type [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field public int32 '<>1__state' -.field public valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder '<>t__builder' -.field private valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter '<>u__1' -.method private hidebysig newslot virtual final -instance void MoveNext() cil managed -{ -.override [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext -.maxstack 3 -.locals init (int32 V_0, -int32 V_1, -valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter V_2, -class [System.Runtime]System.Exception V_3) -IL_0000: ldarg.0 -IL_0001: ldfld int32 CatchAndFinally/'d__0'::'<>1__state' -IL_0006: stloc.0 -.try -{ -IL_0007: ldloc.0 -IL_0008: brfalse.s IL_0050 -IL_000a: ldc.i4.0 -IL_000b: stloc.1 -.try -{ -IL_000c: newobj instance void [System.Runtime]System.NotImplementedException::.ctor() -IL_0011: throw -} // end .try -catch [System.Runtime]System.Object -{ -IL_0012: pop -IL_0013: ldc.i4.1 -IL_0014: stloc.1 -IL_0015: leave.s IL_0017 -} // end handler -IL_0017: ldloc.1 -IL_0018: ldc.i4.1 -IL_0019: bne.un.s IL_0073 -IL_001b: ldc.i4.1 -IL_001c: call class [System.Runtime]System.Threading.Tasks.Task [System.Runtime]System.Threading.Tasks.Task::Delay(int32) -IL_0021: callvirt instance valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter [System.Runtime]System.Threading.Tasks.Task::GetAwaiter() -IL_0026: stloc.2 -IL_0027: ldloca.s V_2 -IL_0029: call instance bool [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter::get_IsCompleted() -IL_002e: brtrue.s IL_006c -IL_0030: ldarg.0 -IL_0031: ldc.i4.0 -IL_0032: dup -IL_0033: stloc.0 -IL_0034: stfld int32 CatchAndFinally/'d__0'::'<>1__state' -IL_0039: ldarg.0 -IL_003a: ldloc.2 -IL_003b: stfld valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter CatchAndFinally/'d__0'::'<>u__1' -IL_0040: ldarg.0 -IL_0041: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__0'::'<>t__builder' -IL_0046: ldloca.s V_2 -IL_0048: ldarg.0 -IL_0049: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::AwaitUnsafeOnCompletedd__0'>(!!0&, -!!1&) -IL_004e: leave.s IL_009f -IL_0050: ldarg.0 -IL_0051: ldfld valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter CatchAndFinally/'d__0'::'<>u__1' -IL_0056: stloc.2 -IL_0057: ldarg.0 -IL_0058: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter CatchAndFinally/'d__0'::'<>u__1' -IL_005d: initobj [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter -IL_0063: ldarg.0 -IL_0064: ldc.i4.m1 -IL_0065: dup -IL_0066: stloc.0 -IL_0067: stfld int32 CatchAndFinally/'d__0'::'<>1__state' -IL_006c: ldloca.s V_2 -IL_006e: call instance void [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter::GetResult() -IL_0073: leave.s IL_008c -} // end .try -catch [System.Runtime]System.Exception -{ -IL_0075: stloc.3 -IL_0076: ldarg.0 -IL_0077: ldc.i4.s -2 -IL_0079: stfld int32 CatchAndFinally/'d__0'::'<>1__state' -IL_007e: ldarg.0 -IL_007f: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__0'::'<>t__builder' -IL_0084: ldloc.3 -IL_0085: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetException(class [System.Runtime]System.Exception) -IL_008a: leave.s IL_009f -} // end handler -IL_008c: ldarg.0 -IL_008d: ldc.i4.s -2 -IL_008f: stfld int32 CatchAndFinally/'d__0'::'<>1__state' -IL_0094: ldarg.0 -IL_0095: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__0'::'<>t__builder' -IL_009a: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetResult() -IL_009f: ret -} -.method private hidebysig newslot virtual final -instance void SetStateMachine(class [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed -{ -.param [1] -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.override [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine -.maxstack 8 -IL_0000: ldarg.0 -IL_0001: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__0'::'<>t__builder' -IL_0006: ldarg.1 -IL_0007: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetStateMachine(class [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine) -IL_000c: ret -} -} -.class auto ansi sealed nested private beforefieldinit 'd__6' -extends [System.Runtime]System.ValueType -implements [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine -{ -.interfaceimpl type [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field public int32 '<>1__state' -.field public valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder '<>t__builder' -.field private valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ValueTaskAwaiter '<>u__1' -.method private hidebysig newslot virtual final -instance void MoveNext() cil managed -{ -.override [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext -.maxstack 3 -.locals init (int32 V_0, -int32 V_1, -valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ValueTaskAwaiter V_2, -valuetype [System.Threading.Tasks.Extensions]System.Threading.Tasks.ValueTask V_3, -class [System.Runtime]System.Exception V_4) -IL_0000: ldarg.0 -IL_0001: ldfld int32 CatchAndFinally/'d__6'::'<>1__state' -IL_0006: stloc.0 -.try -{ -IL_0007: ldloc.0 -IL_0008: brfalse.s IL_0058 -IL_000a: ldc.i4.0 -IL_000b: stloc.1 -.try -{ -IL_000c: newobj instance void [System.Runtime]System.NotImplementedException::.ctor() -IL_0011: throw -} // end .try -catch [System.Runtime]System.Object -{ -IL_0012: pop -IL_0013: ldc.i4.1 -IL_0014: stloc.1 -IL_0015: leave.s IL_0017 -} // end handler -IL_0017: ldloc.1 -IL_0018: ldc.i4.1 -IL_0019: bne.un.s IL_007b -IL_001b: ldc.i4.1 -IL_001c: call class [System.Runtime]System.Threading.Tasks.Task [System.Runtime]System.Threading.Tasks.Task::Delay(int32) -IL_0021: newobj instance void [System.Threading.Tasks.Extensions]System.Threading.Tasks.ValueTask::.ctor(class [System.Runtime]System.Threading.Tasks.Task) -IL_0026: stloc.3 -IL_0027: ldloca.s V_3 -IL_0029: call instance valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ValueTaskAwaiter [System.Threading.Tasks.Extensions]System.Threading.Tasks.ValueTask::GetAwaiter() -IL_002e: stloc.2 -IL_002f: ldloca.s V_2 -IL_0031: call instance bool [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ValueTaskAwaiter::get_IsCompleted() -IL_0036: brtrue.s IL_0074 -IL_0038: ldarg.0 -IL_0039: ldc.i4.0 -IL_003a: dup -IL_003b: stloc.0 -IL_003c: stfld int32 CatchAndFinally/'d__6'::'<>1__state' -IL_0041: ldarg.0 -IL_0042: ldloc.2 -IL_0043: stfld valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ValueTaskAwaiter CatchAndFinally/'d__6'::'<>u__1' -IL_0048: ldarg.0 -IL_0049: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__6'::'<>t__builder' -IL_004e: ldloca.s V_2 -IL_0050: ldarg.0 -IL_0051: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::AwaitUnsafeOnCompletedd__6'>(!!0&, -!!1&) -IL_0056: leave.s IL_00a9 -IL_0058: ldarg.0 -IL_0059: ldfld valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ValueTaskAwaiter CatchAndFinally/'d__6'::'<>u__1' -IL_005e: stloc.2 -IL_005f: ldarg.0 -IL_0060: ldflda valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ValueTaskAwaiter CatchAndFinally/'d__6'::'<>u__1' -IL_0065: initobj [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ValueTaskAwaiter -IL_006b: ldarg.0 -IL_006c: ldc.i4.m1 -IL_006d: dup -IL_006e: stloc.0 -IL_006f: stfld int32 CatchAndFinally/'d__6'::'<>1__state' -IL_0074: ldloca.s V_2 -IL_0076: call instance void [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ValueTaskAwaiter::GetResult() -IL_007b: leave.s IL_0096 -} // end .try -catch [System.Runtime]System.Exception -{ -IL_007d: stloc.s V_4 -IL_007f: ldarg.0 -IL_0080: ldc.i4.s -2 -IL_0082: stfld int32 CatchAndFinally/'d__6'::'<>1__state' -IL_0087: ldarg.0 -IL_0088: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__6'::'<>t__builder' -IL_008d: ldloc.s V_4 -IL_008f: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetException(class [System.Runtime]System.Exception) -IL_0094: leave.s IL_00a9 -} // end handler -IL_0096: ldarg.0 -IL_0097: ldc.i4.s -2 -IL_0099: stfld int32 CatchAndFinally/'d__6'::'<>1__state' -IL_009e: ldarg.0 -IL_009f: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__6'::'<>t__builder' -IL_00a4: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetResult() -IL_00a9: ret -} -.method private hidebysig newslot virtual final -instance void SetStateMachine(class [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed -{ -.param [1] -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.override [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine -.maxstack 8 -IL_0000: ldarg.0 -IL_0001: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__6'::'<>t__builder' -IL_0006: ldarg.1 -IL_0007: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetStateMachine(class [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine) -IL_000c: ret -} -} -.class auto ansi sealed nested private beforefieldinit 'd__1' -extends [System.Runtime]System.ValueType -implements [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine -{ -.interfaceimpl type [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field public int32 '<>1__state' -.field public valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder '<>t__builder' -.field private valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter '<>u__1' -.method private hidebysig newslot virtual final -instance void MoveNext() cil managed -{ -.override [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext -.maxstack 3 -.locals init (int32 V_0, -int32 V_1, -valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter V_2, -valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable V_3, -class [System.Runtime]System.Exception V_4) -IL_0000: ldarg.0 -IL_0001: ldfld int32 CatchAndFinally/'d__1'::'<>1__state' -IL_0006: stloc.0 -.try -{ -IL_0007: ldloc.0 -IL_0008: brfalse.s IL_0059 -IL_000a: ldc.i4.0 -IL_000b: stloc.1 -.try -{ -IL_000c: newobj instance void [System.Runtime]System.NotImplementedException::.ctor() -IL_0011: throw -} // end .try -catch [System.Runtime]System.Object -{ -IL_0012: pop -IL_0013: ldc.i4.1 -IL_0014: stloc.1 -IL_0015: leave.s IL_0017 -} // end handler -IL_0017: ldloc.1 -IL_0018: ldc.i4.1 -IL_0019: bne.un.s IL_007c -IL_001b: ldc.i4.1 -IL_001c: call class [System.Runtime]System.Threading.Tasks.Task [System.Runtime]System.Threading.Tasks.Task::Delay(int32) -IL_0021: ldc.i4.0 -IL_0022: callvirt instance valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable [System.Private.CoreLib]System.Threading.Tasks.Task::ConfigureAwait(bool) -IL_0027: stloc.3 -IL_0028: ldloca.s V_3 -IL_002a: call instance valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable::GetAwaiter() -IL_002f: stloc.2 -IL_0030: ldloca.s V_2 -IL_0032: call instance bool [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter::get_IsCompleted() -IL_0037: brtrue.s IL_0075 -IL_0039: ldarg.0 -IL_003a: ldc.i4.0 -IL_003b: dup -IL_003c: stloc.0 -IL_003d: stfld int32 CatchAndFinally/'d__1'::'<>1__state' -IL_0042: ldarg.0 -IL_0043: ldloc.2 -IL_0044: stfld valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter CatchAndFinally/'d__1'::'<>u__1' -IL_0049: ldarg.0 -IL_004a: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__1'::'<>t__builder' -IL_004f: ldloca.s V_2 -IL_0051: ldarg.0 -IL_0052: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::AwaitUnsafeOnCompletedd__1'>(!!0&, -!!1&) -IL_0057: leave.s IL_00aa -IL_0059: ldarg.0 -IL_005a: ldfld valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter CatchAndFinally/'d__1'::'<>u__1' -IL_005f: stloc.2 -IL_0060: ldarg.0 -IL_0061: ldflda valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter CatchAndFinally/'d__1'::'<>u__1' -IL_0066: initobj [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter -IL_006c: ldarg.0 -IL_006d: ldc.i4.m1 -IL_006e: dup -IL_006f: stloc.0 -IL_0070: stfld int32 CatchAndFinally/'d__1'::'<>1__state' -IL_0075: ldloca.s V_2 -IL_0077: call instance void [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter::GetResult() -IL_007c: leave.s IL_0097 -} // end .try -catch [System.Runtime]System.Exception -{ -IL_007e: stloc.s V_4 -IL_0080: ldarg.0 -IL_0081: ldc.i4.s -2 -IL_0083: stfld int32 CatchAndFinally/'d__1'::'<>1__state' -IL_0088: ldarg.0 -IL_0089: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__1'::'<>t__builder' -IL_008e: ldloc.s V_4 -IL_0090: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetException(class [System.Runtime]System.Exception) -IL_0095: leave.s IL_00aa -} // end handler -IL_0097: ldarg.0 -IL_0098: ldc.i4.s -2 -IL_009a: stfld int32 CatchAndFinally/'d__1'::'<>1__state' -IL_009f: ldarg.0 -IL_00a0: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__1'::'<>t__builder' -IL_00a5: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetResult() -IL_00aa: ret -} -.method private hidebysig newslot virtual final -instance void SetStateMachine(class [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed -{ -.param [1] -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.override [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine -.maxstack 8 -IL_0000: ldarg.0 -IL_0001: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__1'::'<>t__builder' -IL_0006: ldarg.1 -IL_0007: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetStateMachine(class [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine) -IL_000c: ret -} -} -.class auto ansi sealed nested private beforefieldinit 'd__7' -extends [System.Runtime]System.ValueType -implements [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine -{ -.interfaceimpl type [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field public int32 '<>1__state' -.field public valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder '<>t__builder' -.field private valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter '<>u__1' -.method private hidebysig newslot virtual final -instance void MoveNext() cil managed -{ -.override [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext -.maxstack 3 -.locals init (int32 V_0, -int32 V_1, -valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter V_2, -valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable V_3, -valuetype [System.Threading.Tasks.Extensions]System.Threading.Tasks.ValueTask V_4, -class [System.Runtime]System.Exception V_5) -IL_0000: ldarg.0 -IL_0001: ldfld int32 CatchAndFinally/'d__7'::'<>1__state' -IL_0006: stloc.0 -.try -{ -IL_0007: ldloc.0 -IL_0008: brfalse.s IL_0062 -IL_000a: ldc.i4.0 -IL_000b: stloc.1 -.try -{ -IL_000c: newobj instance void [System.Runtime]System.NotImplementedException::.ctor() -IL_0011: throw -} // end .try -catch [System.Runtime]System.Object -{ -IL_0012: pop -IL_0013: ldc.i4.1 -IL_0014: stloc.1 -IL_0015: leave.s IL_0017 -} // end handler -IL_0017: ldloc.1 -IL_0018: ldc.i4.1 -IL_0019: bne.un.s IL_0085 -IL_001b: ldc.i4.1 -IL_001c: call class [System.Runtime]System.Threading.Tasks.Task [System.Runtime]System.Threading.Tasks.Task::Delay(int32) -IL_0021: call instance void [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable::.ctor(valuetype [System.Private.CoreLib]System.Threading.Tasks.ValueTask&) -IL_0026: stloc.s V_4 -IL_0028: ldloca.s V_4 -IL_002a: ldc.i4.0 -IL_002b: callvirt instance valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable [System.Private.CoreLib]System.Threading.Tasks.ValueTask::ConfigureAwait(bool) -IL_0030: stloc.3 -IL_0031: ldloca.s V_3 -IL_0033: call instance valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable::GetAwaiter() -IL_0038: stloc.2 -IL_0039: ldloca.s V_2 -IL_003b: call instance bool [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter::get_IsCompleted() -IL_0040: brtrue.s IL_007e -IL_0042: ldarg.0 -IL_0043: ldc.i4.0 -IL_0044: dup -IL_0045: stloc.0 -IL_0046: stfld int32 CatchAndFinally/'d__7'::'<>1__state' -IL_004b: ldarg.0 -IL_004c: ldloc.2 -IL_004d: stfld valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter CatchAndFinally/'d__7'::'<>u__1' -IL_0052: ldarg.0 -IL_0053: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__7'::'<>t__builder' -IL_0058: ldloca.s V_2 -IL_005a: ldarg.0 -IL_005b: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::AwaitUnsafeOnCompletedd__7'>(!!0&, -!!1&) -IL_0060: leave.s IL_00b3 -IL_0062: ldarg.0 -IL_0063: ldfld valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter CatchAndFinally/'d__7'::'<>u__1' -IL_0068: stloc.2 -IL_0069: ldarg.0 -IL_006a: ldflda valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter CatchAndFinally/'d__7'::'<>u__1' -IL_006f: initobj [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter -IL_0075: ldarg.0 -IL_0076: ldc.i4.m1 -IL_0077: dup -IL_0078: stloc.0 -IL_0079: stfld int32 CatchAndFinally/'d__7'::'<>1__state' -IL_007e: ldloca.s V_2 -IL_0080: call instance void [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter::GetResult() -IL_0085: leave.s IL_00a0 -} // end .try -catch [System.Runtime]System.Exception -{ -IL_0087: stloc.s V_5 -IL_0089: ldarg.0 -IL_008a: ldc.i4.s -2 -IL_008c: stfld int32 CatchAndFinally/'d__7'::'<>1__state' -IL_0091: ldarg.0 -IL_0092: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__7'::'<>t__builder' -IL_0097: ldloc.s V_5 -IL_0099: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetException(class [System.Runtime]System.Exception) -IL_009e: leave.s IL_00b3 -} // end handler -IL_00a0: ldarg.0 -IL_00a1: ldc.i4.s -2 -IL_00a3: stfld int32 CatchAndFinally/'d__7'::'<>1__state' -IL_00a8: ldarg.0 -IL_00a9: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__7'::'<>t__builder' -IL_00ae: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetResult() -IL_00b3: ret -} -.method private hidebysig newslot virtual final -instance void SetStateMachine(class [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed -{ -.param [1] -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.override [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine -.maxstack 8 -IL_0000: ldarg.0 -IL_0001: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__7'::'<>t__builder' -IL_0006: ldarg.1 -IL_0007: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetStateMachine(class [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine) -IL_000c: ret -} -} -.class auto ansi sealed nested private beforefieldinit 'd__2' -extends [System.Runtime]System.ValueType -implements [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine -{ -.interfaceimpl type [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field public int32 '<>1__state' -.field public valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder '<>t__builder' -.field private valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter '<>u__1' -.method private hidebysig newslot virtual final -instance void MoveNext() cil managed -{ -.override [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext -.maxstack 3 -.locals init (int32 V_0, -int32 V_1, -valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter V_2, -valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable V_3, -class [System.Runtime]System.Exception V_4) -IL_0000: ldarg.0 -IL_0001: ldfld int32 CatchAndFinally/'d__2'::'<>1__state' -IL_0006: stloc.0 -.try -{ -IL_0007: ldloc.0 -IL_0008: brfalse.s IL_0059 -IL_000a: ldc.i4.0 -IL_000b: stloc.1 -.try -{ -IL_000c: newobj instance void [System.Runtime]System.NotImplementedException::.ctor() -IL_0011: throw -} // end .try -catch [System.Runtime]System.Object -{ -IL_0012: pop -IL_0013: ldc.i4.1 -IL_0014: stloc.1 -IL_0015: leave.s IL_0017 -} // end handler -IL_0017: ldloc.1 -IL_0018: ldc.i4.1 -IL_0019: bne.un.s IL_007c -IL_001b: ldc.i4.1 -IL_001c: call class [System.Runtime]System.Threading.Tasks.Task [System.Runtime]System.Threading.Tasks.Task::Delay(int32) -IL_0021: ldc.i4.0 -IL_0022: callvirt instance valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable [System.Runtime]System.Threading.Tasks.Task::ConfigureAwait(bool) -IL_0027: stloc.3 -IL_0028: ldloca.s V_3 -IL_002a: call instance valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable::GetAwaiter() -IL_002f: stloc.2 -IL_0030: ldloca.s V_2 -IL_0032: call instance bool [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter::get_IsCompleted() -IL_0037: brtrue.s IL_0075 -IL_0039: ldarg.0 -IL_003a: ldc.i4.0 -IL_003b: dup -IL_003c: stloc.0 -IL_003d: stfld int32 CatchAndFinally/'d__2'::'<>1__state' -IL_0042: ldarg.0 -IL_0043: ldloc.2 -IL_0044: stfld valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter CatchAndFinally/'d__2'::'<>u__1' -IL_0049: ldarg.0 -IL_004a: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__2'::'<>t__builder' -IL_004f: ldloca.s V_2 -IL_0051: ldarg.0 -IL_0052: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::AwaitUnsafeOnCompletedd__2'>(!!0&, -!!1&) -IL_0057: leave.s IL_00aa -IL_0059: ldarg.0 -IL_005a: ldfld valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter CatchAndFinally/'d__2'::'<>u__1' -IL_005f: stloc.2 -IL_0060: ldarg.0 -IL_0061: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter CatchAndFinally/'d__2'::'<>u__1' -IL_0066: initobj [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter -IL_006c: ldarg.0 -IL_006d: ldc.i4.m1 -IL_006e: dup -IL_006f: stloc.0 -IL_0070: stfld int32 CatchAndFinally/'d__2'::'<>1__state' -IL_0075: ldloca.s V_2 -IL_0077: call instance void [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter::GetResult() -IL_007c: leave.s IL_0097 -} // end .try -catch [System.Runtime]System.Exception -{ -IL_007e: stloc.s V_4 -IL_0080: ldarg.0 -IL_0081: ldc.i4.s -2 -IL_0083: stfld int32 CatchAndFinally/'d__2'::'<>1__state' -IL_0088: ldarg.0 -IL_0089: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__2'::'<>t__builder' -IL_008e: ldloc.s V_4 -IL_0090: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetException(class [System.Runtime]System.Exception) -IL_0095: leave.s IL_00aa -} // end handler -IL_0097: ldarg.0 -IL_0098: ldc.i4.s -2 -IL_009a: stfld int32 CatchAndFinally/'d__2'::'<>1__state' -IL_009f: ldarg.0 -IL_00a0: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__2'::'<>t__builder' -IL_00a5: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetResult() -IL_00aa: ret -} -.method private hidebysig newslot virtual final -instance void SetStateMachine(class [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed -{ -.param [1] -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.override [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine -.maxstack 8 -IL_0000: ldarg.0 -IL_0001: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__2'::'<>t__builder' -IL_0006: ldarg.1 -IL_0007: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetStateMachine(class [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine) -IL_000c: ret -} -} -.class auto ansi sealed nested private beforefieldinit 'd__8' -extends [System.Runtime]System.ValueType -implements [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine -{ -.interfaceimpl type [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field public int32 '<>1__state' -.field public valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder '<>t__builder' -.field private valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter '<>u__1' -.method private hidebysig newslot virtual final -instance void MoveNext() cil managed -{ -.override [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext -.maxstack 3 -.locals init (int32 V_0, -int32 V_1, -valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter V_2, -valuetype [System.Threading.Tasks.Extensions]System.Threading.Tasks.ValueTask V_3, -valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable V_4, -class [System.Runtime]System.Exception V_5) -IL_0000: ldarg.0 -IL_0001: ldfld int32 CatchAndFinally/'d__8'::'<>1__state' -IL_0006: stloc.0 -.try -{ -IL_0007: ldloc.0 -IL_0008: brfalse.s IL_0062 -IL_000a: ldc.i4.0 -IL_000b: stloc.1 -.try -{ -IL_000c: newobj instance void [System.Runtime]System.NotImplementedException::.ctor() -IL_0011: throw -} // end .try -catch [System.Runtime]System.Object -{ -IL_0012: pop -IL_0013: ldc.i4.1 -IL_0014: stloc.1 -IL_0015: leave.s IL_0017 -} // end handler -IL_0017: ldloc.1 -IL_0018: ldc.i4.1 -IL_0019: bne.un.s IL_0085 -IL_001b: ldc.i4.1 -IL_001c: call class [System.Runtime]System.Threading.Tasks.Task [System.Runtime]System.Threading.Tasks.Task::Delay(int32) -IL_0021: newobj instance void [System.Threading.Tasks.Extensions]System.Threading.Tasks.ValueTask::.ctor(class [System.Runtime]System.Threading.Tasks.Task) -IL_0026: stloc.3 -IL_0027: ldloca.s V_3 -IL_0029: ldc.i4.0 -IL_002a: call instance valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable [System.Threading.Tasks.Extensions]System.Threading.Tasks.ValueTask::ConfigureAwait(bool) -IL_002f: stloc.s V_4 -IL_0031: ldloca.s V_4 -IL_0033: call instance valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable::GetAwaiter() -IL_0038: stloc.2 -IL_0039: ldloca.s V_2 -IL_003b: call instance bool [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter::get_IsCompleted() -IL_0040: brtrue.s IL_007e -IL_0042: ldarg.0 -IL_0043: ldc.i4.0 -IL_0044: dup -IL_0045: stloc.0 -IL_0046: stfld int32 CatchAndFinally/'d__8'::'<>1__state' -IL_004b: ldarg.0 -IL_004c: ldloc.2 -IL_004d: stfld valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter CatchAndFinally/'d__8'::'<>u__1' -IL_0052: ldarg.0 -IL_0053: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__8'::'<>t__builder' -IL_0058: ldloca.s V_2 -IL_005a: ldarg.0 -IL_005b: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::AwaitUnsafeOnCompletedd__8'>(!!0&, -!!1&) -IL_0060: leave.s IL_00b3 -IL_0062: ldarg.0 -IL_0063: ldfld valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter CatchAndFinally/'d__8'::'<>u__1' -IL_0068: stloc.2 -IL_0069: ldarg.0 -IL_006a: ldflda valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter CatchAndFinally/'d__8'::'<>u__1' -IL_006f: initobj [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter -IL_0075: ldarg.0 -IL_0076: ldc.i4.m1 -IL_0077: dup -IL_0078: stloc.0 -IL_0079: stfld int32 CatchAndFinally/'d__8'::'<>1__state' -IL_007e: ldloca.s V_2 -IL_0080: call instance void [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter::GetResult() -IL_0085: leave.s IL_00a0 -} // end .try -catch [System.Runtime]System.Exception -{ -IL_0087: stloc.s V_5 -IL_0089: ldarg.0 -IL_008a: ldc.i4.s -2 -IL_008c: stfld int32 CatchAndFinally/'d__8'::'<>1__state' -IL_0091: ldarg.0 -IL_0092: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__8'::'<>t__builder' -IL_0097: ldloc.s V_5 -IL_0099: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetException(class [System.Runtime]System.Exception) -IL_009e: leave.s IL_00b3 -} // end handler -IL_00a0: ldarg.0 -IL_00a1: ldc.i4.s -2 -IL_00a3: stfld int32 CatchAndFinally/'d__8'::'<>1__state' -IL_00a8: ldarg.0 -IL_00a9: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__8'::'<>t__builder' -IL_00ae: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetResult() -IL_00b3: ret -} -.method private hidebysig newslot virtual final -instance void SetStateMachine(class [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed -{ -.param [1] -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.override [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine -.maxstack 8 -IL_0000: ldarg.0 -IL_0001: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__8'::'<>t__builder' -IL_0006: ldarg.1 -IL_0007: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetStateMachine(class [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine) -IL_000c: ret -} -} -.class auto ansi sealed nested private beforefieldinit 'd__3' -extends [System.Runtime]System.ValueType -implements [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine -{ -.interfaceimpl type [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field public int32 '<>1__state' -.field public valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder '<>t__builder' -.field private object '<>7__wrap1' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field private int32 '<>7__wrap2' -.field private valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter '<>u__1' -.method private hidebysig newslot virtual final -instance void MoveNext() cil managed -{ -.override [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext -.maxstack 3 -.locals init (int32 V_0, -object V_1, -valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter V_2, -class [System.Runtime]System.Exception V_3) -IL_0000: ldarg.0 -IL_0001: ldfld int32 CatchAndFinally/'d__3'::'<>1__state' -IL_0006: stloc.0 -.try -{ -IL_0007: ldloc.0 -IL_0008: brfalse.s IL_005d -IL_000a: ldarg.0 -IL_000b: ldnull -IL_000c: stfld object CatchAndFinally/'d__3'::'<>7__wrap1' -IL_0011: ldarg.0 -IL_0012: ldc.i4.0 -IL_0013: stfld int32 CatchAndFinally/'d__3'::'<>7__wrap2' -.try -{ -IL_0018: newobj instance void [System.Runtime]System.NotImplementedException::.ctor() -IL_001d: throw -} // end .try -catch [System.Runtime]System.Object -{ -IL_001e: stloc.1 -IL_001f: ldarg.0 -IL_0020: ldloc.1 -IL_0021: stfld object CatchAndFinally/'d__3'::'<>7__wrap1' -IL_0026: leave.s IL_0028 -} // end handler -IL_0028: ldc.i4.1 -IL_0029: call class [System.Runtime]System.Threading.Tasks.Task [System.Runtime]System.Threading.Tasks.Task::Delay(int32) -IL_002e: callvirt instance valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter [System.Runtime]System.Threading.Tasks.Task::GetAwaiter() -IL_0033: stloc.2 -IL_0034: ldloca.s V_2 -IL_0036: call instance bool [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter::get_IsCompleted() -IL_003b: brtrue.s IL_0079 -IL_003d: ldarg.0 -IL_003e: ldc.i4.0 -IL_003f: dup -IL_0040: stloc.0 -IL_0041: stfld int32 CatchAndFinally/'d__3'::'<>1__state' -IL_0046: ldarg.0 -IL_0047: ldloc.2 -IL_0048: stfld valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter CatchAndFinally/'d__3'::'<>u__1' -IL_004d: ldarg.0 -IL_004e: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__3'::'<>t__builder' -IL_0053: ldloca.s V_2 -IL_0055: ldarg.0 -IL_0056: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::AwaitUnsafeOnCompletedd__3'>(!!0&, -!!1&) -IL_005b: leave.s IL_00d2 -IL_005d: ldarg.0 -IL_005e: ldfld valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter CatchAndFinally/'d__3'::'<>u__1' -IL_0063: stloc.2 -IL_0064: ldarg.0 -IL_0065: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter CatchAndFinally/'d__3'::'<>u__1' -IL_006a: initobj [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter -IL_0070: ldarg.0 -IL_0071: ldc.i4.m1 -IL_0072: dup -IL_0073: stloc.0 -IL_0074: stfld int32 CatchAndFinally/'d__3'::'<>1__state' -IL_0079: ldloca.s V_2 -IL_007b: call instance void [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter::GetResult() -IL_0080: ldarg.0 -IL_0081: ldfld object CatchAndFinally/'d__3'::'<>7__wrap1' -IL_0086: stloc.1 -IL_0087: ldloc.1 -IL_0088: brfalse.s IL_009f -IL_008a: ldloc.1 -IL_008b: isinst [System.Runtime]System.Exception -IL_0090: dup -IL_0091: brtrue.s IL_0095 -IL_0093: ldloc.1 -IL_0094: throw -IL_0095: call class [System.Runtime]System.Runtime.ExceptionServices.ExceptionDispatchInfo [System.Runtime]System.Runtime.ExceptionServices.ExceptionDispatchInfo::Capture(class [System.Runtime]System.Exception) -IL_009a: callvirt instance void [System.Runtime]System.Runtime.ExceptionServices.ExceptionDispatchInfo::Throw() -IL_009f: ldarg.0 -IL_00a0: ldnull -IL_00a1: stfld object CatchAndFinally/'d__3'::'<>7__wrap1' -IL_00a6: leave.s IL_00bf -} // end .try -catch [System.Runtime]System.Exception -{ -IL_00a8: stloc.3 -IL_00a9: ldarg.0 -IL_00aa: ldc.i4.s -2 -IL_00ac: stfld int32 CatchAndFinally/'d__3'::'<>1__state' -IL_00b1: ldarg.0 -IL_00b2: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__3'::'<>t__builder' -IL_00b7: ldloc.3 -IL_00b8: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetException(class [System.Runtime]System.Exception) -IL_00bd: leave.s IL_00d2 -} // end handler -IL_00bf: ldarg.0 -IL_00c0: ldc.i4.s -2 -IL_00c2: stfld int32 CatchAndFinally/'d__3'::'<>1__state' -IL_00c7: ldarg.0 -IL_00c8: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__3'::'<>t__builder' -IL_00cd: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetResult() -IL_00d2: ret -} -.method private hidebysig newslot virtual final -instance void SetStateMachine(class [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed -{ -.param [1] -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.override [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine -.maxstack 8 -IL_0000: ldarg.0 -IL_0001: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__3'::'<>t__builder' -IL_0006: ldarg.1 -IL_0007: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetStateMachine(class [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine) -IL_000c: ret -} -} -.class auto ansi sealed nested private beforefieldinit 'd__9' -extends [System.Runtime]System.ValueType -implements [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine -{ -.interfaceimpl type [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field public int32 '<>1__state' -.field public valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder '<>t__builder' -.field private object '<>7__wrap1' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field private int32 '<>7__wrap2' -.field private valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ValueTaskAwaiter '<>u__1' -.method private hidebysig newslot virtual final -instance void MoveNext() cil managed -{ -.override [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext -.maxstack 3 -.locals init (int32 V_0, -object V_1, -valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ValueTaskAwaiter V_2, -valuetype [System.Threading.Tasks.Extensions]System.Threading.Tasks.ValueTask V_3, -class [System.Runtime]System.Exception V_4) -IL_0000: ldarg.0 -IL_0001: ldfld int32 CatchAndFinally/'d__9'::'<>1__state' -IL_0006: stloc.0 -.try -{ -IL_0007: ldloc.0 -IL_0008: brfalse.s IL_0065 -IL_000a: ldarg.0 -IL_000b: ldnull -IL_000c: stfld object CatchAndFinally/'d__9'::'<>7__wrap1' -IL_0011: ldarg.0 -IL_0012: ldc.i4.0 -IL_0013: stfld int32 CatchAndFinally/'d__9'::'<>7__wrap2' -.try -{ -IL_0018: newobj instance void [System.Runtime]System.NotImplementedException::.ctor() -IL_001d: throw -} // end .try -catch [System.Runtime]System.Object -{ -IL_001e: stloc.1 -IL_001f: ldarg.0 -IL_0020: ldloc.1 -IL_0021: stfld object CatchAndFinally/'d__9'::'<>7__wrap1' -IL_0026: leave.s IL_0028 -} // end handler -IL_0028: ldc.i4.1 -IL_0029: call class [System.Runtime]System.Threading.Tasks.Task [System.Runtime]System.Threading.Tasks.Task::Delay(int32) -IL_002e: newobj instance void [System.Threading.Tasks.Extensions]System.Threading.Tasks.ValueTask::.ctor(class [System.Runtime]System.Threading.Tasks.Task) -IL_0033: stloc.3 -IL_0034: ldloca.s V_3 -IL_0036: call instance valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ValueTaskAwaiter [System.Threading.Tasks.Extensions]System.Threading.Tasks.ValueTask::GetAwaiter() -IL_003b: stloc.2 -IL_003c: ldloca.s V_2 -IL_003e: call instance bool [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ValueTaskAwaiter::get_IsCompleted() -IL_0043: brtrue.s IL_0081 -IL_0045: ldarg.0 -IL_0046: ldc.i4.0 -IL_0047: dup -IL_0048: stloc.0 -IL_0049: stfld int32 CatchAndFinally/'d__9'::'<>1__state' -IL_004e: ldarg.0 -IL_004f: ldloc.2 -IL_0050: stfld valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ValueTaskAwaiter CatchAndFinally/'d__9'::'<>u__1' -IL_0055: ldarg.0 -IL_0056: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__9'::'<>t__builder' -IL_005b: ldloca.s V_2 -IL_005d: ldarg.0 -IL_005e: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::AwaitUnsafeOnCompletedd__9'>(!!0&, -!!1&) -IL_0063: leave.s IL_00dc -IL_0065: ldarg.0 -IL_0066: ldfld valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ValueTaskAwaiter CatchAndFinally/'d__9'::'<>u__1' -IL_006b: stloc.2 -IL_006c: ldarg.0 -IL_006d: ldflda valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ValueTaskAwaiter CatchAndFinally/'d__9'::'<>u__1' -IL_0072: initobj [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ValueTaskAwaiter -IL_0078: ldarg.0 -IL_0079: ldc.i4.m1 -IL_007a: dup -IL_007b: stloc.0 -IL_007c: stfld int32 CatchAndFinally/'d__9'::'<>1__state' -IL_0081: ldloca.s V_2 -IL_0083: call instance void [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ValueTaskAwaiter::GetResult() -IL_0088: ldarg.0 -IL_0089: ldfld object CatchAndFinally/'d__9'::'<>7__wrap1' -IL_008e: stloc.1 -IL_008f: ldloc.1 -IL_0090: brfalse.s IL_00a7 -IL_0092: ldloc.1 -IL_0093: isinst [System.Runtime]System.Exception -IL_0098: dup -IL_0099: brtrue.s IL_009d -IL_009b: ldloc.1 -IL_009c: throw -IL_009d: call class [System.Runtime]System.Runtime.ExceptionServices.ExceptionDispatchInfo [System.Runtime]System.Runtime.ExceptionServices.ExceptionDispatchInfo::Capture(class [System.Runtime]System.Exception) -IL_00a2: callvirt instance void [System.Runtime]System.Runtime.ExceptionServices.ExceptionDispatchInfo::Throw() -IL_00a7: ldarg.0 -IL_00a8: ldnull -IL_00a9: stfld object CatchAndFinally/'d__9'::'<>7__wrap1' -IL_00ae: leave.s IL_00c9 -} // end .try -catch [System.Runtime]System.Exception -{ -IL_00b0: stloc.s V_4 -IL_00b2: ldarg.0 -IL_00b3: ldc.i4.s -2 -IL_00b5: stfld int32 CatchAndFinally/'d__9'::'<>1__state' -IL_00ba: ldarg.0 -IL_00bb: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__9'::'<>t__builder' -IL_00c0: ldloc.s V_4 -IL_00c2: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetException(class [System.Runtime]System.Exception) -IL_00c7: leave.s IL_00dc -} // end handler -IL_00c9: ldarg.0 -IL_00ca: ldc.i4.s -2 -IL_00cc: stfld int32 CatchAndFinally/'d__9'::'<>1__state' -IL_00d1: ldarg.0 -IL_00d2: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__9'::'<>t__builder' -IL_00d7: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetResult() -IL_00dc: ret -} -.method private hidebysig newslot virtual final -instance void SetStateMachine(class [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed -{ -.param [1] -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.override [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine -.maxstack 8 -IL_0000: ldarg.0 -IL_0001: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__9'::'<>t__builder' -IL_0006: ldarg.1 -IL_0007: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetStateMachine(class [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine) -IL_000c: ret -} -} -.class auto ansi sealed nested private beforefieldinit 'd__4' -extends [System.Runtime]System.ValueType -implements [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine -{ -.interfaceimpl type [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field public int32 '<>1__state' -.field public valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder '<>t__builder' -.field private object '<>7__wrap1' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field private int32 '<>7__wrap2' -.field private valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter '<>u__1' -.method private hidebysig newslot virtual final -instance void MoveNext() cil managed -{ -.override [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext -.maxstack 3 -.locals init (int32 V_0, -object V_1, -valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter V_2, -valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable V_3, -class [System.Runtime]System.Exception V_4) -IL_0000: ldarg.0 -IL_0001: ldfld int32 CatchAndFinally/'d__4'::'<>1__state' -IL_0006: stloc.0 -.try -{ -IL_0007: ldloc.0 -IL_0008: brfalse.s IL_0069 -IL_000a: ldarg.0 -IL_000b: ldnull -IL_000c: stfld object CatchAndFinally/'d__4'::'<>7__wrap1' -IL_0011: ldarg.0 -IL_0012: ldc.i4.0 -IL_0013: stfld int32 CatchAndFinally/'d__4'::'<>7__wrap2' -.try -{ -IL_0018: newobj instance void [System.Runtime]System.NotImplementedException::.ctor() -IL_001d: throw -} // end .try -catch [System.Runtime]System.Object -{ -IL_001e: stloc.1 -IL_001f: ldarg.0 -IL_0020: ldloc.1 -IL_0021: stfld object CatchAndFinally/'d__4'::'<>7__wrap1' -IL_0026: leave.s IL_0028 -} // end handler -IL_0028: ldc.i4.1 -IL_0029: call class [System.Runtime]System.Threading.Tasks.Task [System.Runtime]System.Threading.Tasks.Task::Delay(int32) -IL_002e: ldc.i4.0 -IL_002f: callvirt instance valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable [System.Private.CoreLib]System.Threading.Tasks.Task::ConfigureAwait(bool) -IL_0034: stloc.3 -IL_0035: ldloca.s V_3 -IL_0037: call instance valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable::GetAwaiter() -IL_003c: stloc.2 -IL_003d: ldloca.s V_2 -IL_003f: call instance bool [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter::get_IsCompleted() -IL_0044: brtrue.s IL_0085 -IL_0046: ldarg.0 -IL_0047: ldc.i4.0 -IL_0048: dup -IL_0049: stloc.0 -IL_004a: stfld int32 CatchAndFinally/'d__4'::'<>1__state' -IL_004f: ldarg.0 -IL_0050: ldloc.2 -IL_0051: stfld valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter CatchAndFinally/'d__4'::'<>u__1' -IL_0056: ldarg.0 -IL_0057: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__4'::'<>t__builder' -IL_005c: ldloca.s V_2 -IL_005e: ldarg.0 -IL_005f: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::AwaitUnsafeOnCompletedd__4'>(!!0&, -!!1&) -IL_0064: leave IL_00e0 -IL_0069: ldarg.0 -IL_006a: ldfld valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter CatchAndFinally/'d__4'::'<>u__1' -IL_006f: stloc.2 -IL_0070: ldarg.0 -IL_0071: ldflda valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter CatchAndFinally/'d__4'::'<>u__1' -IL_0076: initobj [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter -IL_007c: ldarg.0 -IL_007d: ldc.i4.m1 -IL_007e: dup -IL_007f: stloc.0 -IL_0080: stfld int32 CatchAndFinally/'d__4'::'<>1__state' -IL_0085: ldloca.s V_2 -IL_0087: call instance void [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter::GetResult() -IL_008c: ldarg.0 -IL_008d: ldfld object CatchAndFinally/'d__4'::'<>7__wrap1' -IL_0092: stloc.1 -IL_0093: ldloc.1 -IL_0094: brfalse.s IL_00ab -IL_0096: ldloc.1 -IL_0097: isinst [System.Runtime]System.Exception -IL_009c: dup -IL_009d: brtrue.s IL_00a1 -IL_009f: ldloc.1 -IL_00a0: throw -IL_00a1: call class [System.Runtime]System.Runtime.ExceptionServices.ExceptionDispatchInfo [System.Runtime]System.Runtime.ExceptionServices.ExceptionDispatchInfo::Capture(class [System.Runtime]System.Exception) -IL_00a6: callvirt instance void [System.Runtime]System.Runtime.ExceptionServices.ExceptionDispatchInfo::Throw() -IL_00ab: ldarg.0 -IL_00ac: ldnull -IL_00ad: stfld object CatchAndFinally/'d__4'::'<>7__wrap1' -IL_00b2: leave.s IL_00cd -} // end .try -catch [System.Runtime]System.Exception -{ -IL_00b4: stloc.s V_4 -IL_00b6: ldarg.0 -IL_00b7: ldc.i4.s -2 -IL_00b9: stfld int32 CatchAndFinally/'d__4'::'<>1__state' -IL_00be: ldarg.0 -IL_00bf: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__4'::'<>t__builder' -IL_00c4: ldloc.s V_4 -IL_00c6: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetException(class [System.Runtime]System.Exception) -IL_00cb: leave.s IL_00e0 -} // end handler -IL_00cd: ldarg.0 -IL_00ce: ldc.i4.s -2 -IL_00d0: stfld int32 CatchAndFinally/'d__4'::'<>1__state' -IL_00d5: ldarg.0 -IL_00d6: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__4'::'<>t__builder' -IL_00db: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetResult() -IL_00e0: ret -} -.method private hidebysig newslot virtual final -instance void SetStateMachine(class [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed -{ -.param [1] -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.override [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine -.maxstack 8 -IL_0000: ldarg.0 -IL_0001: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__4'::'<>t__builder' -IL_0006: ldarg.1 -IL_0007: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetStateMachine(class [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine) -IL_000c: ret -} -} -.class auto ansi sealed nested private beforefieldinit 'd__10' -extends [System.Runtime]System.ValueType -implements [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine -{ -.interfaceimpl type [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field public int32 '<>1__state' -.field public valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder '<>t__builder' -.field private object '<>7__wrap1' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field private int32 '<>7__wrap2' -.field private valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter '<>u__1' -.method private hidebysig newslot virtual final -instance void MoveNext() cil managed -{ -.override [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext -.maxstack 3 -.locals init (int32 V_0, -object V_1, -valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter V_2, -valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable V_3, -valuetype [System.Threading.Tasks.Extensions]System.Threading.Tasks.ValueTask V_4, -class [System.Runtime]System.Exception V_5) -IL_0000: ldarg.0 -IL_0001: ldfld int32 CatchAndFinally/'d__10'::'<>1__state' -IL_0006: stloc.0 -.try -{ -IL_0007: ldloc.0 -IL_0008: brfalse.s IL_0072 -IL_000a: ldarg.0 -IL_000b: ldnull -IL_000c: stfld object CatchAndFinally/'d__10'::'<>7__wrap1' -IL_0011: ldarg.0 -IL_0012: ldc.i4.0 -IL_0013: stfld int32 CatchAndFinally/'d__10'::'<>7__wrap2' -.try -{ -IL_0018: newobj instance void [System.Runtime]System.NotImplementedException::.ctor() -IL_001d: throw -} // end .try -catch [System.Runtime]System.Object -{ -IL_001e: stloc.1 -IL_001f: ldarg.0 -IL_0020: ldloc.1 -IL_0021: stfld object CatchAndFinally/'d__10'::'<>7__wrap1' -IL_0026: leave.s IL_0028 -} // end handler -IL_0028: ldc.i4.1 -IL_0029: call class [System.Runtime]System.Threading.Tasks.Task [System.Runtime]System.Threading.Tasks.Task::Delay(int32) -IL_002e: call instance void [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable::.ctor(valuetype [System.Private.CoreLib]System.Threading.Tasks.ValueTask&) -IL_0033: stloc.s V_4 -IL_0035: ldloca.s V_4 -IL_0037: ldc.i4.0 -IL_0038: callvirt instance valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable [System.Private.CoreLib]System.Threading.Tasks.ValueTask::ConfigureAwait(bool) -IL_003d: stloc.3 -IL_003e: ldloca.s V_3 -IL_0040: call instance valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable::GetAwaiter() -IL_0045: stloc.2 -IL_0046: ldloca.s V_2 -IL_0048: call instance bool [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter::get_IsCompleted() -IL_004d: brtrue.s IL_008e -IL_004f: ldarg.0 -IL_0050: ldc.i4.0 -IL_0051: dup -IL_0052: stloc.0 -IL_0053: stfld int32 CatchAndFinally/'d__10'::'<>1__state' -IL_0058: ldarg.0 -IL_0059: ldloc.2 -IL_005a: stfld valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter CatchAndFinally/'d__10'::'<>u__1' -IL_005f: ldarg.0 -IL_0060: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__10'::'<>t__builder' -IL_0065: ldloca.s V_2 -IL_0067: ldarg.0 -IL_0068: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::AwaitUnsafeOnCompletedd__10'>(!!0&, -!!1&) -IL_006d: leave IL_00e9 -IL_0072: ldarg.0 -IL_0073: ldfld valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter CatchAndFinally/'d__10'::'<>u__1' -IL_0078: stloc.2 -IL_0079: ldarg.0 -IL_007a: ldflda valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter CatchAndFinally/'d__10'::'<>u__1' -IL_007f: initobj [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter -IL_0085: ldarg.0 -IL_0086: ldc.i4.m1 -IL_0087: dup -IL_0088: stloc.0 -IL_0089: stfld int32 CatchAndFinally/'d__10'::'<>1__state' -IL_008e: ldloca.s V_2 -IL_0090: call instance void [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter::GetResult() -IL_0095: ldarg.0 -IL_0096: ldfld object CatchAndFinally/'d__10'::'<>7__wrap1' -IL_009b: stloc.1 -IL_009c: ldloc.1 -IL_009d: brfalse.s IL_00b4 -IL_009f: ldloc.1 -IL_00a0: isinst [System.Runtime]System.Exception -IL_00a5: dup -IL_00a6: brtrue.s IL_00aa -IL_00a8: ldloc.1 -IL_00a9: throw -IL_00aa: call class [System.Runtime]System.Runtime.ExceptionServices.ExceptionDispatchInfo [System.Runtime]System.Runtime.ExceptionServices.ExceptionDispatchInfo::Capture(class [System.Runtime]System.Exception) -IL_00af: callvirt instance void [System.Runtime]System.Runtime.ExceptionServices.ExceptionDispatchInfo::Throw() -IL_00b4: ldarg.0 -IL_00b5: ldnull -IL_00b6: stfld object CatchAndFinally/'d__10'::'<>7__wrap1' -IL_00bb: leave.s IL_00d6 -} // end .try -catch [System.Runtime]System.Exception -{ -IL_00bd: stloc.s V_5 -IL_00bf: ldarg.0 -IL_00c0: ldc.i4.s -2 -IL_00c2: stfld int32 CatchAndFinally/'d__10'::'<>1__state' -IL_00c7: ldarg.0 -IL_00c8: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__10'::'<>t__builder' -IL_00cd: ldloc.s V_5 -IL_00cf: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetException(class [System.Runtime]System.Exception) -IL_00d4: leave.s IL_00e9 -} // end handler -IL_00d6: ldarg.0 -IL_00d7: ldc.i4.s -2 -IL_00d9: stfld int32 CatchAndFinally/'d__10'::'<>1__state' -IL_00de: ldarg.0 -IL_00df: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__10'::'<>t__builder' -IL_00e4: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetResult() -IL_00e9: ret -} -.method private hidebysig newslot virtual final -instance void SetStateMachine(class [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed -{ -.param [1] -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.override [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine -.maxstack 8 -IL_0000: ldarg.0 -IL_0001: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__10'::'<>t__builder' -IL_0006: ldarg.1 -IL_0007: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetStateMachine(class [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine) -IL_000c: ret -} -} -.class auto ansi sealed nested private beforefieldinit 'd__5' -extends [System.Runtime]System.ValueType -implements [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine -{ -.interfaceimpl type [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field public int32 '<>1__state' -.field public valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder '<>t__builder' -.field private object '<>7__wrap1' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field private int32 '<>7__wrap2' -.field private valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter '<>u__1' -.method private hidebysig newslot virtual final -instance void MoveNext() cil managed -{ -.override [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext -.maxstack 3 -.locals init (int32 V_0, -object V_1, -valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter V_2, -valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable V_3, -class [System.Runtime]System.Exception V_4) -IL_0000: ldarg.0 -IL_0001: ldfld int32 CatchAndFinally/'d__5'::'<>1__state' -IL_0006: stloc.0 -.try -{ -IL_0007: ldloc.0 -IL_0008: brfalse.s IL_0066 -IL_000a: ldarg.0 -IL_000b: ldnull -IL_000c: stfld object CatchAndFinally/'d__5'::'<>7__wrap1' -IL_0011: ldarg.0 -IL_0012: ldc.i4.0 -IL_0013: stfld int32 CatchAndFinally/'d__5'::'<>7__wrap2' -.try -{ -IL_0018: newobj instance void [System.Runtime]System.NotImplementedException::.ctor() -IL_001d: throw -} // end .try -catch [System.Runtime]System.Object -{ -IL_001e: stloc.1 -IL_001f: ldarg.0 -IL_0020: ldloc.1 -IL_0021: stfld object CatchAndFinally/'d__5'::'<>7__wrap1' -IL_0026: leave.s IL_0028 -} // end handler -IL_0028: ldc.i4.1 -IL_0029: call class [System.Runtime]System.Threading.Tasks.Task [System.Runtime]System.Threading.Tasks.Task::Delay(int32) -IL_002e: ldc.i4.0 -IL_002f: callvirt instance valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable [System.Runtime]System.Threading.Tasks.Task::ConfigureAwait(bool) -IL_0034: stloc.3 -IL_0035: ldloca.s V_3 -IL_0037: call instance valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable::GetAwaiter() -IL_003c: stloc.2 -IL_003d: ldloca.s V_2 -IL_003f: call instance bool [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter::get_IsCompleted() -IL_0044: brtrue.s IL_0082 -IL_0046: ldarg.0 -IL_0047: ldc.i4.0 -IL_0048: dup -IL_0049: stloc.0 -IL_004a: stfld int32 CatchAndFinally/'d__5'::'<>1__state' -IL_004f: ldarg.0 -IL_0050: ldloc.2 -IL_0051: stfld valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter CatchAndFinally/'d__5'::'<>u__1' -IL_0056: ldarg.0 -IL_0057: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__5'::'<>t__builder' -IL_005c: ldloca.s V_2 -IL_005e: ldarg.0 -IL_005f: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::AwaitUnsafeOnCompletedd__5'>(!!0&, -!!1&) -IL_0064: leave.s IL_00dd -IL_0066: ldarg.0 -IL_0067: ldfld valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter CatchAndFinally/'d__5'::'<>u__1' -IL_006c: stloc.2 -IL_006d: ldarg.0 -IL_006e: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter CatchAndFinally/'d__5'::'<>u__1' -IL_0073: initobj [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter -IL_0079: ldarg.0 -IL_007a: ldc.i4.m1 -IL_007b: dup -IL_007c: stloc.0 -IL_007d: stfld int32 CatchAndFinally/'d__5'::'<>1__state' -IL_0082: ldloca.s V_2 -IL_0084: call instance void [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter::GetResult() -IL_0089: ldarg.0 -IL_008a: ldfld object CatchAndFinally/'d__5'::'<>7__wrap1' -IL_008f: stloc.1 -IL_0090: ldloc.1 -IL_0091: brfalse.s IL_00a8 -IL_0093: ldloc.1 -IL_0094: isinst [System.Runtime]System.Exception -IL_0099: dup -IL_009a: brtrue.s IL_009e -IL_009c: ldloc.1 -IL_009d: throw -IL_009e: call class [System.Runtime]System.Runtime.ExceptionServices.ExceptionDispatchInfo [System.Runtime]System.Runtime.ExceptionServices.ExceptionDispatchInfo::Capture(class [System.Runtime]System.Exception) -IL_00a3: callvirt instance void [System.Runtime]System.Runtime.ExceptionServices.ExceptionDispatchInfo::Throw() -IL_00a8: ldarg.0 -IL_00a9: ldnull -IL_00aa: stfld object CatchAndFinally/'d__5'::'<>7__wrap1' -IL_00af: leave.s IL_00ca -} // end .try -catch [System.Runtime]System.Exception -{ -IL_00b1: stloc.s V_4 -IL_00b3: ldarg.0 -IL_00b4: ldc.i4.s -2 -IL_00b6: stfld int32 CatchAndFinally/'d__5'::'<>1__state' -IL_00bb: ldarg.0 -IL_00bc: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__5'::'<>t__builder' -IL_00c1: ldloc.s V_4 -IL_00c3: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetException(class [System.Runtime]System.Exception) -IL_00c8: leave.s IL_00dd -} // end handler -IL_00ca: ldarg.0 -IL_00cb: ldc.i4.s -2 -IL_00cd: stfld int32 CatchAndFinally/'d__5'::'<>1__state' -IL_00d2: ldarg.0 -IL_00d3: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__5'::'<>t__builder' -IL_00d8: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetResult() -IL_00dd: ret -} -.method private hidebysig newslot virtual final -instance void SetStateMachine(class [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed -{ -.param [1] -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.override [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine -.maxstack 8 -IL_0000: ldarg.0 -IL_0001: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__5'::'<>t__builder' -IL_0006: ldarg.1 -IL_0007: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetStateMachine(class [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine) -IL_000c: ret -} -} -.class auto ansi sealed nested private beforefieldinit 'd__11' -extends [System.Runtime]System.ValueType -implements [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine -{ -.interfaceimpl type [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field public int32 '<>1__state' -.field public valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder '<>t__builder' -.field private object '<>7__wrap1' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field private int32 '<>7__wrap2' -.field private valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter '<>u__1' -.method private hidebysig newslot virtual final -instance void MoveNext() cil managed -{ -.override [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext -.maxstack 3 -.locals init (int32 V_0, -object V_1, -valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter V_2, -valuetype [System.Threading.Tasks.Extensions]System.Threading.Tasks.ValueTask V_3, -valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable V_4, -class [System.Runtime]System.Exception V_5) -IL_0000: ldarg.0 -IL_0001: ldfld int32 CatchAndFinally/'d__11'::'<>1__state' -IL_0006: stloc.0 -.try -{ -IL_0007: ldloc.0 -IL_0008: brfalse.s IL_006f -IL_000a: ldarg.0 -IL_000b: ldnull -IL_000c: stfld object CatchAndFinally/'d__11'::'<>7__wrap1' -IL_0011: ldarg.0 -IL_0012: ldc.i4.0 -IL_0013: stfld int32 CatchAndFinally/'d__11'::'<>7__wrap2' -.try -{ -IL_0018: newobj instance void [System.Runtime]System.NotImplementedException::.ctor() -IL_001d: throw -} // end .try -catch [System.Runtime]System.Object -{ -IL_001e: stloc.1 -IL_001f: ldarg.0 -IL_0020: ldloc.1 -IL_0021: stfld object CatchAndFinally/'d__11'::'<>7__wrap1' -IL_0026: leave.s IL_0028 -} // end handler -IL_0028: ldc.i4.1 -IL_0029: call class [System.Runtime]System.Threading.Tasks.Task [System.Runtime]System.Threading.Tasks.Task::Delay(int32) -IL_002e: newobj instance void [System.Threading.Tasks.Extensions]System.Threading.Tasks.ValueTask::.ctor(class [System.Runtime]System.Threading.Tasks.Task) -IL_0033: stloc.3 -IL_0034: ldloca.s V_3 -IL_0036: ldc.i4.0 -IL_0037: call instance valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable [System.Threading.Tasks.Extensions]System.Threading.Tasks.ValueTask::ConfigureAwait(bool) -IL_003c: stloc.s V_4 -IL_003e: ldloca.s V_4 -IL_0040: call instance valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable::GetAwaiter() -IL_0045: stloc.2 -IL_0046: ldloca.s V_2 -IL_0048: call instance bool [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter::get_IsCompleted() -IL_004d: brtrue.s IL_008b -IL_004f: ldarg.0 -IL_0050: ldc.i4.0 -IL_0051: dup -IL_0052: stloc.0 -IL_0053: stfld int32 CatchAndFinally/'d__11'::'<>1__state' -IL_0058: ldarg.0 -IL_0059: ldloc.2 -IL_005a: stfld valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter CatchAndFinally/'d__11'::'<>u__1' -IL_005f: ldarg.0 -IL_0060: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__11'::'<>t__builder' -IL_0065: ldloca.s V_2 -IL_0067: ldarg.0 -IL_0068: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::AwaitUnsafeOnCompletedd__11'>(!!0&, -!!1&) -IL_006d: leave.s IL_00e6 -IL_006f: ldarg.0 -IL_0070: ldfld valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter CatchAndFinally/'d__11'::'<>u__1' -IL_0075: stloc.2 -IL_0076: ldarg.0 -IL_0077: ldflda valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter CatchAndFinally/'d__11'::'<>u__1' -IL_007c: initobj [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter -IL_0082: ldarg.0 -IL_0083: ldc.i4.m1 -IL_0084: dup -IL_0085: stloc.0 -IL_0086: stfld int32 CatchAndFinally/'d__11'::'<>1__state' -IL_008b: ldloca.s V_2 -IL_008d: call instance void [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter::GetResult() -IL_0092: ldarg.0 -IL_0093: ldfld object CatchAndFinally/'d__11'::'<>7__wrap1' -IL_0098: stloc.1 -IL_0099: ldloc.1 -IL_009a: brfalse.s IL_00b1 -IL_009c: ldloc.1 -IL_009d: isinst [System.Runtime]System.Exception -IL_00a2: dup -IL_00a3: brtrue.s IL_00a7 -IL_00a5: ldloc.1 -IL_00a6: throw -IL_00a7: call class [System.Runtime]System.Runtime.ExceptionServices.ExceptionDispatchInfo [System.Runtime]System.Runtime.ExceptionServices.ExceptionDispatchInfo::Capture(class [System.Runtime]System.Exception) -IL_00ac: callvirt instance void [System.Runtime]System.Runtime.ExceptionServices.ExceptionDispatchInfo::Throw() -IL_00b1: ldarg.0 -IL_00b2: ldnull -IL_00b3: stfld object CatchAndFinally/'d__11'::'<>7__wrap1' -IL_00b8: leave.s IL_00d3 -} // end .try -catch [System.Runtime]System.Exception -{ -IL_00ba: stloc.s V_5 -IL_00bc: ldarg.0 -IL_00bd: ldc.i4.s -2 -IL_00bf: stfld int32 CatchAndFinally/'d__11'::'<>1__state' -IL_00c4: ldarg.0 -IL_00c5: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__11'::'<>t__builder' -IL_00ca: ldloc.s V_5 -IL_00cc: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetException(class [System.Runtime]System.Exception) -IL_00d1: leave.s IL_00e6 -} // end handler -IL_00d3: ldarg.0 -IL_00d4: ldc.i4.s -2 -IL_00d6: stfld int32 CatchAndFinally/'d__11'::'<>1__state' -IL_00db: ldarg.0 -IL_00dc: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__11'::'<>t__builder' -IL_00e1: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetResult() -IL_00e6: ret -} -.method private hidebysig newslot virtual final -instance void SetStateMachine(class [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed -{ -.param [1] -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.override [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine -.maxstack 8 -IL_0000: ldarg.0 -IL_0001: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__11'::'<>t__builder' -IL_0006: ldarg.1 -IL_0007: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetStateMachine(class [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine) -IL_000c: ret -} -} -.method public hidebysig instance class [System.Runtime]System.Threading.Tasks.Task -Catch1() cil managed -{ -6C 79 2B 3C 43 61 74 63 68 31 3E 64 5F 5F 30 00 // ly+d__0. -00 ) -.maxstack 2 -.locals init (valuetype CatchAndFinally/'d__0' V_0) -IL_0000: ldloca.s V_0 -IL_0002: call valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Create() -IL_0007: stfld valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__0'::'<>t__builder' -IL_000c: ldloca.s V_0 -IL_000e: ldc.i4.m1 -IL_000f: stfld int32 CatchAndFinally/'d__0'::'<>1__state' -IL_0014: ldloca.s V_0 -IL_0016: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__0'::'<>t__builder' -IL_001b: ldloca.s V_0 -IL_001d: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Startd__0'>(!!0&) -IL_0022: ldloca.s V_0 -IL_0024: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__0'::'<>t__builder' -IL_0029: call instance class [System.Runtime]System.Threading.Tasks.Task [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::get_Task() -IL_002e: ret -} -.method public hidebysig instance class [System.Runtime]System.Threading.Tasks.Task -Catch2() cil managed -{ -6C 79 2B 3C 43 61 74 63 68 32 3E 64 5F 5F 31 00 // ly+d__1. -00 ) -.maxstack 2 -.locals init (valuetype CatchAndFinally/'d__1' V_0) -IL_0000: ldloca.s V_0 -IL_0002: call valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Create() -IL_0007: stfld valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__1'::'<>t__builder' -IL_000c: ldloca.s V_0 -IL_000e: ldc.i4.m1 -IL_000f: stfld int32 CatchAndFinally/'d__1'::'<>1__state' -IL_0014: ldloca.s V_0 -IL_0016: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__1'::'<>t__builder' -IL_001b: ldloca.s V_0 -IL_001d: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Startd__1'>(!!0&) -IL_0022: ldloca.s V_0 -IL_0024: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__1'::'<>t__builder' -IL_0029: call instance class [System.Runtime]System.Threading.Tasks.Task [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::get_Task() -IL_002e: ret -} -.method public hidebysig instance class [System.Runtime]System.Threading.Tasks.Task -Catch3() cil managed -{ -6C 79 2B 3C 43 61 74 63 68 33 3E 64 5F 5F 32 00 // ly+d__2. -00 ) -.maxstack 2 -.locals init (valuetype CatchAndFinally/'d__2' V_0) -IL_0000: ldloca.s V_0 -IL_0002: call valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Create() -IL_0007: stfld valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__2'::'<>t__builder' -IL_000c: ldloca.s V_0 -IL_000e: ldc.i4.m1 -IL_000f: stfld int32 CatchAndFinally/'d__2'::'<>1__state' -IL_0014: ldloca.s V_0 -IL_0016: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__2'::'<>t__builder' -IL_001b: ldloca.s V_0 -IL_001d: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Startd__2'>(!!0&) -IL_0022: ldloca.s V_0 -IL_0024: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__2'::'<>t__builder' -IL_0029: call instance class [System.Runtime]System.Threading.Tasks.Task [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::get_Task() -IL_002e: ret -} -.method public hidebysig instance class [System.Runtime]System.Threading.Tasks.Task -Finally1() cil managed -{ -6C 79 2B 3C 46 69 6E 61 6C 6C 79 31 3E 64 5F 5F // ly+d__ -33 00 00 ) // 3.. -.maxstack 2 -.locals init (valuetype CatchAndFinally/'d__3' V_0) -IL_0000: ldloca.s V_0 -IL_0002: call valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Create() -IL_0007: stfld valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__3'::'<>t__builder' -IL_000c: ldloca.s V_0 -IL_000e: ldc.i4.m1 -IL_000f: stfld int32 CatchAndFinally/'d__3'::'<>1__state' -IL_0014: ldloca.s V_0 -IL_0016: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__3'::'<>t__builder' -IL_001b: ldloca.s V_0 -IL_001d: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Startd__3'>(!!0&) -IL_0022: ldloca.s V_0 -IL_0024: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__3'::'<>t__builder' -IL_0029: call instance class [System.Runtime]System.Threading.Tasks.Task [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::get_Task() -IL_002e: ret -} -.method public hidebysig instance class [System.Runtime]System.Threading.Tasks.Task -Finally2() cil managed -{ -6C 79 2B 3C 46 69 6E 61 6C 6C 79 32 3E 64 5F 5F // ly+d__ -34 00 00 ) // 4.. -.maxstack 2 -.locals init (valuetype CatchAndFinally/'d__4' V_0) -IL_0000: ldloca.s V_0 -IL_0002: call valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Create() -IL_0007: stfld valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__4'::'<>t__builder' -IL_000c: ldloca.s V_0 -IL_000e: ldc.i4.m1 -IL_000f: stfld int32 CatchAndFinally/'d__4'::'<>1__state' -IL_0014: ldloca.s V_0 -IL_0016: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__4'::'<>t__builder' -IL_001b: ldloca.s V_0 -IL_001d: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Startd__4'>(!!0&) -IL_0022: ldloca.s V_0 -IL_0024: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__4'::'<>t__builder' -IL_0029: call instance class [System.Runtime]System.Threading.Tasks.Task [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::get_Task() -IL_002e: ret -} -.method public hidebysig instance class [System.Runtime]System.Threading.Tasks.Task -Finally3() cil managed -{ -6C 79 2B 3C 46 69 6E 61 6C 6C 79 33 3E 64 5F 5F // ly+d__ -35 00 00 ) // 5.. -.maxstack 2 -.locals init (valuetype CatchAndFinally/'d__5' V_0) -IL_0000: ldloca.s V_0 -IL_0002: call valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Create() -IL_0007: stfld valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__5'::'<>t__builder' -IL_000c: ldloca.s V_0 -IL_000e: ldc.i4.m1 -IL_000f: stfld int32 CatchAndFinally/'d__5'::'<>1__state' -IL_0014: ldloca.s V_0 -IL_0016: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__5'::'<>t__builder' -IL_001b: ldloca.s V_0 -IL_001d: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Startd__5'>(!!0&) -IL_0022: ldloca.s V_0 -IL_0024: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__5'::'<>t__builder' -IL_0029: call instance class [System.Runtime]System.Threading.Tasks.Task [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::get_Task() -IL_002e: ret -} -.method public hidebysig instance class [System.Runtime]System.Threading.Tasks.Task -Catch1_WithValueTask() cil managed -{ -6C 79 2B 3C 43 61 74 63 68 31 5F 57 69 74 68 56 // ly+d__6.. -.maxstack 2 -.locals init (valuetype CatchAndFinally/'d__6' V_0) -IL_0000: ldloca.s V_0 -IL_0002: call valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Create() -IL_0007: stfld valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__6'::'<>t__builder' -IL_000c: ldloca.s V_0 -IL_000e: ldc.i4.m1 -IL_000f: stfld int32 CatchAndFinally/'d__6'::'<>1__state' -IL_0014: ldloca.s V_0 -IL_0016: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__6'::'<>t__builder' -IL_001b: ldloca.s V_0 -IL_001d: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Startd__6'>(!!0&) -IL_0022: ldloca.s V_0 -IL_0024: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__6'::'<>t__builder' -IL_0029: call instance class [System.Runtime]System.Threading.Tasks.Task [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::get_Task() -IL_002e: ret -} -.method public hidebysig instance class [System.Runtime]System.Threading.Tasks.Task -Catch2_WithValueTask() cil managed -{ -6C 79 2B 3C 43 61 74 63 68 32 5F 57 69 74 68 56 // ly+d__7.. -.maxstack 2 -.locals init (valuetype CatchAndFinally/'d__7' V_0) -IL_0000: ldloca.s V_0 -IL_0002: call valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Create() -IL_0007: stfld valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__7'::'<>t__builder' -IL_000c: ldloca.s V_0 -IL_000e: ldc.i4.m1 -IL_000f: stfld int32 CatchAndFinally/'d__7'::'<>1__state' -IL_0014: ldloca.s V_0 -IL_0016: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__7'::'<>t__builder' -IL_001b: ldloca.s V_0 -IL_001d: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Startd__7'>(!!0&) -IL_0022: ldloca.s V_0 -IL_0024: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__7'::'<>t__builder' -IL_0029: call instance class [System.Runtime]System.Threading.Tasks.Task [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::get_Task() -IL_002e: ret -} -.method public hidebysig instance class [System.Runtime]System.Threading.Tasks.Task -Catch3_WithValueTask() cil managed -{ -6C 79 2B 3C 43 61 74 63 68 33 5F 57 69 74 68 56 // ly+d__8.. -.maxstack 2 -.locals init (valuetype CatchAndFinally/'d__8' V_0) -IL_0000: ldloca.s V_0 -IL_0002: call valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Create() -IL_0007: stfld valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__8'::'<>t__builder' -IL_000c: ldloca.s V_0 -IL_000e: ldc.i4.m1 -IL_000f: stfld int32 CatchAndFinally/'d__8'::'<>1__state' -IL_0014: ldloca.s V_0 -IL_0016: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__8'::'<>t__builder' -IL_001b: ldloca.s V_0 -IL_001d: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Startd__8'>(!!0&) -IL_0022: ldloca.s V_0 -IL_0024: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__8'::'<>t__builder' -IL_0029: call instance class [System.Runtime]System.Threading.Tasks.Task [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::get_Task() -IL_002e: ret -} -.method public hidebysig instance class [System.Runtime]System.Threading.Tasks.Task -Finally1_WithValueTask() cil managed -{ -6C 79 2B 3C 46 69 6E 61 6C 6C 79 31 5F 57 69 74 // ly+d__9. -00 ) -.maxstack 2 -.locals init (valuetype CatchAndFinally/'d__9' V_0) -IL_0000: ldloca.s V_0 -IL_0002: call valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Create() -IL_0007: stfld valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__9'::'<>t__builder' -IL_000c: ldloca.s V_0 -IL_000e: ldc.i4.m1 -IL_000f: stfld int32 CatchAndFinally/'d__9'::'<>1__state' -IL_0014: ldloca.s V_0 -IL_0016: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__9'::'<>t__builder' -IL_001b: ldloca.s V_0 -IL_001d: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Startd__9'>(!!0&) -IL_0022: ldloca.s V_0 -IL_0024: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__9'::'<>t__builder' -IL_0029: call instance class [System.Runtime]System.Threading.Tasks.Task [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::get_Task() -IL_002e: ret -} -.method public hidebysig instance class [System.Runtime]System.Threading.Tasks.Task -Finally2_WithValueTask() cil managed -{ -6C 79 2B 3C 46 69 6E 61 6C 6C 79 32 5F 57 69 74 // ly+d__10 -00 00 ) -.maxstack 2 -.locals init (valuetype CatchAndFinally/'d__10' V_0) -IL_0000: ldloca.s V_0 -IL_0002: call valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Create() -IL_0007: stfld valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__10'::'<>t__builder' -IL_000c: ldloca.s V_0 -IL_000e: ldc.i4.m1 -IL_000f: stfld int32 CatchAndFinally/'d__10'::'<>1__state' -IL_0014: ldloca.s V_0 -IL_0016: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__10'::'<>t__builder' -IL_001b: ldloca.s V_0 -IL_001d: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Startd__10'>(!!0&) -IL_0022: ldloca.s V_0 -IL_0024: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__10'::'<>t__builder' -IL_0029: call instance class [System.Runtime]System.Threading.Tasks.Task [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::get_Task() -IL_002e: ret -} -.method public hidebysig instance class [System.Runtime]System.Threading.Tasks.Task -Finally3_WithValueTask() cil managed -{ -6C 79 2B 3C 46 69 6E 61 6C 6C 79 33 5F 57 69 74 // ly+d__11 -00 00 ) -.maxstack 2 -.locals init (valuetype CatchAndFinally/'d__11' V_0) -IL_0000: ldloca.s V_0 -IL_0002: call valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Create() -IL_0007: stfld valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__11'::'<>t__builder' -IL_000c: ldloca.s V_0 -IL_000e: ldc.i4.m1 -IL_000f: stfld int32 CatchAndFinally/'d__11'::'<>1__state' -IL_0014: ldloca.s V_0 -IL_0016: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__11'::'<>t__builder' -IL_001b: ldloca.s V_0 -IL_001d: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Startd__11'>(!!0&) -IL_0022: ldloca.s V_0 -IL_0024: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__11'::'<>t__builder' -IL_0029: call instance class [System.Runtime]System.Threading.Tasks.Task [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::get_Task() -IL_002e: ret -} -.method public hidebysig specialname rtspecialname -instance void .ctor() cil managed -{ -.maxstack 8 -IL_0000: ldarg.0 -IL_0001: call instance void [System.Runtime]System.Object::.ctor() -IL_0006: ret -} -} diff --git a/Tests/ModuleWeaverTests.DecompileCatchAndFinally.Release.DotNet.verified.txt b/Tests/ModuleWeaverTests.DecompileCatchAndFinally.Release.DotNet.verified.txt deleted file mode 100644 index 8a50f25..0000000 --- a/Tests/ModuleWeaverTests.DecompileCatchAndFinally.Release.DotNet.verified.txt +++ /dev/null @@ -1,895 +0,0 @@ -.class public auto ansi beforefieldinit CatchAndFinally -extends [System.Runtime]System.Object -{ -.custom instance void System.Runtime.CompilerServices.NullableContextAttribute::.ctor(uint8) = ( 01 00 01 00 00 ) -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.class auto ansi sealed nested private beforefieldinit 'd__0' -extends [System.Runtime]System.ValueType -implements [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine -{ -.interfaceimpl type [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field public int32 '<>1__state' -.field public valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder '<>t__builder' -.field private valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter '<>u__1' -.method private hidebysig newslot virtual final -instance void MoveNext() cil managed -{ -.override [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext -.maxstack 3 -.locals init (int32 V_0, -int32 V_1, -valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter V_2, -class [System.Runtime]System.Exception V_3) -IL_0000: ldarg.0 -IL_0001: ldfld int32 CatchAndFinally/'d__0'::'<>1__state' -IL_0006: stloc.0 -.try -{ -IL_0007: ldloc.0 -IL_0008: brfalse.s IL_0050 -IL_000a: ldc.i4.0 -IL_000b: stloc.1 -.try -{ -IL_000c: newobj instance void [System.Runtime]System.NotImplementedException::.ctor() -IL_0011: throw -} // end .try -catch [System.Runtime]System.Object -{ -IL_0012: pop -IL_0013: ldc.i4.1 -IL_0014: stloc.1 -IL_0015: leave.s IL_0017 -} // end handler -IL_0017: ldloc.1 -IL_0018: ldc.i4.1 -IL_0019: bne.un.s IL_0073 -IL_001b: ldc.i4.1 -IL_001c: call class [System.Runtime]System.Threading.Tasks.Task [System.Runtime]System.Threading.Tasks.Task::Delay(int32) -IL_0021: callvirt instance valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter [System.Runtime]System.Threading.Tasks.Task::GetAwaiter() -IL_0026: stloc.2 -IL_0027: ldloca.s V_2 -IL_0029: call instance bool [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter::get_IsCompleted() -IL_002e: brtrue.s IL_006c -IL_0030: ldarg.0 -IL_0031: ldc.i4.0 -IL_0032: dup -IL_0033: stloc.0 -IL_0034: stfld int32 CatchAndFinally/'d__0'::'<>1__state' -IL_0039: ldarg.0 -IL_003a: ldloc.2 -IL_003b: stfld valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter CatchAndFinally/'d__0'::'<>u__1' -IL_0040: ldarg.0 -IL_0041: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__0'::'<>t__builder' -IL_0046: ldloca.s V_2 -IL_0048: ldarg.0 -IL_0049: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::AwaitUnsafeOnCompletedd__0'>(!!0&, -!!1&) -IL_004e: leave.s IL_009f -IL_0050: ldarg.0 -IL_0051: ldfld valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter CatchAndFinally/'d__0'::'<>u__1' -IL_0056: stloc.2 -IL_0057: ldarg.0 -IL_0058: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter CatchAndFinally/'d__0'::'<>u__1' -IL_005d: initobj [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter -IL_0063: ldarg.0 -IL_0064: ldc.i4.m1 -IL_0065: dup -IL_0066: stloc.0 -IL_0067: stfld int32 CatchAndFinally/'d__0'::'<>1__state' -IL_006c: ldloca.s V_2 -IL_006e: call instance void [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter::GetResult() -IL_0073: leave.s IL_008c -} // end .try -catch [System.Runtime]System.Exception -{ -IL_0075: stloc.3 -IL_0076: ldarg.0 -IL_0077: ldc.i4.s -2 -IL_0079: stfld int32 CatchAndFinally/'d__0'::'<>1__state' -IL_007e: ldarg.0 -IL_007f: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__0'::'<>t__builder' -IL_0084: ldloc.3 -IL_0085: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetException(class [System.Runtime]System.Exception) -IL_008a: leave.s IL_009f -} // end handler -IL_008c: ldarg.0 -IL_008d: ldc.i4.s -2 -IL_008f: stfld int32 CatchAndFinally/'d__0'::'<>1__state' -IL_0094: ldarg.0 -IL_0095: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__0'::'<>t__builder' -IL_009a: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetResult() -IL_009f: ret -} -.method private hidebysig newslot virtual final -instance void SetStateMachine(class [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed -{ -.override [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine -.maxstack 8 -IL_0000: ldarg.0 -IL_0001: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__0'::'<>t__builder' -IL_0006: ldarg.1 -IL_0007: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetStateMachine(class [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine) -IL_000c: ret -} -} -.class auto ansi sealed nested private beforefieldinit 'd__1' -extends [System.Runtime]System.ValueType -implements [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine -{ -.interfaceimpl type [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field public int32 '<>1__state' -.field public valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder '<>t__builder' -.field private valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter '<>u__1' -.method private hidebysig newslot virtual final -instance void MoveNext() cil managed -{ -.override [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext -.maxstack 3 -.locals init (int32 V_0, -int32 V_1, -valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter V_2, -valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable V_3, -class [System.Runtime]System.Exception V_4) -IL_0000: ldarg.0 -IL_0001: ldfld int32 CatchAndFinally/'d__1'::'<>1__state' -IL_0006: stloc.0 -.try -{ -IL_0007: ldloc.0 -IL_0008: brfalse.s IL_0059 -IL_000a: ldc.i4.0 -IL_000b: stloc.1 -.try -{ -IL_000c: newobj instance void [System.Runtime]System.NotImplementedException::.ctor() -IL_0011: throw -} // end .try -catch [System.Runtime]System.Object -{ -IL_0012: pop -IL_0013: ldc.i4.1 -IL_0014: stloc.1 -IL_0015: leave.s IL_0017 -} // end handler -IL_0017: ldloc.1 -IL_0018: ldc.i4.1 -IL_0019: bne.un.s IL_007c -IL_001b: ldc.i4.1 -IL_001c: call class [System.Runtime]System.Threading.Tasks.Task [System.Runtime]System.Threading.Tasks.Task::Delay(int32) -IL_0021: ldc.i4.0 -IL_0022: callvirt instance valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable [System.Private.CoreLib]System.Threading.Tasks.Task::ConfigureAwait(bool) -IL_0027: stloc.3 -IL_0028: ldloca.s V_3 -IL_002a: call instance valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable::GetAwaiter() -IL_002f: stloc.2 -IL_0030: ldloca.s V_2 -IL_0032: call instance bool [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter::get_IsCompleted() -IL_0037: brtrue.s IL_0075 -IL_0039: ldarg.0 -IL_003a: ldc.i4.0 -IL_003b: dup -IL_003c: stloc.0 -IL_003d: stfld int32 CatchAndFinally/'d__1'::'<>1__state' -IL_0042: ldarg.0 -IL_0043: ldloc.2 -IL_0044: stfld valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter CatchAndFinally/'d__1'::'<>u__1' -IL_0049: ldarg.0 -IL_004a: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__1'::'<>t__builder' -IL_004f: ldloca.s V_2 -IL_0051: ldarg.0 -IL_0052: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::AwaitUnsafeOnCompletedd__1'>(!!0&, -!!1&) -IL_0057: leave.s IL_00aa -IL_0059: ldarg.0 -IL_005a: ldfld valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter CatchAndFinally/'d__1'::'<>u__1' -IL_005f: stloc.2 -IL_0060: ldarg.0 -IL_0061: ldflda valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter CatchAndFinally/'d__1'::'<>u__1' -IL_0066: initobj [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter -IL_006c: ldarg.0 -IL_006d: ldc.i4.m1 -IL_006e: dup -IL_006f: stloc.0 -IL_0070: stfld int32 CatchAndFinally/'d__1'::'<>1__state' -IL_0075: ldloca.s V_2 -IL_0077: call instance void [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter::GetResult() -IL_007c: leave.s IL_0097 -} // end .try -catch [System.Runtime]System.Exception -{ -IL_007e: stloc.s V_4 -IL_0080: ldarg.0 -IL_0081: ldc.i4.s -2 -IL_0083: stfld int32 CatchAndFinally/'d__1'::'<>1__state' -IL_0088: ldarg.0 -IL_0089: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__1'::'<>t__builder' -IL_008e: ldloc.s V_4 -IL_0090: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetException(class [System.Runtime]System.Exception) -IL_0095: leave.s IL_00aa -} // end handler -IL_0097: ldarg.0 -IL_0098: ldc.i4.s -2 -IL_009a: stfld int32 CatchAndFinally/'d__1'::'<>1__state' -IL_009f: ldarg.0 -IL_00a0: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__1'::'<>t__builder' -IL_00a5: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetResult() -IL_00aa: ret -} -.method private hidebysig newslot virtual final -instance void SetStateMachine(class [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed -{ -.override [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine -.maxstack 8 -IL_0000: ldarg.0 -IL_0001: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__1'::'<>t__builder' -IL_0006: ldarg.1 -IL_0007: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetStateMachine(class [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine) -IL_000c: ret -} -} -.class auto ansi sealed nested private beforefieldinit 'd__2' -extends [System.Runtime]System.ValueType -implements [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine -{ -.interfaceimpl type [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field public int32 '<>1__state' -.field public valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder '<>t__builder' -.field private valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter '<>u__1' -.method private hidebysig newslot virtual final -instance void MoveNext() cil managed -{ -.override [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext -.maxstack 3 -.locals init (int32 V_0, -int32 V_1, -valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter V_2, -valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable V_3, -class [System.Runtime]System.Exception V_4) -IL_0000: ldarg.0 -IL_0001: ldfld int32 CatchAndFinally/'d__2'::'<>1__state' -IL_0006: stloc.0 -.try -{ -IL_0007: ldloc.0 -IL_0008: brfalse.s IL_0059 -IL_000a: ldc.i4.0 -IL_000b: stloc.1 -.try -{ -IL_000c: newobj instance void [System.Runtime]System.NotImplementedException::.ctor() -IL_0011: throw -} // end .try -catch [System.Runtime]System.Object -{ -IL_0012: pop -IL_0013: ldc.i4.1 -IL_0014: stloc.1 -IL_0015: leave.s IL_0017 -} // end handler -IL_0017: ldloc.1 -IL_0018: ldc.i4.1 -IL_0019: bne.un.s IL_007c -IL_001b: ldc.i4.1 -IL_001c: call class [System.Runtime]System.Threading.Tasks.Task [System.Runtime]System.Threading.Tasks.Task::Delay(int32) -IL_0021: ldc.i4.0 -IL_0022: callvirt instance valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable [System.Runtime]System.Threading.Tasks.Task::ConfigureAwait(bool) -IL_0027: stloc.3 -IL_0028: ldloca.s V_3 -IL_002a: call instance valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable::GetAwaiter() -IL_002f: stloc.2 -IL_0030: ldloca.s V_2 -IL_0032: call instance bool [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter::get_IsCompleted() -IL_0037: brtrue.s IL_0075 -IL_0039: ldarg.0 -IL_003a: ldc.i4.0 -IL_003b: dup -IL_003c: stloc.0 -IL_003d: stfld int32 CatchAndFinally/'d__2'::'<>1__state' -IL_0042: ldarg.0 -IL_0043: ldloc.2 -IL_0044: stfld valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter CatchAndFinally/'d__2'::'<>u__1' -IL_0049: ldarg.0 -IL_004a: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__2'::'<>t__builder' -IL_004f: ldloca.s V_2 -IL_0051: ldarg.0 -IL_0052: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::AwaitUnsafeOnCompletedd__2'>(!!0&, -!!1&) -IL_0057: leave.s IL_00aa -IL_0059: ldarg.0 -IL_005a: ldfld valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter CatchAndFinally/'d__2'::'<>u__1' -IL_005f: stloc.2 -IL_0060: ldarg.0 -IL_0061: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter CatchAndFinally/'d__2'::'<>u__1' -IL_0066: initobj [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter -IL_006c: ldarg.0 -IL_006d: ldc.i4.m1 -IL_006e: dup -IL_006f: stloc.0 -IL_0070: stfld int32 CatchAndFinally/'d__2'::'<>1__state' -IL_0075: ldloca.s V_2 -IL_0077: call instance void [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter::GetResult() -IL_007c: leave.s IL_0097 -} // end .try -catch [System.Runtime]System.Exception -{ -IL_007e: stloc.s V_4 -IL_0080: ldarg.0 -IL_0081: ldc.i4.s -2 -IL_0083: stfld int32 CatchAndFinally/'d__2'::'<>1__state' -IL_0088: ldarg.0 -IL_0089: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__2'::'<>t__builder' -IL_008e: ldloc.s V_4 -IL_0090: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetException(class [System.Runtime]System.Exception) -IL_0095: leave.s IL_00aa -} // end handler -IL_0097: ldarg.0 -IL_0098: ldc.i4.s -2 -IL_009a: stfld int32 CatchAndFinally/'d__2'::'<>1__state' -IL_009f: ldarg.0 -IL_00a0: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__2'::'<>t__builder' -IL_00a5: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetResult() -IL_00aa: ret -} -.method private hidebysig newslot virtual final -instance void SetStateMachine(class [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed -{ -.override [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine -.maxstack 8 -IL_0000: ldarg.0 -IL_0001: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__2'::'<>t__builder' -IL_0006: ldarg.1 -IL_0007: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetStateMachine(class [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine) -IL_000c: ret -} -} -.class auto ansi sealed nested private beforefieldinit 'd__3' -extends [System.Runtime]System.ValueType -implements [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine -{ -.interfaceimpl type [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field public int32 '<>1__state' -.field public valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder '<>t__builder' -.field private object '<>7__wrap1' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field private int32 '<>7__wrap2' -.field private valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter '<>u__1' -.method private hidebysig newslot virtual final -instance void MoveNext() cil managed -{ -.override [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext -.maxstack 3 -.locals init (int32 V_0, -object V_1, -valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter V_2, -class [System.Runtime]System.Exception V_3) -IL_0000: ldarg.0 -IL_0001: ldfld int32 CatchAndFinally/'d__3'::'<>1__state' -IL_0006: stloc.0 -.try -{ -IL_0007: ldloc.0 -IL_0008: brfalse.s IL_005d -IL_000a: ldarg.0 -IL_000b: ldnull -IL_000c: stfld object CatchAndFinally/'d__3'::'<>7__wrap1' -IL_0011: ldarg.0 -IL_0012: ldc.i4.0 -IL_0013: stfld int32 CatchAndFinally/'d__3'::'<>7__wrap2' -.try -{ -IL_0018: newobj instance void [System.Runtime]System.NotImplementedException::.ctor() -IL_001d: throw -} // end .try -catch [System.Runtime]System.Object -{ -IL_001e: stloc.1 -IL_001f: ldarg.0 -IL_0020: ldloc.1 -IL_0021: stfld object CatchAndFinally/'d__3'::'<>7__wrap1' -IL_0026: leave.s IL_0028 -} // end handler -IL_0028: ldc.i4.1 -IL_0029: call class [System.Runtime]System.Threading.Tasks.Task [System.Runtime]System.Threading.Tasks.Task::Delay(int32) -IL_002e: callvirt instance valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter [System.Runtime]System.Threading.Tasks.Task::GetAwaiter() -IL_0033: stloc.2 -IL_0034: ldloca.s V_2 -IL_0036: call instance bool [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter::get_IsCompleted() -IL_003b: brtrue.s IL_0079 -IL_003d: ldarg.0 -IL_003e: ldc.i4.0 -IL_003f: dup -IL_0040: stloc.0 -IL_0041: stfld int32 CatchAndFinally/'d__3'::'<>1__state' -IL_0046: ldarg.0 -IL_0047: ldloc.2 -IL_0048: stfld valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter CatchAndFinally/'d__3'::'<>u__1' -IL_004d: ldarg.0 -IL_004e: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__3'::'<>t__builder' -IL_0053: ldloca.s V_2 -IL_0055: ldarg.0 -IL_0056: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::AwaitUnsafeOnCompletedd__3'>(!!0&, -!!1&) -IL_005b: leave.s IL_00d2 -IL_005d: ldarg.0 -IL_005e: ldfld valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter CatchAndFinally/'d__3'::'<>u__1' -IL_0063: stloc.2 -IL_0064: ldarg.0 -IL_0065: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter CatchAndFinally/'d__3'::'<>u__1' -IL_006a: initobj [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter -IL_0070: ldarg.0 -IL_0071: ldc.i4.m1 -IL_0072: dup -IL_0073: stloc.0 -IL_0074: stfld int32 CatchAndFinally/'d__3'::'<>1__state' -IL_0079: ldloca.s V_2 -IL_007b: call instance void [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter::GetResult() -IL_0080: ldarg.0 -IL_0081: ldfld object CatchAndFinally/'d__3'::'<>7__wrap1' -IL_0086: stloc.1 -IL_0087: ldloc.1 -IL_0088: brfalse.s IL_009f -IL_008a: ldloc.1 -IL_008b: isinst [System.Runtime]System.Exception -IL_0090: dup -IL_0091: brtrue.s IL_0095 -IL_0093: ldloc.1 -IL_0094: throw -IL_0095: call class [System.Runtime]System.Runtime.ExceptionServices.ExceptionDispatchInfo [System.Runtime]System.Runtime.ExceptionServices.ExceptionDispatchInfo::Capture(class [System.Runtime]System.Exception) -IL_009a: callvirt instance void [System.Runtime]System.Runtime.ExceptionServices.ExceptionDispatchInfo::Throw() -IL_009f: ldarg.0 -IL_00a0: ldnull -IL_00a1: stfld object CatchAndFinally/'d__3'::'<>7__wrap1' -IL_00a6: leave.s IL_00bf -} // end .try -catch [System.Runtime]System.Exception -{ -IL_00a8: stloc.3 -IL_00a9: ldarg.0 -IL_00aa: ldc.i4.s -2 -IL_00ac: stfld int32 CatchAndFinally/'d__3'::'<>1__state' -IL_00b1: ldarg.0 -IL_00b2: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__3'::'<>t__builder' -IL_00b7: ldloc.3 -IL_00b8: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetException(class [System.Runtime]System.Exception) -IL_00bd: leave.s IL_00d2 -} // end handler -IL_00bf: ldarg.0 -IL_00c0: ldc.i4.s -2 -IL_00c2: stfld int32 CatchAndFinally/'d__3'::'<>1__state' -IL_00c7: ldarg.0 -IL_00c8: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__3'::'<>t__builder' -IL_00cd: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetResult() -IL_00d2: ret -} -.method private hidebysig newslot virtual final -instance void SetStateMachine(class [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed -{ -.override [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine -.maxstack 8 -IL_0000: ldarg.0 -IL_0001: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__3'::'<>t__builder' -IL_0006: ldarg.1 -IL_0007: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetStateMachine(class [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine) -IL_000c: ret -} -} -.class auto ansi sealed nested private beforefieldinit 'd__4' -extends [System.Runtime]System.ValueType -implements [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine -{ -.interfaceimpl type [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field public int32 '<>1__state' -.field public valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder '<>t__builder' -.field private object '<>7__wrap1' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field private int32 '<>7__wrap2' -.field private valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter '<>u__1' -.method private hidebysig newslot virtual final -instance void MoveNext() cil managed -{ -.override [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext -.maxstack 3 -.locals init (int32 V_0, -object V_1, -valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter V_2, -valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable V_3, -class [System.Runtime]System.Exception V_4) -IL_0000: ldarg.0 -IL_0001: ldfld int32 CatchAndFinally/'d__4'::'<>1__state' -IL_0006: stloc.0 -.try -{ -IL_0007: ldloc.0 -IL_0008: brfalse.s IL_0069 -IL_000a: ldarg.0 -IL_000b: ldnull -IL_000c: stfld object CatchAndFinally/'d__4'::'<>7__wrap1' -IL_0011: ldarg.0 -IL_0012: ldc.i4.0 -IL_0013: stfld int32 CatchAndFinally/'d__4'::'<>7__wrap2' -.try -{ -IL_0018: newobj instance void [System.Runtime]System.NotImplementedException::.ctor() -IL_001d: throw -} // end .try -catch [System.Runtime]System.Object -{ -IL_001e: stloc.1 -IL_001f: ldarg.0 -IL_0020: ldloc.1 -IL_0021: stfld object CatchAndFinally/'d__4'::'<>7__wrap1' -IL_0026: leave.s IL_0028 -} // end handler -IL_0028: ldc.i4.1 -IL_0029: call class [System.Runtime]System.Threading.Tasks.Task [System.Runtime]System.Threading.Tasks.Task::Delay(int32) -IL_002e: ldc.i4.0 -IL_002f: callvirt instance valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable [System.Private.CoreLib]System.Threading.Tasks.Task::ConfigureAwait(bool) -IL_0034: stloc.3 -IL_0035: ldloca.s V_3 -IL_0037: call instance valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable::GetAwaiter() -IL_003c: stloc.2 -IL_003d: ldloca.s V_2 -IL_003f: call instance bool [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter::get_IsCompleted() -IL_0044: brtrue.s IL_0085 -IL_0046: ldarg.0 -IL_0047: ldc.i4.0 -IL_0048: dup -IL_0049: stloc.0 -IL_004a: stfld int32 CatchAndFinally/'d__4'::'<>1__state' -IL_004f: ldarg.0 -IL_0050: ldloc.2 -IL_0051: stfld valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter CatchAndFinally/'d__4'::'<>u__1' -IL_0056: ldarg.0 -IL_0057: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__4'::'<>t__builder' -IL_005c: ldloca.s V_2 -IL_005e: ldarg.0 -IL_005f: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::AwaitUnsafeOnCompletedd__4'>(!!0&, -!!1&) -IL_0064: leave IL_00e0 -IL_0069: ldarg.0 -IL_006a: ldfld valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter CatchAndFinally/'d__4'::'<>u__1' -IL_006f: stloc.2 -IL_0070: ldarg.0 -IL_0071: ldflda valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter CatchAndFinally/'d__4'::'<>u__1' -IL_0076: initobj [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter -IL_007c: ldarg.0 -IL_007d: ldc.i4.m1 -IL_007e: dup -IL_007f: stloc.0 -IL_0080: stfld int32 CatchAndFinally/'d__4'::'<>1__state' -IL_0085: ldloca.s V_2 -IL_0087: call instance void [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter::GetResult() -IL_008c: ldarg.0 -IL_008d: ldfld object CatchAndFinally/'d__4'::'<>7__wrap1' -IL_0092: stloc.1 -IL_0093: ldloc.1 -IL_0094: brfalse.s IL_00ab -IL_0096: ldloc.1 -IL_0097: isinst [System.Runtime]System.Exception -IL_009c: dup -IL_009d: brtrue.s IL_00a1 -IL_009f: ldloc.1 -IL_00a0: throw -IL_00a1: call class [System.Runtime]System.Runtime.ExceptionServices.ExceptionDispatchInfo [System.Runtime]System.Runtime.ExceptionServices.ExceptionDispatchInfo::Capture(class [System.Runtime]System.Exception) -IL_00a6: callvirt instance void [System.Runtime]System.Runtime.ExceptionServices.ExceptionDispatchInfo::Throw() -IL_00ab: ldarg.0 -IL_00ac: ldnull -IL_00ad: stfld object CatchAndFinally/'d__4'::'<>7__wrap1' -IL_00b2: leave.s IL_00cd -} // end .try -catch [System.Runtime]System.Exception -{ -IL_00b4: stloc.s V_4 -IL_00b6: ldarg.0 -IL_00b7: ldc.i4.s -2 -IL_00b9: stfld int32 CatchAndFinally/'d__4'::'<>1__state' -IL_00be: ldarg.0 -IL_00bf: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__4'::'<>t__builder' -IL_00c4: ldloc.s V_4 -IL_00c6: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetException(class [System.Runtime]System.Exception) -IL_00cb: leave.s IL_00e0 -} // end handler -IL_00cd: ldarg.0 -IL_00ce: ldc.i4.s -2 -IL_00d0: stfld int32 CatchAndFinally/'d__4'::'<>1__state' -IL_00d5: ldarg.0 -IL_00d6: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__4'::'<>t__builder' -IL_00db: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetResult() -IL_00e0: ret -} -.method private hidebysig newslot virtual final -instance void SetStateMachine(class [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed -{ -.override [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine -.maxstack 8 -IL_0000: ldarg.0 -IL_0001: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__4'::'<>t__builder' -IL_0006: ldarg.1 -IL_0007: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetStateMachine(class [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine) -IL_000c: ret -} -} -.class auto ansi sealed nested private beforefieldinit 'd__5' -extends [System.Runtime]System.ValueType -implements [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine -{ -.interfaceimpl type [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field public int32 '<>1__state' -.field public valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder '<>t__builder' -.field private object '<>7__wrap1' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field private int32 '<>7__wrap2' -.field private valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter '<>u__1' -.method private hidebysig newslot virtual final -instance void MoveNext() cil managed -{ -.override [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext -.maxstack 3 -.locals init (int32 V_0, -object V_1, -valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter V_2, -valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable V_3, -class [System.Runtime]System.Exception V_4) -IL_0000: ldarg.0 -IL_0001: ldfld int32 CatchAndFinally/'d__5'::'<>1__state' -IL_0006: stloc.0 -.try -{ -IL_0007: ldloc.0 -IL_0008: brfalse.s IL_0066 -IL_000a: ldarg.0 -IL_000b: ldnull -IL_000c: stfld object CatchAndFinally/'d__5'::'<>7__wrap1' -IL_0011: ldarg.0 -IL_0012: ldc.i4.0 -IL_0013: stfld int32 CatchAndFinally/'d__5'::'<>7__wrap2' -.try -{ -IL_0018: newobj instance void [System.Runtime]System.NotImplementedException::.ctor() -IL_001d: throw -} // end .try -catch [System.Runtime]System.Object -{ -IL_001e: stloc.1 -IL_001f: ldarg.0 -IL_0020: ldloc.1 -IL_0021: stfld object CatchAndFinally/'d__5'::'<>7__wrap1' -IL_0026: leave.s IL_0028 -} // end handler -IL_0028: ldc.i4.1 -IL_0029: call class [System.Runtime]System.Threading.Tasks.Task [System.Runtime]System.Threading.Tasks.Task::Delay(int32) -IL_002e: ldc.i4.0 -IL_002f: callvirt instance valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable [System.Runtime]System.Threading.Tasks.Task::ConfigureAwait(bool) -IL_0034: stloc.3 -IL_0035: ldloca.s V_3 -IL_0037: call instance valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable::GetAwaiter() -IL_003c: stloc.2 -IL_003d: ldloca.s V_2 -IL_003f: call instance bool [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter::get_IsCompleted() -IL_0044: brtrue.s IL_0082 -IL_0046: ldarg.0 -IL_0047: ldc.i4.0 -IL_0048: dup -IL_0049: stloc.0 -IL_004a: stfld int32 CatchAndFinally/'d__5'::'<>1__state' -IL_004f: ldarg.0 -IL_0050: ldloc.2 -IL_0051: stfld valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter CatchAndFinally/'d__5'::'<>u__1' -IL_0056: ldarg.0 -IL_0057: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__5'::'<>t__builder' -IL_005c: ldloca.s V_2 -IL_005e: ldarg.0 -IL_005f: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::AwaitUnsafeOnCompletedd__5'>(!!0&, -!!1&) -IL_0064: leave.s IL_00dd -IL_0066: ldarg.0 -IL_0067: ldfld valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter CatchAndFinally/'d__5'::'<>u__1' -IL_006c: stloc.2 -IL_006d: ldarg.0 -IL_006e: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter CatchAndFinally/'d__5'::'<>u__1' -IL_0073: initobj [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter -IL_0079: ldarg.0 -IL_007a: ldc.i4.m1 -IL_007b: dup -IL_007c: stloc.0 -IL_007d: stfld int32 CatchAndFinally/'d__5'::'<>1__state' -IL_0082: ldloca.s V_2 -IL_0084: call instance void [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter::GetResult() -IL_0089: ldarg.0 -IL_008a: ldfld object CatchAndFinally/'d__5'::'<>7__wrap1' -IL_008f: stloc.1 -IL_0090: ldloc.1 -IL_0091: brfalse.s IL_00a8 -IL_0093: ldloc.1 -IL_0094: isinst [System.Runtime]System.Exception -IL_0099: dup -IL_009a: brtrue.s IL_009e -IL_009c: ldloc.1 -IL_009d: throw -IL_009e: call class [System.Runtime]System.Runtime.ExceptionServices.ExceptionDispatchInfo [System.Runtime]System.Runtime.ExceptionServices.ExceptionDispatchInfo::Capture(class [System.Runtime]System.Exception) -IL_00a3: callvirt instance void [System.Runtime]System.Runtime.ExceptionServices.ExceptionDispatchInfo::Throw() -IL_00a8: ldarg.0 -IL_00a9: ldnull -IL_00aa: stfld object CatchAndFinally/'d__5'::'<>7__wrap1' -IL_00af: leave.s IL_00ca -} // end .try -catch [System.Runtime]System.Exception -{ -IL_00b1: stloc.s V_4 -IL_00b3: ldarg.0 -IL_00b4: ldc.i4.s -2 -IL_00b6: stfld int32 CatchAndFinally/'d__5'::'<>1__state' -IL_00bb: ldarg.0 -IL_00bc: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__5'::'<>t__builder' -IL_00c1: ldloc.s V_4 -IL_00c3: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetException(class [System.Runtime]System.Exception) -IL_00c8: leave.s IL_00dd -} // end handler -IL_00ca: ldarg.0 -IL_00cb: ldc.i4.s -2 -IL_00cd: stfld int32 CatchAndFinally/'d__5'::'<>1__state' -IL_00d2: ldarg.0 -IL_00d3: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__5'::'<>t__builder' -IL_00d8: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetResult() -IL_00dd: ret -} -.method private hidebysig newslot virtual final -instance void SetStateMachine(class [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed -{ -.override [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine -.maxstack 8 -IL_0000: ldarg.0 -IL_0001: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__5'::'<>t__builder' -IL_0006: ldarg.1 -IL_0007: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetStateMachine(class [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine) -IL_000c: ret -} -} -.method public hidebysig instance class [System.Runtime]System.Threading.Tasks.Task -Catch1() cil managed -{ -6C 79 2B 3C 43 61 74 63 68 31 3E 64 5F 5F 30 00 // ly+d__0. -00 ) -.maxstack 2 -.locals init (valuetype CatchAndFinally/'d__0' V_0) -IL_0000: ldloca.s V_0 -IL_0002: call valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Create() -IL_0007: stfld valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__0'::'<>t__builder' -IL_000c: ldloca.s V_0 -IL_000e: ldc.i4.m1 -IL_000f: stfld int32 CatchAndFinally/'d__0'::'<>1__state' -IL_0014: ldloca.s V_0 -IL_0016: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__0'::'<>t__builder' -IL_001b: ldloca.s V_0 -IL_001d: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Startd__0'>(!!0&) -IL_0022: ldloca.s V_0 -IL_0024: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__0'::'<>t__builder' -IL_0029: call instance class [System.Runtime]System.Threading.Tasks.Task [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::get_Task() -IL_002e: ret -} -.method public hidebysig instance class [System.Runtime]System.Threading.Tasks.Task -Catch2() cil managed -{ -6C 79 2B 3C 43 61 74 63 68 32 3E 64 5F 5F 31 00 // ly+d__1. -00 ) -.maxstack 2 -.locals init (valuetype CatchAndFinally/'d__1' V_0) -IL_0000: ldloca.s V_0 -IL_0002: call valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Create() -IL_0007: stfld valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__1'::'<>t__builder' -IL_000c: ldloca.s V_0 -IL_000e: ldc.i4.m1 -IL_000f: stfld int32 CatchAndFinally/'d__1'::'<>1__state' -IL_0014: ldloca.s V_0 -IL_0016: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__1'::'<>t__builder' -IL_001b: ldloca.s V_0 -IL_001d: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Startd__1'>(!!0&) -IL_0022: ldloca.s V_0 -IL_0024: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__1'::'<>t__builder' -IL_0029: call instance class [System.Runtime]System.Threading.Tasks.Task [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::get_Task() -IL_002e: ret -} -.method public hidebysig instance class [System.Runtime]System.Threading.Tasks.Task -Catch3() cil managed -{ -6C 79 2B 3C 43 61 74 63 68 33 3E 64 5F 5F 32 00 // ly+d__2. -00 ) -.maxstack 2 -.locals init (valuetype CatchAndFinally/'d__2' V_0) -IL_0000: ldloca.s V_0 -IL_0002: call valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Create() -IL_0007: stfld valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__2'::'<>t__builder' -IL_000c: ldloca.s V_0 -IL_000e: ldc.i4.m1 -IL_000f: stfld int32 CatchAndFinally/'d__2'::'<>1__state' -IL_0014: ldloca.s V_0 -IL_0016: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__2'::'<>t__builder' -IL_001b: ldloca.s V_0 -IL_001d: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Startd__2'>(!!0&) -IL_0022: ldloca.s V_0 -IL_0024: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__2'::'<>t__builder' -IL_0029: call instance class [System.Runtime]System.Threading.Tasks.Task [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::get_Task() -IL_002e: ret -} -.method public hidebysig instance class [System.Runtime]System.Threading.Tasks.Task -Finally1() cil managed -{ -6C 79 2B 3C 46 69 6E 61 6C 6C 79 31 3E 64 5F 5F // ly+d__ -33 00 00 ) // 3.. -.maxstack 2 -.locals init (valuetype CatchAndFinally/'d__3' V_0) -IL_0000: ldloca.s V_0 -IL_0002: call valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Create() -IL_0007: stfld valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__3'::'<>t__builder' -IL_000c: ldloca.s V_0 -IL_000e: ldc.i4.m1 -IL_000f: stfld int32 CatchAndFinally/'d__3'::'<>1__state' -IL_0014: ldloca.s V_0 -IL_0016: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__3'::'<>t__builder' -IL_001b: ldloca.s V_0 -IL_001d: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Startd__3'>(!!0&) -IL_0022: ldloca.s V_0 -IL_0024: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__3'::'<>t__builder' -IL_0029: call instance class [System.Runtime]System.Threading.Tasks.Task [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::get_Task() -IL_002e: ret -} -.method public hidebysig instance class [System.Runtime]System.Threading.Tasks.Task -Finally2() cil managed -{ -6C 79 2B 3C 46 69 6E 61 6C 6C 79 32 3E 64 5F 5F // ly+d__ -34 00 00 ) // 4.. -.maxstack 2 -.locals init (valuetype CatchAndFinally/'d__4' V_0) -IL_0000: ldloca.s V_0 -IL_0002: call valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Create() -IL_0007: stfld valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__4'::'<>t__builder' -IL_000c: ldloca.s V_0 -IL_000e: ldc.i4.m1 -IL_000f: stfld int32 CatchAndFinally/'d__4'::'<>1__state' -IL_0014: ldloca.s V_0 -IL_0016: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__4'::'<>t__builder' -IL_001b: ldloca.s V_0 -IL_001d: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Startd__4'>(!!0&) -IL_0022: ldloca.s V_0 -IL_0024: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__4'::'<>t__builder' -IL_0029: call instance class [System.Runtime]System.Threading.Tasks.Task [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::get_Task() -IL_002e: ret -} -.method public hidebysig instance class [System.Runtime]System.Threading.Tasks.Task -Finally3() cil managed -{ -6C 79 2B 3C 46 69 6E 61 6C 6C 79 33 3E 64 5F 5F // ly+d__ -35 00 00 ) // 5.. -.maxstack 2 -.locals init (valuetype CatchAndFinally/'d__5' V_0) -IL_0000: ldloca.s V_0 -IL_0002: call valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Create() -IL_0007: stfld valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__5'::'<>t__builder' -IL_000c: ldloca.s V_0 -IL_000e: ldc.i4.m1 -IL_000f: stfld int32 CatchAndFinally/'d__5'::'<>1__state' -IL_0014: ldloca.s V_0 -IL_0016: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__5'::'<>t__builder' -IL_001b: ldloca.s V_0 -IL_001d: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Startd__5'>(!!0&) -IL_0022: ldloca.s V_0 -IL_0024: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__5'::'<>t__builder' -IL_0029: call instance class [System.Runtime]System.Threading.Tasks.Task [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::get_Task() -IL_002e: ret -} -.method public hidebysig specialname rtspecialname -instance void .ctor() cil managed -{ -.maxstack 8 -IL_0000: ldarg.0 -IL_0001: call instance void [System.Runtime]System.Object::.ctor() -IL_0006: ret -} -} diff --git a/Tests/ModuleWeaverTests.DecompileCatchAndFinally.Release.DotNet10_0.verified.txt b/Tests/ModuleWeaverTests.DecompileCatchAndFinally.Release.DotNet10_0.verified.txt new file mode 100644 index 0000000..b010433 --- /dev/null +++ b/Tests/ModuleWeaverTests.DecompileCatchAndFinally.Release.DotNet10_0.verified.txt @@ -0,0 +1,1753 @@ +.class public auto ansi beforefieldinit CatchAndFinally +extends [System.Runtime]System.Object +{ +.class auto ansi sealed nested private beforefieldinit 'd__0' +extends [System.Runtime]System.ValueType +implements [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine +{ +.interfaceimpl type [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine +.field public int32 '<>1__state' +.field public valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder '<>t__builder' +.field private valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter '<>u__1' +.method private hidebysig newslot virtual final +instance void MoveNext() cil managed +{ +.override [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext +.maxstack 3 +.locals init (int32 V_0, +int32 V_1, +valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter V_2, +class [System.Runtime]System.Exception V_3) +IL_0000: ldarg.0 +IL_0001: ldfld int32 CatchAndFinally/'d__0'::'<>1__state' +IL_0006: stloc.0 +.try +{ +IL_0007: ldloc.0 +IL_0008: brfalse.s IL_0050 +IL_000a: ldc.i4.0 +IL_000b: stloc.1 +.try +{ +IL_000c: newobj instance void [System.Runtime]System.NotImplementedException::.ctor() +IL_0011: throw +} // end .try +catch [System.Runtime]System.Object +{ +IL_0012: pop +IL_0013: ldc.i4.1 +IL_0014: stloc.1 +IL_0015: leave.s IL_0017 +} // end handler +IL_0017: ldloc.1 +IL_0018: ldc.i4.1 +IL_0019: bne.un.s IL_0073 +IL_001b: ldc.i4.1 +IL_001c: call class [System.Runtime]System.Threading.Tasks.Task [System.Runtime]System.Threading.Tasks.Task::Delay(int32) +IL_0021: callvirt instance valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter [System.Runtime]System.Threading.Tasks.Task::GetAwaiter() +IL_0026: stloc.2 +IL_0027: ldloca.s V_2 +IL_0029: call instance bool [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter::get_IsCompleted() +IL_002e: brtrue.s IL_006c +IL_0030: ldarg.0 +IL_0031: ldc.i4.0 +IL_0032: dup +IL_0033: stloc.0 +IL_0034: stfld int32 CatchAndFinally/'d__0'::'<>1__state' +IL_0039: ldarg.0 +IL_003a: ldloc.2 +IL_003b: stfld valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter CatchAndFinally/'d__0'::'<>u__1' +IL_0040: ldarg.0 +IL_0041: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__0'::'<>t__builder' +IL_0046: ldloca.s V_2 +IL_0048: ldarg.0 +IL_0049: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::AwaitUnsafeOnCompletedd__0'>(!!0&, +!!1&) +IL_004e: leave.s IL_009f +IL_0050: ldarg.0 +IL_0051: ldfld valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter CatchAndFinally/'d__0'::'<>u__1' +IL_0056: stloc.2 +IL_0057: ldarg.0 +IL_0058: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter CatchAndFinally/'d__0'::'<>u__1' +IL_005d: initobj [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter +IL_0063: ldarg.0 +IL_0064: ldc.i4.m1 +IL_0065: dup +IL_0066: stloc.0 +IL_0067: stfld int32 CatchAndFinally/'d__0'::'<>1__state' +IL_006c: ldloca.s V_2 +IL_006e: call instance void [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter::GetResult() +IL_0073: leave.s IL_008c +} // end .try +catch [System.Runtime]System.Exception +{ +IL_0075: stloc.3 +IL_0076: ldarg.0 +IL_0077: ldc.i4.s -2 +IL_0079: stfld int32 CatchAndFinally/'d__0'::'<>1__state' +IL_007e: ldarg.0 +IL_007f: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__0'::'<>t__builder' +IL_0084: ldloc.3 +IL_0085: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetException(class [System.Runtime]System.Exception) +IL_008a: leave.s IL_009f +} // end handler +IL_008c: ldarg.0 +IL_008d: ldc.i4.s -2 +IL_008f: stfld int32 CatchAndFinally/'d__0'::'<>1__state' +IL_0094: ldarg.0 +IL_0095: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__0'::'<>t__builder' +IL_009a: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetResult() +IL_009f: ret +} +.method private hidebysig newslot virtual final +instance void SetStateMachine(class [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed +{ +.override [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine +.maxstack 8 +IL_0000: ldarg.0 +IL_0001: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__0'::'<>t__builder' +IL_0006: ldarg.1 +IL_0007: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetStateMachine(class [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine) +IL_000c: ret +} +} +.class auto ansi sealed nested private beforefieldinit 'd__6' +extends [System.Runtime]System.ValueType +implements [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine +{ +.interfaceimpl type [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine +.field public int32 '<>1__state' +.field public valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder '<>t__builder' +.field private valuetype [System.Runtime]System.Runtime.CompilerServices.ValueTaskAwaiter '<>u__1' +.method private hidebysig newslot virtual final +instance void MoveNext() cil managed +{ +.override [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext +.maxstack 3 +.locals init (int32 V_0, +int32 V_1, +valuetype [System.Runtime]System.Runtime.CompilerServices.ValueTaskAwaiter V_2, +valuetype [System.Runtime]System.Threading.Tasks.ValueTask V_3, +class [System.Runtime]System.Exception V_4) +IL_0000: ldarg.0 +IL_0001: ldfld int32 CatchAndFinally/'d__6'::'<>1__state' +IL_0006: stloc.0 +.try +{ +IL_0007: ldloc.0 +IL_0008: brfalse.s IL_0058 +IL_000a: ldc.i4.0 +IL_000b: stloc.1 +.try +{ +IL_000c: newobj instance void [System.Runtime]System.NotImplementedException::.ctor() +IL_0011: throw +} // end .try +catch [System.Runtime]System.Object +{ +IL_0012: pop +IL_0013: ldc.i4.1 +IL_0014: stloc.1 +IL_0015: leave.s IL_0017 +} // end handler +IL_0017: ldloc.1 +IL_0018: ldc.i4.1 +IL_0019: bne.un.s IL_007b +IL_001b: ldc.i4.1 +IL_001c: call class [System.Runtime]System.Threading.Tasks.Task [System.Runtime]System.Threading.Tasks.Task::Delay(int32) +IL_0021: newobj instance void [System.Runtime]System.Threading.Tasks.ValueTask::.ctor(class [System.Runtime]System.Threading.Tasks.Task) +IL_0026: stloc.3 +IL_0027: ldloca.s V_3 +IL_0029: call instance valuetype [System.Runtime]System.Runtime.CompilerServices.ValueTaskAwaiter [System.Runtime]System.Threading.Tasks.ValueTask::GetAwaiter() +IL_002e: stloc.2 +IL_002f: ldloca.s V_2 +IL_0031: call instance bool [System.Runtime]System.Runtime.CompilerServices.ValueTaskAwaiter::get_IsCompleted() +IL_0036: brtrue.s IL_0074 +IL_0038: ldarg.0 +IL_0039: ldc.i4.0 +IL_003a: dup +IL_003b: stloc.0 +IL_003c: stfld int32 CatchAndFinally/'d__6'::'<>1__state' +IL_0041: ldarg.0 +IL_0042: ldloc.2 +IL_0043: stfld valuetype [System.Runtime]System.Runtime.CompilerServices.ValueTaskAwaiter CatchAndFinally/'d__6'::'<>u__1' +IL_0048: ldarg.0 +IL_0049: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__6'::'<>t__builder' +IL_004e: ldloca.s V_2 +IL_0050: ldarg.0 +IL_0051: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::AwaitUnsafeOnCompletedd__6'>(!!0&, +!!1&) +IL_0056: leave.s IL_00a9 +IL_0058: ldarg.0 +IL_0059: ldfld valuetype [System.Runtime]System.Runtime.CompilerServices.ValueTaskAwaiter CatchAndFinally/'d__6'::'<>u__1' +IL_005e: stloc.2 +IL_005f: ldarg.0 +IL_0060: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.ValueTaskAwaiter CatchAndFinally/'d__6'::'<>u__1' +IL_0065: initobj [System.Runtime]System.Runtime.CompilerServices.ValueTaskAwaiter +IL_006b: ldarg.0 +IL_006c: ldc.i4.m1 +IL_006d: dup +IL_006e: stloc.0 +IL_006f: stfld int32 CatchAndFinally/'d__6'::'<>1__state' +IL_0074: ldloca.s V_2 +IL_0076: call instance void [System.Runtime]System.Runtime.CompilerServices.ValueTaskAwaiter::GetResult() +IL_007b: leave.s IL_0096 +} // end .try +catch [System.Runtime]System.Exception +{ +IL_007d: stloc.s V_4 +IL_007f: ldarg.0 +IL_0080: ldc.i4.s -2 +IL_0082: stfld int32 CatchAndFinally/'d__6'::'<>1__state' +IL_0087: ldarg.0 +IL_0088: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__6'::'<>t__builder' +IL_008d: ldloc.s V_4 +IL_008f: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetException(class [System.Runtime]System.Exception) +IL_0094: leave.s IL_00a9 +} // end handler +IL_0096: ldarg.0 +IL_0097: ldc.i4.s -2 +IL_0099: stfld int32 CatchAndFinally/'d__6'::'<>1__state' +IL_009e: ldarg.0 +IL_009f: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__6'::'<>t__builder' +IL_00a4: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetResult() +IL_00a9: ret +} +.method private hidebysig newslot virtual final +instance void SetStateMachine(class [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed +{ +.override [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine +.maxstack 8 +IL_0000: ldarg.0 +IL_0001: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__6'::'<>t__builder' +IL_0006: ldarg.1 +IL_0007: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetStateMachine(class [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine) +IL_000c: ret +} +} +.class auto ansi sealed nested private beforefieldinit 'd__1' +extends [System.Runtime]System.ValueType +implements [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine +{ +.interfaceimpl type [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine +.field public int32 '<>1__state' +.field public valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder '<>t__builder' +.field private valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter '<>u__1' +.method private hidebysig newslot virtual final +instance void MoveNext() cil managed +{ +.override [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext +.maxstack 3 +.locals init (int32 V_0, +int32 V_1, +valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter V_2, +valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable V_3, +class [System.Runtime]System.Exception V_4) +IL_0000: ldarg.0 +IL_0001: ldfld int32 CatchAndFinally/'d__1'::'<>1__state' +IL_0006: stloc.0 +.try +{ +IL_0007: ldloc.0 +IL_0008: brfalse.s IL_0059 +IL_000a: ldc.i4.0 +IL_000b: stloc.1 +.try +{ +IL_000c: newobj instance void [System.Runtime]System.NotImplementedException::.ctor() +IL_0011: throw +} // end .try +catch [System.Runtime]System.Object +{ +IL_0012: pop +IL_0013: ldc.i4.1 +IL_0014: stloc.1 +IL_0015: leave.s IL_0017 +} // end handler +IL_0017: ldloc.1 +IL_0018: ldc.i4.1 +IL_0019: bne.un.s IL_007c +IL_001b: ldc.i4.1 +IL_001c: call class [System.Runtime]System.Threading.Tasks.Task [System.Runtime]System.Threading.Tasks.Task::Delay(int32) +IL_0021: ldc.i4.0 +IL_0022: callvirt instance valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable [System.Private.CoreLib]System.Threading.Tasks.Task::ConfigureAwait(bool) +IL_0027: stloc.3 +IL_0028: ldloca.s V_3 +IL_002a: call instance valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable::GetAwaiter() +IL_002f: stloc.2 +IL_0030: ldloca.s V_2 +IL_0032: call instance bool [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter::get_IsCompleted() +IL_0037: brtrue.s IL_0075 +IL_0039: ldarg.0 +IL_003a: ldc.i4.0 +IL_003b: dup +IL_003c: stloc.0 +IL_003d: stfld int32 CatchAndFinally/'d__1'::'<>1__state' +IL_0042: ldarg.0 +IL_0043: ldloc.2 +IL_0044: stfld valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter CatchAndFinally/'d__1'::'<>u__1' +IL_0049: ldarg.0 +IL_004a: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__1'::'<>t__builder' +IL_004f: ldloca.s V_2 +IL_0051: ldarg.0 +IL_0052: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::AwaitUnsafeOnCompletedd__1'>(!!0&, +!!1&) +IL_0057: leave.s IL_00aa +IL_0059: ldarg.0 +IL_005a: ldfld valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter CatchAndFinally/'d__1'::'<>u__1' +IL_005f: stloc.2 +IL_0060: ldarg.0 +IL_0061: ldflda valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter CatchAndFinally/'d__1'::'<>u__1' +IL_0066: initobj [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter +IL_006c: ldarg.0 +IL_006d: ldc.i4.m1 +IL_006e: dup +IL_006f: stloc.0 +IL_0070: stfld int32 CatchAndFinally/'d__1'::'<>1__state' +IL_0075: ldloca.s V_2 +IL_0077: call instance void [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter::GetResult() +IL_007c: leave.s IL_0097 +} // end .try +catch [System.Runtime]System.Exception +{ +IL_007e: stloc.s V_4 +IL_0080: ldarg.0 +IL_0081: ldc.i4.s -2 +IL_0083: stfld int32 CatchAndFinally/'d__1'::'<>1__state' +IL_0088: ldarg.0 +IL_0089: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__1'::'<>t__builder' +IL_008e: ldloc.s V_4 +IL_0090: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetException(class [System.Runtime]System.Exception) +IL_0095: leave.s IL_00aa +} // end handler +IL_0097: ldarg.0 +IL_0098: ldc.i4.s -2 +IL_009a: stfld int32 CatchAndFinally/'d__1'::'<>1__state' +IL_009f: ldarg.0 +IL_00a0: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__1'::'<>t__builder' +IL_00a5: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetResult() +IL_00aa: ret +} +.method private hidebysig newslot virtual final +instance void SetStateMachine(class [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed +{ +.override [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine +.maxstack 8 +IL_0000: ldarg.0 +IL_0001: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__1'::'<>t__builder' +IL_0006: ldarg.1 +IL_0007: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetStateMachine(class [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine) +IL_000c: ret +} +} +.class auto ansi sealed nested private beforefieldinit 'd__7' +extends [System.Runtime]System.ValueType +implements [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine +{ +.interfaceimpl type [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine +.field public int32 '<>1__state' +.field public valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder '<>t__builder' +.field private valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter '<>u__1' +.method private hidebysig newslot virtual final +instance void MoveNext() cil managed +{ +.override [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext +.maxstack 3 +.locals init (int32 V_0, +int32 V_1, +valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter V_2, +valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable V_3, +valuetype [System.Runtime]System.Threading.Tasks.ValueTask V_4, +class [System.Runtime]System.Exception V_5) +IL_0000: ldarg.0 +IL_0001: ldfld int32 CatchAndFinally/'d__7'::'<>1__state' +IL_0006: stloc.0 +.try +{ +IL_0007: ldloc.0 +IL_0008: brfalse.s IL_0062 +IL_000a: ldc.i4.0 +IL_000b: stloc.1 +.try +{ +IL_000c: newobj instance void [System.Runtime]System.NotImplementedException::.ctor() +IL_0011: throw +} // end .try +catch [System.Runtime]System.Object +{ +IL_0012: pop +IL_0013: ldc.i4.1 +IL_0014: stloc.1 +IL_0015: leave.s IL_0017 +} // end handler +IL_0017: ldloc.1 +IL_0018: ldc.i4.1 +IL_0019: bne.un.s IL_0085 +IL_001b: ldc.i4.1 +IL_001c: call class [System.Runtime]System.Threading.Tasks.Task [System.Runtime]System.Threading.Tasks.Task::Delay(int32) +IL_0021: newobj instance void [System.Runtime]System.Threading.Tasks.ValueTask::.ctor(class [System.Runtime]System.Threading.Tasks.Task) +IL_0026: stloc.s V_4 +IL_0028: ldloca.s V_4 +IL_002a: ldc.i4.0 +IL_002b: callvirt instance valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable [System.Private.CoreLib]System.Threading.Tasks.ValueTask::ConfigureAwait(bool) +IL_0030: stloc.3 +IL_0031: ldloca.s V_3 +IL_0033: call instance valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable::GetAwaiter() +IL_0038: stloc.2 +IL_0039: ldloca.s V_2 +IL_003b: call instance bool [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter::get_IsCompleted() +IL_0040: brtrue.s IL_007e +IL_0042: ldarg.0 +IL_0043: ldc.i4.0 +IL_0044: dup +IL_0045: stloc.0 +IL_0046: stfld int32 CatchAndFinally/'d__7'::'<>1__state' +IL_004b: ldarg.0 +IL_004c: ldloc.2 +IL_004d: stfld valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter CatchAndFinally/'d__7'::'<>u__1' +IL_0052: ldarg.0 +IL_0053: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__7'::'<>t__builder' +IL_0058: ldloca.s V_2 +IL_005a: ldarg.0 +IL_005b: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::AwaitUnsafeOnCompletedd__7'>(!!0&, +!!1&) +IL_0060: leave.s IL_00b3 +IL_0062: ldarg.0 +IL_0063: ldfld valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter CatchAndFinally/'d__7'::'<>u__1' +IL_0068: stloc.2 +IL_0069: ldarg.0 +IL_006a: ldflda valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter CatchAndFinally/'d__7'::'<>u__1' +IL_006f: initobj [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter +IL_0075: ldarg.0 +IL_0076: ldc.i4.m1 +IL_0077: dup +IL_0078: stloc.0 +IL_0079: stfld int32 CatchAndFinally/'d__7'::'<>1__state' +IL_007e: ldloca.s V_2 +IL_0080: call instance void [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter::GetResult() +IL_0085: leave.s IL_00a0 +} // end .try +catch [System.Runtime]System.Exception +{ +IL_0087: stloc.s V_5 +IL_0089: ldarg.0 +IL_008a: ldc.i4.s -2 +IL_008c: stfld int32 CatchAndFinally/'d__7'::'<>1__state' +IL_0091: ldarg.0 +IL_0092: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__7'::'<>t__builder' +IL_0097: ldloc.s V_5 +IL_0099: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetException(class [System.Runtime]System.Exception) +IL_009e: leave.s IL_00b3 +} // end handler +IL_00a0: ldarg.0 +IL_00a1: ldc.i4.s -2 +IL_00a3: stfld int32 CatchAndFinally/'d__7'::'<>1__state' +IL_00a8: ldarg.0 +IL_00a9: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__7'::'<>t__builder' +IL_00ae: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetResult() +IL_00b3: ret +} +.method private hidebysig newslot virtual final +instance void SetStateMachine(class [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed +{ +.override [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine +.maxstack 8 +IL_0000: ldarg.0 +IL_0001: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__7'::'<>t__builder' +IL_0006: ldarg.1 +IL_0007: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetStateMachine(class [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine) +IL_000c: ret +} +} +.class auto ansi sealed nested private beforefieldinit 'd__2' +extends [System.Runtime]System.ValueType +implements [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine +{ +.interfaceimpl type [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine +.field public int32 '<>1__state' +.field public valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder '<>t__builder' +.field private valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter '<>u__1' +.method private hidebysig newslot virtual final +instance void MoveNext() cil managed +{ +.override [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext +.maxstack 3 +.locals init (int32 V_0, +int32 V_1, +valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter V_2, +valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable V_3, +class [System.Runtime]System.Exception V_4) +IL_0000: ldarg.0 +IL_0001: ldfld int32 CatchAndFinally/'d__2'::'<>1__state' +IL_0006: stloc.0 +.try +{ +IL_0007: ldloc.0 +IL_0008: brfalse.s IL_0059 +IL_000a: ldc.i4.0 +IL_000b: stloc.1 +.try +{ +IL_000c: newobj instance void [System.Runtime]System.NotImplementedException::.ctor() +IL_0011: throw +} // end .try +catch [System.Runtime]System.Object +{ +IL_0012: pop +IL_0013: ldc.i4.1 +IL_0014: stloc.1 +IL_0015: leave.s IL_0017 +} // end handler +IL_0017: ldloc.1 +IL_0018: ldc.i4.1 +IL_0019: bne.un.s IL_007c +IL_001b: ldc.i4.1 +IL_001c: call class [System.Runtime]System.Threading.Tasks.Task [System.Runtime]System.Threading.Tasks.Task::Delay(int32) +IL_0021: ldc.i4.0 +IL_0022: callvirt instance valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable [System.Runtime]System.Threading.Tasks.Task::ConfigureAwait(bool) +IL_0027: stloc.3 +IL_0028: ldloca.s V_3 +IL_002a: call instance valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable::GetAwaiter() +IL_002f: stloc.2 +IL_0030: ldloca.s V_2 +IL_0032: call instance bool [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter::get_IsCompleted() +IL_0037: brtrue.s IL_0075 +IL_0039: ldarg.0 +IL_003a: ldc.i4.0 +IL_003b: dup +IL_003c: stloc.0 +IL_003d: stfld int32 CatchAndFinally/'d__2'::'<>1__state' +IL_0042: ldarg.0 +IL_0043: ldloc.2 +IL_0044: stfld valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter CatchAndFinally/'d__2'::'<>u__1' +IL_0049: ldarg.0 +IL_004a: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__2'::'<>t__builder' +IL_004f: ldloca.s V_2 +IL_0051: ldarg.0 +IL_0052: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::AwaitUnsafeOnCompletedd__2'>(!!0&, +!!1&) +IL_0057: leave.s IL_00aa +IL_0059: ldarg.0 +IL_005a: ldfld valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter CatchAndFinally/'d__2'::'<>u__1' +IL_005f: stloc.2 +IL_0060: ldarg.0 +IL_0061: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter CatchAndFinally/'d__2'::'<>u__1' +IL_0066: initobj [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter +IL_006c: ldarg.0 +IL_006d: ldc.i4.m1 +IL_006e: dup +IL_006f: stloc.0 +IL_0070: stfld int32 CatchAndFinally/'d__2'::'<>1__state' +IL_0075: ldloca.s V_2 +IL_0077: call instance void [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter::GetResult() +IL_007c: leave.s IL_0097 +} // end .try +catch [System.Runtime]System.Exception +{ +IL_007e: stloc.s V_4 +IL_0080: ldarg.0 +IL_0081: ldc.i4.s -2 +IL_0083: stfld int32 CatchAndFinally/'d__2'::'<>1__state' +IL_0088: ldarg.0 +IL_0089: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__2'::'<>t__builder' +IL_008e: ldloc.s V_4 +IL_0090: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetException(class [System.Runtime]System.Exception) +IL_0095: leave.s IL_00aa +} // end handler +IL_0097: ldarg.0 +IL_0098: ldc.i4.s -2 +IL_009a: stfld int32 CatchAndFinally/'d__2'::'<>1__state' +IL_009f: ldarg.0 +IL_00a0: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__2'::'<>t__builder' +IL_00a5: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetResult() +IL_00aa: ret +} +.method private hidebysig newslot virtual final +instance void SetStateMachine(class [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed +{ +.override [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine +.maxstack 8 +IL_0000: ldarg.0 +IL_0001: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__2'::'<>t__builder' +IL_0006: ldarg.1 +IL_0007: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetStateMachine(class [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine) +IL_000c: ret +} +} +.class auto ansi sealed nested private beforefieldinit 'd__8' +extends [System.Runtime]System.ValueType +implements [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine +{ +.interfaceimpl type [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine +.field public int32 '<>1__state' +.field public valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder '<>t__builder' +.field private valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter '<>u__1' +.method private hidebysig newslot virtual final +instance void MoveNext() cil managed +{ +.override [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext +.maxstack 3 +.locals init (int32 V_0, +int32 V_1, +valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter V_2, +valuetype [System.Runtime]System.Threading.Tasks.ValueTask V_3, +valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable V_4, +class [System.Runtime]System.Exception V_5) +IL_0000: ldarg.0 +IL_0001: ldfld int32 CatchAndFinally/'d__8'::'<>1__state' +IL_0006: stloc.0 +.try +{ +IL_0007: ldloc.0 +IL_0008: brfalse.s IL_0062 +IL_000a: ldc.i4.0 +IL_000b: stloc.1 +.try +{ +IL_000c: newobj instance void [System.Runtime]System.NotImplementedException::.ctor() +IL_0011: throw +} // end .try +catch [System.Runtime]System.Object +{ +IL_0012: pop +IL_0013: ldc.i4.1 +IL_0014: stloc.1 +IL_0015: leave.s IL_0017 +} // end handler +IL_0017: ldloc.1 +IL_0018: ldc.i4.1 +IL_0019: bne.un.s IL_0085 +IL_001b: ldc.i4.1 +IL_001c: call class [System.Runtime]System.Threading.Tasks.Task [System.Runtime]System.Threading.Tasks.Task::Delay(int32) +IL_0021: newobj instance void [System.Runtime]System.Threading.Tasks.ValueTask::.ctor(class [System.Runtime]System.Threading.Tasks.Task) +IL_0026: stloc.3 +IL_0027: ldloca.s V_3 +IL_0029: ldc.i4.0 +IL_002a: call instance valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable [System.Runtime]System.Threading.Tasks.ValueTask::ConfigureAwait(bool) +IL_002f: stloc.s V_4 +IL_0031: ldloca.s V_4 +IL_0033: call instance valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter [System.Runtime]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable::GetAwaiter() +IL_0038: stloc.2 +IL_0039: ldloca.s V_2 +IL_003b: call instance bool [System.Runtime]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter::get_IsCompleted() +IL_0040: brtrue.s IL_007e +IL_0042: ldarg.0 +IL_0043: ldc.i4.0 +IL_0044: dup +IL_0045: stloc.0 +IL_0046: stfld int32 CatchAndFinally/'d__8'::'<>1__state' +IL_004b: ldarg.0 +IL_004c: ldloc.2 +IL_004d: stfld valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter CatchAndFinally/'d__8'::'<>u__1' +IL_0052: ldarg.0 +IL_0053: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__8'::'<>t__builder' +IL_0058: ldloca.s V_2 +IL_005a: ldarg.0 +IL_005b: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::AwaitUnsafeOnCompletedd__8'>(!!0&, +!!1&) +IL_0060: leave.s IL_00b3 +IL_0062: ldarg.0 +IL_0063: ldfld valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter CatchAndFinally/'d__8'::'<>u__1' +IL_0068: stloc.2 +IL_0069: ldarg.0 +IL_006a: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter CatchAndFinally/'d__8'::'<>u__1' +IL_006f: initobj [System.Runtime]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter +IL_0075: ldarg.0 +IL_0076: ldc.i4.m1 +IL_0077: dup +IL_0078: stloc.0 +IL_0079: stfld int32 CatchAndFinally/'d__8'::'<>1__state' +IL_007e: ldloca.s V_2 +IL_0080: call instance void [System.Runtime]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter::GetResult() +IL_0085: leave.s IL_00a0 +} // end .try +catch [System.Runtime]System.Exception +{ +IL_0087: stloc.s V_5 +IL_0089: ldarg.0 +IL_008a: ldc.i4.s -2 +IL_008c: stfld int32 CatchAndFinally/'d__8'::'<>1__state' +IL_0091: ldarg.0 +IL_0092: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__8'::'<>t__builder' +IL_0097: ldloc.s V_5 +IL_0099: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetException(class [System.Runtime]System.Exception) +IL_009e: leave.s IL_00b3 +} // end handler +IL_00a0: ldarg.0 +IL_00a1: ldc.i4.s -2 +IL_00a3: stfld int32 CatchAndFinally/'d__8'::'<>1__state' +IL_00a8: ldarg.0 +IL_00a9: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__8'::'<>t__builder' +IL_00ae: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetResult() +IL_00b3: ret +} +.method private hidebysig newslot virtual final +instance void SetStateMachine(class [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed +{ +.override [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine +.maxstack 8 +IL_0000: ldarg.0 +IL_0001: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__8'::'<>t__builder' +IL_0006: ldarg.1 +IL_0007: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetStateMachine(class [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine) +IL_000c: ret +} +} +.class auto ansi sealed nested private beforefieldinit 'd__3' +extends [System.Runtime]System.ValueType +implements [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine +{ +.interfaceimpl type [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine +.field public int32 '<>1__state' +.field public valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder '<>t__builder' +.field private object '<>7__wrap1' +.field private int32 '<>7__wrap2' +.field private valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter '<>u__1' +.method private hidebysig newslot virtual final +instance void MoveNext() cil managed +{ +.override [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext +.maxstack 3 +.locals init (int32 V_0, +object V_1, +valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter V_2, +class [System.Runtime]System.Exception V_3) +IL_0000: ldarg.0 +IL_0001: ldfld int32 CatchAndFinally/'d__3'::'<>1__state' +IL_0006: stloc.0 +.try +{ +IL_0007: ldloc.0 +IL_0008: brfalse.s IL_005d +IL_000a: ldarg.0 +IL_000b: ldnull +IL_000c: stfld object CatchAndFinally/'d__3'::'<>7__wrap1' +IL_0011: ldarg.0 +IL_0012: ldc.i4.0 +IL_0013: stfld int32 CatchAndFinally/'d__3'::'<>7__wrap2' +.try +{ +IL_0018: newobj instance void [System.Runtime]System.NotImplementedException::.ctor() +IL_001d: throw +} // end .try +catch [System.Runtime]System.Object +{ +IL_001e: stloc.1 +IL_001f: ldarg.0 +IL_0020: ldloc.1 +IL_0021: stfld object CatchAndFinally/'d__3'::'<>7__wrap1' +IL_0026: leave.s IL_0028 +} // end handler +IL_0028: ldc.i4.1 +IL_0029: call class [System.Runtime]System.Threading.Tasks.Task [System.Runtime]System.Threading.Tasks.Task::Delay(int32) +IL_002e: callvirt instance valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter [System.Runtime]System.Threading.Tasks.Task::GetAwaiter() +IL_0033: stloc.2 +IL_0034: ldloca.s V_2 +IL_0036: call instance bool [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter::get_IsCompleted() +IL_003b: brtrue.s IL_0079 +IL_003d: ldarg.0 +IL_003e: ldc.i4.0 +IL_003f: dup +IL_0040: stloc.0 +IL_0041: stfld int32 CatchAndFinally/'d__3'::'<>1__state' +IL_0046: ldarg.0 +IL_0047: ldloc.2 +IL_0048: stfld valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter CatchAndFinally/'d__3'::'<>u__1' +IL_004d: ldarg.0 +IL_004e: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__3'::'<>t__builder' +IL_0053: ldloca.s V_2 +IL_0055: ldarg.0 +IL_0056: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::AwaitUnsafeOnCompletedd__3'>(!!0&, +!!1&) +IL_005b: leave.s IL_00bf +IL_005d: ldarg.0 +IL_005e: ldfld valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter CatchAndFinally/'d__3'::'<>u__1' +IL_0063: stloc.2 +IL_0064: ldarg.0 +IL_0065: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter CatchAndFinally/'d__3'::'<>u__1' +IL_006a: initobj [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter +IL_0070: ldarg.0 +IL_0071: ldc.i4.m1 +IL_0072: dup +IL_0073: stloc.0 +IL_0074: stfld int32 CatchAndFinally/'d__3'::'<>1__state' +IL_0079: ldloca.s V_2 +IL_007b: call instance void [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter::GetResult() +IL_0080: ldarg.0 +IL_0081: ldfld object CatchAndFinally/'d__3'::'<>7__wrap1' +IL_0086: stloc.1 +IL_0087: ldloc.1 +IL_0088: brfalse.s IL_009f +IL_008a: ldloc.1 +IL_008b: isinst [System.Runtime]System.Exception +IL_0090: dup +IL_0091: brtrue.s IL_0095 +IL_0093: ldloc.1 +IL_0094: throw +IL_0095: call class [System.Runtime]System.Runtime.ExceptionServices.ExceptionDispatchInfo [System.Runtime]System.Runtime.ExceptionServices.ExceptionDispatchInfo::Capture(class [System.Runtime]System.Exception) +IL_009a: callvirt instance void [System.Runtime]System.Runtime.ExceptionServices.ExceptionDispatchInfo::Throw() +IL_009f: ldarg.0 +IL_00a0: ldnull +IL_00a1: stfld object CatchAndFinally/'d__3'::'<>7__wrap1' +IL_00a6: ldnull +IL_00a7: throw +} // end .try +catch [System.Runtime]System.Exception +{ +IL_00a8: stloc.3 +IL_00a9: ldarg.0 +IL_00aa: ldc.i4.s -2 +IL_00ac: stfld int32 CatchAndFinally/'d__3'::'<>1__state' +IL_00b1: ldarg.0 +IL_00b2: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__3'::'<>t__builder' +IL_00b7: ldloc.3 +IL_00b8: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetException(class [System.Runtime]System.Exception) +IL_00bd: leave.s IL_00bf +} // end handler +IL_00bf: ret +} +.method private hidebysig newslot virtual final +instance void SetStateMachine(class [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed +{ +.override [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine +.maxstack 8 +IL_0000: ldarg.0 +IL_0001: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__3'::'<>t__builder' +IL_0006: ldarg.1 +IL_0007: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetStateMachine(class [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine) +IL_000c: ret +} +} +.class auto ansi sealed nested private beforefieldinit 'd__9' +extends [System.Runtime]System.ValueType +implements [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine +{ +.interfaceimpl type [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine +.field public int32 '<>1__state' +.field public valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder '<>t__builder' +.field private object '<>7__wrap1' +.field private int32 '<>7__wrap2' +.field private valuetype [System.Runtime]System.Runtime.CompilerServices.ValueTaskAwaiter '<>u__1' +.method private hidebysig newslot virtual final +instance void MoveNext() cil managed +{ +.override [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext +.maxstack 3 +.locals init (int32 V_0, +object V_1, +valuetype [System.Runtime]System.Runtime.CompilerServices.ValueTaskAwaiter V_2, +valuetype [System.Runtime]System.Threading.Tasks.ValueTask V_3, +class [System.Runtime]System.Exception V_4) +IL_0000: ldarg.0 +IL_0001: ldfld int32 CatchAndFinally/'d__9'::'<>1__state' +IL_0006: stloc.0 +.try +{ +IL_0007: ldloc.0 +IL_0008: brfalse.s IL_0065 +IL_000a: ldarg.0 +IL_000b: ldnull +IL_000c: stfld object CatchAndFinally/'d__9'::'<>7__wrap1' +IL_0011: ldarg.0 +IL_0012: ldc.i4.0 +IL_0013: stfld int32 CatchAndFinally/'d__9'::'<>7__wrap2' +.try +{ +IL_0018: newobj instance void [System.Runtime]System.NotImplementedException::.ctor() +IL_001d: throw +} // end .try +catch [System.Runtime]System.Object +{ +IL_001e: stloc.1 +IL_001f: ldarg.0 +IL_0020: ldloc.1 +IL_0021: stfld object CatchAndFinally/'d__9'::'<>7__wrap1' +IL_0026: leave.s IL_0028 +} // end handler +IL_0028: ldc.i4.1 +IL_0029: call class [System.Runtime]System.Threading.Tasks.Task [System.Runtime]System.Threading.Tasks.Task::Delay(int32) +IL_002e: newobj instance void [System.Runtime]System.Threading.Tasks.ValueTask::.ctor(class [System.Runtime]System.Threading.Tasks.Task) +IL_0033: stloc.3 +IL_0034: ldloca.s V_3 +IL_0036: call instance valuetype [System.Runtime]System.Runtime.CompilerServices.ValueTaskAwaiter [System.Runtime]System.Threading.Tasks.ValueTask::GetAwaiter() +IL_003b: stloc.2 +IL_003c: ldloca.s V_2 +IL_003e: call instance bool [System.Runtime]System.Runtime.CompilerServices.ValueTaskAwaiter::get_IsCompleted() +IL_0043: brtrue.s IL_0081 +IL_0045: ldarg.0 +IL_0046: ldc.i4.0 +IL_0047: dup +IL_0048: stloc.0 +IL_0049: stfld int32 CatchAndFinally/'d__9'::'<>1__state' +IL_004e: ldarg.0 +IL_004f: ldloc.2 +IL_0050: stfld valuetype [System.Runtime]System.Runtime.CompilerServices.ValueTaskAwaiter CatchAndFinally/'d__9'::'<>u__1' +IL_0055: ldarg.0 +IL_0056: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__9'::'<>t__builder' +IL_005b: ldloca.s V_2 +IL_005d: ldarg.0 +IL_005e: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::AwaitUnsafeOnCompletedd__9'>(!!0&, +!!1&) +IL_0063: leave.s IL_00c9 +IL_0065: ldarg.0 +IL_0066: ldfld valuetype [System.Runtime]System.Runtime.CompilerServices.ValueTaskAwaiter CatchAndFinally/'d__9'::'<>u__1' +IL_006b: stloc.2 +IL_006c: ldarg.0 +IL_006d: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.ValueTaskAwaiter CatchAndFinally/'d__9'::'<>u__1' +IL_0072: initobj [System.Runtime]System.Runtime.CompilerServices.ValueTaskAwaiter +IL_0078: ldarg.0 +IL_0079: ldc.i4.m1 +IL_007a: dup +IL_007b: stloc.0 +IL_007c: stfld int32 CatchAndFinally/'d__9'::'<>1__state' +IL_0081: ldloca.s V_2 +IL_0083: call instance void [System.Runtime]System.Runtime.CompilerServices.ValueTaskAwaiter::GetResult() +IL_0088: ldarg.0 +IL_0089: ldfld object CatchAndFinally/'d__9'::'<>7__wrap1' +IL_008e: stloc.1 +IL_008f: ldloc.1 +IL_0090: brfalse.s IL_00a7 +IL_0092: ldloc.1 +IL_0093: isinst [System.Runtime]System.Exception +IL_0098: dup +IL_0099: brtrue.s IL_009d +IL_009b: ldloc.1 +IL_009c: throw +IL_009d: call class [System.Runtime]System.Runtime.ExceptionServices.ExceptionDispatchInfo [System.Runtime]System.Runtime.ExceptionServices.ExceptionDispatchInfo::Capture(class [System.Runtime]System.Exception) +IL_00a2: callvirt instance void [System.Runtime]System.Runtime.ExceptionServices.ExceptionDispatchInfo::Throw() +IL_00a7: ldarg.0 +IL_00a8: ldnull +IL_00a9: stfld object CatchAndFinally/'d__9'::'<>7__wrap1' +IL_00ae: ldnull +IL_00af: throw +} // end .try +catch [System.Runtime]System.Exception +{ +IL_00b0: stloc.s V_4 +IL_00b2: ldarg.0 +IL_00b3: ldc.i4.s -2 +IL_00b5: stfld int32 CatchAndFinally/'d__9'::'<>1__state' +IL_00ba: ldarg.0 +IL_00bb: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__9'::'<>t__builder' +IL_00c0: ldloc.s V_4 +IL_00c2: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetException(class [System.Runtime]System.Exception) +IL_00c7: leave.s IL_00c9 +} // end handler +IL_00c9: ret +} +.method private hidebysig newslot virtual final +instance void SetStateMachine(class [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed +{ +.override [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine +.maxstack 8 +IL_0000: ldarg.0 +IL_0001: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__9'::'<>t__builder' +IL_0006: ldarg.1 +IL_0007: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetStateMachine(class [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine) +IL_000c: ret +} +} +.class auto ansi sealed nested private beforefieldinit 'd__4' +extends [System.Runtime]System.ValueType +implements [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine +{ +.interfaceimpl type [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine +.field public int32 '<>1__state' +.field public valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder '<>t__builder' +.field private object '<>7__wrap1' +.field private int32 '<>7__wrap2' +.field private valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter '<>u__1' +.method private hidebysig newslot virtual final +instance void MoveNext() cil managed +{ +.override [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext +.maxstack 3 +.locals init (int32 V_0, +object V_1, +valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter V_2, +valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable V_3, +class [System.Runtime]System.Exception V_4) +IL_0000: ldarg.0 +IL_0001: ldfld int32 CatchAndFinally/'d__4'::'<>1__state' +IL_0006: stloc.0 +.try +{ +IL_0007: ldloc.0 +IL_0008: brfalse.s IL_0066 +IL_000a: ldarg.0 +IL_000b: ldnull +IL_000c: stfld object CatchAndFinally/'d__4'::'<>7__wrap1' +IL_0011: ldarg.0 +IL_0012: ldc.i4.0 +IL_0013: stfld int32 CatchAndFinally/'d__4'::'<>7__wrap2' +.try +{ +IL_0018: newobj instance void [System.Runtime]System.NotImplementedException::.ctor() +IL_001d: throw +} // end .try +catch [System.Runtime]System.Object +{ +IL_001e: stloc.1 +IL_001f: ldarg.0 +IL_0020: ldloc.1 +IL_0021: stfld object CatchAndFinally/'d__4'::'<>7__wrap1' +IL_0026: leave.s IL_0028 +} // end handler +IL_0028: ldc.i4.1 +IL_0029: call class [System.Runtime]System.Threading.Tasks.Task [System.Runtime]System.Threading.Tasks.Task::Delay(int32) +IL_002e: ldc.i4.0 +IL_002f: callvirt instance valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable [System.Private.CoreLib]System.Threading.Tasks.Task::ConfigureAwait(bool) +IL_0034: stloc.3 +IL_0035: ldloca.s V_3 +IL_0037: call instance valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable::GetAwaiter() +IL_003c: stloc.2 +IL_003d: ldloca.s V_2 +IL_003f: call instance bool [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter::get_IsCompleted() +IL_0044: brtrue.s IL_0082 +IL_0046: ldarg.0 +IL_0047: ldc.i4.0 +IL_0048: dup +IL_0049: stloc.0 +IL_004a: stfld int32 CatchAndFinally/'d__4'::'<>1__state' +IL_004f: ldarg.0 +IL_0050: ldloc.2 +IL_0051: stfld valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter CatchAndFinally/'d__4'::'<>u__1' +IL_0056: ldarg.0 +IL_0057: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__4'::'<>t__builder' +IL_005c: ldloca.s V_2 +IL_005e: ldarg.0 +IL_005f: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::AwaitUnsafeOnCompletedd__4'>(!!0&, +!!1&) +IL_0064: leave.s IL_00ca +IL_0066: ldarg.0 +IL_0067: ldfld valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter CatchAndFinally/'d__4'::'<>u__1' +IL_006c: stloc.2 +IL_006d: ldarg.0 +IL_006e: ldflda valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter CatchAndFinally/'d__4'::'<>u__1' +IL_0073: initobj [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter +IL_0079: ldarg.0 +IL_007a: ldc.i4.m1 +IL_007b: dup +IL_007c: stloc.0 +IL_007d: stfld int32 CatchAndFinally/'d__4'::'<>1__state' +IL_0082: ldloca.s V_2 +IL_0084: call instance void [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter::GetResult() +IL_0089: ldarg.0 +IL_008a: ldfld object CatchAndFinally/'d__4'::'<>7__wrap1' +IL_008f: stloc.1 +IL_0090: ldloc.1 +IL_0091: brfalse.s IL_00a8 +IL_0093: ldloc.1 +IL_0094: isinst [System.Runtime]System.Exception +IL_0099: dup +IL_009a: brtrue.s IL_009e +IL_009c: ldloc.1 +IL_009d: throw +IL_009e: call class [System.Runtime]System.Runtime.ExceptionServices.ExceptionDispatchInfo [System.Runtime]System.Runtime.ExceptionServices.ExceptionDispatchInfo::Capture(class [System.Runtime]System.Exception) +IL_00a3: callvirt instance void [System.Runtime]System.Runtime.ExceptionServices.ExceptionDispatchInfo::Throw() +IL_00a8: ldarg.0 +IL_00a9: ldnull +IL_00aa: stfld object CatchAndFinally/'d__4'::'<>7__wrap1' +IL_00af: ldnull +IL_00b0: throw +} // end .try +catch [System.Runtime]System.Exception +{ +IL_00b1: stloc.s V_4 +IL_00b3: ldarg.0 +IL_00b4: ldc.i4.s -2 +IL_00b6: stfld int32 CatchAndFinally/'d__4'::'<>1__state' +IL_00bb: ldarg.0 +IL_00bc: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__4'::'<>t__builder' +IL_00c1: ldloc.s V_4 +IL_00c3: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetException(class [System.Runtime]System.Exception) +IL_00c8: leave.s IL_00ca +} // end handler +IL_00ca: ret +} +.method private hidebysig newslot virtual final +instance void SetStateMachine(class [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed +{ +.override [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine +.maxstack 8 +IL_0000: ldarg.0 +IL_0001: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__4'::'<>t__builder' +IL_0006: ldarg.1 +IL_0007: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetStateMachine(class [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine) +IL_000c: ret +} +} +.class auto ansi sealed nested private beforefieldinit 'd__10' +extends [System.Runtime]System.ValueType +implements [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine +{ +.interfaceimpl type [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine +.field public int32 '<>1__state' +.field public valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder '<>t__builder' +.field private object '<>7__wrap1' +.field private int32 '<>7__wrap2' +.field private valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter '<>u__1' +.method private hidebysig newslot virtual final +instance void MoveNext() cil managed +{ +.override [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext +.maxstack 3 +.locals init (int32 V_0, +object V_1, +valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter V_2, +valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable V_3, +valuetype [System.Runtime]System.Threading.Tasks.ValueTask V_4, +class [System.Runtime]System.Exception V_5) +IL_0000: ldarg.0 +IL_0001: ldfld int32 CatchAndFinally/'d__10'::'<>1__state' +IL_0006: stloc.0 +.try +{ +IL_0007: ldloc.0 +IL_0008: brfalse.s IL_006f +IL_000a: ldarg.0 +IL_000b: ldnull +IL_000c: stfld object CatchAndFinally/'d__10'::'<>7__wrap1' +IL_0011: ldarg.0 +IL_0012: ldc.i4.0 +IL_0013: stfld int32 CatchAndFinally/'d__10'::'<>7__wrap2' +.try +{ +IL_0018: newobj instance void [System.Runtime]System.NotImplementedException::.ctor() +IL_001d: throw +} // end .try +catch [System.Runtime]System.Object +{ +IL_001e: stloc.1 +IL_001f: ldarg.0 +IL_0020: ldloc.1 +IL_0021: stfld object CatchAndFinally/'d__10'::'<>7__wrap1' +IL_0026: leave.s IL_0028 +} // end handler +IL_0028: ldc.i4.1 +IL_0029: call class [System.Runtime]System.Threading.Tasks.Task [System.Runtime]System.Threading.Tasks.Task::Delay(int32) +IL_002e: newobj instance void [System.Runtime]System.Threading.Tasks.ValueTask::.ctor(class [System.Runtime]System.Threading.Tasks.Task) +IL_0033: stloc.s V_4 +IL_0035: ldloca.s V_4 +IL_0037: ldc.i4.0 +IL_0038: callvirt instance valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable [System.Private.CoreLib]System.Threading.Tasks.ValueTask::ConfigureAwait(bool) +IL_003d: stloc.3 +IL_003e: ldloca.s V_3 +IL_0040: call instance valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable::GetAwaiter() +IL_0045: stloc.2 +IL_0046: ldloca.s V_2 +IL_0048: call instance bool [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter::get_IsCompleted() +IL_004d: brtrue.s IL_008b +IL_004f: ldarg.0 +IL_0050: ldc.i4.0 +IL_0051: dup +IL_0052: stloc.0 +IL_0053: stfld int32 CatchAndFinally/'d__10'::'<>1__state' +IL_0058: ldarg.0 +IL_0059: ldloc.2 +IL_005a: stfld valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter CatchAndFinally/'d__10'::'<>u__1' +IL_005f: ldarg.0 +IL_0060: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__10'::'<>t__builder' +IL_0065: ldloca.s V_2 +IL_0067: ldarg.0 +IL_0068: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::AwaitUnsafeOnCompletedd__10'>(!!0&, +!!1&) +IL_006d: leave.s IL_00d3 +IL_006f: ldarg.0 +IL_0070: ldfld valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter CatchAndFinally/'d__10'::'<>u__1' +IL_0075: stloc.2 +IL_0076: ldarg.0 +IL_0077: ldflda valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter CatchAndFinally/'d__10'::'<>u__1' +IL_007c: initobj [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter +IL_0082: ldarg.0 +IL_0083: ldc.i4.m1 +IL_0084: dup +IL_0085: stloc.0 +IL_0086: stfld int32 CatchAndFinally/'d__10'::'<>1__state' +IL_008b: ldloca.s V_2 +IL_008d: call instance void [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter::GetResult() +IL_0092: ldarg.0 +IL_0093: ldfld object CatchAndFinally/'d__10'::'<>7__wrap1' +IL_0098: stloc.1 +IL_0099: ldloc.1 +IL_009a: brfalse.s IL_00b1 +IL_009c: ldloc.1 +IL_009d: isinst [System.Runtime]System.Exception +IL_00a2: dup +IL_00a3: brtrue.s IL_00a7 +IL_00a5: ldloc.1 +IL_00a6: throw +IL_00a7: call class [System.Runtime]System.Runtime.ExceptionServices.ExceptionDispatchInfo [System.Runtime]System.Runtime.ExceptionServices.ExceptionDispatchInfo::Capture(class [System.Runtime]System.Exception) +IL_00ac: callvirt instance void [System.Runtime]System.Runtime.ExceptionServices.ExceptionDispatchInfo::Throw() +IL_00b1: ldarg.0 +IL_00b2: ldnull +IL_00b3: stfld object CatchAndFinally/'d__10'::'<>7__wrap1' +IL_00b8: ldnull +IL_00b9: throw +} // end .try +catch [System.Runtime]System.Exception +{ +IL_00ba: stloc.s V_5 +IL_00bc: ldarg.0 +IL_00bd: ldc.i4.s -2 +IL_00bf: stfld int32 CatchAndFinally/'d__10'::'<>1__state' +IL_00c4: ldarg.0 +IL_00c5: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__10'::'<>t__builder' +IL_00ca: ldloc.s V_5 +IL_00cc: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetException(class [System.Runtime]System.Exception) +IL_00d1: leave.s IL_00d3 +} // end handler +IL_00d3: ret +} +.method private hidebysig newslot virtual final +instance void SetStateMachine(class [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed +{ +.override [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine +.maxstack 8 +IL_0000: ldarg.0 +IL_0001: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__10'::'<>t__builder' +IL_0006: ldarg.1 +IL_0007: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetStateMachine(class [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine) +IL_000c: ret +} +} +.class auto ansi sealed nested private beforefieldinit 'd__5' +extends [System.Runtime]System.ValueType +implements [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine +{ +.interfaceimpl type [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine +.field public int32 '<>1__state' +.field public valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder '<>t__builder' +.field private object '<>7__wrap1' +.field private int32 '<>7__wrap2' +.field private valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter '<>u__1' +.method private hidebysig newslot virtual final +instance void MoveNext() cil managed +{ +.override [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext +.maxstack 3 +.locals init (int32 V_0, +object V_1, +valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter V_2, +valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable V_3, +class [System.Runtime]System.Exception V_4) +IL_0000: ldarg.0 +IL_0001: ldfld int32 CatchAndFinally/'d__5'::'<>1__state' +IL_0006: stloc.0 +.try +{ +IL_0007: ldloc.0 +IL_0008: brfalse.s IL_0066 +IL_000a: ldarg.0 +IL_000b: ldnull +IL_000c: stfld object CatchAndFinally/'d__5'::'<>7__wrap1' +IL_0011: ldarg.0 +IL_0012: ldc.i4.0 +IL_0013: stfld int32 CatchAndFinally/'d__5'::'<>7__wrap2' +.try +{ +IL_0018: newobj instance void [System.Runtime]System.NotImplementedException::.ctor() +IL_001d: throw +} // end .try +catch [System.Runtime]System.Object +{ +IL_001e: stloc.1 +IL_001f: ldarg.0 +IL_0020: ldloc.1 +IL_0021: stfld object CatchAndFinally/'d__5'::'<>7__wrap1' +IL_0026: leave.s IL_0028 +} // end handler +IL_0028: ldc.i4.1 +IL_0029: call class [System.Runtime]System.Threading.Tasks.Task [System.Runtime]System.Threading.Tasks.Task::Delay(int32) +IL_002e: ldc.i4.0 +IL_002f: callvirt instance valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable [System.Runtime]System.Threading.Tasks.Task::ConfigureAwait(bool) +IL_0034: stloc.3 +IL_0035: ldloca.s V_3 +IL_0037: call instance valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable::GetAwaiter() +IL_003c: stloc.2 +IL_003d: ldloca.s V_2 +IL_003f: call instance bool [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter::get_IsCompleted() +IL_0044: brtrue.s IL_0082 +IL_0046: ldarg.0 +IL_0047: ldc.i4.0 +IL_0048: dup +IL_0049: stloc.0 +IL_004a: stfld int32 CatchAndFinally/'d__5'::'<>1__state' +IL_004f: ldarg.0 +IL_0050: ldloc.2 +IL_0051: stfld valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter CatchAndFinally/'d__5'::'<>u__1' +IL_0056: ldarg.0 +IL_0057: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__5'::'<>t__builder' +IL_005c: ldloca.s V_2 +IL_005e: ldarg.0 +IL_005f: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::AwaitUnsafeOnCompletedd__5'>(!!0&, +!!1&) +IL_0064: leave.s IL_00ca +IL_0066: ldarg.0 +IL_0067: ldfld valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter CatchAndFinally/'d__5'::'<>u__1' +IL_006c: stloc.2 +IL_006d: ldarg.0 +IL_006e: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter CatchAndFinally/'d__5'::'<>u__1' +IL_0073: initobj [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter +IL_0079: ldarg.0 +IL_007a: ldc.i4.m1 +IL_007b: dup +IL_007c: stloc.0 +IL_007d: stfld int32 CatchAndFinally/'d__5'::'<>1__state' +IL_0082: ldloca.s V_2 +IL_0084: call instance void [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter::GetResult() +IL_0089: ldarg.0 +IL_008a: ldfld object CatchAndFinally/'d__5'::'<>7__wrap1' +IL_008f: stloc.1 +IL_0090: ldloc.1 +IL_0091: brfalse.s IL_00a8 +IL_0093: ldloc.1 +IL_0094: isinst [System.Runtime]System.Exception +IL_0099: dup +IL_009a: brtrue.s IL_009e +IL_009c: ldloc.1 +IL_009d: throw +IL_009e: call class [System.Runtime]System.Runtime.ExceptionServices.ExceptionDispatchInfo [System.Runtime]System.Runtime.ExceptionServices.ExceptionDispatchInfo::Capture(class [System.Runtime]System.Exception) +IL_00a3: callvirt instance void [System.Runtime]System.Runtime.ExceptionServices.ExceptionDispatchInfo::Throw() +IL_00a8: ldarg.0 +IL_00a9: ldnull +IL_00aa: stfld object CatchAndFinally/'d__5'::'<>7__wrap1' +IL_00af: ldnull +IL_00b0: throw +} // end .try +catch [System.Runtime]System.Exception +{ +IL_00b1: stloc.s V_4 +IL_00b3: ldarg.0 +IL_00b4: ldc.i4.s -2 +IL_00b6: stfld int32 CatchAndFinally/'d__5'::'<>1__state' +IL_00bb: ldarg.0 +IL_00bc: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__5'::'<>t__builder' +IL_00c1: ldloc.s V_4 +IL_00c3: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetException(class [System.Runtime]System.Exception) +IL_00c8: leave.s IL_00ca +} // end handler +IL_00ca: ret +} +.method private hidebysig newslot virtual final +instance void SetStateMachine(class [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed +{ +.override [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine +.maxstack 8 +IL_0000: ldarg.0 +IL_0001: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__5'::'<>t__builder' +IL_0006: ldarg.1 +IL_0007: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetStateMachine(class [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine) +IL_000c: ret +} +} +.class auto ansi sealed nested private beforefieldinit 'd__11' +extends [System.Runtime]System.ValueType +implements [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine +{ +.interfaceimpl type [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine +.field public int32 '<>1__state' +.field public valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder '<>t__builder' +.field private object '<>7__wrap1' +.field private int32 '<>7__wrap2' +.field private valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter '<>u__1' +.method private hidebysig newslot virtual final +instance void MoveNext() cil managed +{ +.override [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext +.maxstack 3 +.locals init (int32 V_0, +object V_1, +valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter V_2, +valuetype [System.Runtime]System.Threading.Tasks.ValueTask V_3, +valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable V_4, +class [System.Runtime]System.Exception V_5) +IL_0000: ldarg.0 +IL_0001: ldfld int32 CatchAndFinally/'d__11'::'<>1__state' +IL_0006: stloc.0 +.try +{ +IL_0007: ldloc.0 +IL_0008: brfalse.s IL_006f +IL_000a: ldarg.0 +IL_000b: ldnull +IL_000c: stfld object CatchAndFinally/'d__11'::'<>7__wrap1' +IL_0011: ldarg.0 +IL_0012: ldc.i4.0 +IL_0013: stfld int32 CatchAndFinally/'d__11'::'<>7__wrap2' +.try +{ +IL_0018: newobj instance void [System.Runtime]System.NotImplementedException::.ctor() +IL_001d: throw +} // end .try +catch [System.Runtime]System.Object +{ +IL_001e: stloc.1 +IL_001f: ldarg.0 +IL_0020: ldloc.1 +IL_0021: stfld object CatchAndFinally/'d__11'::'<>7__wrap1' +IL_0026: leave.s IL_0028 +} // end handler +IL_0028: ldc.i4.1 +IL_0029: call class [System.Runtime]System.Threading.Tasks.Task [System.Runtime]System.Threading.Tasks.Task::Delay(int32) +IL_002e: newobj instance void [System.Runtime]System.Threading.Tasks.ValueTask::.ctor(class [System.Runtime]System.Threading.Tasks.Task) +IL_0033: stloc.3 +IL_0034: ldloca.s V_3 +IL_0036: ldc.i4.0 +IL_0037: call instance valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable [System.Runtime]System.Threading.Tasks.ValueTask::ConfigureAwait(bool) +IL_003c: stloc.s V_4 +IL_003e: ldloca.s V_4 +IL_0040: call instance valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter [System.Runtime]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable::GetAwaiter() +IL_0045: stloc.2 +IL_0046: ldloca.s V_2 +IL_0048: call instance bool [System.Runtime]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter::get_IsCompleted() +IL_004d: brtrue.s IL_008b +IL_004f: ldarg.0 +IL_0050: ldc.i4.0 +IL_0051: dup +IL_0052: stloc.0 +IL_0053: stfld int32 CatchAndFinally/'d__11'::'<>1__state' +IL_0058: ldarg.0 +IL_0059: ldloc.2 +IL_005a: stfld valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter CatchAndFinally/'d__11'::'<>u__1' +IL_005f: ldarg.0 +IL_0060: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__11'::'<>t__builder' +IL_0065: ldloca.s V_2 +IL_0067: ldarg.0 +IL_0068: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::AwaitUnsafeOnCompletedd__11'>(!!0&, +!!1&) +IL_006d: leave.s IL_00d3 +IL_006f: ldarg.0 +IL_0070: ldfld valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter CatchAndFinally/'d__11'::'<>u__1' +IL_0075: stloc.2 +IL_0076: ldarg.0 +IL_0077: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter CatchAndFinally/'d__11'::'<>u__1' +IL_007c: initobj [System.Runtime]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter +IL_0082: ldarg.0 +IL_0083: ldc.i4.m1 +IL_0084: dup +IL_0085: stloc.0 +IL_0086: stfld int32 CatchAndFinally/'d__11'::'<>1__state' +IL_008b: ldloca.s V_2 +IL_008d: call instance void [System.Runtime]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter::GetResult() +IL_0092: ldarg.0 +IL_0093: ldfld object CatchAndFinally/'d__11'::'<>7__wrap1' +IL_0098: stloc.1 +IL_0099: ldloc.1 +IL_009a: brfalse.s IL_00b1 +IL_009c: ldloc.1 +IL_009d: isinst [System.Runtime]System.Exception +IL_00a2: dup +IL_00a3: brtrue.s IL_00a7 +IL_00a5: ldloc.1 +IL_00a6: throw +IL_00a7: call class [System.Runtime]System.Runtime.ExceptionServices.ExceptionDispatchInfo [System.Runtime]System.Runtime.ExceptionServices.ExceptionDispatchInfo::Capture(class [System.Runtime]System.Exception) +IL_00ac: callvirt instance void [System.Runtime]System.Runtime.ExceptionServices.ExceptionDispatchInfo::Throw() +IL_00b1: ldarg.0 +IL_00b2: ldnull +IL_00b3: stfld object CatchAndFinally/'d__11'::'<>7__wrap1' +IL_00b8: ldnull +IL_00b9: throw +} // end .try +catch [System.Runtime]System.Exception +{ +IL_00ba: stloc.s V_5 +IL_00bc: ldarg.0 +IL_00bd: ldc.i4.s -2 +IL_00bf: stfld int32 CatchAndFinally/'d__11'::'<>1__state' +IL_00c4: ldarg.0 +IL_00c5: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__11'::'<>t__builder' +IL_00ca: ldloc.s V_5 +IL_00cc: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetException(class [System.Runtime]System.Exception) +IL_00d1: leave.s IL_00d3 +} // end handler +IL_00d3: ret +} +.method private hidebysig newslot virtual final +instance void SetStateMachine(class [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed +{ +.override [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine +.maxstack 8 +IL_0000: ldarg.0 +IL_0001: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__11'::'<>t__builder' +IL_0006: ldarg.1 +IL_0007: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetStateMachine(class [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine) +IL_000c: ret +} +} +.method public hidebysig instance class [System.Runtime]System.Threading.Tasks.Task +Catch1() cil managed +{ +6C 79 2B 3C 43 61 74 63 68 31 3E 64 5F 5F 30 00 // ly+d__0. +00 ) +.maxstack 2 +.locals init (valuetype CatchAndFinally/'d__0' V_0) +IL_0000: ldloca.s V_0 +IL_0002: call valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Create() +IL_0007: stfld valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__0'::'<>t__builder' +IL_000c: ldloca.s V_0 +IL_000e: ldc.i4.m1 +IL_000f: stfld int32 CatchAndFinally/'d__0'::'<>1__state' +IL_0014: ldloca.s V_0 +IL_0016: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__0'::'<>t__builder' +IL_001b: ldloca.s V_0 +IL_001d: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Startd__0'>(!!0&) +IL_0022: ldloca.s V_0 +IL_0024: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__0'::'<>t__builder' +IL_0029: call instance class [System.Runtime]System.Threading.Tasks.Task [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::get_Task() +IL_002e: ret +} +.method public hidebysig instance class [System.Runtime]System.Threading.Tasks.Task +Catch2() cil managed +{ +6C 79 2B 3C 43 61 74 63 68 32 3E 64 5F 5F 31 00 // ly+d__1. +00 ) +.maxstack 2 +.locals init (valuetype CatchAndFinally/'d__1' V_0) +IL_0000: ldloca.s V_0 +IL_0002: call valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Create() +IL_0007: stfld valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__1'::'<>t__builder' +IL_000c: ldloca.s V_0 +IL_000e: ldc.i4.m1 +IL_000f: stfld int32 CatchAndFinally/'d__1'::'<>1__state' +IL_0014: ldloca.s V_0 +IL_0016: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__1'::'<>t__builder' +IL_001b: ldloca.s V_0 +IL_001d: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Startd__1'>(!!0&) +IL_0022: ldloca.s V_0 +IL_0024: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__1'::'<>t__builder' +IL_0029: call instance class [System.Runtime]System.Threading.Tasks.Task [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::get_Task() +IL_002e: ret +} +.method public hidebysig instance class [System.Runtime]System.Threading.Tasks.Task +Catch3() cil managed +{ +6C 79 2B 3C 43 61 74 63 68 33 3E 64 5F 5F 32 00 // ly+d__2. +00 ) +.maxstack 2 +.locals init (valuetype CatchAndFinally/'d__2' V_0) +IL_0000: ldloca.s V_0 +IL_0002: call valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Create() +IL_0007: stfld valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__2'::'<>t__builder' +IL_000c: ldloca.s V_0 +IL_000e: ldc.i4.m1 +IL_000f: stfld int32 CatchAndFinally/'d__2'::'<>1__state' +IL_0014: ldloca.s V_0 +IL_0016: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__2'::'<>t__builder' +IL_001b: ldloca.s V_0 +IL_001d: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Startd__2'>(!!0&) +IL_0022: ldloca.s V_0 +IL_0024: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__2'::'<>t__builder' +IL_0029: call instance class [System.Runtime]System.Threading.Tasks.Task [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::get_Task() +IL_002e: ret +} +.method public hidebysig instance class [System.Runtime]System.Threading.Tasks.Task +Finally1() cil managed +{ +6C 79 2B 3C 46 69 6E 61 6C 6C 79 31 3E 64 5F 5F // ly+d__ +33 00 00 ) // 3.. +.maxstack 2 +.locals init (valuetype CatchAndFinally/'d__3' V_0) +IL_0000: ldloca.s V_0 +IL_0002: call valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Create() +IL_0007: stfld valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__3'::'<>t__builder' +IL_000c: ldloca.s V_0 +IL_000e: ldc.i4.m1 +IL_000f: stfld int32 CatchAndFinally/'d__3'::'<>1__state' +IL_0014: ldloca.s V_0 +IL_0016: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__3'::'<>t__builder' +IL_001b: ldloca.s V_0 +IL_001d: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Startd__3'>(!!0&) +IL_0022: ldloca.s V_0 +IL_0024: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__3'::'<>t__builder' +IL_0029: call instance class [System.Runtime]System.Threading.Tasks.Task [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::get_Task() +IL_002e: ret +} +.method public hidebysig instance class [System.Runtime]System.Threading.Tasks.Task +Finally2() cil managed +{ +6C 79 2B 3C 46 69 6E 61 6C 6C 79 32 3E 64 5F 5F // ly+d__ +34 00 00 ) // 4.. +.maxstack 2 +.locals init (valuetype CatchAndFinally/'d__4' V_0) +IL_0000: ldloca.s V_0 +IL_0002: call valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Create() +IL_0007: stfld valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__4'::'<>t__builder' +IL_000c: ldloca.s V_0 +IL_000e: ldc.i4.m1 +IL_000f: stfld int32 CatchAndFinally/'d__4'::'<>1__state' +IL_0014: ldloca.s V_0 +IL_0016: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__4'::'<>t__builder' +IL_001b: ldloca.s V_0 +IL_001d: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Startd__4'>(!!0&) +IL_0022: ldloca.s V_0 +IL_0024: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__4'::'<>t__builder' +IL_0029: call instance class [System.Runtime]System.Threading.Tasks.Task [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::get_Task() +IL_002e: ret +} +.method public hidebysig instance class [System.Runtime]System.Threading.Tasks.Task +Finally3() cil managed +{ +6C 79 2B 3C 46 69 6E 61 6C 6C 79 33 3E 64 5F 5F // ly+d__ +35 00 00 ) // 5.. +.maxstack 2 +.locals init (valuetype CatchAndFinally/'d__5' V_0) +IL_0000: ldloca.s V_0 +IL_0002: call valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Create() +IL_0007: stfld valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__5'::'<>t__builder' +IL_000c: ldloca.s V_0 +IL_000e: ldc.i4.m1 +IL_000f: stfld int32 CatchAndFinally/'d__5'::'<>1__state' +IL_0014: ldloca.s V_0 +IL_0016: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__5'::'<>t__builder' +IL_001b: ldloca.s V_0 +IL_001d: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Startd__5'>(!!0&) +IL_0022: ldloca.s V_0 +IL_0024: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__5'::'<>t__builder' +IL_0029: call instance class [System.Runtime]System.Threading.Tasks.Task [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::get_Task() +IL_002e: ret +} +.method public hidebysig instance class [System.Runtime]System.Threading.Tasks.Task +Catch1_WithValueTask() cil managed +{ +6C 79 2B 3C 43 61 74 63 68 31 5F 57 69 74 68 56 // ly+d__6.. +.maxstack 2 +.locals init (valuetype CatchAndFinally/'d__6' V_0) +IL_0000: ldloca.s V_0 +IL_0002: call valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Create() +IL_0007: stfld valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__6'::'<>t__builder' +IL_000c: ldloca.s V_0 +IL_000e: ldc.i4.m1 +IL_000f: stfld int32 CatchAndFinally/'d__6'::'<>1__state' +IL_0014: ldloca.s V_0 +IL_0016: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__6'::'<>t__builder' +IL_001b: ldloca.s V_0 +IL_001d: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Startd__6'>(!!0&) +IL_0022: ldloca.s V_0 +IL_0024: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__6'::'<>t__builder' +IL_0029: call instance class [System.Runtime]System.Threading.Tasks.Task [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::get_Task() +IL_002e: ret +} +.method public hidebysig instance class [System.Runtime]System.Threading.Tasks.Task +Catch2_WithValueTask() cil managed +{ +6C 79 2B 3C 43 61 74 63 68 32 5F 57 69 74 68 56 // ly+d__7.. +.maxstack 2 +.locals init (valuetype CatchAndFinally/'d__7' V_0) +IL_0000: ldloca.s V_0 +IL_0002: call valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Create() +IL_0007: stfld valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__7'::'<>t__builder' +IL_000c: ldloca.s V_0 +IL_000e: ldc.i4.m1 +IL_000f: stfld int32 CatchAndFinally/'d__7'::'<>1__state' +IL_0014: ldloca.s V_0 +IL_0016: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__7'::'<>t__builder' +IL_001b: ldloca.s V_0 +IL_001d: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Startd__7'>(!!0&) +IL_0022: ldloca.s V_0 +IL_0024: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__7'::'<>t__builder' +IL_0029: call instance class [System.Runtime]System.Threading.Tasks.Task [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::get_Task() +IL_002e: ret +} +.method public hidebysig instance class [System.Runtime]System.Threading.Tasks.Task +Catch3_WithValueTask() cil managed +{ +6C 79 2B 3C 43 61 74 63 68 33 5F 57 69 74 68 56 // ly+d__8.. +.maxstack 2 +.locals init (valuetype CatchAndFinally/'d__8' V_0) +IL_0000: ldloca.s V_0 +IL_0002: call valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Create() +IL_0007: stfld valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__8'::'<>t__builder' +IL_000c: ldloca.s V_0 +IL_000e: ldc.i4.m1 +IL_000f: stfld int32 CatchAndFinally/'d__8'::'<>1__state' +IL_0014: ldloca.s V_0 +IL_0016: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__8'::'<>t__builder' +IL_001b: ldloca.s V_0 +IL_001d: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Startd__8'>(!!0&) +IL_0022: ldloca.s V_0 +IL_0024: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__8'::'<>t__builder' +IL_0029: call instance class [System.Runtime]System.Threading.Tasks.Task [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::get_Task() +IL_002e: ret +} +.method public hidebysig instance class [System.Runtime]System.Threading.Tasks.Task +Finally1_WithValueTask() cil managed +{ +6C 79 2B 3C 46 69 6E 61 6C 6C 79 31 5F 57 69 74 // ly+d__9. +00 ) +.maxstack 2 +.locals init (valuetype CatchAndFinally/'d__9' V_0) +IL_0000: ldloca.s V_0 +IL_0002: call valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Create() +IL_0007: stfld valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__9'::'<>t__builder' +IL_000c: ldloca.s V_0 +IL_000e: ldc.i4.m1 +IL_000f: stfld int32 CatchAndFinally/'d__9'::'<>1__state' +IL_0014: ldloca.s V_0 +IL_0016: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__9'::'<>t__builder' +IL_001b: ldloca.s V_0 +IL_001d: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Startd__9'>(!!0&) +IL_0022: ldloca.s V_0 +IL_0024: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__9'::'<>t__builder' +IL_0029: call instance class [System.Runtime]System.Threading.Tasks.Task [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::get_Task() +IL_002e: ret +} +.method public hidebysig instance class [System.Runtime]System.Threading.Tasks.Task +Finally2_WithValueTask() cil managed +{ +6C 79 2B 3C 46 69 6E 61 6C 6C 79 32 5F 57 69 74 // ly+d__10 +00 00 ) +.maxstack 2 +.locals init (valuetype CatchAndFinally/'d__10' V_0) +IL_0000: ldloca.s V_0 +IL_0002: call valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Create() +IL_0007: stfld valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__10'::'<>t__builder' +IL_000c: ldloca.s V_0 +IL_000e: ldc.i4.m1 +IL_000f: stfld int32 CatchAndFinally/'d__10'::'<>1__state' +IL_0014: ldloca.s V_0 +IL_0016: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__10'::'<>t__builder' +IL_001b: ldloca.s V_0 +IL_001d: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Startd__10'>(!!0&) +IL_0022: ldloca.s V_0 +IL_0024: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__10'::'<>t__builder' +IL_0029: call instance class [System.Runtime]System.Threading.Tasks.Task [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::get_Task() +IL_002e: ret +} +.method public hidebysig instance class [System.Runtime]System.Threading.Tasks.Task +Finally3_WithValueTask() cil managed +{ +6C 79 2B 3C 46 69 6E 61 6C 6C 79 33 5F 57 69 74 // ly+d__11 +00 00 ) +.maxstack 2 +.locals init (valuetype CatchAndFinally/'d__11' V_0) +IL_0000: ldloca.s V_0 +IL_0002: call valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Create() +IL_0007: stfld valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__11'::'<>t__builder' +IL_000c: ldloca.s V_0 +IL_000e: ldc.i4.m1 +IL_000f: stfld int32 CatchAndFinally/'d__11'::'<>1__state' +IL_0014: ldloca.s V_0 +IL_0016: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__11'::'<>t__builder' +IL_001b: ldloca.s V_0 +IL_001d: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Startd__11'>(!!0&) +IL_0022: ldloca.s V_0 +IL_0024: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__11'::'<>t__builder' +IL_0029: call instance class [System.Runtime]System.Threading.Tasks.Task [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::get_Task() +IL_002e: ret +} +.method public hidebysig specialname rtspecialname +instance void .ctor() cil managed +{ +.maxstack 8 +IL_0000: ldarg.0 +IL_0001: call instance void [System.Runtime]System.Object::.ctor() +IL_0006: ret +} +} diff --git a/Tests/ModuleWeaverTests.DecompileCatchAndFinally.Release.DotNet11_0.verified.txt b/Tests/ModuleWeaverTests.DecompileCatchAndFinally.Release.DotNet11_0.verified.txt new file mode 100644 index 0000000..ae6c8c4 --- /dev/null +++ b/Tests/ModuleWeaverTests.DecompileCatchAndFinally.Release.DotNet11_0.verified.txt @@ -0,0 +1,406 @@ +.class public auto ansi beforefieldinit CatchAndFinally +extends [System.Runtime]System.Object +{ +.method public hidebysig instance class [System.Runtime]System.Threading.Tasks.Task +Catch1() cil managed +{ +.maxstack 2 +.locals init (int32 V_0) +IL_0000: ldc.i4.0 +IL_0001: stloc.0 +.try +{ +IL_0002: newobj instance void [System.Runtime]System.NotImplementedException::.ctor() +IL_0007: throw +} // end .try +catch [System.Runtime]System.Object +{ +IL_0008: pop +IL_0009: ldc.i4.1 +IL_000a: stloc.0 +IL_000b: leave.s IL_000d +} // end handler +IL_000d: ldloc.0 +IL_000e: ldc.i4.1 +IL_000f: bne.un.s IL_001c +IL_0011: ldc.i4.1 +IL_0012: call class [System.Runtime]System.Threading.Tasks.Task [System.Runtime]System.Threading.Tasks.Task::Delay(int32) +IL_0017: call void [System.Runtime]System.Runtime.CompilerServices.AsyncHelpers::Await(class [System.Runtime]System.Threading.Tasks.Task) +IL_001c: ret +} +.method public hidebysig instance class [System.Runtime]System.Threading.Tasks.Task +Catch2() cil managed +{ +.maxstack 2 +.locals init (int32 V_0) +IL_0000: ldc.i4.0 +IL_0001: stloc.0 +.try +{ +IL_0002: newobj instance void [System.Runtime]System.NotImplementedException::.ctor() +IL_0007: throw +} // end .try +catch [System.Runtime]System.Object +{ +IL_0008: pop +IL_0009: ldc.i4.1 +IL_000a: stloc.0 +IL_000b: leave.s IL_000d +} // end handler +IL_000d: ldloc.0 +IL_000e: ldc.i4.1 +IL_000f: bne.un.s IL_0022 +IL_0011: ldc.i4.1 +IL_0012: call class [System.Runtime]System.Threading.Tasks.Task [System.Runtime]System.Threading.Tasks.Task::Delay(int32) +IL_0017: ldc.i4.0 +IL_0018: callvirt instance valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable [System.Private.CoreLib]System.Threading.Tasks.Task::ConfigureAwait(bool) +IL_001d: call void [System.Private.CoreLib]System.Runtime.CompilerServices.AsyncHelpers::Await(valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable) +IL_0022: ret +} +.method public hidebysig instance class [System.Runtime]System.Threading.Tasks.Task +Catch3() cil managed +{ +.maxstack 2 +.locals init (int32 V_0) +IL_0000: ldc.i4.0 +IL_0001: stloc.0 +.try +{ +IL_0002: newobj instance void [System.Runtime]System.NotImplementedException::.ctor() +IL_0007: throw +} // end .try +catch [System.Runtime]System.Object +{ +IL_0008: pop +IL_0009: ldc.i4.1 +IL_000a: stloc.0 +IL_000b: leave.s IL_000d +} // end handler +IL_000d: ldloc.0 +IL_000e: ldc.i4.1 +IL_000f: bne.un.s IL_0022 +IL_0011: ldc.i4.1 +IL_0012: call class [System.Runtime]System.Threading.Tasks.Task [System.Runtime]System.Threading.Tasks.Task::Delay(int32) +IL_0017: ldc.i4.0 +IL_0018: callvirt instance valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable [System.Runtime]System.Threading.Tasks.Task::ConfigureAwait(bool) +IL_001d: call void [System.Runtime]System.Runtime.CompilerServices.AsyncHelpers::Await(valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable) +IL_0022: ret +} +.method public hidebysig instance class [System.Runtime]System.Threading.Tasks.Task +Finally1() cil managed +{ +.maxstack 2 +.locals init (object V_0) +IL_0000: ldnull +IL_0001: stloc.0 +.try +{ +IL_0002: newobj instance void [System.Runtime]System.NotImplementedException::.ctor() +IL_0007: throw +} // end .try +catch [System.Runtime]System.Object +{ +IL_0008: stloc.0 +IL_0009: leave.s IL_000b +} // end handler +IL_000b: ldc.i4.1 +IL_000c: call class [System.Runtime]System.Threading.Tasks.Task [System.Runtime]System.Threading.Tasks.Task::Delay(int32) +IL_0011: call void [System.Runtime]System.Runtime.CompilerServices.AsyncHelpers::Await(class [System.Runtime]System.Threading.Tasks.Task) +IL_0016: ldloc.0 +IL_0017: brfalse.s IL_002e +IL_0019: ldloc.0 +IL_001a: isinst [System.Runtime]System.Exception +IL_001f: dup +IL_0020: brtrue.s IL_0024 +IL_0022: ldloc.0 +IL_0023: throw +IL_0024: call class [System.Runtime]System.Runtime.ExceptionServices.ExceptionDispatchInfo [System.Runtime]System.Runtime.ExceptionServices.ExceptionDispatchInfo::Capture(class [System.Runtime]System.Exception) +IL_0029: callvirt instance void [System.Runtime]System.Runtime.ExceptionServices.ExceptionDispatchInfo::Throw() +IL_002e: ldnull +IL_002f: throw +} +.method public hidebysig instance class [System.Runtime]System.Threading.Tasks.Task +Finally2() cil managed +{ +.maxstack 2 +.locals init (object V_0) +IL_0000: ldnull +IL_0001: stloc.0 +.try +{ +IL_0002: newobj instance void [System.Runtime]System.NotImplementedException::.ctor() +IL_0007: throw +} // end .try +catch [System.Runtime]System.Object +{ +IL_0008: stloc.0 +IL_0009: leave.s IL_000b +} // end handler +IL_000b: ldc.i4.1 +IL_000c: call class [System.Runtime]System.Threading.Tasks.Task [System.Runtime]System.Threading.Tasks.Task::Delay(int32) +IL_0011: ldc.i4.0 +IL_0012: callvirt instance valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable [System.Private.CoreLib]System.Threading.Tasks.Task::ConfigureAwait(bool) +IL_0017: call void [System.Private.CoreLib]System.Runtime.CompilerServices.AsyncHelpers::Await(valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable) +IL_001c: ldloc.0 +IL_001d: brfalse.s IL_0034 +IL_001f: ldloc.0 +IL_0020: isinst [System.Runtime]System.Exception +IL_0025: dup +IL_0026: brtrue.s IL_002a +IL_0028: ldloc.0 +IL_0029: throw +IL_002a: call class [System.Runtime]System.Runtime.ExceptionServices.ExceptionDispatchInfo [System.Runtime]System.Runtime.ExceptionServices.ExceptionDispatchInfo::Capture(class [System.Runtime]System.Exception) +IL_002f: callvirt instance void [System.Runtime]System.Runtime.ExceptionServices.ExceptionDispatchInfo::Throw() +IL_0034: ldnull +IL_0035: throw +} +.method public hidebysig instance class [System.Runtime]System.Threading.Tasks.Task +Finally3() cil managed +{ +.maxstack 2 +.locals init (object V_0) +IL_0000: ldnull +IL_0001: stloc.0 +.try +{ +IL_0002: newobj instance void [System.Runtime]System.NotImplementedException::.ctor() +IL_0007: throw +} // end .try +catch [System.Runtime]System.Object +{ +IL_0008: stloc.0 +IL_0009: leave.s IL_000b +} // end handler +IL_000b: ldc.i4.1 +IL_000c: call class [System.Runtime]System.Threading.Tasks.Task [System.Runtime]System.Threading.Tasks.Task::Delay(int32) +IL_0011: ldc.i4.0 +IL_0012: callvirt instance valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable [System.Runtime]System.Threading.Tasks.Task::ConfigureAwait(bool) +IL_0017: call void [System.Runtime]System.Runtime.CompilerServices.AsyncHelpers::Await(valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable) +IL_001c: ldloc.0 +IL_001d: brfalse.s IL_0034 +IL_001f: ldloc.0 +IL_0020: isinst [System.Runtime]System.Exception +IL_0025: dup +IL_0026: brtrue.s IL_002a +IL_0028: ldloc.0 +IL_0029: throw +IL_002a: call class [System.Runtime]System.Runtime.ExceptionServices.ExceptionDispatchInfo [System.Runtime]System.Runtime.ExceptionServices.ExceptionDispatchInfo::Capture(class [System.Runtime]System.Exception) +IL_002f: callvirt instance void [System.Runtime]System.Runtime.ExceptionServices.ExceptionDispatchInfo::Throw() +IL_0034: ldnull +IL_0035: throw +} +.method public hidebysig instance class [System.Runtime]System.Threading.Tasks.Task +Catch1_WithValueTask() cil managed +{ +.maxstack 2 +.locals init (int32 V_0) +IL_0000: ldc.i4.0 +IL_0001: stloc.0 +.try +{ +IL_0002: newobj instance void [System.Runtime]System.NotImplementedException::.ctor() +IL_0007: throw +} // end .try +catch [System.Runtime]System.Object +{ +IL_0008: pop +IL_0009: ldc.i4.1 +IL_000a: stloc.0 +IL_000b: leave.s IL_000d +} // end handler +IL_000d: ldloc.0 +IL_000e: ldc.i4.1 +IL_000f: bne.un.s IL_0021 +IL_0011: ldc.i4.1 +IL_0012: call class [System.Runtime]System.Threading.Tasks.Task [System.Runtime]System.Threading.Tasks.Task::Delay(int32) +IL_0017: newobj instance void [System.Runtime]System.Threading.Tasks.ValueTask::.ctor(class [System.Runtime]System.Threading.Tasks.Task) +IL_001c: call void [System.Runtime]System.Runtime.CompilerServices.AsyncHelpers::Await(valuetype [System.Runtime]System.Threading.Tasks.ValueTask) +IL_0021: ret +} +.method public hidebysig instance class [System.Runtime]System.Threading.Tasks.Task +Catch2_WithValueTask() cil managed +{ +.maxstack 2 +.locals init (int32 V_0, +valuetype [System.Private.CoreLib]System.Threading.Tasks.ValueTask V_1) +IL_0000: ldc.i4.0 +IL_0001: stloc.0 +.try +{ +IL_0002: newobj instance void [System.Runtime]System.NotImplementedException::.ctor() +IL_0007: throw +} // end .try +catch [System.Runtime]System.Object +{ +IL_0008: pop +IL_0009: ldc.i4.1 +IL_000a: stloc.0 +IL_000b: leave.s IL_000d +} // end handler +IL_000d: ldloc.0 +IL_000e: ldc.i4.1 +IL_000f: bne.un.s IL_002a +IL_0011: ldc.i4.1 +IL_0012: call class [System.Runtime]System.Threading.Tasks.Task [System.Runtime]System.Threading.Tasks.Task::Delay(int32) +IL_0017: newobj instance void [System.Runtime]System.Threading.Tasks.ValueTask::.ctor(class [System.Runtime]System.Threading.Tasks.Task) +IL_001c: stloc.1 +IL_001d: ldloca.s V_1 +IL_001f: ldc.i4.0 +IL_0020: call instance valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable [System.Private.CoreLib]System.Threading.Tasks.ValueTask::ConfigureAwait(bool) +IL_0025: call void [System.Private.CoreLib]System.Runtime.CompilerServices.AsyncHelpers::Await(valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable) +IL_002a: ret +} +.method public hidebysig instance class [System.Runtime]System.Threading.Tasks.Task +Catch3_WithValueTask() cil managed +{ +.maxstack 2 +.locals init (int32 V_0, +valuetype [System.Runtime]System.Threading.Tasks.ValueTask V_1) +IL_0000: ldc.i4.0 +IL_0001: stloc.0 +.try +{ +IL_0002: newobj instance void [System.Runtime]System.NotImplementedException::.ctor() +IL_0007: throw +} // end .try +catch [System.Runtime]System.Object +{ +IL_0008: pop +IL_0009: ldc.i4.1 +IL_000a: stloc.0 +IL_000b: leave.s IL_000d +} // end handler +IL_000d: ldloc.0 +IL_000e: ldc.i4.1 +IL_000f: bne.un.s IL_002a +IL_0011: ldc.i4.1 +IL_0012: call class [System.Runtime]System.Threading.Tasks.Task [System.Runtime]System.Threading.Tasks.Task::Delay(int32) +IL_0017: newobj instance void [System.Runtime]System.Threading.Tasks.ValueTask::.ctor(class [System.Runtime]System.Threading.Tasks.Task) +IL_001c: stloc.1 +IL_001d: ldloca.s V_1 +IL_001f: ldc.i4.0 +IL_0020: call instance valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable [System.Runtime]System.Threading.Tasks.ValueTask::ConfigureAwait(bool) +IL_0025: call void [System.Runtime]System.Runtime.CompilerServices.AsyncHelpers::Await(valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable) +IL_002a: ret +} +.method public hidebysig instance class [System.Runtime]System.Threading.Tasks.Task +Finally1_WithValueTask() cil managed +{ +.maxstack 2 +.locals init (object V_0) +IL_0000: ldnull +IL_0001: stloc.0 +.try +{ +IL_0002: newobj instance void [System.Runtime]System.NotImplementedException::.ctor() +IL_0007: throw +} // end .try +catch [System.Runtime]System.Object +{ +IL_0008: stloc.0 +IL_0009: leave.s IL_000b +} // end handler +IL_000b: ldc.i4.1 +IL_000c: call class [System.Runtime]System.Threading.Tasks.Task [System.Runtime]System.Threading.Tasks.Task::Delay(int32) +IL_0011: newobj instance void [System.Runtime]System.Threading.Tasks.ValueTask::.ctor(class [System.Runtime]System.Threading.Tasks.Task) +IL_0016: call void [System.Runtime]System.Runtime.CompilerServices.AsyncHelpers::Await(valuetype [System.Runtime]System.Threading.Tasks.ValueTask) +IL_001b: ldloc.0 +IL_001c: brfalse.s IL_0033 +IL_001e: ldloc.0 +IL_001f: isinst [System.Runtime]System.Exception +IL_0024: dup +IL_0025: brtrue.s IL_0029 +IL_0027: ldloc.0 +IL_0028: throw +IL_0029: call class [System.Runtime]System.Runtime.ExceptionServices.ExceptionDispatchInfo [System.Runtime]System.Runtime.ExceptionServices.ExceptionDispatchInfo::Capture(class [System.Runtime]System.Exception) +IL_002e: callvirt instance void [System.Runtime]System.Runtime.ExceptionServices.ExceptionDispatchInfo::Throw() +IL_0033: ldnull +IL_0034: throw +} +.method public hidebysig instance class [System.Runtime]System.Threading.Tasks.Task +Finally2_WithValueTask() cil managed +{ +.maxstack 2 +.locals init (object V_0, +valuetype [System.Private.CoreLib]System.Threading.Tasks.ValueTask V_1) +IL_0000: ldnull +IL_0001: stloc.0 +.try +{ +IL_0002: newobj instance void [System.Runtime]System.NotImplementedException::.ctor() +IL_0007: throw +} // end .try +catch [System.Runtime]System.Object +{ +IL_0008: stloc.0 +IL_0009: leave.s IL_000b +} // end handler +IL_000b: ldc.i4.1 +IL_000c: call class [System.Runtime]System.Threading.Tasks.Task [System.Runtime]System.Threading.Tasks.Task::Delay(int32) +IL_0011: newobj instance void [System.Runtime]System.Threading.Tasks.ValueTask::.ctor(class [System.Runtime]System.Threading.Tasks.Task) +IL_0016: stloc.1 +IL_0017: ldloca.s V_1 +IL_0019: ldc.i4.0 +IL_001a: call instance valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable [System.Private.CoreLib]System.Threading.Tasks.ValueTask::ConfigureAwait(bool) +IL_001f: call void [System.Private.CoreLib]System.Runtime.CompilerServices.AsyncHelpers::Await(valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable) +IL_0024: ldloc.0 +IL_0025: brfalse.s IL_003c +IL_0027: ldloc.0 +IL_0028: isinst [System.Runtime]System.Exception +IL_002d: dup +IL_002e: brtrue.s IL_0032 +IL_0030: ldloc.0 +IL_0031: throw +IL_0032: call class [System.Runtime]System.Runtime.ExceptionServices.ExceptionDispatchInfo [System.Runtime]System.Runtime.ExceptionServices.ExceptionDispatchInfo::Capture(class [System.Runtime]System.Exception) +IL_0037: callvirt instance void [System.Runtime]System.Runtime.ExceptionServices.ExceptionDispatchInfo::Throw() +IL_003c: ldnull +IL_003d: throw +} +.method public hidebysig instance class [System.Runtime]System.Threading.Tasks.Task +Finally3_WithValueTask() cil managed +{ +.maxstack 2 +.locals init (object V_0, +valuetype [System.Runtime]System.Threading.Tasks.ValueTask V_1) +IL_0000: ldnull +IL_0001: stloc.0 +.try +{ +IL_0002: newobj instance void [System.Runtime]System.NotImplementedException::.ctor() +IL_0007: throw +} // end .try +catch [System.Runtime]System.Object +{ +IL_0008: stloc.0 +IL_0009: leave.s IL_000b +} // end handler +IL_000b: ldc.i4.1 +IL_000c: call class [System.Runtime]System.Threading.Tasks.Task [System.Runtime]System.Threading.Tasks.Task::Delay(int32) +IL_0011: newobj instance void [System.Runtime]System.Threading.Tasks.ValueTask::.ctor(class [System.Runtime]System.Threading.Tasks.Task) +IL_0016: stloc.1 +IL_0017: ldloca.s V_1 +IL_0019: ldc.i4.0 +IL_001a: call instance valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable [System.Runtime]System.Threading.Tasks.ValueTask::ConfigureAwait(bool) +IL_001f: call void [System.Runtime]System.Runtime.CompilerServices.AsyncHelpers::Await(valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable) +IL_0024: ldloc.0 +IL_0025: brfalse.s IL_003c +IL_0027: ldloc.0 +IL_0028: isinst [System.Runtime]System.Exception +IL_002d: dup +IL_002e: brtrue.s IL_0032 +IL_0030: ldloc.0 +IL_0031: throw +IL_0032: call class [System.Runtime]System.Runtime.ExceptionServices.ExceptionDispatchInfo [System.Runtime]System.Runtime.ExceptionServices.ExceptionDispatchInfo::Capture(class [System.Runtime]System.Exception) +IL_0037: callvirt instance void [System.Runtime]System.Runtime.ExceptionServices.ExceptionDispatchInfo::Throw() +IL_003c: ldnull +IL_003d: throw +} +.method public hidebysig specialname rtspecialname +instance void .ctor() cil managed +{ +.maxstack 8 +IL_0000: ldarg.0 +IL_0001: call instance void [System.Runtime]System.Object::.ctor() +IL_0006: ret +} +} diff --git a/Tests/ModuleWeaverTests.DecompileCatchAndFinally.Release.Net.verified.txt b/Tests/ModuleWeaverTests.DecompileCatchAndFinally.Release.Net4_7.verified.txt similarity index 93% rename from Tests/ModuleWeaverTests.DecompileCatchAndFinally.Release.Net.verified.txt rename to Tests/ModuleWeaverTests.DecompileCatchAndFinally.Release.Net4_7.verified.txt index 273566c..a545daa 100644 --- a/Tests/ModuleWeaverTests.DecompileCatchAndFinally.Release.Net.verified.txt +++ b/Tests/ModuleWeaverTests.DecompileCatchAndFinally.Release.Net4_7.verified.txt @@ -420,7 +420,7 @@ IL_0053: ldloca.s V_2 IL_0055: ldarg.0 IL_0056: call instance void [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::AwaitUnsafeOnCompletedd__3'>(!!0&, !!1&) -IL_005b: leave.s IL_00d2 +IL_005b: leave.s IL_00bf IL_005d: ldarg.0 IL_005e: ldfld valuetype [mscorlib]System.Runtime.CompilerServices.TaskAwaiter CatchAndFinally/'d__3'::'<>u__1' IL_0063: stloc.2 @@ -450,7 +450,8 @@ IL_009a: callvirt instance void [mscorlib]System.Runtime.ExceptionServices.Ex IL_009f: ldarg.0 IL_00a0: ldnull IL_00a1: stfld object CatchAndFinally/'d__3'::'<>7__wrap1' -IL_00a6: leave.s IL_00bf +IL_00a6: ldnull +IL_00a7: throw } // end .try catch [mscorlib]System.Exception { @@ -462,15 +463,9 @@ IL_00b1: ldarg.0 IL_00b2: ldflda valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__3'::'<>t__builder' IL_00b7: ldloc.3 IL_00b8: call instance void [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetException(class [mscorlib]System.Exception) -IL_00bd: leave.s IL_00d2 +IL_00bd: leave.s IL_00bf } // end handler -IL_00bf: ldarg.0 -IL_00c0: ldc.i4.s -2 -IL_00c2: stfld int32 CatchAndFinally/'d__3'::'<>1__state' -IL_00c7: ldarg.0 -IL_00c8: ldflda valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__3'::'<>t__builder' -IL_00cd: call instance void [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetResult() -IL_00d2: ret +IL_00bf: ret } .method private hidebysig newslot virtual final instance void SetStateMachine(class [mscorlib]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed @@ -514,7 +509,7 @@ IL_0006: stloc.0 .try { IL_0007: ldloc.0 -IL_0008: brfalse.s IL_0069 +IL_0008: brfalse.s IL_0066 IL_000a: ldarg.0 IL_000b: ldnull IL_000c: stfld object CatchAndFinally/'d__4'::'<>7__wrap1' @@ -544,7 +539,7 @@ IL_0037: call instance valuetype [mscorlib]System.Runtime.CompilerService IL_003c: stloc.2 IL_003d: ldloca.s V_2 IL_003f: call instance bool [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter::get_IsCompleted() -IL_0044: brtrue.s IL_0085 +IL_0044: brtrue.s IL_0082 IL_0046: ldarg.0 IL_0047: ldc.i4.0 IL_0048: dup @@ -559,57 +554,52 @@ IL_005c: ldloca.s V_2 IL_005e: ldarg.0 IL_005f: call instance void [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::AwaitUnsafeOnCompletedd__4'>(!!0&, !!1&) -IL_0064: leave IL_00e0 -IL_0069: ldarg.0 -IL_006a: ldfld valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter CatchAndFinally/'d__4'::'<>u__1' -IL_006f: stloc.2 -IL_0070: ldarg.0 -IL_0071: ldflda valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter CatchAndFinally/'d__4'::'<>u__1' -IL_0076: initobj [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter -IL_007c: ldarg.0 -IL_007d: ldc.i4.m1 -IL_007e: dup -IL_007f: stloc.0 -IL_0080: stfld int32 CatchAndFinally/'d__4'::'<>1__state' -IL_0085: ldloca.s V_2 -IL_0087: call instance void [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter::GetResult() -IL_008c: ldarg.0 -IL_008d: ldfld object CatchAndFinally/'d__4'::'<>7__wrap1' -IL_0092: stloc.1 +IL_0064: leave.s IL_00ca +IL_0066: ldarg.0 +IL_0067: ldfld valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter CatchAndFinally/'d__4'::'<>u__1' +IL_006c: stloc.2 +IL_006d: ldarg.0 +IL_006e: ldflda valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter CatchAndFinally/'d__4'::'<>u__1' +IL_0073: initobj [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter +IL_0079: ldarg.0 +IL_007a: ldc.i4.m1 +IL_007b: dup +IL_007c: stloc.0 +IL_007d: stfld int32 CatchAndFinally/'d__4'::'<>1__state' +IL_0082: ldloca.s V_2 +IL_0084: call instance void [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter::GetResult() +IL_0089: ldarg.0 +IL_008a: ldfld object CatchAndFinally/'d__4'::'<>7__wrap1' +IL_008f: stloc.1 +IL_0090: ldloc.1 +IL_0091: brfalse.s IL_00a8 IL_0093: ldloc.1 -IL_0094: brfalse.s IL_00ab -IL_0096: ldloc.1 -IL_0097: isinst [mscorlib]System.Exception -IL_009c: dup -IL_009d: brtrue.s IL_00a1 -IL_009f: ldloc.1 -IL_00a0: throw -IL_00a1: call class [mscorlib]System.Runtime.ExceptionServices.ExceptionDispatchInfo [mscorlib]System.Runtime.ExceptionServices.ExceptionDispatchInfo::Capture(class [mscorlib]System.Exception) -IL_00a6: callvirt instance void [mscorlib]System.Runtime.ExceptionServices.ExceptionDispatchInfo::Throw() -IL_00ab: ldarg.0 -IL_00ac: ldnull -IL_00ad: stfld object CatchAndFinally/'d__4'::'<>7__wrap1' -IL_00b2: leave.s IL_00cd +IL_0094: isinst [mscorlib]System.Exception +IL_0099: dup +IL_009a: brtrue.s IL_009e +IL_009c: ldloc.1 +IL_009d: throw +IL_009e: call class [mscorlib]System.Runtime.ExceptionServices.ExceptionDispatchInfo [mscorlib]System.Runtime.ExceptionServices.ExceptionDispatchInfo::Capture(class [mscorlib]System.Exception) +IL_00a3: callvirt instance void [mscorlib]System.Runtime.ExceptionServices.ExceptionDispatchInfo::Throw() +IL_00a8: ldarg.0 +IL_00a9: ldnull +IL_00aa: stfld object CatchAndFinally/'d__4'::'<>7__wrap1' +IL_00af: ldnull +IL_00b0: throw } // end .try catch [mscorlib]System.Exception { -IL_00b4: stloc.s V_4 -IL_00b6: ldarg.0 -IL_00b7: ldc.i4.s -2 -IL_00b9: stfld int32 CatchAndFinally/'d__4'::'<>1__state' -IL_00be: ldarg.0 -IL_00bf: ldflda valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__4'::'<>t__builder' -IL_00c4: ldloc.s V_4 -IL_00c6: call instance void [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetException(class [mscorlib]System.Exception) -IL_00cb: leave.s IL_00e0 +IL_00b1: stloc.s V_4 +IL_00b3: ldarg.0 +IL_00b4: ldc.i4.s -2 +IL_00b6: stfld int32 CatchAndFinally/'d__4'::'<>1__state' +IL_00bb: ldarg.0 +IL_00bc: ldflda valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__4'::'<>t__builder' +IL_00c1: ldloc.s V_4 +IL_00c3: call instance void [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetException(class [mscorlib]System.Exception) +IL_00c8: leave.s IL_00ca } // end handler -IL_00cd: ldarg.0 -IL_00ce: ldc.i4.s -2 -IL_00d0: stfld int32 CatchAndFinally/'d__4'::'<>1__state' -IL_00d5: ldarg.0 -IL_00d6: ldflda valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__4'::'<>t__builder' -IL_00db: call instance void [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetResult() -IL_00e0: ret +IL_00ca: ret } .method private hidebysig newslot virtual final instance void SetStateMachine(class [mscorlib]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed @@ -698,7 +688,7 @@ IL_005c: ldloca.s V_2 IL_005e: ldarg.0 IL_005f: call instance void [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::AwaitUnsafeOnCompletedd__5'>(!!0&, !!1&) -IL_0064: leave.s IL_00dd +IL_0064: leave.s IL_00ca IL_0066: ldarg.0 IL_0067: ldfld valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter CatchAndFinally/'d__5'::'<>u__1' IL_006c: stloc.2 @@ -728,7 +718,8 @@ IL_00a3: callvirt instance void [mscorlib]System.Runtime.ExceptionServices.Ex IL_00a8: ldarg.0 IL_00a9: ldnull IL_00aa: stfld object CatchAndFinally/'d__5'::'<>7__wrap1' -IL_00af: leave.s IL_00ca +IL_00af: ldnull +IL_00b0: throw } // end .try catch [mscorlib]System.Exception { @@ -740,15 +731,9 @@ IL_00bb: ldarg.0 IL_00bc: ldflda valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__5'::'<>t__builder' IL_00c1: ldloc.s V_4 IL_00c3: call instance void [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetException(class [mscorlib]System.Exception) -IL_00c8: leave.s IL_00dd +IL_00c8: leave.s IL_00ca } // end handler -IL_00ca: ldarg.0 -IL_00cb: ldc.i4.s -2 -IL_00cd: stfld int32 CatchAndFinally/'d__5'::'<>1__state' -IL_00d2: ldarg.0 -IL_00d3: ldflda valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder CatchAndFinally/'d__5'::'<>t__builder' -IL_00d8: call instance void [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetResult() -IL_00dd: ret +IL_00ca: ret } .method private hidebysig newslot virtual final instance void SetStateMachine(class [mscorlib]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed diff --git a/Tests/ModuleWeaverTests.DecompileExample.Core.Debug.verified.txt b/Tests/ModuleWeaverTests.DecompileExample.Core.Debug.verified.txt deleted file mode 100644 index 073ef5a..0000000 --- a/Tests/ModuleWeaverTests.DecompileExample.Core.Debug.verified.txt +++ /dev/null @@ -1,4621 +0,0 @@ -.class public auto ansi beforefieldinit Example -extends [System.Runtime]System.Object -{ -.custom instance void System.Runtime.CompilerServices.NullableContextAttribute::.ctor(uint8) = ( 01 00 01 00 00 ) -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.class auto ansi sealed nested private beforefieldinit 'd__9' -extends [System.Runtime]System.Object -implements [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine -{ -.interfaceimpl type [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field public int32 '<>1__state' -.field public valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 '<>t__builder' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field public class Example '<>4__this' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field private class Example '5__1' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field private class Example '<>s__2' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field private valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter`1 '<>u__1' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.method public hidebysig specialname rtspecialname -instance void .ctor() cil managed -{ -.maxstack 8 -IL_0000: ldarg.0 -IL_0001: call instance void [System.Runtime]System.Object::.ctor() -IL_0006: nop -IL_0007: ret -} -.method private hidebysig newslot virtual final -instance void MoveNext() cil managed -{ -.override [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext -.maxstack 3 -.locals init (int32 V_0, -class Example V_1, -valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter`1 V_2, -class Example/'d__9' V_3, -class [System.Runtime]System.Exception V_4) -IL_0000: ldarg.0 -IL_0001: ldfld int32 Example/'d__9'::'<>1__state' -IL_0006: stloc.0 -.try -{ -IL_0007: ldloc.0 -IL_0008: brfalse.s IL_000c -IL_000a: br.s IL_000e -IL_000c: br.s IL_004f -IL_000e: nop -IL_000f: newobj instance void Example::.ctor() -IL_0014: call class [System.Runtime]System.Threading.Tasks.Task`1 [System.Runtime]System.Threading.Tasks.Task::FromResult(!!0) -IL_0019: callvirt instance valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter`1 class [System.Runtime]System.Threading.Tasks.Task`1::GetAwaiter() -IL_001e: stloc.2 -IL_001f: ldloca.s V_2 -IL_0021: call instance bool valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter`1::get_IsCompleted() -IL_0026: brtrue.s IL_006b -IL_0028: ldarg.0 -IL_0029: ldc.i4.0 -IL_002a: dup -IL_002b: stloc.0 -IL_002c: stfld int32 Example/'d__9'::'<>1__state' -IL_0031: ldarg.0 -IL_0032: ldloc.2 -IL_0033: stfld valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter`1 Example/'d__9'::'<>u__1' -IL_0038: ldarg.0 -IL_0039: stloc.3 -IL_003a: ldarg.0 -IL_003b: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__9'::'<>t__builder' -IL_0040: ldloca.s V_2 -IL_0042: ldloca.s V_3 -IL_0044: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::AwaitUnsafeOnCompleted,class Example/'d__9'>(!!0&, -!!1&) -IL_0049: nop -IL_004a: leave IL_00d1 -IL_004f: ldarg.0 -IL_0050: ldfld valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter`1 Example/'d__9'::'<>u__1' -IL_0055: stloc.2 -IL_0056: ldarg.0 -IL_0057: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter`1 Example/'d__9'::'<>u__1' -IL_005c: initobj valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter`1 -IL_0062: ldarg.0 -IL_0063: ldc.i4.m1 -IL_0064: dup -IL_0065: stloc.0 -IL_0066: stfld int32 Example/'d__9'::'<>1__state' -IL_006b: ldarg.0 -IL_006c: ldloca.s V_2 -IL_006e: call instance !0 valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter`1::GetResult() -IL_0073: stfld class Example Example/'d__9'::'<>s__2' -IL_0078: ldarg.0 -IL_0079: ldarg.0 -IL_007a: ldfld class Example Example/'d__9'::'<>s__2' -IL_007f: stfld class Example Example/'d__9'::'5__1' -IL_0084: ldarg.0 -IL_0085: ldnull -IL_0086: stfld class Example Example/'d__9'::'<>s__2' -IL_008b: ldarg.0 -IL_008c: ldfld class Example Example/'d__9'::'5__1' -IL_0091: stloc.1 -IL_0092: leave.s IL_00b5 -} // end .try -catch [System.Runtime]System.Exception -{ -IL_0094: stloc.s V_4 -IL_0096: ldarg.0 -IL_0097: ldc.i4.s -2 -IL_0099: stfld int32 Example/'d__9'::'<>1__state' -IL_009e: ldarg.0 -IL_009f: ldnull -IL_00a0: stfld class Example Example/'d__9'::'5__1' -IL_00a5: ldarg.0 -IL_00a6: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__9'::'<>t__builder' -IL_00ab: ldloc.s V_4 -IL_00ad: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetException(class [System.Runtime]System.Exception) -IL_00b2: nop -IL_00b3: leave.s IL_00d1 -} // end handler -IL_00b5: ldarg.0 -IL_00b6: ldc.i4.s -2 -IL_00b8: stfld int32 Example/'d__9'::'<>1__state' -IL_00bd: ldarg.0 -IL_00be: ldnull -IL_00bf: stfld class Example Example/'d__9'::'5__1' -IL_00c4: ldarg.0 -IL_00c5: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__9'::'<>t__builder' -IL_00ca: ldloc.1 -IL_00cb: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetResult(!0) -IL_00d0: nop -IL_00d1: ret -} -.method private hidebysig newslot virtual final -instance void SetStateMachine(class [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed -{ -.param [1] -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.override [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine -.maxstack 8 -IL_0000: ret -} -} -.class auto ansi sealed nested private beforefieldinit 'd__21' -extends [System.Runtime]System.Object -implements [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine -{ -.interfaceimpl type [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field public int32 '<>1__state' -.field public valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 '<>t__builder' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field public class Example '<>4__this' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field private class Example '5__1' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field private class Example '<>s__2' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field private valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ValueTaskAwaiter`1 '<>u__1' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8[]) = ( 01 00 02 00 00 00 00 01 00 00 ) -.method public hidebysig specialname rtspecialname -instance void .ctor() cil managed -{ -.maxstack 8 -IL_0000: ldarg.0 -IL_0001: call instance void [System.Runtime]System.Object::.ctor() -IL_0006: nop -IL_0007: ret -} -.method private hidebysig newslot virtual final -instance void MoveNext() cil managed -{ -.override [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext -.maxstack 3 -.locals init (int32 V_0, -class Example V_1, -valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ValueTaskAwaiter`1 V_2, -valuetype [System.Threading.Tasks.Extensions]System.Threading.Tasks.ValueTask`1 V_3, -class Example/'d__21' V_4, -class [System.Runtime]System.Exception V_5) -IL_0000: ldarg.0 -IL_0001: ldfld int32 Example/'d__21'::'<>1__state' -IL_0006: stloc.0 -.try -{ -IL_0007: ldloc.0 -IL_0008: brfalse.s IL_000c -IL_000a: br.s IL_000e -IL_000c: br.s IL_0058 -IL_000e: nop -IL_000f: newobj instance void Example::.ctor() -IL_0014: call class [System.Runtime]System.Threading.Tasks.Task`1 [System.Runtime]System.Threading.Tasks.Task::FromResult(!!0) -IL_0019: newobj instance void valuetype [System.Threading.Tasks.Extensions]System.Threading.Tasks.ValueTask`1::.ctor(class [System.Runtime]System.Threading.Tasks.Task`1) -IL_001e: stloc.3 -IL_001f: ldloca.s V_3 -IL_0021: call instance valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ValueTaskAwaiter`1 valuetype [System.Threading.Tasks.Extensions]System.Threading.Tasks.ValueTask`1::GetAwaiter() -IL_0026: stloc.2 -IL_0027: ldloca.s V_2 -IL_0029: call instance bool valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ValueTaskAwaiter`1::get_IsCompleted() -IL_002e: brtrue.s IL_0074 -IL_0030: ldarg.0 -IL_0031: ldc.i4.0 -IL_0032: dup -IL_0033: stloc.0 -IL_0034: stfld int32 Example/'d__21'::'<>1__state' -IL_0039: ldarg.0 -IL_003a: ldloc.2 -IL_003b: stfld valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ValueTaskAwaiter`1 Example/'d__21'::'<>u__1' -IL_0040: ldarg.0 -IL_0041: stloc.s V_4 -IL_0043: ldarg.0 -IL_0044: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__21'::'<>t__builder' -IL_0049: ldloca.s V_2 -IL_004b: ldloca.s V_4 -IL_004d: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::AwaitUnsafeOnCompleted,class Example/'d__21'>(!!0&, -!!1&) -IL_0052: nop -IL_0053: leave IL_00da -IL_0058: ldarg.0 -IL_0059: ldfld valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ValueTaskAwaiter`1 Example/'d__21'::'<>u__1' -IL_005e: stloc.2 -IL_005f: ldarg.0 -IL_0060: ldflda valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ValueTaskAwaiter`1 Example/'d__21'::'<>u__1' -IL_0065: initobj valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ValueTaskAwaiter`1 -IL_006b: ldarg.0 -IL_006c: ldc.i4.m1 -IL_006d: dup -IL_006e: stloc.0 -IL_006f: stfld int32 Example/'d__21'::'<>1__state' -IL_0074: ldarg.0 -IL_0075: ldloca.s V_2 -IL_0077: call instance !0 valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ValueTaskAwaiter`1::GetResult() -IL_007c: stfld class Example Example/'d__21'::'<>s__2' -IL_0081: ldarg.0 -IL_0082: ldarg.0 -IL_0083: ldfld class Example Example/'d__21'::'<>s__2' -IL_0088: stfld class Example Example/'d__21'::'5__1' -IL_008d: ldarg.0 -IL_008e: ldnull -IL_008f: stfld class Example Example/'d__21'::'<>s__2' -IL_0094: ldarg.0 -IL_0095: ldfld class Example Example/'d__21'::'5__1' -IL_009a: stloc.1 -IL_009b: leave.s IL_00be -} // end .try -catch [System.Runtime]System.Exception -{ -IL_009d: stloc.s V_5 -IL_009f: ldarg.0 -IL_00a0: ldc.i4.s -2 -IL_00a2: stfld int32 Example/'d__21'::'<>1__state' -IL_00a7: ldarg.0 -IL_00a8: ldnull -IL_00a9: stfld class Example Example/'d__21'::'5__1' -IL_00ae: ldarg.0 -IL_00af: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__21'::'<>t__builder' -IL_00b4: ldloc.s V_5 -IL_00b6: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetException(class [System.Runtime]System.Exception) -IL_00bb: nop -IL_00bc: leave.s IL_00da -} // end handler -IL_00be: ldarg.0 -IL_00bf: ldc.i4.s -2 -IL_00c1: stfld int32 Example/'d__21'::'<>1__state' -IL_00c6: ldarg.0 -IL_00c7: ldnull -IL_00c8: stfld class Example Example/'d__21'::'5__1' -IL_00cd: ldarg.0 -IL_00ce: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__21'::'<>t__builder' -IL_00d3: ldloc.1 -IL_00d4: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetResult(!0) -IL_00d9: nop -IL_00da: ret -} -.method private hidebysig newslot virtual final -instance void SetStateMachine(class [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed -{ -.param [1] -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.override [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine -.maxstack 8 -IL_0000: ret -} -} -.class auto ansi sealed nested private beforefieldinit 'd__10' -extends [System.Runtime]System.Object -implements [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine -{ -.interfaceimpl type [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field public int32 '<>1__state' -.field public valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 '<>t__builder' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field public class Example '<>4__this' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field private class Example '5__1' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field private class Example '<>s__2' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field private valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter '<>u__1' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.method public hidebysig specialname rtspecialname -instance void .ctor() cil managed -{ -.maxstack 8 -IL_0000: ldarg.0 -IL_0001: call instance void [System.Runtime]System.Object::.ctor() -IL_0006: nop -IL_0007: ret -} -.method private hidebysig newslot virtual final -instance void MoveNext() cil managed -{ -.override [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext -.maxstack 3 -.locals init (int32 V_0, -class Example V_1, -valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter V_2, -valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1 V_3, -class Example/'d__10' V_4, -class [System.Runtime]System.Exception V_5) -IL_0000: ldarg.0 -IL_0001: ldfld int32 Example/'d__10'::'<>1__state' -IL_0006: stloc.0 -.try -{ -IL_0007: ldloc.0 -IL_0008: brfalse.s IL_000c -IL_000a: br.s IL_000e -IL_000c: br.s IL_0059 -IL_000e: nop -IL_000f: newobj instance void Example::.ctor() -IL_0014: call class [System.Runtime]System.Threading.Tasks.Task`1 [System.Runtime]System.Threading.Tasks.Task::FromResult(!!0) -IL_0019: ldc.i4.0 -IL_001a: callvirt instance valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1 class [System.Private.CoreLib]System.Threading.Tasks.Task`1::ConfigureAwait(bool) -IL_001f: stloc.3 -IL_0020: ldloca.s V_3 -IL_0022: call instance valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1::GetAwaiter() -IL_0027: stloc.2 -IL_0028: ldloca.s V_2 -IL_002a: call instance bool valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter::get_IsCompleted() -IL_002f: brtrue.s IL_0075 -IL_0031: ldarg.0 -IL_0032: ldc.i4.0 -IL_0033: dup -IL_0034: stloc.0 -IL_0035: stfld int32 Example/'d__10'::'<>1__state' -IL_003a: ldarg.0 -IL_003b: ldloc.2 -IL_003c: stfld valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter Example/'d__10'::'<>u__1' -IL_0041: ldarg.0 -IL_0042: stloc.s V_4 -IL_0044: ldarg.0 -IL_0045: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__10'::'<>t__builder' -IL_004a: ldloca.s V_2 -IL_004c: ldloca.s V_4 -IL_004e: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::AwaitUnsafeOnCompleted,class Example/'d__10'>(!!0&, -!!1&) -IL_0053: nop -IL_0054: leave IL_00db -IL_0059: ldarg.0 -IL_005a: ldfld valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter Example/'d__10'::'<>u__1' -IL_005f: stloc.2 -IL_0060: ldarg.0 -IL_0061: ldflda valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter Example/'d__10'::'<>u__1' -IL_0066: initobj valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter -IL_006c: ldarg.0 -IL_006d: ldc.i4.m1 -IL_006e: dup -IL_006f: stloc.0 -IL_0070: stfld int32 Example/'d__10'::'<>1__state' -IL_0075: ldarg.0 -IL_0076: ldloca.s V_2 -IL_0078: call instance !0 valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter::GetResult() -IL_007d: stfld class Example Example/'d__10'::'<>s__2' -IL_0082: ldarg.0 -IL_0083: ldarg.0 -IL_0084: ldfld class Example Example/'d__10'::'<>s__2' -IL_0089: stfld class Example Example/'d__10'::'5__1' -IL_008e: ldarg.0 -IL_008f: ldnull -IL_0090: stfld class Example Example/'d__10'::'<>s__2' -IL_0095: ldarg.0 -IL_0096: ldfld class Example Example/'d__10'::'5__1' -IL_009b: stloc.1 -IL_009c: leave.s IL_00bf -} // end .try -catch [System.Runtime]System.Exception -{ -IL_009e: stloc.s V_5 -IL_00a0: ldarg.0 -IL_00a1: ldc.i4.s -2 -IL_00a3: stfld int32 Example/'d__10'::'<>1__state' -IL_00a8: ldarg.0 -IL_00a9: ldnull -IL_00aa: stfld class Example Example/'d__10'::'5__1' -IL_00af: ldarg.0 -IL_00b0: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__10'::'<>t__builder' -IL_00b5: ldloc.s V_5 -IL_00b7: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetException(class [System.Runtime]System.Exception) -IL_00bc: nop -IL_00bd: leave.s IL_00db -} // end handler -IL_00bf: ldarg.0 -IL_00c0: ldc.i4.s -2 -IL_00c2: stfld int32 Example/'d__10'::'<>1__state' -IL_00c7: ldarg.0 -IL_00c8: ldnull -IL_00c9: stfld class Example Example/'d__10'::'5__1' -IL_00ce: ldarg.0 -IL_00cf: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__10'::'<>t__builder' -IL_00d4: ldloc.1 -IL_00d5: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetResult(!0) -IL_00da: nop -IL_00db: ret -} -.method private hidebysig newslot virtual final -instance void SetStateMachine(class [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed -{ -.param [1] -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.override [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine -.maxstack 8 -IL_0000: ret -} -} -.class auto ansi sealed nested private beforefieldinit 'd__22' -extends [System.Runtime]System.Object -implements [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine -{ -.interfaceimpl type [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field public int32 '<>1__state' -.field public valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 '<>t__builder' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field public class Example '<>4__this' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field private class Example '5__1' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field private class Example '<>s__2' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field private valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1/ConfiguredValueTaskAwaiter '<>u__1' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8[]) = ( 01 00 02 00 00 00 00 01 00 00 ) -.method public hidebysig specialname rtspecialname -instance void .ctor() cil managed -{ -.maxstack 8 -IL_0000: ldarg.0 -IL_0001: call instance void [System.Runtime]System.Object::.ctor() -IL_0006: nop -IL_0007: ret -} -.method private hidebysig newslot virtual final -instance void MoveNext() cil managed -{ -.override [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext -.maxstack 3 -.locals init (int32 V_0, -class Example V_1, -valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1/ConfiguredValueTaskAwaiter V_2, -valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1 V_3, -valuetype [System.Threading.Tasks.Extensions]System.Threading.Tasks.ValueTask`1 V_4, -class Example/'d__22' V_5, -class [System.Runtime]System.Exception V_6) -IL_0000: ldarg.0 -IL_0001: ldfld int32 Example/'d__22'::'<>1__state' -IL_0006: stloc.0 -.try -{ -IL_0007: ldloc.0 -IL_0008: brfalse.s IL_000c -IL_000a: br.s IL_000e -IL_000c: br.s IL_0062 -IL_000e: nop -IL_000f: newobj instance void Example::.ctor() -IL_0014: call class [System.Runtime]System.Threading.Tasks.Task`1 [System.Runtime]System.Threading.Tasks.Task::FromResult(!!0) -IL_0019: call instance void valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1::.ctor(valuetype [System.Private.CoreLib]System.Threading.Tasks.ValueTask`1&) -IL_001e: stloc.s V_4 -IL_0020: ldloca.s V_4 -IL_0022: ldc.i4.0 -IL_0023: callvirt instance valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1 valuetype [System.Private.CoreLib]System.Threading.Tasks.ValueTask`1::ConfigureAwait(bool) -IL_0028: stloc.3 -IL_0029: ldloca.s V_3 -IL_002b: call instance valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1/ConfiguredValueTaskAwaiter valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1::GetAwaiter() -IL_0030: stloc.2 -IL_0031: ldloca.s V_2 -IL_0033: call instance bool valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1/ConfiguredValueTaskAwaiter::get_IsCompleted() -IL_0038: brtrue.s IL_007e -IL_003a: ldarg.0 -IL_003b: ldc.i4.0 -IL_003c: dup -IL_003d: stloc.0 -IL_003e: stfld int32 Example/'d__22'::'<>1__state' -IL_0043: ldarg.0 -IL_0044: ldloc.2 -IL_0045: stfld valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1/ConfiguredValueTaskAwaiter Example/'d__22'::'<>u__1' -IL_004a: ldarg.0 -IL_004b: stloc.s V_5 -IL_004d: ldarg.0 -IL_004e: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__22'::'<>t__builder' -IL_0053: ldloca.s V_2 -IL_0055: ldloca.s V_5 -IL_0057: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::AwaitUnsafeOnCompleted,class Example/'d__22'>(!!0&, -!!1&) -IL_005c: nop -IL_005d: leave IL_00e4 -IL_0062: ldarg.0 -IL_0063: ldfld valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1/ConfiguredValueTaskAwaiter Example/'d__22'::'<>u__1' -IL_0068: stloc.2 -IL_0069: ldarg.0 -IL_006a: ldflda valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1/ConfiguredValueTaskAwaiter Example/'d__22'::'<>u__1' -IL_006f: initobj valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1/ConfiguredValueTaskAwaiter -IL_0075: ldarg.0 -IL_0076: ldc.i4.m1 -IL_0077: dup -IL_0078: stloc.0 -IL_0079: stfld int32 Example/'d__22'::'<>1__state' -IL_007e: ldarg.0 -IL_007f: ldloca.s V_2 -IL_0081: call instance !0 valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1/ConfiguredValueTaskAwaiter::GetResult() -IL_0086: stfld class Example Example/'d__22'::'<>s__2' -IL_008b: ldarg.0 -IL_008c: ldarg.0 -IL_008d: ldfld class Example Example/'d__22'::'<>s__2' -IL_0092: stfld class Example Example/'d__22'::'5__1' -IL_0097: ldarg.0 -IL_0098: ldnull -IL_0099: stfld class Example Example/'d__22'::'<>s__2' -IL_009e: ldarg.0 -IL_009f: ldfld class Example Example/'d__22'::'5__1' -IL_00a4: stloc.1 -IL_00a5: leave.s IL_00c8 -} // end .try -catch [System.Runtime]System.Exception -{ -IL_00a7: stloc.s V_6 -IL_00a9: ldarg.0 -IL_00aa: ldc.i4.s -2 -IL_00ac: stfld int32 Example/'d__22'::'<>1__state' -IL_00b1: ldarg.0 -IL_00b2: ldnull -IL_00b3: stfld class Example Example/'d__22'::'5__1' -IL_00b8: ldarg.0 -IL_00b9: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__22'::'<>t__builder' -IL_00be: ldloc.s V_6 -IL_00c0: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetException(class [System.Runtime]System.Exception) -IL_00c5: nop -IL_00c6: leave.s IL_00e4 -} // end handler -IL_00c8: ldarg.0 -IL_00c9: ldc.i4.s -2 -IL_00cb: stfld int32 Example/'d__22'::'<>1__state' -IL_00d0: ldarg.0 -IL_00d1: ldnull -IL_00d2: stfld class Example Example/'d__22'::'5__1' -IL_00d7: ldarg.0 -IL_00d8: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__22'::'<>t__builder' -IL_00dd: ldloc.1 -IL_00de: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetResult(!0) -IL_00e3: nop -IL_00e4: ret -} -.method private hidebysig newslot virtual final -instance void SetStateMachine(class [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed -{ -.param [1] -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.override [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine -.maxstack 8 -IL_0000: ret -} -} -.class auto ansi sealed nested private beforefieldinit 'd__11' -extends [System.Runtime]System.Object -implements [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine -{ -.interfaceimpl type [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field public int32 '<>1__state' -.field public valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 '<>t__builder' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field public class Example '<>4__this' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field private class Example '5__1' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field private class Example '<>s__2' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field private valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter '<>u__1' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.method public hidebysig specialname rtspecialname -instance void .ctor() cil managed -{ -.maxstack 8 -IL_0000: ldarg.0 -IL_0001: call instance void [System.Runtime]System.Object::.ctor() -IL_0006: nop -IL_0007: ret -} -.method private hidebysig newslot virtual final -instance void MoveNext() cil managed -{ -.override [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext -.maxstack 3 -.locals init (int32 V_0, -class Example V_1, -valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter V_2, -valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1 V_3, -class Example/'d__11' V_4, -class [System.Runtime]System.Exception V_5) -IL_0000: ldarg.0 -IL_0001: ldfld int32 Example/'d__11'::'<>1__state' -IL_0006: stloc.0 -.try -{ -IL_0007: ldloc.0 -IL_0008: brfalse.s IL_000c -IL_000a: br.s IL_000e -IL_000c: br.s IL_0059 -IL_000e: nop -IL_000f: newobj instance void Example::.ctor() -IL_0014: call class [System.Runtime]System.Threading.Tasks.Task`1 [System.Runtime]System.Threading.Tasks.Task::FromResult(!!0) -IL_0019: ldc.i4.0 -IL_001a: callvirt instance valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1 class [System.Runtime]System.Threading.Tasks.Task`1::ConfigureAwait(bool) -IL_001f: stloc.3 -IL_0020: ldloca.s V_3 -IL_0022: call instance valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1::GetAwaiter() -IL_0027: stloc.2 -IL_0028: ldloca.s V_2 -IL_002a: call instance bool valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter::get_IsCompleted() -IL_002f: brtrue.s IL_0075 -IL_0031: ldarg.0 -IL_0032: ldc.i4.0 -IL_0033: dup -IL_0034: stloc.0 -IL_0035: stfld int32 Example/'d__11'::'<>1__state' -IL_003a: ldarg.0 -IL_003b: ldloc.2 -IL_003c: stfld valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter Example/'d__11'::'<>u__1' -IL_0041: ldarg.0 -IL_0042: stloc.s V_4 -IL_0044: ldarg.0 -IL_0045: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__11'::'<>t__builder' -IL_004a: ldloca.s V_2 -IL_004c: ldloca.s V_4 -IL_004e: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::AwaitUnsafeOnCompleted,class Example/'d__11'>(!!0&, -!!1&) -IL_0053: nop -IL_0054: leave IL_00db -IL_0059: ldarg.0 -IL_005a: ldfld valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter Example/'d__11'::'<>u__1' -IL_005f: stloc.2 -IL_0060: ldarg.0 -IL_0061: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter Example/'d__11'::'<>u__1' -IL_0066: initobj valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter -IL_006c: ldarg.0 -IL_006d: ldc.i4.m1 -IL_006e: dup -IL_006f: stloc.0 -IL_0070: stfld int32 Example/'d__11'::'<>1__state' -IL_0075: ldarg.0 -IL_0076: ldloca.s V_2 -IL_0078: call instance !0 valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter::GetResult() -IL_007d: stfld class Example Example/'d__11'::'<>s__2' -IL_0082: ldarg.0 -IL_0083: ldarg.0 -IL_0084: ldfld class Example Example/'d__11'::'<>s__2' -IL_0089: stfld class Example Example/'d__11'::'5__1' -IL_008e: ldarg.0 -IL_008f: ldnull -IL_0090: stfld class Example Example/'d__11'::'<>s__2' -IL_0095: ldarg.0 -IL_0096: ldfld class Example Example/'d__11'::'5__1' -IL_009b: stloc.1 -IL_009c: leave.s IL_00bf -} // end .try -catch [System.Runtime]System.Exception -{ -IL_009e: stloc.s V_5 -IL_00a0: ldarg.0 -IL_00a1: ldc.i4.s -2 -IL_00a3: stfld int32 Example/'d__11'::'<>1__state' -IL_00a8: ldarg.0 -IL_00a9: ldnull -IL_00aa: stfld class Example Example/'d__11'::'5__1' -IL_00af: ldarg.0 -IL_00b0: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__11'::'<>t__builder' -IL_00b5: ldloc.s V_5 -IL_00b7: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetException(class [System.Runtime]System.Exception) -IL_00bc: nop -IL_00bd: leave.s IL_00db -} // end handler -IL_00bf: ldarg.0 -IL_00c0: ldc.i4.s -2 -IL_00c2: stfld int32 Example/'d__11'::'<>1__state' -IL_00c7: ldarg.0 -IL_00c8: ldnull -IL_00c9: stfld class Example Example/'d__11'::'5__1' -IL_00ce: ldarg.0 -IL_00cf: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__11'::'<>t__builder' -IL_00d4: ldloc.1 -IL_00d5: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetResult(!0) -IL_00da: nop -IL_00db: ret -} -.method private hidebysig newslot virtual final -instance void SetStateMachine(class [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed -{ -.param [1] -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.override [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine -.maxstack 8 -IL_0000: ret -} -} -.class auto ansi sealed nested private beforefieldinit 'd__23' -extends [System.Runtime]System.Object -implements [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine -{ -.interfaceimpl type [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field public int32 '<>1__state' -.field public valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 '<>t__builder' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field public class Example '<>4__this' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field private class Example '5__1' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field private class Example '<>s__2' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field private valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1/ConfiguredValueTaskAwaiter '<>u__1' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8[]) = ( 01 00 02 00 00 00 00 01 00 00 ) -.method public hidebysig specialname rtspecialname -instance void .ctor() cil managed -{ -.maxstack 8 -IL_0000: ldarg.0 -IL_0001: call instance void [System.Runtime]System.Object::.ctor() -IL_0006: nop -IL_0007: ret -} -.method private hidebysig newslot virtual final -instance void MoveNext() cil managed -{ -.override [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext -.maxstack 3 -.locals init (int32 V_0, -class Example V_1, -valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1/ConfiguredValueTaskAwaiter V_2, -valuetype [System.Threading.Tasks.Extensions]System.Threading.Tasks.ValueTask`1 V_3, -valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1 V_4, -class Example/'d__23' V_5, -class [System.Runtime]System.Exception V_6) -IL_0000: ldarg.0 -IL_0001: ldfld int32 Example/'d__23'::'<>1__state' -IL_0006: stloc.0 -.try -{ -IL_0007: ldloc.0 -IL_0008: brfalse.s IL_000c -IL_000a: br.s IL_000e -IL_000c: br.s IL_0062 -IL_000e: nop -IL_000f: newobj instance void Example::.ctor() -IL_0014: call class [System.Runtime]System.Threading.Tasks.Task`1 [System.Runtime]System.Threading.Tasks.Task::FromResult(!!0) -IL_0019: newobj instance void valuetype [System.Threading.Tasks.Extensions]System.Threading.Tasks.ValueTask`1::.ctor(class [System.Runtime]System.Threading.Tasks.Task`1) -IL_001e: stloc.3 -IL_001f: ldloca.s V_3 -IL_0021: ldc.i4.0 -IL_0022: call instance valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1 valuetype [System.Threading.Tasks.Extensions]System.Threading.Tasks.ValueTask`1::ConfigureAwait(bool) -IL_0027: stloc.s V_4 -IL_0029: ldloca.s V_4 -IL_002b: call instance valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1/ConfiguredValueTaskAwaiter valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1::GetAwaiter() -IL_0030: stloc.2 -IL_0031: ldloca.s V_2 -IL_0033: call instance bool valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1/ConfiguredValueTaskAwaiter::get_IsCompleted() -IL_0038: brtrue.s IL_007e -IL_003a: ldarg.0 -IL_003b: ldc.i4.0 -IL_003c: dup -IL_003d: stloc.0 -IL_003e: stfld int32 Example/'d__23'::'<>1__state' -IL_0043: ldarg.0 -IL_0044: ldloc.2 -IL_0045: stfld valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1/ConfiguredValueTaskAwaiter Example/'d__23'::'<>u__1' -IL_004a: ldarg.0 -IL_004b: stloc.s V_5 -IL_004d: ldarg.0 -IL_004e: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__23'::'<>t__builder' -IL_0053: ldloca.s V_2 -IL_0055: ldloca.s V_5 -IL_0057: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::AwaitUnsafeOnCompleted,class Example/'d__23'>(!!0&, -!!1&) -IL_005c: nop -IL_005d: leave IL_00e4 -IL_0062: ldarg.0 -IL_0063: ldfld valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1/ConfiguredValueTaskAwaiter Example/'d__23'::'<>u__1' -IL_0068: stloc.2 -IL_0069: ldarg.0 -IL_006a: ldflda valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1/ConfiguredValueTaskAwaiter Example/'d__23'::'<>u__1' -IL_006f: initobj valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1/ConfiguredValueTaskAwaiter -IL_0075: ldarg.0 -IL_0076: ldc.i4.m1 -IL_0077: dup -IL_0078: stloc.0 -IL_0079: stfld int32 Example/'d__23'::'<>1__state' -IL_007e: ldarg.0 -IL_007f: ldloca.s V_2 -IL_0081: call instance !0 valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1/ConfiguredValueTaskAwaiter::GetResult() -IL_0086: stfld class Example Example/'d__23'::'<>s__2' -IL_008b: ldarg.0 -IL_008c: ldarg.0 -IL_008d: ldfld class Example Example/'d__23'::'<>s__2' -IL_0092: stfld class Example Example/'d__23'::'5__1' -IL_0097: ldarg.0 -IL_0098: ldnull -IL_0099: stfld class Example Example/'d__23'::'<>s__2' -IL_009e: ldarg.0 -IL_009f: ldfld class Example Example/'d__23'::'5__1' -IL_00a4: stloc.1 -IL_00a5: leave.s IL_00c8 -} // end .try -catch [System.Runtime]System.Exception -{ -IL_00a7: stloc.s V_6 -IL_00a9: ldarg.0 -IL_00aa: ldc.i4.s -2 -IL_00ac: stfld int32 Example/'d__23'::'<>1__state' -IL_00b1: ldarg.0 -IL_00b2: ldnull -IL_00b3: stfld class Example Example/'d__23'::'5__1' -IL_00b8: ldarg.0 -IL_00b9: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__23'::'<>t__builder' -IL_00be: ldloc.s V_6 -IL_00c0: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetException(class [System.Runtime]System.Exception) -IL_00c5: nop -IL_00c6: leave.s IL_00e4 -} // end handler -IL_00c8: ldarg.0 -IL_00c9: ldc.i4.s -2 -IL_00cb: stfld int32 Example/'d__23'::'<>1__state' -IL_00d0: ldarg.0 -IL_00d1: ldnull -IL_00d2: stfld class Example Example/'d__23'::'5__1' -IL_00d7: ldarg.0 -IL_00d8: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__23'::'<>t__builder' -IL_00dd: ldloc.1 -IL_00de: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetResult(!0) -IL_00e3: nop -IL_00e4: ret -} -.method private hidebysig newslot virtual final -instance void SetStateMachine(class [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed -{ -.param [1] -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.override [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine -.maxstack 8 -IL_0000: ret -} -} -.class auto ansi sealed nested private beforefieldinit 'd__0' -extends [System.Runtime]System.Object -implements [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine -{ -.interfaceimpl type [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field public int32 '<>1__state' -.field public valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder '<>t__builder' -.field public class Example '<>4__this' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field private valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter '<>u__1' -.method public hidebysig specialname rtspecialname -instance void .ctor() cil managed -{ -.maxstack 8 -IL_0000: ldarg.0 -IL_0001: call instance void [System.Runtime]System.Object::.ctor() -IL_0006: nop -IL_0007: ret -} -.method private hidebysig newslot virtual final -instance void MoveNext() cil managed -{ -.override [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext -.maxstack 3 -.locals init (int32 V_0, -valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter V_1, -class Example/'d__0' V_2, -class [System.Runtime]System.Exception V_3) -IL_0000: ldarg.0 -IL_0001: ldfld int32 Example/'d__0'::'<>1__state' -IL_0006: stloc.0 -.try -{ -IL_0007: ldloc.0 -IL_0008: brfalse.s IL_000c -IL_000a: br.s IL_000e -IL_000c: br.s IL_0048 -IL_000e: nop -IL_000f: ldc.i4.1 -IL_0010: call class [System.Runtime]System.Threading.Tasks.Task [System.Runtime]System.Threading.Tasks.Task::Delay(int32) -IL_0015: callvirt instance valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter [System.Runtime]System.Threading.Tasks.Task::GetAwaiter() -IL_001a: stloc.1 -IL_001b: ldloca.s V_1 -IL_001d: call instance bool [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter::get_IsCompleted() -IL_0022: brtrue.s IL_0064 -IL_0024: ldarg.0 -IL_0025: ldc.i4.0 -IL_0026: dup -IL_0027: stloc.0 -IL_0028: stfld int32 Example/'d__0'::'<>1__state' -IL_002d: ldarg.0 -IL_002e: ldloc.1 -IL_002f: stfld valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter Example/'d__0'::'<>u__1' -IL_0034: ldarg.0 -IL_0035: stloc.2 -IL_0036: ldarg.0 -IL_0037: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Example/'d__0'::'<>t__builder' -IL_003c: ldloca.s V_1 -IL_003e: ldloca.s V_2 -IL_0040: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::AwaitUnsafeOnCompletedd__0'>(!!0&, -!!1&) -IL_0045: nop -IL_0046: leave.s IL_009a -IL_0048: ldarg.0 -IL_0049: ldfld valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter Example/'d__0'::'<>u__1' -IL_004e: stloc.1 -IL_004f: ldarg.0 -IL_0050: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter Example/'d__0'::'<>u__1' -IL_0055: initobj [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter -IL_005b: ldarg.0 -IL_005c: ldc.i4.m1 -IL_005d: dup -IL_005e: stloc.0 -IL_005f: stfld int32 Example/'d__0'::'<>1__state' -IL_0064: ldloca.s V_1 -IL_0066: call instance void [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter::GetResult() -IL_006b: nop -IL_006c: leave.s IL_0086 -} // end .try -catch [System.Runtime]System.Exception -{ -IL_006e: stloc.3 -IL_006f: ldarg.0 -IL_0070: ldc.i4.s -2 -IL_0072: stfld int32 Example/'d__0'::'<>1__state' -IL_0077: ldarg.0 -IL_0078: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Example/'d__0'::'<>t__builder' -IL_007d: ldloc.3 -IL_007e: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetException(class [System.Runtime]System.Exception) -IL_0083: nop -IL_0084: leave.s IL_009a -} // end handler -IL_0086: ldarg.0 -IL_0087: ldc.i4.s -2 -IL_0089: stfld int32 Example/'d__0'::'<>1__state' -IL_008e: ldarg.0 -IL_008f: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Example/'d__0'::'<>t__builder' -IL_0094: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetResult() -IL_0099: nop -IL_009a: ret -} -.method private hidebysig newslot virtual final -instance void SetStateMachine(class [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed -{ -.param [1] -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.override [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine -.maxstack 8 -IL_0000: ret -} -} -.class auto ansi sealed nested private beforefieldinit 'd__12' -extends [System.Runtime]System.Object -implements [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine -{ -.interfaceimpl type [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field public int32 '<>1__state' -.field public valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder '<>t__builder' -.field public class Example '<>4__this' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field private valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ValueTaskAwaiter '<>u__1' -.method public hidebysig specialname rtspecialname -instance void .ctor() cil managed -{ -.maxstack 8 -IL_0000: ldarg.0 -IL_0001: call instance void [System.Runtime]System.Object::.ctor() -IL_0006: nop -IL_0007: ret -} -.method private hidebysig newslot virtual final -instance void MoveNext() cil managed -{ -.override [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext -.maxstack 3 -.locals init (int32 V_0, -valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ValueTaskAwaiter V_1, -valuetype [System.Threading.Tasks.Extensions]System.Threading.Tasks.ValueTask V_2, -class Example/'d__12' V_3, -class [System.Runtime]System.Exception V_4) -IL_0000: ldarg.0 -IL_0001: ldfld int32 Example/'d__12'::'<>1__state' -IL_0006: stloc.0 -.try -{ -IL_0007: ldloc.0 -IL_0008: brfalse.s IL_000c -IL_000a: br.s IL_000e -IL_000c: br.s IL_0050 -IL_000e: nop -IL_000f: ldc.i4.1 -IL_0010: call class [System.Runtime]System.Threading.Tasks.Task [System.Runtime]System.Threading.Tasks.Task::Delay(int32) -IL_0015: newobj instance void [System.Threading.Tasks.Extensions]System.Threading.Tasks.ValueTask::.ctor(class [System.Runtime]System.Threading.Tasks.Task) -IL_001a: stloc.2 -IL_001b: ldloca.s V_2 -IL_001d: call instance valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ValueTaskAwaiter [System.Threading.Tasks.Extensions]System.Threading.Tasks.ValueTask::GetAwaiter() -IL_0022: stloc.1 -IL_0023: ldloca.s V_1 -IL_0025: call instance bool [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ValueTaskAwaiter::get_IsCompleted() -IL_002a: brtrue.s IL_006c -IL_002c: ldarg.0 -IL_002d: ldc.i4.0 -IL_002e: dup -IL_002f: stloc.0 -IL_0030: stfld int32 Example/'d__12'::'<>1__state' -IL_0035: ldarg.0 -IL_0036: ldloc.1 -IL_0037: stfld valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ValueTaskAwaiter Example/'d__12'::'<>u__1' -IL_003c: ldarg.0 -IL_003d: stloc.3 -IL_003e: ldarg.0 -IL_003f: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Example/'d__12'::'<>t__builder' -IL_0044: ldloca.s V_1 -IL_0046: ldloca.s V_3 -IL_0048: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::AwaitUnsafeOnCompletedd__12'>(!!0&, -!!1&) -IL_004d: nop -IL_004e: leave.s IL_00a4 -IL_0050: ldarg.0 -IL_0051: ldfld valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ValueTaskAwaiter Example/'d__12'::'<>u__1' -IL_0056: stloc.1 -IL_0057: ldarg.0 -IL_0058: ldflda valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ValueTaskAwaiter Example/'d__12'::'<>u__1' -IL_005d: initobj [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ValueTaskAwaiter -IL_0063: ldarg.0 -IL_0064: ldc.i4.m1 -IL_0065: dup -IL_0066: stloc.0 -IL_0067: stfld int32 Example/'d__12'::'<>1__state' -IL_006c: ldloca.s V_1 -IL_006e: call instance void [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ValueTaskAwaiter::GetResult() -IL_0073: nop -IL_0074: leave.s IL_0090 -} // end .try -catch [System.Runtime]System.Exception -{ -IL_0076: stloc.s V_4 -IL_0078: ldarg.0 -IL_0079: ldc.i4.s -2 -IL_007b: stfld int32 Example/'d__12'::'<>1__state' -IL_0080: ldarg.0 -IL_0081: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Example/'d__12'::'<>t__builder' -IL_0086: ldloc.s V_4 -IL_0088: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetException(class [System.Runtime]System.Exception) -IL_008d: nop -IL_008e: leave.s IL_00a4 -} // end handler -IL_0090: ldarg.0 -IL_0091: ldc.i4.s -2 -IL_0093: stfld int32 Example/'d__12'::'<>1__state' -IL_0098: ldarg.0 -IL_0099: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Example/'d__12'::'<>t__builder' -IL_009e: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetResult() -IL_00a3: nop -IL_00a4: ret -} -.method private hidebysig newslot virtual final -instance void SetStateMachine(class [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed -{ -.param [1] -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.override [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine -.maxstack 8 -IL_0000: ret -} -} -.class auto ansi sealed nested private beforefieldinit 'd__1' -extends [System.Runtime]System.Object -implements [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine -{ -.interfaceimpl type [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field public int32 '<>1__state' -.field public valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder '<>t__builder' -.field public class Example '<>4__this' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field private valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter '<>u__1' -.method public hidebysig specialname rtspecialname -instance void .ctor() cil managed -{ -.maxstack 8 -IL_0000: ldarg.0 -IL_0001: call instance void [System.Runtime]System.Object::.ctor() -IL_0006: nop -IL_0007: ret -} -.method private hidebysig newslot virtual final -instance void MoveNext() cil managed -{ -.override [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext -.maxstack 3 -.locals init (int32 V_0, -valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter V_1, -valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable V_2, -class Example/'d__1' V_3, -class [System.Runtime]System.Exception V_4) -IL_0000: ldarg.0 -IL_0001: ldfld int32 Example/'d__1'::'<>1__state' -IL_0006: stloc.0 -.try -{ -IL_0007: ldloc.0 -IL_0008: brfalse.s IL_000c -IL_000a: br.s IL_000e -IL_000c: br.s IL_0051 -IL_000e: nop -IL_000f: ldc.i4.1 -IL_0010: call class [System.Runtime]System.Threading.Tasks.Task [System.Runtime]System.Threading.Tasks.Task::Delay(int32) -IL_0015: ldc.i4.0 -IL_0016: callvirt instance valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable [System.Private.CoreLib]System.Threading.Tasks.Task::ConfigureAwait(bool) -IL_001b: stloc.2 -IL_001c: ldloca.s V_2 -IL_001e: call instance valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable::GetAwaiter() -IL_0023: stloc.1 -IL_0024: ldloca.s V_1 -IL_0026: call instance bool [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter::get_IsCompleted() -IL_002b: brtrue.s IL_006d -IL_002d: ldarg.0 -IL_002e: ldc.i4.0 -IL_002f: dup -IL_0030: stloc.0 -IL_0031: stfld int32 Example/'d__1'::'<>1__state' -IL_0036: ldarg.0 -IL_0037: ldloc.1 -IL_0038: stfld valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter Example/'d__1'::'<>u__1' -IL_003d: ldarg.0 -IL_003e: stloc.3 -IL_003f: ldarg.0 -IL_0040: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Example/'d__1'::'<>t__builder' -IL_0045: ldloca.s V_1 -IL_0047: ldloca.s V_3 -IL_0049: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::AwaitUnsafeOnCompletedd__1'>(!!0&, -!!1&) -IL_004e: nop -IL_004f: leave.s IL_00a5 -IL_0051: ldarg.0 -IL_0052: ldfld valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter Example/'d__1'::'<>u__1' -IL_0057: stloc.1 -IL_0058: ldarg.0 -IL_0059: ldflda valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter Example/'d__1'::'<>u__1' -IL_005e: initobj [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter -IL_0064: ldarg.0 -IL_0065: ldc.i4.m1 -IL_0066: dup -IL_0067: stloc.0 -IL_0068: stfld int32 Example/'d__1'::'<>1__state' -IL_006d: ldloca.s V_1 -IL_006f: call instance void [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter::GetResult() -IL_0074: nop -IL_0075: leave.s IL_0091 -} // end .try -catch [System.Runtime]System.Exception -{ -IL_0077: stloc.s V_4 -IL_0079: ldarg.0 -IL_007a: ldc.i4.s -2 -IL_007c: stfld int32 Example/'d__1'::'<>1__state' -IL_0081: ldarg.0 -IL_0082: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Example/'d__1'::'<>t__builder' -IL_0087: ldloc.s V_4 -IL_0089: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetException(class [System.Runtime]System.Exception) -IL_008e: nop -IL_008f: leave.s IL_00a5 -} // end handler -IL_0091: ldarg.0 -IL_0092: ldc.i4.s -2 -IL_0094: stfld int32 Example/'d__1'::'<>1__state' -IL_0099: ldarg.0 -IL_009a: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Example/'d__1'::'<>t__builder' -IL_009f: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetResult() -IL_00a4: nop -IL_00a5: ret -} -.method private hidebysig newslot virtual final -instance void SetStateMachine(class [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed -{ -.param [1] -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.override [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine -.maxstack 8 -IL_0000: ret -} -} -.class auto ansi sealed nested private beforefieldinit 'd__13' -extends [System.Runtime]System.Object -implements [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine -{ -.interfaceimpl type [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field public int32 '<>1__state' -.field public valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder '<>t__builder' -.field public class Example '<>4__this' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field private valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter '<>u__1' -.method public hidebysig specialname rtspecialname -instance void .ctor() cil managed -{ -.maxstack 8 -IL_0000: ldarg.0 -IL_0001: call instance void [System.Runtime]System.Object::.ctor() -IL_0006: nop -IL_0007: ret -} -.method private hidebysig newslot virtual final -instance void MoveNext() cil managed -{ -.override [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext -.maxstack 3 -.locals init (int32 V_0, -valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter V_1, -valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable V_2, -valuetype [System.Threading.Tasks.Extensions]System.Threading.Tasks.ValueTask V_3, -class Example/'d__13' V_4, -class [System.Runtime]System.Exception V_5) -IL_0000: ldarg.0 -IL_0001: ldfld int32 Example/'d__13'::'<>1__state' -IL_0006: stloc.0 -.try -{ -IL_0007: ldloc.0 -IL_0008: brfalse.s IL_000c -IL_000a: br.s IL_000e -IL_000c: br.s IL_005a -IL_000e: nop -IL_000f: ldc.i4.1 -IL_0010: call class [System.Runtime]System.Threading.Tasks.Task [System.Runtime]System.Threading.Tasks.Task::Delay(int32) -IL_0015: call instance void [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable::.ctor(valuetype [System.Private.CoreLib]System.Threading.Tasks.ValueTask&) -IL_001a: stloc.3 -IL_001b: ldloca.s V_3 -IL_001d: ldc.i4.0 -IL_001e: callvirt instance valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable [System.Private.CoreLib]System.Threading.Tasks.ValueTask::ConfigureAwait(bool) -IL_0023: stloc.2 -IL_0024: ldloca.s V_2 -IL_0026: call instance valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable::GetAwaiter() -IL_002b: stloc.1 -IL_002c: ldloca.s V_1 -IL_002e: call instance bool [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter::get_IsCompleted() -IL_0033: brtrue.s IL_0076 -IL_0035: ldarg.0 -IL_0036: ldc.i4.0 -IL_0037: dup -IL_0038: stloc.0 -IL_0039: stfld int32 Example/'d__13'::'<>1__state' -IL_003e: ldarg.0 -IL_003f: ldloc.1 -IL_0040: stfld valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter Example/'d__13'::'<>u__1' -IL_0045: ldarg.0 -IL_0046: stloc.s V_4 -IL_0048: ldarg.0 -IL_0049: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Example/'d__13'::'<>t__builder' -IL_004e: ldloca.s V_1 -IL_0050: ldloca.s V_4 -IL_0052: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::AwaitUnsafeOnCompletedd__13'>(!!0&, -!!1&) -IL_0057: nop -IL_0058: leave.s IL_00ae -IL_005a: ldarg.0 -IL_005b: ldfld valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter Example/'d__13'::'<>u__1' -IL_0060: stloc.1 -IL_0061: ldarg.0 -IL_0062: ldflda valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter Example/'d__13'::'<>u__1' -IL_0067: initobj [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter -IL_006d: ldarg.0 -IL_006e: ldc.i4.m1 -IL_006f: dup -IL_0070: stloc.0 -IL_0071: stfld int32 Example/'d__13'::'<>1__state' -IL_0076: ldloca.s V_1 -IL_0078: call instance void [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter::GetResult() -IL_007d: nop -IL_007e: leave.s IL_009a -} // end .try -catch [System.Runtime]System.Exception -{ -IL_0080: stloc.s V_5 -IL_0082: ldarg.0 -IL_0083: ldc.i4.s -2 -IL_0085: stfld int32 Example/'d__13'::'<>1__state' -IL_008a: ldarg.0 -IL_008b: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Example/'d__13'::'<>t__builder' -IL_0090: ldloc.s V_5 -IL_0092: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetException(class [System.Runtime]System.Exception) -IL_0097: nop -IL_0098: leave.s IL_00ae -} // end handler -IL_009a: ldarg.0 -IL_009b: ldc.i4.s -2 -IL_009d: stfld int32 Example/'d__13'::'<>1__state' -IL_00a2: ldarg.0 -IL_00a3: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Example/'d__13'::'<>t__builder' -IL_00a8: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetResult() -IL_00ad: nop -IL_00ae: ret -} -.method private hidebysig newslot virtual final -instance void SetStateMachine(class [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed -{ -.param [1] -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.override [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine -.maxstack 8 -IL_0000: ret -} -} -.class auto ansi sealed nested private beforefieldinit 'd__2' -extends [System.Runtime]System.Object -implements [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine -{ -.interfaceimpl type [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field public int32 '<>1__state' -.field public valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder '<>t__builder' -.field public class Example '<>4__this' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field private valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter '<>u__1' -.method public hidebysig specialname rtspecialname -instance void .ctor() cil managed -{ -.maxstack 8 -IL_0000: ldarg.0 -IL_0001: call instance void [System.Runtime]System.Object::.ctor() -IL_0006: nop -IL_0007: ret -} -.method private hidebysig newslot virtual final -instance void MoveNext() cil managed -{ -.override [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext -.maxstack 3 -.locals init (int32 V_0, -valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter V_1, -valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable V_2, -class Example/'d__2' V_3, -class [System.Runtime]System.Exception V_4) -IL_0000: ldarg.0 -IL_0001: ldfld int32 Example/'d__2'::'<>1__state' -IL_0006: stloc.0 -.try -{ -IL_0007: ldloc.0 -IL_0008: brfalse.s IL_000c -IL_000a: br.s IL_000e -IL_000c: br.s IL_0051 -IL_000e: nop -IL_000f: ldc.i4.1 -IL_0010: call class [System.Runtime]System.Threading.Tasks.Task [System.Runtime]System.Threading.Tasks.Task::Delay(int32) -IL_0015: ldc.i4.0 -IL_0016: callvirt instance valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable [System.Runtime]System.Threading.Tasks.Task::ConfigureAwait(bool) -IL_001b: stloc.2 -IL_001c: ldloca.s V_2 -IL_001e: call instance valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable::GetAwaiter() -IL_0023: stloc.1 -IL_0024: ldloca.s V_1 -IL_0026: call instance bool [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter::get_IsCompleted() -IL_002b: brtrue.s IL_006d -IL_002d: ldarg.0 -IL_002e: ldc.i4.0 -IL_002f: dup -IL_0030: stloc.0 -IL_0031: stfld int32 Example/'d__2'::'<>1__state' -IL_0036: ldarg.0 -IL_0037: ldloc.1 -IL_0038: stfld valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter Example/'d__2'::'<>u__1' -IL_003d: ldarg.0 -IL_003e: stloc.3 -IL_003f: ldarg.0 -IL_0040: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Example/'d__2'::'<>t__builder' -IL_0045: ldloca.s V_1 -IL_0047: ldloca.s V_3 -IL_0049: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::AwaitUnsafeOnCompletedd__2'>(!!0&, -!!1&) -IL_004e: nop -IL_004f: leave.s IL_00a5 -IL_0051: ldarg.0 -IL_0052: ldfld valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter Example/'d__2'::'<>u__1' -IL_0057: stloc.1 -IL_0058: ldarg.0 -IL_0059: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter Example/'d__2'::'<>u__1' -IL_005e: initobj [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter -IL_0064: ldarg.0 -IL_0065: ldc.i4.m1 -IL_0066: dup -IL_0067: stloc.0 -IL_0068: stfld int32 Example/'d__2'::'<>1__state' -IL_006d: ldloca.s V_1 -IL_006f: call instance void [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter::GetResult() -IL_0074: nop -IL_0075: leave.s IL_0091 -} // end .try -catch [System.Runtime]System.Exception -{ -IL_0077: stloc.s V_4 -IL_0079: ldarg.0 -IL_007a: ldc.i4.s -2 -IL_007c: stfld int32 Example/'d__2'::'<>1__state' -IL_0081: ldarg.0 -IL_0082: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Example/'d__2'::'<>t__builder' -IL_0087: ldloc.s V_4 -IL_0089: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetException(class [System.Runtime]System.Exception) -IL_008e: nop -IL_008f: leave.s IL_00a5 -} // end handler -IL_0091: ldarg.0 -IL_0092: ldc.i4.s -2 -IL_0094: stfld int32 Example/'d__2'::'<>1__state' -IL_0099: ldarg.0 -IL_009a: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Example/'d__2'::'<>t__builder' -IL_009f: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetResult() -IL_00a4: nop -IL_00a5: ret -} -.method private hidebysig newslot virtual final -instance void SetStateMachine(class [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed -{ -.param [1] -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.override [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine -.maxstack 8 -IL_0000: ret -} -} -.class auto ansi sealed nested private beforefieldinit 'd__14' -extends [System.Runtime]System.Object -implements [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine -{ -.interfaceimpl type [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field public int32 '<>1__state' -.field public valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder '<>t__builder' -.field public class Example '<>4__this' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field private valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter '<>u__1' -.method public hidebysig specialname rtspecialname -instance void .ctor() cil managed -{ -.maxstack 8 -IL_0000: ldarg.0 -IL_0001: call instance void [System.Runtime]System.Object::.ctor() -IL_0006: nop -IL_0007: ret -} -.method private hidebysig newslot virtual final -instance void MoveNext() cil managed -{ -.override [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext -.maxstack 3 -.locals init (int32 V_0, -valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter V_1, -valuetype [System.Threading.Tasks.Extensions]System.Threading.Tasks.ValueTask V_2, -valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable V_3, -class Example/'d__14' V_4, -class [System.Runtime]System.Exception V_5) -IL_0000: ldarg.0 -IL_0001: ldfld int32 Example/'d__14'::'<>1__state' -IL_0006: stloc.0 -.try -{ -IL_0007: ldloc.0 -IL_0008: brfalse.s IL_000c -IL_000a: br.s IL_000e -IL_000c: br.s IL_005a -IL_000e: nop -IL_000f: ldc.i4.1 -IL_0010: call class [System.Runtime]System.Threading.Tasks.Task [System.Runtime]System.Threading.Tasks.Task::Delay(int32) -IL_0015: newobj instance void [System.Threading.Tasks.Extensions]System.Threading.Tasks.ValueTask::.ctor(class [System.Runtime]System.Threading.Tasks.Task) -IL_001a: stloc.2 -IL_001b: ldloca.s V_2 -IL_001d: ldc.i4.0 -IL_001e: call instance valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable [System.Threading.Tasks.Extensions]System.Threading.Tasks.ValueTask::ConfigureAwait(bool) -IL_0023: stloc.3 -IL_0024: ldloca.s V_3 -IL_0026: call instance valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable::GetAwaiter() -IL_002b: stloc.1 -IL_002c: ldloca.s V_1 -IL_002e: call instance bool [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter::get_IsCompleted() -IL_0033: brtrue.s IL_0076 -IL_0035: ldarg.0 -IL_0036: ldc.i4.0 -IL_0037: dup -IL_0038: stloc.0 -IL_0039: stfld int32 Example/'d__14'::'<>1__state' -IL_003e: ldarg.0 -IL_003f: ldloc.1 -IL_0040: stfld valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter Example/'d__14'::'<>u__1' -IL_0045: ldarg.0 -IL_0046: stloc.s V_4 -IL_0048: ldarg.0 -IL_0049: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Example/'d__14'::'<>t__builder' -IL_004e: ldloca.s V_1 -IL_0050: ldloca.s V_4 -IL_0052: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::AwaitUnsafeOnCompletedd__14'>(!!0&, -!!1&) -IL_0057: nop -IL_0058: leave.s IL_00ae -IL_005a: ldarg.0 -IL_005b: ldfld valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter Example/'d__14'::'<>u__1' -IL_0060: stloc.1 -IL_0061: ldarg.0 -IL_0062: ldflda valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter Example/'d__14'::'<>u__1' -IL_0067: initobj [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter -IL_006d: ldarg.0 -IL_006e: ldc.i4.m1 -IL_006f: dup -IL_0070: stloc.0 -IL_0071: stfld int32 Example/'d__14'::'<>1__state' -IL_0076: ldloca.s V_1 -IL_0078: call instance void [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter::GetResult() -IL_007d: nop -IL_007e: leave.s IL_009a -} // end .try -catch [System.Runtime]System.Exception -{ -IL_0080: stloc.s V_5 -IL_0082: ldarg.0 -IL_0083: ldc.i4.s -2 -IL_0085: stfld int32 Example/'d__14'::'<>1__state' -IL_008a: ldarg.0 -IL_008b: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Example/'d__14'::'<>t__builder' -IL_0090: ldloc.s V_5 -IL_0092: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetException(class [System.Runtime]System.Exception) -IL_0097: nop -IL_0098: leave.s IL_00ae -} // end handler -IL_009a: ldarg.0 -IL_009b: ldc.i4.s -2 -IL_009d: stfld int32 Example/'d__14'::'<>1__state' -IL_00a2: ldarg.0 -IL_00a3: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Example/'d__14'::'<>t__builder' -IL_00a8: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetResult() -IL_00ad: nop -IL_00ae: ret -} -.method private hidebysig newslot virtual final -instance void SetStateMachine(class [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed -{ -.param [1] -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.override [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine -.maxstack 8 -IL_0000: ret -} -} -.class auto ansi sealed nested private beforefieldinit 'd__3' -extends [System.Runtime]System.Object -implements [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine -{ -.interfaceimpl type [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field public int32 '<>1__state' -.field public valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 '<>t__builder' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field public class Example '<>4__this' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field private int32 '5__1' -.field private int32 '<>s__2' -.field private valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter`1 '<>u__1' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.method public hidebysig specialname rtspecialname -instance void .ctor() cil managed -{ -.maxstack 8 -IL_0000: ldarg.0 -IL_0001: call instance void [System.Runtime]System.Object::.ctor() -IL_0006: nop -IL_0007: ret -} -.method private hidebysig newslot virtual final -instance void MoveNext() cil managed -{ -.override [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext -.maxstack 3 -.locals init (int32 V_0, -int32 V_1, -valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter`1 V_2, -class Example/'d__3' V_3, -class [System.Runtime]System.Exception V_4) -IL_0000: ldarg.0 -IL_0001: ldfld int32 Example/'d__3'::'<>1__state' -IL_0006: stloc.0 -.try -{ -IL_0007: ldloc.0 -IL_0008: brfalse.s IL_000c -IL_000a: br.s IL_000e -IL_000c: br.s IL_0049 -IL_000e: nop -IL_000f: ldc.i4.s 10 -IL_0011: call class [System.Runtime]System.Threading.Tasks.Task`1 [System.Runtime]System.Threading.Tasks.Task::FromResult(!!0) -IL_0016: callvirt instance valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter`1 class [System.Runtime]System.Threading.Tasks.Task`1::GetAwaiter() -IL_001b: stloc.2 -IL_001c: ldloca.s V_2 -IL_001e: call instance bool valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter`1::get_IsCompleted() -IL_0023: brtrue.s IL_0065 -IL_0025: ldarg.0 -IL_0026: ldc.i4.0 -IL_0027: dup -IL_0028: stloc.0 -IL_0029: stfld int32 Example/'d__3'::'<>1__state' -IL_002e: ldarg.0 -IL_002f: ldloc.2 -IL_0030: stfld valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter`1 Example/'d__3'::'<>u__1' -IL_0035: ldarg.0 -IL_0036: stloc.3 -IL_0037: ldarg.0 -IL_0038: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__3'::'<>t__builder' -IL_003d: ldloca.s V_2 -IL_003f: ldloca.s V_3 -IL_0041: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::AwaitUnsafeOnCompleted,class Example/'d__3'>(!!0&, -!!1&) -IL_0046: nop -IL_0047: leave.s IL_00b6 -IL_0049: ldarg.0 -IL_004a: ldfld valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter`1 Example/'d__3'::'<>u__1' -IL_004f: stloc.2 -IL_0050: ldarg.0 -IL_0051: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter`1 Example/'d__3'::'<>u__1' -IL_0056: initobj valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter`1 -IL_005c: ldarg.0 -IL_005d: ldc.i4.m1 -IL_005e: dup -IL_005f: stloc.0 -IL_0060: stfld int32 Example/'d__3'::'<>1__state' -IL_0065: ldarg.0 -IL_0066: ldloca.s V_2 -IL_0068: call instance !0 valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter`1::GetResult() -IL_006d: stfld int32 Example/'d__3'::'<>s__2' -IL_0072: ldarg.0 -IL_0073: ldarg.0 -IL_0074: ldfld int32 Example/'d__3'::'<>s__2' -IL_0079: stfld int32 Example/'d__3'::'5__1' -IL_007e: ldarg.0 -IL_007f: ldfld int32 Example/'d__3'::'5__1' -IL_0084: stloc.1 -IL_0085: leave.s IL_00a1 -} // end .try -catch [System.Runtime]System.Exception -{ -IL_0087: stloc.s V_4 -IL_0089: ldarg.0 -IL_008a: ldc.i4.s -2 -IL_008c: stfld int32 Example/'d__3'::'<>1__state' -IL_0091: ldarg.0 -IL_0092: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__3'::'<>t__builder' -IL_0097: ldloc.s V_4 -IL_0099: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetException(class [System.Runtime]System.Exception) -IL_009e: nop -IL_009f: leave.s IL_00b6 -} // end handler -IL_00a1: ldarg.0 -IL_00a2: ldc.i4.s -2 -IL_00a4: stfld int32 Example/'d__3'::'<>1__state' -IL_00a9: ldarg.0 -IL_00aa: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__3'::'<>t__builder' -IL_00af: ldloc.1 -IL_00b0: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetResult(!0) -IL_00b5: nop -IL_00b6: ret -} -.method private hidebysig newslot virtual final -instance void SetStateMachine(class [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed -{ -.param [1] -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.override [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine -.maxstack 8 -IL_0000: ret -} -} -.class auto ansi sealed nested private beforefieldinit 'd__15' -extends [System.Runtime]System.Object -implements [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine -{ -.interfaceimpl type [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field public int32 '<>1__state' -.field public valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 '<>t__builder' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field public class Example '<>4__this' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field private int32 '5__1' -.field private int32 '<>s__2' -.field private valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ValueTaskAwaiter`1 '<>u__1' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.method public hidebysig specialname rtspecialname -instance void .ctor() cil managed -{ -.maxstack 8 -IL_0000: ldarg.0 -IL_0001: call instance void [System.Runtime]System.Object::.ctor() -IL_0006: nop -IL_0007: ret -} -.method private hidebysig newslot virtual final -instance void MoveNext() cil managed -{ -.override [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext -.maxstack 3 -.locals init (int32 V_0, -int32 V_1, -valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ValueTaskAwaiter`1 V_2, -valuetype [System.Threading.Tasks.Extensions]System.Threading.Tasks.ValueTask`1 V_3, -class Example/'d__15' V_4, -class [System.Runtime]System.Exception V_5) -IL_0000: ldarg.0 -IL_0001: ldfld int32 Example/'d__15'::'<>1__state' -IL_0006: stloc.0 -.try -{ -IL_0007: ldloc.0 -IL_0008: brfalse.s IL_000c -IL_000a: br.s IL_000e -IL_000c: br.s IL_0052 -IL_000e: nop -IL_000f: ldc.i4.s 10 -IL_0011: call class [System.Runtime]System.Threading.Tasks.Task`1 [System.Runtime]System.Threading.Tasks.Task::FromResult(!!0) -IL_0016: newobj instance void valuetype [System.Threading.Tasks.Extensions]System.Threading.Tasks.ValueTask`1::.ctor(class [System.Runtime]System.Threading.Tasks.Task`1) -IL_001b: stloc.3 -IL_001c: ldloca.s V_3 -IL_001e: call instance valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ValueTaskAwaiter`1 valuetype [System.Threading.Tasks.Extensions]System.Threading.Tasks.ValueTask`1::GetAwaiter() -IL_0023: stloc.2 -IL_0024: ldloca.s V_2 -IL_0026: call instance bool valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ValueTaskAwaiter`1::get_IsCompleted() -IL_002b: brtrue.s IL_006e -IL_002d: ldarg.0 -IL_002e: ldc.i4.0 -IL_002f: dup -IL_0030: stloc.0 -IL_0031: stfld int32 Example/'d__15'::'<>1__state' -IL_0036: ldarg.0 -IL_0037: ldloc.2 -IL_0038: stfld valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ValueTaskAwaiter`1 Example/'d__15'::'<>u__1' -IL_003d: ldarg.0 -IL_003e: stloc.s V_4 -IL_0040: ldarg.0 -IL_0041: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__15'::'<>t__builder' -IL_0046: ldloca.s V_2 -IL_0048: ldloca.s V_4 -IL_004a: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::AwaitUnsafeOnCompleted,class Example/'d__15'>(!!0&, -!!1&) -IL_004f: nop -IL_0050: leave.s IL_00bf -IL_0052: ldarg.0 -IL_0053: ldfld valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ValueTaskAwaiter`1 Example/'d__15'::'<>u__1' -IL_0058: stloc.2 -IL_0059: ldarg.0 -IL_005a: ldflda valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ValueTaskAwaiter`1 Example/'d__15'::'<>u__1' -IL_005f: initobj valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ValueTaskAwaiter`1 -IL_0065: ldarg.0 -IL_0066: ldc.i4.m1 -IL_0067: dup -IL_0068: stloc.0 -IL_0069: stfld int32 Example/'d__15'::'<>1__state' -IL_006e: ldarg.0 -IL_006f: ldloca.s V_2 -IL_0071: call instance !0 valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ValueTaskAwaiter`1::GetResult() -IL_0076: stfld int32 Example/'d__15'::'<>s__2' -IL_007b: ldarg.0 -IL_007c: ldarg.0 -IL_007d: ldfld int32 Example/'d__15'::'<>s__2' -IL_0082: stfld int32 Example/'d__15'::'5__1' -IL_0087: ldarg.0 -IL_0088: ldfld int32 Example/'d__15'::'5__1' -IL_008d: stloc.1 -IL_008e: leave.s IL_00aa -} // end .try -catch [System.Runtime]System.Exception -{ -IL_0090: stloc.s V_5 -IL_0092: ldarg.0 -IL_0093: ldc.i4.s -2 -IL_0095: stfld int32 Example/'d__15'::'<>1__state' -IL_009a: ldarg.0 -IL_009b: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__15'::'<>t__builder' -IL_00a0: ldloc.s V_5 -IL_00a2: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetException(class [System.Runtime]System.Exception) -IL_00a7: nop -IL_00a8: leave.s IL_00bf -} // end handler -IL_00aa: ldarg.0 -IL_00ab: ldc.i4.s -2 -IL_00ad: stfld int32 Example/'d__15'::'<>1__state' -IL_00b2: ldarg.0 -IL_00b3: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__15'::'<>t__builder' -IL_00b8: ldloc.1 -IL_00b9: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetResult(!0) -IL_00be: nop -IL_00bf: ret -} -.method private hidebysig newslot virtual final -instance void SetStateMachine(class [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed -{ -.param [1] -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.override [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine -.maxstack 8 -IL_0000: ret -} -} -.class auto ansi sealed nested private beforefieldinit 'd__4' -extends [System.Runtime]System.Object -implements [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine -{ -.interfaceimpl type [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field public int32 '<>1__state' -.field public valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 '<>t__builder' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field public class Example '<>4__this' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field private int32 '5__1' -.field private int32 '<>s__2' -.field private valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter '<>u__1' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.method public hidebysig specialname rtspecialname -instance void .ctor() cil managed -{ -.maxstack 8 -IL_0000: ldarg.0 -IL_0001: call instance void [System.Runtime]System.Object::.ctor() -IL_0006: nop -IL_0007: ret -} -.method private hidebysig newslot virtual final -instance void MoveNext() cil managed -{ -.override [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext -.maxstack 3 -.locals init (int32 V_0, -int32 V_1, -valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter V_2, -valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1 V_3, -class Example/'d__4' V_4, -class [System.Runtime]System.Exception V_5) -IL_0000: ldarg.0 -IL_0001: ldfld int32 Example/'d__4'::'<>1__state' -IL_0006: stloc.0 -.try -{ -IL_0007: ldloc.0 -IL_0008: brfalse.s IL_000c -IL_000a: br.s IL_000e -IL_000c: br.s IL_0053 -IL_000e: nop -IL_000f: ldc.i4.s 10 -IL_0011: call class [System.Runtime]System.Threading.Tasks.Task`1 [System.Runtime]System.Threading.Tasks.Task::FromResult(!!0) -IL_0016: ldc.i4.0 -IL_0017: callvirt instance valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1 class [System.Private.CoreLib]System.Threading.Tasks.Task`1::ConfigureAwait(bool) -IL_001c: stloc.3 -IL_001d: ldloca.s V_3 -IL_001f: call instance valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1::GetAwaiter() -IL_0024: stloc.2 -IL_0025: ldloca.s V_2 -IL_0027: call instance bool valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter::get_IsCompleted() -IL_002c: brtrue.s IL_006f -IL_002e: ldarg.0 -IL_002f: ldc.i4.0 -IL_0030: dup -IL_0031: stloc.0 -IL_0032: stfld int32 Example/'d__4'::'<>1__state' -IL_0037: ldarg.0 -IL_0038: ldloc.2 -IL_0039: stfld valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter Example/'d__4'::'<>u__1' -IL_003e: ldarg.0 -IL_003f: stloc.s V_4 -IL_0041: ldarg.0 -IL_0042: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__4'::'<>t__builder' -IL_0047: ldloca.s V_2 -IL_0049: ldloca.s V_4 -IL_004b: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::AwaitUnsafeOnCompleted,class Example/'d__4'>(!!0&, -!!1&) -IL_0050: nop -IL_0051: leave.s IL_00c0 -IL_0053: ldarg.0 -IL_0054: ldfld valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter Example/'d__4'::'<>u__1' -IL_0059: stloc.2 -IL_005a: ldarg.0 -IL_005b: ldflda valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter Example/'d__4'::'<>u__1' -IL_0060: initobj valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter -IL_0066: ldarg.0 -IL_0067: ldc.i4.m1 -IL_0068: dup -IL_0069: stloc.0 -IL_006a: stfld int32 Example/'d__4'::'<>1__state' -IL_006f: ldarg.0 -IL_0070: ldloca.s V_2 -IL_0072: call instance !0 valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter::GetResult() -IL_0077: stfld int32 Example/'d__4'::'<>s__2' -IL_007c: ldarg.0 -IL_007d: ldarg.0 -IL_007e: ldfld int32 Example/'d__4'::'<>s__2' -IL_0083: stfld int32 Example/'d__4'::'5__1' -IL_0088: ldarg.0 -IL_0089: ldfld int32 Example/'d__4'::'5__1' -IL_008e: stloc.1 -IL_008f: leave.s IL_00ab -} // end .try -catch [System.Runtime]System.Exception -{ -IL_0091: stloc.s V_5 -IL_0093: ldarg.0 -IL_0094: ldc.i4.s -2 -IL_0096: stfld int32 Example/'d__4'::'<>1__state' -IL_009b: ldarg.0 -IL_009c: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__4'::'<>t__builder' -IL_00a1: ldloc.s V_5 -IL_00a3: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetException(class [System.Runtime]System.Exception) -IL_00a8: nop -IL_00a9: leave.s IL_00c0 -} // end handler -IL_00ab: ldarg.0 -IL_00ac: ldc.i4.s -2 -IL_00ae: stfld int32 Example/'d__4'::'<>1__state' -IL_00b3: ldarg.0 -IL_00b4: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__4'::'<>t__builder' -IL_00b9: ldloc.1 -IL_00ba: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetResult(!0) -IL_00bf: nop -IL_00c0: ret -} -.method private hidebysig newslot virtual final -instance void SetStateMachine(class [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed -{ -.param [1] -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.override [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine -.maxstack 8 -IL_0000: ret -} -} -.class auto ansi sealed nested private beforefieldinit 'd__16' -extends [System.Runtime]System.Object -implements [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine -{ -.interfaceimpl type [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field public int32 '<>1__state' -.field public valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 '<>t__builder' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field public class Example '<>4__this' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field private int32 '5__1' -.field private int32 '<>s__2' -.field private valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1/ConfiguredValueTaskAwaiter '<>u__1' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.method public hidebysig specialname rtspecialname -instance void .ctor() cil managed -{ -.maxstack 8 -IL_0000: ldarg.0 -IL_0001: call instance void [System.Runtime]System.Object::.ctor() -IL_0006: nop -IL_0007: ret -} -.method private hidebysig newslot virtual final -instance void MoveNext() cil managed -{ -.override [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext -.maxstack 3 -.locals init (int32 V_0, -int32 V_1, -valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1/ConfiguredValueTaskAwaiter V_2, -valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1 V_3, -valuetype [System.Threading.Tasks.Extensions]System.Threading.Tasks.ValueTask`1 V_4, -class Example/'d__16' V_5, -class [System.Runtime]System.Exception V_6) -IL_0000: ldarg.0 -IL_0001: ldfld int32 Example/'d__16'::'<>1__state' -IL_0006: stloc.0 -.try -{ -IL_0007: ldloc.0 -IL_0008: brfalse.s IL_000c -IL_000a: br.s IL_000e -IL_000c: br.s IL_005c -IL_000e: nop -IL_000f: ldc.i4.s 10 -IL_0011: call class [System.Runtime]System.Threading.Tasks.Task`1 [System.Runtime]System.Threading.Tasks.Task::FromResult(!!0) -IL_0016: call instance void valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1::.ctor(valuetype [System.Private.CoreLib]System.Threading.Tasks.ValueTask`1&) -IL_001b: stloc.s V_4 -IL_001d: ldloca.s V_4 -IL_001f: ldc.i4.0 -IL_0020: callvirt instance valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1 valuetype [System.Private.CoreLib]System.Threading.Tasks.ValueTask`1::ConfigureAwait(bool) -IL_0025: stloc.3 -IL_0026: ldloca.s V_3 -IL_0028: call instance valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1/ConfiguredValueTaskAwaiter valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1::GetAwaiter() -IL_002d: stloc.2 -IL_002e: ldloca.s V_2 -IL_0030: call instance bool valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1/ConfiguredValueTaskAwaiter::get_IsCompleted() -IL_0035: brtrue.s IL_0078 -IL_0037: ldarg.0 -IL_0038: ldc.i4.0 -IL_0039: dup -IL_003a: stloc.0 -IL_003b: stfld int32 Example/'d__16'::'<>1__state' -IL_0040: ldarg.0 -IL_0041: ldloc.2 -IL_0042: stfld valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1/ConfiguredValueTaskAwaiter Example/'d__16'::'<>u__1' -IL_0047: ldarg.0 -IL_0048: stloc.s V_5 -IL_004a: ldarg.0 -IL_004b: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__16'::'<>t__builder' -IL_0050: ldloca.s V_2 -IL_0052: ldloca.s V_5 -IL_0054: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::AwaitUnsafeOnCompleted,class Example/'d__16'>(!!0&, -!!1&) -IL_0059: nop -IL_005a: leave.s IL_00c9 -IL_005c: ldarg.0 -IL_005d: ldfld valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1/ConfiguredValueTaskAwaiter Example/'d__16'::'<>u__1' -IL_0062: stloc.2 -IL_0063: ldarg.0 -IL_0064: ldflda valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1/ConfiguredValueTaskAwaiter Example/'d__16'::'<>u__1' -IL_0069: initobj valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1/ConfiguredValueTaskAwaiter -IL_006f: ldarg.0 -IL_0070: ldc.i4.m1 -IL_0071: dup -IL_0072: stloc.0 -IL_0073: stfld int32 Example/'d__16'::'<>1__state' -IL_0078: ldarg.0 -IL_0079: ldloca.s V_2 -IL_007b: call instance !0 valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1/ConfiguredValueTaskAwaiter::GetResult() -IL_0080: stfld int32 Example/'d__16'::'<>s__2' -IL_0085: ldarg.0 -IL_0086: ldarg.0 -IL_0087: ldfld int32 Example/'d__16'::'<>s__2' -IL_008c: stfld int32 Example/'d__16'::'5__1' -IL_0091: ldarg.0 -IL_0092: ldfld int32 Example/'d__16'::'5__1' -IL_0097: stloc.1 -IL_0098: leave.s IL_00b4 -} // end .try -catch [System.Runtime]System.Exception -{ -IL_009a: stloc.s V_6 -IL_009c: ldarg.0 -IL_009d: ldc.i4.s -2 -IL_009f: stfld int32 Example/'d__16'::'<>1__state' -IL_00a4: ldarg.0 -IL_00a5: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__16'::'<>t__builder' -IL_00aa: ldloc.s V_6 -IL_00ac: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetException(class [System.Runtime]System.Exception) -IL_00b1: nop -IL_00b2: leave.s IL_00c9 -} // end handler -IL_00b4: ldarg.0 -IL_00b5: ldc.i4.s -2 -IL_00b7: stfld int32 Example/'d__16'::'<>1__state' -IL_00bc: ldarg.0 -IL_00bd: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__16'::'<>t__builder' -IL_00c2: ldloc.1 -IL_00c3: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetResult(!0) -IL_00c8: nop -IL_00c9: ret -} -.method private hidebysig newslot virtual final -instance void SetStateMachine(class [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed -{ -.param [1] -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.override [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine -.maxstack 8 -IL_0000: ret -} -} -.class auto ansi sealed nested private beforefieldinit 'd__5' -extends [System.Runtime]System.Object -implements [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine -{ -.interfaceimpl type [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field public int32 '<>1__state' -.field public valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 '<>t__builder' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field public class Example '<>4__this' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field private int32 '5__1' -.field private int32 '<>s__2' -.field private valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter '<>u__1' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.method public hidebysig specialname rtspecialname -instance void .ctor() cil managed -{ -.maxstack 8 -IL_0000: ldarg.0 -IL_0001: call instance void [System.Runtime]System.Object::.ctor() -IL_0006: nop -IL_0007: ret -} -.method private hidebysig newslot virtual final -instance void MoveNext() cil managed -{ -.override [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext -.maxstack 3 -.locals init (int32 V_0, -int32 V_1, -valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter V_2, -valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1 V_3, -class Example/'d__5' V_4, -class [System.Runtime]System.Exception V_5) -IL_0000: ldarg.0 -IL_0001: ldfld int32 Example/'d__5'::'<>1__state' -IL_0006: stloc.0 -.try -{ -IL_0007: ldloc.0 -IL_0008: brfalse.s IL_000c -IL_000a: br.s IL_000e -IL_000c: br.s IL_0053 -IL_000e: nop -IL_000f: ldc.i4.s 10 -IL_0011: call class [System.Runtime]System.Threading.Tasks.Task`1 [System.Runtime]System.Threading.Tasks.Task::FromResult(!!0) -IL_0016: ldc.i4.0 -IL_0017: callvirt instance valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1 class [System.Runtime]System.Threading.Tasks.Task`1::ConfigureAwait(bool) -IL_001c: stloc.3 -IL_001d: ldloca.s V_3 -IL_001f: call instance valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1::GetAwaiter() -IL_0024: stloc.2 -IL_0025: ldloca.s V_2 -IL_0027: call instance bool valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter::get_IsCompleted() -IL_002c: brtrue.s IL_006f -IL_002e: ldarg.0 -IL_002f: ldc.i4.0 -IL_0030: dup -IL_0031: stloc.0 -IL_0032: stfld int32 Example/'d__5'::'<>1__state' -IL_0037: ldarg.0 -IL_0038: ldloc.2 -IL_0039: stfld valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter Example/'d__5'::'<>u__1' -IL_003e: ldarg.0 -IL_003f: stloc.s V_4 -IL_0041: ldarg.0 -IL_0042: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__5'::'<>t__builder' -IL_0047: ldloca.s V_2 -IL_0049: ldloca.s V_4 -IL_004b: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::AwaitUnsafeOnCompleted,class Example/'d__5'>(!!0&, -!!1&) -IL_0050: nop -IL_0051: leave.s IL_00c0 -IL_0053: ldarg.0 -IL_0054: ldfld valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter Example/'d__5'::'<>u__1' -IL_0059: stloc.2 -IL_005a: ldarg.0 -IL_005b: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter Example/'d__5'::'<>u__1' -IL_0060: initobj valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter -IL_0066: ldarg.0 -IL_0067: ldc.i4.m1 -IL_0068: dup -IL_0069: stloc.0 -IL_006a: stfld int32 Example/'d__5'::'<>1__state' -IL_006f: ldarg.0 -IL_0070: ldloca.s V_2 -IL_0072: call instance !0 valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter::GetResult() -IL_0077: stfld int32 Example/'d__5'::'<>s__2' -IL_007c: ldarg.0 -IL_007d: ldarg.0 -IL_007e: ldfld int32 Example/'d__5'::'<>s__2' -IL_0083: stfld int32 Example/'d__5'::'5__1' -IL_0088: ldarg.0 -IL_0089: ldfld int32 Example/'d__5'::'5__1' -IL_008e: stloc.1 -IL_008f: leave.s IL_00ab -} // end .try -catch [System.Runtime]System.Exception -{ -IL_0091: stloc.s V_5 -IL_0093: ldarg.0 -IL_0094: ldc.i4.s -2 -IL_0096: stfld int32 Example/'d__5'::'<>1__state' -IL_009b: ldarg.0 -IL_009c: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__5'::'<>t__builder' -IL_00a1: ldloc.s V_5 -IL_00a3: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetException(class [System.Runtime]System.Exception) -IL_00a8: nop -IL_00a9: leave.s IL_00c0 -} // end handler -IL_00ab: ldarg.0 -IL_00ac: ldc.i4.s -2 -IL_00ae: stfld int32 Example/'d__5'::'<>1__state' -IL_00b3: ldarg.0 -IL_00b4: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__5'::'<>t__builder' -IL_00b9: ldloc.1 -IL_00ba: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetResult(!0) -IL_00bf: nop -IL_00c0: ret -} -.method private hidebysig newslot virtual final -instance void SetStateMachine(class [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed -{ -.param [1] -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.override [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine -.maxstack 8 -IL_0000: ret -} -} -.class auto ansi sealed nested private beforefieldinit 'd__17' -extends [System.Runtime]System.Object -implements [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine -{ -.interfaceimpl type [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field public int32 '<>1__state' -.field public valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 '<>t__builder' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field public class Example '<>4__this' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field private int32 '5__1' -.field private int32 '<>s__2' -.field private valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1/ConfiguredValueTaskAwaiter '<>u__1' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.method public hidebysig specialname rtspecialname -instance void .ctor() cil managed -{ -.maxstack 8 -IL_0000: ldarg.0 -IL_0001: call instance void [System.Runtime]System.Object::.ctor() -IL_0006: nop -IL_0007: ret -} -.method private hidebysig newslot virtual final -instance void MoveNext() cil managed -{ -.override [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext -.maxstack 3 -.locals init (int32 V_0, -int32 V_1, -valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1/ConfiguredValueTaskAwaiter V_2, -valuetype [System.Threading.Tasks.Extensions]System.Threading.Tasks.ValueTask`1 V_3, -valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1 V_4, -class Example/'d__17' V_5, -class [System.Runtime]System.Exception V_6) -IL_0000: ldarg.0 -IL_0001: ldfld int32 Example/'d__17'::'<>1__state' -IL_0006: stloc.0 -.try -{ -IL_0007: ldloc.0 -IL_0008: brfalse.s IL_000c -IL_000a: br.s IL_000e -IL_000c: br.s IL_005c -IL_000e: nop -IL_000f: ldc.i4.s 10 -IL_0011: call class [System.Runtime]System.Threading.Tasks.Task`1 [System.Runtime]System.Threading.Tasks.Task::FromResult(!!0) -IL_0016: newobj instance void valuetype [System.Threading.Tasks.Extensions]System.Threading.Tasks.ValueTask`1::.ctor(class [System.Runtime]System.Threading.Tasks.Task`1) -IL_001b: stloc.3 -IL_001c: ldloca.s V_3 -IL_001e: ldc.i4.0 -IL_001f: call instance valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1 valuetype [System.Threading.Tasks.Extensions]System.Threading.Tasks.ValueTask`1::ConfigureAwait(bool) -IL_0024: stloc.s V_4 -IL_0026: ldloca.s V_4 -IL_0028: call instance valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1/ConfiguredValueTaskAwaiter valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1::GetAwaiter() -IL_002d: stloc.2 -IL_002e: ldloca.s V_2 -IL_0030: call instance bool valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1/ConfiguredValueTaskAwaiter::get_IsCompleted() -IL_0035: brtrue.s IL_0078 -IL_0037: ldarg.0 -IL_0038: ldc.i4.0 -IL_0039: dup -IL_003a: stloc.0 -IL_003b: stfld int32 Example/'d__17'::'<>1__state' -IL_0040: ldarg.0 -IL_0041: ldloc.2 -IL_0042: stfld valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1/ConfiguredValueTaskAwaiter Example/'d__17'::'<>u__1' -IL_0047: ldarg.0 -IL_0048: stloc.s V_5 -IL_004a: ldarg.0 -IL_004b: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__17'::'<>t__builder' -IL_0050: ldloca.s V_2 -IL_0052: ldloca.s V_5 -IL_0054: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::AwaitUnsafeOnCompleted,class Example/'d__17'>(!!0&, -!!1&) -IL_0059: nop -IL_005a: leave.s IL_00c9 -IL_005c: ldarg.0 -IL_005d: ldfld valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1/ConfiguredValueTaskAwaiter Example/'d__17'::'<>u__1' -IL_0062: stloc.2 -IL_0063: ldarg.0 -IL_0064: ldflda valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1/ConfiguredValueTaskAwaiter Example/'d__17'::'<>u__1' -IL_0069: initobj valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1/ConfiguredValueTaskAwaiter -IL_006f: ldarg.0 -IL_0070: ldc.i4.m1 -IL_0071: dup -IL_0072: stloc.0 -IL_0073: stfld int32 Example/'d__17'::'<>1__state' -IL_0078: ldarg.0 -IL_0079: ldloca.s V_2 -IL_007b: call instance !0 valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1/ConfiguredValueTaskAwaiter::GetResult() -IL_0080: stfld int32 Example/'d__17'::'<>s__2' -IL_0085: ldarg.0 -IL_0086: ldarg.0 -IL_0087: ldfld int32 Example/'d__17'::'<>s__2' -IL_008c: stfld int32 Example/'d__17'::'5__1' -IL_0091: ldarg.0 -IL_0092: ldfld int32 Example/'d__17'::'5__1' -IL_0097: stloc.1 -IL_0098: leave.s IL_00b4 -} // end .try -catch [System.Runtime]System.Exception -{ -IL_009a: stloc.s V_6 -IL_009c: ldarg.0 -IL_009d: ldc.i4.s -2 -IL_009f: stfld int32 Example/'d__17'::'<>1__state' -IL_00a4: ldarg.0 -IL_00a5: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__17'::'<>t__builder' -IL_00aa: ldloc.s V_6 -IL_00ac: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetException(class [System.Runtime]System.Exception) -IL_00b1: nop -IL_00b2: leave.s IL_00c9 -} // end handler -IL_00b4: ldarg.0 -IL_00b5: ldc.i4.s -2 -IL_00b7: stfld int32 Example/'d__17'::'<>1__state' -IL_00bc: ldarg.0 -IL_00bd: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__17'::'<>t__builder' -IL_00c2: ldloc.1 -IL_00c3: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetResult(!0) -IL_00c8: nop -IL_00c9: ret -} -.method private hidebysig newslot virtual final -instance void SetStateMachine(class [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed -{ -.param [1] -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.override [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine -.maxstack 8 -IL_0000: ret -} -} -.class auto ansi sealed nested private beforefieldinit 'd__6' -extends [System.Runtime]System.Object -implements [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine -{ -.interfaceimpl type [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field public int32 '<>1__state' -.field public valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 '<>t__builder' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field public class Example '<>4__this' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field private int32 '5__1' -.field private int32 '5__2' -.field private int32 '<>s__3' -.field private int32 '5__4' -.field private int32 '<>s__5' -.field private int32 '<>s__6' -.field private valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter`1 '<>u__1' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field private valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter '<>u__2' -.method public hidebysig specialname rtspecialname -instance void .ctor() cil managed -{ -.maxstack 8 -IL_0000: ldarg.0 -IL_0001: call instance void [System.Runtime]System.Object::.ctor() -IL_0006: nop -IL_0007: ret -} -.method private hidebysig newslot virtual final -instance void MoveNext() cil managed -{ -.override [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext -.maxstack 3 -.locals init (int32 V_0, -int32 V_1, -valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter`1 V_2, -class Example/'d__6' V_3, -valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter V_4, -valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter`1 V_5, -int32 V_6, -bool V_7, -class [System.Runtime]System.Exception V_8) -IL_0000: ldarg.0 -IL_0001: ldfld int32 Example/'d__6'::'<>1__state' -IL_0006: stloc.0 -.try -{ -IL_0007: ldloc.0 -IL_0008: switch ( -IL_001b, -IL_001d, -IL_0022) -IL_0019: br.s IL_0027 -IL_001b: br.s IL_0065 -IL_001d: br IL_00ec -IL_0022: br IL_0160 -IL_0027: nop -IL_0028: ldc.i4.s 10 -IL_002a: call class [System.Runtime]System.Threading.Tasks.Task`1 [System.Runtime]System.Threading.Tasks.Task::FromResult(!!0) -IL_002f: callvirt instance valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter`1 class [System.Runtime]System.Threading.Tasks.Task`1::GetAwaiter() -IL_0034: stloc.2 -IL_0035: ldloca.s V_2 -IL_0037: call instance bool valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter`1::get_IsCompleted() -IL_003c: brtrue.s IL_0081 -IL_003e: ldarg.0 -IL_003f: ldc.i4.0 -IL_0040: dup -IL_0041: stloc.0 -IL_0042: stfld int32 Example/'d__6'::'<>1__state' -IL_0047: ldarg.0 -IL_0048: ldloc.2 -IL_0049: stfld valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter`1 Example/'d__6'::'<>u__1' -IL_004e: ldarg.0 -IL_004f: stloc.3 -IL_0050: ldarg.0 -IL_0051: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__6'::'<>t__builder' -IL_0056: ldloca.s V_2 -IL_0058: ldloca.s V_3 -IL_005a: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::AwaitUnsafeOnCompleted,class Example/'d__6'>(!!0&, -!!1&) -IL_005f: nop -IL_0060: leave IL_01ff -IL_0065: ldarg.0 -IL_0066: ldfld valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter`1 Example/'d__6'::'<>u__1' -IL_006b: stloc.2 -IL_006c: ldarg.0 -IL_006d: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter`1 Example/'d__6'::'<>u__1' -IL_0072: initobj valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter`1 -IL_0078: ldarg.0 -IL_0079: ldc.i4.m1 -IL_007a: dup -IL_007b: stloc.0 -IL_007c: stfld int32 Example/'d__6'::'<>1__state' -IL_0081: ldarg.0 -IL_0082: ldloca.s V_2 -IL_0084: call instance !0 valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter`1::GetResult() -IL_0089: stfld int32 Example/'d__6'::'<>s__3' -IL_008e: ldarg.0 -IL_008f: ldarg.0 -IL_0090: ldfld int32 Example/'d__6'::'<>s__3' -IL_0095: stfld int32 Example/'d__6'::'5__1' -IL_009a: ldarg.0 -IL_009b: ldc.i4.0 -IL_009c: stfld int32 Example/'d__6'::'5__2' -IL_00a1: ldarg.0 -IL_00a2: ldc.i4.0 -IL_00a3: stfld int32 Example/'d__6'::'5__4' -IL_00a8: br IL_01b0 -IL_00ad: nop -IL_00ae: ldc.i4.1 -IL_00af: call class [System.Runtime]System.Threading.Tasks.Task [System.Runtime]System.Threading.Tasks.Task::Delay(int32) -IL_00b4: callvirt instance valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter [System.Runtime]System.Threading.Tasks.Task::GetAwaiter() -IL_00b9: stloc.s V_4 -IL_00bb: ldloca.s V_4 -IL_00bd: call instance bool [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter::get_IsCompleted() -IL_00c2: brtrue.s IL_0109 -IL_00c4: ldarg.0 -IL_00c5: ldc.i4.1 -IL_00c6: dup -IL_00c7: stloc.0 -IL_00c8: stfld int32 Example/'d__6'::'<>1__state' -IL_00cd: ldarg.0 -IL_00ce: ldloc.s V_4 -IL_00d0: stfld valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter Example/'d__6'::'<>u__2' -IL_00d5: ldarg.0 -IL_00d6: stloc.3 -IL_00d7: ldarg.0 -IL_00d8: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__6'::'<>t__builder' -IL_00dd: ldloca.s V_4 -IL_00df: ldloca.s V_3 -IL_00e1: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::AwaitUnsafeOnCompletedd__6'>(!!0&, -!!1&) -IL_00e6: nop -IL_00e7: leave IL_01ff -IL_00ec: ldarg.0 -IL_00ed: ldfld valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter Example/'d__6'::'<>u__2' -IL_00f2: stloc.s V_4 -IL_00f4: ldarg.0 -IL_00f5: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter Example/'d__6'::'<>u__2' -IL_00fa: initobj [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter -IL_0100: ldarg.0 -IL_0101: ldc.i4.m1 -IL_0102: dup -IL_0103: stloc.0 -IL_0104: stfld int32 Example/'d__6'::'<>1__state' -IL_0109: ldloca.s V_4 -IL_010b: call instance void [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter::GetResult() -IL_0110: nop -IL_0111: ldarg.0 -IL_0112: ldarg.0 -IL_0113: ldfld int32 Example/'d__6'::'5__2' -IL_0118: stfld int32 Example/'d__6'::'<>s__5' -IL_011d: ldarg.0 -IL_011e: ldfld int32 Example/'d__6'::'5__4' -IL_0123: call class [System.Runtime]System.Threading.Tasks.Task`1 [System.Runtime]System.Threading.Tasks.Task::FromResult(!!0) -IL_0128: callvirt instance valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter`1 class [System.Runtime]System.Threading.Tasks.Task`1::GetAwaiter() -IL_012d: stloc.s V_5 -IL_012f: ldloca.s V_5 -IL_0131: call instance bool valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter`1::get_IsCompleted() -IL_0136: brtrue.s IL_017d -IL_0138: ldarg.0 -IL_0139: ldc.i4.2 -IL_013a: dup -IL_013b: stloc.0 -IL_013c: stfld int32 Example/'d__6'::'<>1__state' -IL_0141: ldarg.0 -IL_0142: ldloc.s V_5 -IL_0144: stfld valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter`1 Example/'d__6'::'<>u__1' -IL_0149: ldarg.0 -IL_014a: stloc.3 -IL_014b: ldarg.0 -IL_014c: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__6'::'<>t__builder' -IL_0151: ldloca.s V_5 -IL_0153: ldloca.s V_3 -IL_0155: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::AwaitUnsafeOnCompleted,class Example/'d__6'>(!!0&, -!!1&) -IL_015a: nop -IL_015b: leave IL_01ff -IL_0160: ldarg.0 -IL_0161: ldfld valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter`1 Example/'d__6'::'<>u__1' -IL_0166: stloc.s V_5 -IL_0168: ldarg.0 -IL_0169: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter`1 Example/'d__6'::'<>u__1' -IL_016e: initobj valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter`1 -IL_0174: ldarg.0 -IL_0175: ldc.i4.m1 -IL_0176: dup -IL_0177: stloc.0 -IL_0178: stfld int32 Example/'d__6'::'<>1__state' -IL_017d: ldarg.0 -IL_017e: ldloca.s V_5 -IL_0180: call instance !0 valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter`1::GetResult() -IL_0185: stfld int32 Example/'d__6'::'<>s__6' -IL_018a: ldarg.0 -IL_018b: ldarg.0 -IL_018c: ldfld int32 Example/'d__6'::'<>s__5' -IL_0191: ldarg.0 -IL_0192: ldfld int32 Example/'d__6'::'<>s__6' -IL_0197: add -IL_0198: stfld int32 Example/'d__6'::'5__2' -IL_019d: nop -IL_019e: ldarg.0 -IL_019f: ldfld int32 Example/'d__6'::'5__4' -IL_01a4: stloc.s V_6 -IL_01a6: ldarg.0 -IL_01a7: ldloc.s V_6 -IL_01a9: ldc.i4.1 -IL_01aa: add -IL_01ab: stfld int32 Example/'d__6'::'5__4' -IL_01b0: ldarg.0 -IL_01b1: ldfld int32 Example/'d__6'::'5__4' -IL_01b6: ldarg.0 -IL_01b7: ldfld int32 Example/'d__6'::'5__1' -IL_01bc: clt -IL_01be: stloc.s V_7 -IL_01c0: ldloc.s V_7 -IL_01c2: brtrue IL_00ad -IL_01c7: ldarg.0 -IL_01c8: ldfld int32 Example/'d__6'::'5__2' -IL_01cd: stloc.1 -IL_01ce: leave.s IL_01ea -} // end .try -catch [System.Runtime]System.Exception -{ -IL_01d0: stloc.s V_8 -IL_01d2: ldarg.0 -IL_01d3: ldc.i4.s -2 -IL_01d5: stfld int32 Example/'d__6'::'<>1__state' -IL_01da: ldarg.0 -IL_01db: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__6'::'<>t__builder' -IL_01e0: ldloc.s V_8 -IL_01e2: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetException(class [System.Runtime]System.Exception) -IL_01e7: nop -IL_01e8: leave.s IL_01ff -} // end handler -IL_01ea: ldarg.0 -IL_01eb: ldc.i4.s -2 -IL_01ed: stfld int32 Example/'d__6'::'<>1__state' -IL_01f2: ldarg.0 -IL_01f3: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__6'::'<>t__builder' -IL_01f8: ldloc.1 -IL_01f9: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetResult(!0) -IL_01fe: nop -IL_01ff: ret -} -.method private hidebysig newslot virtual final -instance void SetStateMachine(class [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed -{ -.param [1] -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.override [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine -.maxstack 8 -IL_0000: ret -} -} -.class auto ansi sealed nested private beforefieldinit 'd__18' -extends [System.Runtime]System.Object -implements [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine -{ -.interfaceimpl type [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field public int32 '<>1__state' -.field public valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 '<>t__builder' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field public class Example '<>4__this' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field private int32 '5__1' -.field private int32 '5__2' -.field private int32 '<>s__3' -.field private int32 '5__4' -.field private int32 '<>s__5' -.field private int32 '<>s__6' -.field private valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ValueTaskAwaiter`1 '<>u__1' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field private valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter '<>u__2' -.field private valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter`1 '<>u__3' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.method public hidebysig specialname rtspecialname -instance void .ctor() cil managed -{ -.maxstack 8 -IL_0000: ldarg.0 -IL_0001: call instance void [System.Runtime]System.Object::.ctor() -IL_0006: nop -IL_0007: ret -} -.method private hidebysig newslot virtual final -instance void MoveNext() cil managed -{ -.override [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext -.maxstack 3 -.locals init (int32 V_0, -int32 V_1, -valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ValueTaskAwaiter`1 V_2, -valuetype [System.Threading.Tasks.Extensions]System.Threading.Tasks.ValueTask`1 V_3, -class Example/'d__18' V_4, -valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter V_5, -valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter`1 V_6, -int32 V_7, -bool V_8, -class [System.Runtime]System.Exception V_9) -IL_0000: ldarg.0 -IL_0001: ldfld int32 Example/'d__18'::'<>1__state' -IL_0006: stloc.0 -.try -{ -IL_0007: ldloc.0 -IL_0008: switch ( -IL_001b, -IL_001d, -IL_0022) -IL_0019: br.s IL_0027 -IL_001b: br.s IL_006e -IL_001d: br IL_00f6 -IL_0022: br IL_016b -IL_0027: nop -IL_0028: ldc.i4.s 10 -IL_002a: call class [System.Runtime]System.Threading.Tasks.Task`1 [System.Runtime]System.Threading.Tasks.Task::FromResult(!!0) -IL_002f: newobj instance void valuetype [System.Threading.Tasks.Extensions]System.Threading.Tasks.ValueTask`1::.ctor(class [System.Runtime]System.Threading.Tasks.Task`1) -IL_0034: stloc.3 -IL_0035: ldloca.s V_3 -IL_0037: call instance valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ValueTaskAwaiter`1 valuetype [System.Threading.Tasks.Extensions]System.Threading.Tasks.ValueTask`1::GetAwaiter() -IL_003c: stloc.2 -IL_003d: ldloca.s V_2 -IL_003f: call instance bool valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ValueTaskAwaiter`1::get_IsCompleted() -IL_0044: brtrue.s IL_008a -IL_0046: ldarg.0 -IL_0047: ldc.i4.0 -IL_0048: dup -IL_0049: stloc.0 -IL_004a: stfld int32 Example/'d__18'::'<>1__state' -IL_004f: ldarg.0 -IL_0050: ldloc.2 -IL_0051: stfld valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ValueTaskAwaiter`1 Example/'d__18'::'<>u__1' -IL_0056: ldarg.0 -IL_0057: stloc.s V_4 -IL_0059: ldarg.0 -IL_005a: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__18'::'<>t__builder' -IL_005f: ldloca.s V_2 -IL_0061: ldloca.s V_4 -IL_0063: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::AwaitUnsafeOnCompleted,class Example/'d__18'>(!!0&, -!!1&) -IL_0068: nop -IL_0069: leave IL_020a -IL_006e: ldarg.0 -IL_006f: ldfld valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ValueTaskAwaiter`1 Example/'d__18'::'<>u__1' -IL_0074: stloc.2 -IL_0075: ldarg.0 -IL_0076: ldflda valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ValueTaskAwaiter`1 Example/'d__18'::'<>u__1' -IL_007b: initobj valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ValueTaskAwaiter`1 -IL_0081: ldarg.0 -IL_0082: ldc.i4.m1 -IL_0083: dup -IL_0084: stloc.0 -IL_0085: stfld int32 Example/'d__18'::'<>1__state' -IL_008a: ldarg.0 -IL_008b: ldloca.s V_2 -IL_008d: call instance !0 valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ValueTaskAwaiter`1::GetResult() -IL_0092: stfld int32 Example/'d__18'::'<>s__3' -IL_0097: ldarg.0 -IL_0098: ldarg.0 -IL_0099: ldfld int32 Example/'d__18'::'<>s__3' -IL_009e: stfld int32 Example/'d__18'::'5__1' -IL_00a3: ldarg.0 -IL_00a4: ldc.i4.0 -IL_00a5: stfld int32 Example/'d__18'::'5__2' -IL_00aa: ldarg.0 -IL_00ab: ldc.i4.0 -IL_00ac: stfld int32 Example/'d__18'::'5__4' -IL_00b1: br IL_01bb -IL_00b6: nop -IL_00b7: ldc.i4.1 -IL_00b8: call class [System.Runtime]System.Threading.Tasks.Task [System.Runtime]System.Threading.Tasks.Task::Delay(int32) -IL_00bd: callvirt instance valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter [System.Runtime]System.Threading.Tasks.Task::GetAwaiter() -IL_00c2: stloc.s V_5 -IL_00c4: ldloca.s V_5 -IL_00c6: call instance bool [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter::get_IsCompleted() -IL_00cb: brtrue.s IL_0113 -IL_00cd: ldarg.0 -IL_00ce: ldc.i4.1 -IL_00cf: dup -IL_00d0: stloc.0 -IL_00d1: stfld int32 Example/'d__18'::'<>1__state' -IL_00d6: ldarg.0 -IL_00d7: ldloc.s V_5 -IL_00d9: stfld valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter Example/'d__18'::'<>u__2' -IL_00de: ldarg.0 -IL_00df: stloc.s V_4 -IL_00e1: ldarg.0 -IL_00e2: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__18'::'<>t__builder' -IL_00e7: ldloca.s V_5 -IL_00e9: ldloca.s V_4 -IL_00eb: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::AwaitUnsafeOnCompletedd__18'>(!!0&, -!!1&) -IL_00f0: nop -IL_00f1: leave IL_020a -IL_00f6: ldarg.0 -IL_00f7: ldfld valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter Example/'d__18'::'<>u__2' -IL_00fc: stloc.s V_5 -IL_00fe: ldarg.0 -IL_00ff: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter Example/'d__18'::'<>u__2' -IL_0104: initobj [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter -IL_010a: ldarg.0 -IL_010b: ldc.i4.m1 -IL_010c: dup -IL_010d: stloc.0 -IL_010e: stfld int32 Example/'d__18'::'<>1__state' -IL_0113: ldloca.s V_5 -IL_0115: call instance void [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter::GetResult() -IL_011a: nop -IL_011b: ldarg.0 -IL_011c: ldarg.0 -IL_011d: ldfld int32 Example/'d__18'::'5__2' -IL_0122: stfld int32 Example/'d__18'::'<>s__5' -IL_0127: ldarg.0 -IL_0128: ldfld int32 Example/'d__18'::'5__4' -IL_012d: call class [System.Runtime]System.Threading.Tasks.Task`1 [System.Runtime]System.Threading.Tasks.Task::FromResult(!!0) -IL_0132: callvirt instance valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter`1 class [System.Runtime]System.Threading.Tasks.Task`1::GetAwaiter() -IL_0137: stloc.s V_6 -IL_0139: ldloca.s V_6 -IL_013b: call instance bool valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter`1::get_IsCompleted() -IL_0140: brtrue.s IL_0188 -IL_0142: ldarg.0 -IL_0143: ldc.i4.2 -IL_0144: dup -IL_0145: stloc.0 -IL_0146: stfld int32 Example/'d__18'::'<>1__state' -IL_014b: ldarg.0 -IL_014c: ldloc.s V_6 -IL_014e: stfld valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter`1 Example/'d__18'::'<>u__3' -IL_0153: ldarg.0 -IL_0154: stloc.s V_4 -IL_0156: ldarg.0 -IL_0157: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__18'::'<>t__builder' -IL_015c: ldloca.s V_6 -IL_015e: ldloca.s V_4 -IL_0160: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::AwaitUnsafeOnCompleted,class Example/'d__18'>(!!0&, -!!1&) -IL_0165: nop -IL_0166: leave IL_020a -IL_016b: ldarg.0 -IL_016c: ldfld valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter`1 Example/'d__18'::'<>u__3' -IL_0171: stloc.s V_6 -IL_0173: ldarg.0 -IL_0174: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter`1 Example/'d__18'::'<>u__3' -IL_0179: initobj valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter`1 -IL_017f: ldarg.0 -IL_0180: ldc.i4.m1 -IL_0181: dup -IL_0182: stloc.0 -IL_0183: stfld int32 Example/'d__18'::'<>1__state' -IL_0188: ldarg.0 -IL_0189: ldloca.s V_6 -IL_018b: call instance !0 valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter`1::GetResult() -IL_0190: stfld int32 Example/'d__18'::'<>s__6' -IL_0195: ldarg.0 -IL_0196: ldarg.0 -IL_0197: ldfld int32 Example/'d__18'::'<>s__5' -IL_019c: ldarg.0 -IL_019d: ldfld int32 Example/'d__18'::'<>s__6' -IL_01a2: add -IL_01a3: stfld int32 Example/'d__18'::'5__2' -IL_01a8: nop -IL_01a9: ldarg.0 -IL_01aa: ldfld int32 Example/'d__18'::'5__4' -IL_01af: stloc.s V_7 -IL_01b1: ldarg.0 -IL_01b2: ldloc.s V_7 -IL_01b4: ldc.i4.1 -IL_01b5: add -IL_01b6: stfld int32 Example/'d__18'::'5__4' -IL_01bb: ldarg.0 -IL_01bc: ldfld int32 Example/'d__18'::'5__4' -IL_01c1: ldarg.0 -IL_01c2: ldfld int32 Example/'d__18'::'5__1' -IL_01c7: clt -IL_01c9: stloc.s V_8 -IL_01cb: ldloc.s V_8 -IL_01cd: brtrue IL_00b6 -IL_01d2: ldarg.0 -IL_01d3: ldfld int32 Example/'d__18'::'5__2' -IL_01d8: stloc.1 -IL_01d9: leave.s IL_01f5 -} // end .try -catch [System.Runtime]System.Exception -{ -IL_01db: stloc.s V_9 -IL_01dd: ldarg.0 -IL_01de: ldc.i4.s -2 -IL_01e0: stfld int32 Example/'d__18'::'<>1__state' -IL_01e5: ldarg.0 -IL_01e6: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__18'::'<>t__builder' -IL_01eb: ldloc.s V_9 -IL_01ed: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetException(class [System.Runtime]System.Exception) -IL_01f2: nop -IL_01f3: leave.s IL_020a -} // end handler -IL_01f5: ldarg.0 -IL_01f6: ldc.i4.s -2 -IL_01f8: stfld int32 Example/'d__18'::'<>1__state' -IL_01fd: ldarg.0 -IL_01fe: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__18'::'<>t__builder' -IL_0203: ldloc.1 -IL_0204: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetResult(!0) -IL_0209: nop -IL_020a: ret -} -.method private hidebysig newslot virtual final -instance void SetStateMachine(class [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed -{ -.param [1] -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.override [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine -.maxstack 8 -IL_0000: ret -} -} -.class auto ansi sealed nested private beforefieldinit 'd__7' -extends [System.Runtime]System.Object -implements [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine -{ -.interfaceimpl type [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field public int32 '<>1__state' -.field public valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 '<>t__builder' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field public class Example '<>4__this' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field private int32 '5__1' -.field private int32 '5__2' -.field private int32 '<>s__3' -.field private int32 '5__4' -.field private int32 '<>s__5' -.field private int32 '<>s__6' -.field private valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter '<>u__1' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field private valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter '<>u__2' -.method public hidebysig specialname rtspecialname -instance void .ctor() cil managed -{ -.maxstack 8 -IL_0000: ldarg.0 -IL_0001: call instance void [System.Runtime]System.Object::.ctor() -IL_0006: nop -IL_0007: ret -} -.method private hidebysig newslot virtual final -instance void MoveNext() cil managed -{ -.override [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext -.maxstack 3 -.locals init (int32 V_0, -int32 V_1, -valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter V_2, -valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1 V_3, -class Example/'d__7' V_4, -valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable V_5, -valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1 V_6, -valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter V_7, -valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter V_8, -int32 V_9, -bool V_10, -class [System.Runtime]System.Exception V_11) -IL_0000: ldarg.0 -IL_0001: ldfld int32 Example/'d__7'::'<>1__state' -IL_0006: stloc.0 -.try -{ -IL_0007: ldloc.0 -IL_0008: switch ( -IL_001b, -IL_001d, -IL_0022) -IL_0019: br.s IL_0027 -IL_001b: br.s IL_006f -IL_001d: br IL_0101 -IL_0022: br IL_0180 -IL_0027: nop -IL_0028: ldc.i4.s 10 -IL_002a: call class [System.Runtime]System.Threading.Tasks.Task`1 [System.Runtime]System.Threading.Tasks.Task::FromResult(!!0) -IL_002f: ldc.i4.0 -IL_0030: callvirt instance valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1 class [System.Private.CoreLib]System.Threading.Tasks.Task`1::ConfigureAwait(bool) -IL_0035: stloc.3 -IL_0036: ldloca.s V_3 -IL_0038: call instance valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1::GetAwaiter() -IL_003d: stloc.2 -IL_003e: ldloca.s V_2 -IL_0040: call instance bool valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter::get_IsCompleted() -IL_0045: brtrue.s IL_008b -IL_0047: ldarg.0 -IL_0048: ldc.i4.0 -IL_0049: dup -IL_004a: stloc.0 -IL_004b: stfld int32 Example/'d__7'::'<>1__state' -IL_0050: ldarg.0 -IL_0051: ldloc.2 -IL_0052: stfld valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter Example/'d__7'::'<>u__1' -IL_0057: ldarg.0 -IL_0058: stloc.s V_4 -IL_005a: ldarg.0 -IL_005b: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__7'::'<>t__builder' -IL_0060: ldloca.s V_2 -IL_0062: ldloca.s V_4 -IL_0064: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::AwaitUnsafeOnCompleted,class Example/'d__7'>(!!0&, -!!1&) -IL_0069: nop -IL_006a: leave IL_021f -IL_006f: ldarg.0 -IL_0070: ldfld valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter Example/'d__7'::'<>u__1' -IL_0075: stloc.2 -IL_0076: ldarg.0 -IL_0077: ldflda valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter Example/'d__7'::'<>u__1' -IL_007c: initobj valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter -IL_0082: ldarg.0 -IL_0083: ldc.i4.m1 -IL_0084: dup -IL_0085: stloc.0 -IL_0086: stfld int32 Example/'d__7'::'<>1__state' -IL_008b: ldarg.0 -IL_008c: ldloca.s V_2 -IL_008e: call instance !0 valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter::GetResult() -IL_0093: stfld int32 Example/'d__7'::'<>s__3' -IL_0098: ldarg.0 -IL_0099: ldarg.0 -IL_009a: ldfld int32 Example/'d__7'::'<>s__3' -IL_009f: stfld int32 Example/'d__7'::'5__1' -IL_00a4: ldarg.0 -IL_00a5: ldc.i4.0 -IL_00a6: stfld int32 Example/'d__7'::'5__2' -IL_00ab: ldarg.0 -IL_00ac: ldc.i4.0 -IL_00ad: stfld int32 Example/'d__7'::'5__4' -IL_00b2: br IL_01d0 -IL_00b7: nop -IL_00b8: ldc.i4.1 -IL_00b9: call class [System.Runtime]System.Threading.Tasks.Task [System.Runtime]System.Threading.Tasks.Task::Delay(int32) -IL_00be: ldc.i4.0 -IL_00bf: callvirt instance valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable [System.Private.CoreLib]System.Threading.Tasks.Task::ConfigureAwait(bool) -IL_00c4: stloc.s V_5 -IL_00c6: ldloca.s V_5 -IL_00c8: call instance valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable::GetAwaiter() -IL_00cd: stloc.s V_7 -IL_00cf: ldloca.s V_7 -IL_00d1: call instance bool [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter::get_IsCompleted() -IL_00d6: brtrue.s IL_011e -IL_00d8: ldarg.0 -IL_00d9: ldc.i4.1 -IL_00da: dup -IL_00db: stloc.0 -IL_00dc: stfld int32 Example/'d__7'::'<>1__state' -IL_00e1: ldarg.0 -IL_00e2: ldloc.s V_7 -IL_00e4: stfld valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter Example/'d__7'::'<>u__2' -IL_00e9: ldarg.0 -IL_00ea: stloc.s V_4 -IL_00ec: ldarg.0 -IL_00ed: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__7'::'<>t__builder' -IL_00f2: ldloca.s V_7 -IL_00f4: ldloca.s V_4 -IL_00f6: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::AwaitUnsafeOnCompletedd__7'>(!!0&, -!!1&) -IL_00fb: nop -IL_00fc: leave IL_021f -IL_0101: ldarg.0 -IL_0102: ldfld valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter Example/'d__7'::'<>u__2' -IL_0107: stloc.s V_7 -IL_0109: ldarg.0 -IL_010a: ldflda valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter Example/'d__7'::'<>u__2' -IL_010f: initobj [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter -IL_0115: ldarg.0 -IL_0116: ldc.i4.m1 -IL_0117: dup -IL_0118: stloc.0 -IL_0119: stfld int32 Example/'d__7'::'<>1__state' -IL_011e: ldloca.s V_7 -IL_0120: call instance void [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter::GetResult() -IL_0125: nop -IL_0126: ldarg.0 -IL_0127: ldarg.0 -IL_0128: ldfld int32 Example/'d__7'::'5__2' -IL_012d: stfld int32 Example/'d__7'::'<>s__5' -IL_0132: ldarg.0 -IL_0133: ldfld int32 Example/'d__7'::'5__4' -IL_0138: call class [System.Runtime]System.Threading.Tasks.Task`1 [System.Runtime]System.Threading.Tasks.Task::FromResult(!!0) -IL_013d: ldc.i4.0 -IL_013e: callvirt instance valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1 class [System.Private.CoreLib]System.Threading.Tasks.Task`1::ConfigureAwait(bool) -IL_0143: stloc.s V_6 -IL_0145: ldloca.s V_6 -IL_0147: call instance valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1::GetAwaiter() -IL_014c: stloc.s V_8 -IL_014e: ldloca.s V_8 -IL_0150: call instance bool valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter::get_IsCompleted() -IL_0155: brtrue.s IL_019d -IL_0157: ldarg.0 -IL_0158: ldc.i4.2 -IL_0159: dup -IL_015a: stloc.0 -IL_015b: stfld int32 Example/'d__7'::'<>1__state' -IL_0160: ldarg.0 -IL_0161: ldloc.s V_8 -IL_0163: stfld valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter Example/'d__7'::'<>u__1' -IL_0168: ldarg.0 -IL_0169: stloc.s V_4 -IL_016b: ldarg.0 -IL_016c: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__7'::'<>t__builder' -IL_0171: ldloca.s V_8 -IL_0173: ldloca.s V_4 -IL_0175: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::AwaitUnsafeOnCompleted,class Example/'d__7'>(!!0&, -!!1&) -IL_017a: nop -IL_017b: leave IL_021f -IL_0180: ldarg.0 -IL_0181: ldfld valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter Example/'d__7'::'<>u__1' -IL_0186: stloc.s V_8 -IL_0188: ldarg.0 -IL_0189: ldflda valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter Example/'d__7'::'<>u__1' -IL_018e: initobj valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter -IL_0194: ldarg.0 -IL_0195: ldc.i4.m1 -IL_0196: dup -IL_0197: stloc.0 -IL_0198: stfld int32 Example/'d__7'::'<>1__state' -IL_019d: ldarg.0 -IL_019e: ldloca.s V_8 -IL_01a0: call instance !0 valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter::GetResult() -IL_01a5: stfld int32 Example/'d__7'::'<>s__6' -IL_01aa: ldarg.0 -IL_01ab: ldarg.0 -IL_01ac: ldfld int32 Example/'d__7'::'<>s__5' -IL_01b1: ldarg.0 -IL_01b2: ldfld int32 Example/'d__7'::'<>s__6' -IL_01b7: add -IL_01b8: stfld int32 Example/'d__7'::'5__2' -IL_01bd: nop -IL_01be: ldarg.0 -IL_01bf: ldfld int32 Example/'d__7'::'5__4' -IL_01c4: stloc.s V_9 -IL_01c6: ldarg.0 -IL_01c7: ldloc.s V_9 -IL_01c9: ldc.i4.1 -IL_01ca: add -IL_01cb: stfld int32 Example/'d__7'::'5__4' -IL_01d0: ldarg.0 -IL_01d1: ldfld int32 Example/'d__7'::'5__4' -IL_01d6: ldarg.0 -IL_01d7: ldfld int32 Example/'d__7'::'5__1' -IL_01dc: clt -IL_01de: stloc.s V_10 -IL_01e0: ldloc.s V_10 -IL_01e2: brtrue IL_00b7 -IL_01e7: ldarg.0 -IL_01e8: ldfld int32 Example/'d__7'::'5__2' -IL_01ed: stloc.1 -IL_01ee: leave.s IL_020a -} // end .try -catch [System.Runtime]System.Exception -{ -IL_01f0: stloc.s V_11 -IL_01f2: ldarg.0 -IL_01f3: ldc.i4.s -2 -IL_01f5: stfld int32 Example/'d__7'::'<>1__state' -IL_01fa: ldarg.0 -IL_01fb: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__7'::'<>t__builder' -IL_0200: ldloc.s V_11 -IL_0202: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetException(class [System.Runtime]System.Exception) -IL_0207: nop -IL_0208: leave.s IL_021f -} // end handler -IL_020a: ldarg.0 -IL_020b: ldc.i4.s -2 -IL_020d: stfld int32 Example/'d__7'::'<>1__state' -IL_0212: ldarg.0 -IL_0213: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__7'::'<>t__builder' -IL_0218: ldloc.1 -IL_0219: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetResult(!0) -IL_021e: nop -IL_021f: ret -} -.method private hidebysig newslot virtual final -instance void SetStateMachine(class [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed -{ -.param [1] -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.override [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine -.maxstack 8 -IL_0000: ret -} -} -.class auto ansi sealed nested private beforefieldinit 'd__19' -extends [System.Runtime]System.Object -implements [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine -{ -.interfaceimpl type [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field public int32 '<>1__state' -.field public valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 '<>t__builder' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field public class Example '<>4__this' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field private int32 '5__1' -.field private int32 '5__2' -.field private int32 '<>s__3' -.field private int32 '5__4' -.field private int32 '<>s__5' -.field private int32 '<>s__6' -.field private valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1/ConfiguredValueTaskAwaiter '<>u__1' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field private valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter '<>u__2' -.method public hidebysig specialname rtspecialname -instance void .ctor() cil managed -{ -.maxstack 8 -IL_0000: ldarg.0 -IL_0001: call instance void [System.Runtime]System.Object::.ctor() -IL_0006: nop -IL_0007: ret -} -.method private hidebysig newslot virtual final -instance void MoveNext() cil managed -{ -.override [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext -.maxstack 3 -.locals init (int32 V_0, -int32 V_1, -valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1/ConfiguredValueTaskAwaiter V_2, -valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1 V_3, -valuetype [System.Threading.Tasks.Extensions]System.Threading.Tasks.ValueTask`1 V_4, -class Example/'d__19' V_5, -valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable V_6, -valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter V_7, -valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1 V_8, -valuetype [System.Threading.Tasks.Extensions]System.Threading.Tasks.ValueTask V_9, -valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1/ConfiguredValueTaskAwaiter V_10, -int32 V_11, -bool V_12, -class [System.Runtime]System.Exception V_13) -IL_0000: ldarg.0 -IL_0001: ldfld int32 Example/'d__19'::'<>1__state' -IL_0006: stloc.0 -.try -{ -IL_0007: ldloc.0 -IL_0008: switch ( -IL_001b, -IL_001d, -IL_0022) -IL_0019: br.s IL_0027 -IL_001b: br.s IL_0078 -IL_001d: br IL_0113 -IL_0022: br IL_019b -IL_0027: nop -IL_0028: ldc.i4.s 10 -IL_002a: call class [System.Runtime]System.Threading.Tasks.Task`1 [System.Runtime]System.Threading.Tasks.Task::FromResult(!!0) -IL_002f: call instance void valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1::.ctor(valuetype [System.Private.CoreLib]System.Threading.Tasks.ValueTask`1&) -IL_0034: stloc.s V_4 -IL_0036: ldloca.s V_4 -IL_0038: ldc.i4.0 -IL_0039: callvirt instance valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1 valuetype [System.Private.CoreLib]System.Threading.Tasks.ValueTask`1::ConfigureAwait(bool) -IL_003e: stloc.3 -IL_003f: ldloca.s V_3 -IL_0041: call instance valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1/ConfiguredValueTaskAwaiter valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1::GetAwaiter() -IL_0046: stloc.2 -IL_0047: ldloca.s V_2 -IL_0049: call instance bool valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1/ConfiguredValueTaskAwaiter::get_IsCompleted() -IL_004e: brtrue.s IL_0094 -IL_0050: ldarg.0 -IL_0051: ldc.i4.0 -IL_0052: dup -IL_0053: stloc.0 -IL_0054: stfld int32 Example/'d__19'::'<>1__state' -IL_0059: ldarg.0 -IL_005a: ldloc.2 -IL_005b: stfld valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1/ConfiguredValueTaskAwaiter Example/'d__19'::'<>u__1' -IL_0060: ldarg.0 -IL_0061: stloc.s V_5 -IL_0063: ldarg.0 -IL_0064: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__19'::'<>t__builder' -IL_0069: ldloca.s V_2 -IL_006b: ldloca.s V_5 -IL_006d: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::AwaitUnsafeOnCompleted,class Example/'d__19'>(!!0&, -!!1&) -IL_0072: nop -IL_0073: leave IL_023a -IL_0078: ldarg.0 -IL_0079: ldfld valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1/ConfiguredValueTaskAwaiter Example/'d__19'::'<>u__1' -IL_007e: stloc.2 -IL_007f: ldarg.0 -IL_0080: ldflda valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1/ConfiguredValueTaskAwaiter Example/'d__19'::'<>u__1' -IL_0085: initobj valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1/ConfiguredValueTaskAwaiter -IL_008b: ldarg.0 -IL_008c: ldc.i4.m1 -IL_008d: dup -IL_008e: stloc.0 -IL_008f: stfld int32 Example/'d__19'::'<>1__state' -IL_0094: ldarg.0 -IL_0095: ldloca.s V_2 -IL_0097: call instance !0 valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1/ConfiguredValueTaskAwaiter::GetResult() -IL_009c: stfld int32 Example/'d__19'::'<>s__3' -IL_00a1: ldarg.0 -IL_00a2: ldarg.0 -IL_00a3: ldfld int32 Example/'d__19'::'<>s__3' -IL_00a8: stfld int32 Example/'d__19'::'5__1' -IL_00ad: ldarg.0 -IL_00ae: ldc.i4.0 -IL_00af: stfld int32 Example/'d__19'::'5__2' -IL_00b4: ldarg.0 -IL_00b5: ldc.i4.0 -IL_00b6: stfld int32 Example/'d__19'::'5__4' -IL_00bb: br IL_01eb -IL_00c0: nop -IL_00c1: ldc.i4.1 -IL_00c2: call class [System.Runtime]System.Threading.Tasks.Task [System.Runtime]System.Threading.Tasks.Task::Delay(int32) -IL_00c7: call instance void [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable::.ctor(valuetype [System.Private.CoreLib]System.Threading.Tasks.ValueTask&) -IL_00cc: stloc.s V_9 -IL_00ce: ldloca.s V_9 -IL_00d0: ldc.i4.0 -IL_00d1: callvirt instance valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable [System.Private.CoreLib]System.Threading.Tasks.ValueTask::ConfigureAwait(bool) -IL_00d6: stloc.s V_6 -IL_00d8: ldloca.s V_6 -IL_00da: call instance valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable::GetAwaiter() -IL_00df: stloc.s V_7 -IL_00e1: ldloca.s V_7 -IL_00e3: call instance bool [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter::get_IsCompleted() -IL_00e8: brtrue.s IL_0130 -IL_00ea: ldarg.0 -IL_00eb: ldc.i4.1 -IL_00ec: dup -IL_00ed: stloc.0 -IL_00ee: stfld int32 Example/'d__19'::'<>1__state' -IL_00f3: ldarg.0 -IL_00f4: ldloc.s V_7 -IL_00f6: stfld valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter Example/'d__19'::'<>u__2' -IL_00fb: ldarg.0 -IL_00fc: stloc.s V_5 -IL_00fe: ldarg.0 -IL_00ff: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__19'::'<>t__builder' -IL_0104: ldloca.s V_7 -IL_0106: ldloca.s V_5 -IL_0108: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::AwaitUnsafeOnCompletedd__19'>(!!0&, -!!1&) -IL_010d: nop -IL_010e: leave IL_023a -IL_0113: ldarg.0 -IL_0114: ldfld valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter Example/'d__19'::'<>u__2' -IL_0119: stloc.s V_7 -IL_011b: ldarg.0 -IL_011c: ldflda valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter Example/'d__19'::'<>u__2' -IL_0121: initobj [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter -IL_0127: ldarg.0 -IL_0128: ldc.i4.m1 -IL_0129: dup -IL_012a: stloc.0 -IL_012b: stfld int32 Example/'d__19'::'<>1__state' -IL_0130: ldloca.s V_7 -IL_0132: call instance void [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter::GetResult() -IL_0137: nop -IL_0138: ldarg.0 -IL_0139: ldarg.0 -IL_013a: ldfld int32 Example/'d__19'::'5__2' -IL_013f: stfld int32 Example/'d__19'::'<>s__5' -IL_0144: ldarg.0 -IL_0145: ldfld int32 Example/'d__19'::'5__4' -IL_014a: call class [System.Runtime]System.Threading.Tasks.Task`1 [System.Runtime]System.Threading.Tasks.Task::FromResult(!!0) -IL_014f: call instance void valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1::.ctor(valuetype [System.Private.CoreLib]System.Threading.Tasks.ValueTask`1&) -IL_0154: stloc.s V_4 -IL_0156: ldloca.s V_4 -IL_0158: ldc.i4.0 -IL_0159: callvirt instance valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1 valuetype [System.Private.CoreLib]System.Threading.Tasks.ValueTask`1::ConfigureAwait(bool) -IL_015e: stloc.s V_8 -IL_0160: ldloca.s V_8 -IL_0162: call instance valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1/ConfiguredValueTaskAwaiter valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1::GetAwaiter() -IL_0167: stloc.s V_10 -IL_0169: ldloca.s V_10 -IL_016b: call instance bool valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1/ConfiguredValueTaskAwaiter::get_IsCompleted() -IL_0170: brtrue.s IL_01b8 -IL_0172: ldarg.0 -IL_0173: ldc.i4.2 -IL_0174: dup -IL_0175: stloc.0 -IL_0176: stfld int32 Example/'d__19'::'<>1__state' -IL_017b: ldarg.0 -IL_017c: ldloc.s V_10 -IL_017e: stfld valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1/ConfiguredValueTaskAwaiter Example/'d__19'::'<>u__1' -IL_0183: ldarg.0 -IL_0184: stloc.s V_5 -IL_0186: ldarg.0 -IL_0187: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__19'::'<>t__builder' -IL_018c: ldloca.s V_10 -IL_018e: ldloca.s V_5 -IL_0190: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::AwaitUnsafeOnCompleted,class Example/'d__19'>(!!0&, -!!1&) -IL_0195: nop -IL_0196: leave IL_023a -IL_019b: ldarg.0 -IL_019c: ldfld valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1/ConfiguredValueTaskAwaiter Example/'d__19'::'<>u__1' -IL_01a1: stloc.s V_10 -IL_01a3: ldarg.0 -IL_01a4: ldflda valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1/ConfiguredValueTaskAwaiter Example/'d__19'::'<>u__1' -IL_01a9: initobj valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1/ConfiguredValueTaskAwaiter -IL_01af: ldarg.0 -IL_01b0: ldc.i4.m1 -IL_01b1: dup -IL_01b2: stloc.0 -IL_01b3: stfld int32 Example/'d__19'::'<>1__state' -IL_01b8: ldarg.0 -IL_01b9: ldloca.s V_10 -IL_01bb: call instance !0 valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1/ConfiguredValueTaskAwaiter::GetResult() -IL_01c0: stfld int32 Example/'d__19'::'<>s__6' -IL_01c5: ldarg.0 -IL_01c6: ldarg.0 -IL_01c7: ldfld int32 Example/'d__19'::'<>s__5' -IL_01cc: ldarg.0 -IL_01cd: ldfld int32 Example/'d__19'::'<>s__6' -IL_01d2: add -IL_01d3: stfld int32 Example/'d__19'::'5__2' -IL_01d8: nop -IL_01d9: ldarg.0 -IL_01da: ldfld int32 Example/'d__19'::'5__4' -IL_01df: stloc.s V_11 -IL_01e1: ldarg.0 -IL_01e2: ldloc.s V_11 -IL_01e4: ldc.i4.1 -IL_01e5: add -IL_01e6: stfld int32 Example/'d__19'::'5__4' -IL_01eb: ldarg.0 -IL_01ec: ldfld int32 Example/'d__19'::'5__4' -IL_01f1: ldarg.0 -IL_01f2: ldfld int32 Example/'d__19'::'5__1' -IL_01f7: clt -IL_01f9: stloc.s V_12 -IL_01fb: ldloc.s V_12 -IL_01fd: brtrue IL_00c0 -IL_0202: ldarg.0 -IL_0203: ldfld int32 Example/'d__19'::'5__2' -IL_0208: stloc.1 -IL_0209: leave.s IL_0225 -} // end .try -catch [System.Runtime]System.Exception -{ -IL_020b: stloc.s V_13 -IL_020d: ldarg.0 -IL_020e: ldc.i4.s -2 -IL_0210: stfld int32 Example/'d__19'::'<>1__state' -IL_0215: ldarg.0 -IL_0216: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__19'::'<>t__builder' -IL_021b: ldloc.s V_13 -IL_021d: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetException(class [System.Runtime]System.Exception) -IL_0222: nop -IL_0223: leave.s IL_023a -} // end handler -IL_0225: ldarg.0 -IL_0226: ldc.i4.s -2 -IL_0228: stfld int32 Example/'d__19'::'<>1__state' -IL_022d: ldarg.0 -IL_022e: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__19'::'<>t__builder' -IL_0233: ldloc.1 -IL_0234: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetResult(!0) -IL_0239: nop -IL_023a: ret -} -.method private hidebysig newslot virtual final -instance void SetStateMachine(class [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed -{ -.param [1] -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.override [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine -.maxstack 8 -IL_0000: ret -} -} -.class auto ansi sealed nested private beforefieldinit 'd__8' -extends [System.Runtime]System.Object -implements [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine -{ -.interfaceimpl type [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field public int32 '<>1__state' -.field public valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 '<>t__builder' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field public class Example '<>4__this' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field private int32 '5__1' -.field private int32 '5__2' -.field private int32 '<>s__3' -.field private int32 '5__4' -.field private int32 '<>s__5' -.field private int32 '<>s__6' -.field private valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter '<>u__1' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field private valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter '<>u__2' -.method public hidebysig specialname rtspecialname -instance void .ctor() cil managed -{ -.maxstack 8 -IL_0000: ldarg.0 -IL_0001: call instance void [System.Runtime]System.Object::.ctor() -IL_0006: nop -IL_0007: ret -} -.method private hidebysig newslot virtual final -instance void MoveNext() cil managed -{ -.override [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext -.maxstack 3 -.locals init (int32 V_0, -int32 V_1, -valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter V_2, -valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1 V_3, -class Example/'d__8' V_4, -valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter V_5, -valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable V_6, -valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter V_7, -int32 V_8, -bool V_9, -class [System.Runtime]System.Exception V_10) -IL_0000: ldarg.0 -IL_0001: ldfld int32 Example/'d__8'::'<>1__state' -IL_0006: stloc.0 -.try -{ -IL_0007: ldloc.0 -IL_0008: switch ( -IL_001b, -IL_001d, -IL_0022) -IL_0019: br.s IL_0027 -IL_001b: br.s IL_006f -IL_001d: br IL_0101 -IL_0022: br IL_017f -IL_0027: nop -IL_0028: ldc.i4.s 10 -IL_002a: call class [System.Runtime]System.Threading.Tasks.Task`1 [System.Runtime]System.Threading.Tasks.Task::FromResult(!!0) -IL_002f: ldc.i4.0 -IL_0030: callvirt instance valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1 class [System.Runtime]System.Threading.Tasks.Task`1::ConfigureAwait(bool) -IL_0035: stloc.3 -IL_0036: ldloca.s V_3 -IL_0038: call instance valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1::GetAwaiter() -IL_003d: stloc.2 -IL_003e: ldloca.s V_2 -IL_0040: call instance bool valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter::get_IsCompleted() -IL_0045: brtrue.s IL_008b -IL_0047: ldarg.0 -IL_0048: ldc.i4.0 -IL_0049: dup -IL_004a: stloc.0 -IL_004b: stfld int32 Example/'d__8'::'<>1__state' -IL_0050: ldarg.0 -IL_0051: ldloc.2 -IL_0052: stfld valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter Example/'d__8'::'<>u__1' -IL_0057: ldarg.0 -IL_0058: stloc.s V_4 -IL_005a: ldarg.0 -IL_005b: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__8'::'<>t__builder' -IL_0060: ldloca.s V_2 -IL_0062: ldloca.s V_4 -IL_0064: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::AwaitUnsafeOnCompleted,class Example/'d__8'>(!!0&, -!!1&) -IL_0069: nop -IL_006a: leave IL_021e -IL_006f: ldarg.0 -IL_0070: ldfld valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter Example/'d__8'::'<>u__1' -IL_0075: stloc.2 -IL_0076: ldarg.0 -IL_0077: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter Example/'d__8'::'<>u__1' -IL_007c: initobj valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter -IL_0082: ldarg.0 -IL_0083: ldc.i4.m1 -IL_0084: dup -IL_0085: stloc.0 -IL_0086: stfld int32 Example/'d__8'::'<>1__state' -IL_008b: ldarg.0 -IL_008c: ldloca.s V_2 -IL_008e: call instance !0 valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter::GetResult() -IL_0093: stfld int32 Example/'d__8'::'<>s__3' -IL_0098: ldarg.0 -IL_0099: ldarg.0 -IL_009a: ldfld int32 Example/'d__8'::'<>s__3' -IL_009f: stfld int32 Example/'d__8'::'5__1' -IL_00a4: ldarg.0 -IL_00a5: ldc.i4.0 -IL_00a6: stfld int32 Example/'d__8'::'5__2' -IL_00ab: ldarg.0 -IL_00ac: ldc.i4.0 -IL_00ad: stfld int32 Example/'d__8'::'5__4' -IL_00b2: br IL_01cf -IL_00b7: nop -IL_00b8: ldc.i4.1 -IL_00b9: call class [System.Runtime]System.Threading.Tasks.Task [System.Runtime]System.Threading.Tasks.Task::Delay(int32) -IL_00be: ldc.i4.0 -IL_00bf: callvirt instance valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable [System.Runtime]System.Threading.Tasks.Task::ConfigureAwait(bool) -IL_00c4: stloc.s V_6 -IL_00c6: ldloca.s V_6 -IL_00c8: call instance valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable::GetAwaiter() -IL_00cd: stloc.s V_5 -IL_00cf: ldloca.s V_5 -IL_00d1: call instance bool [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter::get_IsCompleted() -IL_00d6: brtrue.s IL_011e -IL_00d8: ldarg.0 -IL_00d9: ldc.i4.1 -IL_00da: dup -IL_00db: stloc.0 -IL_00dc: stfld int32 Example/'d__8'::'<>1__state' -IL_00e1: ldarg.0 -IL_00e2: ldloc.s V_5 -IL_00e4: stfld valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter Example/'d__8'::'<>u__2' -IL_00e9: ldarg.0 -IL_00ea: stloc.s V_4 -IL_00ec: ldarg.0 -IL_00ed: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__8'::'<>t__builder' -IL_00f2: ldloca.s V_5 -IL_00f4: ldloca.s V_4 -IL_00f6: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::AwaitUnsafeOnCompletedd__8'>(!!0&, -!!1&) -IL_00fb: nop -IL_00fc: leave IL_021e -IL_0101: ldarg.0 -IL_0102: ldfld valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter Example/'d__8'::'<>u__2' -IL_0107: stloc.s V_5 -IL_0109: ldarg.0 -IL_010a: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter Example/'d__8'::'<>u__2' -IL_010f: initobj [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter -IL_0115: ldarg.0 -IL_0116: ldc.i4.m1 -IL_0117: dup -IL_0118: stloc.0 -IL_0119: stfld int32 Example/'d__8'::'<>1__state' -IL_011e: ldloca.s V_5 -IL_0120: call instance void [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter::GetResult() -IL_0125: nop -IL_0126: ldarg.0 -IL_0127: ldarg.0 -IL_0128: ldfld int32 Example/'d__8'::'5__2' -IL_012d: stfld int32 Example/'d__8'::'<>s__5' -IL_0132: ldarg.0 -IL_0133: ldfld int32 Example/'d__8'::'5__4' -IL_0138: call class [System.Runtime]System.Threading.Tasks.Task`1 [System.Runtime]System.Threading.Tasks.Task::FromResult(!!0) -IL_013d: ldc.i4.0 -IL_013e: callvirt instance valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1 class [System.Runtime]System.Threading.Tasks.Task`1::ConfigureAwait(bool) -IL_0143: stloc.3 -IL_0144: ldloca.s V_3 -IL_0146: call instance valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1::GetAwaiter() -IL_014b: stloc.s V_7 -IL_014d: ldloca.s V_7 -IL_014f: call instance bool valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter::get_IsCompleted() -IL_0154: brtrue.s IL_019c -IL_0156: ldarg.0 -IL_0157: ldc.i4.2 -IL_0158: dup -IL_0159: stloc.0 -IL_015a: stfld int32 Example/'d__8'::'<>1__state' -IL_015f: ldarg.0 -IL_0160: ldloc.s V_7 -IL_0162: stfld valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter Example/'d__8'::'<>u__1' -IL_0167: ldarg.0 -IL_0168: stloc.s V_4 -IL_016a: ldarg.0 -IL_016b: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__8'::'<>t__builder' -IL_0170: ldloca.s V_7 -IL_0172: ldloca.s V_4 -IL_0174: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::AwaitUnsafeOnCompleted,class Example/'d__8'>(!!0&, -!!1&) -IL_0179: nop -IL_017a: leave IL_021e -IL_017f: ldarg.0 -IL_0180: ldfld valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter Example/'d__8'::'<>u__1' -IL_0185: stloc.s V_7 -IL_0187: ldarg.0 -IL_0188: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter Example/'d__8'::'<>u__1' -IL_018d: initobj valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter -IL_0193: ldarg.0 -IL_0194: ldc.i4.m1 -IL_0195: dup -IL_0196: stloc.0 -IL_0197: stfld int32 Example/'d__8'::'<>1__state' -IL_019c: ldarg.0 -IL_019d: ldloca.s V_7 -IL_019f: call instance !0 valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter::GetResult() -IL_01a4: stfld int32 Example/'d__8'::'<>s__6' -IL_01a9: ldarg.0 -IL_01aa: ldarg.0 -IL_01ab: ldfld int32 Example/'d__8'::'<>s__5' -IL_01b0: ldarg.0 -IL_01b1: ldfld int32 Example/'d__8'::'<>s__6' -IL_01b6: add -IL_01b7: stfld int32 Example/'d__8'::'5__2' -IL_01bc: nop -IL_01bd: ldarg.0 -IL_01be: ldfld int32 Example/'d__8'::'5__4' -IL_01c3: stloc.s V_8 -IL_01c5: ldarg.0 -IL_01c6: ldloc.s V_8 -IL_01c8: ldc.i4.1 -IL_01c9: add -IL_01ca: stfld int32 Example/'d__8'::'5__4' -IL_01cf: ldarg.0 -IL_01d0: ldfld int32 Example/'d__8'::'5__4' -IL_01d5: ldarg.0 -IL_01d6: ldfld int32 Example/'d__8'::'5__1' -IL_01db: clt -IL_01dd: stloc.s V_9 -IL_01df: ldloc.s V_9 -IL_01e1: brtrue IL_00b7 -IL_01e6: ldarg.0 -IL_01e7: ldfld int32 Example/'d__8'::'5__2' -IL_01ec: stloc.1 -IL_01ed: leave.s IL_0209 -} // end .try -catch [System.Runtime]System.Exception -{ -IL_01ef: stloc.s V_10 -IL_01f1: ldarg.0 -IL_01f2: ldc.i4.s -2 -IL_01f4: stfld int32 Example/'d__8'::'<>1__state' -IL_01f9: ldarg.0 -IL_01fa: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__8'::'<>t__builder' -IL_01ff: ldloc.s V_10 -IL_0201: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetException(class [System.Runtime]System.Exception) -IL_0206: nop -IL_0207: leave.s IL_021e -} // end handler -IL_0209: ldarg.0 -IL_020a: ldc.i4.s -2 -IL_020c: stfld int32 Example/'d__8'::'<>1__state' -IL_0211: ldarg.0 -IL_0212: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__8'::'<>t__builder' -IL_0217: ldloc.1 -IL_0218: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetResult(!0) -IL_021d: nop -IL_021e: ret -} -.method private hidebysig newslot virtual final -instance void SetStateMachine(class [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed -{ -.param [1] -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.override [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine -.maxstack 8 -IL_0000: ret -} -} -.class auto ansi sealed nested private beforefieldinit 'd__20' -extends [System.Runtime]System.Object -implements [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine -{ -.interfaceimpl type [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field public int32 '<>1__state' -.field public valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 '<>t__builder' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field public class Example '<>4__this' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field private int32 '5__1' -.field private int32 '5__2' -.field private int32 '<>s__3' -.field private int32 '5__4' -.field private int32 '<>s__5' -.field private int32 '<>s__6' -.field private valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1/ConfiguredValueTaskAwaiter '<>u__1' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field private valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter '<>u__2' -.method public hidebysig specialname rtspecialname -instance void .ctor() cil managed -{ -.maxstack 8 -IL_0000: ldarg.0 -IL_0001: call instance void [System.Runtime]System.Object::.ctor() -IL_0006: nop -IL_0007: ret -} -.method private hidebysig newslot virtual final -instance void MoveNext() cil managed -{ -.override [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext -.maxstack 3 -.locals init (int32 V_0, -int32 V_1, -valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1/ConfiguredValueTaskAwaiter V_2, -valuetype [System.Threading.Tasks.Extensions]System.Threading.Tasks.ValueTask`1 V_3, -valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1 V_4, -class Example/'d__20' V_5, -valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter V_6, -valuetype [System.Threading.Tasks.Extensions]System.Threading.Tasks.ValueTask V_7, -valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable V_8, -valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1/ConfiguredValueTaskAwaiter V_9, -int32 V_10, -bool V_11, -class [System.Runtime]System.Exception V_12) -IL_0000: ldarg.0 -IL_0001: ldfld int32 Example/'d__20'::'<>1__state' -IL_0006: stloc.0 -.try -{ -IL_0007: ldloc.0 -IL_0008: switch ( -IL_001b, -IL_001d, -IL_0022) -IL_0019: br.s IL_0027 -IL_001b: br.s IL_0078 -IL_001d: br IL_0113 -IL_0022: br IL_019a -IL_0027: nop -IL_0028: ldc.i4.s 10 -IL_002a: call class [System.Runtime]System.Threading.Tasks.Task`1 [System.Runtime]System.Threading.Tasks.Task::FromResult(!!0) -IL_002f: newobj instance void valuetype [System.Threading.Tasks.Extensions]System.Threading.Tasks.ValueTask`1::.ctor(class [System.Runtime]System.Threading.Tasks.Task`1) -IL_0034: stloc.3 -IL_0035: ldloca.s V_3 -IL_0037: ldc.i4.0 -IL_0038: call instance valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1 valuetype [System.Threading.Tasks.Extensions]System.Threading.Tasks.ValueTask`1::ConfigureAwait(bool) -IL_003d: stloc.s V_4 -IL_003f: ldloca.s V_4 -IL_0041: call instance valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1/ConfiguredValueTaskAwaiter valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1::GetAwaiter() -IL_0046: stloc.2 -IL_0047: ldloca.s V_2 -IL_0049: call instance bool valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1/ConfiguredValueTaskAwaiter::get_IsCompleted() -IL_004e: brtrue.s IL_0094 -IL_0050: ldarg.0 -IL_0051: ldc.i4.0 -IL_0052: dup -IL_0053: stloc.0 -IL_0054: stfld int32 Example/'d__20'::'<>1__state' -IL_0059: ldarg.0 -IL_005a: ldloc.2 -IL_005b: stfld valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1/ConfiguredValueTaskAwaiter Example/'d__20'::'<>u__1' -IL_0060: ldarg.0 -IL_0061: stloc.s V_5 -IL_0063: ldarg.0 -IL_0064: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__20'::'<>t__builder' -IL_0069: ldloca.s V_2 -IL_006b: ldloca.s V_5 -IL_006d: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::AwaitUnsafeOnCompleted,class Example/'d__20'>(!!0&, -!!1&) -IL_0072: nop -IL_0073: leave IL_0239 -IL_0078: ldarg.0 -IL_0079: ldfld valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1/ConfiguredValueTaskAwaiter Example/'d__20'::'<>u__1' -IL_007e: stloc.2 -IL_007f: ldarg.0 -IL_0080: ldflda valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1/ConfiguredValueTaskAwaiter Example/'d__20'::'<>u__1' -IL_0085: initobj valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1/ConfiguredValueTaskAwaiter -IL_008b: ldarg.0 -IL_008c: ldc.i4.m1 -IL_008d: dup -IL_008e: stloc.0 -IL_008f: stfld int32 Example/'d__20'::'<>1__state' -IL_0094: ldarg.0 -IL_0095: ldloca.s V_2 -IL_0097: call instance !0 valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1/ConfiguredValueTaskAwaiter::GetResult() -IL_009c: stfld int32 Example/'d__20'::'<>s__3' -IL_00a1: ldarg.0 -IL_00a2: ldarg.0 -IL_00a3: ldfld int32 Example/'d__20'::'<>s__3' -IL_00a8: stfld int32 Example/'d__20'::'5__1' -IL_00ad: ldarg.0 -IL_00ae: ldc.i4.0 -IL_00af: stfld int32 Example/'d__20'::'5__2' -IL_00b4: ldarg.0 -IL_00b5: ldc.i4.0 -IL_00b6: stfld int32 Example/'d__20'::'5__4' -IL_00bb: br IL_01ea -IL_00c0: nop -IL_00c1: ldc.i4.1 -IL_00c2: call class [System.Runtime]System.Threading.Tasks.Task [System.Runtime]System.Threading.Tasks.Task::Delay(int32) -IL_00c7: newobj instance void [System.Threading.Tasks.Extensions]System.Threading.Tasks.ValueTask::.ctor(class [System.Runtime]System.Threading.Tasks.Task) -IL_00cc: stloc.s V_7 -IL_00ce: ldloca.s V_7 -IL_00d0: ldc.i4.0 -IL_00d1: call instance valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable [System.Threading.Tasks.Extensions]System.Threading.Tasks.ValueTask::ConfigureAwait(bool) -IL_00d6: stloc.s V_8 -IL_00d8: ldloca.s V_8 -IL_00da: call instance valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable::GetAwaiter() -IL_00df: stloc.s V_6 -IL_00e1: ldloca.s V_6 -IL_00e3: call instance bool [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter::get_IsCompleted() -IL_00e8: brtrue.s IL_0130 -IL_00ea: ldarg.0 -IL_00eb: ldc.i4.1 -IL_00ec: dup -IL_00ed: stloc.0 -IL_00ee: stfld int32 Example/'d__20'::'<>1__state' -IL_00f3: ldarg.0 -IL_00f4: ldloc.s V_6 -IL_00f6: stfld valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter Example/'d__20'::'<>u__2' -IL_00fb: ldarg.0 -IL_00fc: stloc.s V_5 -IL_00fe: ldarg.0 -IL_00ff: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__20'::'<>t__builder' -IL_0104: ldloca.s V_6 -IL_0106: ldloca.s V_5 -IL_0108: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::AwaitUnsafeOnCompletedd__20'>(!!0&, -!!1&) -IL_010d: nop -IL_010e: leave IL_0239 -IL_0113: ldarg.0 -IL_0114: ldfld valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter Example/'d__20'::'<>u__2' -IL_0119: stloc.s V_6 -IL_011b: ldarg.0 -IL_011c: ldflda valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter Example/'d__20'::'<>u__2' -IL_0121: initobj [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter -IL_0127: ldarg.0 -IL_0128: ldc.i4.m1 -IL_0129: dup -IL_012a: stloc.0 -IL_012b: stfld int32 Example/'d__20'::'<>1__state' -IL_0130: ldloca.s V_6 -IL_0132: call instance void [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter::GetResult() -IL_0137: nop -IL_0138: ldarg.0 -IL_0139: ldarg.0 -IL_013a: ldfld int32 Example/'d__20'::'5__2' -IL_013f: stfld int32 Example/'d__20'::'<>s__5' -IL_0144: ldarg.0 -IL_0145: ldfld int32 Example/'d__20'::'5__4' -IL_014a: call class [System.Runtime]System.Threading.Tasks.Task`1 [System.Runtime]System.Threading.Tasks.Task::FromResult(!!0) -IL_014f: newobj instance void valuetype [System.Threading.Tasks.Extensions]System.Threading.Tasks.ValueTask`1::.ctor(class [System.Runtime]System.Threading.Tasks.Task`1) -IL_0154: stloc.3 -IL_0155: ldloca.s V_3 -IL_0157: ldc.i4.0 -IL_0158: call instance valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1 valuetype [System.Threading.Tasks.Extensions]System.Threading.Tasks.ValueTask`1::ConfigureAwait(bool) -IL_015d: stloc.s V_4 -IL_015f: ldloca.s V_4 -IL_0161: call instance valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1/ConfiguredValueTaskAwaiter valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1::GetAwaiter() -IL_0166: stloc.s V_9 -IL_0168: ldloca.s V_9 -IL_016a: call instance bool valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1/ConfiguredValueTaskAwaiter::get_IsCompleted() -IL_016f: brtrue.s IL_01b7 -IL_0171: ldarg.0 -IL_0172: ldc.i4.2 -IL_0173: dup -IL_0174: stloc.0 -IL_0175: stfld int32 Example/'d__20'::'<>1__state' -IL_017a: ldarg.0 -IL_017b: ldloc.s V_9 -IL_017d: stfld valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1/ConfiguredValueTaskAwaiter Example/'d__20'::'<>u__1' -IL_0182: ldarg.0 -IL_0183: stloc.s V_5 -IL_0185: ldarg.0 -IL_0186: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__20'::'<>t__builder' -IL_018b: ldloca.s V_9 -IL_018d: ldloca.s V_5 -IL_018f: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::AwaitUnsafeOnCompleted,class Example/'d__20'>(!!0&, -!!1&) -IL_0194: nop -IL_0195: leave IL_0239 -IL_019a: ldarg.0 -IL_019b: ldfld valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1/ConfiguredValueTaskAwaiter Example/'d__20'::'<>u__1' -IL_01a0: stloc.s V_9 -IL_01a2: ldarg.0 -IL_01a3: ldflda valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1/ConfiguredValueTaskAwaiter Example/'d__20'::'<>u__1' -IL_01a8: initobj valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1/ConfiguredValueTaskAwaiter -IL_01ae: ldarg.0 -IL_01af: ldc.i4.m1 -IL_01b0: dup -IL_01b1: stloc.0 -IL_01b2: stfld int32 Example/'d__20'::'<>1__state' -IL_01b7: ldarg.0 -IL_01b8: ldloca.s V_9 -IL_01ba: call instance !0 valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1/ConfiguredValueTaskAwaiter::GetResult() -IL_01bf: stfld int32 Example/'d__20'::'<>s__6' -IL_01c4: ldarg.0 -IL_01c5: ldarg.0 -IL_01c6: ldfld int32 Example/'d__20'::'<>s__5' -IL_01cb: ldarg.0 -IL_01cc: ldfld int32 Example/'d__20'::'<>s__6' -IL_01d1: add -IL_01d2: stfld int32 Example/'d__20'::'5__2' -IL_01d7: nop -IL_01d8: ldarg.0 -IL_01d9: ldfld int32 Example/'d__20'::'5__4' -IL_01de: stloc.s V_10 -IL_01e0: ldarg.0 -IL_01e1: ldloc.s V_10 -IL_01e3: ldc.i4.1 -IL_01e4: add -IL_01e5: stfld int32 Example/'d__20'::'5__4' -IL_01ea: ldarg.0 -IL_01eb: ldfld int32 Example/'d__20'::'5__4' -IL_01f0: ldarg.0 -IL_01f1: ldfld int32 Example/'d__20'::'5__1' -IL_01f6: clt -IL_01f8: stloc.s V_11 -IL_01fa: ldloc.s V_11 -IL_01fc: brtrue IL_00c0 -IL_0201: ldarg.0 -IL_0202: ldfld int32 Example/'d__20'::'5__2' -IL_0207: stloc.1 -IL_0208: leave.s IL_0224 -} // end .try -catch [System.Runtime]System.Exception -{ -IL_020a: stloc.s V_12 -IL_020c: ldarg.0 -IL_020d: ldc.i4.s -2 -IL_020f: stfld int32 Example/'d__20'::'<>1__state' -IL_0214: ldarg.0 -IL_0215: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__20'::'<>t__builder' -IL_021a: ldloc.s V_12 -IL_021c: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetException(class [System.Runtime]System.Exception) -IL_0221: nop -IL_0222: leave.s IL_0239 -} // end handler -IL_0224: ldarg.0 -IL_0225: ldc.i4.s -2 -IL_0227: stfld int32 Example/'d__20'::'<>1__state' -IL_022c: ldarg.0 -IL_022d: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__20'::'<>t__builder' -IL_0232: ldloc.1 -IL_0233: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetResult(!0) -IL_0238: nop -IL_0239: ret -} -.method private hidebysig newslot virtual final -instance void SetStateMachine(class [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed -{ -.param [1] -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.override [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine -.maxstack 8 -IL_0000: ret -} -} -.method public hidebysig instance class [System.Runtime]System.Threading.Tasks.Task -AsyncMethod1() cil managed -{ -63 4D 65 74 68 6F 64 31 3E 64 5F 5F 30 00 00 ) // cMethod1>d__0.. -.maxstack 2 -.locals init (class Example/'d__0' V_0) -IL_0000: newobj instance void Example/'d__0'::.ctor() -IL_0005: stloc.0 -IL_0006: ldloc.0 -IL_0007: call valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Create() -IL_000c: stfld valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Example/'d__0'::'<>t__builder' -IL_0011: ldloc.0 -IL_0012: ldarg.0 -IL_0013: stfld class Example Example/'d__0'::'<>4__this' -IL_0018: ldloc.0 -IL_0019: ldc.i4.m1 -IL_001a: stfld int32 Example/'d__0'::'<>1__state' -IL_001f: ldloc.0 -IL_0020: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Example/'d__0'::'<>t__builder' -IL_0025: ldloca.s V_0 -IL_0027: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Startd__0'>(!!0&) -IL_002c: ldloc.0 -IL_002d: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Example/'d__0'::'<>t__builder' -IL_0032: call instance class [System.Runtime]System.Threading.Tasks.Task [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::get_Task() -IL_0037: ret -} -.method public hidebysig instance class [System.Runtime]System.Threading.Tasks.Task -AsyncMethod2() cil managed -{ -63 4D 65 74 68 6F 64 32 3E 64 5F 5F 31 00 00 ) // cMethod2>d__1.. -.maxstack 2 -.locals init (class Example/'d__1' V_0) -IL_0000: newobj instance void Example/'d__1'::.ctor() -IL_0005: stloc.0 -IL_0006: ldloc.0 -IL_0007: call valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Create() -IL_000c: stfld valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Example/'d__1'::'<>t__builder' -IL_0011: ldloc.0 -IL_0012: ldarg.0 -IL_0013: stfld class Example Example/'d__1'::'<>4__this' -IL_0018: ldloc.0 -IL_0019: ldc.i4.m1 -IL_001a: stfld int32 Example/'d__1'::'<>1__state' -IL_001f: ldloc.0 -IL_0020: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Example/'d__1'::'<>t__builder' -IL_0025: ldloca.s V_0 -IL_0027: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Startd__1'>(!!0&) -IL_002c: ldloc.0 -IL_002d: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Example/'d__1'::'<>t__builder' -IL_0032: call instance class [System.Runtime]System.Threading.Tasks.Task [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::get_Task() -IL_0037: ret -} -.method public hidebysig instance class [System.Runtime]System.Threading.Tasks.Task -AsyncMethod3() cil managed -{ -63 4D 65 74 68 6F 64 33 3E 64 5F 5F 32 00 00 ) // cMethod3>d__2.. -.maxstack 2 -.locals init (class Example/'d__2' V_0) -IL_0000: newobj instance void Example/'d__2'::.ctor() -IL_0005: stloc.0 -IL_0006: ldloc.0 -IL_0007: call valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Create() -IL_000c: stfld valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Example/'d__2'::'<>t__builder' -IL_0011: ldloc.0 -IL_0012: ldarg.0 -IL_0013: stfld class Example Example/'d__2'::'<>4__this' -IL_0018: ldloc.0 -IL_0019: ldc.i4.m1 -IL_001a: stfld int32 Example/'d__2'::'<>1__state' -IL_001f: ldloc.0 -IL_0020: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Example/'d__2'::'<>t__builder' -IL_0025: ldloca.s V_0 -IL_0027: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Startd__2'>(!!0&) -IL_002c: ldloc.0 -IL_002d: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Example/'d__2'::'<>t__builder' -IL_0032: call instance class [System.Runtime]System.Threading.Tasks.Task [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::get_Task() -IL_0037: ret -} -.method public hidebysig instance class [System.Runtime]System.Threading.Tasks.Task`1 -AsyncMethod4() cil managed -{ -63 4D 65 74 68 6F 64 34 3E 64 5F 5F 33 00 00 ) // cMethod4>d__3.. -.maxstack 2 -.locals init (class Example/'d__3' V_0) -IL_0000: newobj instance void Example/'d__3'::.ctor() -IL_0005: stloc.0 -IL_0006: ldloc.0 -IL_0007: call valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::Create() -IL_000c: stfld valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__3'::'<>t__builder' -IL_0011: ldloc.0 -IL_0012: ldarg.0 -IL_0013: stfld class Example Example/'d__3'::'<>4__this' -IL_0018: ldloc.0 -IL_0019: ldc.i4.m1 -IL_001a: stfld int32 Example/'d__3'::'<>1__state' -IL_001f: ldloc.0 -IL_0020: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__3'::'<>t__builder' -IL_0025: ldloca.s V_0 -IL_0027: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::Startd__3'>(!!0&) -IL_002c: ldloc.0 -IL_002d: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__3'::'<>t__builder' -IL_0032: call instance class [System.Runtime]System.Threading.Tasks.Task`1 valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::get_Task() -IL_0037: ret -} -.method public hidebysig instance class [System.Runtime]System.Threading.Tasks.Task`1 -AsyncMethod5() cil managed -{ -63 4D 65 74 68 6F 64 35 3E 64 5F 5F 34 00 00 ) // cMethod5>d__4.. -.maxstack 2 -.locals init (class Example/'d__4' V_0) -IL_0000: newobj instance void Example/'d__4'::.ctor() -IL_0005: stloc.0 -IL_0006: ldloc.0 -IL_0007: call valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::Create() -IL_000c: stfld valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__4'::'<>t__builder' -IL_0011: ldloc.0 -IL_0012: ldarg.0 -IL_0013: stfld class Example Example/'d__4'::'<>4__this' -IL_0018: ldloc.0 -IL_0019: ldc.i4.m1 -IL_001a: stfld int32 Example/'d__4'::'<>1__state' -IL_001f: ldloc.0 -IL_0020: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__4'::'<>t__builder' -IL_0025: ldloca.s V_0 -IL_0027: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::Startd__4'>(!!0&) -IL_002c: ldloc.0 -IL_002d: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__4'::'<>t__builder' -IL_0032: call instance class [System.Runtime]System.Threading.Tasks.Task`1 valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::get_Task() -IL_0037: ret -} -.method public hidebysig instance class [System.Runtime]System.Threading.Tasks.Task`1 -AsyncMethod6() cil managed -{ -63 4D 65 74 68 6F 64 36 3E 64 5F 5F 35 00 00 ) // cMethod6>d__5.. -.maxstack 2 -.locals init (class Example/'d__5' V_0) -IL_0000: newobj instance void Example/'d__5'::.ctor() -IL_0005: stloc.0 -IL_0006: ldloc.0 -IL_0007: call valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::Create() -IL_000c: stfld valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__5'::'<>t__builder' -IL_0011: ldloc.0 -IL_0012: ldarg.0 -IL_0013: stfld class Example Example/'d__5'::'<>4__this' -IL_0018: ldloc.0 -IL_0019: ldc.i4.m1 -IL_001a: stfld int32 Example/'d__5'::'<>1__state' -IL_001f: ldloc.0 -IL_0020: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__5'::'<>t__builder' -IL_0025: ldloca.s V_0 -IL_0027: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::Startd__5'>(!!0&) -IL_002c: ldloc.0 -IL_002d: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__5'::'<>t__builder' -IL_0032: call instance class [System.Runtime]System.Threading.Tasks.Task`1 valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::get_Task() -IL_0037: ret -} -.method public hidebysig instance class [System.Runtime]System.Threading.Tasks.Task`1 -AsyncMethod7() cil managed -{ -63 4D 65 74 68 6F 64 37 3E 64 5F 5F 36 00 00 ) // cMethod7>d__6.. -.maxstack 2 -.locals init (class Example/'d__6' V_0) -IL_0000: newobj instance void Example/'d__6'::.ctor() -IL_0005: stloc.0 -IL_0006: ldloc.0 -IL_0007: call valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::Create() -IL_000c: stfld valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__6'::'<>t__builder' -IL_0011: ldloc.0 -IL_0012: ldarg.0 -IL_0013: stfld class Example Example/'d__6'::'<>4__this' -IL_0018: ldloc.0 -IL_0019: ldc.i4.m1 -IL_001a: stfld int32 Example/'d__6'::'<>1__state' -IL_001f: ldloc.0 -IL_0020: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__6'::'<>t__builder' -IL_0025: ldloca.s V_0 -IL_0027: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::Startd__6'>(!!0&) -IL_002c: ldloc.0 -IL_002d: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__6'::'<>t__builder' -IL_0032: call instance class [System.Runtime]System.Threading.Tasks.Task`1 valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::get_Task() -IL_0037: ret -} -.method public hidebysig instance class [System.Runtime]System.Threading.Tasks.Task`1 -AsyncMethod8() cil managed -{ -63 4D 65 74 68 6F 64 38 3E 64 5F 5F 37 00 00 ) // cMethod8>d__7.. -.maxstack 2 -.locals init (class Example/'d__7' V_0) -IL_0000: newobj instance void Example/'d__7'::.ctor() -IL_0005: stloc.0 -IL_0006: ldloc.0 -IL_0007: call valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::Create() -IL_000c: stfld valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__7'::'<>t__builder' -IL_0011: ldloc.0 -IL_0012: ldarg.0 -IL_0013: stfld class Example Example/'d__7'::'<>4__this' -IL_0018: ldloc.0 -IL_0019: ldc.i4.m1 -IL_001a: stfld int32 Example/'d__7'::'<>1__state' -IL_001f: ldloc.0 -IL_0020: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__7'::'<>t__builder' -IL_0025: ldloca.s V_0 -IL_0027: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::Startd__7'>(!!0&) -IL_002c: ldloc.0 -IL_002d: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__7'::'<>t__builder' -IL_0032: call instance class [System.Runtime]System.Threading.Tasks.Task`1 valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::get_Task() -IL_0037: ret -} -.method public hidebysig instance class [System.Runtime]System.Threading.Tasks.Task`1 -AsyncMethod9() cil managed -{ -63 4D 65 74 68 6F 64 39 3E 64 5F 5F 38 00 00 ) // cMethod9>d__8.. -.maxstack 2 -.locals init (class Example/'d__8' V_0) -IL_0000: newobj instance void Example/'d__8'::.ctor() -IL_0005: stloc.0 -IL_0006: ldloc.0 -IL_0007: call valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::Create() -IL_000c: stfld valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__8'::'<>t__builder' -IL_0011: ldloc.0 -IL_0012: ldarg.0 -IL_0013: stfld class Example Example/'d__8'::'<>4__this' -IL_0018: ldloc.0 -IL_0019: ldc.i4.m1 -IL_001a: stfld int32 Example/'d__8'::'<>1__state' -IL_001f: ldloc.0 -IL_0020: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__8'::'<>t__builder' -IL_0025: ldloca.s V_0 -IL_0027: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::Startd__8'>(!!0&) -IL_002c: ldloc.0 -IL_002d: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__8'::'<>t__builder' -IL_0032: call instance class [System.Runtime]System.Threading.Tasks.Task`1 valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::get_Task() -IL_0037: ret -} -.method public hidebysig instance class [System.Runtime]System.Threading.Tasks.Task`1 -AsyncMethod10() cil managed -{ -63 4D 65 74 68 6F 64 31 30 3E 64 5F 5F 39 00 00 ) // cMethod10>d__9.. -.maxstack 2 -.locals init (class Example/'d__9' V_0) -IL_0000: newobj instance void Example/'d__9'::.ctor() -IL_0005: stloc.0 -IL_0006: ldloc.0 -IL_0007: call valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::Create() -IL_000c: stfld valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__9'::'<>t__builder' -IL_0011: ldloc.0 -IL_0012: ldarg.0 -IL_0013: stfld class Example Example/'d__9'::'<>4__this' -IL_0018: ldloc.0 -IL_0019: ldc.i4.m1 -IL_001a: stfld int32 Example/'d__9'::'<>1__state' -IL_001f: ldloc.0 -IL_0020: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__9'::'<>t__builder' -IL_0025: ldloca.s V_0 -IL_0027: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::Startd__9'>(!!0&) -IL_002c: ldloc.0 -IL_002d: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__9'::'<>t__builder' -IL_0032: call instance class [System.Runtime]System.Threading.Tasks.Task`1 valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::get_Task() -IL_0037: ret -} -.method public hidebysig instance class [System.Runtime]System.Threading.Tasks.Task`1 -AsyncMethod11() cil managed -{ -63 4D 65 74 68 6F 64 31 31 3E 64 5F 5F 31 30 00 // cMethod11>d__10. -00 ) -.maxstack 2 -.locals init (class Example/'d__10' V_0) -IL_0000: newobj instance void Example/'d__10'::.ctor() -IL_0005: stloc.0 -IL_0006: ldloc.0 -IL_0007: call valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::Create() -IL_000c: stfld valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__10'::'<>t__builder' -IL_0011: ldloc.0 -IL_0012: ldarg.0 -IL_0013: stfld class Example Example/'d__10'::'<>4__this' -IL_0018: ldloc.0 -IL_0019: ldc.i4.m1 -IL_001a: stfld int32 Example/'d__10'::'<>1__state' -IL_001f: ldloc.0 -IL_0020: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__10'::'<>t__builder' -IL_0025: ldloca.s V_0 -IL_0027: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::Startd__10'>(!!0&) -IL_002c: ldloc.0 -IL_002d: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__10'::'<>t__builder' -IL_0032: call instance class [System.Runtime]System.Threading.Tasks.Task`1 valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::get_Task() -IL_0037: ret -} -.method public hidebysig instance class [System.Runtime]System.Threading.Tasks.Task`1 -AsyncMethod12() cil managed -{ -63 4D 65 74 68 6F 64 31 32 3E 64 5F 5F 31 31 00 // cMethod12>d__11. -00 ) -.maxstack 2 -.locals init (class Example/'d__11' V_0) -IL_0000: newobj instance void Example/'d__11'::.ctor() -IL_0005: stloc.0 -IL_0006: ldloc.0 -IL_0007: call valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::Create() -IL_000c: stfld valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__11'::'<>t__builder' -IL_0011: ldloc.0 -IL_0012: ldarg.0 -IL_0013: stfld class Example Example/'d__11'::'<>4__this' -IL_0018: ldloc.0 -IL_0019: ldc.i4.m1 -IL_001a: stfld int32 Example/'d__11'::'<>1__state' -IL_001f: ldloc.0 -IL_0020: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__11'::'<>t__builder' -IL_0025: ldloca.s V_0 -IL_0027: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::Startd__11'>(!!0&) -IL_002c: ldloc.0 -IL_002d: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__11'::'<>t__builder' -IL_0032: call instance class [System.Runtime]System.Threading.Tasks.Task`1 valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::get_Task() -IL_0037: ret -} -.method public hidebysig instance class [System.Runtime]System.Threading.Tasks.Task -AsyncMethod1_WithValueTask() cil managed -{ -63 4D 65 74 68 6F 64 31 5F 57 69 74 68 56 61 6C // cMethod1_WithVal -75 65 54 61 73 6B 3E 64 5F 5F 31 32 00 00 ) // ueTask>d__12.. -.maxstack 2 -.locals init (class Example/'d__12' V_0) -IL_0000: newobj instance void Example/'d__12'::.ctor() -IL_0005: stloc.0 -IL_0006: ldloc.0 -IL_0007: call valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Create() -IL_000c: stfld valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Example/'d__12'::'<>t__builder' -IL_0011: ldloc.0 -IL_0012: ldarg.0 -IL_0013: stfld class Example Example/'d__12'::'<>4__this' -IL_0018: ldloc.0 -IL_0019: ldc.i4.m1 -IL_001a: stfld int32 Example/'d__12'::'<>1__state' -IL_001f: ldloc.0 -IL_0020: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Example/'d__12'::'<>t__builder' -IL_0025: ldloca.s V_0 -IL_0027: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Startd__12'>(!!0&) -IL_002c: ldloc.0 -IL_002d: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Example/'d__12'::'<>t__builder' -IL_0032: call instance class [System.Runtime]System.Threading.Tasks.Task [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::get_Task() -IL_0037: ret -} -.method public hidebysig instance class [System.Runtime]System.Threading.Tasks.Task -AsyncMethod2_WithValueTask() cil managed -{ -63 4D 65 74 68 6F 64 32 5F 57 69 74 68 56 61 6C // cMethod2_WithVal -75 65 54 61 73 6B 3E 64 5F 5F 31 33 00 00 ) // ueTask>d__13.. -.maxstack 2 -.locals init (class Example/'d__13' V_0) -IL_0000: newobj instance void Example/'d__13'::.ctor() -IL_0005: stloc.0 -IL_0006: ldloc.0 -IL_0007: call valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Create() -IL_000c: stfld valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Example/'d__13'::'<>t__builder' -IL_0011: ldloc.0 -IL_0012: ldarg.0 -IL_0013: stfld class Example Example/'d__13'::'<>4__this' -IL_0018: ldloc.0 -IL_0019: ldc.i4.m1 -IL_001a: stfld int32 Example/'d__13'::'<>1__state' -IL_001f: ldloc.0 -IL_0020: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Example/'d__13'::'<>t__builder' -IL_0025: ldloca.s V_0 -IL_0027: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Startd__13'>(!!0&) -IL_002c: ldloc.0 -IL_002d: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Example/'d__13'::'<>t__builder' -IL_0032: call instance class [System.Runtime]System.Threading.Tasks.Task [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::get_Task() -IL_0037: ret -} -.method public hidebysig instance class [System.Runtime]System.Threading.Tasks.Task -AsyncMethod3_WithValueTask() cil managed -{ -63 4D 65 74 68 6F 64 33 5F 57 69 74 68 56 61 6C // cMethod3_WithVal -75 65 54 61 73 6B 3E 64 5F 5F 31 34 00 00 ) // ueTask>d__14.. -.maxstack 2 -.locals init (class Example/'d__14' V_0) -IL_0000: newobj instance void Example/'d__14'::.ctor() -IL_0005: stloc.0 -IL_0006: ldloc.0 -IL_0007: call valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Create() -IL_000c: stfld valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Example/'d__14'::'<>t__builder' -IL_0011: ldloc.0 -IL_0012: ldarg.0 -IL_0013: stfld class Example Example/'d__14'::'<>4__this' -IL_0018: ldloc.0 -IL_0019: ldc.i4.m1 -IL_001a: stfld int32 Example/'d__14'::'<>1__state' -IL_001f: ldloc.0 -IL_0020: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Example/'d__14'::'<>t__builder' -IL_0025: ldloca.s V_0 -IL_0027: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Startd__14'>(!!0&) -IL_002c: ldloc.0 -IL_002d: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Example/'d__14'::'<>t__builder' -IL_0032: call instance class [System.Runtime]System.Threading.Tasks.Task [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::get_Task() -IL_0037: ret -} -.method public hidebysig instance class [System.Runtime]System.Threading.Tasks.Task`1 -AsyncMethod4_WithValueTask() cil managed -{ -63 4D 65 74 68 6F 64 34 5F 57 69 74 68 56 61 6C // cMethod4_WithVal -75 65 54 61 73 6B 3E 64 5F 5F 31 35 00 00 ) // ueTask>d__15.. -.maxstack 2 -.locals init (class Example/'d__15' V_0) -IL_0000: newobj instance void Example/'d__15'::.ctor() -IL_0005: stloc.0 -IL_0006: ldloc.0 -IL_0007: call valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::Create() -IL_000c: stfld valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__15'::'<>t__builder' -IL_0011: ldloc.0 -IL_0012: ldarg.0 -IL_0013: stfld class Example Example/'d__15'::'<>4__this' -IL_0018: ldloc.0 -IL_0019: ldc.i4.m1 -IL_001a: stfld int32 Example/'d__15'::'<>1__state' -IL_001f: ldloc.0 -IL_0020: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__15'::'<>t__builder' -IL_0025: ldloca.s V_0 -IL_0027: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::Startd__15'>(!!0&) -IL_002c: ldloc.0 -IL_002d: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__15'::'<>t__builder' -IL_0032: call instance class [System.Runtime]System.Threading.Tasks.Task`1 valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::get_Task() -IL_0037: ret -} -.method public hidebysig instance class [System.Runtime]System.Threading.Tasks.Task`1 -AsyncMethod5_WithValueTask() cil managed -{ -63 4D 65 74 68 6F 64 35 5F 57 69 74 68 56 61 6C // cMethod5_WithVal -75 65 54 61 73 6B 3E 64 5F 5F 31 36 00 00 ) // ueTask>d__16.. -.maxstack 2 -.locals init (class Example/'d__16' V_0) -IL_0000: newobj instance void Example/'d__16'::.ctor() -IL_0005: stloc.0 -IL_0006: ldloc.0 -IL_0007: call valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::Create() -IL_000c: stfld valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__16'::'<>t__builder' -IL_0011: ldloc.0 -IL_0012: ldarg.0 -IL_0013: stfld class Example Example/'d__16'::'<>4__this' -IL_0018: ldloc.0 -IL_0019: ldc.i4.m1 -IL_001a: stfld int32 Example/'d__16'::'<>1__state' -IL_001f: ldloc.0 -IL_0020: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__16'::'<>t__builder' -IL_0025: ldloca.s V_0 -IL_0027: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::Startd__16'>(!!0&) -IL_002c: ldloc.0 -IL_002d: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__16'::'<>t__builder' -IL_0032: call instance class [System.Runtime]System.Threading.Tasks.Task`1 valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::get_Task() -IL_0037: ret -} -.method public hidebysig instance class [System.Runtime]System.Threading.Tasks.Task`1 -AsyncMethod6_WithValueTask() cil managed -{ -63 4D 65 74 68 6F 64 36 5F 57 69 74 68 56 61 6C // cMethod6_WithVal -75 65 54 61 73 6B 3E 64 5F 5F 31 37 00 00 ) // ueTask>d__17.. -.maxstack 2 -.locals init (class Example/'d__17' V_0) -IL_0000: newobj instance void Example/'d__17'::.ctor() -IL_0005: stloc.0 -IL_0006: ldloc.0 -IL_0007: call valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::Create() -IL_000c: stfld valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__17'::'<>t__builder' -IL_0011: ldloc.0 -IL_0012: ldarg.0 -IL_0013: stfld class Example Example/'d__17'::'<>4__this' -IL_0018: ldloc.0 -IL_0019: ldc.i4.m1 -IL_001a: stfld int32 Example/'d__17'::'<>1__state' -IL_001f: ldloc.0 -IL_0020: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__17'::'<>t__builder' -IL_0025: ldloca.s V_0 -IL_0027: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::Startd__17'>(!!0&) -IL_002c: ldloc.0 -IL_002d: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__17'::'<>t__builder' -IL_0032: call instance class [System.Runtime]System.Threading.Tasks.Task`1 valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::get_Task() -IL_0037: ret -} -.method public hidebysig instance class [System.Runtime]System.Threading.Tasks.Task`1 -AsyncMethod7_WithValueTask() cil managed -{ -63 4D 65 74 68 6F 64 37 5F 57 69 74 68 56 61 6C // cMethod7_WithVal -75 65 54 61 73 6B 3E 64 5F 5F 31 38 00 00 ) // ueTask>d__18.. -.maxstack 2 -.locals init (class Example/'d__18' V_0) -IL_0000: newobj instance void Example/'d__18'::.ctor() -IL_0005: stloc.0 -IL_0006: ldloc.0 -IL_0007: call valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::Create() -IL_000c: stfld valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__18'::'<>t__builder' -IL_0011: ldloc.0 -IL_0012: ldarg.0 -IL_0013: stfld class Example Example/'d__18'::'<>4__this' -IL_0018: ldloc.0 -IL_0019: ldc.i4.m1 -IL_001a: stfld int32 Example/'d__18'::'<>1__state' -IL_001f: ldloc.0 -IL_0020: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__18'::'<>t__builder' -IL_0025: ldloca.s V_0 -IL_0027: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::Startd__18'>(!!0&) -IL_002c: ldloc.0 -IL_002d: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__18'::'<>t__builder' -IL_0032: call instance class [System.Runtime]System.Threading.Tasks.Task`1 valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::get_Task() -IL_0037: ret -} -.method public hidebysig instance class [System.Runtime]System.Threading.Tasks.Task`1 -AsyncMethod8_WithValueTask() cil managed -{ -63 4D 65 74 68 6F 64 38 5F 57 69 74 68 56 61 6C // cMethod8_WithVal -75 65 54 61 73 6B 3E 64 5F 5F 31 39 00 00 ) // ueTask>d__19.. -.maxstack 2 -.locals init (class Example/'d__19' V_0) -IL_0000: newobj instance void Example/'d__19'::.ctor() -IL_0005: stloc.0 -IL_0006: ldloc.0 -IL_0007: call valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::Create() -IL_000c: stfld valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__19'::'<>t__builder' -IL_0011: ldloc.0 -IL_0012: ldarg.0 -IL_0013: stfld class Example Example/'d__19'::'<>4__this' -IL_0018: ldloc.0 -IL_0019: ldc.i4.m1 -IL_001a: stfld int32 Example/'d__19'::'<>1__state' -IL_001f: ldloc.0 -IL_0020: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__19'::'<>t__builder' -IL_0025: ldloca.s V_0 -IL_0027: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::Startd__19'>(!!0&) -IL_002c: ldloc.0 -IL_002d: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__19'::'<>t__builder' -IL_0032: call instance class [System.Runtime]System.Threading.Tasks.Task`1 valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::get_Task() -IL_0037: ret -} -.method public hidebysig instance class [System.Runtime]System.Threading.Tasks.Task`1 -AsyncMethod9_WithValueTask() cil managed -{ -63 4D 65 74 68 6F 64 39 5F 57 69 74 68 56 61 6C // cMethod9_WithVal -75 65 54 61 73 6B 3E 64 5F 5F 32 30 00 00 ) // ueTask>d__20.. -.maxstack 2 -.locals init (class Example/'d__20' V_0) -IL_0000: newobj instance void Example/'d__20'::.ctor() -IL_0005: stloc.0 -IL_0006: ldloc.0 -IL_0007: call valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::Create() -IL_000c: stfld valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__20'::'<>t__builder' -IL_0011: ldloc.0 -IL_0012: ldarg.0 -IL_0013: stfld class Example Example/'d__20'::'<>4__this' -IL_0018: ldloc.0 -IL_0019: ldc.i4.m1 -IL_001a: stfld int32 Example/'d__20'::'<>1__state' -IL_001f: ldloc.0 -IL_0020: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__20'::'<>t__builder' -IL_0025: ldloca.s V_0 -IL_0027: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::Startd__20'>(!!0&) -IL_002c: ldloc.0 -IL_002d: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__20'::'<>t__builder' -IL_0032: call instance class [System.Runtime]System.Threading.Tasks.Task`1 valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::get_Task() -IL_0037: ret -} -.method public hidebysig instance class [System.Runtime]System.Threading.Tasks.Task`1 -AsyncMethod10_WithValueTask() cil managed -{ -63 4D 65 74 68 6F 64 31 30 5F 57 69 74 68 56 61 // cMethod10_WithVa -6C 75 65 54 61 73 6B 3E 64 5F 5F 32 31 00 00 ) // lueTask>d__21.. -.maxstack 2 -.locals init (class Example/'d__21' V_0) -IL_0000: newobj instance void Example/'d__21'::.ctor() -IL_0005: stloc.0 -IL_0006: ldloc.0 -IL_0007: call valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::Create() -IL_000c: stfld valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__21'::'<>t__builder' -IL_0011: ldloc.0 -IL_0012: ldarg.0 -IL_0013: stfld class Example Example/'d__21'::'<>4__this' -IL_0018: ldloc.0 -IL_0019: ldc.i4.m1 -IL_001a: stfld int32 Example/'d__21'::'<>1__state' -IL_001f: ldloc.0 -IL_0020: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__21'::'<>t__builder' -IL_0025: ldloca.s V_0 -IL_0027: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::Startd__21'>(!!0&) -IL_002c: ldloc.0 -IL_002d: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__21'::'<>t__builder' -IL_0032: call instance class [System.Runtime]System.Threading.Tasks.Task`1 valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::get_Task() -IL_0037: ret -} -.method public hidebysig instance class [System.Runtime]System.Threading.Tasks.Task`1 -AsyncMethod11_WithValueTask() cil managed -{ -63 4D 65 74 68 6F 64 31 31 5F 57 69 74 68 56 61 // cMethod11_WithVa -6C 75 65 54 61 73 6B 3E 64 5F 5F 32 32 00 00 ) // lueTask>d__22.. -.maxstack 2 -.locals init (class Example/'d__22' V_0) -IL_0000: newobj instance void Example/'d__22'::.ctor() -IL_0005: stloc.0 -IL_0006: ldloc.0 -IL_0007: call valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::Create() -IL_000c: stfld valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__22'::'<>t__builder' -IL_0011: ldloc.0 -IL_0012: ldarg.0 -IL_0013: stfld class Example Example/'d__22'::'<>4__this' -IL_0018: ldloc.0 -IL_0019: ldc.i4.m1 -IL_001a: stfld int32 Example/'d__22'::'<>1__state' -IL_001f: ldloc.0 -IL_0020: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__22'::'<>t__builder' -IL_0025: ldloca.s V_0 -IL_0027: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::Startd__22'>(!!0&) -IL_002c: ldloc.0 -IL_002d: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__22'::'<>t__builder' -IL_0032: call instance class [System.Runtime]System.Threading.Tasks.Task`1 valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::get_Task() -IL_0037: ret -} -.method public hidebysig instance class [System.Runtime]System.Threading.Tasks.Task`1 -AsyncMethod12_WithValueTask() cil managed -{ -63 4D 65 74 68 6F 64 31 32 5F 57 69 74 68 56 61 // cMethod12_WithVa -6C 75 65 54 61 73 6B 3E 64 5F 5F 32 33 00 00 ) // lueTask>d__23.. -.maxstack 2 -.locals init (class Example/'d__23' V_0) -IL_0000: newobj instance void Example/'d__23'::.ctor() -IL_0005: stloc.0 -IL_0006: ldloc.0 -IL_0007: call valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::Create() -IL_000c: stfld valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__23'::'<>t__builder' -IL_0011: ldloc.0 -IL_0012: ldarg.0 -IL_0013: stfld class Example Example/'d__23'::'<>4__this' -IL_0018: ldloc.0 -IL_0019: ldc.i4.m1 -IL_001a: stfld int32 Example/'d__23'::'<>1__state' -IL_001f: ldloc.0 -IL_0020: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__23'::'<>t__builder' -IL_0025: ldloca.s V_0 -IL_0027: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::Startd__23'>(!!0&) -IL_002c: ldloc.0 -IL_002d: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__23'::'<>t__builder' -IL_0032: call instance class [System.Runtime]System.Threading.Tasks.Task`1 valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::get_Task() -IL_0037: ret -} -.method public hidebysig specialname rtspecialname -instance void .ctor() cil managed -{ -.maxstack 8 -IL_0000: ldarg.0 -IL_0001: call instance void [System.Runtime]System.Object::.ctor() -IL_0006: nop -IL_0007: ret -} -} diff --git a/Tests/ModuleWeaverTests.DecompileExample.Core.Release.verified.txt b/Tests/ModuleWeaverTests.DecompileExample.Core.Release.verified.txt deleted file mode 100644 index ed372ae..0000000 --- a/Tests/ModuleWeaverTests.DecompileExample.Core.Release.verified.txt +++ /dev/null @@ -1,3791 +0,0 @@ -.class public auto ansi beforefieldinit Example -extends [System.Runtime]System.Object -{ -.custom instance void System.Runtime.CompilerServices.NullableContextAttribute::.ctor(uint8) = ( 01 00 01 00 00 ) -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.class auto ansi sealed nested private beforefieldinit 'd__0' -extends [System.Runtime]System.ValueType -implements [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine -{ -.interfaceimpl type [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field public int32 '<>1__state' -.field public valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder '<>t__builder' -.field private valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter '<>u__1' -.method private hidebysig newslot virtual final -instance void MoveNext() cil managed -{ -.override [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext -.maxstack 3 -.locals init (int32 V_0, -valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter V_1, -class [System.Runtime]System.Exception V_2) -IL_0000: ldarg.0 -IL_0001: ldfld int32 Example/'d__0'::'<>1__state' -IL_0006: stloc.0 -.try -{ -IL_0007: ldloc.0 -IL_0008: brfalse.s IL_003f -IL_000a: ldc.i4.1 -IL_000b: call class [System.Runtime]System.Threading.Tasks.Task [System.Runtime]System.Threading.Tasks.Task::Delay(int32) -IL_0010: callvirt instance valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter [System.Runtime]System.Threading.Tasks.Task::GetAwaiter() -IL_0015: stloc.1 -IL_0016: ldloca.s V_1 -IL_0018: call instance bool [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter::get_IsCompleted() -IL_001d: brtrue.s IL_005b -IL_001f: ldarg.0 -IL_0020: ldc.i4.0 -IL_0021: dup -IL_0022: stloc.0 -IL_0023: stfld int32 Example/'d__0'::'<>1__state' -IL_0028: ldarg.0 -IL_0029: ldloc.1 -IL_002a: stfld valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter Example/'d__0'::'<>u__1' -IL_002f: ldarg.0 -IL_0030: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Example/'d__0'::'<>t__builder' -IL_0035: ldloca.s V_1 -IL_0037: ldarg.0 -IL_0038: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::AwaitUnsafeOnCompletedd__0'>(!!0&, -!!1&) -IL_003d: leave.s IL_008e -IL_003f: ldarg.0 -IL_0040: ldfld valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter Example/'d__0'::'<>u__1' -IL_0045: stloc.1 -IL_0046: ldarg.0 -IL_0047: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter Example/'d__0'::'<>u__1' -IL_004c: initobj [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter -IL_0052: ldarg.0 -IL_0053: ldc.i4.m1 -IL_0054: dup -IL_0055: stloc.0 -IL_0056: stfld int32 Example/'d__0'::'<>1__state' -IL_005b: ldloca.s V_1 -IL_005d: call instance void [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter::GetResult() -IL_0062: leave.s IL_007b -} // end .try -catch [System.Runtime]System.Exception -{ -IL_0064: stloc.2 -IL_0065: ldarg.0 -IL_0066: ldc.i4.s -2 -IL_0068: stfld int32 Example/'d__0'::'<>1__state' -IL_006d: ldarg.0 -IL_006e: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Example/'d__0'::'<>t__builder' -IL_0073: ldloc.2 -IL_0074: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetException(class [System.Runtime]System.Exception) -IL_0079: leave.s IL_008e -} // end handler -IL_007b: ldarg.0 -IL_007c: ldc.i4.s -2 -IL_007e: stfld int32 Example/'d__0'::'<>1__state' -IL_0083: ldarg.0 -IL_0084: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Example/'d__0'::'<>t__builder' -IL_0089: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetResult() -IL_008e: ret -} -.method private hidebysig newslot virtual final -instance void SetStateMachine(class [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed -{ -.param [1] -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.override [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine -.maxstack 8 -IL_0000: ldarg.0 -IL_0001: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Example/'d__0'::'<>t__builder' -IL_0006: ldarg.1 -IL_0007: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetStateMachine(class [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine) -IL_000c: ret -} -} -.class auto ansi sealed nested private beforefieldinit 'd__1' -extends [System.Runtime]System.ValueType -implements [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine -{ -.interfaceimpl type [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field public int32 '<>1__state' -.field public valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder '<>t__builder' -.field private valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter '<>u__1' -.method private hidebysig newslot virtual final -instance void MoveNext() cil managed -{ -.override [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext -.maxstack 3 -.locals init (int32 V_0, -valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter V_1, -valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable V_2, -class [System.Runtime]System.Exception V_3) -IL_0000: ldarg.0 -IL_0001: ldfld int32 Example/'d__1'::'<>1__state' -IL_0006: stloc.0 -.try -{ -IL_0007: ldloc.0 -IL_0008: brfalse.s IL_0048 -IL_000a: ldc.i4.1 -IL_000b: call class [System.Runtime]System.Threading.Tasks.Task [System.Runtime]System.Threading.Tasks.Task::Delay(int32) -IL_0010: ldc.i4.0 -IL_0011: callvirt instance valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable [System.Private.CoreLib]System.Threading.Tasks.Task::ConfigureAwait(bool) -IL_0016: stloc.2 -IL_0017: ldloca.s V_2 -IL_0019: call instance valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable::GetAwaiter() -IL_001e: stloc.1 -IL_001f: ldloca.s V_1 -IL_0021: call instance bool [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter::get_IsCompleted() -IL_0026: brtrue.s IL_0064 -IL_0028: ldarg.0 -IL_0029: ldc.i4.0 -IL_002a: dup -IL_002b: stloc.0 -IL_002c: stfld int32 Example/'d__1'::'<>1__state' -IL_0031: ldarg.0 -IL_0032: ldloc.1 -IL_0033: stfld valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter Example/'d__1'::'<>u__1' -IL_0038: ldarg.0 -IL_0039: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Example/'d__1'::'<>t__builder' -IL_003e: ldloca.s V_1 -IL_0040: ldarg.0 -IL_0041: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::AwaitUnsafeOnCompletedd__1'>(!!0&, -!!1&) -IL_0046: leave.s IL_0097 -IL_0048: ldarg.0 -IL_0049: ldfld valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter Example/'d__1'::'<>u__1' -IL_004e: stloc.1 -IL_004f: ldarg.0 -IL_0050: ldflda valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter Example/'d__1'::'<>u__1' -IL_0055: initobj [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter -IL_005b: ldarg.0 -IL_005c: ldc.i4.m1 -IL_005d: dup -IL_005e: stloc.0 -IL_005f: stfld int32 Example/'d__1'::'<>1__state' -IL_0064: ldloca.s V_1 -IL_0066: call instance void [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter::GetResult() -IL_006b: leave.s IL_0084 -} // end .try -catch [System.Runtime]System.Exception -{ -IL_006d: stloc.3 -IL_006e: ldarg.0 -IL_006f: ldc.i4.s -2 -IL_0071: stfld int32 Example/'d__1'::'<>1__state' -IL_0076: ldarg.0 -IL_0077: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Example/'d__1'::'<>t__builder' -IL_007c: ldloc.3 -IL_007d: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetException(class [System.Runtime]System.Exception) -IL_0082: leave.s IL_0097 -} // end handler -IL_0084: ldarg.0 -IL_0085: ldc.i4.s -2 -IL_0087: stfld int32 Example/'d__1'::'<>1__state' -IL_008c: ldarg.0 -IL_008d: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Example/'d__1'::'<>t__builder' -IL_0092: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetResult() -IL_0097: ret -} -.method private hidebysig newslot virtual final -instance void SetStateMachine(class [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed -{ -.param [1] -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.override [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine -.maxstack 8 -IL_0000: ldarg.0 -IL_0001: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Example/'d__1'::'<>t__builder' -IL_0006: ldarg.1 -IL_0007: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetStateMachine(class [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine) -IL_000c: ret -} -} -.class auto ansi sealed nested private beforefieldinit 'd__2' -extends [System.Runtime]System.ValueType -implements [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine -{ -.interfaceimpl type [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field public int32 '<>1__state' -.field public valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder '<>t__builder' -.field private valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter '<>u__1' -.method private hidebysig newslot virtual final -instance void MoveNext() cil managed -{ -.override [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext -.maxstack 3 -.locals init (int32 V_0, -valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter V_1, -valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable V_2, -class [System.Runtime]System.Exception V_3) -IL_0000: ldarg.0 -IL_0001: ldfld int32 Example/'d__2'::'<>1__state' -IL_0006: stloc.0 -.try -{ -IL_0007: ldloc.0 -IL_0008: brfalse.s IL_0048 -IL_000a: ldc.i4.1 -IL_000b: call class [System.Runtime]System.Threading.Tasks.Task [System.Runtime]System.Threading.Tasks.Task::Delay(int32) -IL_0010: ldc.i4.0 -IL_0011: callvirt instance valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable [System.Runtime]System.Threading.Tasks.Task::ConfigureAwait(bool) -IL_0016: stloc.2 -IL_0017: ldloca.s V_2 -IL_0019: call instance valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable::GetAwaiter() -IL_001e: stloc.1 -IL_001f: ldloca.s V_1 -IL_0021: call instance bool [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter::get_IsCompleted() -IL_0026: brtrue.s IL_0064 -IL_0028: ldarg.0 -IL_0029: ldc.i4.0 -IL_002a: dup -IL_002b: stloc.0 -IL_002c: stfld int32 Example/'d__2'::'<>1__state' -IL_0031: ldarg.0 -IL_0032: ldloc.1 -IL_0033: stfld valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter Example/'d__2'::'<>u__1' -IL_0038: ldarg.0 -IL_0039: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Example/'d__2'::'<>t__builder' -IL_003e: ldloca.s V_1 -IL_0040: ldarg.0 -IL_0041: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::AwaitUnsafeOnCompletedd__2'>(!!0&, -!!1&) -IL_0046: leave.s IL_0097 -IL_0048: ldarg.0 -IL_0049: ldfld valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter Example/'d__2'::'<>u__1' -IL_004e: stloc.1 -IL_004f: ldarg.0 -IL_0050: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter Example/'d__2'::'<>u__1' -IL_0055: initobj [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter -IL_005b: ldarg.0 -IL_005c: ldc.i4.m1 -IL_005d: dup -IL_005e: stloc.0 -IL_005f: stfld int32 Example/'d__2'::'<>1__state' -IL_0064: ldloca.s V_1 -IL_0066: call instance void [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter::GetResult() -IL_006b: leave.s IL_0084 -} // end .try -catch [System.Runtime]System.Exception -{ -IL_006d: stloc.3 -IL_006e: ldarg.0 -IL_006f: ldc.i4.s -2 -IL_0071: stfld int32 Example/'d__2'::'<>1__state' -IL_0076: ldarg.0 -IL_0077: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Example/'d__2'::'<>t__builder' -IL_007c: ldloc.3 -IL_007d: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetException(class [System.Runtime]System.Exception) -IL_0082: leave.s IL_0097 -} // end handler -IL_0084: ldarg.0 -IL_0085: ldc.i4.s -2 -IL_0087: stfld int32 Example/'d__2'::'<>1__state' -IL_008c: ldarg.0 -IL_008d: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Example/'d__2'::'<>t__builder' -IL_0092: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetResult() -IL_0097: ret -} -.method private hidebysig newslot virtual final -instance void SetStateMachine(class [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed -{ -.param [1] -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.override [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine -.maxstack 8 -IL_0000: ldarg.0 -IL_0001: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Example/'d__2'::'<>t__builder' -IL_0006: ldarg.1 -IL_0007: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetStateMachine(class [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine) -IL_000c: ret -} -} -.class auto ansi sealed nested private beforefieldinit 'd__3' -extends [System.Runtime]System.ValueType -implements [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine -{ -.interfaceimpl type [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field public int32 '<>1__state' -.field public valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 '<>t__builder' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field private valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter`1 '<>u__1' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.method private hidebysig newslot virtual final -instance void MoveNext() cil managed -{ -.override [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext -.maxstack 3 -.locals init (int32 V_0, -int32 V_1, -valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter`1 V_2, -class [System.Runtime]System.Exception V_3) -IL_0000: ldarg.0 -IL_0001: ldfld int32 Example/'d__3'::'<>1__state' -IL_0006: stloc.0 -.try -{ -IL_0007: ldloc.0 -IL_0008: brfalse.s IL_0040 -IL_000a: ldc.i4.s 10 -IL_000c: call class [System.Runtime]System.Threading.Tasks.Task`1 [System.Runtime]System.Threading.Tasks.Task::FromResult(!!0) -IL_0011: callvirt instance valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter`1 class [System.Runtime]System.Threading.Tasks.Task`1::GetAwaiter() -IL_0016: stloc.2 -IL_0017: ldloca.s V_2 -IL_0019: call instance bool valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter`1::get_IsCompleted() -IL_001e: brtrue.s IL_005c -IL_0020: ldarg.0 -IL_0021: ldc.i4.0 -IL_0022: dup -IL_0023: stloc.0 -IL_0024: stfld int32 Example/'d__3'::'<>1__state' -IL_0029: ldarg.0 -IL_002a: ldloc.2 -IL_002b: stfld valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter`1 Example/'d__3'::'<>u__1' -IL_0030: ldarg.0 -IL_0031: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__3'::'<>t__builder' -IL_0036: ldloca.s V_2 -IL_0038: ldarg.0 -IL_0039: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::AwaitUnsafeOnCompleted,valuetype Example/'d__3'>(!!0&, -!!1&) -IL_003e: leave.s IL_0091 -IL_0040: ldarg.0 -IL_0041: ldfld valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter`1 Example/'d__3'::'<>u__1' -IL_0046: stloc.2 -IL_0047: ldarg.0 -IL_0048: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter`1 Example/'d__3'::'<>u__1' -IL_004d: initobj valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter`1 -IL_0053: ldarg.0 -IL_0054: ldc.i4.m1 -IL_0055: dup -IL_0056: stloc.0 -IL_0057: stfld int32 Example/'d__3'::'<>1__state' -IL_005c: ldloca.s V_2 -IL_005e: call instance !0 valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter`1::GetResult() -IL_0063: stloc.1 -IL_0064: leave.s IL_007d -} // end .try -catch [System.Runtime]System.Exception -{ -IL_0066: stloc.3 -IL_0067: ldarg.0 -IL_0068: ldc.i4.s -2 -IL_006a: stfld int32 Example/'d__3'::'<>1__state' -IL_006f: ldarg.0 -IL_0070: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__3'::'<>t__builder' -IL_0075: ldloc.3 -IL_0076: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetException(class [System.Runtime]System.Exception) -IL_007b: leave.s IL_0091 -} // end handler -IL_007d: ldarg.0 -IL_007e: ldc.i4.s -2 -IL_0080: stfld int32 Example/'d__3'::'<>1__state' -IL_0085: ldarg.0 -IL_0086: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__3'::'<>t__builder' -IL_008b: ldloc.1 -IL_008c: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetResult(!0) -IL_0091: ret -} -.method private hidebysig newslot virtual final -instance void SetStateMachine(class [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed -{ -.param [1] -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.override [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine -.maxstack 8 -IL_0000: ldarg.0 -IL_0001: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__3'::'<>t__builder' -IL_0006: ldarg.1 -IL_0007: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetStateMachine(class [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine) -IL_000c: ret -} -} -.class auto ansi sealed nested private beforefieldinit 'd__4' -extends [System.Runtime]System.ValueType -implements [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine -{ -.interfaceimpl type [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field public int32 '<>1__state' -.field public valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 '<>t__builder' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field private valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter '<>u__1' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.method private hidebysig newslot virtual final -instance void MoveNext() cil managed -{ -.override [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext -.maxstack 3 -.locals init (int32 V_0, -int32 V_1, -valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter V_2, -valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1 V_3, -class [System.Runtime]System.Exception V_4) -IL_0000: ldarg.0 -IL_0001: ldfld int32 Example/'d__4'::'<>1__state' -IL_0006: stloc.0 -.try -{ -IL_0007: ldloc.0 -IL_0008: brfalse.s IL_0049 -IL_000a: ldc.i4.s 10 -IL_000c: call class [System.Runtime]System.Threading.Tasks.Task`1 [System.Runtime]System.Threading.Tasks.Task::FromResult(!!0) -IL_0011: ldc.i4.0 -IL_0012: callvirt instance valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1 class [System.Private.CoreLib]System.Threading.Tasks.Task`1::ConfigureAwait(bool) -IL_0017: stloc.3 -IL_0018: ldloca.s V_3 -IL_001a: call instance valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1::GetAwaiter() -IL_001f: stloc.2 -IL_0020: ldloca.s V_2 -IL_0022: call instance bool valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter::get_IsCompleted() -IL_0027: brtrue.s IL_0065 -IL_0029: ldarg.0 -IL_002a: ldc.i4.0 -IL_002b: dup -IL_002c: stloc.0 -IL_002d: stfld int32 Example/'d__4'::'<>1__state' -IL_0032: ldarg.0 -IL_0033: ldloc.2 -IL_0034: stfld valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter Example/'d__4'::'<>u__1' -IL_0039: ldarg.0 -IL_003a: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__4'::'<>t__builder' -IL_003f: ldloca.s V_2 -IL_0041: ldarg.0 -IL_0042: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::AwaitUnsafeOnCompleted,valuetype Example/'d__4'>(!!0&, -!!1&) -IL_0047: leave.s IL_009c -IL_0049: ldarg.0 -IL_004a: ldfld valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter Example/'d__4'::'<>u__1' -IL_004f: stloc.2 -IL_0050: ldarg.0 -IL_0051: ldflda valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter Example/'d__4'::'<>u__1' -IL_0056: initobj valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter -IL_005c: ldarg.0 -IL_005d: ldc.i4.m1 -IL_005e: dup -IL_005f: stloc.0 -IL_0060: stfld int32 Example/'d__4'::'<>1__state' -IL_0065: ldloca.s V_2 -IL_0067: call instance !0 valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter::GetResult() -IL_006c: stloc.1 -IL_006d: leave.s IL_0088 -} // end .try -catch [System.Runtime]System.Exception -{ -IL_006f: stloc.s V_4 -IL_0071: ldarg.0 -IL_0072: ldc.i4.s -2 -IL_0074: stfld int32 Example/'d__4'::'<>1__state' -IL_0079: ldarg.0 -IL_007a: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__4'::'<>t__builder' -IL_007f: ldloc.s V_4 -IL_0081: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetException(class [System.Runtime]System.Exception) -IL_0086: leave.s IL_009c -} // end handler -IL_0088: ldarg.0 -IL_0089: ldc.i4.s -2 -IL_008b: stfld int32 Example/'d__4'::'<>1__state' -IL_0090: ldarg.0 -IL_0091: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__4'::'<>t__builder' -IL_0096: ldloc.1 -IL_0097: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetResult(!0) -IL_009c: ret -} -.method private hidebysig newslot virtual final -instance void SetStateMachine(class [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed -{ -.param [1] -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.override [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine -.maxstack 8 -IL_0000: ldarg.0 -IL_0001: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__4'::'<>t__builder' -IL_0006: ldarg.1 -IL_0007: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetStateMachine(class [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine) -IL_000c: ret -} -} -.class auto ansi sealed nested private beforefieldinit 'd__5' -extends [System.Runtime]System.ValueType -implements [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine -{ -.interfaceimpl type [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field public int32 '<>1__state' -.field public valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 '<>t__builder' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field private valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter '<>u__1' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.method private hidebysig newslot virtual final -instance void MoveNext() cil managed -{ -.override [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext -.maxstack 3 -.locals init (int32 V_0, -int32 V_1, -valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter V_2, -valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1 V_3, -class [System.Runtime]System.Exception V_4) -IL_0000: ldarg.0 -IL_0001: ldfld int32 Example/'d__5'::'<>1__state' -IL_0006: stloc.0 -.try -{ -IL_0007: ldloc.0 -IL_0008: brfalse.s IL_0049 -IL_000a: ldc.i4.s 10 -IL_000c: call class [System.Runtime]System.Threading.Tasks.Task`1 [System.Runtime]System.Threading.Tasks.Task::FromResult(!!0) -IL_0011: ldc.i4.0 -IL_0012: callvirt instance valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1 class [System.Runtime]System.Threading.Tasks.Task`1::ConfigureAwait(bool) -IL_0017: stloc.3 -IL_0018: ldloca.s V_3 -IL_001a: call instance valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1::GetAwaiter() -IL_001f: stloc.2 -IL_0020: ldloca.s V_2 -IL_0022: call instance bool valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter::get_IsCompleted() -IL_0027: brtrue.s IL_0065 -IL_0029: ldarg.0 -IL_002a: ldc.i4.0 -IL_002b: dup -IL_002c: stloc.0 -IL_002d: stfld int32 Example/'d__5'::'<>1__state' -IL_0032: ldarg.0 -IL_0033: ldloc.2 -IL_0034: stfld valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter Example/'d__5'::'<>u__1' -IL_0039: ldarg.0 -IL_003a: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__5'::'<>t__builder' -IL_003f: ldloca.s V_2 -IL_0041: ldarg.0 -IL_0042: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::AwaitUnsafeOnCompleted,valuetype Example/'d__5'>(!!0&, -!!1&) -IL_0047: leave.s IL_009c -IL_0049: ldarg.0 -IL_004a: ldfld valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter Example/'d__5'::'<>u__1' -IL_004f: stloc.2 -IL_0050: ldarg.0 -IL_0051: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter Example/'d__5'::'<>u__1' -IL_0056: initobj valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter -IL_005c: ldarg.0 -IL_005d: ldc.i4.m1 -IL_005e: dup -IL_005f: stloc.0 -IL_0060: stfld int32 Example/'d__5'::'<>1__state' -IL_0065: ldloca.s V_2 -IL_0067: call instance !0 valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter::GetResult() -IL_006c: stloc.1 -IL_006d: leave.s IL_0088 -} // end .try -catch [System.Runtime]System.Exception -{ -IL_006f: stloc.s V_4 -IL_0071: ldarg.0 -IL_0072: ldc.i4.s -2 -IL_0074: stfld int32 Example/'d__5'::'<>1__state' -IL_0079: ldarg.0 -IL_007a: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__5'::'<>t__builder' -IL_007f: ldloc.s V_4 -IL_0081: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetException(class [System.Runtime]System.Exception) -IL_0086: leave.s IL_009c -} // end handler -IL_0088: ldarg.0 -IL_0089: ldc.i4.s -2 -IL_008b: stfld int32 Example/'d__5'::'<>1__state' -IL_0090: ldarg.0 -IL_0091: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__5'::'<>t__builder' -IL_0096: ldloc.1 -IL_0097: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetResult(!0) -IL_009c: ret -} -.method private hidebysig newslot virtual final -instance void SetStateMachine(class [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed -{ -.param [1] -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.override [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine -.maxstack 8 -IL_0000: ldarg.0 -IL_0001: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__5'::'<>t__builder' -IL_0006: ldarg.1 -IL_0007: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetStateMachine(class [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine) -IL_000c: ret -} -} -.class auto ansi sealed nested private beforefieldinit 'd__6' -extends [System.Runtime]System.ValueType -implements [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine -{ -.interfaceimpl type [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field public int32 '<>1__state' -.field public valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 '<>t__builder' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field private int32 '5__2' -.field private int32 '5__3' -.field private valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter`1 '<>u__1' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field private int32 '5__4' -.field private valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter '<>u__2' -.field private int32 '<>7__wrap4' -.method private hidebysig newslot virtual final -instance void MoveNext() cil managed -{ -.override [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext -.maxstack 3 -.locals init (int32 V_0, -int32 V_1, -int32 V_2, -valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter`1 V_3, -valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter V_4, -class [System.Runtime]System.Exception V_5) -IL_0000: ldarg.0 -IL_0001: ldfld int32 Example/'d__6'::'<>1__state' -IL_0006: stloc.0 -.try -{ -IL_0007: ldloc.0 -IL_0008: switch ( -IL_0052, -IL_00ca, -IL_0137) -IL_0019: ldc.i4.s 10 -IL_001b: call class [System.Runtime]System.Threading.Tasks.Task`1 [System.Runtime]System.Threading.Tasks.Task::FromResult(!!0) -IL_0020: callvirt instance valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter`1 class [System.Runtime]System.Threading.Tasks.Task`1::GetAwaiter() -IL_0025: stloc.3 -IL_0026: ldloca.s V_3 -IL_0028: call instance bool valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter`1::get_IsCompleted() -IL_002d: brtrue.s IL_006e -IL_002f: ldarg.0 -IL_0030: ldc.i4.0 -IL_0031: dup -IL_0032: stloc.0 -IL_0033: stfld int32 Example/'d__6'::'<>1__state' -IL_0038: ldarg.0 -IL_0039: ldloc.3 -IL_003a: stfld valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter`1 Example/'d__6'::'<>u__1' -IL_003f: ldarg.0 -IL_0040: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__6'::'<>t__builder' -IL_0045: ldloca.s V_3 -IL_0047: ldarg.0 -IL_0048: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::AwaitUnsafeOnCompleted,valuetype Example/'d__6'>(!!0&, -!!1&) -IL_004d: leave IL_01c0 -IL_0052: ldarg.0 -IL_0053: ldfld valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter`1 Example/'d__6'::'<>u__1' -IL_0058: stloc.3 -IL_0059: ldarg.0 -IL_005a: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter`1 Example/'d__6'::'<>u__1' -IL_005f: initobj valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter`1 -IL_0065: ldarg.0 -IL_0066: ldc.i4.m1 -IL_0067: dup -IL_0068: stloc.0 -IL_0069: stfld int32 Example/'d__6'::'<>1__state' -IL_006e: ldloca.s V_3 -IL_0070: call instance !0 valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter`1::GetResult() -IL_0075: stloc.2 -IL_0076: ldarg.0 -IL_0077: ldloc.2 -IL_0078: stfld int32 Example/'d__6'::'5__2' -IL_007d: ldarg.0 -IL_007e: ldc.i4.0 -IL_007f: stfld int32 Example/'d__6'::'5__3' -IL_0084: ldarg.0 -IL_0085: ldc.i4.0 -IL_0086: stfld int32 Example/'d__6'::'5__4' -IL_008b: br IL_0179 -IL_0090: ldc.i4.1 -IL_0091: call class [System.Runtime]System.Threading.Tasks.Task [System.Runtime]System.Threading.Tasks.Task::Delay(int32) -IL_0096: callvirt instance valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter [System.Runtime]System.Threading.Tasks.Task::GetAwaiter() -IL_009b: stloc.s V_4 -IL_009d: ldloca.s V_4 -IL_009f: call instance bool [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter::get_IsCompleted() -IL_00a4: brtrue.s IL_00e7 -IL_00a6: ldarg.0 -IL_00a7: ldc.i4.1 -IL_00a8: dup -IL_00a9: stloc.0 -IL_00aa: stfld int32 Example/'d__6'::'<>1__state' -IL_00af: ldarg.0 -IL_00b0: ldloc.s V_4 -IL_00b2: stfld valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter Example/'d__6'::'<>u__2' -IL_00b7: ldarg.0 -IL_00b8: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__6'::'<>t__builder' -IL_00bd: ldloca.s V_4 -IL_00bf: ldarg.0 -IL_00c0: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::AwaitUnsafeOnCompletedd__6'>(!!0&, -!!1&) -IL_00c5: leave IL_01c0 -IL_00ca: ldarg.0 -IL_00cb: ldfld valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter Example/'d__6'::'<>u__2' -IL_00d0: stloc.s V_4 -IL_00d2: ldarg.0 -IL_00d3: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter Example/'d__6'::'<>u__2' -IL_00d8: initobj [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter -IL_00de: ldarg.0 -IL_00df: ldc.i4.m1 -IL_00e0: dup -IL_00e1: stloc.0 -IL_00e2: stfld int32 Example/'d__6'::'<>1__state' -IL_00e7: ldloca.s V_4 -IL_00e9: call instance void [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter::GetResult() -IL_00ee: ldarg.0 -IL_00ef: ldarg.0 -IL_00f0: ldfld int32 Example/'d__6'::'5__3' -IL_00f5: stfld int32 Example/'d__6'::'<>7__wrap4' -IL_00fa: ldarg.0 -IL_00fb: ldfld int32 Example/'d__6'::'5__4' -IL_0100: call class [System.Runtime]System.Threading.Tasks.Task`1 [System.Runtime]System.Threading.Tasks.Task::FromResult(!!0) -IL_0105: callvirt instance valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter`1 class [System.Runtime]System.Threading.Tasks.Task`1::GetAwaiter() -IL_010a: stloc.3 -IL_010b: ldloca.s V_3 -IL_010d: call instance bool valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter`1::get_IsCompleted() -IL_0112: brtrue.s IL_0153 -IL_0114: ldarg.0 -IL_0115: ldc.i4.2 -IL_0116: dup -IL_0117: stloc.0 -IL_0118: stfld int32 Example/'d__6'::'<>1__state' -IL_011d: ldarg.0 -IL_011e: ldloc.3 -IL_011f: stfld valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter`1 Example/'d__6'::'<>u__1' -IL_0124: ldarg.0 -IL_0125: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__6'::'<>t__builder' -IL_012a: ldloca.s V_3 -IL_012c: ldarg.0 -IL_012d: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::AwaitUnsafeOnCompleted,valuetype Example/'d__6'>(!!0&, -!!1&) -IL_0132: leave IL_01c0 -IL_0137: ldarg.0 -IL_0138: ldfld valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter`1 Example/'d__6'::'<>u__1' -IL_013d: stloc.3 -IL_013e: ldarg.0 -IL_013f: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter`1 Example/'d__6'::'<>u__1' -IL_0144: initobj valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter`1 -IL_014a: ldarg.0 -IL_014b: ldc.i4.m1 -IL_014c: dup -IL_014d: stloc.0 -IL_014e: stfld int32 Example/'d__6'::'<>1__state' -IL_0153: ldloca.s V_3 -IL_0155: call instance !0 valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter`1::GetResult() -IL_015a: stloc.2 -IL_015b: ldarg.0 -IL_015c: ldarg.0 -IL_015d: ldfld int32 Example/'d__6'::'<>7__wrap4' -IL_0162: ldloc.2 -IL_0163: add -IL_0164: stfld int32 Example/'d__6'::'5__3' -IL_0169: ldarg.0 -IL_016a: ldfld int32 Example/'d__6'::'5__4' -IL_016f: stloc.2 -IL_0170: ldarg.0 -IL_0171: ldloc.2 -IL_0172: ldc.i4.1 -IL_0173: add -IL_0174: stfld int32 Example/'d__6'::'5__4' -IL_0179: ldarg.0 -IL_017a: ldfld int32 Example/'d__6'::'5__4' -IL_017f: ldarg.0 -IL_0180: ldfld int32 Example/'d__6'::'5__2' -IL_0185: blt IL_0090 -IL_018a: ldarg.0 -IL_018b: ldfld int32 Example/'d__6'::'5__3' -IL_0190: stloc.1 -IL_0191: leave.s IL_01ac -} // end .try -catch [System.Runtime]System.Exception -{ -IL_0193: stloc.s V_5 -IL_0195: ldarg.0 -IL_0196: ldc.i4.s -2 -IL_0198: stfld int32 Example/'d__6'::'<>1__state' -IL_019d: ldarg.0 -IL_019e: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__6'::'<>t__builder' -IL_01a3: ldloc.s V_5 -IL_01a5: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetException(class [System.Runtime]System.Exception) -IL_01aa: leave.s IL_01c0 -} // end handler -IL_01ac: ldarg.0 -IL_01ad: ldc.i4.s -2 -IL_01af: stfld int32 Example/'d__6'::'<>1__state' -IL_01b4: ldarg.0 -IL_01b5: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__6'::'<>t__builder' -IL_01ba: ldloc.1 -IL_01bb: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetResult(!0) -IL_01c0: ret -} -.method private hidebysig newslot virtual final -instance void SetStateMachine(class [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed -{ -.param [1] -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.override [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine -.maxstack 8 -IL_0000: ldarg.0 -IL_0001: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__6'::'<>t__builder' -IL_0006: ldarg.1 -IL_0007: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetStateMachine(class [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine) -IL_000c: ret -} -} -.class auto ansi sealed nested private beforefieldinit 'd__7' -extends [System.Runtime]System.ValueType -implements [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine -{ -.interfaceimpl type [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field public int32 '<>1__state' -.field public valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 '<>t__builder' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field private int32 '5__2' -.field private int32 '5__3' -.field private valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter '<>u__1' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field private int32 '5__4' -.field private valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter '<>u__2' -.field private int32 '<>7__wrap4' -.method private hidebysig newslot virtual final -instance void MoveNext() cil managed -{ -.override [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext -.maxstack 3 -.locals init (int32 V_0, -int32 V_1, -int32 V_2, -valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter V_3, -valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1 V_4, -valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable V_5, -valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter V_6, -class [System.Runtime]System.Exception V_7) -IL_0000: ldarg.0 -IL_0001: ldfld int32 Example/'d__7'::'<>1__state' -IL_0006: stloc.0 -.try -{ -IL_0007: ldloc.0 -IL_0008: switch ( -IL_005c, -IL_00de, -IL_0155) -IL_0019: ldc.i4.s 10 -IL_001b: call class [System.Runtime]System.Threading.Tasks.Task`1 [System.Runtime]System.Threading.Tasks.Task::FromResult(!!0) -IL_0020: ldc.i4.0 -IL_0021: callvirt instance valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1 class [System.Private.CoreLib]System.Threading.Tasks.Task`1::ConfigureAwait(bool) -IL_0026: stloc.s V_4 -IL_0028: ldloca.s V_4 -IL_002a: call instance valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1::GetAwaiter() -IL_002f: stloc.3 -IL_0030: ldloca.s V_3 -IL_0032: call instance bool valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter::get_IsCompleted() -IL_0037: brtrue.s IL_0078 -IL_0039: ldarg.0 -IL_003a: ldc.i4.0 -IL_003b: dup -IL_003c: stloc.0 -IL_003d: stfld int32 Example/'d__7'::'<>1__state' -IL_0042: ldarg.0 -IL_0043: ldloc.3 -IL_0044: stfld valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter Example/'d__7'::'<>u__1' -IL_0049: ldarg.0 -IL_004a: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__7'::'<>t__builder' -IL_004f: ldloca.s V_3 -IL_0051: ldarg.0 -IL_0052: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::AwaitUnsafeOnCompleted,valuetype Example/'d__7'>(!!0&, -!!1&) -IL_0057: leave IL_01de -IL_005c: ldarg.0 -IL_005d: ldfld valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter Example/'d__7'::'<>u__1' -IL_0062: stloc.3 -IL_0063: ldarg.0 -IL_0064: ldflda valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter Example/'d__7'::'<>u__1' -IL_0069: initobj valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter -IL_006f: ldarg.0 -IL_0070: ldc.i4.m1 -IL_0071: dup -IL_0072: stloc.0 -IL_0073: stfld int32 Example/'d__7'::'<>1__state' -IL_0078: ldloca.s V_3 -IL_007a: call instance !0 valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter::GetResult() -IL_007f: stloc.2 -IL_0080: ldarg.0 -IL_0081: ldloc.2 -IL_0082: stfld int32 Example/'d__7'::'5__2' -IL_0087: ldarg.0 -IL_0088: ldc.i4.0 -IL_0089: stfld int32 Example/'d__7'::'5__3' -IL_008e: ldarg.0 -IL_008f: ldc.i4.0 -IL_0090: stfld int32 Example/'d__7'::'5__4' -IL_0095: br IL_0197 -IL_009a: ldc.i4.1 -IL_009b: call class [System.Runtime]System.Threading.Tasks.Task [System.Runtime]System.Threading.Tasks.Task::Delay(int32) -IL_00a0: ldc.i4.0 -IL_00a1: callvirt instance valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable [System.Private.CoreLib]System.Threading.Tasks.Task::ConfigureAwait(bool) -IL_00a6: stloc.s V_5 -IL_00a8: ldloca.s V_5 -IL_00aa: call instance valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable::GetAwaiter() -IL_00af: stloc.s V_6 -IL_00b1: ldloca.s V_6 -IL_00b3: call instance bool [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter::get_IsCompleted() -IL_00b8: brtrue.s IL_00fb -IL_00ba: ldarg.0 -IL_00bb: ldc.i4.1 -IL_00bc: dup -IL_00bd: stloc.0 -IL_00be: stfld int32 Example/'d__7'::'<>1__state' -IL_00c3: ldarg.0 -IL_00c4: ldloc.s V_6 -IL_00c6: stfld valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter Example/'d__7'::'<>u__2' -IL_00cb: ldarg.0 -IL_00cc: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__7'::'<>t__builder' -IL_00d1: ldloca.s V_6 -IL_00d3: ldarg.0 -IL_00d4: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::AwaitUnsafeOnCompletedd__7'>(!!0&, -!!1&) -IL_00d9: leave IL_01de -IL_00de: ldarg.0 -IL_00df: ldfld valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter Example/'d__7'::'<>u__2' -IL_00e4: stloc.s V_6 -IL_00e6: ldarg.0 -IL_00e7: ldflda valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter Example/'d__7'::'<>u__2' -IL_00ec: initobj [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter -IL_00f2: ldarg.0 -IL_00f3: ldc.i4.m1 -IL_00f4: dup -IL_00f5: stloc.0 -IL_00f6: stfld int32 Example/'d__7'::'<>1__state' -IL_00fb: ldloca.s V_6 -IL_00fd: call instance void [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter::GetResult() -IL_0102: ldarg.0 -IL_0103: ldarg.0 -IL_0104: ldfld int32 Example/'d__7'::'5__3' -IL_0109: stfld int32 Example/'d__7'::'<>7__wrap4' -IL_010e: ldarg.0 -IL_010f: ldfld int32 Example/'d__7'::'5__4' -IL_0114: call class [System.Runtime]System.Threading.Tasks.Task`1 [System.Runtime]System.Threading.Tasks.Task::FromResult(!!0) -IL_0119: ldc.i4.0 -IL_011a: callvirt instance valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1 class [System.Private.CoreLib]System.Threading.Tasks.Task`1::ConfigureAwait(bool) -IL_011f: stloc.s V_4 -IL_0121: ldloca.s V_4 -IL_0123: call instance valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1::GetAwaiter() -IL_0128: stloc.3 -IL_0129: ldloca.s V_3 -IL_012b: call instance bool valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter::get_IsCompleted() -IL_0130: brtrue.s IL_0171 -IL_0132: ldarg.0 -IL_0133: ldc.i4.2 -IL_0134: dup -IL_0135: stloc.0 -IL_0136: stfld int32 Example/'d__7'::'<>1__state' -IL_013b: ldarg.0 -IL_013c: ldloc.3 -IL_013d: stfld valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter Example/'d__7'::'<>u__1' -IL_0142: ldarg.0 -IL_0143: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__7'::'<>t__builder' -IL_0148: ldloca.s V_3 -IL_014a: ldarg.0 -IL_014b: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::AwaitUnsafeOnCompleted,valuetype Example/'d__7'>(!!0&, -!!1&) -IL_0150: leave IL_01de -IL_0155: ldarg.0 -IL_0156: ldfld valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter Example/'d__7'::'<>u__1' -IL_015b: stloc.3 -IL_015c: ldarg.0 -IL_015d: ldflda valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter Example/'d__7'::'<>u__1' -IL_0162: initobj valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter -IL_0168: ldarg.0 -IL_0169: ldc.i4.m1 -IL_016a: dup -IL_016b: stloc.0 -IL_016c: stfld int32 Example/'d__7'::'<>1__state' -IL_0171: ldloca.s V_3 -IL_0173: call instance !0 valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter::GetResult() -IL_0178: stloc.2 -IL_0179: ldarg.0 -IL_017a: ldarg.0 -IL_017b: ldfld int32 Example/'d__7'::'<>7__wrap4' -IL_0180: ldloc.2 -IL_0181: add -IL_0182: stfld int32 Example/'d__7'::'5__3' -IL_0187: ldarg.0 -IL_0188: ldfld int32 Example/'d__7'::'5__4' -IL_018d: stloc.2 -IL_018e: ldarg.0 -IL_018f: ldloc.2 -IL_0190: ldc.i4.1 -IL_0191: add -IL_0192: stfld int32 Example/'d__7'::'5__4' -IL_0197: ldarg.0 -IL_0198: ldfld int32 Example/'d__7'::'5__4' -IL_019d: ldarg.0 -IL_019e: ldfld int32 Example/'d__7'::'5__2' -IL_01a3: blt IL_009a -IL_01a8: ldarg.0 -IL_01a9: ldfld int32 Example/'d__7'::'5__3' -IL_01ae: stloc.1 -IL_01af: leave.s IL_01ca -} // end .try -catch [System.Runtime]System.Exception -{ -IL_01b1: stloc.s V_7 -IL_01b3: ldarg.0 -IL_01b4: ldc.i4.s -2 -IL_01b6: stfld int32 Example/'d__7'::'<>1__state' -IL_01bb: ldarg.0 -IL_01bc: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__7'::'<>t__builder' -IL_01c1: ldloc.s V_7 -IL_01c3: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetException(class [System.Runtime]System.Exception) -IL_01c8: leave.s IL_01de -} // end handler -IL_01ca: ldarg.0 -IL_01cb: ldc.i4.s -2 -IL_01cd: stfld int32 Example/'d__7'::'<>1__state' -IL_01d2: ldarg.0 -IL_01d3: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__7'::'<>t__builder' -IL_01d8: ldloc.1 -IL_01d9: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetResult(!0) -IL_01de: ret -} -.method private hidebysig newslot virtual final -instance void SetStateMachine(class [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed -{ -.param [1] -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.override [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine -.maxstack 8 -IL_0000: ldarg.0 -IL_0001: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__7'::'<>t__builder' -IL_0006: ldarg.1 -IL_0007: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetStateMachine(class [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine) -IL_000c: ret -} -} -.class auto ansi sealed nested private beforefieldinit 'd__8' -extends [System.Runtime]System.ValueType -implements [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine -{ -.interfaceimpl type [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field public int32 '<>1__state' -.field public valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 '<>t__builder' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field private int32 '5__2' -.field private int32 '5__3' -.field private valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter '<>u__1' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field private int32 '5__4' -.field private valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter '<>u__2' -.field private int32 '<>7__wrap4' -.method private hidebysig newslot virtual final -instance void MoveNext() cil managed -{ -.override [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext -.maxstack 3 -.locals init (int32 V_0, -int32 V_1, -int32 V_2, -valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter V_3, -valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1 V_4, -valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter V_5, -valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable V_6, -class [System.Runtime]System.Exception V_7) -IL_0000: ldarg.0 -IL_0001: ldfld int32 Example/'d__8'::'<>1__state' -IL_0006: stloc.0 -.try -{ -IL_0007: ldloc.0 -IL_0008: switch ( -IL_005c, -IL_00de, -IL_0155) -IL_0019: ldc.i4.s 10 -IL_001b: call class [System.Runtime]System.Threading.Tasks.Task`1 [System.Runtime]System.Threading.Tasks.Task::FromResult(!!0) -IL_0020: ldc.i4.0 -IL_0021: callvirt instance valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1 class [System.Runtime]System.Threading.Tasks.Task`1::ConfigureAwait(bool) -IL_0026: stloc.s V_4 -IL_0028: ldloca.s V_4 -IL_002a: call instance valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1::GetAwaiter() -IL_002f: stloc.3 -IL_0030: ldloca.s V_3 -IL_0032: call instance bool valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter::get_IsCompleted() -IL_0037: brtrue.s IL_0078 -IL_0039: ldarg.0 -IL_003a: ldc.i4.0 -IL_003b: dup -IL_003c: stloc.0 -IL_003d: stfld int32 Example/'d__8'::'<>1__state' -IL_0042: ldarg.0 -IL_0043: ldloc.3 -IL_0044: stfld valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter Example/'d__8'::'<>u__1' -IL_0049: ldarg.0 -IL_004a: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__8'::'<>t__builder' -IL_004f: ldloca.s V_3 -IL_0051: ldarg.0 -IL_0052: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::AwaitUnsafeOnCompleted,valuetype Example/'d__8'>(!!0&, -!!1&) -IL_0057: leave IL_01de -IL_005c: ldarg.0 -IL_005d: ldfld valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter Example/'d__8'::'<>u__1' -IL_0062: stloc.3 -IL_0063: ldarg.0 -IL_0064: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter Example/'d__8'::'<>u__1' -IL_0069: initobj valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter -IL_006f: ldarg.0 -IL_0070: ldc.i4.m1 -IL_0071: dup -IL_0072: stloc.0 -IL_0073: stfld int32 Example/'d__8'::'<>1__state' -IL_0078: ldloca.s V_3 -IL_007a: call instance !0 valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter::GetResult() -IL_007f: stloc.2 -IL_0080: ldarg.0 -IL_0081: ldloc.2 -IL_0082: stfld int32 Example/'d__8'::'5__2' -IL_0087: ldarg.0 -IL_0088: ldc.i4.0 -IL_0089: stfld int32 Example/'d__8'::'5__3' -IL_008e: ldarg.0 -IL_008f: ldc.i4.0 -IL_0090: stfld int32 Example/'d__8'::'5__4' -IL_0095: br IL_0197 -IL_009a: ldc.i4.1 -IL_009b: call class [System.Runtime]System.Threading.Tasks.Task [System.Runtime]System.Threading.Tasks.Task::Delay(int32) -IL_00a0: ldc.i4.0 -IL_00a1: callvirt instance valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable [System.Runtime]System.Threading.Tasks.Task::ConfigureAwait(bool) -IL_00a6: stloc.s V_6 -IL_00a8: ldloca.s V_6 -IL_00aa: call instance valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable::GetAwaiter() -IL_00af: stloc.s V_5 -IL_00b1: ldloca.s V_5 -IL_00b3: call instance bool [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter::get_IsCompleted() -IL_00b8: brtrue.s IL_00fb -IL_00ba: ldarg.0 -IL_00bb: ldc.i4.1 -IL_00bc: dup -IL_00bd: stloc.0 -IL_00be: stfld int32 Example/'d__8'::'<>1__state' -IL_00c3: ldarg.0 -IL_00c4: ldloc.s V_5 -IL_00c6: stfld valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter Example/'d__8'::'<>u__2' -IL_00cb: ldarg.0 -IL_00cc: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__8'::'<>t__builder' -IL_00d1: ldloca.s V_5 -IL_00d3: ldarg.0 -IL_00d4: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::AwaitUnsafeOnCompletedd__8'>(!!0&, -!!1&) -IL_00d9: leave IL_01de -IL_00de: ldarg.0 -IL_00df: ldfld valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter Example/'d__8'::'<>u__2' -IL_00e4: stloc.s V_5 -IL_00e6: ldarg.0 -IL_00e7: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter Example/'d__8'::'<>u__2' -IL_00ec: initobj [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter -IL_00f2: ldarg.0 -IL_00f3: ldc.i4.m1 -IL_00f4: dup -IL_00f5: stloc.0 -IL_00f6: stfld int32 Example/'d__8'::'<>1__state' -IL_00fb: ldloca.s V_5 -IL_00fd: call instance void [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter::GetResult() -IL_0102: ldarg.0 -IL_0103: ldarg.0 -IL_0104: ldfld int32 Example/'d__8'::'5__3' -IL_0109: stfld int32 Example/'d__8'::'<>7__wrap4' -IL_010e: ldarg.0 -IL_010f: ldfld int32 Example/'d__8'::'5__4' -IL_0114: call class [System.Runtime]System.Threading.Tasks.Task`1 [System.Runtime]System.Threading.Tasks.Task::FromResult(!!0) -IL_0119: ldc.i4.0 -IL_011a: callvirt instance valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1 class [System.Runtime]System.Threading.Tasks.Task`1::ConfigureAwait(bool) -IL_011f: stloc.s V_4 -IL_0121: ldloca.s V_4 -IL_0123: call instance valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1::GetAwaiter() -IL_0128: stloc.3 -IL_0129: ldloca.s V_3 -IL_012b: call instance bool valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter::get_IsCompleted() -IL_0130: brtrue.s IL_0171 -IL_0132: ldarg.0 -IL_0133: ldc.i4.2 -IL_0134: dup -IL_0135: stloc.0 -IL_0136: stfld int32 Example/'d__8'::'<>1__state' -IL_013b: ldarg.0 -IL_013c: ldloc.3 -IL_013d: stfld valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter Example/'d__8'::'<>u__1' -IL_0142: ldarg.0 -IL_0143: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__8'::'<>t__builder' -IL_0148: ldloca.s V_3 -IL_014a: ldarg.0 -IL_014b: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::AwaitUnsafeOnCompleted,valuetype Example/'d__8'>(!!0&, -!!1&) -IL_0150: leave IL_01de -IL_0155: ldarg.0 -IL_0156: ldfld valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter Example/'d__8'::'<>u__1' -IL_015b: stloc.3 -IL_015c: ldarg.0 -IL_015d: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter Example/'d__8'::'<>u__1' -IL_0162: initobj valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter -IL_0168: ldarg.0 -IL_0169: ldc.i4.m1 -IL_016a: dup -IL_016b: stloc.0 -IL_016c: stfld int32 Example/'d__8'::'<>1__state' -IL_0171: ldloca.s V_3 -IL_0173: call instance !0 valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter::GetResult() -IL_0178: stloc.2 -IL_0179: ldarg.0 -IL_017a: ldarg.0 -IL_017b: ldfld int32 Example/'d__8'::'<>7__wrap4' -IL_0180: ldloc.2 -IL_0181: add -IL_0182: stfld int32 Example/'d__8'::'5__3' -IL_0187: ldarg.0 -IL_0188: ldfld int32 Example/'d__8'::'5__4' -IL_018d: stloc.2 -IL_018e: ldarg.0 -IL_018f: ldloc.2 -IL_0190: ldc.i4.1 -IL_0191: add -IL_0192: stfld int32 Example/'d__8'::'5__4' -IL_0197: ldarg.0 -IL_0198: ldfld int32 Example/'d__8'::'5__4' -IL_019d: ldarg.0 -IL_019e: ldfld int32 Example/'d__8'::'5__2' -IL_01a3: blt IL_009a -IL_01a8: ldarg.0 -IL_01a9: ldfld int32 Example/'d__8'::'5__3' -IL_01ae: stloc.1 -IL_01af: leave.s IL_01ca -} // end .try -catch [System.Runtime]System.Exception -{ -IL_01b1: stloc.s V_7 -IL_01b3: ldarg.0 -IL_01b4: ldc.i4.s -2 -IL_01b6: stfld int32 Example/'d__8'::'<>1__state' -IL_01bb: ldarg.0 -IL_01bc: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__8'::'<>t__builder' -IL_01c1: ldloc.s V_7 -IL_01c3: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetException(class [System.Runtime]System.Exception) -IL_01c8: leave.s IL_01de -} // end handler -IL_01ca: ldarg.0 -IL_01cb: ldc.i4.s -2 -IL_01cd: stfld int32 Example/'d__8'::'<>1__state' -IL_01d2: ldarg.0 -IL_01d3: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__8'::'<>t__builder' -IL_01d8: ldloc.1 -IL_01d9: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetResult(!0) -IL_01de: ret -} -.method private hidebysig newslot virtual final -instance void SetStateMachine(class [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed -{ -.param [1] -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.override [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine -.maxstack 8 -IL_0000: ldarg.0 -IL_0001: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__8'::'<>t__builder' -IL_0006: ldarg.1 -IL_0007: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetStateMachine(class [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine) -IL_000c: ret -} -} -.class auto ansi sealed nested private beforefieldinit 'd__9' -extends [System.Runtime]System.ValueType -implements [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine -{ -.interfaceimpl type [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field public int32 '<>1__state' -.field public valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 '<>t__builder' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field private valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter`1 '<>u__1' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.method private hidebysig newslot virtual final -instance void MoveNext() cil managed -{ -.override [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext -.maxstack 3 -.locals init (int32 V_0, -class Example V_1, -valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter`1 V_2, -class [System.Runtime]System.Exception V_3) -IL_0000: ldarg.0 -IL_0001: ldfld int32 Example/'d__9'::'<>1__state' -IL_0006: stloc.0 -.try -{ -IL_0007: ldloc.0 -IL_0008: brfalse.s IL_0043 -IL_000a: newobj instance void Example::.ctor() -IL_000f: call class [System.Runtime]System.Threading.Tasks.Task`1 [System.Runtime]System.Threading.Tasks.Task::FromResult(!!0) -IL_0014: callvirt instance valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter`1 class [System.Runtime]System.Threading.Tasks.Task`1::GetAwaiter() -IL_0019: stloc.2 -IL_001a: ldloca.s V_2 -IL_001c: call instance bool valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter`1::get_IsCompleted() -IL_0021: brtrue.s IL_005f -IL_0023: ldarg.0 -IL_0024: ldc.i4.0 -IL_0025: dup -IL_0026: stloc.0 -IL_0027: stfld int32 Example/'d__9'::'<>1__state' -IL_002c: ldarg.0 -IL_002d: ldloc.2 -IL_002e: stfld valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter`1 Example/'d__9'::'<>u__1' -IL_0033: ldarg.0 -IL_0034: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__9'::'<>t__builder' -IL_0039: ldloca.s V_2 -IL_003b: ldarg.0 -IL_003c: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::AwaitUnsafeOnCompleted,valuetype Example/'d__9'>(!!0&, -!!1&) -IL_0041: leave.s IL_0094 -IL_0043: ldarg.0 -IL_0044: ldfld valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter`1 Example/'d__9'::'<>u__1' -IL_0049: stloc.2 -IL_004a: ldarg.0 -IL_004b: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter`1 Example/'d__9'::'<>u__1' -IL_0050: initobj valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter`1 -IL_0056: ldarg.0 -IL_0057: ldc.i4.m1 -IL_0058: dup -IL_0059: stloc.0 -IL_005a: stfld int32 Example/'d__9'::'<>1__state' -IL_005f: ldloca.s V_2 -IL_0061: call instance !0 valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter`1::GetResult() -IL_0066: stloc.1 -IL_0067: leave.s IL_0080 -} // end .try -catch [System.Runtime]System.Exception -{ -IL_0069: stloc.3 -IL_006a: ldarg.0 -IL_006b: ldc.i4.s -2 -IL_006d: stfld int32 Example/'d__9'::'<>1__state' -IL_0072: ldarg.0 -IL_0073: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__9'::'<>t__builder' -IL_0078: ldloc.3 -IL_0079: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetException(class [System.Runtime]System.Exception) -IL_007e: leave.s IL_0094 -} // end handler -IL_0080: ldarg.0 -IL_0081: ldc.i4.s -2 -IL_0083: stfld int32 Example/'d__9'::'<>1__state' -IL_0088: ldarg.0 -IL_0089: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__9'::'<>t__builder' -IL_008e: ldloc.1 -IL_008f: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetResult(!0) -IL_0094: ret -} -.method private hidebysig newslot virtual final -instance void SetStateMachine(class [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed -{ -.param [1] -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.override [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine -.maxstack 8 -IL_0000: ldarg.0 -IL_0001: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__9'::'<>t__builder' -IL_0006: ldarg.1 -IL_0007: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetStateMachine(class [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine) -IL_000c: ret -} -} -.class auto ansi sealed nested private beforefieldinit 'd__10' -extends [System.Runtime]System.ValueType -implements [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine -{ -.interfaceimpl type [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field public int32 '<>1__state' -.field public valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 '<>t__builder' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field private valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter '<>u__1' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.method private hidebysig newslot virtual final -instance void MoveNext() cil managed -{ -.override [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext -.maxstack 3 -.locals init (int32 V_0, -class Example V_1, -valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter V_2, -valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1 V_3, -class [System.Runtime]System.Exception V_4) -IL_0000: ldarg.0 -IL_0001: ldfld int32 Example/'d__10'::'<>1__state' -IL_0006: stloc.0 -.try -{ -IL_0007: ldloc.0 -IL_0008: brfalse.s IL_004c -IL_000a: newobj instance void Example::.ctor() -IL_000f: call class [System.Runtime]System.Threading.Tasks.Task`1 [System.Runtime]System.Threading.Tasks.Task::FromResult(!!0) -IL_0014: ldc.i4.0 -IL_0015: callvirt instance valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1 class [System.Private.CoreLib]System.Threading.Tasks.Task`1::ConfigureAwait(bool) -IL_001a: stloc.3 -IL_001b: ldloca.s V_3 -IL_001d: call instance valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1::GetAwaiter() -IL_0022: stloc.2 -IL_0023: ldloca.s V_2 -IL_0025: call instance bool valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter::get_IsCompleted() -IL_002a: brtrue.s IL_0068 -IL_002c: ldarg.0 -IL_002d: ldc.i4.0 -IL_002e: dup -IL_002f: stloc.0 -IL_0030: stfld int32 Example/'d__10'::'<>1__state' -IL_0035: ldarg.0 -IL_0036: ldloc.2 -IL_0037: stfld valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter Example/'d__10'::'<>u__1' -IL_003c: ldarg.0 -IL_003d: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__10'::'<>t__builder' -IL_0042: ldloca.s V_2 -IL_0044: ldarg.0 -IL_0045: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::AwaitUnsafeOnCompleted,valuetype Example/'d__10'>(!!0&, -!!1&) -IL_004a: leave.s IL_009f -IL_004c: ldarg.0 -IL_004d: ldfld valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter Example/'d__10'::'<>u__1' -IL_0052: stloc.2 -IL_0053: ldarg.0 -IL_0054: ldflda valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter Example/'d__10'::'<>u__1' -IL_0059: initobj valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter -IL_005f: ldarg.0 -IL_0060: ldc.i4.m1 -IL_0061: dup -IL_0062: stloc.0 -IL_0063: stfld int32 Example/'d__10'::'<>1__state' -IL_0068: ldloca.s V_2 -IL_006a: call instance !0 valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter::GetResult() -IL_006f: stloc.1 -IL_0070: leave.s IL_008b -} // end .try -catch [System.Runtime]System.Exception -{ -IL_0072: stloc.s V_4 -IL_0074: ldarg.0 -IL_0075: ldc.i4.s -2 -IL_0077: stfld int32 Example/'d__10'::'<>1__state' -IL_007c: ldarg.0 -IL_007d: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__10'::'<>t__builder' -IL_0082: ldloc.s V_4 -IL_0084: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetException(class [System.Runtime]System.Exception) -IL_0089: leave.s IL_009f -} // end handler -IL_008b: ldarg.0 -IL_008c: ldc.i4.s -2 -IL_008e: stfld int32 Example/'d__10'::'<>1__state' -IL_0093: ldarg.0 -IL_0094: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__10'::'<>t__builder' -IL_0099: ldloc.1 -IL_009a: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetResult(!0) -IL_009f: ret -} -.method private hidebysig newslot virtual final -instance void SetStateMachine(class [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed -{ -.param [1] -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.override [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine -.maxstack 8 -IL_0000: ldarg.0 -IL_0001: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__10'::'<>t__builder' -IL_0006: ldarg.1 -IL_0007: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetStateMachine(class [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine) -IL_000c: ret -} -} -.class auto ansi sealed nested private beforefieldinit 'd__11' -extends [System.Runtime]System.ValueType -implements [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine -{ -.interfaceimpl type [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field public int32 '<>1__state' -.field public valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 '<>t__builder' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field private valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter '<>u__1' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.method private hidebysig newslot virtual final -instance void MoveNext() cil managed -{ -.override [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext -.maxstack 3 -.locals init (int32 V_0, -class Example V_1, -valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter V_2, -valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1 V_3, -class [System.Runtime]System.Exception V_4) -IL_0000: ldarg.0 -IL_0001: ldfld int32 Example/'d__11'::'<>1__state' -IL_0006: stloc.0 -.try -{ -IL_0007: ldloc.0 -IL_0008: brfalse.s IL_004c -IL_000a: newobj instance void Example::.ctor() -IL_000f: call class [System.Runtime]System.Threading.Tasks.Task`1 [System.Runtime]System.Threading.Tasks.Task::FromResult(!!0) -IL_0014: ldc.i4.0 -IL_0015: callvirt instance valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1 class [System.Runtime]System.Threading.Tasks.Task`1::ConfigureAwait(bool) -IL_001a: stloc.3 -IL_001b: ldloca.s V_3 -IL_001d: call instance valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1::GetAwaiter() -IL_0022: stloc.2 -IL_0023: ldloca.s V_2 -IL_0025: call instance bool valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter::get_IsCompleted() -IL_002a: brtrue.s IL_0068 -IL_002c: ldarg.0 -IL_002d: ldc.i4.0 -IL_002e: dup -IL_002f: stloc.0 -IL_0030: stfld int32 Example/'d__11'::'<>1__state' -IL_0035: ldarg.0 -IL_0036: ldloc.2 -IL_0037: stfld valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter Example/'d__11'::'<>u__1' -IL_003c: ldarg.0 -IL_003d: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__11'::'<>t__builder' -IL_0042: ldloca.s V_2 -IL_0044: ldarg.0 -IL_0045: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::AwaitUnsafeOnCompleted,valuetype Example/'d__11'>(!!0&, -!!1&) -IL_004a: leave.s IL_009f -IL_004c: ldarg.0 -IL_004d: ldfld valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter Example/'d__11'::'<>u__1' -IL_0052: stloc.2 -IL_0053: ldarg.0 -IL_0054: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter Example/'d__11'::'<>u__1' -IL_0059: initobj valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter -IL_005f: ldarg.0 -IL_0060: ldc.i4.m1 -IL_0061: dup -IL_0062: stloc.0 -IL_0063: stfld int32 Example/'d__11'::'<>1__state' -IL_0068: ldloca.s V_2 -IL_006a: call instance !0 valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter::GetResult() -IL_006f: stloc.1 -IL_0070: leave.s IL_008b -} // end .try -catch [System.Runtime]System.Exception -{ -IL_0072: stloc.s V_4 -IL_0074: ldarg.0 -IL_0075: ldc.i4.s -2 -IL_0077: stfld int32 Example/'d__11'::'<>1__state' -IL_007c: ldarg.0 -IL_007d: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__11'::'<>t__builder' -IL_0082: ldloc.s V_4 -IL_0084: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetException(class [System.Runtime]System.Exception) -IL_0089: leave.s IL_009f -} // end handler -IL_008b: ldarg.0 -IL_008c: ldc.i4.s -2 -IL_008e: stfld int32 Example/'d__11'::'<>1__state' -IL_0093: ldarg.0 -IL_0094: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__11'::'<>t__builder' -IL_0099: ldloc.1 -IL_009a: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetResult(!0) -IL_009f: ret -} -.method private hidebysig newslot virtual final -instance void SetStateMachine(class [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed -{ -.param [1] -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.override [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine -.maxstack 8 -IL_0000: ldarg.0 -IL_0001: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__11'::'<>t__builder' -IL_0006: ldarg.1 -IL_0007: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetStateMachine(class [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine) -IL_000c: ret -} -} -.class auto ansi sealed nested private beforefieldinit 'd__12' -extends [System.Runtime]System.ValueType -implements [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine -{ -.interfaceimpl type [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field public int32 '<>1__state' -.field public valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder '<>t__builder' -.field private valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ValueTaskAwaiter '<>u__1' -.method private hidebysig newslot virtual final -instance void MoveNext() cil managed -{ -.override [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext -.maxstack 3 -.locals init (int32 V_0, -valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ValueTaskAwaiter V_1, -valuetype [System.Threading.Tasks.Extensions]System.Threading.Tasks.ValueTask V_2, -class [System.Runtime]System.Exception V_3) -IL_0000: ldarg.0 -IL_0001: ldfld int32 Example/'d__12'::'<>1__state' -IL_0006: stloc.0 -.try -{ -IL_0007: ldloc.0 -IL_0008: brfalse.s IL_0047 -IL_000a: ldc.i4.1 -IL_000b: call class [System.Runtime]System.Threading.Tasks.Task [System.Runtime]System.Threading.Tasks.Task::Delay(int32) -IL_0010: newobj instance void [System.Threading.Tasks.Extensions]System.Threading.Tasks.ValueTask::.ctor(class [System.Runtime]System.Threading.Tasks.Task) -IL_0015: stloc.2 -IL_0016: ldloca.s V_2 -IL_0018: call instance valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ValueTaskAwaiter [System.Threading.Tasks.Extensions]System.Threading.Tasks.ValueTask::GetAwaiter() -IL_001d: stloc.1 -IL_001e: ldloca.s V_1 -IL_0020: call instance bool [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ValueTaskAwaiter::get_IsCompleted() -IL_0025: brtrue.s IL_0063 -IL_0027: ldarg.0 -IL_0028: ldc.i4.0 -IL_0029: dup -IL_002a: stloc.0 -IL_002b: stfld int32 Example/'d__12'::'<>1__state' -IL_0030: ldarg.0 -IL_0031: ldloc.1 -IL_0032: stfld valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ValueTaskAwaiter Example/'d__12'::'<>u__1' -IL_0037: ldarg.0 -IL_0038: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Example/'d__12'::'<>t__builder' -IL_003d: ldloca.s V_1 -IL_003f: ldarg.0 -IL_0040: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::AwaitUnsafeOnCompletedd__12'>(!!0&, -!!1&) -IL_0045: leave.s IL_0096 -IL_0047: ldarg.0 -IL_0048: ldfld valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ValueTaskAwaiter Example/'d__12'::'<>u__1' -IL_004d: stloc.1 -IL_004e: ldarg.0 -IL_004f: ldflda valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ValueTaskAwaiter Example/'d__12'::'<>u__1' -IL_0054: initobj [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ValueTaskAwaiter -IL_005a: ldarg.0 -IL_005b: ldc.i4.m1 -IL_005c: dup -IL_005d: stloc.0 -IL_005e: stfld int32 Example/'d__12'::'<>1__state' -IL_0063: ldloca.s V_1 -IL_0065: call instance void [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ValueTaskAwaiter::GetResult() -IL_006a: leave.s IL_0083 -} // end .try -catch [System.Runtime]System.Exception -{ -IL_006c: stloc.3 -IL_006d: ldarg.0 -IL_006e: ldc.i4.s -2 -IL_0070: stfld int32 Example/'d__12'::'<>1__state' -IL_0075: ldarg.0 -IL_0076: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Example/'d__12'::'<>t__builder' -IL_007b: ldloc.3 -IL_007c: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetException(class [System.Runtime]System.Exception) -IL_0081: leave.s IL_0096 -} // end handler -IL_0083: ldarg.0 -IL_0084: ldc.i4.s -2 -IL_0086: stfld int32 Example/'d__12'::'<>1__state' -IL_008b: ldarg.0 -IL_008c: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Example/'d__12'::'<>t__builder' -IL_0091: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetResult() -IL_0096: ret -} -.method private hidebysig newslot virtual final -instance void SetStateMachine(class [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed -{ -.param [1] -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.override [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine -.maxstack 8 -IL_0000: ldarg.0 -IL_0001: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Example/'d__12'::'<>t__builder' -IL_0006: ldarg.1 -IL_0007: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetStateMachine(class [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine) -IL_000c: ret -} -} -.class auto ansi sealed nested private beforefieldinit 'd__13' -extends [System.Runtime]System.ValueType -implements [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine -{ -.interfaceimpl type [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field public int32 '<>1__state' -.field public valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder '<>t__builder' -.field private valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter '<>u__1' -.method private hidebysig newslot virtual final -instance void MoveNext() cil managed -{ -.override [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext -.maxstack 3 -.locals init (int32 V_0, -valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter V_1, -valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable V_2, -valuetype [System.Threading.Tasks.Extensions]System.Threading.Tasks.ValueTask V_3, -class [System.Runtime]System.Exception V_4) -IL_0000: ldarg.0 -IL_0001: ldfld int32 Example/'d__13'::'<>1__state' -IL_0006: stloc.0 -.try -{ -IL_0007: ldloc.0 -IL_0008: brfalse.s IL_0050 -IL_000a: ldc.i4.1 -IL_000b: call class [System.Runtime]System.Threading.Tasks.Task [System.Runtime]System.Threading.Tasks.Task::Delay(int32) -IL_0010: call instance void [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable::.ctor(valuetype [System.Private.CoreLib]System.Threading.Tasks.ValueTask&) -IL_0015: stloc.3 -IL_0016: ldloca.s V_3 -IL_0018: ldc.i4.0 -IL_0019: callvirt instance valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable [System.Private.CoreLib]System.Threading.Tasks.ValueTask::ConfigureAwait(bool) -IL_001e: stloc.2 -IL_001f: ldloca.s V_2 -IL_0021: call instance valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable::GetAwaiter() -IL_0026: stloc.1 -IL_0027: ldloca.s V_1 -IL_0029: call instance bool [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter::get_IsCompleted() -IL_002e: brtrue.s IL_006c -IL_0030: ldarg.0 -IL_0031: ldc.i4.0 -IL_0032: dup -IL_0033: stloc.0 -IL_0034: stfld int32 Example/'d__13'::'<>1__state' -IL_0039: ldarg.0 -IL_003a: ldloc.1 -IL_003b: stfld valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter Example/'d__13'::'<>u__1' -IL_0040: ldarg.0 -IL_0041: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Example/'d__13'::'<>t__builder' -IL_0046: ldloca.s V_1 -IL_0048: ldarg.0 -IL_0049: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::AwaitUnsafeOnCompletedd__13'>(!!0&, -!!1&) -IL_004e: leave.s IL_00a1 -IL_0050: ldarg.0 -IL_0051: ldfld valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter Example/'d__13'::'<>u__1' -IL_0056: stloc.1 -IL_0057: ldarg.0 -IL_0058: ldflda valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter Example/'d__13'::'<>u__1' -IL_005d: initobj [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter -IL_0063: ldarg.0 -IL_0064: ldc.i4.m1 -IL_0065: dup -IL_0066: stloc.0 -IL_0067: stfld int32 Example/'d__13'::'<>1__state' -IL_006c: ldloca.s V_1 -IL_006e: call instance void [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter::GetResult() -IL_0073: leave.s IL_008e -} // end .try -catch [System.Runtime]System.Exception -{ -IL_0075: stloc.s V_4 -IL_0077: ldarg.0 -IL_0078: ldc.i4.s -2 -IL_007a: stfld int32 Example/'d__13'::'<>1__state' -IL_007f: ldarg.0 -IL_0080: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Example/'d__13'::'<>t__builder' -IL_0085: ldloc.s V_4 -IL_0087: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetException(class [System.Runtime]System.Exception) -IL_008c: leave.s IL_00a1 -} // end handler -IL_008e: ldarg.0 -IL_008f: ldc.i4.s -2 -IL_0091: stfld int32 Example/'d__13'::'<>1__state' -IL_0096: ldarg.0 -IL_0097: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Example/'d__13'::'<>t__builder' -IL_009c: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetResult() -IL_00a1: ret -} -.method private hidebysig newslot virtual final -instance void SetStateMachine(class [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed -{ -.param [1] -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.override [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine -.maxstack 8 -IL_0000: ldarg.0 -IL_0001: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Example/'d__13'::'<>t__builder' -IL_0006: ldarg.1 -IL_0007: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetStateMachine(class [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine) -IL_000c: ret -} -} -.class auto ansi sealed nested private beforefieldinit 'd__14' -extends [System.Runtime]System.ValueType -implements [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine -{ -.interfaceimpl type [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field public int32 '<>1__state' -.field public valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder '<>t__builder' -.field private valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter '<>u__1' -.method private hidebysig newslot virtual final -instance void MoveNext() cil managed -{ -.override [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext -.maxstack 3 -.locals init (int32 V_0, -valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter V_1, -valuetype [System.Threading.Tasks.Extensions]System.Threading.Tasks.ValueTask V_2, -valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable V_3, -class [System.Runtime]System.Exception V_4) -IL_0000: ldarg.0 -IL_0001: ldfld int32 Example/'d__14'::'<>1__state' -IL_0006: stloc.0 -.try -{ -IL_0007: ldloc.0 -IL_0008: brfalse.s IL_0050 -IL_000a: ldc.i4.1 -IL_000b: call class [System.Runtime]System.Threading.Tasks.Task [System.Runtime]System.Threading.Tasks.Task::Delay(int32) -IL_0010: newobj instance void [System.Threading.Tasks.Extensions]System.Threading.Tasks.ValueTask::.ctor(class [System.Runtime]System.Threading.Tasks.Task) -IL_0015: stloc.2 -IL_0016: ldloca.s V_2 -IL_0018: ldc.i4.0 -IL_0019: call instance valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable [System.Threading.Tasks.Extensions]System.Threading.Tasks.ValueTask::ConfigureAwait(bool) -IL_001e: stloc.3 -IL_001f: ldloca.s V_3 -IL_0021: call instance valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable::GetAwaiter() -IL_0026: stloc.1 -IL_0027: ldloca.s V_1 -IL_0029: call instance bool [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter::get_IsCompleted() -IL_002e: brtrue.s IL_006c -IL_0030: ldarg.0 -IL_0031: ldc.i4.0 -IL_0032: dup -IL_0033: stloc.0 -IL_0034: stfld int32 Example/'d__14'::'<>1__state' -IL_0039: ldarg.0 -IL_003a: ldloc.1 -IL_003b: stfld valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter Example/'d__14'::'<>u__1' -IL_0040: ldarg.0 -IL_0041: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Example/'d__14'::'<>t__builder' -IL_0046: ldloca.s V_1 -IL_0048: ldarg.0 -IL_0049: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::AwaitUnsafeOnCompletedd__14'>(!!0&, -!!1&) -IL_004e: leave.s IL_00a1 -IL_0050: ldarg.0 -IL_0051: ldfld valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter Example/'d__14'::'<>u__1' -IL_0056: stloc.1 -IL_0057: ldarg.0 -IL_0058: ldflda valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter Example/'d__14'::'<>u__1' -IL_005d: initobj [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter -IL_0063: ldarg.0 -IL_0064: ldc.i4.m1 -IL_0065: dup -IL_0066: stloc.0 -IL_0067: stfld int32 Example/'d__14'::'<>1__state' -IL_006c: ldloca.s V_1 -IL_006e: call instance void [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter::GetResult() -IL_0073: leave.s IL_008e -} // end .try -catch [System.Runtime]System.Exception -{ -IL_0075: stloc.s V_4 -IL_0077: ldarg.0 -IL_0078: ldc.i4.s -2 -IL_007a: stfld int32 Example/'d__14'::'<>1__state' -IL_007f: ldarg.0 -IL_0080: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Example/'d__14'::'<>t__builder' -IL_0085: ldloc.s V_4 -IL_0087: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetException(class [System.Runtime]System.Exception) -IL_008c: leave.s IL_00a1 -} // end handler -IL_008e: ldarg.0 -IL_008f: ldc.i4.s -2 -IL_0091: stfld int32 Example/'d__14'::'<>1__state' -IL_0096: ldarg.0 -IL_0097: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Example/'d__14'::'<>t__builder' -IL_009c: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetResult() -IL_00a1: ret -} -.method private hidebysig newslot virtual final -instance void SetStateMachine(class [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed -{ -.param [1] -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.override [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine -.maxstack 8 -IL_0000: ldarg.0 -IL_0001: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Example/'d__14'::'<>t__builder' -IL_0006: ldarg.1 -IL_0007: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetStateMachine(class [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine) -IL_000c: ret -} -} -.class auto ansi sealed nested private beforefieldinit 'd__15' -extends [System.Runtime]System.ValueType -implements [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine -{ -.interfaceimpl type [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field public int32 '<>1__state' -.field public valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 '<>t__builder' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field private valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ValueTaskAwaiter`1 '<>u__1' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.method private hidebysig newslot virtual final -instance void MoveNext() cil managed -{ -.override [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext -.maxstack 3 -.locals init (int32 V_0, -int32 V_1, -valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ValueTaskAwaiter`1 V_2, -valuetype [System.Threading.Tasks.Extensions]System.Threading.Tasks.ValueTask`1 V_3, -class [System.Runtime]System.Exception V_4) -IL_0000: ldarg.0 -IL_0001: ldfld int32 Example/'d__15'::'<>1__state' -IL_0006: stloc.0 -.try -{ -IL_0007: ldloc.0 -IL_0008: brfalse.s IL_0048 -IL_000a: ldc.i4.s 10 -IL_000c: call class [System.Runtime]System.Threading.Tasks.Task`1 [System.Runtime]System.Threading.Tasks.Task::FromResult(!!0) -IL_0011: newobj instance void valuetype [System.Threading.Tasks.Extensions]System.Threading.Tasks.ValueTask`1::.ctor(class [System.Runtime]System.Threading.Tasks.Task`1) -IL_0016: stloc.3 -IL_0017: ldloca.s V_3 -IL_0019: call instance valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ValueTaskAwaiter`1 valuetype [System.Threading.Tasks.Extensions]System.Threading.Tasks.ValueTask`1::GetAwaiter() -IL_001e: stloc.2 -IL_001f: ldloca.s V_2 -IL_0021: call instance bool valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ValueTaskAwaiter`1::get_IsCompleted() -IL_0026: brtrue.s IL_0064 -IL_0028: ldarg.0 -IL_0029: ldc.i4.0 -IL_002a: dup -IL_002b: stloc.0 -IL_002c: stfld int32 Example/'d__15'::'<>1__state' -IL_0031: ldarg.0 -IL_0032: ldloc.2 -IL_0033: stfld valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ValueTaskAwaiter`1 Example/'d__15'::'<>u__1' -IL_0038: ldarg.0 -IL_0039: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__15'::'<>t__builder' -IL_003e: ldloca.s V_2 -IL_0040: ldarg.0 -IL_0041: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::AwaitUnsafeOnCompleted,valuetype Example/'d__15'>(!!0&, -!!1&) -IL_0046: leave.s IL_009b -IL_0048: ldarg.0 -IL_0049: ldfld valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ValueTaskAwaiter`1 Example/'d__15'::'<>u__1' -IL_004e: stloc.2 -IL_004f: ldarg.0 -IL_0050: ldflda valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ValueTaskAwaiter`1 Example/'d__15'::'<>u__1' -IL_0055: initobj valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ValueTaskAwaiter`1 -IL_005b: ldarg.0 -IL_005c: ldc.i4.m1 -IL_005d: dup -IL_005e: stloc.0 -IL_005f: stfld int32 Example/'d__15'::'<>1__state' -IL_0064: ldloca.s V_2 -IL_0066: call instance !0 valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ValueTaskAwaiter`1::GetResult() -IL_006b: stloc.1 -IL_006c: leave.s IL_0087 -} // end .try -catch [System.Runtime]System.Exception -{ -IL_006e: stloc.s V_4 -IL_0070: ldarg.0 -IL_0071: ldc.i4.s -2 -IL_0073: stfld int32 Example/'d__15'::'<>1__state' -IL_0078: ldarg.0 -IL_0079: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__15'::'<>t__builder' -IL_007e: ldloc.s V_4 -IL_0080: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetException(class [System.Runtime]System.Exception) -IL_0085: leave.s IL_009b -} // end handler -IL_0087: ldarg.0 -IL_0088: ldc.i4.s -2 -IL_008a: stfld int32 Example/'d__15'::'<>1__state' -IL_008f: ldarg.0 -IL_0090: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__15'::'<>t__builder' -IL_0095: ldloc.1 -IL_0096: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetResult(!0) -IL_009b: ret -} -.method private hidebysig newslot virtual final -instance void SetStateMachine(class [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed -{ -.param [1] -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.override [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine -.maxstack 8 -IL_0000: ldarg.0 -IL_0001: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__15'::'<>t__builder' -IL_0006: ldarg.1 -IL_0007: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetStateMachine(class [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine) -IL_000c: ret -} -} -.class auto ansi sealed nested private beforefieldinit 'd__16' -extends [System.Runtime]System.ValueType -implements [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine -{ -.interfaceimpl type [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field public int32 '<>1__state' -.field public valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 '<>t__builder' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field private valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1/ConfiguredValueTaskAwaiter '<>u__1' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.method private hidebysig newslot virtual final -instance void MoveNext() cil managed -{ -.override [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext -.maxstack 3 -.locals init (int32 V_0, -int32 V_1, -valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1/ConfiguredValueTaskAwaiter V_2, -valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1 V_3, -valuetype [System.Threading.Tasks.Extensions]System.Threading.Tasks.ValueTask`1 V_4, -class [System.Runtime]System.Exception V_5) -IL_0000: ldarg.0 -IL_0001: ldfld int32 Example/'d__16'::'<>1__state' -IL_0006: stloc.0 -.try -{ -IL_0007: ldloc.0 -IL_0008: brfalse.s IL_0052 -IL_000a: ldc.i4.s 10 -IL_000c: call class [System.Runtime]System.Threading.Tasks.Task`1 [System.Runtime]System.Threading.Tasks.Task::FromResult(!!0) -IL_0011: call instance void valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1::.ctor(valuetype [System.Private.CoreLib]System.Threading.Tasks.ValueTask`1&) -IL_0016: stloc.s V_4 -IL_0018: ldloca.s V_4 -IL_001a: ldc.i4.0 -IL_001b: callvirt instance valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1 valuetype [System.Private.CoreLib]System.Threading.Tasks.ValueTask`1::ConfigureAwait(bool) -IL_0020: stloc.3 -IL_0021: ldloca.s V_3 -IL_0023: call instance valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1/ConfiguredValueTaskAwaiter valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1::GetAwaiter() -IL_0028: stloc.2 -IL_0029: ldloca.s V_2 -IL_002b: call instance bool valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1/ConfiguredValueTaskAwaiter::get_IsCompleted() -IL_0030: brtrue.s IL_006e -IL_0032: ldarg.0 -IL_0033: ldc.i4.0 -IL_0034: dup -IL_0035: stloc.0 -IL_0036: stfld int32 Example/'d__16'::'<>1__state' -IL_003b: ldarg.0 -IL_003c: ldloc.2 -IL_003d: stfld valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1/ConfiguredValueTaskAwaiter Example/'d__16'::'<>u__1' -IL_0042: ldarg.0 -IL_0043: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__16'::'<>t__builder' -IL_0048: ldloca.s V_2 -IL_004a: ldarg.0 -IL_004b: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::AwaitUnsafeOnCompleted,valuetype Example/'d__16'>(!!0&, -!!1&) -IL_0050: leave.s IL_00a5 -IL_0052: ldarg.0 -IL_0053: ldfld valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1/ConfiguredValueTaskAwaiter Example/'d__16'::'<>u__1' -IL_0058: stloc.2 -IL_0059: ldarg.0 -IL_005a: ldflda valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1/ConfiguredValueTaskAwaiter Example/'d__16'::'<>u__1' -IL_005f: initobj valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1/ConfiguredValueTaskAwaiter -IL_0065: ldarg.0 -IL_0066: ldc.i4.m1 -IL_0067: dup -IL_0068: stloc.0 -IL_0069: stfld int32 Example/'d__16'::'<>1__state' -IL_006e: ldloca.s V_2 -IL_0070: call instance !0 valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1/ConfiguredValueTaskAwaiter::GetResult() -IL_0075: stloc.1 -IL_0076: leave.s IL_0091 -} // end .try -catch [System.Runtime]System.Exception -{ -IL_0078: stloc.s V_5 -IL_007a: ldarg.0 -IL_007b: ldc.i4.s -2 -IL_007d: stfld int32 Example/'d__16'::'<>1__state' -IL_0082: ldarg.0 -IL_0083: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__16'::'<>t__builder' -IL_0088: ldloc.s V_5 -IL_008a: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetException(class [System.Runtime]System.Exception) -IL_008f: leave.s IL_00a5 -} // end handler -IL_0091: ldarg.0 -IL_0092: ldc.i4.s -2 -IL_0094: stfld int32 Example/'d__16'::'<>1__state' -IL_0099: ldarg.0 -IL_009a: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__16'::'<>t__builder' -IL_009f: ldloc.1 -IL_00a0: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetResult(!0) -IL_00a5: ret -} -.method private hidebysig newslot virtual final -instance void SetStateMachine(class [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed -{ -.param [1] -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.override [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine -.maxstack 8 -IL_0000: ldarg.0 -IL_0001: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__16'::'<>t__builder' -IL_0006: ldarg.1 -IL_0007: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetStateMachine(class [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine) -IL_000c: ret -} -} -.class auto ansi sealed nested private beforefieldinit 'd__17' -extends [System.Runtime]System.ValueType -implements [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine -{ -.interfaceimpl type [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field public int32 '<>1__state' -.field public valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 '<>t__builder' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field private valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1/ConfiguredValueTaskAwaiter '<>u__1' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.method private hidebysig newslot virtual final -instance void MoveNext() cil managed -{ -.override [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext -.maxstack 3 -.locals init (int32 V_0, -int32 V_1, -valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1/ConfiguredValueTaskAwaiter V_2, -valuetype [System.Threading.Tasks.Extensions]System.Threading.Tasks.ValueTask`1 V_3, -valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1 V_4, -class [System.Runtime]System.Exception V_5) -IL_0000: ldarg.0 -IL_0001: ldfld int32 Example/'d__17'::'<>1__state' -IL_0006: stloc.0 -.try -{ -IL_0007: ldloc.0 -IL_0008: brfalse.s IL_0052 -IL_000a: ldc.i4.s 10 -IL_000c: call class [System.Runtime]System.Threading.Tasks.Task`1 [System.Runtime]System.Threading.Tasks.Task::FromResult(!!0) -IL_0011: newobj instance void valuetype [System.Threading.Tasks.Extensions]System.Threading.Tasks.ValueTask`1::.ctor(class [System.Runtime]System.Threading.Tasks.Task`1) -IL_0016: stloc.3 -IL_0017: ldloca.s V_3 -IL_0019: ldc.i4.0 -IL_001a: call instance valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1 valuetype [System.Threading.Tasks.Extensions]System.Threading.Tasks.ValueTask`1::ConfigureAwait(bool) -IL_001f: stloc.s V_4 -IL_0021: ldloca.s V_4 -IL_0023: call instance valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1/ConfiguredValueTaskAwaiter valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1::GetAwaiter() -IL_0028: stloc.2 -IL_0029: ldloca.s V_2 -IL_002b: call instance bool valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1/ConfiguredValueTaskAwaiter::get_IsCompleted() -IL_0030: brtrue.s IL_006e -IL_0032: ldarg.0 -IL_0033: ldc.i4.0 -IL_0034: dup -IL_0035: stloc.0 -IL_0036: stfld int32 Example/'d__17'::'<>1__state' -IL_003b: ldarg.0 -IL_003c: ldloc.2 -IL_003d: stfld valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1/ConfiguredValueTaskAwaiter Example/'d__17'::'<>u__1' -IL_0042: ldarg.0 -IL_0043: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__17'::'<>t__builder' -IL_0048: ldloca.s V_2 -IL_004a: ldarg.0 -IL_004b: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::AwaitUnsafeOnCompleted,valuetype Example/'d__17'>(!!0&, -!!1&) -IL_0050: leave.s IL_00a5 -IL_0052: ldarg.0 -IL_0053: ldfld valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1/ConfiguredValueTaskAwaiter Example/'d__17'::'<>u__1' -IL_0058: stloc.2 -IL_0059: ldarg.0 -IL_005a: ldflda valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1/ConfiguredValueTaskAwaiter Example/'d__17'::'<>u__1' -IL_005f: initobj valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1/ConfiguredValueTaskAwaiter -IL_0065: ldarg.0 -IL_0066: ldc.i4.m1 -IL_0067: dup -IL_0068: stloc.0 -IL_0069: stfld int32 Example/'d__17'::'<>1__state' -IL_006e: ldloca.s V_2 -IL_0070: call instance !0 valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1/ConfiguredValueTaskAwaiter::GetResult() -IL_0075: stloc.1 -IL_0076: leave.s IL_0091 -} // end .try -catch [System.Runtime]System.Exception -{ -IL_0078: stloc.s V_5 -IL_007a: ldarg.0 -IL_007b: ldc.i4.s -2 -IL_007d: stfld int32 Example/'d__17'::'<>1__state' -IL_0082: ldarg.0 -IL_0083: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__17'::'<>t__builder' -IL_0088: ldloc.s V_5 -IL_008a: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetException(class [System.Runtime]System.Exception) -IL_008f: leave.s IL_00a5 -} // end handler -IL_0091: ldarg.0 -IL_0092: ldc.i4.s -2 -IL_0094: stfld int32 Example/'d__17'::'<>1__state' -IL_0099: ldarg.0 -IL_009a: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__17'::'<>t__builder' -IL_009f: ldloc.1 -IL_00a0: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetResult(!0) -IL_00a5: ret -} -.method private hidebysig newslot virtual final -instance void SetStateMachine(class [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed -{ -.param [1] -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.override [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine -.maxstack 8 -IL_0000: ldarg.0 -IL_0001: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__17'::'<>t__builder' -IL_0006: ldarg.1 -IL_0007: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetStateMachine(class [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine) -IL_000c: ret -} -} -.class auto ansi sealed nested private beforefieldinit 'd__18' -extends [System.Runtime]System.ValueType -implements [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine -{ -.interfaceimpl type [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field public int32 '<>1__state' -.field public valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 '<>t__builder' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field private int32 '5__2' -.field private int32 '5__3' -.field private valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ValueTaskAwaiter`1 '<>u__1' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field private int32 '5__4' -.field private valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter '<>u__2' -.field private int32 '<>7__wrap4' -.field private valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter`1 '<>u__3' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.method private hidebysig newslot virtual final -instance void MoveNext() cil managed -{ -.override [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext -.maxstack 3 -.locals init (int32 V_0, -int32 V_1, -int32 V_2, -valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ValueTaskAwaiter`1 V_3, -valuetype [System.Threading.Tasks.Extensions]System.Threading.Tasks.ValueTask`1 V_4, -valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter V_5, -valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter`1 V_6, -class [System.Runtime]System.Exception V_7) -IL_0000: ldarg.0 -IL_0001: ldfld int32 Example/'d__18'::'<>1__state' -IL_0006: stloc.0 -.try -{ -IL_0007: ldloc.0 -IL_0008: switch ( -IL_005b, -IL_00d3, -IL_0142) -IL_0019: ldc.i4.s 10 -IL_001b: call class [System.Runtime]System.Threading.Tasks.Task`1 [System.Runtime]System.Threading.Tasks.Task::FromResult(!!0) -IL_0020: newobj instance void valuetype [System.Threading.Tasks.Extensions]System.Threading.Tasks.ValueTask`1::.ctor(class [System.Runtime]System.Threading.Tasks.Task`1) -IL_0025: stloc.s V_4 -IL_0027: ldloca.s V_4 -IL_0029: call instance valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ValueTaskAwaiter`1 valuetype [System.Threading.Tasks.Extensions]System.Threading.Tasks.ValueTask`1::GetAwaiter() -IL_002e: stloc.3 -IL_002f: ldloca.s V_3 -IL_0031: call instance bool valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ValueTaskAwaiter`1::get_IsCompleted() -IL_0036: brtrue.s IL_0077 -IL_0038: ldarg.0 -IL_0039: ldc.i4.0 -IL_003a: dup -IL_003b: stloc.0 -IL_003c: stfld int32 Example/'d__18'::'<>1__state' -IL_0041: ldarg.0 -IL_0042: ldloc.3 -IL_0043: stfld valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ValueTaskAwaiter`1 Example/'d__18'::'<>u__1' -IL_0048: ldarg.0 -IL_0049: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__18'::'<>t__builder' -IL_004e: ldloca.s V_3 -IL_0050: ldarg.0 -IL_0051: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::AwaitUnsafeOnCompleted,valuetype Example/'d__18'>(!!0&, -!!1&) -IL_0056: leave IL_01cc -IL_005b: ldarg.0 -IL_005c: ldfld valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ValueTaskAwaiter`1 Example/'d__18'::'<>u__1' -IL_0061: stloc.3 -IL_0062: ldarg.0 -IL_0063: ldflda valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ValueTaskAwaiter`1 Example/'d__18'::'<>u__1' -IL_0068: initobj valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ValueTaskAwaiter`1 -IL_006e: ldarg.0 -IL_006f: ldc.i4.m1 -IL_0070: dup -IL_0071: stloc.0 -IL_0072: stfld int32 Example/'d__18'::'<>1__state' -IL_0077: ldloca.s V_3 -IL_0079: call instance !0 valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ValueTaskAwaiter`1::GetResult() -IL_007e: stloc.2 -IL_007f: ldarg.0 -IL_0080: ldloc.2 -IL_0081: stfld int32 Example/'d__18'::'5__2' -IL_0086: ldarg.0 -IL_0087: ldc.i4.0 -IL_0088: stfld int32 Example/'d__18'::'5__3' -IL_008d: ldarg.0 -IL_008e: ldc.i4.0 -IL_008f: stfld int32 Example/'d__18'::'5__4' -IL_0094: br IL_0185 -IL_0099: ldc.i4.1 -IL_009a: call class [System.Runtime]System.Threading.Tasks.Task [System.Runtime]System.Threading.Tasks.Task::Delay(int32) -IL_009f: callvirt instance valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter [System.Runtime]System.Threading.Tasks.Task::GetAwaiter() -IL_00a4: stloc.s V_5 -IL_00a6: ldloca.s V_5 -IL_00a8: call instance bool [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter::get_IsCompleted() -IL_00ad: brtrue.s IL_00f0 -IL_00af: ldarg.0 -IL_00b0: ldc.i4.1 -IL_00b1: dup -IL_00b2: stloc.0 -IL_00b3: stfld int32 Example/'d__18'::'<>1__state' -IL_00b8: ldarg.0 -IL_00b9: ldloc.s V_5 -IL_00bb: stfld valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter Example/'d__18'::'<>u__2' -IL_00c0: ldarg.0 -IL_00c1: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__18'::'<>t__builder' -IL_00c6: ldloca.s V_5 -IL_00c8: ldarg.0 -IL_00c9: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::AwaitUnsafeOnCompletedd__18'>(!!0&, -!!1&) -IL_00ce: leave IL_01cc -IL_00d3: ldarg.0 -IL_00d4: ldfld valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter Example/'d__18'::'<>u__2' -IL_00d9: stloc.s V_5 -IL_00db: ldarg.0 -IL_00dc: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter Example/'d__18'::'<>u__2' -IL_00e1: initobj [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter -IL_00e7: ldarg.0 -IL_00e8: ldc.i4.m1 -IL_00e9: dup -IL_00ea: stloc.0 -IL_00eb: stfld int32 Example/'d__18'::'<>1__state' -IL_00f0: ldloca.s V_5 -IL_00f2: call instance void [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter::GetResult() -IL_00f7: ldarg.0 -IL_00f8: ldarg.0 -IL_00f9: ldfld int32 Example/'d__18'::'5__3' -IL_00fe: stfld int32 Example/'d__18'::'<>7__wrap4' -IL_0103: ldarg.0 -IL_0104: ldfld int32 Example/'d__18'::'5__4' -IL_0109: call class [System.Runtime]System.Threading.Tasks.Task`1 [System.Runtime]System.Threading.Tasks.Task::FromResult(!!0) -IL_010e: callvirt instance valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter`1 class [System.Runtime]System.Threading.Tasks.Task`1::GetAwaiter() -IL_0113: stloc.s V_6 -IL_0115: ldloca.s V_6 -IL_0117: call instance bool valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter`1::get_IsCompleted() -IL_011c: brtrue.s IL_015f -IL_011e: ldarg.0 -IL_011f: ldc.i4.2 -IL_0120: dup -IL_0121: stloc.0 -IL_0122: stfld int32 Example/'d__18'::'<>1__state' -IL_0127: ldarg.0 -IL_0128: ldloc.s V_6 -IL_012a: stfld valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter`1 Example/'d__18'::'<>u__3' -IL_012f: ldarg.0 -IL_0130: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__18'::'<>t__builder' -IL_0135: ldloca.s V_6 -IL_0137: ldarg.0 -IL_0138: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::AwaitUnsafeOnCompleted,valuetype Example/'d__18'>(!!0&, -!!1&) -IL_013d: leave IL_01cc -IL_0142: ldarg.0 -IL_0143: ldfld valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter`1 Example/'d__18'::'<>u__3' -IL_0148: stloc.s V_6 -IL_014a: ldarg.0 -IL_014b: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter`1 Example/'d__18'::'<>u__3' -IL_0150: initobj valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter`1 -IL_0156: ldarg.0 -IL_0157: ldc.i4.m1 -IL_0158: dup -IL_0159: stloc.0 -IL_015a: stfld int32 Example/'d__18'::'<>1__state' -IL_015f: ldloca.s V_6 -IL_0161: call instance !0 valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter`1::GetResult() -IL_0166: stloc.2 -IL_0167: ldarg.0 -IL_0168: ldarg.0 -IL_0169: ldfld int32 Example/'d__18'::'<>7__wrap4' -IL_016e: ldloc.2 -IL_016f: add -IL_0170: stfld int32 Example/'d__18'::'5__3' -IL_0175: ldarg.0 -IL_0176: ldfld int32 Example/'d__18'::'5__4' -IL_017b: stloc.2 -IL_017c: ldarg.0 -IL_017d: ldloc.2 -IL_017e: ldc.i4.1 -IL_017f: add -IL_0180: stfld int32 Example/'d__18'::'5__4' -IL_0185: ldarg.0 -IL_0186: ldfld int32 Example/'d__18'::'5__4' -IL_018b: ldarg.0 -IL_018c: ldfld int32 Example/'d__18'::'5__2' -IL_0191: blt IL_0099 -IL_0196: ldarg.0 -IL_0197: ldfld int32 Example/'d__18'::'5__3' -IL_019c: stloc.1 -IL_019d: leave.s IL_01b8 -} // end .try -catch [System.Runtime]System.Exception -{ -IL_019f: stloc.s V_7 -IL_01a1: ldarg.0 -IL_01a2: ldc.i4.s -2 -IL_01a4: stfld int32 Example/'d__18'::'<>1__state' -IL_01a9: ldarg.0 -IL_01aa: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__18'::'<>t__builder' -IL_01af: ldloc.s V_7 -IL_01b1: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetException(class [System.Runtime]System.Exception) -IL_01b6: leave.s IL_01cc -} // end handler -IL_01b8: ldarg.0 -IL_01b9: ldc.i4.s -2 -IL_01bb: stfld int32 Example/'d__18'::'<>1__state' -IL_01c0: ldarg.0 -IL_01c1: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__18'::'<>t__builder' -IL_01c6: ldloc.1 -IL_01c7: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetResult(!0) -IL_01cc: ret -} -.method private hidebysig newslot virtual final -instance void SetStateMachine(class [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed -{ -.param [1] -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.override [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine -.maxstack 8 -IL_0000: ldarg.0 -IL_0001: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__18'::'<>t__builder' -IL_0006: ldarg.1 -IL_0007: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetStateMachine(class [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine) -IL_000c: ret -} -} -.class auto ansi sealed nested private beforefieldinit 'd__19' -extends [System.Runtime]System.ValueType -implements [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine -{ -.interfaceimpl type [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field public int32 '<>1__state' -.field public valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 '<>t__builder' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field private int32 '5__2' -.field private int32 '5__3' -.field private valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1/ConfiguredValueTaskAwaiter '<>u__1' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field private int32 '5__4' -.field private valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter '<>u__2' -.field private int32 '<>7__wrap4' -.method private hidebysig newslot virtual final -instance void MoveNext() cil managed -{ -.override [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext -.maxstack 3 -.locals init (int32 V_0, -int32 V_1, -int32 V_2, -valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1/ConfiguredValueTaskAwaiter V_3, -valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1 V_4, -valuetype [System.Threading.Tasks.Extensions]System.Threading.Tasks.ValueTask`1 V_5, -valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable V_6, -valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter V_7, -valuetype [System.Threading.Tasks.Extensions]System.Threading.Tasks.ValueTask V_8, -class [System.Runtime]System.Exception V_9) -IL_0000: ldarg.0 -IL_0001: ldfld int32 Example/'d__19'::'<>1__state' -IL_0006: stloc.0 -.try -{ -IL_0007: ldloc.0 -IL_0008: switch ( -IL_0065, -IL_00f0, -IL_0170) -IL_0019: ldc.i4.s 10 -IL_001b: call class [System.Runtime]System.Threading.Tasks.Task`1 [System.Runtime]System.Threading.Tasks.Task::FromResult(!!0) -IL_0020: call instance void valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1::.ctor(valuetype [System.Private.CoreLib]System.Threading.Tasks.ValueTask`1&) -IL_0025: stloc.s V_5 -IL_0027: ldloca.s V_5 -IL_0029: ldc.i4.0 -IL_002a: callvirt instance valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1 valuetype [System.Private.CoreLib]System.Threading.Tasks.ValueTask`1::ConfigureAwait(bool) -IL_002f: stloc.s V_4 -IL_0031: ldloca.s V_4 -IL_0033: call instance valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1/ConfiguredValueTaskAwaiter valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1::GetAwaiter() -IL_0038: stloc.3 -IL_0039: ldloca.s V_3 -IL_003b: call instance bool valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1/ConfiguredValueTaskAwaiter::get_IsCompleted() -IL_0040: brtrue.s IL_0081 -IL_0042: ldarg.0 -IL_0043: ldc.i4.0 -IL_0044: dup -IL_0045: stloc.0 -IL_0046: stfld int32 Example/'d__19'::'<>1__state' -IL_004b: ldarg.0 -IL_004c: ldloc.3 -IL_004d: stfld valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1/ConfiguredValueTaskAwaiter Example/'d__19'::'<>u__1' -IL_0052: ldarg.0 -IL_0053: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__19'::'<>t__builder' -IL_0058: ldloca.s V_3 -IL_005a: ldarg.0 -IL_005b: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::AwaitUnsafeOnCompleted,valuetype Example/'d__19'>(!!0&, -!!1&) -IL_0060: leave IL_01f9 -IL_0065: ldarg.0 -IL_0066: ldfld valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1/ConfiguredValueTaskAwaiter Example/'d__19'::'<>u__1' -IL_006b: stloc.3 -IL_006c: ldarg.0 -IL_006d: ldflda valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1/ConfiguredValueTaskAwaiter Example/'d__19'::'<>u__1' -IL_0072: initobj valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1/ConfiguredValueTaskAwaiter -IL_0078: ldarg.0 -IL_0079: ldc.i4.m1 -IL_007a: dup -IL_007b: stloc.0 -IL_007c: stfld int32 Example/'d__19'::'<>1__state' -IL_0081: ldloca.s V_3 -IL_0083: call instance !0 valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1/ConfiguredValueTaskAwaiter::GetResult() -IL_0088: stloc.2 -IL_0089: ldarg.0 -IL_008a: ldloc.2 -IL_008b: stfld int32 Example/'d__19'::'5__2' -IL_0090: ldarg.0 -IL_0091: ldc.i4.0 -IL_0092: stfld int32 Example/'d__19'::'5__3' -IL_0097: ldarg.0 -IL_0098: ldc.i4.0 -IL_0099: stfld int32 Example/'d__19'::'5__4' -IL_009e: br IL_01b2 -IL_00a3: ldc.i4.1 -IL_00a4: call class [System.Runtime]System.Threading.Tasks.Task [System.Runtime]System.Threading.Tasks.Task::Delay(int32) -IL_00a9: call instance void [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable::.ctor(valuetype [System.Private.CoreLib]System.Threading.Tasks.ValueTask&) -IL_00ae: stloc.s V_8 -IL_00b0: ldloca.s V_8 -IL_00b2: ldc.i4.0 -IL_00b3: callvirt instance valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable [System.Private.CoreLib]System.Threading.Tasks.ValueTask::ConfigureAwait(bool) -IL_00b8: stloc.s V_6 -IL_00ba: ldloca.s V_6 -IL_00bc: call instance valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable::GetAwaiter() -IL_00c1: stloc.s V_7 -IL_00c3: ldloca.s V_7 -IL_00c5: call instance bool [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter::get_IsCompleted() -IL_00ca: brtrue.s IL_010d -IL_00cc: ldarg.0 -IL_00cd: ldc.i4.1 -IL_00ce: dup -IL_00cf: stloc.0 -IL_00d0: stfld int32 Example/'d__19'::'<>1__state' -IL_00d5: ldarg.0 -IL_00d6: ldloc.s V_7 -IL_00d8: stfld valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter Example/'d__19'::'<>u__2' -IL_00dd: ldarg.0 -IL_00de: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__19'::'<>t__builder' -IL_00e3: ldloca.s V_7 -IL_00e5: ldarg.0 -IL_00e6: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::AwaitUnsafeOnCompletedd__19'>(!!0&, -!!1&) -IL_00eb: leave IL_01f9 -IL_00f0: ldarg.0 -IL_00f1: ldfld valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter Example/'d__19'::'<>u__2' -IL_00f6: stloc.s V_7 -IL_00f8: ldarg.0 -IL_00f9: ldflda valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter Example/'d__19'::'<>u__2' -IL_00fe: initobj [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter -IL_0104: ldarg.0 -IL_0105: ldc.i4.m1 -IL_0106: dup -IL_0107: stloc.0 -IL_0108: stfld int32 Example/'d__19'::'<>1__state' -IL_010d: ldloca.s V_7 -IL_010f: call instance void [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter::GetResult() -IL_0114: ldarg.0 -IL_0115: ldarg.0 -IL_0116: ldfld int32 Example/'d__19'::'5__3' -IL_011b: stfld int32 Example/'d__19'::'<>7__wrap4' -IL_0120: ldarg.0 -IL_0121: ldfld int32 Example/'d__19'::'5__4' -IL_0126: call class [System.Runtime]System.Threading.Tasks.Task`1 [System.Runtime]System.Threading.Tasks.Task::FromResult(!!0) -IL_012b: call instance void valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1::.ctor(valuetype [System.Private.CoreLib]System.Threading.Tasks.ValueTask`1&) -IL_0130: stloc.s V_5 -IL_0132: ldloca.s V_5 -IL_0134: ldc.i4.0 -IL_0135: callvirt instance valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1 valuetype [System.Private.CoreLib]System.Threading.Tasks.ValueTask`1::ConfigureAwait(bool) -IL_013a: stloc.s V_4 -IL_013c: ldloca.s V_4 -IL_013e: call instance valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1/ConfiguredValueTaskAwaiter valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1::GetAwaiter() -IL_0143: stloc.3 -IL_0144: ldloca.s V_3 -IL_0146: call instance bool valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1/ConfiguredValueTaskAwaiter::get_IsCompleted() -IL_014b: brtrue.s IL_018c -IL_014d: ldarg.0 -IL_014e: ldc.i4.2 -IL_014f: dup -IL_0150: stloc.0 -IL_0151: stfld int32 Example/'d__19'::'<>1__state' -IL_0156: ldarg.0 -IL_0157: ldloc.3 -IL_0158: stfld valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1/ConfiguredValueTaskAwaiter Example/'d__19'::'<>u__1' -IL_015d: ldarg.0 -IL_015e: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__19'::'<>t__builder' -IL_0163: ldloca.s V_3 -IL_0165: ldarg.0 -IL_0166: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::AwaitUnsafeOnCompleted,valuetype Example/'d__19'>(!!0&, -!!1&) -IL_016b: leave IL_01f9 -IL_0170: ldarg.0 -IL_0171: ldfld valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1/ConfiguredValueTaskAwaiter Example/'d__19'::'<>u__1' -IL_0176: stloc.3 -IL_0177: ldarg.0 -IL_0178: ldflda valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1/ConfiguredValueTaskAwaiter Example/'d__19'::'<>u__1' -IL_017d: initobj valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1/ConfiguredValueTaskAwaiter -IL_0183: ldarg.0 -IL_0184: ldc.i4.m1 -IL_0185: dup -IL_0186: stloc.0 -IL_0187: stfld int32 Example/'d__19'::'<>1__state' -IL_018c: ldloca.s V_3 -IL_018e: call instance !0 valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1/ConfiguredValueTaskAwaiter::GetResult() -IL_0193: stloc.2 -IL_0194: ldarg.0 -IL_0195: ldarg.0 -IL_0196: ldfld int32 Example/'d__19'::'<>7__wrap4' -IL_019b: ldloc.2 -IL_019c: add -IL_019d: stfld int32 Example/'d__19'::'5__3' -IL_01a2: ldarg.0 -IL_01a3: ldfld int32 Example/'d__19'::'5__4' -IL_01a8: stloc.2 -IL_01a9: ldarg.0 -IL_01aa: ldloc.2 -IL_01ab: ldc.i4.1 -IL_01ac: add -IL_01ad: stfld int32 Example/'d__19'::'5__4' -IL_01b2: ldarg.0 -IL_01b3: ldfld int32 Example/'d__19'::'5__4' -IL_01b8: ldarg.0 -IL_01b9: ldfld int32 Example/'d__19'::'5__2' -IL_01be: blt IL_00a3 -IL_01c3: ldarg.0 -IL_01c4: ldfld int32 Example/'d__19'::'5__3' -IL_01c9: stloc.1 -IL_01ca: leave.s IL_01e5 -} // end .try -catch [System.Runtime]System.Exception -{ -IL_01cc: stloc.s V_9 -IL_01ce: ldarg.0 -IL_01cf: ldc.i4.s -2 -IL_01d1: stfld int32 Example/'d__19'::'<>1__state' -IL_01d6: ldarg.0 -IL_01d7: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__19'::'<>t__builder' -IL_01dc: ldloc.s V_9 -IL_01de: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetException(class [System.Runtime]System.Exception) -IL_01e3: leave.s IL_01f9 -} // end handler -IL_01e5: ldarg.0 -IL_01e6: ldc.i4.s -2 -IL_01e8: stfld int32 Example/'d__19'::'<>1__state' -IL_01ed: ldarg.0 -IL_01ee: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__19'::'<>t__builder' -IL_01f3: ldloc.1 -IL_01f4: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetResult(!0) -IL_01f9: ret -} -.method private hidebysig newslot virtual final -instance void SetStateMachine(class [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed -{ -.param [1] -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.override [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine -.maxstack 8 -IL_0000: ldarg.0 -IL_0001: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__19'::'<>t__builder' -IL_0006: ldarg.1 -IL_0007: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetStateMachine(class [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine) -IL_000c: ret -} -} -.class auto ansi sealed nested private beforefieldinit 'd__20' -extends [System.Runtime]System.ValueType -implements [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine -{ -.interfaceimpl type [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field public int32 '<>1__state' -.field public valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 '<>t__builder' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field private int32 '5__2' -.field private int32 '5__3' -.field private valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1/ConfiguredValueTaskAwaiter '<>u__1' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field private int32 '5__4' -.field private valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter '<>u__2' -.field private int32 '<>7__wrap4' -.method private hidebysig newslot virtual final -instance void MoveNext() cil managed -{ -.override [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext -.maxstack 3 -.locals init (int32 V_0, -int32 V_1, -int32 V_2, -valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1/ConfiguredValueTaskAwaiter V_3, -valuetype [System.Threading.Tasks.Extensions]System.Threading.Tasks.ValueTask`1 V_4, -valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1 V_5, -valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter V_6, -valuetype [System.Threading.Tasks.Extensions]System.Threading.Tasks.ValueTask V_7, -valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable V_8, -class [System.Runtime]System.Exception V_9) -IL_0000: ldarg.0 -IL_0001: ldfld int32 Example/'d__20'::'<>1__state' -IL_0006: stloc.0 -.try -{ -IL_0007: ldloc.0 -IL_0008: switch ( -IL_0065, -IL_00f0, -IL_0170) -IL_0019: ldc.i4.s 10 -IL_001b: call class [System.Runtime]System.Threading.Tasks.Task`1 [System.Runtime]System.Threading.Tasks.Task::FromResult(!!0) -IL_0020: newobj instance void valuetype [System.Threading.Tasks.Extensions]System.Threading.Tasks.ValueTask`1::.ctor(class [System.Runtime]System.Threading.Tasks.Task`1) -IL_0025: stloc.s V_4 -IL_0027: ldloca.s V_4 -IL_0029: ldc.i4.0 -IL_002a: call instance valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1 valuetype [System.Threading.Tasks.Extensions]System.Threading.Tasks.ValueTask`1::ConfigureAwait(bool) -IL_002f: stloc.s V_5 -IL_0031: ldloca.s V_5 -IL_0033: call instance valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1/ConfiguredValueTaskAwaiter valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1::GetAwaiter() -IL_0038: stloc.3 -IL_0039: ldloca.s V_3 -IL_003b: call instance bool valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1/ConfiguredValueTaskAwaiter::get_IsCompleted() -IL_0040: brtrue.s IL_0081 -IL_0042: ldarg.0 -IL_0043: ldc.i4.0 -IL_0044: dup -IL_0045: stloc.0 -IL_0046: stfld int32 Example/'d__20'::'<>1__state' -IL_004b: ldarg.0 -IL_004c: ldloc.3 -IL_004d: stfld valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1/ConfiguredValueTaskAwaiter Example/'d__20'::'<>u__1' -IL_0052: ldarg.0 -IL_0053: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__20'::'<>t__builder' -IL_0058: ldloca.s V_3 -IL_005a: ldarg.0 -IL_005b: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::AwaitUnsafeOnCompleted,valuetype Example/'d__20'>(!!0&, -!!1&) -IL_0060: leave IL_01f9 -IL_0065: ldarg.0 -IL_0066: ldfld valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1/ConfiguredValueTaskAwaiter Example/'d__20'::'<>u__1' -IL_006b: stloc.3 -IL_006c: ldarg.0 -IL_006d: ldflda valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1/ConfiguredValueTaskAwaiter Example/'d__20'::'<>u__1' -IL_0072: initobj valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1/ConfiguredValueTaskAwaiter -IL_0078: ldarg.0 -IL_0079: ldc.i4.m1 -IL_007a: dup -IL_007b: stloc.0 -IL_007c: stfld int32 Example/'d__20'::'<>1__state' -IL_0081: ldloca.s V_3 -IL_0083: call instance !0 valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1/ConfiguredValueTaskAwaiter::GetResult() -IL_0088: stloc.2 -IL_0089: ldarg.0 -IL_008a: ldloc.2 -IL_008b: stfld int32 Example/'d__20'::'5__2' -IL_0090: ldarg.0 -IL_0091: ldc.i4.0 -IL_0092: stfld int32 Example/'d__20'::'5__3' -IL_0097: ldarg.0 -IL_0098: ldc.i4.0 -IL_0099: stfld int32 Example/'d__20'::'5__4' -IL_009e: br IL_01b2 -IL_00a3: ldc.i4.1 -IL_00a4: call class [System.Runtime]System.Threading.Tasks.Task [System.Runtime]System.Threading.Tasks.Task::Delay(int32) -IL_00a9: newobj instance void [System.Threading.Tasks.Extensions]System.Threading.Tasks.ValueTask::.ctor(class [System.Runtime]System.Threading.Tasks.Task) -IL_00ae: stloc.s V_7 -IL_00b0: ldloca.s V_7 -IL_00b2: ldc.i4.0 -IL_00b3: call instance valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable [System.Threading.Tasks.Extensions]System.Threading.Tasks.ValueTask::ConfigureAwait(bool) -IL_00b8: stloc.s V_8 -IL_00ba: ldloca.s V_8 -IL_00bc: call instance valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable::GetAwaiter() -IL_00c1: stloc.s V_6 -IL_00c3: ldloca.s V_6 -IL_00c5: call instance bool [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter::get_IsCompleted() -IL_00ca: brtrue.s IL_010d -IL_00cc: ldarg.0 -IL_00cd: ldc.i4.1 -IL_00ce: dup -IL_00cf: stloc.0 -IL_00d0: stfld int32 Example/'d__20'::'<>1__state' -IL_00d5: ldarg.0 -IL_00d6: ldloc.s V_6 -IL_00d8: stfld valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter Example/'d__20'::'<>u__2' -IL_00dd: ldarg.0 -IL_00de: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__20'::'<>t__builder' -IL_00e3: ldloca.s V_6 -IL_00e5: ldarg.0 -IL_00e6: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::AwaitUnsafeOnCompletedd__20'>(!!0&, -!!1&) -IL_00eb: leave IL_01f9 -IL_00f0: ldarg.0 -IL_00f1: ldfld valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter Example/'d__20'::'<>u__2' -IL_00f6: stloc.s V_6 -IL_00f8: ldarg.0 -IL_00f9: ldflda valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter Example/'d__20'::'<>u__2' -IL_00fe: initobj [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter -IL_0104: ldarg.0 -IL_0105: ldc.i4.m1 -IL_0106: dup -IL_0107: stloc.0 -IL_0108: stfld int32 Example/'d__20'::'<>1__state' -IL_010d: ldloca.s V_6 -IL_010f: call instance void [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter::GetResult() -IL_0114: ldarg.0 -IL_0115: ldarg.0 -IL_0116: ldfld int32 Example/'d__20'::'5__3' -IL_011b: stfld int32 Example/'d__20'::'<>7__wrap4' -IL_0120: ldarg.0 -IL_0121: ldfld int32 Example/'d__20'::'5__4' -IL_0126: call class [System.Runtime]System.Threading.Tasks.Task`1 [System.Runtime]System.Threading.Tasks.Task::FromResult(!!0) -IL_012b: newobj instance void valuetype [System.Threading.Tasks.Extensions]System.Threading.Tasks.ValueTask`1::.ctor(class [System.Runtime]System.Threading.Tasks.Task`1) -IL_0130: stloc.s V_4 -IL_0132: ldloca.s V_4 -IL_0134: ldc.i4.0 -IL_0135: call instance valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1 valuetype [System.Threading.Tasks.Extensions]System.Threading.Tasks.ValueTask`1::ConfigureAwait(bool) -IL_013a: stloc.s V_5 -IL_013c: ldloca.s V_5 -IL_013e: call instance valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1/ConfiguredValueTaskAwaiter valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1::GetAwaiter() -IL_0143: stloc.3 -IL_0144: ldloca.s V_3 -IL_0146: call instance bool valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1/ConfiguredValueTaskAwaiter::get_IsCompleted() -IL_014b: brtrue.s IL_018c -IL_014d: ldarg.0 -IL_014e: ldc.i4.2 -IL_014f: dup -IL_0150: stloc.0 -IL_0151: stfld int32 Example/'d__20'::'<>1__state' -IL_0156: ldarg.0 -IL_0157: ldloc.3 -IL_0158: stfld valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1/ConfiguredValueTaskAwaiter Example/'d__20'::'<>u__1' -IL_015d: ldarg.0 -IL_015e: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__20'::'<>t__builder' -IL_0163: ldloca.s V_3 -IL_0165: ldarg.0 -IL_0166: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::AwaitUnsafeOnCompleted,valuetype Example/'d__20'>(!!0&, -!!1&) -IL_016b: leave IL_01f9 -IL_0170: ldarg.0 -IL_0171: ldfld valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1/ConfiguredValueTaskAwaiter Example/'d__20'::'<>u__1' -IL_0176: stloc.3 -IL_0177: ldarg.0 -IL_0178: ldflda valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1/ConfiguredValueTaskAwaiter Example/'d__20'::'<>u__1' -IL_017d: initobj valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1/ConfiguredValueTaskAwaiter -IL_0183: ldarg.0 -IL_0184: ldc.i4.m1 -IL_0185: dup -IL_0186: stloc.0 -IL_0187: stfld int32 Example/'d__20'::'<>1__state' -IL_018c: ldloca.s V_3 -IL_018e: call instance !0 valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1/ConfiguredValueTaskAwaiter::GetResult() -IL_0193: stloc.2 -IL_0194: ldarg.0 -IL_0195: ldarg.0 -IL_0196: ldfld int32 Example/'d__20'::'<>7__wrap4' -IL_019b: ldloc.2 -IL_019c: add -IL_019d: stfld int32 Example/'d__20'::'5__3' -IL_01a2: ldarg.0 -IL_01a3: ldfld int32 Example/'d__20'::'5__4' -IL_01a8: stloc.2 -IL_01a9: ldarg.0 -IL_01aa: ldloc.2 -IL_01ab: ldc.i4.1 -IL_01ac: add -IL_01ad: stfld int32 Example/'d__20'::'5__4' -IL_01b2: ldarg.0 -IL_01b3: ldfld int32 Example/'d__20'::'5__4' -IL_01b8: ldarg.0 -IL_01b9: ldfld int32 Example/'d__20'::'5__2' -IL_01be: blt IL_00a3 -IL_01c3: ldarg.0 -IL_01c4: ldfld int32 Example/'d__20'::'5__3' -IL_01c9: stloc.1 -IL_01ca: leave.s IL_01e5 -} // end .try -catch [System.Runtime]System.Exception -{ -IL_01cc: stloc.s V_9 -IL_01ce: ldarg.0 -IL_01cf: ldc.i4.s -2 -IL_01d1: stfld int32 Example/'d__20'::'<>1__state' -IL_01d6: ldarg.0 -IL_01d7: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__20'::'<>t__builder' -IL_01dc: ldloc.s V_9 -IL_01de: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetException(class [System.Runtime]System.Exception) -IL_01e3: leave.s IL_01f9 -} // end handler -IL_01e5: ldarg.0 -IL_01e6: ldc.i4.s -2 -IL_01e8: stfld int32 Example/'d__20'::'<>1__state' -IL_01ed: ldarg.0 -IL_01ee: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__20'::'<>t__builder' -IL_01f3: ldloc.1 -IL_01f4: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetResult(!0) -IL_01f9: ret -} -.method private hidebysig newslot virtual final -instance void SetStateMachine(class [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed -{ -.param [1] -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.override [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine -.maxstack 8 -IL_0000: ldarg.0 -IL_0001: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__20'::'<>t__builder' -IL_0006: ldarg.1 -IL_0007: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetStateMachine(class [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine) -IL_000c: ret -} -} -.class auto ansi sealed nested private beforefieldinit 'd__21' -extends [System.Runtime]System.ValueType -implements [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine -{ -.interfaceimpl type [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field public int32 '<>1__state' -.field public valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 '<>t__builder' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field private valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ValueTaskAwaiter`1 '<>u__1' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8[]) = ( 01 00 02 00 00 00 00 01 00 00 ) -.method private hidebysig newslot virtual final -instance void MoveNext() cil managed -{ -.override [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext -.maxstack 3 -.locals init (int32 V_0, -class Example V_1, -valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ValueTaskAwaiter`1 V_2, -valuetype [System.Threading.Tasks.Extensions]System.Threading.Tasks.ValueTask`1 V_3, -class [System.Runtime]System.Exception V_4) -IL_0000: ldarg.0 -IL_0001: ldfld int32 Example/'d__21'::'<>1__state' -IL_0006: stloc.0 -.try -{ -IL_0007: ldloc.0 -IL_0008: brfalse.s IL_004b -IL_000a: newobj instance void Example::.ctor() -IL_000f: call class [System.Runtime]System.Threading.Tasks.Task`1 [System.Runtime]System.Threading.Tasks.Task::FromResult(!!0) -IL_0014: newobj instance void valuetype [System.Threading.Tasks.Extensions]System.Threading.Tasks.ValueTask`1::.ctor(class [System.Runtime]System.Threading.Tasks.Task`1) -IL_0019: stloc.3 -IL_001a: ldloca.s V_3 -IL_001c: call instance valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ValueTaskAwaiter`1 valuetype [System.Threading.Tasks.Extensions]System.Threading.Tasks.ValueTask`1::GetAwaiter() -IL_0021: stloc.2 -IL_0022: ldloca.s V_2 -IL_0024: call instance bool valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ValueTaskAwaiter`1::get_IsCompleted() -IL_0029: brtrue.s IL_0067 -IL_002b: ldarg.0 -IL_002c: ldc.i4.0 -IL_002d: dup -IL_002e: stloc.0 -IL_002f: stfld int32 Example/'d__21'::'<>1__state' -IL_0034: ldarg.0 -IL_0035: ldloc.2 -IL_0036: stfld valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ValueTaskAwaiter`1 Example/'d__21'::'<>u__1' -IL_003b: ldarg.0 -IL_003c: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__21'::'<>t__builder' -IL_0041: ldloca.s V_2 -IL_0043: ldarg.0 -IL_0044: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::AwaitUnsafeOnCompleted,valuetype Example/'d__21'>(!!0&, -!!1&) -IL_0049: leave.s IL_009e -IL_004b: ldarg.0 -IL_004c: ldfld valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ValueTaskAwaiter`1 Example/'d__21'::'<>u__1' -IL_0051: stloc.2 -IL_0052: ldarg.0 -IL_0053: ldflda valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ValueTaskAwaiter`1 Example/'d__21'::'<>u__1' -IL_0058: initobj valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ValueTaskAwaiter`1 -IL_005e: ldarg.0 -IL_005f: ldc.i4.m1 -IL_0060: dup -IL_0061: stloc.0 -IL_0062: stfld int32 Example/'d__21'::'<>1__state' -IL_0067: ldloca.s V_2 -IL_0069: call instance !0 valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ValueTaskAwaiter`1::GetResult() -IL_006e: stloc.1 -IL_006f: leave.s IL_008a -} // end .try -catch [System.Runtime]System.Exception -{ -IL_0071: stloc.s V_4 -IL_0073: ldarg.0 -IL_0074: ldc.i4.s -2 -IL_0076: stfld int32 Example/'d__21'::'<>1__state' -IL_007b: ldarg.0 -IL_007c: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__21'::'<>t__builder' -IL_0081: ldloc.s V_4 -IL_0083: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetException(class [System.Runtime]System.Exception) -IL_0088: leave.s IL_009e -} // end handler -IL_008a: ldarg.0 -IL_008b: ldc.i4.s -2 -IL_008d: stfld int32 Example/'d__21'::'<>1__state' -IL_0092: ldarg.0 -IL_0093: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__21'::'<>t__builder' -IL_0098: ldloc.1 -IL_0099: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetResult(!0) -IL_009e: ret -} -.method private hidebysig newslot virtual final -instance void SetStateMachine(class [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed -{ -.param [1] -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.override [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine -.maxstack 8 -IL_0000: ldarg.0 -IL_0001: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__21'::'<>t__builder' -IL_0006: ldarg.1 -IL_0007: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetStateMachine(class [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine) -IL_000c: ret -} -} -.class auto ansi sealed nested private beforefieldinit 'd__22' -extends [System.Runtime]System.ValueType -implements [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine -{ -.interfaceimpl type [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field public int32 '<>1__state' -.field public valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 '<>t__builder' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field private valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1/ConfiguredValueTaskAwaiter '<>u__1' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8[]) = ( 01 00 02 00 00 00 00 01 00 00 ) -.method private hidebysig newslot virtual final -instance void MoveNext() cil managed -{ -.override [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext -.maxstack 3 -.locals init (int32 V_0, -class Example V_1, -valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1/ConfiguredValueTaskAwaiter V_2, -valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1 V_3, -valuetype [System.Threading.Tasks.Extensions]System.Threading.Tasks.ValueTask`1 V_4, -class [System.Runtime]System.Exception V_5) -IL_0000: ldarg.0 -IL_0001: ldfld int32 Example/'d__22'::'<>1__state' -IL_0006: stloc.0 -.try -{ -IL_0007: ldloc.0 -IL_0008: brfalse.s IL_0055 -IL_000a: newobj instance void Example::.ctor() -IL_000f: call class [System.Runtime]System.Threading.Tasks.Task`1 [System.Runtime]System.Threading.Tasks.Task::FromResult(!!0) -IL_0014: call instance void valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1::.ctor(valuetype [System.Private.CoreLib]System.Threading.Tasks.ValueTask`1&) -IL_0019: stloc.s V_4 -IL_001b: ldloca.s V_4 -IL_001d: ldc.i4.0 -IL_001e: callvirt instance valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1 valuetype [System.Private.CoreLib]System.Threading.Tasks.ValueTask`1::ConfigureAwait(bool) -IL_0023: stloc.3 -IL_0024: ldloca.s V_3 -IL_0026: call instance valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1/ConfiguredValueTaskAwaiter valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1::GetAwaiter() -IL_002b: stloc.2 -IL_002c: ldloca.s V_2 -IL_002e: call instance bool valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1/ConfiguredValueTaskAwaiter::get_IsCompleted() -IL_0033: brtrue.s IL_0071 -IL_0035: ldarg.0 -IL_0036: ldc.i4.0 -IL_0037: dup -IL_0038: stloc.0 -IL_0039: stfld int32 Example/'d__22'::'<>1__state' -IL_003e: ldarg.0 -IL_003f: ldloc.2 -IL_0040: stfld valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1/ConfiguredValueTaskAwaiter Example/'d__22'::'<>u__1' -IL_0045: ldarg.0 -IL_0046: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__22'::'<>t__builder' -IL_004b: ldloca.s V_2 -IL_004d: ldarg.0 -IL_004e: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::AwaitUnsafeOnCompleted,valuetype Example/'d__22'>(!!0&, -!!1&) -IL_0053: leave.s IL_00a8 -IL_0055: ldarg.0 -IL_0056: ldfld valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1/ConfiguredValueTaskAwaiter Example/'d__22'::'<>u__1' -IL_005b: stloc.2 -IL_005c: ldarg.0 -IL_005d: ldflda valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1/ConfiguredValueTaskAwaiter Example/'d__22'::'<>u__1' -IL_0062: initobj valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1/ConfiguredValueTaskAwaiter -IL_0068: ldarg.0 -IL_0069: ldc.i4.m1 -IL_006a: dup -IL_006b: stloc.0 -IL_006c: stfld int32 Example/'d__22'::'<>1__state' -IL_0071: ldloca.s V_2 -IL_0073: call instance !0 valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1/ConfiguredValueTaskAwaiter::GetResult() -IL_0078: stloc.1 -IL_0079: leave.s IL_0094 -} // end .try -catch [System.Runtime]System.Exception -{ -IL_007b: stloc.s V_5 -IL_007d: ldarg.0 -IL_007e: ldc.i4.s -2 -IL_0080: stfld int32 Example/'d__22'::'<>1__state' -IL_0085: ldarg.0 -IL_0086: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__22'::'<>t__builder' -IL_008b: ldloc.s V_5 -IL_008d: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetException(class [System.Runtime]System.Exception) -IL_0092: leave.s IL_00a8 -} // end handler -IL_0094: ldarg.0 -IL_0095: ldc.i4.s -2 -IL_0097: stfld int32 Example/'d__22'::'<>1__state' -IL_009c: ldarg.0 -IL_009d: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__22'::'<>t__builder' -IL_00a2: ldloc.1 -IL_00a3: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetResult(!0) -IL_00a8: ret -} -.method private hidebysig newslot virtual final -instance void SetStateMachine(class [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed -{ -.param [1] -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.override [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine -.maxstack 8 -IL_0000: ldarg.0 -IL_0001: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__22'::'<>t__builder' -IL_0006: ldarg.1 -IL_0007: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetStateMachine(class [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine) -IL_000c: ret -} -} -.class auto ansi sealed nested private beforefieldinit 'd__23' -extends [System.Runtime]System.ValueType -implements [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine -{ -.interfaceimpl type [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field public int32 '<>1__state' -.field public valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 '<>t__builder' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field private valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1/ConfiguredValueTaskAwaiter '<>u__1' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8[]) = ( 01 00 02 00 00 00 00 01 00 00 ) -.method private hidebysig newslot virtual final -instance void MoveNext() cil managed -{ -.override [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext -.maxstack 3 -.locals init (int32 V_0, -class Example V_1, -valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1/ConfiguredValueTaskAwaiter V_2, -valuetype [System.Threading.Tasks.Extensions]System.Threading.Tasks.ValueTask`1 V_3, -valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1 V_4, -class [System.Runtime]System.Exception V_5) -IL_0000: ldarg.0 -IL_0001: ldfld int32 Example/'d__23'::'<>1__state' -IL_0006: stloc.0 -.try -{ -IL_0007: ldloc.0 -IL_0008: brfalse.s IL_0055 -IL_000a: newobj instance void Example::.ctor() -IL_000f: call class [System.Runtime]System.Threading.Tasks.Task`1 [System.Runtime]System.Threading.Tasks.Task::FromResult(!!0) -IL_0014: newobj instance void valuetype [System.Threading.Tasks.Extensions]System.Threading.Tasks.ValueTask`1::.ctor(class [System.Runtime]System.Threading.Tasks.Task`1) -IL_0019: stloc.3 -IL_001a: ldloca.s V_3 -IL_001c: ldc.i4.0 -IL_001d: call instance valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1 valuetype [System.Threading.Tasks.Extensions]System.Threading.Tasks.ValueTask`1::ConfigureAwait(bool) -IL_0022: stloc.s V_4 -IL_0024: ldloca.s V_4 -IL_0026: call instance valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1/ConfiguredValueTaskAwaiter valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1::GetAwaiter() -IL_002b: stloc.2 -IL_002c: ldloca.s V_2 -IL_002e: call instance bool valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1/ConfiguredValueTaskAwaiter::get_IsCompleted() -IL_0033: brtrue.s IL_0071 -IL_0035: ldarg.0 -IL_0036: ldc.i4.0 -IL_0037: dup -IL_0038: stloc.0 -IL_0039: stfld int32 Example/'d__23'::'<>1__state' -IL_003e: ldarg.0 -IL_003f: ldloc.2 -IL_0040: stfld valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1/ConfiguredValueTaskAwaiter Example/'d__23'::'<>u__1' -IL_0045: ldarg.0 -IL_0046: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__23'::'<>t__builder' -IL_004b: ldloca.s V_2 -IL_004d: ldarg.0 -IL_004e: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::AwaitUnsafeOnCompleted,valuetype Example/'d__23'>(!!0&, -!!1&) -IL_0053: leave.s IL_00a8 -IL_0055: ldarg.0 -IL_0056: ldfld valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1/ConfiguredValueTaskAwaiter Example/'d__23'::'<>u__1' -IL_005b: stloc.2 -IL_005c: ldarg.0 -IL_005d: ldflda valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1/ConfiguredValueTaskAwaiter Example/'d__23'::'<>u__1' -IL_0062: initobj valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1/ConfiguredValueTaskAwaiter -IL_0068: ldarg.0 -IL_0069: ldc.i4.m1 -IL_006a: dup -IL_006b: stloc.0 -IL_006c: stfld int32 Example/'d__23'::'<>1__state' -IL_0071: ldloca.s V_2 -IL_0073: call instance !0 valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1/ConfiguredValueTaskAwaiter::GetResult() -IL_0078: stloc.1 -IL_0079: leave.s IL_0094 -} // end .try -catch [System.Runtime]System.Exception -{ -IL_007b: stloc.s V_5 -IL_007d: ldarg.0 -IL_007e: ldc.i4.s -2 -IL_0080: stfld int32 Example/'d__23'::'<>1__state' -IL_0085: ldarg.0 -IL_0086: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__23'::'<>t__builder' -IL_008b: ldloc.s V_5 -IL_008d: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetException(class [System.Runtime]System.Exception) -IL_0092: leave.s IL_00a8 -} // end handler -IL_0094: ldarg.0 -IL_0095: ldc.i4.s -2 -IL_0097: stfld int32 Example/'d__23'::'<>1__state' -IL_009c: ldarg.0 -IL_009d: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__23'::'<>t__builder' -IL_00a2: ldloc.1 -IL_00a3: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetResult(!0) -IL_00a8: ret -} -.method private hidebysig newslot virtual final -instance void SetStateMachine(class [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed -{ -.param [1] -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.override [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine -.maxstack 8 -IL_0000: ldarg.0 -IL_0001: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__23'::'<>t__builder' -IL_0006: ldarg.1 -IL_0007: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetStateMachine(class [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine) -IL_000c: ret -} -} -.method public hidebysig instance class [System.Runtime]System.Threading.Tasks.Task -AsyncMethod1() cil managed -{ -63 4D 65 74 68 6F 64 31 3E 64 5F 5F 30 00 00 ) // cMethod1>d__0.. -.maxstack 2 -.locals init (valuetype Example/'d__0' V_0) -IL_0000: ldloca.s V_0 -IL_0002: call valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Create() -IL_0007: stfld valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Example/'d__0'::'<>t__builder' -IL_000c: ldloca.s V_0 -IL_000e: ldc.i4.m1 -IL_000f: stfld int32 Example/'d__0'::'<>1__state' -IL_0014: ldloca.s V_0 -IL_0016: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Example/'d__0'::'<>t__builder' -IL_001b: ldloca.s V_0 -IL_001d: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Startd__0'>(!!0&) -IL_0022: ldloca.s V_0 -IL_0024: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Example/'d__0'::'<>t__builder' -IL_0029: call instance class [System.Runtime]System.Threading.Tasks.Task [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::get_Task() -IL_002e: ret -} -.method public hidebysig instance class [System.Runtime]System.Threading.Tasks.Task -AsyncMethod2() cil managed -{ -63 4D 65 74 68 6F 64 32 3E 64 5F 5F 31 00 00 ) // cMethod2>d__1.. -.maxstack 2 -.locals init (valuetype Example/'d__1' V_0) -IL_0000: ldloca.s V_0 -IL_0002: call valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Create() -IL_0007: stfld valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Example/'d__1'::'<>t__builder' -IL_000c: ldloca.s V_0 -IL_000e: ldc.i4.m1 -IL_000f: stfld int32 Example/'d__1'::'<>1__state' -IL_0014: ldloca.s V_0 -IL_0016: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Example/'d__1'::'<>t__builder' -IL_001b: ldloca.s V_0 -IL_001d: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Startd__1'>(!!0&) -IL_0022: ldloca.s V_0 -IL_0024: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Example/'d__1'::'<>t__builder' -IL_0029: call instance class [System.Runtime]System.Threading.Tasks.Task [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::get_Task() -IL_002e: ret -} -.method public hidebysig instance class [System.Runtime]System.Threading.Tasks.Task -AsyncMethod3() cil managed -{ -63 4D 65 74 68 6F 64 33 3E 64 5F 5F 32 00 00 ) // cMethod3>d__2.. -.maxstack 2 -.locals init (valuetype Example/'d__2' V_0) -IL_0000: ldloca.s V_0 -IL_0002: call valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Create() -IL_0007: stfld valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Example/'d__2'::'<>t__builder' -IL_000c: ldloca.s V_0 -IL_000e: ldc.i4.m1 -IL_000f: stfld int32 Example/'d__2'::'<>1__state' -IL_0014: ldloca.s V_0 -IL_0016: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Example/'d__2'::'<>t__builder' -IL_001b: ldloca.s V_0 -IL_001d: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Startd__2'>(!!0&) -IL_0022: ldloca.s V_0 -IL_0024: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Example/'d__2'::'<>t__builder' -IL_0029: call instance class [System.Runtime]System.Threading.Tasks.Task [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::get_Task() -IL_002e: ret -} -.method public hidebysig instance class [System.Runtime]System.Threading.Tasks.Task`1 -AsyncMethod4() cil managed -{ -63 4D 65 74 68 6F 64 34 3E 64 5F 5F 33 00 00 ) // cMethod4>d__3.. -.maxstack 2 -.locals init (valuetype Example/'d__3' V_0) -IL_0000: ldloca.s V_0 -IL_0002: call valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::Create() -IL_0007: stfld valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__3'::'<>t__builder' -IL_000c: ldloca.s V_0 -IL_000e: ldc.i4.m1 -IL_000f: stfld int32 Example/'d__3'::'<>1__state' -IL_0014: ldloca.s V_0 -IL_0016: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__3'::'<>t__builder' -IL_001b: ldloca.s V_0 -IL_001d: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::Startd__3'>(!!0&) -IL_0022: ldloca.s V_0 -IL_0024: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__3'::'<>t__builder' -IL_0029: call instance class [System.Runtime]System.Threading.Tasks.Task`1 valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::get_Task() -IL_002e: ret -} -.method public hidebysig instance class [System.Runtime]System.Threading.Tasks.Task`1 -AsyncMethod5() cil managed -{ -63 4D 65 74 68 6F 64 35 3E 64 5F 5F 34 00 00 ) // cMethod5>d__4.. -.maxstack 2 -.locals init (valuetype Example/'d__4' V_0) -IL_0000: ldloca.s V_0 -IL_0002: call valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::Create() -IL_0007: stfld valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__4'::'<>t__builder' -IL_000c: ldloca.s V_0 -IL_000e: ldc.i4.m1 -IL_000f: stfld int32 Example/'d__4'::'<>1__state' -IL_0014: ldloca.s V_0 -IL_0016: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__4'::'<>t__builder' -IL_001b: ldloca.s V_0 -IL_001d: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::Startd__4'>(!!0&) -IL_0022: ldloca.s V_0 -IL_0024: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__4'::'<>t__builder' -IL_0029: call instance class [System.Runtime]System.Threading.Tasks.Task`1 valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::get_Task() -IL_002e: ret -} -.method public hidebysig instance class [System.Runtime]System.Threading.Tasks.Task`1 -AsyncMethod6() cil managed -{ -63 4D 65 74 68 6F 64 36 3E 64 5F 5F 35 00 00 ) // cMethod6>d__5.. -.maxstack 2 -.locals init (valuetype Example/'d__5' V_0) -IL_0000: ldloca.s V_0 -IL_0002: call valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::Create() -IL_0007: stfld valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__5'::'<>t__builder' -IL_000c: ldloca.s V_0 -IL_000e: ldc.i4.m1 -IL_000f: stfld int32 Example/'d__5'::'<>1__state' -IL_0014: ldloca.s V_0 -IL_0016: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__5'::'<>t__builder' -IL_001b: ldloca.s V_0 -IL_001d: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::Startd__5'>(!!0&) -IL_0022: ldloca.s V_0 -IL_0024: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__5'::'<>t__builder' -IL_0029: call instance class [System.Runtime]System.Threading.Tasks.Task`1 valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::get_Task() -IL_002e: ret -} -.method public hidebysig instance class [System.Runtime]System.Threading.Tasks.Task`1 -AsyncMethod7() cil managed -{ -63 4D 65 74 68 6F 64 37 3E 64 5F 5F 36 00 00 ) // cMethod7>d__6.. -.maxstack 2 -.locals init (valuetype Example/'d__6' V_0) -IL_0000: ldloca.s V_0 -IL_0002: call valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::Create() -IL_0007: stfld valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__6'::'<>t__builder' -IL_000c: ldloca.s V_0 -IL_000e: ldc.i4.m1 -IL_000f: stfld int32 Example/'d__6'::'<>1__state' -IL_0014: ldloca.s V_0 -IL_0016: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__6'::'<>t__builder' -IL_001b: ldloca.s V_0 -IL_001d: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::Startd__6'>(!!0&) -IL_0022: ldloca.s V_0 -IL_0024: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__6'::'<>t__builder' -IL_0029: call instance class [System.Runtime]System.Threading.Tasks.Task`1 valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::get_Task() -IL_002e: ret -} -.method public hidebysig instance class [System.Runtime]System.Threading.Tasks.Task`1 -AsyncMethod8() cil managed -{ -63 4D 65 74 68 6F 64 38 3E 64 5F 5F 37 00 00 ) // cMethod8>d__7.. -.maxstack 2 -.locals init (valuetype Example/'d__7' V_0) -IL_0000: ldloca.s V_0 -IL_0002: call valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::Create() -IL_0007: stfld valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__7'::'<>t__builder' -IL_000c: ldloca.s V_0 -IL_000e: ldc.i4.m1 -IL_000f: stfld int32 Example/'d__7'::'<>1__state' -IL_0014: ldloca.s V_0 -IL_0016: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__7'::'<>t__builder' -IL_001b: ldloca.s V_0 -IL_001d: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::Startd__7'>(!!0&) -IL_0022: ldloca.s V_0 -IL_0024: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__7'::'<>t__builder' -IL_0029: call instance class [System.Runtime]System.Threading.Tasks.Task`1 valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::get_Task() -IL_002e: ret -} -.method public hidebysig instance class [System.Runtime]System.Threading.Tasks.Task`1 -AsyncMethod9() cil managed -{ -63 4D 65 74 68 6F 64 39 3E 64 5F 5F 38 00 00 ) // cMethod9>d__8.. -.maxstack 2 -.locals init (valuetype Example/'d__8' V_0) -IL_0000: ldloca.s V_0 -IL_0002: call valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::Create() -IL_0007: stfld valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__8'::'<>t__builder' -IL_000c: ldloca.s V_0 -IL_000e: ldc.i4.m1 -IL_000f: stfld int32 Example/'d__8'::'<>1__state' -IL_0014: ldloca.s V_0 -IL_0016: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__8'::'<>t__builder' -IL_001b: ldloca.s V_0 -IL_001d: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::Startd__8'>(!!0&) -IL_0022: ldloca.s V_0 -IL_0024: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__8'::'<>t__builder' -IL_0029: call instance class [System.Runtime]System.Threading.Tasks.Task`1 valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::get_Task() -IL_002e: ret -} -.method public hidebysig instance class [System.Runtime]System.Threading.Tasks.Task`1 -AsyncMethod10() cil managed -{ -63 4D 65 74 68 6F 64 31 30 3E 64 5F 5F 39 00 00 ) // cMethod10>d__9.. -.maxstack 2 -.locals init (valuetype Example/'d__9' V_0) -IL_0000: ldloca.s V_0 -IL_0002: call valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::Create() -IL_0007: stfld valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__9'::'<>t__builder' -IL_000c: ldloca.s V_0 -IL_000e: ldc.i4.m1 -IL_000f: stfld int32 Example/'d__9'::'<>1__state' -IL_0014: ldloca.s V_0 -IL_0016: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__9'::'<>t__builder' -IL_001b: ldloca.s V_0 -IL_001d: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::Startd__9'>(!!0&) -IL_0022: ldloca.s V_0 -IL_0024: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__9'::'<>t__builder' -IL_0029: call instance class [System.Runtime]System.Threading.Tasks.Task`1 valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::get_Task() -IL_002e: ret -} -.method public hidebysig instance class [System.Runtime]System.Threading.Tasks.Task`1 -AsyncMethod11() cil managed -{ -63 4D 65 74 68 6F 64 31 31 3E 64 5F 5F 31 30 00 // cMethod11>d__10. -00 ) -.maxstack 2 -.locals init (valuetype Example/'d__10' V_0) -IL_0000: ldloca.s V_0 -IL_0002: call valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::Create() -IL_0007: stfld valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__10'::'<>t__builder' -IL_000c: ldloca.s V_0 -IL_000e: ldc.i4.m1 -IL_000f: stfld int32 Example/'d__10'::'<>1__state' -IL_0014: ldloca.s V_0 -IL_0016: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__10'::'<>t__builder' -IL_001b: ldloca.s V_0 -IL_001d: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::Startd__10'>(!!0&) -IL_0022: ldloca.s V_0 -IL_0024: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__10'::'<>t__builder' -IL_0029: call instance class [System.Runtime]System.Threading.Tasks.Task`1 valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::get_Task() -IL_002e: ret -} -.method public hidebysig instance class [System.Runtime]System.Threading.Tasks.Task`1 -AsyncMethod12() cil managed -{ -63 4D 65 74 68 6F 64 31 32 3E 64 5F 5F 31 31 00 // cMethod12>d__11. -00 ) -.maxstack 2 -.locals init (valuetype Example/'d__11' V_0) -IL_0000: ldloca.s V_0 -IL_0002: call valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::Create() -IL_0007: stfld valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__11'::'<>t__builder' -IL_000c: ldloca.s V_0 -IL_000e: ldc.i4.m1 -IL_000f: stfld int32 Example/'d__11'::'<>1__state' -IL_0014: ldloca.s V_0 -IL_0016: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__11'::'<>t__builder' -IL_001b: ldloca.s V_0 -IL_001d: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::Startd__11'>(!!0&) -IL_0022: ldloca.s V_0 -IL_0024: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__11'::'<>t__builder' -IL_0029: call instance class [System.Runtime]System.Threading.Tasks.Task`1 valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::get_Task() -IL_002e: ret -} -.method public hidebysig instance class [System.Runtime]System.Threading.Tasks.Task -AsyncMethod1_WithValueTask() cil managed -{ -63 4D 65 74 68 6F 64 31 5F 57 69 74 68 56 61 6C // cMethod1_WithVal -75 65 54 61 73 6B 3E 64 5F 5F 31 32 00 00 ) // ueTask>d__12.. -.maxstack 2 -.locals init (valuetype Example/'d__12' V_0) -IL_0000: ldloca.s V_0 -IL_0002: call valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Create() -IL_0007: stfld valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Example/'d__12'::'<>t__builder' -IL_000c: ldloca.s V_0 -IL_000e: ldc.i4.m1 -IL_000f: stfld int32 Example/'d__12'::'<>1__state' -IL_0014: ldloca.s V_0 -IL_0016: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Example/'d__12'::'<>t__builder' -IL_001b: ldloca.s V_0 -IL_001d: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Startd__12'>(!!0&) -IL_0022: ldloca.s V_0 -IL_0024: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Example/'d__12'::'<>t__builder' -IL_0029: call instance class [System.Runtime]System.Threading.Tasks.Task [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::get_Task() -IL_002e: ret -} -.method public hidebysig instance class [System.Runtime]System.Threading.Tasks.Task -AsyncMethod2_WithValueTask() cil managed -{ -63 4D 65 74 68 6F 64 32 5F 57 69 74 68 56 61 6C // cMethod2_WithVal -75 65 54 61 73 6B 3E 64 5F 5F 31 33 00 00 ) // ueTask>d__13.. -.maxstack 2 -.locals init (valuetype Example/'d__13' V_0) -IL_0000: ldloca.s V_0 -IL_0002: call valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Create() -IL_0007: stfld valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Example/'d__13'::'<>t__builder' -IL_000c: ldloca.s V_0 -IL_000e: ldc.i4.m1 -IL_000f: stfld int32 Example/'d__13'::'<>1__state' -IL_0014: ldloca.s V_0 -IL_0016: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Example/'d__13'::'<>t__builder' -IL_001b: ldloca.s V_0 -IL_001d: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Startd__13'>(!!0&) -IL_0022: ldloca.s V_0 -IL_0024: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Example/'d__13'::'<>t__builder' -IL_0029: call instance class [System.Runtime]System.Threading.Tasks.Task [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::get_Task() -IL_002e: ret -} -.method public hidebysig instance class [System.Runtime]System.Threading.Tasks.Task -AsyncMethod3_WithValueTask() cil managed -{ -63 4D 65 74 68 6F 64 33 5F 57 69 74 68 56 61 6C // cMethod3_WithVal -75 65 54 61 73 6B 3E 64 5F 5F 31 34 00 00 ) // ueTask>d__14.. -.maxstack 2 -.locals init (valuetype Example/'d__14' V_0) -IL_0000: ldloca.s V_0 -IL_0002: call valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Create() -IL_0007: stfld valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Example/'d__14'::'<>t__builder' -IL_000c: ldloca.s V_0 -IL_000e: ldc.i4.m1 -IL_000f: stfld int32 Example/'d__14'::'<>1__state' -IL_0014: ldloca.s V_0 -IL_0016: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Example/'d__14'::'<>t__builder' -IL_001b: ldloca.s V_0 -IL_001d: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Startd__14'>(!!0&) -IL_0022: ldloca.s V_0 -IL_0024: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Example/'d__14'::'<>t__builder' -IL_0029: call instance class [System.Runtime]System.Threading.Tasks.Task [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::get_Task() -IL_002e: ret -} -.method public hidebysig instance class [System.Runtime]System.Threading.Tasks.Task`1 -AsyncMethod4_WithValueTask() cil managed -{ -63 4D 65 74 68 6F 64 34 5F 57 69 74 68 56 61 6C // cMethod4_WithVal -75 65 54 61 73 6B 3E 64 5F 5F 31 35 00 00 ) // ueTask>d__15.. -.maxstack 2 -.locals init (valuetype Example/'d__15' V_0) -IL_0000: ldloca.s V_0 -IL_0002: call valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::Create() -IL_0007: stfld valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__15'::'<>t__builder' -IL_000c: ldloca.s V_0 -IL_000e: ldc.i4.m1 -IL_000f: stfld int32 Example/'d__15'::'<>1__state' -IL_0014: ldloca.s V_0 -IL_0016: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__15'::'<>t__builder' -IL_001b: ldloca.s V_0 -IL_001d: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::Startd__15'>(!!0&) -IL_0022: ldloca.s V_0 -IL_0024: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__15'::'<>t__builder' -IL_0029: call instance class [System.Runtime]System.Threading.Tasks.Task`1 valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::get_Task() -IL_002e: ret -} -.method public hidebysig instance class [System.Runtime]System.Threading.Tasks.Task`1 -AsyncMethod5_WithValueTask() cil managed -{ -63 4D 65 74 68 6F 64 35 5F 57 69 74 68 56 61 6C // cMethod5_WithVal -75 65 54 61 73 6B 3E 64 5F 5F 31 36 00 00 ) // ueTask>d__16.. -.maxstack 2 -.locals init (valuetype Example/'d__16' V_0) -IL_0000: ldloca.s V_0 -IL_0002: call valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::Create() -IL_0007: stfld valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__16'::'<>t__builder' -IL_000c: ldloca.s V_0 -IL_000e: ldc.i4.m1 -IL_000f: stfld int32 Example/'d__16'::'<>1__state' -IL_0014: ldloca.s V_0 -IL_0016: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__16'::'<>t__builder' -IL_001b: ldloca.s V_0 -IL_001d: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::Startd__16'>(!!0&) -IL_0022: ldloca.s V_0 -IL_0024: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__16'::'<>t__builder' -IL_0029: call instance class [System.Runtime]System.Threading.Tasks.Task`1 valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::get_Task() -IL_002e: ret -} -.method public hidebysig instance class [System.Runtime]System.Threading.Tasks.Task`1 -AsyncMethod6_WithValueTask() cil managed -{ -63 4D 65 74 68 6F 64 36 5F 57 69 74 68 56 61 6C // cMethod6_WithVal -75 65 54 61 73 6B 3E 64 5F 5F 31 37 00 00 ) // ueTask>d__17.. -.maxstack 2 -.locals init (valuetype Example/'d__17' V_0) -IL_0000: ldloca.s V_0 -IL_0002: call valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::Create() -IL_0007: stfld valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__17'::'<>t__builder' -IL_000c: ldloca.s V_0 -IL_000e: ldc.i4.m1 -IL_000f: stfld int32 Example/'d__17'::'<>1__state' -IL_0014: ldloca.s V_0 -IL_0016: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__17'::'<>t__builder' -IL_001b: ldloca.s V_0 -IL_001d: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::Startd__17'>(!!0&) -IL_0022: ldloca.s V_0 -IL_0024: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__17'::'<>t__builder' -IL_0029: call instance class [System.Runtime]System.Threading.Tasks.Task`1 valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::get_Task() -IL_002e: ret -} -.method public hidebysig instance class [System.Runtime]System.Threading.Tasks.Task`1 -AsyncMethod7_WithValueTask() cil managed -{ -63 4D 65 74 68 6F 64 37 5F 57 69 74 68 56 61 6C // cMethod7_WithVal -75 65 54 61 73 6B 3E 64 5F 5F 31 38 00 00 ) // ueTask>d__18.. -.maxstack 2 -.locals init (valuetype Example/'d__18' V_0) -IL_0000: ldloca.s V_0 -IL_0002: call valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::Create() -IL_0007: stfld valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__18'::'<>t__builder' -IL_000c: ldloca.s V_0 -IL_000e: ldc.i4.m1 -IL_000f: stfld int32 Example/'d__18'::'<>1__state' -IL_0014: ldloca.s V_0 -IL_0016: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__18'::'<>t__builder' -IL_001b: ldloca.s V_0 -IL_001d: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::Startd__18'>(!!0&) -IL_0022: ldloca.s V_0 -IL_0024: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__18'::'<>t__builder' -IL_0029: call instance class [System.Runtime]System.Threading.Tasks.Task`1 valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::get_Task() -IL_002e: ret -} -.method public hidebysig instance class [System.Runtime]System.Threading.Tasks.Task`1 -AsyncMethod8_WithValueTask() cil managed -{ -63 4D 65 74 68 6F 64 38 5F 57 69 74 68 56 61 6C // cMethod8_WithVal -75 65 54 61 73 6B 3E 64 5F 5F 31 39 00 00 ) // ueTask>d__19.. -.maxstack 2 -.locals init (valuetype Example/'d__19' V_0) -IL_0000: ldloca.s V_0 -IL_0002: call valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::Create() -IL_0007: stfld valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__19'::'<>t__builder' -IL_000c: ldloca.s V_0 -IL_000e: ldc.i4.m1 -IL_000f: stfld int32 Example/'d__19'::'<>1__state' -IL_0014: ldloca.s V_0 -IL_0016: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__19'::'<>t__builder' -IL_001b: ldloca.s V_0 -IL_001d: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::Startd__19'>(!!0&) -IL_0022: ldloca.s V_0 -IL_0024: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__19'::'<>t__builder' -IL_0029: call instance class [System.Runtime]System.Threading.Tasks.Task`1 valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::get_Task() -IL_002e: ret -} -.method public hidebysig instance class [System.Runtime]System.Threading.Tasks.Task`1 -AsyncMethod9_WithValueTask() cil managed -{ -63 4D 65 74 68 6F 64 39 5F 57 69 74 68 56 61 6C // cMethod9_WithVal -75 65 54 61 73 6B 3E 64 5F 5F 32 30 00 00 ) // ueTask>d__20.. -.maxstack 2 -.locals init (valuetype Example/'d__20' V_0) -IL_0000: ldloca.s V_0 -IL_0002: call valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::Create() -IL_0007: stfld valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__20'::'<>t__builder' -IL_000c: ldloca.s V_0 -IL_000e: ldc.i4.m1 -IL_000f: stfld int32 Example/'d__20'::'<>1__state' -IL_0014: ldloca.s V_0 -IL_0016: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__20'::'<>t__builder' -IL_001b: ldloca.s V_0 -IL_001d: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::Startd__20'>(!!0&) -IL_0022: ldloca.s V_0 -IL_0024: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__20'::'<>t__builder' -IL_0029: call instance class [System.Runtime]System.Threading.Tasks.Task`1 valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::get_Task() -IL_002e: ret -} -.method public hidebysig instance class [System.Runtime]System.Threading.Tasks.Task`1 -AsyncMethod10_WithValueTask() cil managed -{ -63 4D 65 74 68 6F 64 31 30 5F 57 69 74 68 56 61 // cMethod10_WithVa -6C 75 65 54 61 73 6B 3E 64 5F 5F 32 31 00 00 ) // lueTask>d__21.. -.maxstack 2 -.locals init (valuetype Example/'d__21' V_0) -IL_0000: ldloca.s V_0 -IL_0002: call valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::Create() -IL_0007: stfld valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__21'::'<>t__builder' -IL_000c: ldloca.s V_0 -IL_000e: ldc.i4.m1 -IL_000f: stfld int32 Example/'d__21'::'<>1__state' -IL_0014: ldloca.s V_0 -IL_0016: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__21'::'<>t__builder' -IL_001b: ldloca.s V_0 -IL_001d: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::Startd__21'>(!!0&) -IL_0022: ldloca.s V_0 -IL_0024: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__21'::'<>t__builder' -IL_0029: call instance class [System.Runtime]System.Threading.Tasks.Task`1 valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::get_Task() -IL_002e: ret -} -.method public hidebysig instance class [System.Runtime]System.Threading.Tasks.Task`1 -AsyncMethod11_WithValueTask() cil managed -{ -63 4D 65 74 68 6F 64 31 31 5F 57 69 74 68 56 61 // cMethod11_WithVa -6C 75 65 54 61 73 6B 3E 64 5F 5F 32 32 00 00 ) // lueTask>d__22.. -.maxstack 2 -.locals init (valuetype Example/'d__22' V_0) -IL_0000: ldloca.s V_0 -IL_0002: call valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::Create() -IL_0007: stfld valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__22'::'<>t__builder' -IL_000c: ldloca.s V_0 -IL_000e: ldc.i4.m1 -IL_000f: stfld int32 Example/'d__22'::'<>1__state' -IL_0014: ldloca.s V_0 -IL_0016: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__22'::'<>t__builder' -IL_001b: ldloca.s V_0 -IL_001d: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::Startd__22'>(!!0&) -IL_0022: ldloca.s V_0 -IL_0024: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__22'::'<>t__builder' -IL_0029: call instance class [System.Runtime]System.Threading.Tasks.Task`1 valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::get_Task() -IL_002e: ret -} -.method public hidebysig instance class [System.Runtime]System.Threading.Tasks.Task`1 -AsyncMethod12_WithValueTask() cil managed -{ -63 4D 65 74 68 6F 64 31 32 5F 57 69 74 68 56 61 // cMethod12_WithVa -6C 75 65 54 61 73 6B 3E 64 5F 5F 32 33 00 00 ) // lueTask>d__23.. -.maxstack 2 -.locals init (valuetype Example/'d__23' V_0) -IL_0000: ldloca.s V_0 -IL_0002: call valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::Create() -IL_0007: stfld valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__23'::'<>t__builder' -IL_000c: ldloca.s V_0 -IL_000e: ldc.i4.m1 -IL_000f: stfld int32 Example/'d__23'::'<>1__state' -IL_0014: ldloca.s V_0 -IL_0016: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__23'::'<>t__builder' -IL_001b: ldloca.s V_0 -IL_001d: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::Startd__23'>(!!0&) -IL_0022: ldloca.s V_0 -IL_0024: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__23'::'<>t__builder' -IL_0029: call instance class [System.Runtime]System.Threading.Tasks.Task`1 valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::get_Task() -IL_002e: ret -} -.method public hidebysig specialname rtspecialname -instance void .ctor() cil managed -{ -.maxstack 8 -IL_0000: ldarg.0 -IL_0001: call instance void [System.Runtime]System.Object::.ctor() -IL_0006: ret -} -} diff --git a/Tests/ModuleWeaverTests.DecompileExample.Debug.DotNet.verified.txt b/Tests/ModuleWeaverTests.DecompileExample.Debug.DotNet.verified.txt deleted file mode 100644 index 8301edc..0000000 --- a/Tests/ModuleWeaverTests.DecompileExample.Debug.DotNet.verified.txt +++ /dev/null @@ -1,2257 +0,0 @@ -.class public auto ansi beforefieldinit Example -extends [System.Runtime]System.Object -{ -.custom instance void System.Runtime.CompilerServices.NullableContextAttribute::.ctor(uint8) = ( 01 00 01 00 00 ) -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.class auto ansi sealed nested private beforefieldinit 'd__9' -extends [System.Runtime]System.Object -implements [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine -{ -.interfaceimpl type [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field public int32 '<>1__state' -.field public valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 '<>t__builder' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field public class Example '<>4__this' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field private class Example '5__1' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field private class Example '<>s__2' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field private valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter`1 '<>u__1' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.method public hidebysig specialname rtspecialname -instance void .ctor() cil managed -{ -.maxstack 8 -IL_0000: ldarg.0 -IL_0001: call instance void [System.Runtime]System.Object::.ctor() -IL_0006: nop -IL_0007: ret -} -.method private hidebysig newslot virtual final -instance void MoveNext() cil managed -{ -.override [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext -.maxstack 3 -.locals init (int32 V_0, -class Example V_1, -valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter`1 V_2, -class Example/'d__9' V_3, -class [System.Runtime]System.Exception V_4) -IL_0000: ldarg.0 -IL_0001: ldfld int32 Example/'d__9'::'<>1__state' -IL_0006: stloc.0 -.try -{ -IL_0007: ldloc.0 -IL_0008: brfalse.s IL_000c -IL_000a: br.s IL_000e -IL_000c: br.s IL_004f -IL_000e: nop -IL_000f: newobj instance void Example::.ctor() -IL_0014: call class [System.Runtime]System.Threading.Tasks.Task`1 [System.Runtime]System.Threading.Tasks.Task::FromResult(!!0) -IL_0019: callvirt instance valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter`1 class [System.Runtime]System.Threading.Tasks.Task`1::GetAwaiter() -IL_001e: stloc.2 -IL_001f: ldloca.s V_2 -IL_0021: call instance bool valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter`1::get_IsCompleted() -IL_0026: brtrue.s IL_006b -IL_0028: ldarg.0 -IL_0029: ldc.i4.0 -IL_002a: dup -IL_002b: stloc.0 -IL_002c: stfld int32 Example/'d__9'::'<>1__state' -IL_0031: ldarg.0 -IL_0032: ldloc.2 -IL_0033: stfld valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter`1 Example/'d__9'::'<>u__1' -IL_0038: ldarg.0 -IL_0039: stloc.3 -IL_003a: ldarg.0 -IL_003b: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__9'::'<>t__builder' -IL_0040: ldloca.s V_2 -IL_0042: ldloca.s V_3 -IL_0044: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::AwaitUnsafeOnCompleted,class Example/'d__9'>(!!0&, -!!1&) -IL_0049: nop -IL_004a: leave IL_00d1 -IL_004f: ldarg.0 -IL_0050: ldfld valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter`1 Example/'d__9'::'<>u__1' -IL_0055: stloc.2 -IL_0056: ldarg.0 -IL_0057: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter`1 Example/'d__9'::'<>u__1' -IL_005c: initobj valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter`1 -IL_0062: ldarg.0 -IL_0063: ldc.i4.m1 -IL_0064: dup -IL_0065: stloc.0 -IL_0066: stfld int32 Example/'d__9'::'<>1__state' -IL_006b: ldarg.0 -IL_006c: ldloca.s V_2 -IL_006e: call instance !0 valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter`1::GetResult() -IL_0073: stfld class Example Example/'d__9'::'<>s__2' -IL_0078: ldarg.0 -IL_0079: ldarg.0 -IL_007a: ldfld class Example Example/'d__9'::'<>s__2' -IL_007f: stfld class Example Example/'d__9'::'5__1' -IL_0084: ldarg.0 -IL_0085: ldnull -IL_0086: stfld class Example Example/'d__9'::'<>s__2' -IL_008b: ldarg.0 -IL_008c: ldfld class Example Example/'d__9'::'5__1' -IL_0091: stloc.1 -IL_0092: leave.s IL_00b5 -} // end .try -catch [System.Runtime]System.Exception -{ -IL_0094: stloc.s V_4 -IL_0096: ldarg.0 -IL_0097: ldc.i4.s -2 -IL_0099: stfld int32 Example/'d__9'::'<>1__state' -IL_009e: ldarg.0 -IL_009f: ldnull -IL_00a0: stfld class Example Example/'d__9'::'5__1' -IL_00a5: ldarg.0 -IL_00a6: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__9'::'<>t__builder' -IL_00ab: ldloc.s V_4 -IL_00ad: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetException(class [System.Runtime]System.Exception) -IL_00b2: nop -IL_00b3: leave.s IL_00d1 -} // end handler -IL_00b5: ldarg.0 -IL_00b6: ldc.i4.s -2 -IL_00b8: stfld int32 Example/'d__9'::'<>1__state' -IL_00bd: ldarg.0 -IL_00be: ldnull -IL_00bf: stfld class Example Example/'d__9'::'5__1' -IL_00c4: ldarg.0 -IL_00c5: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__9'::'<>t__builder' -IL_00ca: ldloc.1 -IL_00cb: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetResult(!0) -IL_00d0: nop -IL_00d1: ret -} -.method private hidebysig newslot virtual final -instance void SetStateMachine(class [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed -{ -.override [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine -.maxstack 8 -IL_0000: ret -} -} -.class auto ansi sealed nested private beforefieldinit 'd__10' -extends [System.Runtime]System.Object -implements [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine -{ -.interfaceimpl type [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field public int32 '<>1__state' -.field public valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 '<>t__builder' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field public class Example '<>4__this' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field private class Example '5__1' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field private class Example '<>s__2' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field private valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter '<>u__1' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.method public hidebysig specialname rtspecialname -instance void .ctor() cil managed -{ -.maxstack 8 -IL_0000: ldarg.0 -IL_0001: call instance void [System.Runtime]System.Object::.ctor() -IL_0006: nop -IL_0007: ret -} -.method private hidebysig newslot virtual final -instance void MoveNext() cil managed -{ -.override [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext -.maxstack 3 -.locals init (int32 V_0, -class Example V_1, -valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter V_2, -valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1 V_3, -class Example/'d__10' V_4, -class [System.Runtime]System.Exception V_5) -IL_0000: ldarg.0 -IL_0001: ldfld int32 Example/'d__10'::'<>1__state' -IL_0006: stloc.0 -.try -{ -IL_0007: ldloc.0 -IL_0008: brfalse.s IL_000c -IL_000a: br.s IL_000e -IL_000c: br.s IL_0059 -IL_000e: nop -IL_000f: newobj instance void Example::.ctor() -IL_0014: call class [System.Runtime]System.Threading.Tasks.Task`1 [System.Runtime]System.Threading.Tasks.Task::FromResult(!!0) -IL_0019: ldc.i4.0 -IL_001a: callvirt instance valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1 class [System.Private.CoreLib]System.Threading.Tasks.Task`1::ConfigureAwait(bool) -IL_001f: stloc.3 -IL_0020: ldloca.s V_3 -IL_0022: call instance valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1::GetAwaiter() -IL_0027: stloc.2 -IL_0028: ldloca.s V_2 -IL_002a: call instance bool valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter::get_IsCompleted() -IL_002f: brtrue.s IL_0075 -IL_0031: ldarg.0 -IL_0032: ldc.i4.0 -IL_0033: dup -IL_0034: stloc.0 -IL_0035: stfld int32 Example/'d__10'::'<>1__state' -IL_003a: ldarg.0 -IL_003b: ldloc.2 -IL_003c: stfld valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter Example/'d__10'::'<>u__1' -IL_0041: ldarg.0 -IL_0042: stloc.s V_4 -IL_0044: ldarg.0 -IL_0045: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__10'::'<>t__builder' -IL_004a: ldloca.s V_2 -IL_004c: ldloca.s V_4 -IL_004e: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::AwaitUnsafeOnCompleted,class Example/'d__10'>(!!0&, -!!1&) -IL_0053: nop -IL_0054: leave IL_00db -IL_0059: ldarg.0 -IL_005a: ldfld valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter Example/'d__10'::'<>u__1' -IL_005f: stloc.2 -IL_0060: ldarg.0 -IL_0061: ldflda valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter Example/'d__10'::'<>u__1' -IL_0066: initobj valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter -IL_006c: ldarg.0 -IL_006d: ldc.i4.m1 -IL_006e: dup -IL_006f: stloc.0 -IL_0070: stfld int32 Example/'d__10'::'<>1__state' -IL_0075: ldarg.0 -IL_0076: ldloca.s V_2 -IL_0078: call instance !0 valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter::GetResult() -IL_007d: stfld class Example Example/'d__10'::'<>s__2' -IL_0082: ldarg.0 -IL_0083: ldarg.0 -IL_0084: ldfld class Example Example/'d__10'::'<>s__2' -IL_0089: stfld class Example Example/'d__10'::'5__1' -IL_008e: ldarg.0 -IL_008f: ldnull -IL_0090: stfld class Example Example/'d__10'::'<>s__2' -IL_0095: ldarg.0 -IL_0096: ldfld class Example Example/'d__10'::'5__1' -IL_009b: stloc.1 -IL_009c: leave.s IL_00bf -} // end .try -catch [System.Runtime]System.Exception -{ -IL_009e: stloc.s V_5 -IL_00a0: ldarg.0 -IL_00a1: ldc.i4.s -2 -IL_00a3: stfld int32 Example/'d__10'::'<>1__state' -IL_00a8: ldarg.0 -IL_00a9: ldnull -IL_00aa: stfld class Example Example/'d__10'::'5__1' -IL_00af: ldarg.0 -IL_00b0: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__10'::'<>t__builder' -IL_00b5: ldloc.s V_5 -IL_00b7: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetException(class [System.Runtime]System.Exception) -IL_00bc: nop -IL_00bd: leave.s IL_00db -} // end handler -IL_00bf: ldarg.0 -IL_00c0: ldc.i4.s -2 -IL_00c2: stfld int32 Example/'d__10'::'<>1__state' -IL_00c7: ldarg.0 -IL_00c8: ldnull -IL_00c9: stfld class Example Example/'d__10'::'5__1' -IL_00ce: ldarg.0 -IL_00cf: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__10'::'<>t__builder' -IL_00d4: ldloc.1 -IL_00d5: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetResult(!0) -IL_00da: nop -IL_00db: ret -} -.method private hidebysig newslot virtual final -instance void SetStateMachine(class [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed -{ -.override [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine -.maxstack 8 -IL_0000: ret -} -} -.class auto ansi sealed nested private beforefieldinit 'd__11' -extends [System.Runtime]System.Object -implements [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine -{ -.interfaceimpl type [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field public int32 '<>1__state' -.field public valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 '<>t__builder' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field public class Example '<>4__this' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field private class Example '5__1' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field private class Example '<>s__2' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field private valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter '<>u__1' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.method public hidebysig specialname rtspecialname -instance void .ctor() cil managed -{ -.maxstack 8 -IL_0000: ldarg.0 -IL_0001: call instance void [System.Runtime]System.Object::.ctor() -IL_0006: nop -IL_0007: ret -} -.method private hidebysig newslot virtual final -instance void MoveNext() cil managed -{ -.override [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext -.maxstack 3 -.locals init (int32 V_0, -class Example V_1, -valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter V_2, -valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1 V_3, -class Example/'d__11' V_4, -class [System.Runtime]System.Exception V_5) -IL_0000: ldarg.0 -IL_0001: ldfld int32 Example/'d__11'::'<>1__state' -IL_0006: stloc.0 -.try -{ -IL_0007: ldloc.0 -IL_0008: brfalse.s IL_000c -IL_000a: br.s IL_000e -IL_000c: br.s IL_0059 -IL_000e: nop -IL_000f: newobj instance void Example::.ctor() -IL_0014: call class [System.Runtime]System.Threading.Tasks.Task`1 [System.Runtime]System.Threading.Tasks.Task::FromResult(!!0) -IL_0019: ldc.i4.0 -IL_001a: callvirt instance valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1 class [System.Runtime]System.Threading.Tasks.Task`1::ConfigureAwait(bool) -IL_001f: stloc.3 -IL_0020: ldloca.s V_3 -IL_0022: call instance valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1::GetAwaiter() -IL_0027: stloc.2 -IL_0028: ldloca.s V_2 -IL_002a: call instance bool valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter::get_IsCompleted() -IL_002f: brtrue.s IL_0075 -IL_0031: ldarg.0 -IL_0032: ldc.i4.0 -IL_0033: dup -IL_0034: stloc.0 -IL_0035: stfld int32 Example/'d__11'::'<>1__state' -IL_003a: ldarg.0 -IL_003b: ldloc.2 -IL_003c: stfld valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter Example/'d__11'::'<>u__1' -IL_0041: ldarg.0 -IL_0042: stloc.s V_4 -IL_0044: ldarg.0 -IL_0045: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__11'::'<>t__builder' -IL_004a: ldloca.s V_2 -IL_004c: ldloca.s V_4 -IL_004e: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::AwaitUnsafeOnCompleted,class Example/'d__11'>(!!0&, -!!1&) -IL_0053: nop -IL_0054: leave IL_00db -IL_0059: ldarg.0 -IL_005a: ldfld valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter Example/'d__11'::'<>u__1' -IL_005f: stloc.2 -IL_0060: ldarg.0 -IL_0061: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter Example/'d__11'::'<>u__1' -IL_0066: initobj valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter -IL_006c: ldarg.0 -IL_006d: ldc.i4.m1 -IL_006e: dup -IL_006f: stloc.0 -IL_0070: stfld int32 Example/'d__11'::'<>1__state' -IL_0075: ldarg.0 -IL_0076: ldloca.s V_2 -IL_0078: call instance !0 valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter::GetResult() -IL_007d: stfld class Example Example/'d__11'::'<>s__2' -IL_0082: ldarg.0 -IL_0083: ldarg.0 -IL_0084: ldfld class Example Example/'d__11'::'<>s__2' -IL_0089: stfld class Example Example/'d__11'::'5__1' -IL_008e: ldarg.0 -IL_008f: ldnull -IL_0090: stfld class Example Example/'d__11'::'<>s__2' -IL_0095: ldarg.0 -IL_0096: ldfld class Example Example/'d__11'::'5__1' -IL_009b: stloc.1 -IL_009c: leave.s IL_00bf -} // end .try -catch [System.Runtime]System.Exception -{ -IL_009e: stloc.s V_5 -IL_00a0: ldarg.0 -IL_00a1: ldc.i4.s -2 -IL_00a3: stfld int32 Example/'d__11'::'<>1__state' -IL_00a8: ldarg.0 -IL_00a9: ldnull -IL_00aa: stfld class Example Example/'d__11'::'5__1' -IL_00af: ldarg.0 -IL_00b0: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__11'::'<>t__builder' -IL_00b5: ldloc.s V_5 -IL_00b7: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetException(class [System.Runtime]System.Exception) -IL_00bc: nop -IL_00bd: leave.s IL_00db -} // end handler -IL_00bf: ldarg.0 -IL_00c0: ldc.i4.s -2 -IL_00c2: stfld int32 Example/'d__11'::'<>1__state' -IL_00c7: ldarg.0 -IL_00c8: ldnull -IL_00c9: stfld class Example Example/'d__11'::'5__1' -IL_00ce: ldarg.0 -IL_00cf: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__11'::'<>t__builder' -IL_00d4: ldloc.1 -IL_00d5: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetResult(!0) -IL_00da: nop -IL_00db: ret -} -.method private hidebysig newslot virtual final -instance void SetStateMachine(class [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed -{ -.override [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine -.maxstack 8 -IL_0000: ret -} -} -.class auto ansi sealed nested private beforefieldinit 'd__0' -extends [System.Runtime]System.Object -implements [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine -{ -.interfaceimpl type [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field public int32 '<>1__state' -.field public valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder '<>t__builder' -.field public class Example '<>4__this' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field private valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter '<>u__1' -.method public hidebysig specialname rtspecialname -instance void .ctor() cil managed -{ -.maxstack 8 -IL_0000: ldarg.0 -IL_0001: call instance void [System.Runtime]System.Object::.ctor() -IL_0006: nop -IL_0007: ret -} -.method private hidebysig newslot virtual final -instance void MoveNext() cil managed -{ -.override [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext -.maxstack 3 -.locals init (int32 V_0, -valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter V_1, -class Example/'d__0' V_2, -class [System.Runtime]System.Exception V_3) -IL_0000: ldarg.0 -IL_0001: ldfld int32 Example/'d__0'::'<>1__state' -IL_0006: stloc.0 -.try -{ -IL_0007: ldloc.0 -IL_0008: brfalse.s IL_000c -IL_000a: br.s IL_000e -IL_000c: br.s IL_0048 -IL_000e: nop -IL_000f: ldc.i4.1 -IL_0010: call class [System.Runtime]System.Threading.Tasks.Task [System.Runtime]System.Threading.Tasks.Task::Delay(int32) -IL_0015: callvirt instance valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter [System.Runtime]System.Threading.Tasks.Task::GetAwaiter() -IL_001a: stloc.1 -IL_001b: ldloca.s V_1 -IL_001d: call instance bool [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter::get_IsCompleted() -IL_0022: brtrue.s IL_0064 -IL_0024: ldarg.0 -IL_0025: ldc.i4.0 -IL_0026: dup -IL_0027: stloc.0 -IL_0028: stfld int32 Example/'d__0'::'<>1__state' -IL_002d: ldarg.0 -IL_002e: ldloc.1 -IL_002f: stfld valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter Example/'d__0'::'<>u__1' -IL_0034: ldarg.0 -IL_0035: stloc.2 -IL_0036: ldarg.0 -IL_0037: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Example/'d__0'::'<>t__builder' -IL_003c: ldloca.s V_1 -IL_003e: ldloca.s V_2 -IL_0040: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::AwaitUnsafeOnCompletedd__0'>(!!0&, -!!1&) -IL_0045: nop -IL_0046: leave.s IL_009a -IL_0048: ldarg.0 -IL_0049: ldfld valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter Example/'d__0'::'<>u__1' -IL_004e: stloc.1 -IL_004f: ldarg.0 -IL_0050: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter Example/'d__0'::'<>u__1' -IL_0055: initobj [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter -IL_005b: ldarg.0 -IL_005c: ldc.i4.m1 -IL_005d: dup -IL_005e: stloc.0 -IL_005f: stfld int32 Example/'d__0'::'<>1__state' -IL_0064: ldloca.s V_1 -IL_0066: call instance void [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter::GetResult() -IL_006b: nop -IL_006c: leave.s IL_0086 -} // end .try -catch [System.Runtime]System.Exception -{ -IL_006e: stloc.3 -IL_006f: ldarg.0 -IL_0070: ldc.i4.s -2 -IL_0072: stfld int32 Example/'d__0'::'<>1__state' -IL_0077: ldarg.0 -IL_0078: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Example/'d__0'::'<>t__builder' -IL_007d: ldloc.3 -IL_007e: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetException(class [System.Runtime]System.Exception) -IL_0083: nop -IL_0084: leave.s IL_009a -} // end handler -IL_0086: ldarg.0 -IL_0087: ldc.i4.s -2 -IL_0089: stfld int32 Example/'d__0'::'<>1__state' -IL_008e: ldarg.0 -IL_008f: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Example/'d__0'::'<>t__builder' -IL_0094: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetResult() -IL_0099: nop -IL_009a: ret -} -.method private hidebysig newslot virtual final -instance void SetStateMachine(class [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed -{ -.override [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine -.maxstack 8 -IL_0000: ret -} -} -.class auto ansi sealed nested private beforefieldinit 'd__1' -extends [System.Runtime]System.Object -implements [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine -{ -.interfaceimpl type [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field public int32 '<>1__state' -.field public valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder '<>t__builder' -.field public class Example '<>4__this' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field private valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter '<>u__1' -.method public hidebysig specialname rtspecialname -instance void .ctor() cil managed -{ -.maxstack 8 -IL_0000: ldarg.0 -IL_0001: call instance void [System.Runtime]System.Object::.ctor() -IL_0006: nop -IL_0007: ret -} -.method private hidebysig newslot virtual final -instance void MoveNext() cil managed -{ -.override [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext -.maxstack 3 -.locals init (int32 V_0, -valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter V_1, -valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable V_2, -class Example/'d__1' V_3, -class [System.Runtime]System.Exception V_4) -IL_0000: ldarg.0 -IL_0001: ldfld int32 Example/'d__1'::'<>1__state' -IL_0006: stloc.0 -.try -{ -IL_0007: ldloc.0 -IL_0008: brfalse.s IL_000c -IL_000a: br.s IL_000e -IL_000c: br.s IL_0051 -IL_000e: nop -IL_000f: ldc.i4.1 -IL_0010: call class [System.Runtime]System.Threading.Tasks.Task [System.Runtime]System.Threading.Tasks.Task::Delay(int32) -IL_0015: ldc.i4.0 -IL_0016: callvirt instance valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable [System.Private.CoreLib]System.Threading.Tasks.Task::ConfigureAwait(bool) -IL_001b: stloc.2 -IL_001c: ldloca.s V_2 -IL_001e: call instance valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable::GetAwaiter() -IL_0023: stloc.1 -IL_0024: ldloca.s V_1 -IL_0026: call instance bool [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter::get_IsCompleted() -IL_002b: brtrue.s IL_006d -IL_002d: ldarg.0 -IL_002e: ldc.i4.0 -IL_002f: dup -IL_0030: stloc.0 -IL_0031: stfld int32 Example/'d__1'::'<>1__state' -IL_0036: ldarg.0 -IL_0037: ldloc.1 -IL_0038: stfld valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter Example/'d__1'::'<>u__1' -IL_003d: ldarg.0 -IL_003e: stloc.3 -IL_003f: ldarg.0 -IL_0040: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Example/'d__1'::'<>t__builder' -IL_0045: ldloca.s V_1 -IL_0047: ldloca.s V_3 -IL_0049: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::AwaitUnsafeOnCompletedd__1'>(!!0&, -!!1&) -IL_004e: nop -IL_004f: leave.s IL_00a5 -IL_0051: ldarg.0 -IL_0052: ldfld valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter Example/'d__1'::'<>u__1' -IL_0057: stloc.1 -IL_0058: ldarg.0 -IL_0059: ldflda valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter Example/'d__1'::'<>u__1' -IL_005e: initobj [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter -IL_0064: ldarg.0 -IL_0065: ldc.i4.m1 -IL_0066: dup -IL_0067: stloc.0 -IL_0068: stfld int32 Example/'d__1'::'<>1__state' -IL_006d: ldloca.s V_1 -IL_006f: call instance void [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter::GetResult() -IL_0074: nop -IL_0075: leave.s IL_0091 -} // end .try -catch [System.Runtime]System.Exception -{ -IL_0077: stloc.s V_4 -IL_0079: ldarg.0 -IL_007a: ldc.i4.s -2 -IL_007c: stfld int32 Example/'d__1'::'<>1__state' -IL_0081: ldarg.0 -IL_0082: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Example/'d__1'::'<>t__builder' -IL_0087: ldloc.s V_4 -IL_0089: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetException(class [System.Runtime]System.Exception) -IL_008e: nop -IL_008f: leave.s IL_00a5 -} // end handler -IL_0091: ldarg.0 -IL_0092: ldc.i4.s -2 -IL_0094: stfld int32 Example/'d__1'::'<>1__state' -IL_0099: ldarg.0 -IL_009a: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Example/'d__1'::'<>t__builder' -IL_009f: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetResult() -IL_00a4: nop -IL_00a5: ret -} -.method private hidebysig newslot virtual final -instance void SetStateMachine(class [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed -{ -.override [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine -.maxstack 8 -IL_0000: ret -} -} -.class auto ansi sealed nested private beforefieldinit 'd__2' -extends [System.Runtime]System.Object -implements [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine -{ -.interfaceimpl type [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field public int32 '<>1__state' -.field public valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder '<>t__builder' -.field public class Example '<>4__this' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field private valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter '<>u__1' -.method public hidebysig specialname rtspecialname -instance void .ctor() cil managed -{ -.maxstack 8 -IL_0000: ldarg.0 -IL_0001: call instance void [System.Runtime]System.Object::.ctor() -IL_0006: nop -IL_0007: ret -} -.method private hidebysig newslot virtual final -instance void MoveNext() cil managed -{ -.override [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext -.maxstack 3 -.locals init (int32 V_0, -valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter V_1, -valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable V_2, -class Example/'d__2' V_3, -class [System.Runtime]System.Exception V_4) -IL_0000: ldarg.0 -IL_0001: ldfld int32 Example/'d__2'::'<>1__state' -IL_0006: stloc.0 -.try -{ -IL_0007: ldloc.0 -IL_0008: brfalse.s IL_000c -IL_000a: br.s IL_000e -IL_000c: br.s IL_0051 -IL_000e: nop -IL_000f: ldc.i4.1 -IL_0010: call class [System.Runtime]System.Threading.Tasks.Task [System.Runtime]System.Threading.Tasks.Task::Delay(int32) -IL_0015: ldc.i4.0 -IL_0016: callvirt instance valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable [System.Runtime]System.Threading.Tasks.Task::ConfigureAwait(bool) -IL_001b: stloc.2 -IL_001c: ldloca.s V_2 -IL_001e: call instance valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable::GetAwaiter() -IL_0023: stloc.1 -IL_0024: ldloca.s V_1 -IL_0026: call instance bool [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter::get_IsCompleted() -IL_002b: brtrue.s IL_006d -IL_002d: ldarg.0 -IL_002e: ldc.i4.0 -IL_002f: dup -IL_0030: stloc.0 -IL_0031: stfld int32 Example/'d__2'::'<>1__state' -IL_0036: ldarg.0 -IL_0037: ldloc.1 -IL_0038: stfld valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter Example/'d__2'::'<>u__1' -IL_003d: ldarg.0 -IL_003e: stloc.3 -IL_003f: ldarg.0 -IL_0040: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Example/'d__2'::'<>t__builder' -IL_0045: ldloca.s V_1 -IL_0047: ldloca.s V_3 -IL_0049: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::AwaitUnsafeOnCompletedd__2'>(!!0&, -!!1&) -IL_004e: nop -IL_004f: leave.s IL_00a5 -IL_0051: ldarg.0 -IL_0052: ldfld valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter Example/'d__2'::'<>u__1' -IL_0057: stloc.1 -IL_0058: ldarg.0 -IL_0059: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter Example/'d__2'::'<>u__1' -IL_005e: initobj [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter -IL_0064: ldarg.0 -IL_0065: ldc.i4.m1 -IL_0066: dup -IL_0067: stloc.0 -IL_0068: stfld int32 Example/'d__2'::'<>1__state' -IL_006d: ldloca.s V_1 -IL_006f: call instance void [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter::GetResult() -IL_0074: nop -IL_0075: leave.s IL_0091 -} // end .try -catch [System.Runtime]System.Exception -{ -IL_0077: stloc.s V_4 -IL_0079: ldarg.0 -IL_007a: ldc.i4.s -2 -IL_007c: stfld int32 Example/'d__2'::'<>1__state' -IL_0081: ldarg.0 -IL_0082: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Example/'d__2'::'<>t__builder' -IL_0087: ldloc.s V_4 -IL_0089: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetException(class [System.Runtime]System.Exception) -IL_008e: nop -IL_008f: leave.s IL_00a5 -} // end handler -IL_0091: ldarg.0 -IL_0092: ldc.i4.s -2 -IL_0094: stfld int32 Example/'d__2'::'<>1__state' -IL_0099: ldarg.0 -IL_009a: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Example/'d__2'::'<>t__builder' -IL_009f: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetResult() -IL_00a4: nop -IL_00a5: ret -} -.method private hidebysig newslot virtual final -instance void SetStateMachine(class [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed -{ -.override [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine -.maxstack 8 -IL_0000: ret -} -} -.class auto ansi sealed nested private beforefieldinit 'd__3' -extends [System.Runtime]System.Object -implements [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine -{ -.interfaceimpl type [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field public int32 '<>1__state' -.field public valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 '<>t__builder' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field public class Example '<>4__this' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field private int32 '5__1' -.field private int32 '<>s__2' -.field private valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter`1 '<>u__1' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.method public hidebysig specialname rtspecialname -instance void .ctor() cil managed -{ -.maxstack 8 -IL_0000: ldarg.0 -IL_0001: call instance void [System.Runtime]System.Object::.ctor() -IL_0006: nop -IL_0007: ret -} -.method private hidebysig newslot virtual final -instance void MoveNext() cil managed -{ -.override [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext -.maxstack 3 -.locals init (int32 V_0, -int32 V_1, -valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter`1 V_2, -class Example/'d__3' V_3, -class [System.Runtime]System.Exception V_4) -IL_0000: ldarg.0 -IL_0001: ldfld int32 Example/'d__3'::'<>1__state' -IL_0006: stloc.0 -.try -{ -IL_0007: ldloc.0 -IL_0008: brfalse.s IL_000c -IL_000a: br.s IL_000e -IL_000c: br.s IL_0049 -IL_000e: nop -IL_000f: ldc.i4.s 10 -IL_0011: call class [System.Runtime]System.Threading.Tasks.Task`1 [System.Runtime]System.Threading.Tasks.Task::FromResult(!!0) -IL_0016: callvirt instance valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter`1 class [System.Runtime]System.Threading.Tasks.Task`1::GetAwaiter() -IL_001b: stloc.2 -IL_001c: ldloca.s V_2 -IL_001e: call instance bool valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter`1::get_IsCompleted() -IL_0023: brtrue.s IL_0065 -IL_0025: ldarg.0 -IL_0026: ldc.i4.0 -IL_0027: dup -IL_0028: stloc.0 -IL_0029: stfld int32 Example/'d__3'::'<>1__state' -IL_002e: ldarg.0 -IL_002f: ldloc.2 -IL_0030: stfld valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter`1 Example/'d__3'::'<>u__1' -IL_0035: ldarg.0 -IL_0036: stloc.3 -IL_0037: ldarg.0 -IL_0038: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__3'::'<>t__builder' -IL_003d: ldloca.s V_2 -IL_003f: ldloca.s V_3 -IL_0041: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::AwaitUnsafeOnCompleted,class Example/'d__3'>(!!0&, -!!1&) -IL_0046: nop -IL_0047: leave.s IL_00b6 -IL_0049: ldarg.0 -IL_004a: ldfld valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter`1 Example/'d__3'::'<>u__1' -IL_004f: stloc.2 -IL_0050: ldarg.0 -IL_0051: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter`1 Example/'d__3'::'<>u__1' -IL_0056: initobj valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter`1 -IL_005c: ldarg.0 -IL_005d: ldc.i4.m1 -IL_005e: dup -IL_005f: stloc.0 -IL_0060: stfld int32 Example/'d__3'::'<>1__state' -IL_0065: ldarg.0 -IL_0066: ldloca.s V_2 -IL_0068: call instance !0 valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter`1::GetResult() -IL_006d: stfld int32 Example/'d__3'::'<>s__2' -IL_0072: ldarg.0 -IL_0073: ldarg.0 -IL_0074: ldfld int32 Example/'d__3'::'<>s__2' -IL_0079: stfld int32 Example/'d__3'::'5__1' -IL_007e: ldarg.0 -IL_007f: ldfld int32 Example/'d__3'::'5__1' -IL_0084: stloc.1 -IL_0085: leave.s IL_00a1 -} // end .try -catch [System.Runtime]System.Exception -{ -IL_0087: stloc.s V_4 -IL_0089: ldarg.0 -IL_008a: ldc.i4.s -2 -IL_008c: stfld int32 Example/'d__3'::'<>1__state' -IL_0091: ldarg.0 -IL_0092: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__3'::'<>t__builder' -IL_0097: ldloc.s V_4 -IL_0099: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetException(class [System.Runtime]System.Exception) -IL_009e: nop -IL_009f: leave.s IL_00b6 -} // end handler -IL_00a1: ldarg.0 -IL_00a2: ldc.i4.s -2 -IL_00a4: stfld int32 Example/'d__3'::'<>1__state' -IL_00a9: ldarg.0 -IL_00aa: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__3'::'<>t__builder' -IL_00af: ldloc.1 -IL_00b0: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetResult(!0) -IL_00b5: nop -IL_00b6: ret -} -.method private hidebysig newslot virtual final -instance void SetStateMachine(class [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed -{ -.override [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine -.maxstack 8 -IL_0000: ret -} -} -.class auto ansi sealed nested private beforefieldinit 'd__4' -extends [System.Runtime]System.Object -implements [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine -{ -.interfaceimpl type [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field public int32 '<>1__state' -.field public valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 '<>t__builder' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field public class Example '<>4__this' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field private int32 '5__1' -.field private int32 '<>s__2' -.field private valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter '<>u__1' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.method public hidebysig specialname rtspecialname -instance void .ctor() cil managed -{ -.maxstack 8 -IL_0000: ldarg.0 -IL_0001: call instance void [System.Runtime]System.Object::.ctor() -IL_0006: nop -IL_0007: ret -} -.method private hidebysig newslot virtual final -instance void MoveNext() cil managed -{ -.override [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext -.maxstack 3 -.locals init (int32 V_0, -int32 V_1, -valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter V_2, -valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1 V_3, -class Example/'d__4' V_4, -class [System.Runtime]System.Exception V_5) -IL_0000: ldarg.0 -IL_0001: ldfld int32 Example/'d__4'::'<>1__state' -IL_0006: stloc.0 -.try -{ -IL_0007: ldloc.0 -IL_0008: brfalse.s IL_000c -IL_000a: br.s IL_000e -IL_000c: br.s IL_0053 -IL_000e: nop -IL_000f: ldc.i4.s 10 -IL_0011: call class [System.Runtime]System.Threading.Tasks.Task`1 [System.Runtime]System.Threading.Tasks.Task::FromResult(!!0) -IL_0016: ldc.i4.0 -IL_0017: callvirt instance valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1 class [System.Private.CoreLib]System.Threading.Tasks.Task`1::ConfigureAwait(bool) -IL_001c: stloc.3 -IL_001d: ldloca.s V_3 -IL_001f: call instance valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1::GetAwaiter() -IL_0024: stloc.2 -IL_0025: ldloca.s V_2 -IL_0027: call instance bool valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter::get_IsCompleted() -IL_002c: brtrue.s IL_006f -IL_002e: ldarg.0 -IL_002f: ldc.i4.0 -IL_0030: dup -IL_0031: stloc.0 -IL_0032: stfld int32 Example/'d__4'::'<>1__state' -IL_0037: ldarg.0 -IL_0038: ldloc.2 -IL_0039: stfld valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter Example/'d__4'::'<>u__1' -IL_003e: ldarg.0 -IL_003f: stloc.s V_4 -IL_0041: ldarg.0 -IL_0042: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__4'::'<>t__builder' -IL_0047: ldloca.s V_2 -IL_0049: ldloca.s V_4 -IL_004b: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::AwaitUnsafeOnCompleted,class Example/'d__4'>(!!0&, -!!1&) -IL_0050: nop -IL_0051: leave.s IL_00c0 -IL_0053: ldarg.0 -IL_0054: ldfld valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter Example/'d__4'::'<>u__1' -IL_0059: stloc.2 -IL_005a: ldarg.0 -IL_005b: ldflda valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter Example/'d__4'::'<>u__1' -IL_0060: initobj valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter -IL_0066: ldarg.0 -IL_0067: ldc.i4.m1 -IL_0068: dup -IL_0069: stloc.0 -IL_006a: stfld int32 Example/'d__4'::'<>1__state' -IL_006f: ldarg.0 -IL_0070: ldloca.s V_2 -IL_0072: call instance !0 valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter::GetResult() -IL_0077: stfld int32 Example/'d__4'::'<>s__2' -IL_007c: ldarg.0 -IL_007d: ldarg.0 -IL_007e: ldfld int32 Example/'d__4'::'<>s__2' -IL_0083: stfld int32 Example/'d__4'::'5__1' -IL_0088: ldarg.0 -IL_0089: ldfld int32 Example/'d__4'::'5__1' -IL_008e: stloc.1 -IL_008f: leave.s IL_00ab -} // end .try -catch [System.Runtime]System.Exception -{ -IL_0091: stloc.s V_5 -IL_0093: ldarg.0 -IL_0094: ldc.i4.s -2 -IL_0096: stfld int32 Example/'d__4'::'<>1__state' -IL_009b: ldarg.0 -IL_009c: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__4'::'<>t__builder' -IL_00a1: ldloc.s V_5 -IL_00a3: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetException(class [System.Runtime]System.Exception) -IL_00a8: nop -IL_00a9: leave.s IL_00c0 -} // end handler -IL_00ab: ldarg.0 -IL_00ac: ldc.i4.s -2 -IL_00ae: stfld int32 Example/'d__4'::'<>1__state' -IL_00b3: ldarg.0 -IL_00b4: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__4'::'<>t__builder' -IL_00b9: ldloc.1 -IL_00ba: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetResult(!0) -IL_00bf: nop -IL_00c0: ret -} -.method private hidebysig newslot virtual final -instance void SetStateMachine(class [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed -{ -.override [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine -.maxstack 8 -IL_0000: ret -} -} -.class auto ansi sealed nested private beforefieldinit 'd__5' -extends [System.Runtime]System.Object -implements [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine -{ -.interfaceimpl type [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field public int32 '<>1__state' -.field public valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 '<>t__builder' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field public class Example '<>4__this' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field private int32 '5__1' -.field private int32 '<>s__2' -.field private valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter '<>u__1' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.method public hidebysig specialname rtspecialname -instance void .ctor() cil managed -{ -.maxstack 8 -IL_0000: ldarg.0 -IL_0001: call instance void [System.Runtime]System.Object::.ctor() -IL_0006: nop -IL_0007: ret -} -.method private hidebysig newslot virtual final -instance void MoveNext() cil managed -{ -.override [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext -.maxstack 3 -.locals init (int32 V_0, -int32 V_1, -valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter V_2, -valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1 V_3, -class Example/'d__5' V_4, -class [System.Runtime]System.Exception V_5) -IL_0000: ldarg.0 -IL_0001: ldfld int32 Example/'d__5'::'<>1__state' -IL_0006: stloc.0 -.try -{ -IL_0007: ldloc.0 -IL_0008: brfalse.s IL_000c -IL_000a: br.s IL_000e -IL_000c: br.s IL_0053 -IL_000e: nop -IL_000f: ldc.i4.s 10 -IL_0011: call class [System.Runtime]System.Threading.Tasks.Task`1 [System.Runtime]System.Threading.Tasks.Task::FromResult(!!0) -IL_0016: ldc.i4.0 -IL_0017: callvirt instance valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1 class [System.Runtime]System.Threading.Tasks.Task`1::ConfigureAwait(bool) -IL_001c: stloc.3 -IL_001d: ldloca.s V_3 -IL_001f: call instance valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1::GetAwaiter() -IL_0024: stloc.2 -IL_0025: ldloca.s V_2 -IL_0027: call instance bool valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter::get_IsCompleted() -IL_002c: brtrue.s IL_006f -IL_002e: ldarg.0 -IL_002f: ldc.i4.0 -IL_0030: dup -IL_0031: stloc.0 -IL_0032: stfld int32 Example/'d__5'::'<>1__state' -IL_0037: ldarg.0 -IL_0038: ldloc.2 -IL_0039: stfld valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter Example/'d__5'::'<>u__1' -IL_003e: ldarg.0 -IL_003f: stloc.s V_4 -IL_0041: ldarg.0 -IL_0042: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__5'::'<>t__builder' -IL_0047: ldloca.s V_2 -IL_0049: ldloca.s V_4 -IL_004b: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::AwaitUnsafeOnCompleted,class Example/'d__5'>(!!0&, -!!1&) -IL_0050: nop -IL_0051: leave.s IL_00c0 -IL_0053: ldarg.0 -IL_0054: ldfld valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter Example/'d__5'::'<>u__1' -IL_0059: stloc.2 -IL_005a: ldarg.0 -IL_005b: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter Example/'d__5'::'<>u__1' -IL_0060: initobj valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter -IL_0066: ldarg.0 -IL_0067: ldc.i4.m1 -IL_0068: dup -IL_0069: stloc.0 -IL_006a: stfld int32 Example/'d__5'::'<>1__state' -IL_006f: ldarg.0 -IL_0070: ldloca.s V_2 -IL_0072: call instance !0 valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter::GetResult() -IL_0077: stfld int32 Example/'d__5'::'<>s__2' -IL_007c: ldarg.0 -IL_007d: ldarg.0 -IL_007e: ldfld int32 Example/'d__5'::'<>s__2' -IL_0083: stfld int32 Example/'d__5'::'5__1' -IL_0088: ldarg.0 -IL_0089: ldfld int32 Example/'d__5'::'5__1' -IL_008e: stloc.1 -IL_008f: leave.s IL_00ab -} // end .try -catch [System.Runtime]System.Exception -{ -IL_0091: stloc.s V_5 -IL_0093: ldarg.0 -IL_0094: ldc.i4.s -2 -IL_0096: stfld int32 Example/'d__5'::'<>1__state' -IL_009b: ldarg.0 -IL_009c: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__5'::'<>t__builder' -IL_00a1: ldloc.s V_5 -IL_00a3: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetException(class [System.Runtime]System.Exception) -IL_00a8: nop -IL_00a9: leave.s IL_00c0 -} // end handler -IL_00ab: ldarg.0 -IL_00ac: ldc.i4.s -2 -IL_00ae: stfld int32 Example/'d__5'::'<>1__state' -IL_00b3: ldarg.0 -IL_00b4: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__5'::'<>t__builder' -IL_00b9: ldloc.1 -IL_00ba: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetResult(!0) -IL_00bf: nop -IL_00c0: ret -} -.method private hidebysig newslot virtual final -instance void SetStateMachine(class [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed -{ -.override [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine -.maxstack 8 -IL_0000: ret -} -} -.class auto ansi sealed nested private beforefieldinit 'd__6' -extends [System.Runtime]System.Object -implements [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine -{ -.interfaceimpl type [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field public int32 '<>1__state' -.field public valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 '<>t__builder' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field public class Example '<>4__this' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field private int32 '5__1' -.field private int32 '5__2' -.field private int32 '<>s__3' -.field private int32 '5__4' -.field private int32 '<>s__5' -.field private int32 '<>s__6' -.field private valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter`1 '<>u__1' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field private valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter '<>u__2' -.method public hidebysig specialname rtspecialname -instance void .ctor() cil managed -{ -.maxstack 8 -IL_0000: ldarg.0 -IL_0001: call instance void [System.Runtime]System.Object::.ctor() -IL_0006: nop -IL_0007: ret -} -.method private hidebysig newslot virtual final -instance void MoveNext() cil managed -{ -.override [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext -.maxstack 3 -.locals init (int32 V_0, -int32 V_1, -valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter`1 V_2, -class Example/'d__6' V_3, -valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter V_4, -valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter`1 V_5, -int32 V_6, -bool V_7, -class [System.Runtime]System.Exception V_8) -IL_0000: ldarg.0 -IL_0001: ldfld int32 Example/'d__6'::'<>1__state' -IL_0006: stloc.0 -.try -{ -IL_0007: ldloc.0 -IL_0008: switch ( -IL_001b, -IL_001d, -IL_0022) -IL_0019: br.s IL_0027 -IL_001b: br.s IL_0065 -IL_001d: br IL_00ec -IL_0022: br IL_0160 -IL_0027: nop -IL_0028: ldc.i4.s 10 -IL_002a: call class [System.Runtime]System.Threading.Tasks.Task`1 [System.Runtime]System.Threading.Tasks.Task::FromResult(!!0) -IL_002f: callvirt instance valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter`1 class [System.Runtime]System.Threading.Tasks.Task`1::GetAwaiter() -IL_0034: stloc.2 -IL_0035: ldloca.s V_2 -IL_0037: call instance bool valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter`1::get_IsCompleted() -IL_003c: brtrue.s IL_0081 -IL_003e: ldarg.0 -IL_003f: ldc.i4.0 -IL_0040: dup -IL_0041: stloc.0 -IL_0042: stfld int32 Example/'d__6'::'<>1__state' -IL_0047: ldarg.0 -IL_0048: ldloc.2 -IL_0049: stfld valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter`1 Example/'d__6'::'<>u__1' -IL_004e: ldarg.0 -IL_004f: stloc.3 -IL_0050: ldarg.0 -IL_0051: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__6'::'<>t__builder' -IL_0056: ldloca.s V_2 -IL_0058: ldloca.s V_3 -IL_005a: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::AwaitUnsafeOnCompleted,class Example/'d__6'>(!!0&, -!!1&) -IL_005f: nop -IL_0060: leave IL_01ff -IL_0065: ldarg.0 -IL_0066: ldfld valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter`1 Example/'d__6'::'<>u__1' -IL_006b: stloc.2 -IL_006c: ldarg.0 -IL_006d: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter`1 Example/'d__6'::'<>u__1' -IL_0072: initobj valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter`1 -IL_0078: ldarg.0 -IL_0079: ldc.i4.m1 -IL_007a: dup -IL_007b: stloc.0 -IL_007c: stfld int32 Example/'d__6'::'<>1__state' -IL_0081: ldarg.0 -IL_0082: ldloca.s V_2 -IL_0084: call instance !0 valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter`1::GetResult() -IL_0089: stfld int32 Example/'d__6'::'<>s__3' -IL_008e: ldarg.0 -IL_008f: ldarg.0 -IL_0090: ldfld int32 Example/'d__6'::'<>s__3' -IL_0095: stfld int32 Example/'d__6'::'5__1' -IL_009a: ldarg.0 -IL_009b: ldc.i4.0 -IL_009c: stfld int32 Example/'d__6'::'5__2' -IL_00a1: ldarg.0 -IL_00a2: ldc.i4.0 -IL_00a3: stfld int32 Example/'d__6'::'5__4' -IL_00a8: br IL_01b0 -IL_00ad: nop -IL_00ae: ldc.i4.1 -IL_00af: call class [System.Runtime]System.Threading.Tasks.Task [System.Runtime]System.Threading.Tasks.Task::Delay(int32) -IL_00b4: callvirt instance valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter [System.Runtime]System.Threading.Tasks.Task::GetAwaiter() -IL_00b9: stloc.s V_4 -IL_00bb: ldloca.s V_4 -IL_00bd: call instance bool [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter::get_IsCompleted() -IL_00c2: brtrue.s IL_0109 -IL_00c4: ldarg.0 -IL_00c5: ldc.i4.1 -IL_00c6: dup -IL_00c7: stloc.0 -IL_00c8: stfld int32 Example/'d__6'::'<>1__state' -IL_00cd: ldarg.0 -IL_00ce: ldloc.s V_4 -IL_00d0: stfld valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter Example/'d__6'::'<>u__2' -IL_00d5: ldarg.0 -IL_00d6: stloc.3 -IL_00d7: ldarg.0 -IL_00d8: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__6'::'<>t__builder' -IL_00dd: ldloca.s V_4 -IL_00df: ldloca.s V_3 -IL_00e1: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::AwaitUnsafeOnCompletedd__6'>(!!0&, -!!1&) -IL_00e6: nop -IL_00e7: leave IL_01ff -IL_00ec: ldarg.0 -IL_00ed: ldfld valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter Example/'d__6'::'<>u__2' -IL_00f2: stloc.s V_4 -IL_00f4: ldarg.0 -IL_00f5: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter Example/'d__6'::'<>u__2' -IL_00fa: initobj [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter -IL_0100: ldarg.0 -IL_0101: ldc.i4.m1 -IL_0102: dup -IL_0103: stloc.0 -IL_0104: stfld int32 Example/'d__6'::'<>1__state' -IL_0109: ldloca.s V_4 -IL_010b: call instance void [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter::GetResult() -IL_0110: nop -IL_0111: ldarg.0 -IL_0112: ldarg.0 -IL_0113: ldfld int32 Example/'d__6'::'5__2' -IL_0118: stfld int32 Example/'d__6'::'<>s__5' -IL_011d: ldarg.0 -IL_011e: ldfld int32 Example/'d__6'::'5__4' -IL_0123: call class [System.Runtime]System.Threading.Tasks.Task`1 [System.Runtime]System.Threading.Tasks.Task::FromResult(!!0) -IL_0128: callvirt instance valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter`1 class [System.Runtime]System.Threading.Tasks.Task`1::GetAwaiter() -IL_012d: stloc.s V_5 -IL_012f: ldloca.s V_5 -IL_0131: call instance bool valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter`1::get_IsCompleted() -IL_0136: brtrue.s IL_017d -IL_0138: ldarg.0 -IL_0139: ldc.i4.2 -IL_013a: dup -IL_013b: stloc.0 -IL_013c: stfld int32 Example/'d__6'::'<>1__state' -IL_0141: ldarg.0 -IL_0142: ldloc.s V_5 -IL_0144: stfld valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter`1 Example/'d__6'::'<>u__1' -IL_0149: ldarg.0 -IL_014a: stloc.3 -IL_014b: ldarg.0 -IL_014c: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__6'::'<>t__builder' -IL_0151: ldloca.s V_5 -IL_0153: ldloca.s V_3 -IL_0155: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::AwaitUnsafeOnCompleted,class Example/'d__6'>(!!0&, -!!1&) -IL_015a: nop -IL_015b: leave IL_01ff -IL_0160: ldarg.0 -IL_0161: ldfld valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter`1 Example/'d__6'::'<>u__1' -IL_0166: stloc.s V_5 -IL_0168: ldarg.0 -IL_0169: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter`1 Example/'d__6'::'<>u__1' -IL_016e: initobj valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter`1 -IL_0174: ldarg.0 -IL_0175: ldc.i4.m1 -IL_0176: dup -IL_0177: stloc.0 -IL_0178: stfld int32 Example/'d__6'::'<>1__state' -IL_017d: ldarg.0 -IL_017e: ldloca.s V_5 -IL_0180: call instance !0 valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter`1::GetResult() -IL_0185: stfld int32 Example/'d__6'::'<>s__6' -IL_018a: ldarg.0 -IL_018b: ldarg.0 -IL_018c: ldfld int32 Example/'d__6'::'<>s__5' -IL_0191: ldarg.0 -IL_0192: ldfld int32 Example/'d__6'::'<>s__6' -IL_0197: add -IL_0198: stfld int32 Example/'d__6'::'5__2' -IL_019d: nop -IL_019e: ldarg.0 -IL_019f: ldfld int32 Example/'d__6'::'5__4' -IL_01a4: stloc.s V_6 -IL_01a6: ldarg.0 -IL_01a7: ldloc.s V_6 -IL_01a9: ldc.i4.1 -IL_01aa: add -IL_01ab: stfld int32 Example/'d__6'::'5__4' -IL_01b0: ldarg.0 -IL_01b1: ldfld int32 Example/'d__6'::'5__4' -IL_01b6: ldarg.0 -IL_01b7: ldfld int32 Example/'d__6'::'5__1' -IL_01bc: clt -IL_01be: stloc.s V_7 -IL_01c0: ldloc.s V_7 -IL_01c2: brtrue IL_00ad -IL_01c7: ldarg.0 -IL_01c8: ldfld int32 Example/'d__6'::'5__2' -IL_01cd: stloc.1 -IL_01ce: leave.s IL_01ea -} // end .try -catch [System.Runtime]System.Exception -{ -IL_01d0: stloc.s V_8 -IL_01d2: ldarg.0 -IL_01d3: ldc.i4.s -2 -IL_01d5: stfld int32 Example/'d__6'::'<>1__state' -IL_01da: ldarg.0 -IL_01db: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__6'::'<>t__builder' -IL_01e0: ldloc.s V_8 -IL_01e2: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetException(class [System.Runtime]System.Exception) -IL_01e7: nop -IL_01e8: leave.s IL_01ff -} // end handler -IL_01ea: ldarg.0 -IL_01eb: ldc.i4.s -2 -IL_01ed: stfld int32 Example/'d__6'::'<>1__state' -IL_01f2: ldarg.0 -IL_01f3: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__6'::'<>t__builder' -IL_01f8: ldloc.1 -IL_01f9: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetResult(!0) -IL_01fe: nop -IL_01ff: ret -} -.method private hidebysig newslot virtual final -instance void SetStateMachine(class [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed -{ -.override [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine -.maxstack 8 -IL_0000: ret -} -} -.class auto ansi sealed nested private beforefieldinit 'd__7' -extends [System.Runtime]System.Object -implements [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine -{ -.interfaceimpl type [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field public int32 '<>1__state' -.field public valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 '<>t__builder' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field public class Example '<>4__this' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field private int32 '5__1' -.field private int32 '5__2' -.field private int32 '<>s__3' -.field private int32 '5__4' -.field private int32 '<>s__5' -.field private int32 '<>s__6' -.field private valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter '<>u__1' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field private valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter '<>u__2' -.method public hidebysig specialname rtspecialname -instance void .ctor() cil managed -{ -.maxstack 8 -IL_0000: ldarg.0 -IL_0001: call instance void [System.Runtime]System.Object::.ctor() -IL_0006: nop -IL_0007: ret -} -.method private hidebysig newslot virtual final -instance void MoveNext() cil managed -{ -.override [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext -.maxstack 3 -.locals init (int32 V_0, -int32 V_1, -valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter V_2, -valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1 V_3, -class Example/'d__7' V_4, -valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable V_5, -valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1 V_6, -valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter V_7, -valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter V_8, -int32 V_9, -bool V_10, -class [System.Runtime]System.Exception V_11) -IL_0000: ldarg.0 -IL_0001: ldfld int32 Example/'d__7'::'<>1__state' -IL_0006: stloc.0 -.try -{ -IL_0007: ldloc.0 -IL_0008: switch ( -IL_001b, -IL_001d, -IL_0022) -IL_0019: br.s IL_0027 -IL_001b: br.s IL_006f -IL_001d: br IL_0101 -IL_0022: br IL_0180 -IL_0027: nop -IL_0028: ldc.i4.s 10 -IL_002a: call class [System.Runtime]System.Threading.Tasks.Task`1 [System.Runtime]System.Threading.Tasks.Task::FromResult(!!0) -IL_002f: ldc.i4.0 -IL_0030: callvirt instance valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1 class [System.Private.CoreLib]System.Threading.Tasks.Task`1::ConfigureAwait(bool) -IL_0035: stloc.3 -IL_0036: ldloca.s V_3 -IL_0038: call instance valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1::GetAwaiter() -IL_003d: stloc.2 -IL_003e: ldloca.s V_2 -IL_0040: call instance bool valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter::get_IsCompleted() -IL_0045: brtrue.s IL_008b -IL_0047: ldarg.0 -IL_0048: ldc.i4.0 -IL_0049: dup -IL_004a: stloc.0 -IL_004b: stfld int32 Example/'d__7'::'<>1__state' -IL_0050: ldarg.0 -IL_0051: ldloc.2 -IL_0052: stfld valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter Example/'d__7'::'<>u__1' -IL_0057: ldarg.0 -IL_0058: stloc.s V_4 -IL_005a: ldarg.0 -IL_005b: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__7'::'<>t__builder' -IL_0060: ldloca.s V_2 -IL_0062: ldloca.s V_4 -IL_0064: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::AwaitUnsafeOnCompleted,class Example/'d__7'>(!!0&, -!!1&) -IL_0069: nop -IL_006a: leave IL_021f -IL_006f: ldarg.0 -IL_0070: ldfld valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter Example/'d__7'::'<>u__1' -IL_0075: stloc.2 -IL_0076: ldarg.0 -IL_0077: ldflda valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter Example/'d__7'::'<>u__1' -IL_007c: initobj valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter -IL_0082: ldarg.0 -IL_0083: ldc.i4.m1 -IL_0084: dup -IL_0085: stloc.0 -IL_0086: stfld int32 Example/'d__7'::'<>1__state' -IL_008b: ldarg.0 -IL_008c: ldloca.s V_2 -IL_008e: call instance !0 valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter::GetResult() -IL_0093: stfld int32 Example/'d__7'::'<>s__3' -IL_0098: ldarg.0 -IL_0099: ldarg.0 -IL_009a: ldfld int32 Example/'d__7'::'<>s__3' -IL_009f: stfld int32 Example/'d__7'::'5__1' -IL_00a4: ldarg.0 -IL_00a5: ldc.i4.0 -IL_00a6: stfld int32 Example/'d__7'::'5__2' -IL_00ab: ldarg.0 -IL_00ac: ldc.i4.0 -IL_00ad: stfld int32 Example/'d__7'::'5__4' -IL_00b2: br IL_01d0 -IL_00b7: nop -IL_00b8: ldc.i4.1 -IL_00b9: call class [System.Runtime]System.Threading.Tasks.Task [System.Runtime]System.Threading.Tasks.Task::Delay(int32) -IL_00be: ldc.i4.0 -IL_00bf: callvirt instance valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable [System.Private.CoreLib]System.Threading.Tasks.Task::ConfigureAwait(bool) -IL_00c4: stloc.s V_5 -IL_00c6: ldloca.s V_5 -IL_00c8: call instance valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable::GetAwaiter() -IL_00cd: stloc.s V_7 -IL_00cf: ldloca.s V_7 -IL_00d1: call instance bool [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter::get_IsCompleted() -IL_00d6: brtrue.s IL_011e -IL_00d8: ldarg.0 -IL_00d9: ldc.i4.1 -IL_00da: dup -IL_00db: stloc.0 -IL_00dc: stfld int32 Example/'d__7'::'<>1__state' -IL_00e1: ldarg.0 -IL_00e2: ldloc.s V_7 -IL_00e4: stfld valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter Example/'d__7'::'<>u__2' -IL_00e9: ldarg.0 -IL_00ea: stloc.s V_4 -IL_00ec: ldarg.0 -IL_00ed: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__7'::'<>t__builder' -IL_00f2: ldloca.s V_7 -IL_00f4: ldloca.s V_4 -IL_00f6: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::AwaitUnsafeOnCompletedd__7'>(!!0&, -!!1&) -IL_00fb: nop -IL_00fc: leave IL_021f -IL_0101: ldarg.0 -IL_0102: ldfld valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter Example/'d__7'::'<>u__2' -IL_0107: stloc.s V_7 -IL_0109: ldarg.0 -IL_010a: ldflda valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter Example/'d__7'::'<>u__2' -IL_010f: initobj [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter -IL_0115: ldarg.0 -IL_0116: ldc.i4.m1 -IL_0117: dup -IL_0118: stloc.0 -IL_0119: stfld int32 Example/'d__7'::'<>1__state' -IL_011e: ldloca.s V_7 -IL_0120: call instance void [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter::GetResult() -IL_0125: nop -IL_0126: ldarg.0 -IL_0127: ldarg.0 -IL_0128: ldfld int32 Example/'d__7'::'5__2' -IL_012d: stfld int32 Example/'d__7'::'<>s__5' -IL_0132: ldarg.0 -IL_0133: ldfld int32 Example/'d__7'::'5__4' -IL_0138: call class [System.Runtime]System.Threading.Tasks.Task`1 [System.Runtime]System.Threading.Tasks.Task::FromResult(!!0) -IL_013d: ldc.i4.0 -IL_013e: callvirt instance valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1 class [System.Private.CoreLib]System.Threading.Tasks.Task`1::ConfigureAwait(bool) -IL_0143: stloc.s V_6 -IL_0145: ldloca.s V_6 -IL_0147: call instance valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1::GetAwaiter() -IL_014c: stloc.s V_8 -IL_014e: ldloca.s V_8 -IL_0150: call instance bool valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter::get_IsCompleted() -IL_0155: brtrue.s IL_019d -IL_0157: ldarg.0 -IL_0158: ldc.i4.2 -IL_0159: dup -IL_015a: stloc.0 -IL_015b: stfld int32 Example/'d__7'::'<>1__state' -IL_0160: ldarg.0 -IL_0161: ldloc.s V_8 -IL_0163: stfld valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter Example/'d__7'::'<>u__1' -IL_0168: ldarg.0 -IL_0169: stloc.s V_4 -IL_016b: ldarg.0 -IL_016c: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__7'::'<>t__builder' -IL_0171: ldloca.s V_8 -IL_0173: ldloca.s V_4 -IL_0175: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::AwaitUnsafeOnCompleted,class Example/'d__7'>(!!0&, -!!1&) -IL_017a: nop -IL_017b: leave IL_021f -IL_0180: ldarg.0 -IL_0181: ldfld valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter Example/'d__7'::'<>u__1' -IL_0186: stloc.s V_8 -IL_0188: ldarg.0 -IL_0189: ldflda valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter Example/'d__7'::'<>u__1' -IL_018e: initobj valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter -IL_0194: ldarg.0 -IL_0195: ldc.i4.m1 -IL_0196: dup -IL_0197: stloc.0 -IL_0198: stfld int32 Example/'d__7'::'<>1__state' -IL_019d: ldarg.0 -IL_019e: ldloca.s V_8 -IL_01a0: call instance !0 valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter::GetResult() -IL_01a5: stfld int32 Example/'d__7'::'<>s__6' -IL_01aa: ldarg.0 -IL_01ab: ldarg.0 -IL_01ac: ldfld int32 Example/'d__7'::'<>s__5' -IL_01b1: ldarg.0 -IL_01b2: ldfld int32 Example/'d__7'::'<>s__6' -IL_01b7: add -IL_01b8: stfld int32 Example/'d__7'::'5__2' -IL_01bd: nop -IL_01be: ldarg.0 -IL_01bf: ldfld int32 Example/'d__7'::'5__4' -IL_01c4: stloc.s V_9 -IL_01c6: ldarg.0 -IL_01c7: ldloc.s V_9 -IL_01c9: ldc.i4.1 -IL_01ca: add -IL_01cb: stfld int32 Example/'d__7'::'5__4' -IL_01d0: ldarg.0 -IL_01d1: ldfld int32 Example/'d__7'::'5__4' -IL_01d6: ldarg.0 -IL_01d7: ldfld int32 Example/'d__7'::'5__1' -IL_01dc: clt -IL_01de: stloc.s V_10 -IL_01e0: ldloc.s V_10 -IL_01e2: brtrue IL_00b7 -IL_01e7: ldarg.0 -IL_01e8: ldfld int32 Example/'d__7'::'5__2' -IL_01ed: stloc.1 -IL_01ee: leave.s IL_020a -} // end .try -catch [System.Runtime]System.Exception -{ -IL_01f0: stloc.s V_11 -IL_01f2: ldarg.0 -IL_01f3: ldc.i4.s -2 -IL_01f5: stfld int32 Example/'d__7'::'<>1__state' -IL_01fa: ldarg.0 -IL_01fb: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__7'::'<>t__builder' -IL_0200: ldloc.s V_11 -IL_0202: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetException(class [System.Runtime]System.Exception) -IL_0207: nop -IL_0208: leave.s IL_021f -} // end handler -IL_020a: ldarg.0 -IL_020b: ldc.i4.s -2 -IL_020d: stfld int32 Example/'d__7'::'<>1__state' -IL_0212: ldarg.0 -IL_0213: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__7'::'<>t__builder' -IL_0218: ldloc.1 -IL_0219: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetResult(!0) -IL_021e: nop -IL_021f: ret -} -.method private hidebysig newslot virtual final -instance void SetStateMachine(class [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed -{ -.override [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine -.maxstack 8 -IL_0000: ret -} -} -.class auto ansi sealed nested private beforefieldinit 'd__8' -extends [System.Runtime]System.Object -implements [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine -{ -.interfaceimpl type [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field public int32 '<>1__state' -.field public valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 '<>t__builder' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field public class Example '<>4__this' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field private int32 '5__1' -.field private int32 '5__2' -.field private int32 '<>s__3' -.field private int32 '5__4' -.field private int32 '<>s__5' -.field private int32 '<>s__6' -.field private valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter '<>u__1' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field private valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter '<>u__2' -.method public hidebysig specialname rtspecialname -instance void .ctor() cil managed -{ -.maxstack 8 -IL_0000: ldarg.0 -IL_0001: call instance void [System.Runtime]System.Object::.ctor() -IL_0006: nop -IL_0007: ret -} -.method private hidebysig newslot virtual final -instance void MoveNext() cil managed -{ -.override [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext -.maxstack 3 -.locals init (int32 V_0, -int32 V_1, -valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter V_2, -valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1 V_3, -class Example/'d__8' V_4, -valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter V_5, -valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable V_6, -valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter V_7, -int32 V_8, -bool V_9, -class [System.Runtime]System.Exception V_10) -IL_0000: ldarg.0 -IL_0001: ldfld int32 Example/'d__8'::'<>1__state' -IL_0006: stloc.0 -.try -{ -IL_0007: ldloc.0 -IL_0008: switch ( -IL_001b, -IL_001d, -IL_0022) -IL_0019: br.s IL_0027 -IL_001b: br.s IL_006f -IL_001d: br IL_0101 -IL_0022: br IL_017f -IL_0027: nop -IL_0028: ldc.i4.s 10 -IL_002a: call class [System.Runtime]System.Threading.Tasks.Task`1 [System.Runtime]System.Threading.Tasks.Task::FromResult(!!0) -IL_002f: ldc.i4.0 -IL_0030: callvirt instance valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1 class [System.Runtime]System.Threading.Tasks.Task`1::ConfigureAwait(bool) -IL_0035: stloc.3 -IL_0036: ldloca.s V_3 -IL_0038: call instance valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1::GetAwaiter() -IL_003d: stloc.2 -IL_003e: ldloca.s V_2 -IL_0040: call instance bool valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter::get_IsCompleted() -IL_0045: brtrue.s IL_008b -IL_0047: ldarg.0 -IL_0048: ldc.i4.0 -IL_0049: dup -IL_004a: stloc.0 -IL_004b: stfld int32 Example/'d__8'::'<>1__state' -IL_0050: ldarg.0 -IL_0051: ldloc.2 -IL_0052: stfld valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter Example/'d__8'::'<>u__1' -IL_0057: ldarg.0 -IL_0058: stloc.s V_4 -IL_005a: ldarg.0 -IL_005b: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__8'::'<>t__builder' -IL_0060: ldloca.s V_2 -IL_0062: ldloca.s V_4 -IL_0064: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::AwaitUnsafeOnCompleted,class Example/'d__8'>(!!0&, -!!1&) -IL_0069: nop -IL_006a: leave IL_021e -IL_006f: ldarg.0 -IL_0070: ldfld valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter Example/'d__8'::'<>u__1' -IL_0075: stloc.2 -IL_0076: ldarg.0 -IL_0077: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter Example/'d__8'::'<>u__1' -IL_007c: initobj valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter -IL_0082: ldarg.0 -IL_0083: ldc.i4.m1 -IL_0084: dup -IL_0085: stloc.0 -IL_0086: stfld int32 Example/'d__8'::'<>1__state' -IL_008b: ldarg.0 -IL_008c: ldloca.s V_2 -IL_008e: call instance !0 valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter::GetResult() -IL_0093: stfld int32 Example/'d__8'::'<>s__3' -IL_0098: ldarg.0 -IL_0099: ldarg.0 -IL_009a: ldfld int32 Example/'d__8'::'<>s__3' -IL_009f: stfld int32 Example/'d__8'::'5__1' -IL_00a4: ldarg.0 -IL_00a5: ldc.i4.0 -IL_00a6: stfld int32 Example/'d__8'::'5__2' -IL_00ab: ldarg.0 -IL_00ac: ldc.i4.0 -IL_00ad: stfld int32 Example/'d__8'::'5__4' -IL_00b2: br IL_01cf -IL_00b7: nop -IL_00b8: ldc.i4.1 -IL_00b9: call class [System.Runtime]System.Threading.Tasks.Task [System.Runtime]System.Threading.Tasks.Task::Delay(int32) -IL_00be: ldc.i4.0 -IL_00bf: callvirt instance valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable [System.Runtime]System.Threading.Tasks.Task::ConfigureAwait(bool) -IL_00c4: stloc.s V_6 -IL_00c6: ldloca.s V_6 -IL_00c8: call instance valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable::GetAwaiter() -IL_00cd: stloc.s V_5 -IL_00cf: ldloca.s V_5 -IL_00d1: call instance bool [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter::get_IsCompleted() -IL_00d6: brtrue.s IL_011e -IL_00d8: ldarg.0 -IL_00d9: ldc.i4.1 -IL_00da: dup -IL_00db: stloc.0 -IL_00dc: stfld int32 Example/'d__8'::'<>1__state' -IL_00e1: ldarg.0 -IL_00e2: ldloc.s V_5 -IL_00e4: stfld valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter Example/'d__8'::'<>u__2' -IL_00e9: ldarg.0 -IL_00ea: stloc.s V_4 -IL_00ec: ldarg.0 -IL_00ed: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__8'::'<>t__builder' -IL_00f2: ldloca.s V_5 -IL_00f4: ldloca.s V_4 -IL_00f6: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::AwaitUnsafeOnCompletedd__8'>(!!0&, -!!1&) -IL_00fb: nop -IL_00fc: leave IL_021e -IL_0101: ldarg.0 -IL_0102: ldfld valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter Example/'d__8'::'<>u__2' -IL_0107: stloc.s V_5 -IL_0109: ldarg.0 -IL_010a: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter Example/'d__8'::'<>u__2' -IL_010f: initobj [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter -IL_0115: ldarg.0 -IL_0116: ldc.i4.m1 -IL_0117: dup -IL_0118: stloc.0 -IL_0119: stfld int32 Example/'d__8'::'<>1__state' -IL_011e: ldloca.s V_5 -IL_0120: call instance void [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter::GetResult() -IL_0125: nop -IL_0126: ldarg.0 -IL_0127: ldarg.0 -IL_0128: ldfld int32 Example/'d__8'::'5__2' -IL_012d: stfld int32 Example/'d__8'::'<>s__5' -IL_0132: ldarg.0 -IL_0133: ldfld int32 Example/'d__8'::'5__4' -IL_0138: call class [System.Runtime]System.Threading.Tasks.Task`1 [System.Runtime]System.Threading.Tasks.Task::FromResult(!!0) -IL_013d: ldc.i4.0 -IL_013e: callvirt instance valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1 class [System.Runtime]System.Threading.Tasks.Task`1::ConfigureAwait(bool) -IL_0143: stloc.3 -IL_0144: ldloca.s V_3 -IL_0146: call instance valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1::GetAwaiter() -IL_014b: stloc.s V_7 -IL_014d: ldloca.s V_7 -IL_014f: call instance bool valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter::get_IsCompleted() -IL_0154: brtrue.s IL_019c -IL_0156: ldarg.0 -IL_0157: ldc.i4.2 -IL_0158: dup -IL_0159: stloc.0 -IL_015a: stfld int32 Example/'d__8'::'<>1__state' -IL_015f: ldarg.0 -IL_0160: ldloc.s V_7 -IL_0162: stfld valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter Example/'d__8'::'<>u__1' -IL_0167: ldarg.0 -IL_0168: stloc.s V_4 -IL_016a: ldarg.0 -IL_016b: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__8'::'<>t__builder' -IL_0170: ldloca.s V_7 -IL_0172: ldloca.s V_4 -IL_0174: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::AwaitUnsafeOnCompleted,class Example/'d__8'>(!!0&, -!!1&) -IL_0179: nop -IL_017a: leave IL_021e -IL_017f: ldarg.0 -IL_0180: ldfld valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter Example/'d__8'::'<>u__1' -IL_0185: stloc.s V_7 -IL_0187: ldarg.0 -IL_0188: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter Example/'d__8'::'<>u__1' -IL_018d: initobj valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter -IL_0193: ldarg.0 -IL_0194: ldc.i4.m1 -IL_0195: dup -IL_0196: stloc.0 -IL_0197: stfld int32 Example/'d__8'::'<>1__state' -IL_019c: ldarg.0 -IL_019d: ldloca.s V_7 -IL_019f: call instance !0 valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter::GetResult() -IL_01a4: stfld int32 Example/'d__8'::'<>s__6' -IL_01a9: ldarg.0 -IL_01aa: ldarg.0 -IL_01ab: ldfld int32 Example/'d__8'::'<>s__5' -IL_01b0: ldarg.0 -IL_01b1: ldfld int32 Example/'d__8'::'<>s__6' -IL_01b6: add -IL_01b7: stfld int32 Example/'d__8'::'5__2' -IL_01bc: nop -IL_01bd: ldarg.0 -IL_01be: ldfld int32 Example/'d__8'::'5__4' -IL_01c3: stloc.s V_8 -IL_01c5: ldarg.0 -IL_01c6: ldloc.s V_8 -IL_01c8: ldc.i4.1 -IL_01c9: add -IL_01ca: stfld int32 Example/'d__8'::'5__4' -IL_01cf: ldarg.0 -IL_01d0: ldfld int32 Example/'d__8'::'5__4' -IL_01d5: ldarg.0 -IL_01d6: ldfld int32 Example/'d__8'::'5__1' -IL_01db: clt -IL_01dd: stloc.s V_9 -IL_01df: ldloc.s V_9 -IL_01e1: brtrue IL_00b7 -IL_01e6: ldarg.0 -IL_01e7: ldfld int32 Example/'d__8'::'5__2' -IL_01ec: stloc.1 -IL_01ed: leave.s IL_0209 -} // end .try -catch [System.Runtime]System.Exception -{ -IL_01ef: stloc.s V_10 -IL_01f1: ldarg.0 -IL_01f2: ldc.i4.s -2 -IL_01f4: stfld int32 Example/'d__8'::'<>1__state' -IL_01f9: ldarg.0 -IL_01fa: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__8'::'<>t__builder' -IL_01ff: ldloc.s V_10 -IL_0201: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetException(class [System.Runtime]System.Exception) -IL_0206: nop -IL_0207: leave.s IL_021e -} // end handler -IL_0209: ldarg.0 -IL_020a: ldc.i4.s -2 -IL_020c: stfld int32 Example/'d__8'::'<>1__state' -IL_0211: ldarg.0 -IL_0212: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__8'::'<>t__builder' -IL_0217: ldloc.1 -IL_0218: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetResult(!0) -IL_021d: nop -IL_021e: ret -} -.method private hidebysig newslot virtual final -instance void SetStateMachine(class [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed -{ -.override [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine -.maxstack 8 -IL_0000: ret -} -} -.method public hidebysig instance class [System.Runtime]System.Threading.Tasks.Task -AsyncMethod1() cil managed -{ -63 4D 65 74 68 6F 64 31 3E 64 5F 5F 30 00 00 ) // cMethod1>d__0.. -.maxstack 2 -.locals init (class Example/'d__0' V_0) -IL_0000: newobj instance void Example/'d__0'::.ctor() -IL_0005: stloc.0 -IL_0006: ldloc.0 -IL_0007: call valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Create() -IL_000c: stfld valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Example/'d__0'::'<>t__builder' -IL_0011: ldloc.0 -IL_0012: ldarg.0 -IL_0013: stfld class Example Example/'d__0'::'<>4__this' -IL_0018: ldloc.0 -IL_0019: ldc.i4.m1 -IL_001a: stfld int32 Example/'d__0'::'<>1__state' -IL_001f: ldloc.0 -IL_0020: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Example/'d__0'::'<>t__builder' -IL_0025: ldloca.s V_0 -IL_0027: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Startd__0'>(!!0&) -IL_002c: ldloc.0 -IL_002d: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Example/'d__0'::'<>t__builder' -IL_0032: call instance class [System.Runtime]System.Threading.Tasks.Task [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::get_Task() -IL_0037: ret -} -.method public hidebysig instance class [System.Runtime]System.Threading.Tasks.Task -AsyncMethod2() cil managed -{ -63 4D 65 74 68 6F 64 32 3E 64 5F 5F 31 00 00 ) // cMethod2>d__1.. -.maxstack 2 -.locals init (class Example/'d__1' V_0) -IL_0000: newobj instance void Example/'d__1'::.ctor() -IL_0005: stloc.0 -IL_0006: ldloc.0 -IL_0007: call valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Create() -IL_000c: stfld valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Example/'d__1'::'<>t__builder' -IL_0011: ldloc.0 -IL_0012: ldarg.0 -IL_0013: stfld class Example Example/'d__1'::'<>4__this' -IL_0018: ldloc.0 -IL_0019: ldc.i4.m1 -IL_001a: stfld int32 Example/'d__1'::'<>1__state' -IL_001f: ldloc.0 -IL_0020: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Example/'d__1'::'<>t__builder' -IL_0025: ldloca.s V_0 -IL_0027: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Startd__1'>(!!0&) -IL_002c: ldloc.0 -IL_002d: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Example/'d__1'::'<>t__builder' -IL_0032: call instance class [System.Runtime]System.Threading.Tasks.Task [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::get_Task() -IL_0037: ret -} -.method public hidebysig instance class [System.Runtime]System.Threading.Tasks.Task -AsyncMethod3() cil managed -{ -63 4D 65 74 68 6F 64 33 3E 64 5F 5F 32 00 00 ) // cMethod3>d__2.. -.maxstack 2 -.locals init (class Example/'d__2' V_0) -IL_0000: newobj instance void Example/'d__2'::.ctor() -IL_0005: stloc.0 -IL_0006: ldloc.0 -IL_0007: call valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Create() -IL_000c: stfld valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Example/'d__2'::'<>t__builder' -IL_0011: ldloc.0 -IL_0012: ldarg.0 -IL_0013: stfld class Example Example/'d__2'::'<>4__this' -IL_0018: ldloc.0 -IL_0019: ldc.i4.m1 -IL_001a: stfld int32 Example/'d__2'::'<>1__state' -IL_001f: ldloc.0 -IL_0020: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Example/'d__2'::'<>t__builder' -IL_0025: ldloca.s V_0 -IL_0027: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Startd__2'>(!!0&) -IL_002c: ldloc.0 -IL_002d: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Example/'d__2'::'<>t__builder' -IL_0032: call instance class [System.Runtime]System.Threading.Tasks.Task [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::get_Task() -IL_0037: ret -} -.method public hidebysig instance class [System.Runtime]System.Threading.Tasks.Task`1 -AsyncMethod4() cil managed -{ -63 4D 65 74 68 6F 64 34 3E 64 5F 5F 33 00 00 ) // cMethod4>d__3.. -.maxstack 2 -.locals init (class Example/'d__3' V_0) -IL_0000: newobj instance void Example/'d__3'::.ctor() -IL_0005: stloc.0 -IL_0006: ldloc.0 -IL_0007: call valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::Create() -IL_000c: stfld valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__3'::'<>t__builder' -IL_0011: ldloc.0 -IL_0012: ldarg.0 -IL_0013: stfld class Example Example/'d__3'::'<>4__this' -IL_0018: ldloc.0 -IL_0019: ldc.i4.m1 -IL_001a: stfld int32 Example/'d__3'::'<>1__state' -IL_001f: ldloc.0 -IL_0020: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__3'::'<>t__builder' -IL_0025: ldloca.s V_0 -IL_0027: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::Startd__3'>(!!0&) -IL_002c: ldloc.0 -IL_002d: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__3'::'<>t__builder' -IL_0032: call instance class [System.Runtime]System.Threading.Tasks.Task`1 valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::get_Task() -IL_0037: ret -} -.method public hidebysig instance class [System.Runtime]System.Threading.Tasks.Task`1 -AsyncMethod5() cil managed -{ -63 4D 65 74 68 6F 64 35 3E 64 5F 5F 34 00 00 ) // cMethod5>d__4.. -.maxstack 2 -.locals init (class Example/'d__4' V_0) -IL_0000: newobj instance void Example/'d__4'::.ctor() -IL_0005: stloc.0 -IL_0006: ldloc.0 -IL_0007: call valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::Create() -IL_000c: stfld valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__4'::'<>t__builder' -IL_0011: ldloc.0 -IL_0012: ldarg.0 -IL_0013: stfld class Example Example/'d__4'::'<>4__this' -IL_0018: ldloc.0 -IL_0019: ldc.i4.m1 -IL_001a: stfld int32 Example/'d__4'::'<>1__state' -IL_001f: ldloc.0 -IL_0020: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__4'::'<>t__builder' -IL_0025: ldloca.s V_0 -IL_0027: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::Startd__4'>(!!0&) -IL_002c: ldloc.0 -IL_002d: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__4'::'<>t__builder' -IL_0032: call instance class [System.Runtime]System.Threading.Tasks.Task`1 valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::get_Task() -IL_0037: ret -} -.method public hidebysig instance class [System.Runtime]System.Threading.Tasks.Task`1 -AsyncMethod6() cil managed -{ -63 4D 65 74 68 6F 64 36 3E 64 5F 5F 35 00 00 ) // cMethod6>d__5.. -.maxstack 2 -.locals init (class Example/'d__5' V_0) -IL_0000: newobj instance void Example/'d__5'::.ctor() -IL_0005: stloc.0 -IL_0006: ldloc.0 -IL_0007: call valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::Create() -IL_000c: stfld valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__5'::'<>t__builder' -IL_0011: ldloc.0 -IL_0012: ldarg.0 -IL_0013: stfld class Example Example/'d__5'::'<>4__this' -IL_0018: ldloc.0 -IL_0019: ldc.i4.m1 -IL_001a: stfld int32 Example/'d__5'::'<>1__state' -IL_001f: ldloc.0 -IL_0020: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__5'::'<>t__builder' -IL_0025: ldloca.s V_0 -IL_0027: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::Startd__5'>(!!0&) -IL_002c: ldloc.0 -IL_002d: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__5'::'<>t__builder' -IL_0032: call instance class [System.Runtime]System.Threading.Tasks.Task`1 valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::get_Task() -IL_0037: ret -} -.method public hidebysig instance class [System.Runtime]System.Threading.Tasks.Task`1 -AsyncMethod7() cil managed -{ -63 4D 65 74 68 6F 64 37 3E 64 5F 5F 36 00 00 ) // cMethod7>d__6.. -.maxstack 2 -.locals init (class Example/'d__6' V_0) -IL_0000: newobj instance void Example/'d__6'::.ctor() -IL_0005: stloc.0 -IL_0006: ldloc.0 -IL_0007: call valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::Create() -IL_000c: stfld valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__6'::'<>t__builder' -IL_0011: ldloc.0 -IL_0012: ldarg.0 -IL_0013: stfld class Example Example/'d__6'::'<>4__this' -IL_0018: ldloc.0 -IL_0019: ldc.i4.m1 -IL_001a: stfld int32 Example/'d__6'::'<>1__state' -IL_001f: ldloc.0 -IL_0020: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__6'::'<>t__builder' -IL_0025: ldloca.s V_0 -IL_0027: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::Startd__6'>(!!0&) -IL_002c: ldloc.0 -IL_002d: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__6'::'<>t__builder' -IL_0032: call instance class [System.Runtime]System.Threading.Tasks.Task`1 valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::get_Task() -IL_0037: ret -} -.method public hidebysig instance class [System.Runtime]System.Threading.Tasks.Task`1 -AsyncMethod8() cil managed -{ -63 4D 65 74 68 6F 64 38 3E 64 5F 5F 37 00 00 ) // cMethod8>d__7.. -.maxstack 2 -.locals init (class Example/'d__7' V_0) -IL_0000: newobj instance void Example/'d__7'::.ctor() -IL_0005: stloc.0 -IL_0006: ldloc.0 -IL_0007: call valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::Create() -IL_000c: stfld valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__7'::'<>t__builder' -IL_0011: ldloc.0 -IL_0012: ldarg.0 -IL_0013: stfld class Example Example/'d__7'::'<>4__this' -IL_0018: ldloc.0 -IL_0019: ldc.i4.m1 -IL_001a: stfld int32 Example/'d__7'::'<>1__state' -IL_001f: ldloc.0 -IL_0020: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__7'::'<>t__builder' -IL_0025: ldloca.s V_0 -IL_0027: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::Startd__7'>(!!0&) -IL_002c: ldloc.0 -IL_002d: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__7'::'<>t__builder' -IL_0032: call instance class [System.Runtime]System.Threading.Tasks.Task`1 valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::get_Task() -IL_0037: ret -} -.method public hidebysig instance class [System.Runtime]System.Threading.Tasks.Task`1 -AsyncMethod9() cil managed -{ -63 4D 65 74 68 6F 64 39 3E 64 5F 5F 38 00 00 ) // cMethod9>d__8.. -.maxstack 2 -.locals init (class Example/'d__8' V_0) -IL_0000: newobj instance void Example/'d__8'::.ctor() -IL_0005: stloc.0 -IL_0006: ldloc.0 -IL_0007: call valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::Create() -IL_000c: stfld valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__8'::'<>t__builder' -IL_0011: ldloc.0 -IL_0012: ldarg.0 -IL_0013: stfld class Example Example/'d__8'::'<>4__this' -IL_0018: ldloc.0 -IL_0019: ldc.i4.m1 -IL_001a: stfld int32 Example/'d__8'::'<>1__state' -IL_001f: ldloc.0 -IL_0020: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__8'::'<>t__builder' -IL_0025: ldloca.s V_0 -IL_0027: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::Startd__8'>(!!0&) -IL_002c: ldloc.0 -IL_002d: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__8'::'<>t__builder' -IL_0032: call instance class [System.Runtime]System.Threading.Tasks.Task`1 valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::get_Task() -IL_0037: ret -} -.method public hidebysig instance class [System.Runtime]System.Threading.Tasks.Task`1 -AsyncMethod10() cil managed -{ -63 4D 65 74 68 6F 64 31 30 3E 64 5F 5F 39 00 00 ) // cMethod10>d__9.. -.maxstack 2 -.locals init (class Example/'d__9' V_0) -IL_0000: newobj instance void Example/'d__9'::.ctor() -IL_0005: stloc.0 -IL_0006: ldloc.0 -IL_0007: call valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::Create() -IL_000c: stfld valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__9'::'<>t__builder' -IL_0011: ldloc.0 -IL_0012: ldarg.0 -IL_0013: stfld class Example Example/'d__9'::'<>4__this' -IL_0018: ldloc.0 -IL_0019: ldc.i4.m1 -IL_001a: stfld int32 Example/'d__9'::'<>1__state' -IL_001f: ldloc.0 -IL_0020: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__9'::'<>t__builder' -IL_0025: ldloca.s V_0 -IL_0027: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::Startd__9'>(!!0&) -IL_002c: ldloc.0 -IL_002d: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__9'::'<>t__builder' -IL_0032: call instance class [System.Runtime]System.Threading.Tasks.Task`1 valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::get_Task() -IL_0037: ret -} -.method public hidebysig instance class [System.Runtime]System.Threading.Tasks.Task`1 -AsyncMethod11() cil managed -{ -63 4D 65 74 68 6F 64 31 31 3E 64 5F 5F 31 30 00 // cMethod11>d__10. -00 ) -.maxstack 2 -.locals init (class Example/'d__10' V_0) -IL_0000: newobj instance void Example/'d__10'::.ctor() -IL_0005: stloc.0 -IL_0006: ldloc.0 -IL_0007: call valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::Create() -IL_000c: stfld valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__10'::'<>t__builder' -IL_0011: ldloc.0 -IL_0012: ldarg.0 -IL_0013: stfld class Example Example/'d__10'::'<>4__this' -IL_0018: ldloc.0 -IL_0019: ldc.i4.m1 -IL_001a: stfld int32 Example/'d__10'::'<>1__state' -IL_001f: ldloc.0 -IL_0020: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__10'::'<>t__builder' -IL_0025: ldloca.s V_0 -IL_0027: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::Startd__10'>(!!0&) -IL_002c: ldloc.0 -IL_002d: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__10'::'<>t__builder' -IL_0032: call instance class [System.Runtime]System.Threading.Tasks.Task`1 valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::get_Task() -IL_0037: ret -} -.method public hidebysig instance class [System.Runtime]System.Threading.Tasks.Task`1 -AsyncMethod12() cil managed -{ -63 4D 65 74 68 6F 64 31 32 3E 64 5F 5F 31 31 00 // cMethod12>d__11. -00 ) -.maxstack 2 -.locals init (class Example/'d__11' V_0) -IL_0000: newobj instance void Example/'d__11'::.ctor() -IL_0005: stloc.0 -IL_0006: ldloc.0 -IL_0007: call valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::Create() -IL_000c: stfld valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__11'::'<>t__builder' -IL_0011: ldloc.0 -IL_0012: ldarg.0 -IL_0013: stfld class Example Example/'d__11'::'<>4__this' -IL_0018: ldloc.0 -IL_0019: ldc.i4.m1 -IL_001a: stfld int32 Example/'d__11'::'<>1__state' -IL_001f: ldloc.0 -IL_0020: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__11'::'<>t__builder' -IL_0025: ldloca.s V_0 -IL_0027: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::Startd__11'>(!!0&) -IL_002c: ldloc.0 -IL_002d: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__11'::'<>t__builder' -IL_0032: call instance class [System.Runtime]System.Threading.Tasks.Task`1 valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::get_Task() -IL_0037: ret -} -.method public hidebysig specialname rtspecialname -instance void .ctor() cil managed -{ -.maxstack 8 -IL_0000: ldarg.0 -IL_0001: call instance void [System.Runtime]System.Object::.ctor() -IL_0006: nop -IL_0007: ret -} -} diff --git a/Tests/ModuleWeaverTests.DecompileExample.Debug.Core.verified.txt b/Tests/ModuleWeaverTests.DecompileExample.Debug.DotNet10_0.verified.txt similarity index 57% rename from Tests/ModuleWeaverTests.DecompileExample.Debug.Core.verified.txt rename to Tests/ModuleWeaverTests.DecompileExample.Debug.DotNet10_0.verified.txt index d5cee5d..0c4bd29 100644 --- a/Tests/ModuleWeaverTests.DecompileExample.Debug.Core.verified.txt +++ b/Tests/ModuleWeaverTests.DecompileExample.Debug.DotNet10_0.verified.txt @@ -1,25 +1,17 @@ .class public auto ansi beforefieldinit Example extends [System.Runtime]System.Object { -.custom instance void System.Runtime.CompilerServices.NullableContextAttribute::.ctor(uint8) = ( 01 00 01 00 00 ) -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) .class auto ansi sealed nested private beforefieldinit 'd__9' extends [System.Runtime]System.Object -implements [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine +implements [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine { -.interfaceimpl type [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) +.interfaceimpl type [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine .field public int32 '<>1__state' -.field public valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 '<>t__builder' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) +.field public valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 '<>t__builder' .field public class Example '<>4__this' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) .field private class Example '5__1' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) .field private class Example '<>s__2' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) .field private valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter`1 '<>u__1' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) .method public hidebysig specialname rtspecialname instance void .ctor() cil managed { @@ -32,7 +24,7 @@ IL_0007: ret .method private hidebysig newslot virtual final instance void MoveNext() cil managed { -.override [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext +.override [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext .maxstack 3 .locals init (int32 V_0, class Example V_1, @@ -67,10 +59,10 @@ IL_0033: stfld valuetype [System.Runtime]System.Runtime.CompilerServices.T IL_0038: ldarg.0 IL_0039: stloc.3 IL_003a: ldarg.0 -IL_003b: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__9'::'<>t__builder' +IL_003b: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__9'::'<>t__builder' IL_0040: ldloca.s V_2 IL_0042: ldloca.s V_3 -IL_0044: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::AwaitUnsafeOnCompleted,class Example/'d__9'>(!!0&, +IL_0044: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::AwaitUnsafeOnCompleted,class Example/'d__9'>(!!0&, !!1&) IL_0049: nop IL_004a: leave IL_00d1 @@ -111,9 +103,9 @@ IL_009e: ldarg.0 IL_009f: ldnull IL_00a0: stfld class Example Example/'d__9'::'5__1' IL_00a5: ldarg.0 -IL_00a6: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__9'::'<>t__builder' +IL_00a6: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__9'::'<>t__builder' IL_00ab: ldloc.s V_4 -IL_00ad: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetException(class [System.Runtime]System.Exception) +IL_00ad: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetException(class [System.Runtime]System.Exception) IL_00b2: nop IL_00b3: leave.s IL_00d1 } // end handler @@ -124,39 +116,31 @@ IL_00bd: ldarg.0 IL_00be: ldnull IL_00bf: stfld class Example Example/'d__9'::'5__1' IL_00c4: ldarg.0 -IL_00c5: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__9'::'<>t__builder' +IL_00c5: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__9'::'<>t__builder' IL_00ca: ldloc.1 -IL_00cb: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetResult(!0) +IL_00cb: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetResult(!0) IL_00d0: nop IL_00d1: ret } .method private hidebysig newslot virtual final -instance void SetStateMachine(class [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed +instance void SetStateMachine(class [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed { -.param [1] -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.override [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine +.override [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine .maxstack 8 IL_0000: ret } } .class auto ansi sealed nested private beforefieldinit 'd__21' extends [System.Runtime]System.Object -implements [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine +implements [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine { -.interfaceimpl type [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) +.interfaceimpl type [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine .field public int32 '<>1__state' -.field public valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 '<>t__builder' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) +.field public valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 '<>t__builder' .field public class Example '<>4__this' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) .field private class Example '5__1' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) .field private class Example '<>s__2' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field private valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ValueTaskAwaiter`1 '<>u__1' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8[]) = ( 01 00 02 00 00 00 00 01 00 00 ) +.field private valuetype [System.Runtime]System.Runtime.CompilerServices.ValueTaskAwaiter`1 '<>u__1' .method public hidebysig specialname rtspecialname instance void .ctor() cil managed { @@ -169,12 +153,12 @@ IL_0007: ret .method private hidebysig newslot virtual final instance void MoveNext() cil managed { -.override [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext +.override [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext .maxstack 3 .locals init (int32 V_0, class Example V_1, -valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ValueTaskAwaiter`1 V_2, -valuetype [System.Threading.Tasks.Extensions]System.Threading.Tasks.ValueTask`1 V_3, +valuetype [System.Runtime]System.Runtime.CompilerServices.ValueTaskAwaiter`1 V_2, +valuetype [System.Runtime]System.Threading.Tasks.ValueTask`1 V_3, class Example/'d__21' V_4, class [System.Runtime]System.Exception V_5) IL_0000: ldarg.0 @@ -189,13 +173,13 @@ IL_000c: br.s IL_0058 IL_000e: nop IL_000f: newobj instance void Example::.ctor() IL_0014: call class [System.Runtime]System.Threading.Tasks.Task`1 [System.Runtime]System.Threading.Tasks.Task::FromResult(!!0) -IL_0019: newobj instance void valuetype [System.Threading.Tasks.Extensions]System.Threading.Tasks.ValueTask`1::.ctor(class [System.Runtime]System.Threading.Tasks.Task`1) +IL_0019: newobj instance void valuetype [System.Runtime]System.Threading.Tasks.ValueTask`1::.ctor(class [System.Runtime]System.Threading.Tasks.Task`1) IL_001e: stloc.3 IL_001f: ldloca.s V_3 -IL_0021: call instance valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ValueTaskAwaiter`1 valuetype [System.Threading.Tasks.Extensions]System.Threading.Tasks.ValueTask`1::GetAwaiter() +IL_0021: call instance valuetype [System.Runtime]System.Runtime.CompilerServices.ValueTaskAwaiter`1 valuetype [System.Runtime]System.Threading.Tasks.ValueTask`1::GetAwaiter() IL_0026: stloc.2 IL_0027: ldloca.s V_2 -IL_0029: call instance bool valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ValueTaskAwaiter`1::get_IsCompleted() +IL_0029: call instance bool valuetype [System.Runtime]System.Runtime.CompilerServices.ValueTaskAwaiter`1::get_IsCompleted() IL_002e: brtrue.s IL_0074 IL_0030: ldarg.0 IL_0031: ldc.i4.0 @@ -204,23 +188,23 @@ IL_0033: stloc.0 IL_0034: stfld int32 Example/'d__21'::'<>1__state' IL_0039: ldarg.0 IL_003a: ldloc.2 -IL_003b: stfld valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ValueTaskAwaiter`1 Example/'d__21'::'<>u__1' +IL_003b: stfld valuetype [System.Runtime]System.Runtime.CompilerServices.ValueTaskAwaiter`1 Example/'d__21'::'<>u__1' IL_0040: ldarg.0 IL_0041: stloc.s V_4 IL_0043: ldarg.0 -IL_0044: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__21'::'<>t__builder' +IL_0044: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__21'::'<>t__builder' IL_0049: ldloca.s V_2 IL_004b: ldloca.s V_4 -IL_004d: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::AwaitUnsafeOnCompleted,class Example/'d__21'>(!!0&, +IL_004d: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::AwaitUnsafeOnCompleted,class Example/'d__21'>(!!0&, !!1&) IL_0052: nop IL_0053: leave IL_00da IL_0058: ldarg.0 -IL_0059: ldfld valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ValueTaskAwaiter`1 Example/'d__21'::'<>u__1' +IL_0059: ldfld valuetype [System.Runtime]System.Runtime.CompilerServices.ValueTaskAwaiter`1 Example/'d__21'::'<>u__1' IL_005e: stloc.2 IL_005f: ldarg.0 -IL_0060: ldflda valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ValueTaskAwaiter`1 Example/'d__21'::'<>u__1' -IL_0065: initobj valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ValueTaskAwaiter`1 +IL_0060: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.ValueTaskAwaiter`1 Example/'d__21'::'<>u__1' +IL_0065: initobj valuetype [System.Runtime]System.Runtime.CompilerServices.ValueTaskAwaiter`1 IL_006b: ldarg.0 IL_006c: ldc.i4.m1 IL_006d: dup @@ -228,7 +212,7 @@ IL_006e: stloc.0 IL_006f: stfld int32 Example/'d__21'::'<>1__state' IL_0074: ldarg.0 IL_0075: ldloca.s V_2 -IL_0077: call instance !0 valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ValueTaskAwaiter`1::GetResult() +IL_0077: call instance !0 valuetype [System.Runtime]System.Runtime.CompilerServices.ValueTaskAwaiter`1::GetResult() IL_007c: stfld class Example Example/'d__21'::'<>s__2' IL_0081: ldarg.0 IL_0082: ldarg.0 @@ -252,9 +236,9 @@ IL_00a7: ldarg.0 IL_00a8: ldnull IL_00a9: stfld class Example Example/'d__21'::'5__1' IL_00ae: ldarg.0 -IL_00af: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__21'::'<>t__builder' +IL_00af: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__21'::'<>t__builder' IL_00b4: ldloc.s V_5 -IL_00b6: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetException(class [System.Runtime]System.Exception) +IL_00b6: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetException(class [System.Runtime]System.Exception) IL_00bb: nop IL_00bc: leave.s IL_00da } // end handler @@ -265,39 +249,31 @@ IL_00c6: ldarg.0 IL_00c7: ldnull IL_00c8: stfld class Example Example/'d__21'::'5__1' IL_00cd: ldarg.0 -IL_00ce: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__21'::'<>t__builder' +IL_00ce: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__21'::'<>t__builder' IL_00d3: ldloc.1 -IL_00d4: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetResult(!0) +IL_00d4: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetResult(!0) IL_00d9: nop IL_00da: ret } .method private hidebysig newslot virtual final -instance void SetStateMachine(class [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed +instance void SetStateMachine(class [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed { -.param [1] -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.override [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine +.override [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine .maxstack 8 IL_0000: ret } } .class auto ansi sealed nested private beforefieldinit 'd__10' extends [System.Runtime]System.Object -implements [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine +implements [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine { -.interfaceimpl type [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) +.interfaceimpl type [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine .field public int32 '<>1__state' -.field public valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 '<>t__builder' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) +.field public valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 '<>t__builder' .field public class Example '<>4__this' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) .field private class Example '5__1' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) .field private class Example '<>s__2' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) .field private valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter '<>u__1' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) .method public hidebysig specialname rtspecialname instance void .ctor() cil managed { @@ -310,7 +286,7 @@ IL_0007: ret .method private hidebysig newslot virtual final instance void MoveNext() cil managed { -.override [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext +.override [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext .maxstack 3 .locals init (int32 V_0, class Example V_1, @@ -350,10 +326,10 @@ IL_003c: stfld valuetype [System.Private.CoreLib]System.Runtime.CompilerSe IL_0041: ldarg.0 IL_0042: stloc.s V_4 IL_0044: ldarg.0 -IL_0045: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__10'::'<>t__builder' +IL_0045: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__10'::'<>t__builder' IL_004a: ldloca.s V_2 IL_004c: ldloca.s V_4 -IL_004e: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::AwaitUnsafeOnCompleted,class Example/'d__10'>(!!0&, +IL_004e: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::AwaitUnsafeOnCompleted,class Example/'d__10'>(!!0&, !!1&) IL_0053: nop IL_0054: leave IL_00db @@ -394,9 +370,9 @@ IL_00a8: ldarg.0 IL_00a9: ldnull IL_00aa: stfld class Example Example/'d__10'::'5__1' IL_00af: ldarg.0 -IL_00b0: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__10'::'<>t__builder' +IL_00b0: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__10'::'<>t__builder' IL_00b5: ldloc.s V_5 -IL_00b7: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetException(class [System.Runtime]System.Exception) +IL_00b7: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetException(class [System.Runtime]System.Exception) IL_00bc: nop IL_00bd: leave.s IL_00db } // end handler @@ -407,39 +383,31 @@ IL_00c7: ldarg.0 IL_00c8: ldnull IL_00c9: stfld class Example Example/'d__10'::'5__1' IL_00ce: ldarg.0 -IL_00cf: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__10'::'<>t__builder' +IL_00cf: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__10'::'<>t__builder' IL_00d4: ldloc.1 -IL_00d5: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetResult(!0) +IL_00d5: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetResult(!0) IL_00da: nop IL_00db: ret } .method private hidebysig newslot virtual final -instance void SetStateMachine(class [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed +instance void SetStateMachine(class [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed { -.param [1] -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.override [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine +.override [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine .maxstack 8 IL_0000: ret } } .class auto ansi sealed nested private beforefieldinit 'd__22' extends [System.Runtime]System.Object -implements [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine +implements [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine { -.interfaceimpl type [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) +.interfaceimpl type [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine .field public int32 '<>1__state' -.field public valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 '<>t__builder' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) +.field public valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 '<>t__builder' .field public class Example '<>4__this' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) .field private class Example '5__1' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) .field private class Example '<>s__2' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) .field private valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1/ConfiguredValueTaskAwaiter '<>u__1' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8[]) = ( 01 00 02 00 00 00 00 01 00 00 ) .method public hidebysig specialname rtspecialname instance void .ctor() cil managed { @@ -452,13 +420,13 @@ IL_0007: ret .method private hidebysig newslot virtual final instance void MoveNext() cil managed { -.override [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext +.override [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext .maxstack 3 .locals init (int32 V_0, class Example V_1, valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1/ConfiguredValueTaskAwaiter V_2, valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1 V_3, -valuetype [System.Threading.Tasks.Extensions]System.Threading.Tasks.ValueTask`1 V_4, +valuetype [System.Runtime]System.Threading.Tasks.ValueTask`1 V_4, class Example/'d__22' V_5, class [System.Runtime]System.Exception V_6) IL_0000: ldarg.0 @@ -473,7 +441,7 @@ IL_000c: br.s IL_0062 IL_000e: nop IL_000f: newobj instance void Example::.ctor() IL_0014: call class [System.Runtime]System.Threading.Tasks.Task`1 [System.Runtime]System.Threading.Tasks.Task::FromResult(!!0) -IL_0019: call instance void valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1::.ctor(valuetype [System.Private.CoreLib]System.Threading.Tasks.ValueTask`1&) +IL_0019: newobj instance void valuetype [System.Runtime]System.Threading.Tasks.ValueTask`1::.ctor(class [System.Runtime]System.Threading.Tasks.Task`1) IL_001e: stloc.s V_4 IL_0020: ldloca.s V_4 IL_0022: ldc.i4.0 @@ -496,10 +464,10 @@ IL_0045: stfld valuetype [System.Private.CoreLib]System.Runtime.CompilerSe IL_004a: ldarg.0 IL_004b: stloc.s V_5 IL_004d: ldarg.0 -IL_004e: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__22'::'<>t__builder' +IL_004e: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__22'::'<>t__builder' IL_0053: ldloca.s V_2 IL_0055: ldloca.s V_5 -IL_0057: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::AwaitUnsafeOnCompleted,class Example/'d__22'>(!!0&, +IL_0057: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::AwaitUnsafeOnCompleted,class Example/'d__22'>(!!0&, !!1&) IL_005c: nop IL_005d: leave IL_00e4 @@ -540,9 +508,9 @@ IL_00b1: ldarg.0 IL_00b2: ldnull IL_00b3: stfld class Example Example/'d__22'::'5__1' IL_00b8: ldarg.0 -IL_00b9: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__22'::'<>t__builder' +IL_00b9: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__22'::'<>t__builder' IL_00be: ldloc.s V_6 -IL_00c0: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetException(class [System.Runtime]System.Exception) +IL_00c0: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetException(class [System.Runtime]System.Exception) IL_00c5: nop IL_00c6: leave.s IL_00e4 } // end handler @@ -553,39 +521,31 @@ IL_00d0: ldarg.0 IL_00d1: ldnull IL_00d2: stfld class Example Example/'d__22'::'5__1' IL_00d7: ldarg.0 -IL_00d8: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__22'::'<>t__builder' +IL_00d8: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__22'::'<>t__builder' IL_00dd: ldloc.1 -IL_00de: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetResult(!0) +IL_00de: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetResult(!0) IL_00e3: nop IL_00e4: ret } .method private hidebysig newslot virtual final -instance void SetStateMachine(class [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed +instance void SetStateMachine(class [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed { -.param [1] -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.override [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine +.override [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine .maxstack 8 IL_0000: ret } } .class auto ansi sealed nested private beforefieldinit 'd__11' extends [System.Runtime]System.Object -implements [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine +implements [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine { -.interfaceimpl type [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) +.interfaceimpl type [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine .field public int32 '<>1__state' -.field public valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 '<>t__builder' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) +.field public valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 '<>t__builder' .field public class Example '<>4__this' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) .field private class Example '5__1' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) .field private class Example '<>s__2' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) .field private valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter '<>u__1' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) .method public hidebysig specialname rtspecialname instance void .ctor() cil managed { @@ -598,7 +558,7 @@ IL_0007: ret .method private hidebysig newslot virtual final instance void MoveNext() cil managed { -.override [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext +.override [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext .maxstack 3 .locals init (int32 V_0, class Example V_1, @@ -638,10 +598,10 @@ IL_003c: stfld valuetype [System.Runtime]System.Runtime.CompilerServices.C IL_0041: ldarg.0 IL_0042: stloc.s V_4 IL_0044: ldarg.0 -IL_0045: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__11'::'<>t__builder' +IL_0045: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__11'::'<>t__builder' IL_004a: ldloca.s V_2 IL_004c: ldloca.s V_4 -IL_004e: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::AwaitUnsafeOnCompleted,class Example/'d__11'>(!!0&, +IL_004e: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::AwaitUnsafeOnCompleted,class Example/'d__11'>(!!0&, !!1&) IL_0053: nop IL_0054: leave IL_00db @@ -682,9 +642,9 @@ IL_00a8: ldarg.0 IL_00a9: ldnull IL_00aa: stfld class Example Example/'d__11'::'5__1' IL_00af: ldarg.0 -IL_00b0: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__11'::'<>t__builder' +IL_00b0: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__11'::'<>t__builder' IL_00b5: ldloc.s V_5 -IL_00b7: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetException(class [System.Runtime]System.Exception) +IL_00b7: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetException(class [System.Runtime]System.Exception) IL_00bc: nop IL_00bd: leave.s IL_00db } // end handler @@ -695,39 +655,31 @@ IL_00c7: ldarg.0 IL_00c8: ldnull IL_00c9: stfld class Example Example/'d__11'::'5__1' IL_00ce: ldarg.0 -IL_00cf: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__11'::'<>t__builder' +IL_00cf: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__11'::'<>t__builder' IL_00d4: ldloc.1 -IL_00d5: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetResult(!0) +IL_00d5: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetResult(!0) IL_00da: nop IL_00db: ret } .method private hidebysig newslot virtual final -instance void SetStateMachine(class [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed +instance void SetStateMachine(class [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed { -.param [1] -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.override [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine +.override [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine .maxstack 8 IL_0000: ret } } .class auto ansi sealed nested private beforefieldinit 'd__23' extends [System.Runtime]System.Object -implements [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine +implements [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine { -.interfaceimpl type [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) +.interfaceimpl type [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine .field public int32 '<>1__state' -.field public valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 '<>t__builder' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) +.field public valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 '<>t__builder' .field public class Example '<>4__this' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) .field private class Example '5__1' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) .field private class Example '<>s__2' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field private valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1/ConfiguredValueTaskAwaiter '<>u__1' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8[]) = ( 01 00 02 00 00 00 00 01 00 00 ) +.field private valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1/ConfiguredValueTaskAwaiter '<>u__1' .method public hidebysig specialname rtspecialname instance void .ctor() cil managed { @@ -740,13 +692,13 @@ IL_0007: ret .method private hidebysig newslot virtual final instance void MoveNext() cil managed { -.override [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext +.override [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext .maxstack 3 .locals init (int32 V_0, class Example V_1, -valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1/ConfiguredValueTaskAwaiter V_2, -valuetype [System.Threading.Tasks.Extensions]System.Threading.Tasks.ValueTask`1 V_3, -valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1 V_4, +valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1/ConfiguredValueTaskAwaiter V_2, +valuetype [System.Runtime]System.Threading.Tasks.ValueTask`1 V_3, +valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1 V_4, class Example/'d__23' V_5, class [System.Runtime]System.Exception V_6) IL_0000: ldarg.0 @@ -761,17 +713,17 @@ IL_000c: br.s IL_0062 IL_000e: nop IL_000f: newobj instance void Example::.ctor() IL_0014: call class [System.Runtime]System.Threading.Tasks.Task`1 [System.Runtime]System.Threading.Tasks.Task::FromResult(!!0) -IL_0019: newobj instance void valuetype [System.Threading.Tasks.Extensions]System.Threading.Tasks.ValueTask`1::.ctor(class [System.Runtime]System.Threading.Tasks.Task`1) +IL_0019: newobj instance void valuetype [System.Runtime]System.Threading.Tasks.ValueTask`1::.ctor(class [System.Runtime]System.Threading.Tasks.Task`1) IL_001e: stloc.3 IL_001f: ldloca.s V_3 IL_0021: ldc.i4.0 -IL_0022: call instance valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1 valuetype [System.Threading.Tasks.Extensions]System.Threading.Tasks.ValueTask`1::ConfigureAwait(bool) +IL_0022: call instance valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1 valuetype [System.Runtime]System.Threading.Tasks.ValueTask`1::ConfigureAwait(bool) IL_0027: stloc.s V_4 IL_0029: ldloca.s V_4 -IL_002b: call instance valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1/ConfiguredValueTaskAwaiter valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1::GetAwaiter() +IL_002b: call instance valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1/ConfiguredValueTaskAwaiter valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1::GetAwaiter() IL_0030: stloc.2 IL_0031: ldloca.s V_2 -IL_0033: call instance bool valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1/ConfiguredValueTaskAwaiter::get_IsCompleted() +IL_0033: call instance bool valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1/ConfiguredValueTaskAwaiter::get_IsCompleted() IL_0038: brtrue.s IL_007e IL_003a: ldarg.0 IL_003b: ldc.i4.0 @@ -780,23 +732,23 @@ IL_003d: stloc.0 IL_003e: stfld int32 Example/'d__23'::'<>1__state' IL_0043: ldarg.0 IL_0044: ldloc.2 -IL_0045: stfld valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1/ConfiguredValueTaskAwaiter Example/'d__23'::'<>u__1' +IL_0045: stfld valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1/ConfiguredValueTaskAwaiter Example/'d__23'::'<>u__1' IL_004a: ldarg.0 IL_004b: stloc.s V_5 IL_004d: ldarg.0 -IL_004e: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__23'::'<>t__builder' +IL_004e: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__23'::'<>t__builder' IL_0053: ldloca.s V_2 IL_0055: ldloca.s V_5 -IL_0057: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::AwaitUnsafeOnCompleted,class Example/'d__23'>(!!0&, +IL_0057: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::AwaitUnsafeOnCompleted,class Example/'d__23'>(!!0&, !!1&) IL_005c: nop IL_005d: leave IL_00e4 IL_0062: ldarg.0 -IL_0063: ldfld valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1/ConfiguredValueTaskAwaiter Example/'d__23'::'<>u__1' +IL_0063: ldfld valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1/ConfiguredValueTaskAwaiter Example/'d__23'::'<>u__1' IL_0068: stloc.2 IL_0069: ldarg.0 -IL_006a: ldflda valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1/ConfiguredValueTaskAwaiter Example/'d__23'::'<>u__1' -IL_006f: initobj valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1/ConfiguredValueTaskAwaiter +IL_006a: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1/ConfiguredValueTaskAwaiter Example/'d__23'::'<>u__1' +IL_006f: initobj valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1/ConfiguredValueTaskAwaiter IL_0075: ldarg.0 IL_0076: ldc.i4.m1 IL_0077: dup @@ -804,7 +756,7 @@ IL_0078: stloc.0 IL_0079: stfld int32 Example/'d__23'::'<>1__state' IL_007e: ldarg.0 IL_007f: ldloca.s V_2 -IL_0081: call instance !0 valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1/ConfiguredValueTaskAwaiter::GetResult() +IL_0081: call instance !0 valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1/ConfiguredValueTaskAwaiter::GetResult() IL_0086: stfld class Example Example/'d__23'::'<>s__2' IL_008b: ldarg.0 IL_008c: ldarg.0 @@ -828,9 +780,9 @@ IL_00b1: ldarg.0 IL_00b2: ldnull IL_00b3: stfld class Example Example/'d__23'::'5__1' IL_00b8: ldarg.0 -IL_00b9: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__23'::'<>t__builder' +IL_00b9: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__23'::'<>t__builder' IL_00be: ldloc.s V_6 -IL_00c0: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetException(class [System.Runtime]System.Exception) +IL_00c0: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetException(class [System.Runtime]System.Exception) IL_00c5: nop IL_00c6: leave.s IL_00e4 } // end handler @@ -841,32 +793,28 @@ IL_00d0: ldarg.0 IL_00d1: ldnull IL_00d2: stfld class Example Example/'d__23'::'5__1' IL_00d7: ldarg.0 -IL_00d8: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__23'::'<>t__builder' +IL_00d8: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__23'::'<>t__builder' IL_00dd: ldloc.1 -IL_00de: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetResult(!0) +IL_00de: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetResult(!0) IL_00e3: nop IL_00e4: ret } .method private hidebysig newslot virtual final -instance void SetStateMachine(class [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed +instance void SetStateMachine(class [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed { -.param [1] -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.override [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine +.override [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine .maxstack 8 IL_0000: ret } } .class auto ansi sealed nested private beforefieldinit 'd__0' extends [System.Runtime]System.Object -implements [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine +implements [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine { -.interfaceimpl type [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) +.interfaceimpl type [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine .field public int32 '<>1__state' -.field public valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder '<>t__builder' +.field public valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder '<>t__builder' .field public class Example '<>4__this' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) .field private valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter '<>u__1' .method public hidebysig specialname rtspecialname instance void .ctor() cil managed @@ -880,7 +828,7 @@ IL_0007: ret .method private hidebysig newslot virtual final instance void MoveNext() cil managed { -.override [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext +.override [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext .maxstack 3 .locals init (int32 V_0, valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter V_1, @@ -914,10 +862,10 @@ IL_002f: stfld valuetype [System.Runtime]System.Runtime.CompilerServices.T IL_0034: ldarg.0 IL_0035: stloc.2 IL_0036: ldarg.0 -IL_0037: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Example/'d__0'::'<>t__builder' +IL_0037: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Example/'d__0'::'<>t__builder' IL_003c: ldloca.s V_1 IL_003e: ldloca.s V_2 -IL_0040: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::AwaitUnsafeOnCompletedd__0'>(!!0&, +IL_0040: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::AwaitUnsafeOnCompletedd__0'>(!!0&, !!1&) IL_0045: nop IL_0046: leave.s IL_009a @@ -944,9 +892,9 @@ IL_006f: ldarg.0 IL_0070: ldc.i4.s -2 IL_0072: stfld int32 Example/'d__0'::'<>1__state' IL_0077: ldarg.0 -IL_0078: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Example/'d__0'::'<>t__builder' +IL_0078: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Example/'d__0'::'<>t__builder' IL_007d: ldloc.3 -IL_007e: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetException(class [System.Runtime]System.Exception) +IL_007e: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetException(class [System.Runtime]System.Exception) IL_0083: nop IL_0084: leave.s IL_009a } // end handler @@ -954,32 +902,28 @@ IL_0086: ldarg.0 IL_0087: ldc.i4.s -2 IL_0089: stfld int32 Example/'d__0'::'<>1__state' IL_008e: ldarg.0 -IL_008f: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Example/'d__0'::'<>t__builder' -IL_0094: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetResult() +IL_008f: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Example/'d__0'::'<>t__builder' +IL_0094: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetResult() IL_0099: nop IL_009a: ret } .method private hidebysig newslot virtual final -instance void SetStateMachine(class [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed +instance void SetStateMachine(class [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed { -.param [1] -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.override [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine +.override [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine .maxstack 8 IL_0000: ret } } .class auto ansi sealed nested private beforefieldinit 'd__12' extends [System.Runtime]System.Object -implements [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine +implements [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine { -.interfaceimpl type [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) +.interfaceimpl type [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine .field public int32 '<>1__state' -.field public valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder '<>t__builder' +.field public valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder '<>t__builder' .field public class Example '<>4__this' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field private valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ValueTaskAwaiter '<>u__1' +.field private valuetype [System.Runtime]System.Runtime.CompilerServices.ValueTaskAwaiter '<>u__1' .method public hidebysig specialname rtspecialname instance void .ctor() cil managed { @@ -992,11 +936,11 @@ IL_0007: ret .method private hidebysig newslot virtual final instance void MoveNext() cil managed { -.override [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext +.override [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext .maxstack 3 .locals init (int32 V_0, -valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ValueTaskAwaiter V_1, -valuetype [System.Threading.Tasks.Extensions]System.Threading.Tasks.ValueTask V_2, +valuetype [System.Runtime]System.Runtime.CompilerServices.ValueTaskAwaiter V_1, +valuetype [System.Runtime]System.Threading.Tasks.ValueTask V_2, class Example/'d__12' V_3, class [System.Runtime]System.Exception V_4) IL_0000: ldarg.0 @@ -1011,13 +955,13 @@ IL_000c: br.s IL_0050 IL_000e: nop IL_000f: ldc.i4.1 IL_0010: call class [System.Runtime]System.Threading.Tasks.Task [System.Runtime]System.Threading.Tasks.Task::Delay(int32) -IL_0015: newobj instance void [System.Threading.Tasks.Extensions]System.Threading.Tasks.ValueTask::.ctor(class [System.Runtime]System.Threading.Tasks.Task) +IL_0015: newobj instance void [System.Runtime]System.Threading.Tasks.ValueTask::.ctor(class [System.Runtime]System.Threading.Tasks.Task) IL_001a: stloc.2 IL_001b: ldloca.s V_2 -IL_001d: call instance valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ValueTaskAwaiter [System.Threading.Tasks.Extensions]System.Threading.Tasks.ValueTask::GetAwaiter() +IL_001d: call instance valuetype [System.Runtime]System.Runtime.CompilerServices.ValueTaskAwaiter [System.Runtime]System.Threading.Tasks.ValueTask::GetAwaiter() IL_0022: stloc.1 IL_0023: ldloca.s V_1 -IL_0025: call instance bool [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ValueTaskAwaiter::get_IsCompleted() +IL_0025: call instance bool [System.Runtime]System.Runtime.CompilerServices.ValueTaskAwaiter::get_IsCompleted() IL_002a: brtrue.s IL_006c IL_002c: ldarg.0 IL_002d: ldc.i4.0 @@ -1026,30 +970,30 @@ IL_002f: stloc.0 IL_0030: stfld int32 Example/'d__12'::'<>1__state' IL_0035: ldarg.0 IL_0036: ldloc.1 -IL_0037: stfld valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ValueTaskAwaiter Example/'d__12'::'<>u__1' +IL_0037: stfld valuetype [System.Runtime]System.Runtime.CompilerServices.ValueTaskAwaiter Example/'d__12'::'<>u__1' IL_003c: ldarg.0 IL_003d: stloc.3 IL_003e: ldarg.0 -IL_003f: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Example/'d__12'::'<>t__builder' +IL_003f: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Example/'d__12'::'<>t__builder' IL_0044: ldloca.s V_1 IL_0046: ldloca.s V_3 -IL_0048: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::AwaitUnsafeOnCompletedd__12'>(!!0&, +IL_0048: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::AwaitUnsafeOnCompletedd__12'>(!!0&, !!1&) IL_004d: nop IL_004e: leave.s IL_00a4 IL_0050: ldarg.0 -IL_0051: ldfld valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ValueTaskAwaiter Example/'d__12'::'<>u__1' +IL_0051: ldfld valuetype [System.Runtime]System.Runtime.CompilerServices.ValueTaskAwaiter Example/'d__12'::'<>u__1' IL_0056: stloc.1 IL_0057: ldarg.0 -IL_0058: ldflda valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ValueTaskAwaiter Example/'d__12'::'<>u__1' -IL_005d: initobj [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ValueTaskAwaiter +IL_0058: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.ValueTaskAwaiter Example/'d__12'::'<>u__1' +IL_005d: initobj [System.Runtime]System.Runtime.CompilerServices.ValueTaskAwaiter IL_0063: ldarg.0 IL_0064: ldc.i4.m1 IL_0065: dup IL_0066: stloc.0 IL_0067: stfld int32 Example/'d__12'::'<>1__state' IL_006c: ldloca.s V_1 -IL_006e: call instance void [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ValueTaskAwaiter::GetResult() +IL_006e: call instance void [System.Runtime]System.Runtime.CompilerServices.ValueTaskAwaiter::GetResult() IL_0073: nop IL_0074: leave.s IL_0090 } // end .try @@ -1060,9 +1004,9 @@ IL_0078: ldarg.0 IL_0079: ldc.i4.s -2 IL_007b: stfld int32 Example/'d__12'::'<>1__state' IL_0080: ldarg.0 -IL_0081: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Example/'d__12'::'<>t__builder' +IL_0081: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Example/'d__12'::'<>t__builder' IL_0086: ldloc.s V_4 -IL_0088: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetException(class [System.Runtime]System.Exception) +IL_0088: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetException(class [System.Runtime]System.Exception) IL_008d: nop IL_008e: leave.s IL_00a4 } // end handler @@ -1070,31 +1014,27 @@ IL_0090: ldarg.0 IL_0091: ldc.i4.s -2 IL_0093: stfld int32 Example/'d__12'::'<>1__state' IL_0098: ldarg.0 -IL_0099: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Example/'d__12'::'<>t__builder' -IL_009e: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetResult() +IL_0099: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Example/'d__12'::'<>t__builder' +IL_009e: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetResult() IL_00a3: nop IL_00a4: ret } .method private hidebysig newslot virtual final -instance void SetStateMachine(class [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed +instance void SetStateMachine(class [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed { -.param [1] -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.override [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine +.override [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine .maxstack 8 IL_0000: ret } } .class auto ansi sealed nested private beforefieldinit 'd__1' extends [System.Runtime]System.Object -implements [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine +implements [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine { -.interfaceimpl type [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) +.interfaceimpl type [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine .field public int32 '<>1__state' -.field public valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder '<>t__builder' +.field public valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder '<>t__builder' .field public class Example '<>4__this' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) .field private valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter '<>u__1' .method public hidebysig specialname rtspecialname instance void .ctor() cil managed @@ -1108,7 +1048,7 @@ IL_0007: ret .method private hidebysig newslot virtual final instance void MoveNext() cil managed { -.override [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext +.override [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext .maxstack 3 .locals init (int32 V_0, valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter V_1, @@ -1147,10 +1087,10 @@ IL_0038: stfld valuetype [System.Private.CoreLib]System.Runtime.CompilerSe IL_003d: ldarg.0 IL_003e: stloc.3 IL_003f: ldarg.0 -IL_0040: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Example/'d__1'::'<>t__builder' +IL_0040: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Example/'d__1'::'<>t__builder' IL_0045: ldloca.s V_1 IL_0047: ldloca.s V_3 -IL_0049: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::AwaitUnsafeOnCompletedd__1'>(!!0&, +IL_0049: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::AwaitUnsafeOnCompletedd__1'>(!!0&, !!1&) IL_004e: nop IL_004f: leave.s IL_00a5 @@ -1177,9 +1117,9 @@ IL_0079: ldarg.0 IL_007a: ldc.i4.s -2 IL_007c: stfld int32 Example/'d__1'::'<>1__state' IL_0081: ldarg.0 -IL_0082: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Example/'d__1'::'<>t__builder' +IL_0082: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Example/'d__1'::'<>t__builder' IL_0087: ldloc.s V_4 -IL_0089: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetException(class [System.Runtime]System.Exception) +IL_0089: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetException(class [System.Runtime]System.Exception) IL_008e: nop IL_008f: leave.s IL_00a5 } // end handler @@ -1187,31 +1127,27 @@ IL_0091: ldarg.0 IL_0092: ldc.i4.s -2 IL_0094: stfld int32 Example/'d__1'::'<>1__state' IL_0099: ldarg.0 -IL_009a: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Example/'d__1'::'<>t__builder' -IL_009f: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetResult() +IL_009a: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Example/'d__1'::'<>t__builder' +IL_009f: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetResult() IL_00a4: nop IL_00a5: ret } .method private hidebysig newslot virtual final -instance void SetStateMachine(class [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed +instance void SetStateMachine(class [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed { -.param [1] -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.override [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine +.override [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine .maxstack 8 IL_0000: ret } } .class auto ansi sealed nested private beforefieldinit 'd__13' extends [System.Runtime]System.Object -implements [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine +implements [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine { -.interfaceimpl type [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) +.interfaceimpl type [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine .field public int32 '<>1__state' -.field public valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder '<>t__builder' +.field public valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder '<>t__builder' .field public class Example '<>4__this' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) .field private valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter '<>u__1' .method public hidebysig specialname rtspecialname instance void .ctor() cil managed @@ -1225,12 +1161,12 @@ IL_0007: ret .method private hidebysig newslot virtual final instance void MoveNext() cil managed { -.override [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext +.override [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext .maxstack 3 .locals init (int32 V_0, valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter V_1, valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable V_2, -valuetype [System.Threading.Tasks.Extensions]System.Threading.Tasks.ValueTask V_3, +valuetype [System.Runtime]System.Threading.Tasks.ValueTask V_3, class Example/'d__13' V_4, class [System.Runtime]System.Exception V_5) IL_0000: ldarg.0 @@ -1245,7 +1181,7 @@ IL_000c: br.s IL_005a IL_000e: nop IL_000f: ldc.i4.1 IL_0010: call class [System.Runtime]System.Threading.Tasks.Task [System.Runtime]System.Threading.Tasks.Task::Delay(int32) -IL_0015: call instance void [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable::.ctor(valuetype [System.Private.CoreLib]System.Threading.Tasks.ValueTask&) +IL_0015: newobj instance void [System.Runtime]System.Threading.Tasks.ValueTask::.ctor(class [System.Runtime]System.Threading.Tasks.Task) IL_001a: stloc.3 IL_001b: ldloca.s V_3 IL_001d: ldc.i4.0 @@ -1268,10 +1204,10 @@ IL_0040: stfld valuetype [System.Private.CoreLib]System.Runtime.CompilerSe IL_0045: ldarg.0 IL_0046: stloc.s V_4 IL_0048: ldarg.0 -IL_0049: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Example/'d__13'::'<>t__builder' +IL_0049: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Example/'d__13'::'<>t__builder' IL_004e: ldloca.s V_1 IL_0050: ldloca.s V_4 -IL_0052: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::AwaitUnsafeOnCompletedd__13'>(!!0&, +IL_0052: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::AwaitUnsafeOnCompletedd__13'>(!!0&, !!1&) IL_0057: nop IL_0058: leave.s IL_00ae @@ -1298,9 +1234,9 @@ IL_0082: ldarg.0 IL_0083: ldc.i4.s -2 IL_0085: stfld int32 Example/'d__13'::'<>1__state' IL_008a: ldarg.0 -IL_008b: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Example/'d__13'::'<>t__builder' +IL_008b: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Example/'d__13'::'<>t__builder' IL_0090: ldloc.s V_5 -IL_0092: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetException(class [System.Runtime]System.Exception) +IL_0092: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetException(class [System.Runtime]System.Exception) IL_0097: nop IL_0098: leave.s IL_00ae } // end handler @@ -1308,31 +1244,27 @@ IL_009a: ldarg.0 IL_009b: ldc.i4.s -2 IL_009d: stfld int32 Example/'d__13'::'<>1__state' IL_00a2: ldarg.0 -IL_00a3: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Example/'d__13'::'<>t__builder' -IL_00a8: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetResult() +IL_00a3: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Example/'d__13'::'<>t__builder' +IL_00a8: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetResult() IL_00ad: nop IL_00ae: ret } .method private hidebysig newslot virtual final -instance void SetStateMachine(class [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed +instance void SetStateMachine(class [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed { -.param [1] -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.override [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine +.override [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine .maxstack 8 IL_0000: ret } } .class auto ansi sealed nested private beforefieldinit 'd__2' extends [System.Runtime]System.Object -implements [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine +implements [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine { -.interfaceimpl type [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) +.interfaceimpl type [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine .field public int32 '<>1__state' -.field public valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder '<>t__builder' +.field public valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder '<>t__builder' .field public class Example '<>4__this' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) .field private valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter '<>u__1' .method public hidebysig specialname rtspecialname instance void .ctor() cil managed @@ -1346,7 +1278,7 @@ IL_0007: ret .method private hidebysig newslot virtual final instance void MoveNext() cil managed { -.override [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext +.override [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext .maxstack 3 .locals init (int32 V_0, valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter V_1, @@ -1385,10 +1317,10 @@ IL_0038: stfld valuetype [System.Runtime]System.Runtime.CompilerServices.C IL_003d: ldarg.0 IL_003e: stloc.3 IL_003f: ldarg.0 -IL_0040: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Example/'d__2'::'<>t__builder' +IL_0040: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Example/'d__2'::'<>t__builder' IL_0045: ldloca.s V_1 IL_0047: ldloca.s V_3 -IL_0049: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::AwaitUnsafeOnCompletedd__2'>(!!0&, +IL_0049: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::AwaitUnsafeOnCompletedd__2'>(!!0&, !!1&) IL_004e: nop IL_004f: leave.s IL_00a5 @@ -1415,9 +1347,9 @@ IL_0079: ldarg.0 IL_007a: ldc.i4.s -2 IL_007c: stfld int32 Example/'d__2'::'<>1__state' IL_0081: ldarg.0 -IL_0082: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Example/'d__2'::'<>t__builder' +IL_0082: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Example/'d__2'::'<>t__builder' IL_0087: ldloc.s V_4 -IL_0089: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetException(class [System.Runtime]System.Exception) +IL_0089: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetException(class [System.Runtime]System.Exception) IL_008e: nop IL_008f: leave.s IL_00a5 } // end handler @@ -1425,32 +1357,28 @@ IL_0091: ldarg.0 IL_0092: ldc.i4.s -2 IL_0094: stfld int32 Example/'d__2'::'<>1__state' IL_0099: ldarg.0 -IL_009a: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Example/'d__2'::'<>t__builder' -IL_009f: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetResult() +IL_009a: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Example/'d__2'::'<>t__builder' +IL_009f: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetResult() IL_00a4: nop IL_00a5: ret } .method private hidebysig newslot virtual final -instance void SetStateMachine(class [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed +instance void SetStateMachine(class [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed { -.param [1] -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.override [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine +.override [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine .maxstack 8 IL_0000: ret } } .class auto ansi sealed nested private beforefieldinit 'd__14' extends [System.Runtime]System.Object -implements [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine +implements [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine { -.interfaceimpl type [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) +.interfaceimpl type [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine .field public int32 '<>1__state' -.field public valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder '<>t__builder' +.field public valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder '<>t__builder' .field public class Example '<>4__this' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field private valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter '<>u__1' +.field private valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter '<>u__1' .method public hidebysig specialname rtspecialname instance void .ctor() cil managed { @@ -1463,12 +1391,12 @@ IL_0007: ret .method private hidebysig newslot virtual final instance void MoveNext() cil managed { -.override [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext +.override [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext .maxstack 3 .locals init (int32 V_0, -valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter V_1, -valuetype [System.Threading.Tasks.Extensions]System.Threading.Tasks.ValueTask V_2, -valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable V_3, +valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter V_1, +valuetype [System.Runtime]System.Threading.Tasks.ValueTask V_2, +valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable V_3, class Example/'d__14' V_4, class [System.Runtime]System.Exception V_5) IL_0000: ldarg.0 @@ -1483,17 +1411,17 @@ IL_000c: br.s IL_005a IL_000e: nop IL_000f: ldc.i4.1 IL_0010: call class [System.Runtime]System.Threading.Tasks.Task [System.Runtime]System.Threading.Tasks.Task::Delay(int32) -IL_0015: newobj instance void [System.Threading.Tasks.Extensions]System.Threading.Tasks.ValueTask::.ctor(class [System.Runtime]System.Threading.Tasks.Task) +IL_0015: newobj instance void [System.Runtime]System.Threading.Tasks.ValueTask::.ctor(class [System.Runtime]System.Threading.Tasks.Task) IL_001a: stloc.2 IL_001b: ldloca.s V_2 IL_001d: ldc.i4.0 -IL_001e: call instance valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable [System.Threading.Tasks.Extensions]System.Threading.Tasks.ValueTask::ConfigureAwait(bool) +IL_001e: call instance valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable [System.Runtime]System.Threading.Tasks.ValueTask::ConfigureAwait(bool) IL_0023: stloc.3 IL_0024: ldloca.s V_3 -IL_0026: call instance valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable::GetAwaiter() +IL_0026: call instance valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter [System.Runtime]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable::GetAwaiter() IL_002b: stloc.1 IL_002c: ldloca.s V_1 -IL_002e: call instance bool [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter::get_IsCompleted() +IL_002e: call instance bool [System.Runtime]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter::get_IsCompleted() IL_0033: brtrue.s IL_0076 IL_0035: ldarg.0 IL_0036: ldc.i4.0 @@ -1502,30 +1430,30 @@ IL_0038: stloc.0 IL_0039: stfld int32 Example/'d__14'::'<>1__state' IL_003e: ldarg.0 IL_003f: ldloc.1 -IL_0040: stfld valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter Example/'d__14'::'<>u__1' +IL_0040: stfld valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter Example/'d__14'::'<>u__1' IL_0045: ldarg.0 IL_0046: stloc.s V_4 IL_0048: ldarg.0 -IL_0049: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Example/'d__14'::'<>t__builder' +IL_0049: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Example/'d__14'::'<>t__builder' IL_004e: ldloca.s V_1 IL_0050: ldloca.s V_4 -IL_0052: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::AwaitUnsafeOnCompletedd__14'>(!!0&, +IL_0052: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::AwaitUnsafeOnCompletedd__14'>(!!0&, !!1&) IL_0057: nop IL_0058: leave.s IL_00ae IL_005a: ldarg.0 -IL_005b: ldfld valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter Example/'d__14'::'<>u__1' +IL_005b: ldfld valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter Example/'d__14'::'<>u__1' IL_0060: stloc.1 IL_0061: ldarg.0 -IL_0062: ldflda valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter Example/'d__14'::'<>u__1' -IL_0067: initobj [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter +IL_0062: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter Example/'d__14'::'<>u__1' +IL_0067: initobj [System.Runtime]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter IL_006d: ldarg.0 IL_006e: ldc.i4.m1 IL_006f: dup IL_0070: stloc.0 IL_0071: stfld int32 Example/'d__14'::'<>1__state' IL_0076: ldloca.s V_1 -IL_0078: call instance void [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter::GetResult() +IL_0078: call instance void [System.Runtime]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter::GetResult() IL_007d: nop IL_007e: leave.s IL_009a } // end .try @@ -1536,9 +1464,9 @@ IL_0082: ldarg.0 IL_0083: ldc.i4.s -2 IL_0085: stfld int32 Example/'d__14'::'<>1__state' IL_008a: ldarg.0 -IL_008b: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Example/'d__14'::'<>t__builder' +IL_008b: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Example/'d__14'::'<>t__builder' IL_0090: ldloc.s V_5 -IL_0092: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetException(class [System.Runtime]System.Exception) +IL_0092: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetException(class [System.Runtime]System.Exception) IL_0097: nop IL_0098: leave.s IL_00ae } // end handler @@ -1546,36 +1474,30 @@ IL_009a: ldarg.0 IL_009b: ldc.i4.s -2 IL_009d: stfld int32 Example/'d__14'::'<>1__state' IL_00a2: ldarg.0 -IL_00a3: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Example/'d__14'::'<>t__builder' -IL_00a8: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetResult() +IL_00a3: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Example/'d__14'::'<>t__builder' +IL_00a8: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetResult() IL_00ad: nop IL_00ae: ret } .method private hidebysig newslot virtual final -instance void SetStateMachine(class [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed +instance void SetStateMachine(class [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed { -.param [1] -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.override [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine +.override [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine .maxstack 8 IL_0000: ret } } .class auto ansi sealed nested private beforefieldinit 'd__3' extends [System.Runtime]System.Object -implements [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine +implements [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine { -.interfaceimpl type [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) +.interfaceimpl type [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine .field public int32 '<>1__state' -.field public valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 '<>t__builder' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) +.field public valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 '<>t__builder' .field public class Example '<>4__this' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) .field private int32 '5__1' .field private int32 '<>s__2' .field private valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter`1 '<>u__1' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) .method public hidebysig specialname rtspecialname instance void .ctor() cil managed { @@ -1588,7 +1510,7 @@ IL_0007: ret .method private hidebysig newslot virtual final instance void MoveNext() cil managed { -.override [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext +.override [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext .maxstack 3 .locals init (int32 V_0, int32 V_1, @@ -1623,10 +1545,10 @@ IL_0030: stfld valuetype [System.Runtime]System.Runtime.CompilerServices.T IL_0035: ldarg.0 IL_0036: stloc.3 IL_0037: ldarg.0 -IL_0038: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__3'::'<>t__builder' +IL_0038: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__3'::'<>t__builder' IL_003d: ldloca.s V_2 IL_003f: ldloca.s V_3 -IL_0041: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::AwaitUnsafeOnCompleted,class Example/'d__3'>(!!0&, +IL_0041: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::AwaitUnsafeOnCompleted,class Example/'d__3'>(!!0&, !!1&) IL_0046: nop IL_0047: leave.s IL_00b6 @@ -1661,9 +1583,9 @@ IL_0089: ldarg.0 IL_008a: ldc.i4.s -2 IL_008c: stfld int32 Example/'d__3'::'<>1__state' IL_0091: ldarg.0 -IL_0092: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__3'::'<>t__builder' +IL_0092: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__3'::'<>t__builder' IL_0097: ldloc.s V_4 -IL_0099: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetException(class [System.Runtime]System.Exception) +IL_0099: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetException(class [System.Runtime]System.Exception) IL_009e: nop IL_009f: leave.s IL_00b6 } // end handler @@ -1671,37 +1593,31 @@ IL_00a1: ldarg.0 IL_00a2: ldc.i4.s -2 IL_00a4: stfld int32 Example/'d__3'::'<>1__state' IL_00a9: ldarg.0 -IL_00aa: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__3'::'<>t__builder' +IL_00aa: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__3'::'<>t__builder' IL_00af: ldloc.1 -IL_00b0: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetResult(!0) +IL_00b0: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetResult(!0) IL_00b5: nop IL_00b6: ret } .method private hidebysig newslot virtual final -instance void SetStateMachine(class [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed +instance void SetStateMachine(class [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed { -.param [1] -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.override [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine +.override [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine .maxstack 8 IL_0000: ret } } .class auto ansi sealed nested private beforefieldinit 'd__15' extends [System.Runtime]System.Object -implements [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine +implements [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine { -.interfaceimpl type [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) +.interfaceimpl type [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine .field public int32 '<>1__state' -.field public valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 '<>t__builder' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) +.field public valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 '<>t__builder' .field public class Example '<>4__this' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) .field private int32 '5__1' .field private int32 '<>s__2' -.field private valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ValueTaskAwaiter`1 '<>u__1' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) +.field private valuetype [System.Runtime]System.Runtime.CompilerServices.ValueTaskAwaiter`1 '<>u__1' .method public hidebysig specialname rtspecialname instance void .ctor() cil managed { @@ -1714,12 +1630,12 @@ IL_0007: ret .method private hidebysig newslot virtual final instance void MoveNext() cil managed { -.override [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext +.override [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext .maxstack 3 .locals init (int32 V_0, int32 V_1, -valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ValueTaskAwaiter`1 V_2, -valuetype [System.Threading.Tasks.Extensions]System.Threading.Tasks.ValueTask`1 V_3, +valuetype [System.Runtime]System.Runtime.CompilerServices.ValueTaskAwaiter`1 V_2, +valuetype [System.Runtime]System.Threading.Tasks.ValueTask`1 V_3, class Example/'d__15' V_4, class [System.Runtime]System.Exception V_5) IL_0000: ldarg.0 @@ -1734,13 +1650,13 @@ IL_000c: br.s IL_0052 IL_000e: nop IL_000f: ldc.i4.s 10 IL_0011: call class [System.Runtime]System.Threading.Tasks.Task`1 [System.Runtime]System.Threading.Tasks.Task::FromResult(!!0) -IL_0016: newobj instance void valuetype [System.Threading.Tasks.Extensions]System.Threading.Tasks.ValueTask`1::.ctor(class [System.Runtime]System.Threading.Tasks.Task`1) +IL_0016: newobj instance void valuetype [System.Runtime]System.Threading.Tasks.ValueTask`1::.ctor(class [System.Runtime]System.Threading.Tasks.Task`1) IL_001b: stloc.3 IL_001c: ldloca.s V_3 -IL_001e: call instance valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ValueTaskAwaiter`1 valuetype [System.Threading.Tasks.Extensions]System.Threading.Tasks.ValueTask`1::GetAwaiter() +IL_001e: call instance valuetype [System.Runtime]System.Runtime.CompilerServices.ValueTaskAwaiter`1 valuetype [System.Runtime]System.Threading.Tasks.ValueTask`1::GetAwaiter() IL_0023: stloc.2 IL_0024: ldloca.s V_2 -IL_0026: call instance bool valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ValueTaskAwaiter`1::get_IsCompleted() +IL_0026: call instance bool valuetype [System.Runtime]System.Runtime.CompilerServices.ValueTaskAwaiter`1::get_IsCompleted() IL_002b: brtrue.s IL_006e IL_002d: ldarg.0 IL_002e: ldc.i4.0 @@ -1749,23 +1665,23 @@ IL_0030: stloc.0 IL_0031: stfld int32 Example/'d__15'::'<>1__state' IL_0036: ldarg.0 IL_0037: ldloc.2 -IL_0038: stfld valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ValueTaskAwaiter`1 Example/'d__15'::'<>u__1' +IL_0038: stfld valuetype [System.Runtime]System.Runtime.CompilerServices.ValueTaskAwaiter`1 Example/'d__15'::'<>u__1' IL_003d: ldarg.0 IL_003e: stloc.s V_4 IL_0040: ldarg.0 -IL_0041: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__15'::'<>t__builder' +IL_0041: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__15'::'<>t__builder' IL_0046: ldloca.s V_2 IL_0048: ldloca.s V_4 -IL_004a: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::AwaitUnsafeOnCompleted,class Example/'d__15'>(!!0&, +IL_004a: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::AwaitUnsafeOnCompleted,class Example/'d__15'>(!!0&, !!1&) IL_004f: nop IL_0050: leave.s IL_00bf IL_0052: ldarg.0 -IL_0053: ldfld valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ValueTaskAwaiter`1 Example/'d__15'::'<>u__1' +IL_0053: ldfld valuetype [System.Runtime]System.Runtime.CompilerServices.ValueTaskAwaiter`1 Example/'d__15'::'<>u__1' IL_0058: stloc.2 IL_0059: ldarg.0 -IL_005a: ldflda valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ValueTaskAwaiter`1 Example/'d__15'::'<>u__1' -IL_005f: initobj valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ValueTaskAwaiter`1 +IL_005a: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.ValueTaskAwaiter`1 Example/'d__15'::'<>u__1' +IL_005f: initobj valuetype [System.Runtime]System.Runtime.CompilerServices.ValueTaskAwaiter`1 IL_0065: ldarg.0 IL_0066: ldc.i4.m1 IL_0067: dup @@ -1773,7 +1689,7 @@ IL_0068: stloc.0 IL_0069: stfld int32 Example/'d__15'::'<>1__state' IL_006e: ldarg.0 IL_006f: ldloca.s V_2 -IL_0071: call instance !0 valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ValueTaskAwaiter`1::GetResult() +IL_0071: call instance !0 valuetype [System.Runtime]System.Runtime.CompilerServices.ValueTaskAwaiter`1::GetResult() IL_0076: stfld int32 Example/'d__15'::'<>s__2' IL_007b: ldarg.0 IL_007c: ldarg.0 @@ -1791,9 +1707,9 @@ IL_0092: ldarg.0 IL_0093: ldc.i4.s -2 IL_0095: stfld int32 Example/'d__15'::'<>1__state' IL_009a: ldarg.0 -IL_009b: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__15'::'<>t__builder' +IL_009b: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__15'::'<>t__builder' IL_00a0: ldloc.s V_5 -IL_00a2: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetException(class [System.Runtime]System.Exception) +IL_00a2: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetException(class [System.Runtime]System.Exception) IL_00a7: nop IL_00a8: leave.s IL_00bf } // end handler @@ -1801,37 +1717,31 @@ IL_00aa: ldarg.0 IL_00ab: ldc.i4.s -2 IL_00ad: stfld int32 Example/'d__15'::'<>1__state' IL_00b2: ldarg.0 -IL_00b3: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__15'::'<>t__builder' +IL_00b3: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__15'::'<>t__builder' IL_00b8: ldloc.1 -IL_00b9: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetResult(!0) +IL_00b9: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetResult(!0) IL_00be: nop IL_00bf: ret } .method private hidebysig newslot virtual final -instance void SetStateMachine(class [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed +instance void SetStateMachine(class [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed { -.param [1] -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.override [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine +.override [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine .maxstack 8 IL_0000: ret } } .class auto ansi sealed nested private beforefieldinit 'd__4' extends [System.Runtime]System.Object -implements [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine +implements [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine { -.interfaceimpl type [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) +.interfaceimpl type [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine .field public int32 '<>1__state' -.field public valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 '<>t__builder' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) +.field public valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 '<>t__builder' .field public class Example '<>4__this' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) .field private int32 '5__1' .field private int32 '<>s__2' .field private valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter '<>u__1' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) .method public hidebysig specialname rtspecialname instance void .ctor() cil managed { @@ -1844,7 +1754,7 @@ IL_0007: ret .method private hidebysig newslot virtual final instance void MoveNext() cil managed { -.override [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext +.override [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext .maxstack 3 .locals init (int32 V_0, int32 V_1, @@ -1884,10 +1794,10 @@ IL_0039: stfld valuetype [System.Private.CoreLib]System.Runtime.CompilerSe IL_003e: ldarg.0 IL_003f: stloc.s V_4 IL_0041: ldarg.0 -IL_0042: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__4'::'<>t__builder' +IL_0042: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__4'::'<>t__builder' IL_0047: ldloca.s V_2 IL_0049: ldloca.s V_4 -IL_004b: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::AwaitUnsafeOnCompleted,class Example/'d__4'>(!!0&, +IL_004b: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::AwaitUnsafeOnCompleted,class Example/'d__4'>(!!0&, !!1&) IL_0050: nop IL_0051: leave.s IL_00c0 @@ -1922,9 +1832,9 @@ IL_0093: ldarg.0 IL_0094: ldc.i4.s -2 IL_0096: stfld int32 Example/'d__4'::'<>1__state' IL_009b: ldarg.0 -IL_009c: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__4'::'<>t__builder' +IL_009c: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__4'::'<>t__builder' IL_00a1: ldloc.s V_5 -IL_00a3: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetException(class [System.Runtime]System.Exception) +IL_00a3: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetException(class [System.Runtime]System.Exception) IL_00a8: nop IL_00a9: leave.s IL_00c0 } // end handler @@ -1932,37 +1842,31 @@ IL_00ab: ldarg.0 IL_00ac: ldc.i4.s -2 IL_00ae: stfld int32 Example/'d__4'::'<>1__state' IL_00b3: ldarg.0 -IL_00b4: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__4'::'<>t__builder' +IL_00b4: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__4'::'<>t__builder' IL_00b9: ldloc.1 -IL_00ba: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetResult(!0) +IL_00ba: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetResult(!0) IL_00bf: nop IL_00c0: ret } .method private hidebysig newslot virtual final -instance void SetStateMachine(class [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed +instance void SetStateMachine(class [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed { -.param [1] -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.override [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine +.override [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine .maxstack 8 IL_0000: ret } } .class auto ansi sealed nested private beforefieldinit 'd__16' extends [System.Runtime]System.Object -implements [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine +implements [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine { -.interfaceimpl type [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) +.interfaceimpl type [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine .field public int32 '<>1__state' -.field public valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 '<>t__builder' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) +.field public valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 '<>t__builder' .field public class Example '<>4__this' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) .field private int32 '5__1' .field private int32 '<>s__2' .field private valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1/ConfiguredValueTaskAwaiter '<>u__1' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) .method public hidebysig specialname rtspecialname instance void .ctor() cil managed { @@ -1975,13 +1879,13 @@ IL_0007: ret .method private hidebysig newslot virtual final instance void MoveNext() cil managed { -.override [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext +.override [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext .maxstack 3 .locals init (int32 V_0, int32 V_1, valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1/ConfiguredValueTaskAwaiter V_2, valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1 V_3, -valuetype [System.Threading.Tasks.Extensions]System.Threading.Tasks.ValueTask`1 V_4, +valuetype [System.Runtime]System.Threading.Tasks.ValueTask`1 V_4, class Example/'d__16' V_5, class [System.Runtime]System.Exception V_6) IL_0000: ldarg.0 @@ -1996,7 +1900,7 @@ IL_000c: br.s IL_005c IL_000e: nop IL_000f: ldc.i4.s 10 IL_0011: call class [System.Runtime]System.Threading.Tasks.Task`1 [System.Runtime]System.Threading.Tasks.Task::FromResult(!!0) -IL_0016: call instance void valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1::.ctor(valuetype [System.Private.CoreLib]System.Threading.Tasks.ValueTask`1&) +IL_0016: newobj instance void valuetype [System.Runtime]System.Threading.Tasks.ValueTask`1::.ctor(class [System.Runtime]System.Threading.Tasks.Task`1) IL_001b: stloc.s V_4 IL_001d: ldloca.s V_4 IL_001f: ldc.i4.0 @@ -2019,10 +1923,10 @@ IL_0042: stfld valuetype [System.Private.CoreLib]System.Runtime.CompilerSe IL_0047: ldarg.0 IL_0048: stloc.s V_5 IL_004a: ldarg.0 -IL_004b: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__16'::'<>t__builder' +IL_004b: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__16'::'<>t__builder' IL_0050: ldloca.s V_2 IL_0052: ldloca.s V_5 -IL_0054: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::AwaitUnsafeOnCompleted,class Example/'d__16'>(!!0&, +IL_0054: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::AwaitUnsafeOnCompleted,class Example/'d__16'>(!!0&, !!1&) IL_0059: nop IL_005a: leave.s IL_00c9 @@ -2057,9 +1961,9 @@ IL_009c: ldarg.0 IL_009d: ldc.i4.s -2 IL_009f: stfld int32 Example/'d__16'::'<>1__state' IL_00a4: ldarg.0 -IL_00a5: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__16'::'<>t__builder' +IL_00a5: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__16'::'<>t__builder' IL_00aa: ldloc.s V_6 -IL_00ac: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetException(class [System.Runtime]System.Exception) +IL_00ac: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetException(class [System.Runtime]System.Exception) IL_00b1: nop IL_00b2: leave.s IL_00c9 } // end handler @@ -2067,37 +1971,31 @@ IL_00b4: ldarg.0 IL_00b5: ldc.i4.s -2 IL_00b7: stfld int32 Example/'d__16'::'<>1__state' IL_00bc: ldarg.0 -IL_00bd: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__16'::'<>t__builder' +IL_00bd: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__16'::'<>t__builder' IL_00c2: ldloc.1 -IL_00c3: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetResult(!0) +IL_00c3: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetResult(!0) IL_00c8: nop IL_00c9: ret } .method private hidebysig newslot virtual final -instance void SetStateMachine(class [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed +instance void SetStateMachine(class [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed { -.param [1] -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.override [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine +.override [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine .maxstack 8 IL_0000: ret } } .class auto ansi sealed nested private beforefieldinit 'd__5' extends [System.Runtime]System.Object -implements [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine +implements [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine { -.interfaceimpl type [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) +.interfaceimpl type [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine .field public int32 '<>1__state' -.field public valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 '<>t__builder' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) +.field public valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 '<>t__builder' .field public class Example '<>4__this' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) .field private int32 '5__1' .field private int32 '<>s__2' .field private valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter '<>u__1' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) .method public hidebysig specialname rtspecialname instance void .ctor() cil managed { @@ -2110,7 +2008,7 @@ IL_0007: ret .method private hidebysig newslot virtual final instance void MoveNext() cil managed { -.override [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext +.override [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext .maxstack 3 .locals init (int32 V_0, int32 V_1, @@ -2150,10 +2048,10 @@ IL_0039: stfld valuetype [System.Runtime]System.Runtime.CompilerServices.C IL_003e: ldarg.0 IL_003f: stloc.s V_4 IL_0041: ldarg.0 -IL_0042: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__5'::'<>t__builder' +IL_0042: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__5'::'<>t__builder' IL_0047: ldloca.s V_2 IL_0049: ldloca.s V_4 -IL_004b: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::AwaitUnsafeOnCompleted,class Example/'d__5'>(!!0&, +IL_004b: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::AwaitUnsafeOnCompleted,class Example/'d__5'>(!!0&, !!1&) IL_0050: nop IL_0051: leave.s IL_00c0 @@ -2188,9 +2086,9 @@ IL_0093: ldarg.0 IL_0094: ldc.i4.s -2 IL_0096: stfld int32 Example/'d__5'::'<>1__state' IL_009b: ldarg.0 -IL_009c: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__5'::'<>t__builder' +IL_009c: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__5'::'<>t__builder' IL_00a1: ldloc.s V_5 -IL_00a3: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetException(class [System.Runtime]System.Exception) +IL_00a3: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetException(class [System.Runtime]System.Exception) IL_00a8: nop IL_00a9: leave.s IL_00c0 } // end handler @@ -2198,37 +2096,31 @@ IL_00ab: ldarg.0 IL_00ac: ldc.i4.s -2 IL_00ae: stfld int32 Example/'d__5'::'<>1__state' IL_00b3: ldarg.0 -IL_00b4: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__5'::'<>t__builder' +IL_00b4: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__5'::'<>t__builder' IL_00b9: ldloc.1 -IL_00ba: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetResult(!0) +IL_00ba: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetResult(!0) IL_00bf: nop IL_00c0: ret } .method private hidebysig newslot virtual final -instance void SetStateMachine(class [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed +instance void SetStateMachine(class [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed { -.param [1] -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.override [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine +.override [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine .maxstack 8 IL_0000: ret } } .class auto ansi sealed nested private beforefieldinit 'd__17' extends [System.Runtime]System.Object -implements [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine +implements [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine { -.interfaceimpl type [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) +.interfaceimpl type [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine .field public int32 '<>1__state' -.field public valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 '<>t__builder' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) +.field public valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 '<>t__builder' .field public class Example '<>4__this' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) .field private int32 '5__1' .field private int32 '<>s__2' -.field private valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1/ConfiguredValueTaskAwaiter '<>u__1' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) +.field private valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1/ConfiguredValueTaskAwaiter '<>u__1' .method public hidebysig specialname rtspecialname instance void .ctor() cil managed { @@ -2241,13 +2133,13 @@ IL_0007: ret .method private hidebysig newslot virtual final instance void MoveNext() cil managed { -.override [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext +.override [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext .maxstack 3 .locals init (int32 V_0, int32 V_1, -valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1/ConfiguredValueTaskAwaiter V_2, -valuetype [System.Threading.Tasks.Extensions]System.Threading.Tasks.ValueTask`1 V_3, -valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1 V_4, +valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1/ConfiguredValueTaskAwaiter V_2, +valuetype [System.Runtime]System.Threading.Tasks.ValueTask`1 V_3, +valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1 V_4, class Example/'d__17' V_5, class [System.Runtime]System.Exception V_6) IL_0000: ldarg.0 @@ -2262,17 +2154,17 @@ IL_000c: br.s IL_005c IL_000e: nop IL_000f: ldc.i4.s 10 IL_0011: call class [System.Runtime]System.Threading.Tasks.Task`1 [System.Runtime]System.Threading.Tasks.Task::FromResult(!!0) -IL_0016: newobj instance void valuetype [System.Threading.Tasks.Extensions]System.Threading.Tasks.ValueTask`1::.ctor(class [System.Runtime]System.Threading.Tasks.Task`1) +IL_0016: newobj instance void valuetype [System.Runtime]System.Threading.Tasks.ValueTask`1::.ctor(class [System.Runtime]System.Threading.Tasks.Task`1) IL_001b: stloc.3 IL_001c: ldloca.s V_3 IL_001e: ldc.i4.0 -IL_001f: call instance valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1 valuetype [System.Threading.Tasks.Extensions]System.Threading.Tasks.ValueTask`1::ConfigureAwait(bool) +IL_001f: call instance valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1 valuetype [System.Runtime]System.Threading.Tasks.ValueTask`1::ConfigureAwait(bool) IL_0024: stloc.s V_4 IL_0026: ldloca.s V_4 -IL_0028: call instance valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1/ConfiguredValueTaskAwaiter valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1::GetAwaiter() +IL_0028: call instance valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1/ConfiguredValueTaskAwaiter valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1::GetAwaiter() IL_002d: stloc.2 IL_002e: ldloca.s V_2 -IL_0030: call instance bool valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1/ConfiguredValueTaskAwaiter::get_IsCompleted() +IL_0030: call instance bool valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1/ConfiguredValueTaskAwaiter::get_IsCompleted() IL_0035: brtrue.s IL_0078 IL_0037: ldarg.0 IL_0038: ldc.i4.0 @@ -2281,23 +2173,23 @@ IL_003a: stloc.0 IL_003b: stfld int32 Example/'d__17'::'<>1__state' IL_0040: ldarg.0 IL_0041: ldloc.2 -IL_0042: stfld valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1/ConfiguredValueTaskAwaiter Example/'d__17'::'<>u__1' +IL_0042: stfld valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1/ConfiguredValueTaskAwaiter Example/'d__17'::'<>u__1' IL_0047: ldarg.0 IL_0048: stloc.s V_5 IL_004a: ldarg.0 -IL_004b: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__17'::'<>t__builder' +IL_004b: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__17'::'<>t__builder' IL_0050: ldloca.s V_2 IL_0052: ldloca.s V_5 -IL_0054: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::AwaitUnsafeOnCompleted,class Example/'d__17'>(!!0&, +IL_0054: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::AwaitUnsafeOnCompleted,class Example/'d__17'>(!!0&, !!1&) IL_0059: nop IL_005a: leave.s IL_00c9 IL_005c: ldarg.0 -IL_005d: ldfld valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1/ConfiguredValueTaskAwaiter Example/'d__17'::'<>u__1' +IL_005d: ldfld valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1/ConfiguredValueTaskAwaiter Example/'d__17'::'<>u__1' IL_0062: stloc.2 IL_0063: ldarg.0 -IL_0064: ldflda valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1/ConfiguredValueTaskAwaiter Example/'d__17'::'<>u__1' -IL_0069: initobj valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1/ConfiguredValueTaskAwaiter +IL_0064: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1/ConfiguredValueTaskAwaiter Example/'d__17'::'<>u__1' +IL_0069: initobj valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1/ConfiguredValueTaskAwaiter IL_006f: ldarg.0 IL_0070: ldc.i4.m1 IL_0071: dup @@ -2305,7 +2197,7 @@ IL_0072: stloc.0 IL_0073: stfld int32 Example/'d__17'::'<>1__state' IL_0078: ldarg.0 IL_0079: ldloca.s V_2 -IL_007b: call instance !0 valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1/ConfiguredValueTaskAwaiter::GetResult() +IL_007b: call instance !0 valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1/ConfiguredValueTaskAwaiter::GetResult() IL_0080: stfld int32 Example/'d__17'::'<>s__2' IL_0085: ldarg.0 IL_0086: ldarg.0 @@ -2323,9 +2215,9 @@ IL_009c: ldarg.0 IL_009d: ldc.i4.s -2 IL_009f: stfld int32 Example/'d__17'::'<>1__state' IL_00a4: ldarg.0 -IL_00a5: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__17'::'<>t__builder' +IL_00a5: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__17'::'<>t__builder' IL_00aa: ldloc.s V_6 -IL_00ac: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetException(class [System.Runtime]System.Exception) +IL_00ac: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetException(class [System.Runtime]System.Exception) IL_00b1: nop IL_00b2: leave.s IL_00c9 } // end handler @@ -2333,33 +2225,28 @@ IL_00b4: ldarg.0 IL_00b5: ldc.i4.s -2 IL_00b7: stfld int32 Example/'d__17'::'<>1__state' IL_00bc: ldarg.0 -IL_00bd: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__17'::'<>t__builder' +IL_00bd: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__17'::'<>t__builder' IL_00c2: ldloc.1 -IL_00c3: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetResult(!0) +IL_00c3: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetResult(!0) IL_00c8: nop IL_00c9: ret } .method private hidebysig newslot virtual final -instance void SetStateMachine(class [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed +instance void SetStateMachine(class [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed { -.param [1] -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.override [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine +.override [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine .maxstack 8 IL_0000: ret } } .class auto ansi sealed nested private beforefieldinit 'd__6' extends [System.Runtime]System.Object -implements [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine +implements [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine { -.interfaceimpl type [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) +.interfaceimpl type [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine .field public int32 '<>1__state' -.field public valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 '<>t__builder' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) +.field public valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 '<>t__builder' .field public class Example '<>4__this' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) .field private int32 '5__1' .field private int32 '5__2' .field private int32 '<>s__3' @@ -2367,7 +2254,6 @@ implements [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMa .field private int32 '<>s__5' .field private int32 '<>s__6' .field private valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter`1 '<>u__1' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) .field private valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter '<>u__2' .method public hidebysig specialname rtspecialname instance void .ctor() cil managed @@ -2381,7 +2267,7 @@ IL_0007: ret .method private hidebysig newslot virtual final instance void MoveNext() cil managed { -.override [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext +.override [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext .maxstack 3 .locals init (int32 V_0, int32 V_1, @@ -2425,10 +2311,10 @@ IL_0049: stfld valuetype [System.Runtime]System.Runtime.CompilerServices.T IL_004e: ldarg.0 IL_004f: stloc.3 IL_0050: ldarg.0 -IL_0051: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__6'::'<>t__builder' +IL_0051: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__6'::'<>t__builder' IL_0056: ldloca.s V_2 IL_0058: ldloca.s V_3 -IL_005a: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::AwaitUnsafeOnCompleted,class Example/'d__6'>(!!0&, +IL_005a: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::AwaitUnsafeOnCompleted,class Example/'d__6'>(!!0&, !!1&) IL_005f: nop IL_0060: leave IL_01ff @@ -2477,10 +2363,10 @@ IL_00d0: stfld valuetype [System.Runtime]System.Runtime.CompilerServices.T IL_00d5: ldarg.0 IL_00d6: stloc.3 IL_00d7: ldarg.0 -IL_00d8: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__6'::'<>t__builder' +IL_00d8: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__6'::'<>t__builder' IL_00dd: ldloca.s V_4 IL_00df: ldloca.s V_3 -IL_00e1: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::AwaitUnsafeOnCompletedd__6'>(!!0&, +IL_00e1: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::AwaitUnsafeOnCompletedd__6'>(!!0&, !!1&) IL_00e6: nop IL_00e7: leave IL_01ff @@ -2521,10 +2407,10 @@ IL_0144: stfld valuetype [System.Runtime]System.Runtime.CompilerServices.T IL_0149: ldarg.0 IL_014a: stloc.3 IL_014b: ldarg.0 -IL_014c: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__6'::'<>t__builder' +IL_014c: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__6'::'<>t__builder' IL_0151: ldloca.s V_5 IL_0153: ldloca.s V_3 -IL_0155: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::AwaitUnsafeOnCompleted,class Example/'d__6'>(!!0&, +IL_0155: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::AwaitUnsafeOnCompleted,class Example/'d__6'>(!!0&, !!1&) IL_015a: nop IL_015b: leave IL_01ff @@ -2579,9 +2465,9 @@ IL_01d2: ldarg.0 IL_01d3: ldc.i4.s -2 IL_01d5: stfld int32 Example/'d__6'::'<>1__state' IL_01da: ldarg.0 -IL_01db: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__6'::'<>t__builder' +IL_01db: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__6'::'<>t__builder' IL_01e0: ldloc.s V_8 -IL_01e2: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetException(class [System.Runtime]System.Exception) +IL_01e2: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetException(class [System.Runtime]System.Exception) IL_01e7: nop IL_01e8: leave.s IL_01ff } // end handler @@ -2589,44 +2475,37 @@ IL_01ea: ldarg.0 IL_01eb: ldc.i4.s -2 IL_01ed: stfld int32 Example/'d__6'::'<>1__state' IL_01f2: ldarg.0 -IL_01f3: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__6'::'<>t__builder' +IL_01f3: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__6'::'<>t__builder' IL_01f8: ldloc.1 -IL_01f9: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetResult(!0) +IL_01f9: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetResult(!0) IL_01fe: nop IL_01ff: ret } .method private hidebysig newslot virtual final -instance void SetStateMachine(class [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed +instance void SetStateMachine(class [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed { -.param [1] -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.override [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine +.override [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine .maxstack 8 IL_0000: ret } } .class auto ansi sealed nested private beforefieldinit 'd__18' extends [System.Runtime]System.Object -implements [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine +implements [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine { -.interfaceimpl type [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) +.interfaceimpl type [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine .field public int32 '<>1__state' -.field public valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 '<>t__builder' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) +.field public valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 '<>t__builder' .field public class Example '<>4__this' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) .field private int32 '5__1' .field private int32 '5__2' .field private int32 '<>s__3' .field private int32 '5__4' .field private int32 '<>s__5' .field private int32 '<>s__6' -.field private valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ValueTaskAwaiter`1 '<>u__1' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) +.field private valuetype [System.Runtime]System.Runtime.CompilerServices.ValueTaskAwaiter`1 '<>u__1' .field private valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter '<>u__2' .field private valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter`1 '<>u__3' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) .method public hidebysig specialname rtspecialname instance void .ctor() cil managed { @@ -2639,12 +2518,12 @@ IL_0007: ret .method private hidebysig newslot virtual final instance void MoveNext() cil managed { -.override [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext +.override [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext .maxstack 3 .locals init (int32 V_0, int32 V_1, -valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ValueTaskAwaiter`1 V_2, -valuetype [System.Threading.Tasks.Extensions]System.Threading.Tasks.ValueTask`1 V_3, +valuetype [System.Runtime]System.Runtime.CompilerServices.ValueTaskAwaiter`1 V_2, +valuetype [System.Runtime]System.Threading.Tasks.ValueTask`1 V_3, class Example/'d__18' V_4, valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter V_5, valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter`1 V_6, @@ -2668,13 +2547,13 @@ IL_0022: br IL_016b IL_0027: nop IL_0028: ldc.i4.s 10 IL_002a: call class [System.Runtime]System.Threading.Tasks.Task`1 [System.Runtime]System.Threading.Tasks.Task::FromResult(!!0) -IL_002f: newobj instance void valuetype [System.Threading.Tasks.Extensions]System.Threading.Tasks.ValueTask`1::.ctor(class [System.Runtime]System.Threading.Tasks.Task`1) +IL_002f: newobj instance void valuetype [System.Runtime]System.Threading.Tasks.ValueTask`1::.ctor(class [System.Runtime]System.Threading.Tasks.Task`1) IL_0034: stloc.3 IL_0035: ldloca.s V_3 -IL_0037: call instance valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ValueTaskAwaiter`1 valuetype [System.Threading.Tasks.Extensions]System.Threading.Tasks.ValueTask`1::GetAwaiter() +IL_0037: call instance valuetype [System.Runtime]System.Runtime.CompilerServices.ValueTaskAwaiter`1 valuetype [System.Runtime]System.Threading.Tasks.ValueTask`1::GetAwaiter() IL_003c: stloc.2 IL_003d: ldloca.s V_2 -IL_003f: call instance bool valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ValueTaskAwaiter`1::get_IsCompleted() +IL_003f: call instance bool valuetype [System.Runtime]System.Runtime.CompilerServices.ValueTaskAwaiter`1::get_IsCompleted() IL_0044: brtrue.s IL_008a IL_0046: ldarg.0 IL_0047: ldc.i4.0 @@ -2683,23 +2562,23 @@ IL_0049: stloc.0 IL_004a: stfld int32 Example/'d__18'::'<>1__state' IL_004f: ldarg.0 IL_0050: ldloc.2 -IL_0051: stfld valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ValueTaskAwaiter`1 Example/'d__18'::'<>u__1' +IL_0051: stfld valuetype [System.Runtime]System.Runtime.CompilerServices.ValueTaskAwaiter`1 Example/'d__18'::'<>u__1' IL_0056: ldarg.0 IL_0057: stloc.s V_4 IL_0059: ldarg.0 -IL_005a: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__18'::'<>t__builder' +IL_005a: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__18'::'<>t__builder' IL_005f: ldloca.s V_2 IL_0061: ldloca.s V_4 -IL_0063: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::AwaitUnsafeOnCompleted,class Example/'d__18'>(!!0&, +IL_0063: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::AwaitUnsafeOnCompleted,class Example/'d__18'>(!!0&, !!1&) IL_0068: nop IL_0069: leave IL_020a IL_006e: ldarg.0 -IL_006f: ldfld valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ValueTaskAwaiter`1 Example/'d__18'::'<>u__1' +IL_006f: ldfld valuetype [System.Runtime]System.Runtime.CompilerServices.ValueTaskAwaiter`1 Example/'d__18'::'<>u__1' IL_0074: stloc.2 IL_0075: ldarg.0 -IL_0076: ldflda valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ValueTaskAwaiter`1 Example/'d__18'::'<>u__1' -IL_007b: initobj valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ValueTaskAwaiter`1 +IL_0076: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.ValueTaskAwaiter`1 Example/'d__18'::'<>u__1' +IL_007b: initobj valuetype [System.Runtime]System.Runtime.CompilerServices.ValueTaskAwaiter`1 IL_0081: ldarg.0 IL_0082: ldc.i4.m1 IL_0083: dup @@ -2707,7 +2586,7 @@ IL_0084: stloc.0 IL_0085: stfld int32 Example/'d__18'::'<>1__state' IL_008a: ldarg.0 IL_008b: ldloca.s V_2 -IL_008d: call instance !0 valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ValueTaskAwaiter`1::GetResult() +IL_008d: call instance !0 valuetype [System.Runtime]System.Runtime.CompilerServices.ValueTaskAwaiter`1::GetResult() IL_0092: stfld int32 Example/'d__18'::'<>s__3' IL_0097: ldarg.0 IL_0098: ldarg.0 @@ -2739,10 +2618,10 @@ IL_00d9: stfld valuetype [System.Runtime]System.Runtime.CompilerServices.T IL_00de: ldarg.0 IL_00df: stloc.s V_4 IL_00e1: ldarg.0 -IL_00e2: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__18'::'<>t__builder' +IL_00e2: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__18'::'<>t__builder' IL_00e7: ldloca.s V_5 IL_00e9: ldloca.s V_4 -IL_00eb: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::AwaitUnsafeOnCompletedd__18'>(!!0&, +IL_00eb: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::AwaitUnsafeOnCompletedd__18'>(!!0&, !!1&) IL_00f0: nop IL_00f1: leave IL_020a @@ -2783,10 +2662,10 @@ IL_014e: stfld valuetype [System.Runtime]System.Runtime.CompilerServices.T IL_0153: ldarg.0 IL_0154: stloc.s V_4 IL_0156: ldarg.0 -IL_0157: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__18'::'<>t__builder' +IL_0157: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__18'::'<>t__builder' IL_015c: ldloca.s V_6 IL_015e: ldloca.s V_4 -IL_0160: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::AwaitUnsafeOnCompleted,class Example/'d__18'>(!!0&, +IL_0160: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::AwaitUnsafeOnCompleted,class Example/'d__18'>(!!0&, !!1&) IL_0165: nop IL_0166: leave IL_020a @@ -2841,9 +2720,9 @@ IL_01dd: ldarg.0 IL_01de: ldc.i4.s -2 IL_01e0: stfld int32 Example/'d__18'::'<>1__state' IL_01e5: ldarg.0 -IL_01e6: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__18'::'<>t__builder' +IL_01e6: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__18'::'<>t__builder' IL_01eb: ldloc.s V_9 -IL_01ed: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetException(class [System.Runtime]System.Exception) +IL_01ed: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetException(class [System.Runtime]System.Exception) IL_01f2: nop IL_01f3: leave.s IL_020a } // end handler @@ -2851,33 +2730,28 @@ IL_01f5: ldarg.0 IL_01f6: ldc.i4.s -2 IL_01f8: stfld int32 Example/'d__18'::'<>1__state' IL_01fd: ldarg.0 -IL_01fe: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__18'::'<>t__builder' +IL_01fe: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__18'::'<>t__builder' IL_0203: ldloc.1 -IL_0204: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetResult(!0) +IL_0204: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetResult(!0) IL_0209: nop IL_020a: ret } .method private hidebysig newslot virtual final -instance void SetStateMachine(class [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed +instance void SetStateMachine(class [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed { -.param [1] -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.override [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine +.override [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine .maxstack 8 IL_0000: ret } } .class auto ansi sealed nested private beforefieldinit 'd__7' extends [System.Runtime]System.Object -implements [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine +implements [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine { -.interfaceimpl type [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) +.interfaceimpl type [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine .field public int32 '<>1__state' -.field public valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 '<>t__builder' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) +.field public valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 '<>t__builder' .field public class Example '<>4__this' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) .field private int32 '5__1' .field private int32 '5__2' .field private int32 '<>s__3' @@ -2885,7 +2759,6 @@ implements [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMa .field private int32 '<>s__5' .field private int32 '<>s__6' .field private valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter '<>u__1' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) .field private valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter '<>u__2' .method public hidebysig specialname rtspecialname instance void .ctor() cil managed @@ -2899,7 +2772,7 @@ IL_0007: ret .method private hidebysig newslot virtual final instance void MoveNext() cil managed { -.override [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext +.override [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext .maxstack 3 .locals init (int32 V_0, int32 V_1, @@ -2950,10 +2823,10 @@ IL_0052: stfld valuetype [System.Private.CoreLib]System.Runtime.CompilerSe IL_0057: ldarg.0 IL_0058: stloc.s V_4 IL_005a: ldarg.0 -IL_005b: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__7'::'<>t__builder' +IL_005b: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__7'::'<>t__builder' IL_0060: ldloca.s V_2 IL_0062: ldloca.s V_4 -IL_0064: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::AwaitUnsafeOnCompleted,class Example/'d__7'>(!!0&, +IL_0064: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::AwaitUnsafeOnCompleted,class Example/'d__7'>(!!0&, !!1&) IL_0069: nop IL_006a: leave IL_021f @@ -3006,10 +2879,10 @@ IL_00e4: stfld valuetype [System.Private.CoreLib]System.Runtime.CompilerSe IL_00e9: ldarg.0 IL_00ea: stloc.s V_4 IL_00ec: ldarg.0 -IL_00ed: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__7'::'<>t__builder' +IL_00ed: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__7'::'<>t__builder' IL_00f2: ldloca.s V_7 IL_00f4: ldloca.s V_4 -IL_00f6: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::AwaitUnsafeOnCompletedd__7'>(!!0&, +IL_00f6: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::AwaitUnsafeOnCompletedd__7'>(!!0&, !!1&) IL_00fb: nop IL_00fc: leave IL_021f @@ -3054,10 +2927,10 @@ IL_0163: stfld valuetype [System.Private.CoreLib]System.Runtime.CompilerSe IL_0168: ldarg.0 IL_0169: stloc.s V_4 IL_016b: ldarg.0 -IL_016c: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__7'::'<>t__builder' +IL_016c: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__7'::'<>t__builder' IL_0171: ldloca.s V_8 IL_0173: ldloca.s V_4 -IL_0175: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::AwaitUnsafeOnCompleted,class Example/'d__7'>(!!0&, +IL_0175: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::AwaitUnsafeOnCompleted,class Example/'d__7'>(!!0&, !!1&) IL_017a: nop IL_017b: leave IL_021f @@ -3112,9 +2985,9 @@ IL_01f2: ldarg.0 IL_01f3: ldc.i4.s -2 IL_01f5: stfld int32 Example/'d__7'::'<>1__state' IL_01fa: ldarg.0 -IL_01fb: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__7'::'<>t__builder' +IL_01fb: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__7'::'<>t__builder' IL_0200: ldloc.s V_11 -IL_0202: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetException(class [System.Runtime]System.Exception) +IL_0202: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetException(class [System.Runtime]System.Exception) IL_0207: nop IL_0208: leave.s IL_021f } // end handler @@ -3122,33 +2995,28 @@ IL_020a: ldarg.0 IL_020b: ldc.i4.s -2 IL_020d: stfld int32 Example/'d__7'::'<>1__state' IL_0212: ldarg.0 -IL_0213: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__7'::'<>t__builder' +IL_0213: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__7'::'<>t__builder' IL_0218: ldloc.1 -IL_0219: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetResult(!0) +IL_0219: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetResult(!0) IL_021e: nop IL_021f: ret } .method private hidebysig newslot virtual final -instance void SetStateMachine(class [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed +instance void SetStateMachine(class [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed { -.param [1] -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.override [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine +.override [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine .maxstack 8 IL_0000: ret } } .class auto ansi sealed nested private beforefieldinit 'd__19' extends [System.Runtime]System.Object -implements [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine +implements [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine { -.interfaceimpl type [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) +.interfaceimpl type [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine .field public int32 '<>1__state' -.field public valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 '<>t__builder' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) +.field public valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 '<>t__builder' .field public class Example '<>4__this' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) .field private int32 '5__1' .field private int32 '5__2' .field private int32 '<>s__3' @@ -3156,7 +3024,6 @@ implements [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMa .field private int32 '<>s__5' .field private int32 '<>s__6' .field private valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1/ConfiguredValueTaskAwaiter '<>u__1' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) .field private valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter '<>u__2' .method public hidebysig specialname rtspecialname instance void .ctor() cil managed @@ -3170,18 +3037,18 @@ IL_0007: ret .method private hidebysig newslot virtual final instance void MoveNext() cil managed { -.override [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext +.override [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext .maxstack 3 .locals init (int32 V_0, int32 V_1, valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1/ConfiguredValueTaskAwaiter V_2, valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1 V_3, -valuetype [System.Threading.Tasks.Extensions]System.Threading.Tasks.ValueTask`1 V_4, +valuetype [System.Runtime]System.Threading.Tasks.ValueTask`1 V_4, class Example/'d__19' V_5, valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable V_6, valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter V_7, valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1 V_8, -valuetype [System.Threading.Tasks.Extensions]System.Threading.Tasks.ValueTask V_9, +valuetype [System.Runtime]System.Threading.Tasks.ValueTask V_9, valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1/ConfiguredValueTaskAwaiter V_10, int32 V_11, bool V_12, @@ -3203,7 +3070,7 @@ IL_0022: br IL_019b IL_0027: nop IL_0028: ldc.i4.s 10 IL_002a: call class [System.Runtime]System.Threading.Tasks.Task`1 [System.Runtime]System.Threading.Tasks.Task::FromResult(!!0) -IL_002f: call instance void valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1::.ctor(valuetype [System.Private.CoreLib]System.Threading.Tasks.ValueTask`1&) +IL_002f: newobj instance void valuetype [System.Runtime]System.Threading.Tasks.ValueTask`1::.ctor(class [System.Runtime]System.Threading.Tasks.Task`1) IL_0034: stloc.s V_4 IL_0036: ldloca.s V_4 IL_0038: ldc.i4.0 @@ -3226,10 +3093,10 @@ IL_005b: stfld valuetype [System.Private.CoreLib]System.Runtime.CompilerSe IL_0060: ldarg.0 IL_0061: stloc.s V_5 IL_0063: ldarg.0 -IL_0064: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__19'::'<>t__builder' +IL_0064: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__19'::'<>t__builder' IL_0069: ldloca.s V_2 IL_006b: ldloca.s V_5 -IL_006d: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::AwaitUnsafeOnCompleted,class Example/'d__19'>(!!0&, +IL_006d: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::AwaitUnsafeOnCompleted,class Example/'d__19'>(!!0&, !!1&) IL_0072: nop IL_0073: leave IL_023a @@ -3262,7 +3129,7 @@ IL_00bb: br IL_01eb IL_00c0: nop IL_00c1: ldc.i4.1 IL_00c2: call class [System.Runtime]System.Threading.Tasks.Task [System.Runtime]System.Threading.Tasks.Task::Delay(int32) -IL_00c7: call instance void [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable::.ctor(valuetype [System.Private.CoreLib]System.Threading.Tasks.ValueTask&) +IL_00c7: newobj instance void [System.Runtime]System.Threading.Tasks.ValueTask::.ctor(class [System.Runtime]System.Threading.Tasks.Task) IL_00cc: stloc.s V_9 IL_00ce: ldloca.s V_9 IL_00d0: ldc.i4.0 @@ -3285,10 +3152,10 @@ IL_00f6: stfld valuetype [System.Private.CoreLib]System.Runtime.CompilerSe IL_00fb: ldarg.0 IL_00fc: stloc.s V_5 IL_00fe: ldarg.0 -IL_00ff: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__19'::'<>t__builder' +IL_00ff: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__19'::'<>t__builder' IL_0104: ldloca.s V_7 IL_0106: ldloca.s V_5 -IL_0108: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::AwaitUnsafeOnCompletedd__19'>(!!0&, +IL_0108: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::AwaitUnsafeOnCompletedd__19'>(!!0&, !!1&) IL_010d: nop IL_010e: leave IL_023a @@ -3313,7 +3180,7 @@ IL_013f: stfld int32 Example/'d__19'::'<>s__5' IL_0144: ldarg.0 IL_0145: ldfld int32 Example/'d__19'::'5__4' IL_014a: call class [System.Runtime]System.Threading.Tasks.Task`1 [System.Runtime]System.Threading.Tasks.Task::FromResult(!!0) -IL_014f: call instance void valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1::.ctor(valuetype [System.Private.CoreLib]System.Threading.Tasks.ValueTask`1&) +IL_014f: newobj instance void valuetype [System.Runtime]System.Threading.Tasks.ValueTask`1::.ctor(class [System.Runtime]System.Threading.Tasks.Task`1) IL_0154: stloc.s V_4 IL_0156: ldloca.s V_4 IL_0158: ldc.i4.0 @@ -3336,10 +3203,10 @@ IL_017e: stfld valuetype [System.Private.CoreLib]System.Runtime.CompilerSe IL_0183: ldarg.0 IL_0184: stloc.s V_5 IL_0186: ldarg.0 -IL_0187: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__19'::'<>t__builder' +IL_0187: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__19'::'<>t__builder' IL_018c: ldloca.s V_10 IL_018e: ldloca.s V_5 -IL_0190: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::AwaitUnsafeOnCompleted,class Example/'d__19'>(!!0&, +IL_0190: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::AwaitUnsafeOnCompleted,class Example/'d__19'>(!!0&, !!1&) IL_0195: nop IL_0196: leave IL_023a @@ -3394,9 +3261,9 @@ IL_020d: ldarg.0 IL_020e: ldc.i4.s -2 IL_0210: stfld int32 Example/'d__19'::'<>1__state' IL_0215: ldarg.0 -IL_0216: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__19'::'<>t__builder' +IL_0216: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__19'::'<>t__builder' IL_021b: ldloc.s V_13 -IL_021d: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetException(class [System.Runtime]System.Exception) +IL_021d: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetException(class [System.Runtime]System.Exception) IL_0222: nop IL_0223: leave.s IL_023a } // end handler @@ -3404,33 +3271,28 @@ IL_0225: ldarg.0 IL_0226: ldc.i4.s -2 IL_0228: stfld int32 Example/'d__19'::'<>1__state' IL_022d: ldarg.0 -IL_022e: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__19'::'<>t__builder' +IL_022e: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__19'::'<>t__builder' IL_0233: ldloc.1 -IL_0234: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetResult(!0) +IL_0234: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetResult(!0) IL_0239: nop IL_023a: ret } .method private hidebysig newslot virtual final -instance void SetStateMachine(class [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed +instance void SetStateMachine(class [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed { -.param [1] -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.override [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine +.override [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine .maxstack 8 IL_0000: ret } } .class auto ansi sealed nested private beforefieldinit 'd__8' extends [System.Runtime]System.Object -implements [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine +implements [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine { -.interfaceimpl type [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) +.interfaceimpl type [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine .field public int32 '<>1__state' -.field public valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 '<>t__builder' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) +.field public valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 '<>t__builder' .field public class Example '<>4__this' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) .field private int32 '5__1' .field private int32 '5__2' .field private int32 '<>s__3' @@ -3438,7 +3300,6 @@ implements [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMa .field private int32 '<>s__5' .field private int32 '<>s__6' .field private valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter '<>u__1' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) .field private valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter '<>u__2' .method public hidebysig specialname rtspecialname instance void .ctor() cil managed @@ -3452,7 +3313,7 @@ IL_0007: ret .method private hidebysig newslot virtual final instance void MoveNext() cil managed { -.override [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext +.override [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext .maxstack 3 .locals init (int32 V_0, int32 V_1, @@ -3502,10 +3363,10 @@ IL_0052: stfld valuetype [System.Runtime]System.Runtime.CompilerServices.C IL_0057: ldarg.0 IL_0058: stloc.s V_4 IL_005a: ldarg.0 -IL_005b: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__8'::'<>t__builder' +IL_005b: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__8'::'<>t__builder' IL_0060: ldloca.s V_2 IL_0062: ldloca.s V_4 -IL_0064: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::AwaitUnsafeOnCompleted,class Example/'d__8'>(!!0&, +IL_0064: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::AwaitUnsafeOnCompleted,class Example/'d__8'>(!!0&, !!1&) IL_0069: nop IL_006a: leave IL_021e @@ -3558,10 +3419,10 @@ IL_00e4: stfld valuetype [System.Runtime]System.Runtime.CompilerServices.C IL_00e9: ldarg.0 IL_00ea: stloc.s V_4 IL_00ec: ldarg.0 -IL_00ed: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__8'::'<>t__builder' +IL_00ed: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__8'::'<>t__builder' IL_00f2: ldloca.s V_5 IL_00f4: ldloca.s V_4 -IL_00f6: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::AwaitUnsafeOnCompletedd__8'>(!!0&, +IL_00f6: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::AwaitUnsafeOnCompletedd__8'>(!!0&, !!1&) IL_00fb: nop IL_00fc: leave IL_021e @@ -3606,10 +3467,10 @@ IL_0162: stfld valuetype [System.Runtime]System.Runtime.CompilerServices.C IL_0167: ldarg.0 IL_0168: stloc.s V_4 IL_016a: ldarg.0 -IL_016b: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__8'::'<>t__builder' +IL_016b: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__8'::'<>t__builder' IL_0170: ldloca.s V_7 IL_0172: ldloca.s V_4 -IL_0174: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::AwaitUnsafeOnCompleted,class Example/'d__8'>(!!0&, +IL_0174: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::AwaitUnsafeOnCompleted,class Example/'d__8'>(!!0&, !!1&) IL_0179: nop IL_017a: leave IL_021e @@ -3664,9 +3525,9 @@ IL_01f1: ldarg.0 IL_01f2: ldc.i4.s -2 IL_01f4: stfld int32 Example/'d__8'::'<>1__state' IL_01f9: ldarg.0 -IL_01fa: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__8'::'<>t__builder' +IL_01fa: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__8'::'<>t__builder' IL_01ff: ldloc.s V_10 -IL_0201: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetException(class [System.Runtime]System.Exception) +IL_0201: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetException(class [System.Runtime]System.Exception) IL_0206: nop IL_0207: leave.s IL_021e } // end handler @@ -3674,42 +3535,36 @@ IL_0209: ldarg.0 IL_020a: ldc.i4.s -2 IL_020c: stfld int32 Example/'d__8'::'<>1__state' IL_0211: ldarg.0 -IL_0212: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__8'::'<>t__builder' +IL_0212: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__8'::'<>t__builder' IL_0217: ldloc.1 -IL_0218: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetResult(!0) +IL_0218: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetResult(!0) IL_021d: nop IL_021e: ret } .method private hidebysig newslot virtual final -instance void SetStateMachine(class [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed +instance void SetStateMachine(class [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed { -.param [1] -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.override [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine +.override [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine .maxstack 8 IL_0000: ret } } .class auto ansi sealed nested private beforefieldinit 'd__20' extends [System.Runtime]System.Object -implements [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine +implements [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine { -.interfaceimpl type [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) +.interfaceimpl type [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine .field public int32 '<>1__state' -.field public valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 '<>t__builder' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) +.field public valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 '<>t__builder' .field public class Example '<>4__this' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) .field private int32 '5__1' .field private int32 '5__2' .field private int32 '<>s__3' .field private int32 '5__4' .field private int32 '<>s__5' .field private int32 '<>s__6' -.field private valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1/ConfiguredValueTaskAwaiter '<>u__1' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field private valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter '<>u__2' +.field private valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1/ConfiguredValueTaskAwaiter '<>u__1' +.field private valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter '<>u__2' .method public hidebysig specialname rtspecialname instance void .ctor() cil managed { @@ -3722,18 +3577,18 @@ IL_0007: ret .method private hidebysig newslot virtual final instance void MoveNext() cil managed { -.override [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext +.override [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext .maxstack 3 .locals init (int32 V_0, int32 V_1, -valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1/ConfiguredValueTaskAwaiter V_2, -valuetype [System.Threading.Tasks.Extensions]System.Threading.Tasks.ValueTask`1 V_3, -valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1 V_4, +valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1/ConfiguredValueTaskAwaiter V_2, +valuetype [System.Runtime]System.Threading.Tasks.ValueTask`1 V_3, +valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1 V_4, class Example/'d__20' V_5, -valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter V_6, -valuetype [System.Threading.Tasks.Extensions]System.Threading.Tasks.ValueTask V_7, -valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable V_8, -valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1/ConfiguredValueTaskAwaiter V_9, +valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter V_6, +valuetype [System.Runtime]System.Threading.Tasks.ValueTask V_7, +valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable V_8, +valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1/ConfiguredValueTaskAwaiter V_9, int32 V_10, bool V_11, class [System.Runtime]System.Exception V_12) @@ -3754,17 +3609,17 @@ IL_0022: br IL_019a IL_0027: nop IL_0028: ldc.i4.s 10 IL_002a: call class [System.Runtime]System.Threading.Tasks.Task`1 [System.Runtime]System.Threading.Tasks.Task::FromResult(!!0) -IL_002f: newobj instance void valuetype [System.Threading.Tasks.Extensions]System.Threading.Tasks.ValueTask`1::.ctor(class [System.Runtime]System.Threading.Tasks.Task`1) +IL_002f: newobj instance void valuetype [System.Runtime]System.Threading.Tasks.ValueTask`1::.ctor(class [System.Runtime]System.Threading.Tasks.Task`1) IL_0034: stloc.3 IL_0035: ldloca.s V_3 IL_0037: ldc.i4.0 -IL_0038: call instance valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1 valuetype [System.Threading.Tasks.Extensions]System.Threading.Tasks.ValueTask`1::ConfigureAwait(bool) +IL_0038: call instance valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1 valuetype [System.Runtime]System.Threading.Tasks.ValueTask`1::ConfigureAwait(bool) IL_003d: stloc.s V_4 IL_003f: ldloca.s V_4 -IL_0041: call instance valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1/ConfiguredValueTaskAwaiter valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1::GetAwaiter() +IL_0041: call instance valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1/ConfiguredValueTaskAwaiter valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1::GetAwaiter() IL_0046: stloc.2 IL_0047: ldloca.s V_2 -IL_0049: call instance bool valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1/ConfiguredValueTaskAwaiter::get_IsCompleted() +IL_0049: call instance bool valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1/ConfiguredValueTaskAwaiter::get_IsCompleted() IL_004e: brtrue.s IL_0094 IL_0050: ldarg.0 IL_0051: ldc.i4.0 @@ -3773,23 +3628,23 @@ IL_0053: stloc.0 IL_0054: stfld int32 Example/'d__20'::'<>1__state' IL_0059: ldarg.0 IL_005a: ldloc.2 -IL_005b: stfld valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1/ConfiguredValueTaskAwaiter Example/'d__20'::'<>u__1' +IL_005b: stfld valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1/ConfiguredValueTaskAwaiter Example/'d__20'::'<>u__1' IL_0060: ldarg.0 IL_0061: stloc.s V_5 IL_0063: ldarg.0 -IL_0064: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__20'::'<>t__builder' +IL_0064: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__20'::'<>t__builder' IL_0069: ldloca.s V_2 IL_006b: ldloca.s V_5 -IL_006d: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::AwaitUnsafeOnCompleted,class Example/'d__20'>(!!0&, +IL_006d: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::AwaitUnsafeOnCompleted,class Example/'d__20'>(!!0&, !!1&) IL_0072: nop IL_0073: leave IL_0239 IL_0078: ldarg.0 -IL_0079: ldfld valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1/ConfiguredValueTaskAwaiter Example/'d__20'::'<>u__1' +IL_0079: ldfld valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1/ConfiguredValueTaskAwaiter Example/'d__20'::'<>u__1' IL_007e: stloc.2 IL_007f: ldarg.0 -IL_0080: ldflda valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1/ConfiguredValueTaskAwaiter Example/'d__20'::'<>u__1' -IL_0085: initobj valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1/ConfiguredValueTaskAwaiter +IL_0080: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1/ConfiguredValueTaskAwaiter Example/'d__20'::'<>u__1' +IL_0085: initobj valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1/ConfiguredValueTaskAwaiter IL_008b: ldarg.0 IL_008c: ldc.i4.m1 IL_008d: dup @@ -3797,7 +3652,7 @@ IL_008e: stloc.0 IL_008f: stfld int32 Example/'d__20'::'<>1__state' IL_0094: ldarg.0 IL_0095: ldloca.s V_2 -IL_0097: call instance !0 valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1/ConfiguredValueTaskAwaiter::GetResult() +IL_0097: call instance !0 valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1/ConfiguredValueTaskAwaiter::GetResult() IL_009c: stfld int32 Example/'d__20'::'<>s__3' IL_00a1: ldarg.0 IL_00a2: ldarg.0 @@ -3813,17 +3668,17 @@ IL_00bb: br IL_01ea IL_00c0: nop IL_00c1: ldc.i4.1 IL_00c2: call class [System.Runtime]System.Threading.Tasks.Task [System.Runtime]System.Threading.Tasks.Task::Delay(int32) -IL_00c7: newobj instance void [System.Threading.Tasks.Extensions]System.Threading.Tasks.ValueTask::.ctor(class [System.Runtime]System.Threading.Tasks.Task) +IL_00c7: newobj instance void [System.Runtime]System.Threading.Tasks.ValueTask::.ctor(class [System.Runtime]System.Threading.Tasks.Task) IL_00cc: stloc.s V_7 IL_00ce: ldloca.s V_7 IL_00d0: ldc.i4.0 -IL_00d1: call instance valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable [System.Threading.Tasks.Extensions]System.Threading.Tasks.ValueTask::ConfigureAwait(bool) +IL_00d1: call instance valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable [System.Runtime]System.Threading.Tasks.ValueTask::ConfigureAwait(bool) IL_00d6: stloc.s V_8 IL_00d8: ldloca.s V_8 -IL_00da: call instance valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable::GetAwaiter() +IL_00da: call instance valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter [System.Runtime]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable::GetAwaiter() IL_00df: stloc.s V_6 IL_00e1: ldloca.s V_6 -IL_00e3: call instance bool [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter::get_IsCompleted() +IL_00e3: call instance bool [System.Runtime]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter::get_IsCompleted() IL_00e8: brtrue.s IL_0130 IL_00ea: ldarg.0 IL_00eb: ldc.i4.1 @@ -3832,30 +3687,30 @@ IL_00ed: stloc.0 IL_00ee: stfld int32 Example/'d__20'::'<>1__state' IL_00f3: ldarg.0 IL_00f4: ldloc.s V_6 -IL_00f6: stfld valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter Example/'d__20'::'<>u__2' +IL_00f6: stfld valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter Example/'d__20'::'<>u__2' IL_00fb: ldarg.0 IL_00fc: stloc.s V_5 IL_00fe: ldarg.0 -IL_00ff: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__20'::'<>t__builder' +IL_00ff: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__20'::'<>t__builder' IL_0104: ldloca.s V_6 IL_0106: ldloca.s V_5 -IL_0108: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::AwaitUnsafeOnCompletedd__20'>(!!0&, +IL_0108: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::AwaitUnsafeOnCompletedd__20'>(!!0&, !!1&) IL_010d: nop IL_010e: leave IL_0239 IL_0113: ldarg.0 -IL_0114: ldfld valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter Example/'d__20'::'<>u__2' +IL_0114: ldfld valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter Example/'d__20'::'<>u__2' IL_0119: stloc.s V_6 IL_011b: ldarg.0 -IL_011c: ldflda valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter Example/'d__20'::'<>u__2' -IL_0121: initobj [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter +IL_011c: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter Example/'d__20'::'<>u__2' +IL_0121: initobj [System.Runtime]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter IL_0127: ldarg.0 IL_0128: ldc.i4.m1 IL_0129: dup IL_012a: stloc.0 IL_012b: stfld int32 Example/'d__20'::'<>1__state' IL_0130: ldloca.s V_6 -IL_0132: call instance void [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter::GetResult() +IL_0132: call instance void [System.Runtime]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter::GetResult() IL_0137: nop IL_0138: ldarg.0 IL_0139: ldarg.0 @@ -3864,17 +3719,17 @@ IL_013f: stfld int32 Example/'d__20'::'<>s__5' IL_0144: ldarg.0 IL_0145: ldfld int32 Example/'d__20'::'5__4' IL_014a: call class [System.Runtime]System.Threading.Tasks.Task`1 [System.Runtime]System.Threading.Tasks.Task::FromResult(!!0) -IL_014f: newobj instance void valuetype [System.Threading.Tasks.Extensions]System.Threading.Tasks.ValueTask`1::.ctor(class [System.Runtime]System.Threading.Tasks.Task`1) +IL_014f: newobj instance void valuetype [System.Runtime]System.Threading.Tasks.ValueTask`1::.ctor(class [System.Runtime]System.Threading.Tasks.Task`1) IL_0154: stloc.3 IL_0155: ldloca.s V_3 IL_0157: ldc.i4.0 -IL_0158: call instance valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1 valuetype [System.Threading.Tasks.Extensions]System.Threading.Tasks.ValueTask`1::ConfigureAwait(bool) +IL_0158: call instance valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1 valuetype [System.Runtime]System.Threading.Tasks.ValueTask`1::ConfigureAwait(bool) IL_015d: stloc.s V_4 IL_015f: ldloca.s V_4 -IL_0161: call instance valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1/ConfiguredValueTaskAwaiter valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1::GetAwaiter() +IL_0161: call instance valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1/ConfiguredValueTaskAwaiter valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1::GetAwaiter() IL_0166: stloc.s V_9 IL_0168: ldloca.s V_9 -IL_016a: call instance bool valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1/ConfiguredValueTaskAwaiter::get_IsCompleted() +IL_016a: call instance bool valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1/ConfiguredValueTaskAwaiter::get_IsCompleted() IL_016f: brtrue.s IL_01b7 IL_0171: ldarg.0 IL_0172: ldc.i4.2 @@ -3883,23 +3738,23 @@ IL_0174: stloc.0 IL_0175: stfld int32 Example/'d__20'::'<>1__state' IL_017a: ldarg.0 IL_017b: ldloc.s V_9 -IL_017d: stfld valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1/ConfiguredValueTaskAwaiter Example/'d__20'::'<>u__1' +IL_017d: stfld valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1/ConfiguredValueTaskAwaiter Example/'d__20'::'<>u__1' IL_0182: ldarg.0 IL_0183: stloc.s V_5 IL_0185: ldarg.0 -IL_0186: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__20'::'<>t__builder' +IL_0186: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__20'::'<>t__builder' IL_018b: ldloca.s V_9 IL_018d: ldloca.s V_5 -IL_018f: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::AwaitUnsafeOnCompleted,class Example/'d__20'>(!!0&, +IL_018f: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::AwaitUnsafeOnCompleted,class Example/'d__20'>(!!0&, !!1&) IL_0194: nop IL_0195: leave IL_0239 IL_019a: ldarg.0 -IL_019b: ldfld valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1/ConfiguredValueTaskAwaiter Example/'d__20'::'<>u__1' +IL_019b: ldfld valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1/ConfiguredValueTaskAwaiter Example/'d__20'::'<>u__1' IL_01a0: stloc.s V_9 IL_01a2: ldarg.0 -IL_01a3: ldflda valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1/ConfiguredValueTaskAwaiter Example/'d__20'::'<>u__1' -IL_01a8: initobj valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1/ConfiguredValueTaskAwaiter +IL_01a3: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1/ConfiguredValueTaskAwaiter Example/'d__20'::'<>u__1' +IL_01a8: initobj valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1/ConfiguredValueTaskAwaiter IL_01ae: ldarg.0 IL_01af: ldc.i4.m1 IL_01b0: dup @@ -3907,7 +3762,7 @@ IL_01b1: stloc.0 IL_01b2: stfld int32 Example/'d__20'::'<>1__state' IL_01b7: ldarg.0 IL_01b8: ldloca.s V_9 -IL_01ba: call instance !0 valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1/ConfiguredValueTaskAwaiter::GetResult() +IL_01ba: call instance !0 valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1/ConfiguredValueTaskAwaiter::GetResult() IL_01bf: stfld int32 Example/'d__20'::'<>s__6' IL_01c4: ldarg.0 IL_01c5: ldarg.0 @@ -3945,9 +3800,9 @@ IL_020c: ldarg.0 IL_020d: ldc.i4.s -2 IL_020f: stfld int32 Example/'d__20'::'<>1__state' IL_0214: ldarg.0 -IL_0215: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__20'::'<>t__builder' +IL_0215: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__20'::'<>t__builder' IL_021a: ldloc.s V_12 -IL_021c: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetException(class [System.Runtime]System.Exception) +IL_021c: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetException(class [System.Runtime]System.Exception) IL_0221: nop IL_0222: leave.s IL_0239 } // end handler @@ -3955,18 +3810,16 @@ IL_0224: ldarg.0 IL_0225: ldc.i4.s -2 IL_0227: stfld int32 Example/'d__20'::'<>1__state' IL_022c: ldarg.0 -IL_022d: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__20'::'<>t__builder' +IL_022d: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__20'::'<>t__builder' IL_0232: ldloc.1 -IL_0233: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetResult(!0) +IL_0233: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetResult(!0) IL_0238: nop IL_0239: ret } .method private hidebysig newslot virtual final -instance void SetStateMachine(class [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed +instance void SetStateMachine(class [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed { -.param [1] -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.override [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine +.override [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine .maxstack 8 IL_0000: ret } @@ -3980,8 +3833,8 @@ AsyncMethod1() cil managed IL_0000: newobj instance void Example/'d__0'::.ctor() IL_0005: stloc.0 IL_0006: ldloc.0 -IL_0007: call valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Create() -IL_000c: stfld valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Example/'d__0'::'<>t__builder' +IL_0007: call valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Create() +IL_000c: stfld valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Example/'d__0'::'<>t__builder' IL_0011: ldloc.0 IL_0012: ldarg.0 IL_0013: stfld class Example Example/'d__0'::'<>4__this' @@ -3989,12 +3842,12 @@ IL_0018: ldloc.0 IL_0019: ldc.i4.m1 IL_001a: stfld int32 Example/'d__0'::'<>1__state' IL_001f: ldloc.0 -IL_0020: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Example/'d__0'::'<>t__builder' +IL_0020: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Example/'d__0'::'<>t__builder' IL_0025: ldloca.s V_0 -IL_0027: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Startd__0'>(!!0&) +IL_0027: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Startd__0'>(!!0&) IL_002c: ldloc.0 -IL_002d: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Example/'d__0'::'<>t__builder' -IL_0032: call instance class [System.Runtime]System.Threading.Tasks.Task [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::get_Task() +IL_002d: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Example/'d__0'::'<>t__builder' +IL_0032: call instance class [System.Runtime]System.Threading.Tasks.Task [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::get_Task() IL_0037: ret } .method public hidebysig instance class [System.Runtime]System.Threading.Tasks.Task @@ -4006,8 +3859,8 @@ AsyncMethod2() cil managed IL_0000: newobj instance void Example/'d__1'::.ctor() IL_0005: stloc.0 IL_0006: ldloc.0 -IL_0007: call valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Create() -IL_000c: stfld valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Example/'d__1'::'<>t__builder' +IL_0007: call valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Create() +IL_000c: stfld valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Example/'d__1'::'<>t__builder' IL_0011: ldloc.0 IL_0012: ldarg.0 IL_0013: stfld class Example Example/'d__1'::'<>4__this' @@ -4015,12 +3868,12 @@ IL_0018: ldloc.0 IL_0019: ldc.i4.m1 IL_001a: stfld int32 Example/'d__1'::'<>1__state' IL_001f: ldloc.0 -IL_0020: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Example/'d__1'::'<>t__builder' +IL_0020: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Example/'d__1'::'<>t__builder' IL_0025: ldloca.s V_0 -IL_0027: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Startd__1'>(!!0&) +IL_0027: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Startd__1'>(!!0&) IL_002c: ldloc.0 -IL_002d: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Example/'d__1'::'<>t__builder' -IL_0032: call instance class [System.Runtime]System.Threading.Tasks.Task [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::get_Task() +IL_002d: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Example/'d__1'::'<>t__builder' +IL_0032: call instance class [System.Runtime]System.Threading.Tasks.Task [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::get_Task() IL_0037: ret } .method public hidebysig instance class [System.Runtime]System.Threading.Tasks.Task @@ -4032,8 +3885,8 @@ AsyncMethod3() cil managed IL_0000: newobj instance void Example/'d__2'::.ctor() IL_0005: stloc.0 IL_0006: ldloc.0 -IL_0007: call valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Create() -IL_000c: stfld valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Example/'d__2'::'<>t__builder' +IL_0007: call valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Create() +IL_000c: stfld valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Example/'d__2'::'<>t__builder' IL_0011: ldloc.0 IL_0012: ldarg.0 IL_0013: stfld class Example Example/'d__2'::'<>4__this' @@ -4041,12 +3894,12 @@ IL_0018: ldloc.0 IL_0019: ldc.i4.m1 IL_001a: stfld int32 Example/'d__2'::'<>1__state' IL_001f: ldloc.0 -IL_0020: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Example/'d__2'::'<>t__builder' +IL_0020: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Example/'d__2'::'<>t__builder' IL_0025: ldloca.s V_0 -IL_0027: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Startd__2'>(!!0&) +IL_0027: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Startd__2'>(!!0&) IL_002c: ldloc.0 -IL_002d: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Example/'d__2'::'<>t__builder' -IL_0032: call instance class [System.Runtime]System.Threading.Tasks.Task [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::get_Task() +IL_002d: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Example/'d__2'::'<>t__builder' +IL_0032: call instance class [System.Runtime]System.Threading.Tasks.Task [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::get_Task() IL_0037: ret } .method public hidebysig instance class [System.Runtime]System.Threading.Tasks.Task`1 @@ -4058,8 +3911,8 @@ AsyncMethod4() cil managed IL_0000: newobj instance void Example/'d__3'::.ctor() IL_0005: stloc.0 IL_0006: ldloc.0 -IL_0007: call valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::Create() -IL_000c: stfld valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__3'::'<>t__builder' +IL_0007: call valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::Create() +IL_000c: stfld valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__3'::'<>t__builder' IL_0011: ldloc.0 IL_0012: ldarg.0 IL_0013: stfld class Example Example/'d__3'::'<>4__this' @@ -4067,12 +3920,12 @@ IL_0018: ldloc.0 IL_0019: ldc.i4.m1 IL_001a: stfld int32 Example/'d__3'::'<>1__state' IL_001f: ldloc.0 -IL_0020: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__3'::'<>t__builder' +IL_0020: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__3'::'<>t__builder' IL_0025: ldloca.s V_0 -IL_0027: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::Startd__3'>(!!0&) +IL_0027: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::Startd__3'>(!!0&) IL_002c: ldloc.0 -IL_002d: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__3'::'<>t__builder' -IL_0032: call instance class [System.Runtime]System.Threading.Tasks.Task`1 valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::get_Task() +IL_002d: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__3'::'<>t__builder' +IL_0032: call instance class [System.Runtime]System.Threading.Tasks.Task`1 valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::get_Task() IL_0037: ret } .method public hidebysig instance class [System.Runtime]System.Threading.Tasks.Task`1 @@ -4084,8 +3937,8 @@ AsyncMethod5() cil managed IL_0000: newobj instance void Example/'d__4'::.ctor() IL_0005: stloc.0 IL_0006: ldloc.0 -IL_0007: call valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::Create() -IL_000c: stfld valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__4'::'<>t__builder' +IL_0007: call valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::Create() +IL_000c: stfld valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__4'::'<>t__builder' IL_0011: ldloc.0 IL_0012: ldarg.0 IL_0013: stfld class Example Example/'d__4'::'<>4__this' @@ -4093,12 +3946,12 @@ IL_0018: ldloc.0 IL_0019: ldc.i4.m1 IL_001a: stfld int32 Example/'d__4'::'<>1__state' IL_001f: ldloc.0 -IL_0020: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__4'::'<>t__builder' +IL_0020: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__4'::'<>t__builder' IL_0025: ldloca.s V_0 -IL_0027: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::Startd__4'>(!!0&) +IL_0027: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::Startd__4'>(!!0&) IL_002c: ldloc.0 -IL_002d: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__4'::'<>t__builder' -IL_0032: call instance class [System.Runtime]System.Threading.Tasks.Task`1 valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::get_Task() +IL_002d: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__4'::'<>t__builder' +IL_0032: call instance class [System.Runtime]System.Threading.Tasks.Task`1 valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::get_Task() IL_0037: ret } .method public hidebysig instance class [System.Runtime]System.Threading.Tasks.Task`1 @@ -4110,8 +3963,8 @@ AsyncMethod6() cil managed IL_0000: newobj instance void Example/'d__5'::.ctor() IL_0005: stloc.0 IL_0006: ldloc.0 -IL_0007: call valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::Create() -IL_000c: stfld valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__5'::'<>t__builder' +IL_0007: call valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::Create() +IL_000c: stfld valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__5'::'<>t__builder' IL_0011: ldloc.0 IL_0012: ldarg.0 IL_0013: stfld class Example Example/'d__5'::'<>4__this' @@ -4119,12 +3972,12 @@ IL_0018: ldloc.0 IL_0019: ldc.i4.m1 IL_001a: stfld int32 Example/'d__5'::'<>1__state' IL_001f: ldloc.0 -IL_0020: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__5'::'<>t__builder' +IL_0020: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__5'::'<>t__builder' IL_0025: ldloca.s V_0 -IL_0027: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::Startd__5'>(!!0&) +IL_0027: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::Startd__5'>(!!0&) IL_002c: ldloc.0 -IL_002d: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__5'::'<>t__builder' -IL_0032: call instance class [System.Runtime]System.Threading.Tasks.Task`1 valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::get_Task() +IL_002d: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__5'::'<>t__builder' +IL_0032: call instance class [System.Runtime]System.Threading.Tasks.Task`1 valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::get_Task() IL_0037: ret } .method public hidebysig instance class [System.Runtime]System.Threading.Tasks.Task`1 @@ -4136,8 +3989,8 @@ AsyncMethod7() cil managed IL_0000: newobj instance void Example/'d__6'::.ctor() IL_0005: stloc.0 IL_0006: ldloc.0 -IL_0007: call valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::Create() -IL_000c: stfld valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__6'::'<>t__builder' +IL_0007: call valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::Create() +IL_000c: stfld valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__6'::'<>t__builder' IL_0011: ldloc.0 IL_0012: ldarg.0 IL_0013: stfld class Example Example/'d__6'::'<>4__this' @@ -4145,12 +3998,12 @@ IL_0018: ldloc.0 IL_0019: ldc.i4.m1 IL_001a: stfld int32 Example/'d__6'::'<>1__state' IL_001f: ldloc.0 -IL_0020: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__6'::'<>t__builder' +IL_0020: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__6'::'<>t__builder' IL_0025: ldloca.s V_0 -IL_0027: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::Startd__6'>(!!0&) +IL_0027: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::Startd__6'>(!!0&) IL_002c: ldloc.0 -IL_002d: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__6'::'<>t__builder' -IL_0032: call instance class [System.Runtime]System.Threading.Tasks.Task`1 valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::get_Task() +IL_002d: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__6'::'<>t__builder' +IL_0032: call instance class [System.Runtime]System.Threading.Tasks.Task`1 valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::get_Task() IL_0037: ret } .method public hidebysig instance class [System.Runtime]System.Threading.Tasks.Task`1 @@ -4162,8 +4015,8 @@ AsyncMethod8() cil managed IL_0000: newobj instance void Example/'d__7'::.ctor() IL_0005: stloc.0 IL_0006: ldloc.0 -IL_0007: call valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::Create() -IL_000c: stfld valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__7'::'<>t__builder' +IL_0007: call valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::Create() +IL_000c: stfld valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__7'::'<>t__builder' IL_0011: ldloc.0 IL_0012: ldarg.0 IL_0013: stfld class Example Example/'d__7'::'<>4__this' @@ -4171,12 +4024,12 @@ IL_0018: ldloc.0 IL_0019: ldc.i4.m1 IL_001a: stfld int32 Example/'d__7'::'<>1__state' IL_001f: ldloc.0 -IL_0020: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__7'::'<>t__builder' +IL_0020: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__7'::'<>t__builder' IL_0025: ldloca.s V_0 -IL_0027: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::Startd__7'>(!!0&) +IL_0027: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::Startd__7'>(!!0&) IL_002c: ldloc.0 -IL_002d: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__7'::'<>t__builder' -IL_0032: call instance class [System.Runtime]System.Threading.Tasks.Task`1 valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::get_Task() +IL_002d: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__7'::'<>t__builder' +IL_0032: call instance class [System.Runtime]System.Threading.Tasks.Task`1 valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::get_Task() IL_0037: ret } .method public hidebysig instance class [System.Runtime]System.Threading.Tasks.Task`1 @@ -4188,8 +4041,8 @@ AsyncMethod9() cil managed IL_0000: newobj instance void Example/'d__8'::.ctor() IL_0005: stloc.0 IL_0006: ldloc.0 -IL_0007: call valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::Create() -IL_000c: stfld valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__8'::'<>t__builder' +IL_0007: call valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::Create() +IL_000c: stfld valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__8'::'<>t__builder' IL_0011: ldloc.0 IL_0012: ldarg.0 IL_0013: stfld class Example Example/'d__8'::'<>4__this' @@ -4197,12 +4050,12 @@ IL_0018: ldloc.0 IL_0019: ldc.i4.m1 IL_001a: stfld int32 Example/'d__8'::'<>1__state' IL_001f: ldloc.0 -IL_0020: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__8'::'<>t__builder' +IL_0020: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__8'::'<>t__builder' IL_0025: ldloca.s V_0 -IL_0027: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::Startd__8'>(!!0&) +IL_0027: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::Startd__8'>(!!0&) IL_002c: ldloc.0 -IL_002d: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__8'::'<>t__builder' -IL_0032: call instance class [System.Runtime]System.Threading.Tasks.Task`1 valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::get_Task() +IL_002d: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__8'::'<>t__builder' +IL_0032: call instance class [System.Runtime]System.Threading.Tasks.Task`1 valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::get_Task() IL_0037: ret } .method public hidebysig instance class [System.Runtime]System.Threading.Tasks.Task`1 @@ -4214,8 +4067,8 @@ AsyncMethod10() cil managed IL_0000: newobj instance void Example/'d__9'::.ctor() IL_0005: stloc.0 IL_0006: ldloc.0 -IL_0007: call valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::Create() -IL_000c: stfld valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__9'::'<>t__builder' +IL_0007: call valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::Create() +IL_000c: stfld valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__9'::'<>t__builder' IL_0011: ldloc.0 IL_0012: ldarg.0 IL_0013: stfld class Example Example/'d__9'::'<>4__this' @@ -4223,12 +4076,12 @@ IL_0018: ldloc.0 IL_0019: ldc.i4.m1 IL_001a: stfld int32 Example/'d__9'::'<>1__state' IL_001f: ldloc.0 -IL_0020: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__9'::'<>t__builder' +IL_0020: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__9'::'<>t__builder' IL_0025: ldloca.s V_0 -IL_0027: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::Startd__9'>(!!0&) +IL_0027: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::Startd__9'>(!!0&) IL_002c: ldloc.0 -IL_002d: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__9'::'<>t__builder' -IL_0032: call instance class [System.Runtime]System.Threading.Tasks.Task`1 valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::get_Task() +IL_002d: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__9'::'<>t__builder' +IL_0032: call instance class [System.Runtime]System.Threading.Tasks.Task`1 valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::get_Task() IL_0037: ret } .method public hidebysig instance class [System.Runtime]System.Threading.Tasks.Task`1 @@ -4241,8 +4094,8 @@ AsyncMethod11() cil managed IL_0000: newobj instance void Example/'d__10'::.ctor() IL_0005: stloc.0 IL_0006: ldloc.0 -IL_0007: call valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::Create() -IL_000c: stfld valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__10'::'<>t__builder' +IL_0007: call valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::Create() +IL_000c: stfld valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__10'::'<>t__builder' IL_0011: ldloc.0 IL_0012: ldarg.0 IL_0013: stfld class Example Example/'d__10'::'<>4__this' @@ -4250,12 +4103,12 @@ IL_0018: ldloc.0 IL_0019: ldc.i4.m1 IL_001a: stfld int32 Example/'d__10'::'<>1__state' IL_001f: ldloc.0 -IL_0020: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__10'::'<>t__builder' +IL_0020: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__10'::'<>t__builder' IL_0025: ldloca.s V_0 -IL_0027: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::Startd__10'>(!!0&) +IL_0027: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::Startd__10'>(!!0&) IL_002c: ldloc.0 -IL_002d: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__10'::'<>t__builder' -IL_0032: call instance class [System.Runtime]System.Threading.Tasks.Task`1 valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::get_Task() +IL_002d: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__10'::'<>t__builder' +IL_0032: call instance class [System.Runtime]System.Threading.Tasks.Task`1 valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::get_Task() IL_0037: ret } .method public hidebysig instance class [System.Runtime]System.Threading.Tasks.Task`1 @@ -4268,8 +4121,8 @@ AsyncMethod12() cil managed IL_0000: newobj instance void Example/'d__11'::.ctor() IL_0005: stloc.0 IL_0006: ldloc.0 -IL_0007: call valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::Create() -IL_000c: stfld valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__11'::'<>t__builder' +IL_0007: call valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::Create() +IL_000c: stfld valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__11'::'<>t__builder' IL_0011: ldloc.0 IL_0012: ldarg.0 IL_0013: stfld class Example Example/'d__11'::'<>4__this' @@ -4277,12 +4130,12 @@ IL_0018: ldloc.0 IL_0019: ldc.i4.m1 IL_001a: stfld int32 Example/'d__11'::'<>1__state' IL_001f: ldloc.0 -IL_0020: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__11'::'<>t__builder' +IL_0020: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__11'::'<>t__builder' IL_0025: ldloca.s V_0 -IL_0027: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::Startd__11'>(!!0&) +IL_0027: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::Startd__11'>(!!0&) IL_002c: ldloc.0 -IL_002d: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__11'::'<>t__builder' -IL_0032: call instance class [System.Runtime]System.Threading.Tasks.Task`1 valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::get_Task() +IL_002d: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__11'::'<>t__builder' +IL_0032: call instance class [System.Runtime]System.Threading.Tasks.Task`1 valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::get_Task() IL_0037: ret } .method public hidebysig instance class [System.Runtime]System.Threading.Tasks.Task @@ -4295,8 +4148,8 @@ AsyncMethod1_WithValueTask() cil managed IL_0000: newobj instance void Example/'d__12'::.ctor() IL_0005: stloc.0 IL_0006: ldloc.0 -IL_0007: call valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Create() -IL_000c: stfld valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Example/'d__12'::'<>t__builder' +IL_0007: call valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Create() +IL_000c: stfld valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Example/'d__12'::'<>t__builder' IL_0011: ldloc.0 IL_0012: ldarg.0 IL_0013: stfld class Example Example/'d__12'::'<>4__this' @@ -4304,12 +4157,12 @@ IL_0018: ldloc.0 IL_0019: ldc.i4.m1 IL_001a: stfld int32 Example/'d__12'::'<>1__state' IL_001f: ldloc.0 -IL_0020: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Example/'d__12'::'<>t__builder' +IL_0020: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Example/'d__12'::'<>t__builder' IL_0025: ldloca.s V_0 -IL_0027: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Startd__12'>(!!0&) +IL_0027: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Startd__12'>(!!0&) IL_002c: ldloc.0 -IL_002d: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Example/'d__12'::'<>t__builder' -IL_0032: call instance class [System.Runtime]System.Threading.Tasks.Task [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::get_Task() +IL_002d: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Example/'d__12'::'<>t__builder' +IL_0032: call instance class [System.Runtime]System.Threading.Tasks.Task [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::get_Task() IL_0037: ret } .method public hidebysig instance class [System.Runtime]System.Threading.Tasks.Task @@ -4322,8 +4175,8 @@ AsyncMethod2_WithValueTask() cil managed IL_0000: newobj instance void Example/'d__13'::.ctor() IL_0005: stloc.0 IL_0006: ldloc.0 -IL_0007: call valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Create() -IL_000c: stfld valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Example/'d__13'::'<>t__builder' +IL_0007: call valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Create() +IL_000c: stfld valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Example/'d__13'::'<>t__builder' IL_0011: ldloc.0 IL_0012: ldarg.0 IL_0013: stfld class Example Example/'d__13'::'<>4__this' @@ -4331,12 +4184,12 @@ IL_0018: ldloc.0 IL_0019: ldc.i4.m1 IL_001a: stfld int32 Example/'d__13'::'<>1__state' IL_001f: ldloc.0 -IL_0020: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Example/'d__13'::'<>t__builder' +IL_0020: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Example/'d__13'::'<>t__builder' IL_0025: ldloca.s V_0 -IL_0027: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Startd__13'>(!!0&) +IL_0027: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Startd__13'>(!!0&) IL_002c: ldloc.0 -IL_002d: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Example/'d__13'::'<>t__builder' -IL_0032: call instance class [System.Runtime]System.Threading.Tasks.Task [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::get_Task() +IL_002d: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Example/'d__13'::'<>t__builder' +IL_0032: call instance class [System.Runtime]System.Threading.Tasks.Task [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::get_Task() IL_0037: ret } .method public hidebysig instance class [System.Runtime]System.Threading.Tasks.Task @@ -4349,8 +4202,8 @@ AsyncMethod3_WithValueTask() cil managed IL_0000: newobj instance void Example/'d__14'::.ctor() IL_0005: stloc.0 IL_0006: ldloc.0 -IL_0007: call valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Create() -IL_000c: stfld valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Example/'d__14'::'<>t__builder' +IL_0007: call valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Create() +IL_000c: stfld valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Example/'d__14'::'<>t__builder' IL_0011: ldloc.0 IL_0012: ldarg.0 IL_0013: stfld class Example Example/'d__14'::'<>4__this' @@ -4358,12 +4211,12 @@ IL_0018: ldloc.0 IL_0019: ldc.i4.m1 IL_001a: stfld int32 Example/'d__14'::'<>1__state' IL_001f: ldloc.0 -IL_0020: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Example/'d__14'::'<>t__builder' +IL_0020: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Example/'d__14'::'<>t__builder' IL_0025: ldloca.s V_0 -IL_0027: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Startd__14'>(!!0&) +IL_0027: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Startd__14'>(!!0&) IL_002c: ldloc.0 -IL_002d: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Example/'d__14'::'<>t__builder' -IL_0032: call instance class [System.Runtime]System.Threading.Tasks.Task [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::get_Task() +IL_002d: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Example/'d__14'::'<>t__builder' +IL_0032: call instance class [System.Runtime]System.Threading.Tasks.Task [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::get_Task() IL_0037: ret } .method public hidebysig instance class [System.Runtime]System.Threading.Tasks.Task`1 @@ -4376,8 +4229,8 @@ AsyncMethod4_WithValueTask() cil managed IL_0000: newobj instance void Example/'d__15'::.ctor() IL_0005: stloc.0 IL_0006: ldloc.0 -IL_0007: call valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::Create() -IL_000c: stfld valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__15'::'<>t__builder' +IL_0007: call valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::Create() +IL_000c: stfld valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__15'::'<>t__builder' IL_0011: ldloc.0 IL_0012: ldarg.0 IL_0013: stfld class Example Example/'d__15'::'<>4__this' @@ -4385,12 +4238,12 @@ IL_0018: ldloc.0 IL_0019: ldc.i4.m1 IL_001a: stfld int32 Example/'d__15'::'<>1__state' IL_001f: ldloc.0 -IL_0020: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__15'::'<>t__builder' +IL_0020: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__15'::'<>t__builder' IL_0025: ldloca.s V_0 -IL_0027: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::Startd__15'>(!!0&) +IL_0027: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::Startd__15'>(!!0&) IL_002c: ldloc.0 -IL_002d: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__15'::'<>t__builder' -IL_0032: call instance class [System.Runtime]System.Threading.Tasks.Task`1 valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::get_Task() +IL_002d: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__15'::'<>t__builder' +IL_0032: call instance class [System.Runtime]System.Threading.Tasks.Task`1 valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::get_Task() IL_0037: ret } .method public hidebysig instance class [System.Runtime]System.Threading.Tasks.Task`1 @@ -4403,8 +4256,8 @@ AsyncMethod5_WithValueTask() cil managed IL_0000: newobj instance void Example/'d__16'::.ctor() IL_0005: stloc.0 IL_0006: ldloc.0 -IL_0007: call valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::Create() -IL_000c: stfld valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__16'::'<>t__builder' +IL_0007: call valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::Create() +IL_000c: stfld valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__16'::'<>t__builder' IL_0011: ldloc.0 IL_0012: ldarg.0 IL_0013: stfld class Example Example/'d__16'::'<>4__this' @@ -4412,12 +4265,12 @@ IL_0018: ldloc.0 IL_0019: ldc.i4.m1 IL_001a: stfld int32 Example/'d__16'::'<>1__state' IL_001f: ldloc.0 -IL_0020: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__16'::'<>t__builder' +IL_0020: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__16'::'<>t__builder' IL_0025: ldloca.s V_0 -IL_0027: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::Startd__16'>(!!0&) +IL_0027: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::Startd__16'>(!!0&) IL_002c: ldloc.0 -IL_002d: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__16'::'<>t__builder' -IL_0032: call instance class [System.Runtime]System.Threading.Tasks.Task`1 valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::get_Task() +IL_002d: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__16'::'<>t__builder' +IL_0032: call instance class [System.Runtime]System.Threading.Tasks.Task`1 valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::get_Task() IL_0037: ret } .method public hidebysig instance class [System.Runtime]System.Threading.Tasks.Task`1 @@ -4430,8 +4283,8 @@ AsyncMethod6_WithValueTask() cil managed IL_0000: newobj instance void Example/'d__17'::.ctor() IL_0005: stloc.0 IL_0006: ldloc.0 -IL_0007: call valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::Create() -IL_000c: stfld valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__17'::'<>t__builder' +IL_0007: call valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::Create() +IL_000c: stfld valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__17'::'<>t__builder' IL_0011: ldloc.0 IL_0012: ldarg.0 IL_0013: stfld class Example Example/'d__17'::'<>4__this' @@ -4439,12 +4292,12 @@ IL_0018: ldloc.0 IL_0019: ldc.i4.m1 IL_001a: stfld int32 Example/'d__17'::'<>1__state' IL_001f: ldloc.0 -IL_0020: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__17'::'<>t__builder' +IL_0020: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__17'::'<>t__builder' IL_0025: ldloca.s V_0 -IL_0027: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::Startd__17'>(!!0&) +IL_0027: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::Startd__17'>(!!0&) IL_002c: ldloc.0 -IL_002d: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__17'::'<>t__builder' -IL_0032: call instance class [System.Runtime]System.Threading.Tasks.Task`1 valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::get_Task() +IL_002d: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__17'::'<>t__builder' +IL_0032: call instance class [System.Runtime]System.Threading.Tasks.Task`1 valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::get_Task() IL_0037: ret } .method public hidebysig instance class [System.Runtime]System.Threading.Tasks.Task`1 @@ -4457,8 +4310,8 @@ AsyncMethod7_WithValueTask() cil managed IL_0000: newobj instance void Example/'d__18'::.ctor() IL_0005: stloc.0 IL_0006: ldloc.0 -IL_0007: call valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::Create() -IL_000c: stfld valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__18'::'<>t__builder' +IL_0007: call valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::Create() +IL_000c: stfld valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__18'::'<>t__builder' IL_0011: ldloc.0 IL_0012: ldarg.0 IL_0013: stfld class Example Example/'d__18'::'<>4__this' @@ -4466,12 +4319,12 @@ IL_0018: ldloc.0 IL_0019: ldc.i4.m1 IL_001a: stfld int32 Example/'d__18'::'<>1__state' IL_001f: ldloc.0 -IL_0020: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__18'::'<>t__builder' +IL_0020: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__18'::'<>t__builder' IL_0025: ldloca.s V_0 -IL_0027: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::Startd__18'>(!!0&) +IL_0027: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::Startd__18'>(!!0&) IL_002c: ldloc.0 -IL_002d: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__18'::'<>t__builder' -IL_0032: call instance class [System.Runtime]System.Threading.Tasks.Task`1 valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::get_Task() +IL_002d: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__18'::'<>t__builder' +IL_0032: call instance class [System.Runtime]System.Threading.Tasks.Task`1 valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::get_Task() IL_0037: ret } .method public hidebysig instance class [System.Runtime]System.Threading.Tasks.Task`1 @@ -4484,8 +4337,8 @@ AsyncMethod8_WithValueTask() cil managed IL_0000: newobj instance void Example/'d__19'::.ctor() IL_0005: stloc.0 IL_0006: ldloc.0 -IL_0007: call valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::Create() -IL_000c: stfld valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__19'::'<>t__builder' +IL_0007: call valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::Create() +IL_000c: stfld valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__19'::'<>t__builder' IL_0011: ldloc.0 IL_0012: ldarg.0 IL_0013: stfld class Example Example/'d__19'::'<>4__this' @@ -4493,12 +4346,12 @@ IL_0018: ldloc.0 IL_0019: ldc.i4.m1 IL_001a: stfld int32 Example/'d__19'::'<>1__state' IL_001f: ldloc.0 -IL_0020: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__19'::'<>t__builder' +IL_0020: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__19'::'<>t__builder' IL_0025: ldloca.s V_0 -IL_0027: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::Startd__19'>(!!0&) +IL_0027: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::Startd__19'>(!!0&) IL_002c: ldloc.0 -IL_002d: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__19'::'<>t__builder' -IL_0032: call instance class [System.Runtime]System.Threading.Tasks.Task`1 valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::get_Task() +IL_002d: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__19'::'<>t__builder' +IL_0032: call instance class [System.Runtime]System.Threading.Tasks.Task`1 valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::get_Task() IL_0037: ret } .method public hidebysig instance class [System.Runtime]System.Threading.Tasks.Task`1 @@ -4511,8 +4364,8 @@ AsyncMethod9_WithValueTask() cil managed IL_0000: newobj instance void Example/'d__20'::.ctor() IL_0005: stloc.0 IL_0006: ldloc.0 -IL_0007: call valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::Create() -IL_000c: stfld valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__20'::'<>t__builder' +IL_0007: call valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::Create() +IL_000c: stfld valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__20'::'<>t__builder' IL_0011: ldloc.0 IL_0012: ldarg.0 IL_0013: stfld class Example Example/'d__20'::'<>4__this' @@ -4520,12 +4373,12 @@ IL_0018: ldloc.0 IL_0019: ldc.i4.m1 IL_001a: stfld int32 Example/'d__20'::'<>1__state' IL_001f: ldloc.0 -IL_0020: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__20'::'<>t__builder' +IL_0020: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__20'::'<>t__builder' IL_0025: ldloca.s V_0 -IL_0027: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::Startd__20'>(!!0&) +IL_0027: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::Startd__20'>(!!0&) IL_002c: ldloc.0 -IL_002d: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__20'::'<>t__builder' -IL_0032: call instance class [System.Runtime]System.Threading.Tasks.Task`1 valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::get_Task() +IL_002d: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__20'::'<>t__builder' +IL_0032: call instance class [System.Runtime]System.Threading.Tasks.Task`1 valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::get_Task() IL_0037: ret } .method public hidebysig instance class [System.Runtime]System.Threading.Tasks.Task`1 @@ -4538,8 +4391,8 @@ AsyncMethod10_WithValueTask() cil managed IL_0000: newobj instance void Example/'d__21'::.ctor() IL_0005: stloc.0 IL_0006: ldloc.0 -IL_0007: call valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::Create() -IL_000c: stfld valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__21'::'<>t__builder' +IL_0007: call valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::Create() +IL_000c: stfld valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__21'::'<>t__builder' IL_0011: ldloc.0 IL_0012: ldarg.0 IL_0013: stfld class Example Example/'d__21'::'<>4__this' @@ -4547,12 +4400,12 @@ IL_0018: ldloc.0 IL_0019: ldc.i4.m1 IL_001a: stfld int32 Example/'d__21'::'<>1__state' IL_001f: ldloc.0 -IL_0020: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__21'::'<>t__builder' +IL_0020: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__21'::'<>t__builder' IL_0025: ldloca.s V_0 -IL_0027: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::Startd__21'>(!!0&) +IL_0027: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::Startd__21'>(!!0&) IL_002c: ldloc.0 -IL_002d: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__21'::'<>t__builder' -IL_0032: call instance class [System.Runtime]System.Threading.Tasks.Task`1 valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::get_Task() +IL_002d: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__21'::'<>t__builder' +IL_0032: call instance class [System.Runtime]System.Threading.Tasks.Task`1 valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::get_Task() IL_0037: ret } .method public hidebysig instance class [System.Runtime]System.Threading.Tasks.Task`1 @@ -4565,8 +4418,8 @@ AsyncMethod11_WithValueTask() cil managed IL_0000: newobj instance void Example/'d__22'::.ctor() IL_0005: stloc.0 IL_0006: ldloc.0 -IL_0007: call valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::Create() -IL_000c: stfld valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__22'::'<>t__builder' +IL_0007: call valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::Create() +IL_000c: stfld valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__22'::'<>t__builder' IL_0011: ldloc.0 IL_0012: ldarg.0 IL_0013: stfld class Example Example/'d__22'::'<>4__this' @@ -4574,12 +4427,12 @@ IL_0018: ldloc.0 IL_0019: ldc.i4.m1 IL_001a: stfld int32 Example/'d__22'::'<>1__state' IL_001f: ldloc.0 -IL_0020: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__22'::'<>t__builder' +IL_0020: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__22'::'<>t__builder' IL_0025: ldloca.s V_0 -IL_0027: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::Startd__22'>(!!0&) +IL_0027: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::Startd__22'>(!!0&) IL_002c: ldloc.0 -IL_002d: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__22'::'<>t__builder' -IL_0032: call instance class [System.Runtime]System.Threading.Tasks.Task`1 valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::get_Task() +IL_002d: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__22'::'<>t__builder' +IL_0032: call instance class [System.Runtime]System.Threading.Tasks.Task`1 valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::get_Task() IL_0037: ret } .method public hidebysig instance class [System.Runtime]System.Threading.Tasks.Task`1 @@ -4592,8 +4445,8 @@ AsyncMethod12_WithValueTask() cil managed IL_0000: newobj instance void Example/'d__23'::.ctor() IL_0005: stloc.0 IL_0006: ldloc.0 -IL_0007: call valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::Create() -IL_000c: stfld valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__23'::'<>t__builder' +IL_0007: call valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::Create() +IL_000c: stfld valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__23'::'<>t__builder' IL_0011: ldloc.0 IL_0012: ldarg.0 IL_0013: stfld class Example Example/'d__23'::'<>4__this' @@ -4601,12 +4454,12 @@ IL_0018: ldloc.0 IL_0019: ldc.i4.m1 IL_001a: stfld int32 Example/'d__23'::'<>1__state' IL_001f: ldloc.0 -IL_0020: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__23'::'<>t__builder' +IL_0020: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__23'::'<>t__builder' IL_0025: ldloca.s V_0 -IL_0027: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::Startd__23'>(!!0&) +IL_0027: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::Startd__23'>(!!0&) IL_002c: ldloc.0 -IL_002d: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__23'::'<>t__builder' -IL_0032: call instance class [System.Runtime]System.Threading.Tasks.Task`1 valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::get_Task() +IL_002d: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__23'::'<>t__builder' +IL_0032: call instance class [System.Runtime]System.Threading.Tasks.Task`1 valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::get_Task() IL_0037: ret } .method public hidebysig specialname rtspecialname diff --git a/Tests/ModuleWeaverTests.DecompileExample.Debug.DotNet11_0.verified.txt b/Tests/ModuleWeaverTests.DecompileExample.Debug.DotNet11_0.verified.txt new file mode 100644 index 0000000..d76fe45 --- /dev/null +++ b/Tests/ModuleWeaverTests.DecompileExample.Debug.DotNet11_0.verified.txt @@ -0,0 +1,754 @@ +.class public auto ansi beforefieldinit Example +extends [System.Runtime]System.Object +{ +.method public hidebysig instance class [System.Runtime]System.Threading.Tasks.Task +AsyncMethod1() cil managed +{ +.maxstack 8 +IL_0000: nop +IL_0001: ldc.i4.1 +IL_0002: call class [System.Runtime]System.Threading.Tasks.Task [System.Runtime]System.Threading.Tasks.Task::Delay(int32) +IL_0007: call void [System.Runtime]System.Runtime.CompilerServices.AsyncHelpers::Await(class [System.Runtime]System.Threading.Tasks.Task) +IL_000c: nop +IL_000d: ret +} +.method public hidebysig instance class [System.Runtime]System.Threading.Tasks.Task +AsyncMethod2() cil managed +{ +.maxstack 8 +IL_0000: nop +IL_0001: ldc.i4.1 +IL_0002: call class [System.Runtime]System.Threading.Tasks.Task [System.Runtime]System.Threading.Tasks.Task::Delay(int32) +IL_0007: ldc.i4.0 +IL_0008: callvirt instance valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable [System.Private.CoreLib]System.Threading.Tasks.Task::ConfigureAwait(bool) +IL_000d: call void [System.Private.CoreLib]System.Runtime.CompilerServices.AsyncHelpers::Await(valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable) +IL_0012: nop +IL_0013: ret +} +.method public hidebysig instance class [System.Runtime]System.Threading.Tasks.Task +AsyncMethod3() cil managed +{ +.maxstack 8 +IL_0000: nop +IL_0001: ldc.i4.1 +IL_0002: call class [System.Runtime]System.Threading.Tasks.Task [System.Runtime]System.Threading.Tasks.Task::Delay(int32) +IL_0007: ldc.i4.0 +IL_0008: callvirt instance valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable [System.Runtime]System.Threading.Tasks.Task::ConfigureAwait(bool) +IL_000d: call void [System.Runtime]System.Runtime.CompilerServices.AsyncHelpers::Await(valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable) +IL_0012: nop +IL_0013: ret +} +.method public hidebysig instance class [System.Runtime]System.Threading.Tasks.Task`1 +AsyncMethod4() cil managed +{ +.maxstack 1 +.locals init (int32 V_0, +int32 V_1, +int32 V_2) +IL_0000: nop +IL_0001: ldc.i4.s 10 +IL_0003: call class [System.Runtime]System.Threading.Tasks.Task`1 [System.Runtime]System.Threading.Tasks.Task::FromResult(!!0) +IL_0008: call !!0 [System.Runtime]System.Runtime.CompilerServices.AsyncHelpers::Await(class [System.Runtime]System.Threading.Tasks.Task`1) +IL_000d: stloc.1 +IL_000e: ldloc.1 +IL_000f: stloc.0 +IL_0010: ldloc.0 +IL_0011: stloc.2 +IL_0012: br.s IL_0014 +IL_0014: ldloc.2 +IL_0015: ret +} +.method public hidebysig instance class [System.Runtime]System.Threading.Tasks.Task`1 +AsyncMethod5() cil managed +{ +.maxstack 2 +.locals init (int32 V_0, +int32 V_1, +int32 V_2) +IL_0000: nop +IL_0001: ldc.i4.s 10 +IL_0003: call class [System.Runtime]System.Threading.Tasks.Task`1 [System.Runtime]System.Threading.Tasks.Task::FromResult(!!0) +IL_0008: ldc.i4.0 +IL_0009: callvirt instance valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1 class [System.Private.CoreLib]System.Threading.Tasks.Task`1::ConfigureAwait(bool) +IL_000e: call !!0 [System.Private.CoreLib]System.Runtime.CompilerServices.AsyncHelpers::Await(valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1) +IL_0013: stloc.1 +IL_0014: ldloc.1 +IL_0015: stloc.0 +IL_0016: ldloc.0 +IL_0017: stloc.2 +IL_0018: br.s IL_001a +IL_001a: ldloc.2 +IL_001b: ret +} +.method public hidebysig instance class [System.Runtime]System.Threading.Tasks.Task`1 +AsyncMethod6() cil managed +{ +.maxstack 2 +.locals init (int32 V_0, +int32 V_1, +int32 V_2) +IL_0000: nop +IL_0001: ldc.i4.s 10 +IL_0003: call class [System.Runtime]System.Threading.Tasks.Task`1 [System.Runtime]System.Threading.Tasks.Task::FromResult(!!0) +IL_0008: ldc.i4.0 +IL_0009: callvirt instance valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1 class [System.Runtime]System.Threading.Tasks.Task`1::ConfigureAwait(bool) +IL_000e: call !!0 [System.Runtime]System.Runtime.CompilerServices.AsyncHelpers::Await(valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1) +IL_0013: stloc.1 +IL_0014: ldloc.1 +IL_0015: stloc.0 +IL_0016: ldloc.0 +IL_0017: stloc.2 +IL_0018: br.s IL_001a +IL_001a: ldloc.2 +IL_001b: ret +} +.method public hidebysig instance class [System.Runtime]System.Threading.Tasks.Task`1 +AsyncMethod7() cil managed +{ +.maxstack 2 +.locals init (int32 V_0, +int32 V_1, +int32 V_2, +int32 V_3, +int32 V_4, +int32 V_5, +bool V_6, +int32 V_7) +IL_0000: nop +IL_0001: ldc.i4.s 10 +IL_0003: call class [System.Runtime]System.Threading.Tasks.Task`1 [System.Runtime]System.Threading.Tasks.Task::FromResult(!!0) +IL_0008: call !!0 [System.Runtime]System.Runtime.CompilerServices.AsyncHelpers::Await(class [System.Runtime]System.Threading.Tasks.Task`1) +IL_000d: stloc.2 +IL_000e: ldloc.2 +IL_000f: stloc.0 +IL_0010: ldc.i4.0 +IL_0011: stloc.1 +IL_0012: ldc.i4.0 +IL_0013: stloc.3 +IL_0014: br.s IL_003e +IL_0016: nop +IL_0017: ldc.i4.1 +IL_0018: call class [System.Runtime]System.Threading.Tasks.Task [System.Runtime]System.Threading.Tasks.Task::Delay(int32) +IL_001d: call void [System.Runtime]System.Runtime.CompilerServices.AsyncHelpers::Await(class [System.Runtime]System.Threading.Tasks.Task) +IL_0022: nop +IL_0023: ldloc.1 +IL_0024: stloc.s V_4 +IL_0026: ldloc.3 +IL_0027: call class [System.Runtime]System.Threading.Tasks.Task`1 [System.Runtime]System.Threading.Tasks.Task::FromResult(!!0) +IL_002c: call !!0 [System.Runtime]System.Runtime.CompilerServices.AsyncHelpers::Await(class [System.Runtime]System.Threading.Tasks.Task`1) +IL_0031: stloc.s V_5 +IL_0033: ldloc.s V_4 +IL_0035: ldloc.s V_5 +IL_0037: add +IL_0038: stloc.1 +IL_0039: nop +IL_003a: ldloc.3 +IL_003b: ldc.i4.1 +IL_003c: add +IL_003d: stloc.3 +IL_003e: ldloc.3 +IL_003f: ldloc.0 +IL_0040: clt +IL_0042: stloc.s V_6 +IL_0044: ldloc.s V_6 +IL_0046: brtrue.s IL_0016 +IL_0048: ldloc.1 +IL_0049: stloc.s V_7 +IL_004b: br.s IL_004d +IL_004d: ldloc.s V_7 +IL_004f: ret +} +.method public hidebysig instance class [System.Runtime]System.Threading.Tasks.Task`1 +AsyncMethod8() cil managed +{ +.maxstack 2 +.locals init (int32 V_0, +int32 V_1, +int32 V_2, +int32 V_3, +int32 V_4, +int32 V_5, +bool V_6, +int32 V_7) +IL_0000: nop +IL_0001: ldc.i4.s 10 +IL_0003: call class [System.Runtime]System.Threading.Tasks.Task`1 [System.Runtime]System.Threading.Tasks.Task::FromResult(!!0) +IL_0008: ldc.i4.0 +IL_0009: callvirt instance valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1 class [System.Private.CoreLib]System.Threading.Tasks.Task`1::ConfigureAwait(bool) +IL_000e: call !!0 [System.Private.CoreLib]System.Runtime.CompilerServices.AsyncHelpers::Await(valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1) +IL_0013: stloc.2 +IL_0014: ldloc.2 +IL_0015: stloc.0 +IL_0016: ldc.i4.0 +IL_0017: stloc.1 +IL_0018: ldc.i4.0 +IL_0019: stloc.3 +IL_001a: br.s IL_0050 +IL_001c: nop +IL_001d: ldc.i4.1 +IL_001e: call class [System.Runtime]System.Threading.Tasks.Task [System.Runtime]System.Threading.Tasks.Task::Delay(int32) +IL_0023: ldc.i4.0 +IL_0024: callvirt instance valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable [System.Private.CoreLib]System.Threading.Tasks.Task::ConfigureAwait(bool) +IL_0029: call void [System.Private.CoreLib]System.Runtime.CompilerServices.AsyncHelpers::Await(valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable) +IL_002e: nop +IL_002f: ldloc.1 +IL_0030: stloc.s V_4 +IL_0032: ldloc.3 +IL_0033: call class [System.Runtime]System.Threading.Tasks.Task`1 [System.Runtime]System.Threading.Tasks.Task::FromResult(!!0) +IL_0038: ldc.i4.0 +IL_0039: callvirt instance valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1 class [System.Private.CoreLib]System.Threading.Tasks.Task`1::ConfigureAwait(bool) +IL_003e: call !!0 [System.Private.CoreLib]System.Runtime.CompilerServices.AsyncHelpers::Await(valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1) +IL_0043: stloc.s V_5 +IL_0045: ldloc.s V_4 +IL_0047: ldloc.s V_5 +IL_0049: add +IL_004a: stloc.1 +IL_004b: nop +IL_004c: ldloc.3 +IL_004d: ldc.i4.1 +IL_004e: add +IL_004f: stloc.3 +IL_0050: ldloc.3 +IL_0051: ldloc.0 +IL_0052: clt +IL_0054: stloc.s V_6 +IL_0056: ldloc.s V_6 +IL_0058: brtrue.s IL_001c +IL_005a: ldloc.1 +IL_005b: stloc.s V_7 +IL_005d: br.s IL_005f +IL_005f: ldloc.s V_7 +IL_0061: ret +} +.method public hidebysig instance class [System.Runtime]System.Threading.Tasks.Task`1 +AsyncMethod9() cil managed +{ +.maxstack 2 +.locals init (int32 V_0, +int32 V_1, +int32 V_2, +int32 V_3, +int32 V_4, +int32 V_5, +bool V_6, +int32 V_7) +IL_0000: nop +IL_0001: ldc.i4.s 10 +IL_0003: call class [System.Runtime]System.Threading.Tasks.Task`1 [System.Runtime]System.Threading.Tasks.Task::FromResult(!!0) +IL_0008: ldc.i4.0 +IL_0009: callvirt instance valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1 class [System.Runtime]System.Threading.Tasks.Task`1::ConfigureAwait(bool) +IL_000e: call !!0 [System.Runtime]System.Runtime.CompilerServices.AsyncHelpers::Await(valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1) +IL_0013: stloc.2 +IL_0014: ldloc.2 +IL_0015: stloc.0 +IL_0016: ldc.i4.0 +IL_0017: stloc.1 +IL_0018: ldc.i4.0 +IL_0019: stloc.3 +IL_001a: br.s IL_0050 +IL_001c: nop +IL_001d: ldc.i4.1 +IL_001e: call class [System.Runtime]System.Threading.Tasks.Task [System.Runtime]System.Threading.Tasks.Task::Delay(int32) +IL_0023: ldc.i4.0 +IL_0024: callvirt instance valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable [System.Runtime]System.Threading.Tasks.Task::ConfigureAwait(bool) +IL_0029: call void [System.Runtime]System.Runtime.CompilerServices.AsyncHelpers::Await(valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable) +IL_002e: nop +IL_002f: ldloc.1 +IL_0030: stloc.s V_4 +IL_0032: ldloc.3 +IL_0033: call class [System.Runtime]System.Threading.Tasks.Task`1 [System.Runtime]System.Threading.Tasks.Task::FromResult(!!0) +IL_0038: ldc.i4.0 +IL_0039: callvirt instance valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1 class [System.Runtime]System.Threading.Tasks.Task`1::ConfigureAwait(bool) +IL_003e: call !!0 [System.Runtime]System.Runtime.CompilerServices.AsyncHelpers::Await(valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1) +IL_0043: stloc.s V_5 +IL_0045: ldloc.s V_4 +IL_0047: ldloc.s V_5 +IL_0049: add +IL_004a: stloc.1 +IL_004b: nop +IL_004c: ldloc.3 +IL_004d: ldc.i4.1 +IL_004e: add +IL_004f: stloc.3 +IL_0050: ldloc.3 +IL_0051: ldloc.0 +IL_0052: clt +IL_0054: stloc.s V_6 +IL_0056: ldloc.s V_6 +IL_0058: brtrue.s IL_001c +IL_005a: ldloc.1 +IL_005b: stloc.s V_7 +IL_005d: br.s IL_005f +IL_005f: ldloc.s V_7 +IL_0061: ret +} +.method public hidebysig instance class [System.Runtime]System.Threading.Tasks.Task`1 +AsyncMethod10() cil managed +{ +.maxstack 1 +.locals init (class Example V_0, +class Example V_1, +class Example V_2) +IL_0000: nop +IL_0001: newobj instance void Example::.ctor() +IL_0006: call class [System.Runtime]System.Threading.Tasks.Task`1 [System.Runtime]System.Threading.Tasks.Task::FromResult(!!0) +IL_000b: call !!0 [System.Runtime]System.Runtime.CompilerServices.AsyncHelpers::Await(class [System.Runtime]System.Threading.Tasks.Task`1) +IL_0010: stloc.1 +IL_0011: ldloc.1 +IL_0012: stloc.0 +IL_0013: ldloc.0 +IL_0014: stloc.2 +IL_0015: br.s IL_0017 +IL_0017: ldloc.2 +IL_0018: ret +} +.method public hidebysig instance class [System.Runtime]System.Threading.Tasks.Task`1 +AsyncMethod11() cil managed +{ +.maxstack 2 +.locals init (class Example V_0, +class Example V_1, +class Example V_2) +IL_0000: nop +IL_0001: newobj instance void Example::.ctor() +IL_0006: call class [System.Runtime]System.Threading.Tasks.Task`1 [System.Runtime]System.Threading.Tasks.Task::FromResult(!!0) +IL_000b: ldc.i4.0 +IL_000c: callvirt instance valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1 class [System.Private.CoreLib]System.Threading.Tasks.Task`1::ConfigureAwait(bool) +IL_0011: call !!0 [System.Private.CoreLib]System.Runtime.CompilerServices.AsyncHelpers::Await(valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1) +IL_0016: stloc.1 +IL_0017: ldloc.1 +IL_0018: stloc.0 +IL_0019: ldloc.0 +IL_001a: stloc.2 +IL_001b: br.s IL_001d +IL_001d: ldloc.2 +IL_001e: ret +} +.method public hidebysig instance class [System.Runtime]System.Threading.Tasks.Task`1 +AsyncMethod12() cil managed +{ +.maxstack 2 +.locals init (class Example V_0, +class Example V_1, +class Example V_2) +IL_0000: nop +IL_0001: newobj instance void Example::.ctor() +IL_0006: call class [System.Runtime]System.Threading.Tasks.Task`1 [System.Runtime]System.Threading.Tasks.Task::FromResult(!!0) +IL_000b: ldc.i4.0 +IL_000c: callvirt instance valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1 class [System.Runtime]System.Threading.Tasks.Task`1::ConfigureAwait(bool) +IL_0011: call !!0 [System.Runtime]System.Runtime.CompilerServices.AsyncHelpers::Await(valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1) +IL_0016: stloc.1 +IL_0017: ldloc.1 +IL_0018: stloc.0 +IL_0019: ldloc.0 +IL_001a: stloc.2 +IL_001b: br.s IL_001d +IL_001d: ldloc.2 +IL_001e: ret +} +.method public hidebysig instance class [System.Runtime]System.Threading.Tasks.Task +AsyncMethod1_WithValueTask() cil managed +{ +.maxstack 8 +IL_0000: nop +IL_0001: ldc.i4.1 +IL_0002: call class [System.Runtime]System.Threading.Tasks.Task [System.Runtime]System.Threading.Tasks.Task::Delay(int32) +IL_0007: newobj instance void [System.Runtime]System.Threading.Tasks.ValueTask::.ctor(class [System.Runtime]System.Threading.Tasks.Task) +IL_000c: call void [System.Runtime]System.Runtime.CompilerServices.AsyncHelpers::Await(valuetype [System.Runtime]System.Threading.Tasks.ValueTask) +IL_0011: nop +IL_0012: ret +} +.method public hidebysig instance class [System.Runtime]System.Threading.Tasks.Task +AsyncMethod2_WithValueTask() cil managed +{ +.maxstack 2 +.locals (valuetype [System.Private.CoreLib]System.Threading.Tasks.ValueTask V_0) +IL_0000: nop +IL_0001: ldc.i4.1 +IL_0002: call class [System.Runtime]System.Threading.Tasks.Task [System.Runtime]System.Threading.Tasks.Task::Delay(int32) +IL_0007: newobj instance void [System.Runtime]System.Threading.Tasks.ValueTask::.ctor(class [System.Runtime]System.Threading.Tasks.Task) +IL_000c: stloc.0 +IL_000d: ldloca.s V_0 +IL_000f: ldc.i4.0 +IL_0010: call instance valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable [System.Private.CoreLib]System.Threading.Tasks.ValueTask::ConfigureAwait(bool) +IL_0015: call void [System.Private.CoreLib]System.Runtime.CompilerServices.AsyncHelpers::Await(valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable) +IL_001a: nop +IL_001b: ret +} +.method public hidebysig instance class [System.Runtime]System.Threading.Tasks.Task +AsyncMethod3_WithValueTask() cil managed +{ +.maxstack 2 +.locals init (valuetype [System.Runtime]System.Threading.Tasks.ValueTask V_0) +IL_0000: nop +IL_0001: ldc.i4.1 +IL_0002: call class [System.Runtime]System.Threading.Tasks.Task [System.Runtime]System.Threading.Tasks.Task::Delay(int32) +IL_0007: newobj instance void [System.Runtime]System.Threading.Tasks.ValueTask::.ctor(class [System.Runtime]System.Threading.Tasks.Task) +IL_000c: stloc.0 +IL_000d: ldloca.s V_0 +IL_000f: ldc.i4.0 +IL_0010: call instance valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable [System.Runtime]System.Threading.Tasks.ValueTask::ConfigureAwait(bool) +IL_0015: call void [System.Runtime]System.Runtime.CompilerServices.AsyncHelpers::Await(valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable) +IL_001a: nop +IL_001b: ret +} +.method public hidebysig instance class [System.Runtime]System.Threading.Tasks.Task`1 +AsyncMethod4_WithValueTask() cil managed +{ +.maxstack 1 +.locals init (int32 V_0, +int32 V_1, +int32 V_2) +IL_0000: nop +IL_0001: ldc.i4.s 10 +IL_0003: call class [System.Runtime]System.Threading.Tasks.Task`1 [System.Runtime]System.Threading.Tasks.Task::FromResult(!!0) +IL_0008: newobj instance void valuetype [System.Runtime]System.Threading.Tasks.ValueTask`1::.ctor(class [System.Runtime]System.Threading.Tasks.Task`1) +IL_000d: call !!0 [System.Runtime]System.Runtime.CompilerServices.AsyncHelpers::Await(valuetype [System.Runtime]System.Threading.Tasks.ValueTask`1) +IL_0012: stloc.1 +IL_0013: ldloc.1 +IL_0014: stloc.0 +IL_0015: ldloc.0 +IL_0016: stloc.2 +IL_0017: br.s IL_0019 +IL_0019: ldloc.2 +IL_001a: ret +} +.method public hidebysig instance class [System.Runtime]System.Threading.Tasks.Task`1 +AsyncMethod5_WithValueTask() cil managed +{ +.maxstack 2 +.locals init (int32 V_0, +int32 V_1, +int32 V_2, +valuetype [System.Private.CoreLib]System.Threading.Tasks.ValueTask`1 V_3) +IL_0000: nop +IL_0001: ldc.i4.s 10 +IL_0003: call class [System.Runtime]System.Threading.Tasks.Task`1 [System.Runtime]System.Threading.Tasks.Task::FromResult(!!0) +IL_0008: newobj instance void valuetype [System.Runtime]System.Threading.Tasks.ValueTask`1::.ctor(class [System.Runtime]System.Threading.Tasks.Task`1) +IL_000d: stloc.3 +IL_000e: ldloca.s V_3 +IL_0010: ldc.i4.0 +IL_0011: call instance valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1 valuetype [System.Private.CoreLib]System.Threading.Tasks.ValueTask`1::ConfigureAwait(bool) +IL_0016: call !!0 [System.Private.CoreLib]System.Runtime.CompilerServices.AsyncHelpers::Await(valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1) +IL_001b: stloc.1 +IL_001c: ldloc.1 +IL_001d: stloc.0 +IL_001e: ldloc.0 +IL_001f: stloc.2 +IL_0020: br.s IL_0022 +IL_0022: ldloc.2 +IL_0023: ret +} +.method public hidebysig instance class [System.Runtime]System.Threading.Tasks.Task`1 +AsyncMethod6_WithValueTask() cil managed +{ +.maxstack 2 +.locals init (int32 V_0, +int32 V_1, +valuetype [System.Runtime]System.Threading.Tasks.ValueTask`1 V_2, +int32 V_3) +IL_0000: nop +IL_0001: ldc.i4.s 10 +IL_0003: call class [System.Runtime]System.Threading.Tasks.Task`1 [System.Runtime]System.Threading.Tasks.Task::FromResult(!!0) +IL_0008: newobj instance void valuetype [System.Runtime]System.Threading.Tasks.ValueTask`1::.ctor(class [System.Runtime]System.Threading.Tasks.Task`1) +IL_000d: stloc.2 +IL_000e: ldloca.s V_2 +IL_0010: ldc.i4.0 +IL_0011: call instance valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1 valuetype [System.Runtime]System.Threading.Tasks.ValueTask`1::ConfigureAwait(bool) +IL_0016: call !!0 [System.Runtime]System.Runtime.CompilerServices.AsyncHelpers::Await(valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1) +IL_001b: stloc.1 +IL_001c: ldloc.1 +IL_001d: stloc.0 +IL_001e: ldloc.0 +IL_001f: stloc.3 +IL_0020: br.s IL_0022 +IL_0022: ldloc.3 +IL_0023: ret +} +.method public hidebysig instance class [System.Runtime]System.Threading.Tasks.Task`1 +AsyncMethod7_WithValueTask() cil managed +{ +.maxstack 2 +.locals init (int32 V_0, +int32 V_1, +int32 V_2, +int32 V_3, +int32 V_4, +int32 V_5, +bool V_6, +int32 V_7) +IL_0000: nop +IL_0001: ldc.i4.s 10 +IL_0003: call class [System.Runtime]System.Threading.Tasks.Task`1 [System.Runtime]System.Threading.Tasks.Task::FromResult(!!0) +IL_0008: newobj instance void valuetype [System.Runtime]System.Threading.Tasks.ValueTask`1::.ctor(class [System.Runtime]System.Threading.Tasks.Task`1) +IL_000d: call !!0 [System.Runtime]System.Runtime.CompilerServices.AsyncHelpers::Await(valuetype [System.Runtime]System.Threading.Tasks.ValueTask`1) +IL_0012: stloc.2 +IL_0013: ldloc.2 +IL_0014: stloc.0 +IL_0015: ldc.i4.0 +IL_0016: stloc.1 +IL_0017: ldc.i4.0 +IL_0018: stloc.3 +IL_0019: br.s IL_0043 +IL_001b: nop +IL_001c: ldc.i4.1 +IL_001d: call class [System.Runtime]System.Threading.Tasks.Task [System.Runtime]System.Threading.Tasks.Task::Delay(int32) +IL_0022: call void [System.Runtime]System.Runtime.CompilerServices.AsyncHelpers::Await(class [System.Runtime]System.Threading.Tasks.Task) +IL_0027: nop +IL_0028: ldloc.1 +IL_0029: stloc.s V_4 +IL_002b: ldloc.3 +IL_002c: call class [System.Runtime]System.Threading.Tasks.Task`1 [System.Runtime]System.Threading.Tasks.Task::FromResult(!!0) +IL_0031: call !!0 [System.Runtime]System.Runtime.CompilerServices.AsyncHelpers::Await(class [System.Runtime]System.Threading.Tasks.Task`1) +IL_0036: stloc.s V_5 +IL_0038: ldloc.s V_4 +IL_003a: ldloc.s V_5 +IL_003c: add +IL_003d: stloc.1 +IL_003e: nop +IL_003f: ldloc.3 +IL_0040: ldc.i4.1 +IL_0041: add +IL_0042: stloc.3 +IL_0043: ldloc.3 +IL_0044: ldloc.0 +IL_0045: clt +IL_0047: stloc.s V_6 +IL_0049: ldloc.s V_6 +IL_004b: brtrue.s IL_001b +IL_004d: ldloc.1 +IL_004e: stloc.s V_7 +IL_0050: br.s IL_0052 +IL_0052: ldloc.s V_7 +IL_0054: ret +} +.method public hidebysig instance class [System.Runtime]System.Threading.Tasks.Task`1 +AsyncMethod8_WithValueTask() cil managed +{ +.maxstack 2 +.locals init (int32 V_0, +int32 V_1, +int32 V_2, +int32 V_3, +int32 V_4, +int32 V_5, +bool V_6, +int32 V_7, +valuetype [System.Private.CoreLib]System.Threading.Tasks.ValueTask`1 V_8, +valuetype [System.Private.CoreLib]System.Threading.Tasks.ValueTask V_9, +valuetype [System.Private.CoreLib]System.Threading.Tasks.ValueTask`1 V_10) +IL_0000: nop +IL_0001: ldc.i4.s 10 +IL_0003: call class [System.Runtime]System.Threading.Tasks.Task`1 [System.Runtime]System.Threading.Tasks.Task::FromResult(!!0) +IL_0008: newobj instance void valuetype [System.Runtime]System.Threading.Tasks.ValueTask`1::.ctor(class [System.Runtime]System.Threading.Tasks.Task`1) +IL_000d: stloc.s V_8 +IL_000f: ldloca.s V_8 +IL_0011: ldc.i4.0 +IL_0012: call instance valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1 valuetype [System.Private.CoreLib]System.Threading.Tasks.ValueTask`1::ConfigureAwait(bool) +IL_0017: call !!0 [System.Private.CoreLib]System.Runtime.CompilerServices.AsyncHelpers::Await(valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1) +IL_001c: stloc.2 +IL_001d: ldloc.2 +IL_001e: stloc.0 +IL_001f: ldc.i4.0 +IL_0020: stloc.1 +IL_0021: ldc.i4.0 +IL_0022: stloc.3 +IL_0023: br.s IL_006b +IL_0025: nop +IL_0026: ldc.i4.1 +IL_0027: call class [System.Runtime]System.Threading.Tasks.Task [System.Runtime]System.Threading.Tasks.Task::Delay(int32) +IL_002c: newobj instance void [System.Runtime]System.Threading.Tasks.ValueTask::.ctor(class [System.Runtime]System.Threading.Tasks.Task) +IL_0031: stloc.s V_9 +IL_0033: ldloca.s V_9 +IL_0035: ldc.i4.0 +IL_0036: call instance valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable [System.Private.CoreLib]System.Threading.Tasks.ValueTask::ConfigureAwait(bool) +IL_003b: call void [System.Private.CoreLib]System.Runtime.CompilerServices.AsyncHelpers::Await(valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable) +IL_0040: nop +IL_0041: ldloc.1 +IL_0042: stloc.s V_4 +IL_0044: ldloc.3 +IL_0045: call class [System.Runtime]System.Threading.Tasks.Task`1 [System.Runtime]System.Threading.Tasks.Task::FromResult(!!0) +IL_004a: newobj instance void valuetype [System.Runtime]System.Threading.Tasks.ValueTask`1::.ctor(class [System.Runtime]System.Threading.Tasks.Task`1) +IL_004f: stloc.s V_10 +IL_0051: ldloca.s V_10 +IL_0053: ldc.i4.0 +IL_0054: call instance valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1 valuetype [System.Private.CoreLib]System.Threading.Tasks.ValueTask`1::ConfigureAwait(bool) +IL_0059: call !!0 [System.Private.CoreLib]System.Runtime.CompilerServices.AsyncHelpers::Await(valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1) +IL_005e: stloc.s V_5 +IL_0060: ldloc.s V_4 +IL_0062: ldloc.s V_5 +IL_0064: add +IL_0065: stloc.1 +IL_0066: nop +IL_0067: ldloc.3 +IL_0068: ldc.i4.1 +IL_0069: add +IL_006a: stloc.3 +IL_006b: ldloc.3 +IL_006c: ldloc.0 +IL_006d: clt +IL_006f: stloc.s V_6 +IL_0071: ldloc.s V_6 +IL_0073: brtrue.s IL_0025 +IL_0075: ldloc.1 +IL_0076: stloc.s V_7 +IL_0078: br.s IL_007a +IL_007a: ldloc.s V_7 +IL_007c: ret +} +.method public hidebysig instance class [System.Runtime]System.Threading.Tasks.Task`1 +AsyncMethod9_WithValueTask() cil managed +{ +.maxstack 2 +.locals init (int32 V_0, +int32 V_1, +int32 V_2, +valuetype [System.Runtime]System.Threading.Tasks.ValueTask`1 V_3, +int32 V_4, +valuetype [System.Runtime]System.Threading.Tasks.ValueTask V_5, +int32 V_6, +int32 V_7, +bool V_8, +int32 V_9) +IL_0000: nop +IL_0001: ldc.i4.s 10 +IL_0003: call class [System.Runtime]System.Threading.Tasks.Task`1 [System.Runtime]System.Threading.Tasks.Task::FromResult(!!0) +IL_0008: newobj instance void valuetype [System.Runtime]System.Threading.Tasks.ValueTask`1::.ctor(class [System.Runtime]System.Threading.Tasks.Task`1) +IL_000d: stloc.3 +IL_000e: ldloca.s V_3 +IL_0010: ldc.i4.0 +IL_0011: call instance valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1 valuetype [System.Runtime]System.Threading.Tasks.ValueTask`1::ConfigureAwait(bool) +IL_0016: call !!0 [System.Runtime]System.Runtime.CompilerServices.AsyncHelpers::Await(valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1) +IL_001b: stloc.2 +IL_001c: ldloc.2 +IL_001d: stloc.0 +IL_001e: ldc.i4.0 +IL_001f: stloc.1 +IL_0020: ldc.i4.0 +IL_0021: stloc.s V_4 +IL_0023: br.s IL_006d +IL_0025: nop +IL_0026: ldc.i4.1 +IL_0027: call class [System.Runtime]System.Threading.Tasks.Task [System.Runtime]System.Threading.Tasks.Task::Delay(int32) +IL_002c: newobj instance void [System.Runtime]System.Threading.Tasks.ValueTask::.ctor(class [System.Runtime]System.Threading.Tasks.Task) +IL_0031: stloc.s V_5 +IL_0033: ldloca.s V_5 +IL_0035: ldc.i4.0 +IL_0036: call instance valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable [System.Runtime]System.Threading.Tasks.ValueTask::ConfigureAwait(bool) +IL_003b: call void [System.Runtime]System.Runtime.CompilerServices.AsyncHelpers::Await(valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable) +IL_0040: nop +IL_0041: ldloc.1 +IL_0042: stloc.s V_6 +IL_0044: ldloc.s V_4 +IL_0046: call class [System.Runtime]System.Threading.Tasks.Task`1 [System.Runtime]System.Threading.Tasks.Task::FromResult(!!0) +IL_004b: newobj instance void valuetype [System.Runtime]System.Threading.Tasks.ValueTask`1::.ctor(class [System.Runtime]System.Threading.Tasks.Task`1) +IL_0050: stloc.3 +IL_0051: ldloca.s V_3 +IL_0053: ldc.i4.0 +IL_0054: call instance valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1 valuetype [System.Runtime]System.Threading.Tasks.ValueTask`1::ConfigureAwait(bool) +IL_0059: call !!0 [System.Runtime]System.Runtime.CompilerServices.AsyncHelpers::Await(valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1) +IL_005e: stloc.s V_7 +IL_0060: ldloc.s V_6 +IL_0062: ldloc.s V_7 +IL_0064: add +IL_0065: stloc.1 +IL_0066: nop +IL_0067: ldloc.s V_4 +IL_0069: ldc.i4.1 +IL_006a: add +IL_006b: stloc.s V_4 +IL_006d: ldloc.s V_4 +IL_006f: ldloc.0 +IL_0070: clt +IL_0072: stloc.s V_8 +IL_0074: ldloc.s V_8 +IL_0076: brtrue.s IL_0025 +IL_0078: ldloc.1 +IL_0079: stloc.s V_9 +IL_007b: br.s IL_007d +IL_007d: ldloc.s V_9 +IL_007f: ret +} +.method public hidebysig instance class [System.Runtime]System.Threading.Tasks.Task`1 +AsyncMethod10_WithValueTask() cil managed +{ +.maxstack 1 +.locals init (class Example V_0, +class Example V_1, +class Example V_2) +IL_0000: nop +IL_0001: newobj instance void Example::.ctor() +IL_0006: call class [System.Runtime]System.Threading.Tasks.Task`1 [System.Runtime]System.Threading.Tasks.Task::FromResult(!!0) +IL_000b: newobj instance void valuetype [System.Runtime]System.Threading.Tasks.ValueTask`1::.ctor(class [System.Runtime]System.Threading.Tasks.Task`1) +IL_0010: call !!0 [System.Runtime]System.Runtime.CompilerServices.AsyncHelpers::Await(valuetype [System.Runtime]System.Threading.Tasks.ValueTask`1) +IL_0015: stloc.1 +IL_0016: ldloc.1 +IL_0017: stloc.0 +IL_0018: ldloc.0 +IL_0019: stloc.2 +IL_001a: br.s IL_001c +IL_001c: ldloc.2 +IL_001d: ret +} +.method public hidebysig instance class [System.Runtime]System.Threading.Tasks.Task`1 +AsyncMethod11_WithValueTask() cil managed +{ +.maxstack 2 +.locals init (class Example V_0, +class Example V_1, +class Example V_2, +valuetype [System.Private.CoreLib]System.Threading.Tasks.ValueTask`1 V_3) +IL_0000: nop +IL_0001: newobj instance void Example::.ctor() +IL_0006: call class [System.Runtime]System.Threading.Tasks.Task`1 [System.Runtime]System.Threading.Tasks.Task::FromResult(!!0) +IL_000b: newobj instance void valuetype [System.Runtime]System.Threading.Tasks.ValueTask`1::.ctor(class [System.Runtime]System.Threading.Tasks.Task`1) +IL_0010: stloc.3 +IL_0011: ldloca.s V_3 +IL_0013: ldc.i4.0 +IL_0014: call instance valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1 valuetype [System.Private.CoreLib]System.Threading.Tasks.ValueTask`1::ConfigureAwait(bool) +IL_0019: call !!0 [System.Private.CoreLib]System.Runtime.CompilerServices.AsyncHelpers::Await(valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1) +IL_001e: stloc.1 +IL_001f: ldloc.1 +IL_0020: stloc.0 +IL_0021: ldloc.0 +IL_0022: stloc.2 +IL_0023: br.s IL_0025 +IL_0025: ldloc.2 +IL_0026: ret +} +.method public hidebysig instance class [System.Runtime]System.Threading.Tasks.Task`1 +AsyncMethod12_WithValueTask() cil managed +{ +.maxstack 2 +.locals init (class Example V_0, +class Example V_1, +valuetype [System.Runtime]System.Threading.Tasks.ValueTask`1 V_2, +class Example V_3) +IL_0000: nop +IL_0001: newobj instance void Example::.ctor() +IL_0006: call class [System.Runtime]System.Threading.Tasks.Task`1 [System.Runtime]System.Threading.Tasks.Task::FromResult(!!0) +IL_000b: newobj instance void valuetype [System.Runtime]System.Threading.Tasks.ValueTask`1::.ctor(class [System.Runtime]System.Threading.Tasks.Task`1) +IL_0010: stloc.2 +IL_0011: ldloca.s V_2 +IL_0013: ldc.i4.0 +IL_0014: call instance valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1 valuetype [System.Runtime]System.Threading.Tasks.ValueTask`1::ConfigureAwait(bool) +IL_0019: call !!0 [System.Runtime]System.Runtime.CompilerServices.AsyncHelpers::Await(valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1) +IL_001e: stloc.1 +IL_001f: ldloc.1 +IL_0020: stloc.0 +IL_0021: ldloc.0 +IL_0022: stloc.3 +IL_0023: br.s IL_0025 +IL_0025: ldloc.3 +IL_0026: ret +} +.method public hidebysig specialname rtspecialname +instance void .ctor() cil managed +{ +.maxstack 8 +IL_0000: ldarg.0 +IL_0001: call instance void [System.Runtime]System.Object::.ctor() +IL_0006: nop +IL_0007: ret +} +} diff --git a/Tests/ModuleWeaverTests.DecompileExample.Debug.Net.verified.txt b/Tests/ModuleWeaverTests.DecompileExample.Debug.Net4_7.verified.txt similarity index 100% rename from Tests/ModuleWeaverTests.DecompileExample.Debug.Net.verified.txt rename to Tests/ModuleWeaverTests.DecompileExample.Debug.Net4_7.verified.txt diff --git a/Tests/ModuleWeaverTests.DecompileExample.DotNet.Debug.verified.txt b/Tests/ModuleWeaverTests.DecompileExample.DotNet.Debug.verified.txt deleted file mode 100644 index 8301edc..0000000 --- a/Tests/ModuleWeaverTests.DecompileExample.DotNet.Debug.verified.txt +++ /dev/null @@ -1,2257 +0,0 @@ -.class public auto ansi beforefieldinit Example -extends [System.Runtime]System.Object -{ -.custom instance void System.Runtime.CompilerServices.NullableContextAttribute::.ctor(uint8) = ( 01 00 01 00 00 ) -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.class auto ansi sealed nested private beforefieldinit 'd__9' -extends [System.Runtime]System.Object -implements [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine -{ -.interfaceimpl type [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field public int32 '<>1__state' -.field public valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 '<>t__builder' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field public class Example '<>4__this' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field private class Example '5__1' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field private class Example '<>s__2' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field private valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter`1 '<>u__1' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.method public hidebysig specialname rtspecialname -instance void .ctor() cil managed -{ -.maxstack 8 -IL_0000: ldarg.0 -IL_0001: call instance void [System.Runtime]System.Object::.ctor() -IL_0006: nop -IL_0007: ret -} -.method private hidebysig newslot virtual final -instance void MoveNext() cil managed -{ -.override [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext -.maxstack 3 -.locals init (int32 V_0, -class Example V_1, -valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter`1 V_2, -class Example/'d__9' V_3, -class [System.Runtime]System.Exception V_4) -IL_0000: ldarg.0 -IL_0001: ldfld int32 Example/'d__9'::'<>1__state' -IL_0006: stloc.0 -.try -{ -IL_0007: ldloc.0 -IL_0008: brfalse.s IL_000c -IL_000a: br.s IL_000e -IL_000c: br.s IL_004f -IL_000e: nop -IL_000f: newobj instance void Example::.ctor() -IL_0014: call class [System.Runtime]System.Threading.Tasks.Task`1 [System.Runtime]System.Threading.Tasks.Task::FromResult(!!0) -IL_0019: callvirt instance valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter`1 class [System.Runtime]System.Threading.Tasks.Task`1::GetAwaiter() -IL_001e: stloc.2 -IL_001f: ldloca.s V_2 -IL_0021: call instance bool valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter`1::get_IsCompleted() -IL_0026: brtrue.s IL_006b -IL_0028: ldarg.0 -IL_0029: ldc.i4.0 -IL_002a: dup -IL_002b: stloc.0 -IL_002c: stfld int32 Example/'d__9'::'<>1__state' -IL_0031: ldarg.0 -IL_0032: ldloc.2 -IL_0033: stfld valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter`1 Example/'d__9'::'<>u__1' -IL_0038: ldarg.0 -IL_0039: stloc.3 -IL_003a: ldarg.0 -IL_003b: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__9'::'<>t__builder' -IL_0040: ldloca.s V_2 -IL_0042: ldloca.s V_3 -IL_0044: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::AwaitUnsafeOnCompleted,class Example/'d__9'>(!!0&, -!!1&) -IL_0049: nop -IL_004a: leave IL_00d1 -IL_004f: ldarg.0 -IL_0050: ldfld valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter`1 Example/'d__9'::'<>u__1' -IL_0055: stloc.2 -IL_0056: ldarg.0 -IL_0057: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter`1 Example/'d__9'::'<>u__1' -IL_005c: initobj valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter`1 -IL_0062: ldarg.0 -IL_0063: ldc.i4.m1 -IL_0064: dup -IL_0065: stloc.0 -IL_0066: stfld int32 Example/'d__9'::'<>1__state' -IL_006b: ldarg.0 -IL_006c: ldloca.s V_2 -IL_006e: call instance !0 valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter`1::GetResult() -IL_0073: stfld class Example Example/'d__9'::'<>s__2' -IL_0078: ldarg.0 -IL_0079: ldarg.0 -IL_007a: ldfld class Example Example/'d__9'::'<>s__2' -IL_007f: stfld class Example Example/'d__9'::'5__1' -IL_0084: ldarg.0 -IL_0085: ldnull -IL_0086: stfld class Example Example/'d__9'::'<>s__2' -IL_008b: ldarg.0 -IL_008c: ldfld class Example Example/'d__9'::'5__1' -IL_0091: stloc.1 -IL_0092: leave.s IL_00b5 -} // end .try -catch [System.Runtime]System.Exception -{ -IL_0094: stloc.s V_4 -IL_0096: ldarg.0 -IL_0097: ldc.i4.s -2 -IL_0099: stfld int32 Example/'d__9'::'<>1__state' -IL_009e: ldarg.0 -IL_009f: ldnull -IL_00a0: stfld class Example Example/'d__9'::'5__1' -IL_00a5: ldarg.0 -IL_00a6: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__9'::'<>t__builder' -IL_00ab: ldloc.s V_4 -IL_00ad: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetException(class [System.Runtime]System.Exception) -IL_00b2: nop -IL_00b3: leave.s IL_00d1 -} // end handler -IL_00b5: ldarg.0 -IL_00b6: ldc.i4.s -2 -IL_00b8: stfld int32 Example/'d__9'::'<>1__state' -IL_00bd: ldarg.0 -IL_00be: ldnull -IL_00bf: stfld class Example Example/'d__9'::'5__1' -IL_00c4: ldarg.0 -IL_00c5: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__9'::'<>t__builder' -IL_00ca: ldloc.1 -IL_00cb: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetResult(!0) -IL_00d0: nop -IL_00d1: ret -} -.method private hidebysig newslot virtual final -instance void SetStateMachine(class [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed -{ -.override [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine -.maxstack 8 -IL_0000: ret -} -} -.class auto ansi sealed nested private beforefieldinit 'd__10' -extends [System.Runtime]System.Object -implements [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine -{ -.interfaceimpl type [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field public int32 '<>1__state' -.field public valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 '<>t__builder' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field public class Example '<>4__this' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field private class Example '5__1' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field private class Example '<>s__2' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field private valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter '<>u__1' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.method public hidebysig specialname rtspecialname -instance void .ctor() cil managed -{ -.maxstack 8 -IL_0000: ldarg.0 -IL_0001: call instance void [System.Runtime]System.Object::.ctor() -IL_0006: nop -IL_0007: ret -} -.method private hidebysig newslot virtual final -instance void MoveNext() cil managed -{ -.override [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext -.maxstack 3 -.locals init (int32 V_0, -class Example V_1, -valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter V_2, -valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1 V_3, -class Example/'d__10' V_4, -class [System.Runtime]System.Exception V_5) -IL_0000: ldarg.0 -IL_0001: ldfld int32 Example/'d__10'::'<>1__state' -IL_0006: stloc.0 -.try -{ -IL_0007: ldloc.0 -IL_0008: brfalse.s IL_000c -IL_000a: br.s IL_000e -IL_000c: br.s IL_0059 -IL_000e: nop -IL_000f: newobj instance void Example::.ctor() -IL_0014: call class [System.Runtime]System.Threading.Tasks.Task`1 [System.Runtime]System.Threading.Tasks.Task::FromResult(!!0) -IL_0019: ldc.i4.0 -IL_001a: callvirt instance valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1 class [System.Private.CoreLib]System.Threading.Tasks.Task`1::ConfigureAwait(bool) -IL_001f: stloc.3 -IL_0020: ldloca.s V_3 -IL_0022: call instance valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1::GetAwaiter() -IL_0027: stloc.2 -IL_0028: ldloca.s V_2 -IL_002a: call instance bool valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter::get_IsCompleted() -IL_002f: brtrue.s IL_0075 -IL_0031: ldarg.0 -IL_0032: ldc.i4.0 -IL_0033: dup -IL_0034: stloc.0 -IL_0035: stfld int32 Example/'d__10'::'<>1__state' -IL_003a: ldarg.0 -IL_003b: ldloc.2 -IL_003c: stfld valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter Example/'d__10'::'<>u__1' -IL_0041: ldarg.0 -IL_0042: stloc.s V_4 -IL_0044: ldarg.0 -IL_0045: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__10'::'<>t__builder' -IL_004a: ldloca.s V_2 -IL_004c: ldloca.s V_4 -IL_004e: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::AwaitUnsafeOnCompleted,class Example/'d__10'>(!!0&, -!!1&) -IL_0053: nop -IL_0054: leave IL_00db -IL_0059: ldarg.0 -IL_005a: ldfld valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter Example/'d__10'::'<>u__1' -IL_005f: stloc.2 -IL_0060: ldarg.0 -IL_0061: ldflda valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter Example/'d__10'::'<>u__1' -IL_0066: initobj valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter -IL_006c: ldarg.0 -IL_006d: ldc.i4.m1 -IL_006e: dup -IL_006f: stloc.0 -IL_0070: stfld int32 Example/'d__10'::'<>1__state' -IL_0075: ldarg.0 -IL_0076: ldloca.s V_2 -IL_0078: call instance !0 valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter::GetResult() -IL_007d: stfld class Example Example/'d__10'::'<>s__2' -IL_0082: ldarg.0 -IL_0083: ldarg.0 -IL_0084: ldfld class Example Example/'d__10'::'<>s__2' -IL_0089: stfld class Example Example/'d__10'::'5__1' -IL_008e: ldarg.0 -IL_008f: ldnull -IL_0090: stfld class Example Example/'d__10'::'<>s__2' -IL_0095: ldarg.0 -IL_0096: ldfld class Example Example/'d__10'::'5__1' -IL_009b: stloc.1 -IL_009c: leave.s IL_00bf -} // end .try -catch [System.Runtime]System.Exception -{ -IL_009e: stloc.s V_5 -IL_00a0: ldarg.0 -IL_00a1: ldc.i4.s -2 -IL_00a3: stfld int32 Example/'d__10'::'<>1__state' -IL_00a8: ldarg.0 -IL_00a9: ldnull -IL_00aa: stfld class Example Example/'d__10'::'5__1' -IL_00af: ldarg.0 -IL_00b0: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__10'::'<>t__builder' -IL_00b5: ldloc.s V_5 -IL_00b7: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetException(class [System.Runtime]System.Exception) -IL_00bc: nop -IL_00bd: leave.s IL_00db -} // end handler -IL_00bf: ldarg.0 -IL_00c0: ldc.i4.s -2 -IL_00c2: stfld int32 Example/'d__10'::'<>1__state' -IL_00c7: ldarg.0 -IL_00c8: ldnull -IL_00c9: stfld class Example Example/'d__10'::'5__1' -IL_00ce: ldarg.0 -IL_00cf: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__10'::'<>t__builder' -IL_00d4: ldloc.1 -IL_00d5: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetResult(!0) -IL_00da: nop -IL_00db: ret -} -.method private hidebysig newslot virtual final -instance void SetStateMachine(class [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed -{ -.override [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine -.maxstack 8 -IL_0000: ret -} -} -.class auto ansi sealed nested private beforefieldinit 'd__11' -extends [System.Runtime]System.Object -implements [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine -{ -.interfaceimpl type [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field public int32 '<>1__state' -.field public valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 '<>t__builder' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field public class Example '<>4__this' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field private class Example '5__1' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field private class Example '<>s__2' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field private valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter '<>u__1' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.method public hidebysig specialname rtspecialname -instance void .ctor() cil managed -{ -.maxstack 8 -IL_0000: ldarg.0 -IL_0001: call instance void [System.Runtime]System.Object::.ctor() -IL_0006: nop -IL_0007: ret -} -.method private hidebysig newslot virtual final -instance void MoveNext() cil managed -{ -.override [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext -.maxstack 3 -.locals init (int32 V_0, -class Example V_1, -valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter V_2, -valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1 V_3, -class Example/'d__11' V_4, -class [System.Runtime]System.Exception V_5) -IL_0000: ldarg.0 -IL_0001: ldfld int32 Example/'d__11'::'<>1__state' -IL_0006: stloc.0 -.try -{ -IL_0007: ldloc.0 -IL_0008: brfalse.s IL_000c -IL_000a: br.s IL_000e -IL_000c: br.s IL_0059 -IL_000e: nop -IL_000f: newobj instance void Example::.ctor() -IL_0014: call class [System.Runtime]System.Threading.Tasks.Task`1 [System.Runtime]System.Threading.Tasks.Task::FromResult(!!0) -IL_0019: ldc.i4.0 -IL_001a: callvirt instance valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1 class [System.Runtime]System.Threading.Tasks.Task`1::ConfigureAwait(bool) -IL_001f: stloc.3 -IL_0020: ldloca.s V_3 -IL_0022: call instance valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1::GetAwaiter() -IL_0027: stloc.2 -IL_0028: ldloca.s V_2 -IL_002a: call instance bool valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter::get_IsCompleted() -IL_002f: brtrue.s IL_0075 -IL_0031: ldarg.0 -IL_0032: ldc.i4.0 -IL_0033: dup -IL_0034: stloc.0 -IL_0035: stfld int32 Example/'d__11'::'<>1__state' -IL_003a: ldarg.0 -IL_003b: ldloc.2 -IL_003c: stfld valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter Example/'d__11'::'<>u__1' -IL_0041: ldarg.0 -IL_0042: stloc.s V_4 -IL_0044: ldarg.0 -IL_0045: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__11'::'<>t__builder' -IL_004a: ldloca.s V_2 -IL_004c: ldloca.s V_4 -IL_004e: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::AwaitUnsafeOnCompleted,class Example/'d__11'>(!!0&, -!!1&) -IL_0053: nop -IL_0054: leave IL_00db -IL_0059: ldarg.0 -IL_005a: ldfld valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter Example/'d__11'::'<>u__1' -IL_005f: stloc.2 -IL_0060: ldarg.0 -IL_0061: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter Example/'d__11'::'<>u__1' -IL_0066: initobj valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter -IL_006c: ldarg.0 -IL_006d: ldc.i4.m1 -IL_006e: dup -IL_006f: stloc.0 -IL_0070: stfld int32 Example/'d__11'::'<>1__state' -IL_0075: ldarg.0 -IL_0076: ldloca.s V_2 -IL_0078: call instance !0 valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter::GetResult() -IL_007d: stfld class Example Example/'d__11'::'<>s__2' -IL_0082: ldarg.0 -IL_0083: ldarg.0 -IL_0084: ldfld class Example Example/'d__11'::'<>s__2' -IL_0089: stfld class Example Example/'d__11'::'5__1' -IL_008e: ldarg.0 -IL_008f: ldnull -IL_0090: stfld class Example Example/'d__11'::'<>s__2' -IL_0095: ldarg.0 -IL_0096: ldfld class Example Example/'d__11'::'5__1' -IL_009b: stloc.1 -IL_009c: leave.s IL_00bf -} // end .try -catch [System.Runtime]System.Exception -{ -IL_009e: stloc.s V_5 -IL_00a0: ldarg.0 -IL_00a1: ldc.i4.s -2 -IL_00a3: stfld int32 Example/'d__11'::'<>1__state' -IL_00a8: ldarg.0 -IL_00a9: ldnull -IL_00aa: stfld class Example Example/'d__11'::'5__1' -IL_00af: ldarg.0 -IL_00b0: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__11'::'<>t__builder' -IL_00b5: ldloc.s V_5 -IL_00b7: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetException(class [System.Runtime]System.Exception) -IL_00bc: nop -IL_00bd: leave.s IL_00db -} // end handler -IL_00bf: ldarg.0 -IL_00c0: ldc.i4.s -2 -IL_00c2: stfld int32 Example/'d__11'::'<>1__state' -IL_00c7: ldarg.0 -IL_00c8: ldnull -IL_00c9: stfld class Example Example/'d__11'::'5__1' -IL_00ce: ldarg.0 -IL_00cf: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__11'::'<>t__builder' -IL_00d4: ldloc.1 -IL_00d5: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetResult(!0) -IL_00da: nop -IL_00db: ret -} -.method private hidebysig newslot virtual final -instance void SetStateMachine(class [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed -{ -.override [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine -.maxstack 8 -IL_0000: ret -} -} -.class auto ansi sealed nested private beforefieldinit 'd__0' -extends [System.Runtime]System.Object -implements [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine -{ -.interfaceimpl type [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field public int32 '<>1__state' -.field public valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder '<>t__builder' -.field public class Example '<>4__this' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field private valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter '<>u__1' -.method public hidebysig specialname rtspecialname -instance void .ctor() cil managed -{ -.maxstack 8 -IL_0000: ldarg.0 -IL_0001: call instance void [System.Runtime]System.Object::.ctor() -IL_0006: nop -IL_0007: ret -} -.method private hidebysig newslot virtual final -instance void MoveNext() cil managed -{ -.override [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext -.maxstack 3 -.locals init (int32 V_0, -valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter V_1, -class Example/'d__0' V_2, -class [System.Runtime]System.Exception V_3) -IL_0000: ldarg.0 -IL_0001: ldfld int32 Example/'d__0'::'<>1__state' -IL_0006: stloc.0 -.try -{ -IL_0007: ldloc.0 -IL_0008: brfalse.s IL_000c -IL_000a: br.s IL_000e -IL_000c: br.s IL_0048 -IL_000e: nop -IL_000f: ldc.i4.1 -IL_0010: call class [System.Runtime]System.Threading.Tasks.Task [System.Runtime]System.Threading.Tasks.Task::Delay(int32) -IL_0015: callvirt instance valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter [System.Runtime]System.Threading.Tasks.Task::GetAwaiter() -IL_001a: stloc.1 -IL_001b: ldloca.s V_1 -IL_001d: call instance bool [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter::get_IsCompleted() -IL_0022: brtrue.s IL_0064 -IL_0024: ldarg.0 -IL_0025: ldc.i4.0 -IL_0026: dup -IL_0027: stloc.0 -IL_0028: stfld int32 Example/'d__0'::'<>1__state' -IL_002d: ldarg.0 -IL_002e: ldloc.1 -IL_002f: stfld valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter Example/'d__0'::'<>u__1' -IL_0034: ldarg.0 -IL_0035: stloc.2 -IL_0036: ldarg.0 -IL_0037: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Example/'d__0'::'<>t__builder' -IL_003c: ldloca.s V_1 -IL_003e: ldloca.s V_2 -IL_0040: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::AwaitUnsafeOnCompletedd__0'>(!!0&, -!!1&) -IL_0045: nop -IL_0046: leave.s IL_009a -IL_0048: ldarg.0 -IL_0049: ldfld valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter Example/'d__0'::'<>u__1' -IL_004e: stloc.1 -IL_004f: ldarg.0 -IL_0050: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter Example/'d__0'::'<>u__1' -IL_0055: initobj [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter -IL_005b: ldarg.0 -IL_005c: ldc.i4.m1 -IL_005d: dup -IL_005e: stloc.0 -IL_005f: stfld int32 Example/'d__0'::'<>1__state' -IL_0064: ldloca.s V_1 -IL_0066: call instance void [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter::GetResult() -IL_006b: nop -IL_006c: leave.s IL_0086 -} // end .try -catch [System.Runtime]System.Exception -{ -IL_006e: stloc.3 -IL_006f: ldarg.0 -IL_0070: ldc.i4.s -2 -IL_0072: stfld int32 Example/'d__0'::'<>1__state' -IL_0077: ldarg.0 -IL_0078: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Example/'d__0'::'<>t__builder' -IL_007d: ldloc.3 -IL_007e: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetException(class [System.Runtime]System.Exception) -IL_0083: nop -IL_0084: leave.s IL_009a -} // end handler -IL_0086: ldarg.0 -IL_0087: ldc.i4.s -2 -IL_0089: stfld int32 Example/'d__0'::'<>1__state' -IL_008e: ldarg.0 -IL_008f: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Example/'d__0'::'<>t__builder' -IL_0094: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetResult() -IL_0099: nop -IL_009a: ret -} -.method private hidebysig newslot virtual final -instance void SetStateMachine(class [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed -{ -.override [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine -.maxstack 8 -IL_0000: ret -} -} -.class auto ansi sealed nested private beforefieldinit 'd__1' -extends [System.Runtime]System.Object -implements [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine -{ -.interfaceimpl type [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field public int32 '<>1__state' -.field public valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder '<>t__builder' -.field public class Example '<>4__this' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field private valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter '<>u__1' -.method public hidebysig specialname rtspecialname -instance void .ctor() cil managed -{ -.maxstack 8 -IL_0000: ldarg.0 -IL_0001: call instance void [System.Runtime]System.Object::.ctor() -IL_0006: nop -IL_0007: ret -} -.method private hidebysig newslot virtual final -instance void MoveNext() cil managed -{ -.override [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext -.maxstack 3 -.locals init (int32 V_0, -valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter V_1, -valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable V_2, -class Example/'d__1' V_3, -class [System.Runtime]System.Exception V_4) -IL_0000: ldarg.0 -IL_0001: ldfld int32 Example/'d__1'::'<>1__state' -IL_0006: stloc.0 -.try -{ -IL_0007: ldloc.0 -IL_0008: brfalse.s IL_000c -IL_000a: br.s IL_000e -IL_000c: br.s IL_0051 -IL_000e: nop -IL_000f: ldc.i4.1 -IL_0010: call class [System.Runtime]System.Threading.Tasks.Task [System.Runtime]System.Threading.Tasks.Task::Delay(int32) -IL_0015: ldc.i4.0 -IL_0016: callvirt instance valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable [System.Private.CoreLib]System.Threading.Tasks.Task::ConfigureAwait(bool) -IL_001b: stloc.2 -IL_001c: ldloca.s V_2 -IL_001e: call instance valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable::GetAwaiter() -IL_0023: stloc.1 -IL_0024: ldloca.s V_1 -IL_0026: call instance bool [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter::get_IsCompleted() -IL_002b: brtrue.s IL_006d -IL_002d: ldarg.0 -IL_002e: ldc.i4.0 -IL_002f: dup -IL_0030: stloc.0 -IL_0031: stfld int32 Example/'d__1'::'<>1__state' -IL_0036: ldarg.0 -IL_0037: ldloc.1 -IL_0038: stfld valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter Example/'d__1'::'<>u__1' -IL_003d: ldarg.0 -IL_003e: stloc.3 -IL_003f: ldarg.0 -IL_0040: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Example/'d__1'::'<>t__builder' -IL_0045: ldloca.s V_1 -IL_0047: ldloca.s V_3 -IL_0049: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::AwaitUnsafeOnCompletedd__1'>(!!0&, -!!1&) -IL_004e: nop -IL_004f: leave.s IL_00a5 -IL_0051: ldarg.0 -IL_0052: ldfld valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter Example/'d__1'::'<>u__1' -IL_0057: stloc.1 -IL_0058: ldarg.0 -IL_0059: ldflda valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter Example/'d__1'::'<>u__1' -IL_005e: initobj [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter -IL_0064: ldarg.0 -IL_0065: ldc.i4.m1 -IL_0066: dup -IL_0067: stloc.0 -IL_0068: stfld int32 Example/'d__1'::'<>1__state' -IL_006d: ldloca.s V_1 -IL_006f: call instance void [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter::GetResult() -IL_0074: nop -IL_0075: leave.s IL_0091 -} // end .try -catch [System.Runtime]System.Exception -{ -IL_0077: stloc.s V_4 -IL_0079: ldarg.0 -IL_007a: ldc.i4.s -2 -IL_007c: stfld int32 Example/'d__1'::'<>1__state' -IL_0081: ldarg.0 -IL_0082: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Example/'d__1'::'<>t__builder' -IL_0087: ldloc.s V_4 -IL_0089: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetException(class [System.Runtime]System.Exception) -IL_008e: nop -IL_008f: leave.s IL_00a5 -} // end handler -IL_0091: ldarg.0 -IL_0092: ldc.i4.s -2 -IL_0094: stfld int32 Example/'d__1'::'<>1__state' -IL_0099: ldarg.0 -IL_009a: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Example/'d__1'::'<>t__builder' -IL_009f: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetResult() -IL_00a4: nop -IL_00a5: ret -} -.method private hidebysig newslot virtual final -instance void SetStateMachine(class [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed -{ -.override [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine -.maxstack 8 -IL_0000: ret -} -} -.class auto ansi sealed nested private beforefieldinit 'd__2' -extends [System.Runtime]System.Object -implements [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine -{ -.interfaceimpl type [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field public int32 '<>1__state' -.field public valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder '<>t__builder' -.field public class Example '<>4__this' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field private valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter '<>u__1' -.method public hidebysig specialname rtspecialname -instance void .ctor() cil managed -{ -.maxstack 8 -IL_0000: ldarg.0 -IL_0001: call instance void [System.Runtime]System.Object::.ctor() -IL_0006: nop -IL_0007: ret -} -.method private hidebysig newslot virtual final -instance void MoveNext() cil managed -{ -.override [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext -.maxstack 3 -.locals init (int32 V_0, -valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter V_1, -valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable V_2, -class Example/'d__2' V_3, -class [System.Runtime]System.Exception V_4) -IL_0000: ldarg.0 -IL_0001: ldfld int32 Example/'d__2'::'<>1__state' -IL_0006: stloc.0 -.try -{ -IL_0007: ldloc.0 -IL_0008: brfalse.s IL_000c -IL_000a: br.s IL_000e -IL_000c: br.s IL_0051 -IL_000e: nop -IL_000f: ldc.i4.1 -IL_0010: call class [System.Runtime]System.Threading.Tasks.Task [System.Runtime]System.Threading.Tasks.Task::Delay(int32) -IL_0015: ldc.i4.0 -IL_0016: callvirt instance valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable [System.Runtime]System.Threading.Tasks.Task::ConfigureAwait(bool) -IL_001b: stloc.2 -IL_001c: ldloca.s V_2 -IL_001e: call instance valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable::GetAwaiter() -IL_0023: stloc.1 -IL_0024: ldloca.s V_1 -IL_0026: call instance bool [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter::get_IsCompleted() -IL_002b: brtrue.s IL_006d -IL_002d: ldarg.0 -IL_002e: ldc.i4.0 -IL_002f: dup -IL_0030: stloc.0 -IL_0031: stfld int32 Example/'d__2'::'<>1__state' -IL_0036: ldarg.0 -IL_0037: ldloc.1 -IL_0038: stfld valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter Example/'d__2'::'<>u__1' -IL_003d: ldarg.0 -IL_003e: stloc.3 -IL_003f: ldarg.0 -IL_0040: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Example/'d__2'::'<>t__builder' -IL_0045: ldloca.s V_1 -IL_0047: ldloca.s V_3 -IL_0049: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::AwaitUnsafeOnCompletedd__2'>(!!0&, -!!1&) -IL_004e: nop -IL_004f: leave.s IL_00a5 -IL_0051: ldarg.0 -IL_0052: ldfld valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter Example/'d__2'::'<>u__1' -IL_0057: stloc.1 -IL_0058: ldarg.0 -IL_0059: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter Example/'d__2'::'<>u__1' -IL_005e: initobj [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter -IL_0064: ldarg.0 -IL_0065: ldc.i4.m1 -IL_0066: dup -IL_0067: stloc.0 -IL_0068: stfld int32 Example/'d__2'::'<>1__state' -IL_006d: ldloca.s V_1 -IL_006f: call instance void [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter::GetResult() -IL_0074: nop -IL_0075: leave.s IL_0091 -} // end .try -catch [System.Runtime]System.Exception -{ -IL_0077: stloc.s V_4 -IL_0079: ldarg.0 -IL_007a: ldc.i4.s -2 -IL_007c: stfld int32 Example/'d__2'::'<>1__state' -IL_0081: ldarg.0 -IL_0082: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Example/'d__2'::'<>t__builder' -IL_0087: ldloc.s V_4 -IL_0089: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetException(class [System.Runtime]System.Exception) -IL_008e: nop -IL_008f: leave.s IL_00a5 -} // end handler -IL_0091: ldarg.0 -IL_0092: ldc.i4.s -2 -IL_0094: stfld int32 Example/'d__2'::'<>1__state' -IL_0099: ldarg.0 -IL_009a: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Example/'d__2'::'<>t__builder' -IL_009f: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetResult() -IL_00a4: nop -IL_00a5: ret -} -.method private hidebysig newslot virtual final -instance void SetStateMachine(class [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed -{ -.override [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine -.maxstack 8 -IL_0000: ret -} -} -.class auto ansi sealed nested private beforefieldinit 'd__3' -extends [System.Runtime]System.Object -implements [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine -{ -.interfaceimpl type [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field public int32 '<>1__state' -.field public valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 '<>t__builder' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field public class Example '<>4__this' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field private int32 '5__1' -.field private int32 '<>s__2' -.field private valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter`1 '<>u__1' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.method public hidebysig specialname rtspecialname -instance void .ctor() cil managed -{ -.maxstack 8 -IL_0000: ldarg.0 -IL_0001: call instance void [System.Runtime]System.Object::.ctor() -IL_0006: nop -IL_0007: ret -} -.method private hidebysig newslot virtual final -instance void MoveNext() cil managed -{ -.override [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext -.maxstack 3 -.locals init (int32 V_0, -int32 V_1, -valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter`1 V_2, -class Example/'d__3' V_3, -class [System.Runtime]System.Exception V_4) -IL_0000: ldarg.0 -IL_0001: ldfld int32 Example/'d__3'::'<>1__state' -IL_0006: stloc.0 -.try -{ -IL_0007: ldloc.0 -IL_0008: brfalse.s IL_000c -IL_000a: br.s IL_000e -IL_000c: br.s IL_0049 -IL_000e: nop -IL_000f: ldc.i4.s 10 -IL_0011: call class [System.Runtime]System.Threading.Tasks.Task`1 [System.Runtime]System.Threading.Tasks.Task::FromResult(!!0) -IL_0016: callvirt instance valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter`1 class [System.Runtime]System.Threading.Tasks.Task`1::GetAwaiter() -IL_001b: stloc.2 -IL_001c: ldloca.s V_2 -IL_001e: call instance bool valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter`1::get_IsCompleted() -IL_0023: brtrue.s IL_0065 -IL_0025: ldarg.0 -IL_0026: ldc.i4.0 -IL_0027: dup -IL_0028: stloc.0 -IL_0029: stfld int32 Example/'d__3'::'<>1__state' -IL_002e: ldarg.0 -IL_002f: ldloc.2 -IL_0030: stfld valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter`1 Example/'d__3'::'<>u__1' -IL_0035: ldarg.0 -IL_0036: stloc.3 -IL_0037: ldarg.0 -IL_0038: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__3'::'<>t__builder' -IL_003d: ldloca.s V_2 -IL_003f: ldloca.s V_3 -IL_0041: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::AwaitUnsafeOnCompleted,class Example/'d__3'>(!!0&, -!!1&) -IL_0046: nop -IL_0047: leave.s IL_00b6 -IL_0049: ldarg.0 -IL_004a: ldfld valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter`1 Example/'d__3'::'<>u__1' -IL_004f: stloc.2 -IL_0050: ldarg.0 -IL_0051: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter`1 Example/'d__3'::'<>u__1' -IL_0056: initobj valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter`1 -IL_005c: ldarg.0 -IL_005d: ldc.i4.m1 -IL_005e: dup -IL_005f: stloc.0 -IL_0060: stfld int32 Example/'d__3'::'<>1__state' -IL_0065: ldarg.0 -IL_0066: ldloca.s V_2 -IL_0068: call instance !0 valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter`1::GetResult() -IL_006d: stfld int32 Example/'d__3'::'<>s__2' -IL_0072: ldarg.0 -IL_0073: ldarg.0 -IL_0074: ldfld int32 Example/'d__3'::'<>s__2' -IL_0079: stfld int32 Example/'d__3'::'5__1' -IL_007e: ldarg.0 -IL_007f: ldfld int32 Example/'d__3'::'5__1' -IL_0084: stloc.1 -IL_0085: leave.s IL_00a1 -} // end .try -catch [System.Runtime]System.Exception -{ -IL_0087: stloc.s V_4 -IL_0089: ldarg.0 -IL_008a: ldc.i4.s -2 -IL_008c: stfld int32 Example/'d__3'::'<>1__state' -IL_0091: ldarg.0 -IL_0092: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__3'::'<>t__builder' -IL_0097: ldloc.s V_4 -IL_0099: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetException(class [System.Runtime]System.Exception) -IL_009e: nop -IL_009f: leave.s IL_00b6 -} // end handler -IL_00a1: ldarg.0 -IL_00a2: ldc.i4.s -2 -IL_00a4: stfld int32 Example/'d__3'::'<>1__state' -IL_00a9: ldarg.0 -IL_00aa: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__3'::'<>t__builder' -IL_00af: ldloc.1 -IL_00b0: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetResult(!0) -IL_00b5: nop -IL_00b6: ret -} -.method private hidebysig newslot virtual final -instance void SetStateMachine(class [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed -{ -.override [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine -.maxstack 8 -IL_0000: ret -} -} -.class auto ansi sealed nested private beforefieldinit 'd__4' -extends [System.Runtime]System.Object -implements [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine -{ -.interfaceimpl type [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field public int32 '<>1__state' -.field public valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 '<>t__builder' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field public class Example '<>4__this' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field private int32 '5__1' -.field private int32 '<>s__2' -.field private valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter '<>u__1' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.method public hidebysig specialname rtspecialname -instance void .ctor() cil managed -{ -.maxstack 8 -IL_0000: ldarg.0 -IL_0001: call instance void [System.Runtime]System.Object::.ctor() -IL_0006: nop -IL_0007: ret -} -.method private hidebysig newslot virtual final -instance void MoveNext() cil managed -{ -.override [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext -.maxstack 3 -.locals init (int32 V_0, -int32 V_1, -valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter V_2, -valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1 V_3, -class Example/'d__4' V_4, -class [System.Runtime]System.Exception V_5) -IL_0000: ldarg.0 -IL_0001: ldfld int32 Example/'d__4'::'<>1__state' -IL_0006: stloc.0 -.try -{ -IL_0007: ldloc.0 -IL_0008: brfalse.s IL_000c -IL_000a: br.s IL_000e -IL_000c: br.s IL_0053 -IL_000e: nop -IL_000f: ldc.i4.s 10 -IL_0011: call class [System.Runtime]System.Threading.Tasks.Task`1 [System.Runtime]System.Threading.Tasks.Task::FromResult(!!0) -IL_0016: ldc.i4.0 -IL_0017: callvirt instance valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1 class [System.Private.CoreLib]System.Threading.Tasks.Task`1::ConfigureAwait(bool) -IL_001c: stloc.3 -IL_001d: ldloca.s V_3 -IL_001f: call instance valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1::GetAwaiter() -IL_0024: stloc.2 -IL_0025: ldloca.s V_2 -IL_0027: call instance bool valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter::get_IsCompleted() -IL_002c: brtrue.s IL_006f -IL_002e: ldarg.0 -IL_002f: ldc.i4.0 -IL_0030: dup -IL_0031: stloc.0 -IL_0032: stfld int32 Example/'d__4'::'<>1__state' -IL_0037: ldarg.0 -IL_0038: ldloc.2 -IL_0039: stfld valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter Example/'d__4'::'<>u__1' -IL_003e: ldarg.0 -IL_003f: stloc.s V_4 -IL_0041: ldarg.0 -IL_0042: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__4'::'<>t__builder' -IL_0047: ldloca.s V_2 -IL_0049: ldloca.s V_4 -IL_004b: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::AwaitUnsafeOnCompleted,class Example/'d__4'>(!!0&, -!!1&) -IL_0050: nop -IL_0051: leave.s IL_00c0 -IL_0053: ldarg.0 -IL_0054: ldfld valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter Example/'d__4'::'<>u__1' -IL_0059: stloc.2 -IL_005a: ldarg.0 -IL_005b: ldflda valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter Example/'d__4'::'<>u__1' -IL_0060: initobj valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter -IL_0066: ldarg.0 -IL_0067: ldc.i4.m1 -IL_0068: dup -IL_0069: stloc.0 -IL_006a: stfld int32 Example/'d__4'::'<>1__state' -IL_006f: ldarg.0 -IL_0070: ldloca.s V_2 -IL_0072: call instance !0 valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter::GetResult() -IL_0077: stfld int32 Example/'d__4'::'<>s__2' -IL_007c: ldarg.0 -IL_007d: ldarg.0 -IL_007e: ldfld int32 Example/'d__4'::'<>s__2' -IL_0083: stfld int32 Example/'d__4'::'5__1' -IL_0088: ldarg.0 -IL_0089: ldfld int32 Example/'d__4'::'5__1' -IL_008e: stloc.1 -IL_008f: leave.s IL_00ab -} // end .try -catch [System.Runtime]System.Exception -{ -IL_0091: stloc.s V_5 -IL_0093: ldarg.0 -IL_0094: ldc.i4.s -2 -IL_0096: stfld int32 Example/'d__4'::'<>1__state' -IL_009b: ldarg.0 -IL_009c: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__4'::'<>t__builder' -IL_00a1: ldloc.s V_5 -IL_00a3: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetException(class [System.Runtime]System.Exception) -IL_00a8: nop -IL_00a9: leave.s IL_00c0 -} // end handler -IL_00ab: ldarg.0 -IL_00ac: ldc.i4.s -2 -IL_00ae: stfld int32 Example/'d__4'::'<>1__state' -IL_00b3: ldarg.0 -IL_00b4: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__4'::'<>t__builder' -IL_00b9: ldloc.1 -IL_00ba: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetResult(!0) -IL_00bf: nop -IL_00c0: ret -} -.method private hidebysig newslot virtual final -instance void SetStateMachine(class [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed -{ -.override [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine -.maxstack 8 -IL_0000: ret -} -} -.class auto ansi sealed nested private beforefieldinit 'd__5' -extends [System.Runtime]System.Object -implements [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine -{ -.interfaceimpl type [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field public int32 '<>1__state' -.field public valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 '<>t__builder' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field public class Example '<>4__this' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field private int32 '5__1' -.field private int32 '<>s__2' -.field private valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter '<>u__1' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.method public hidebysig specialname rtspecialname -instance void .ctor() cil managed -{ -.maxstack 8 -IL_0000: ldarg.0 -IL_0001: call instance void [System.Runtime]System.Object::.ctor() -IL_0006: nop -IL_0007: ret -} -.method private hidebysig newslot virtual final -instance void MoveNext() cil managed -{ -.override [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext -.maxstack 3 -.locals init (int32 V_0, -int32 V_1, -valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter V_2, -valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1 V_3, -class Example/'d__5' V_4, -class [System.Runtime]System.Exception V_5) -IL_0000: ldarg.0 -IL_0001: ldfld int32 Example/'d__5'::'<>1__state' -IL_0006: stloc.0 -.try -{ -IL_0007: ldloc.0 -IL_0008: brfalse.s IL_000c -IL_000a: br.s IL_000e -IL_000c: br.s IL_0053 -IL_000e: nop -IL_000f: ldc.i4.s 10 -IL_0011: call class [System.Runtime]System.Threading.Tasks.Task`1 [System.Runtime]System.Threading.Tasks.Task::FromResult(!!0) -IL_0016: ldc.i4.0 -IL_0017: callvirt instance valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1 class [System.Runtime]System.Threading.Tasks.Task`1::ConfigureAwait(bool) -IL_001c: stloc.3 -IL_001d: ldloca.s V_3 -IL_001f: call instance valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1::GetAwaiter() -IL_0024: stloc.2 -IL_0025: ldloca.s V_2 -IL_0027: call instance bool valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter::get_IsCompleted() -IL_002c: brtrue.s IL_006f -IL_002e: ldarg.0 -IL_002f: ldc.i4.0 -IL_0030: dup -IL_0031: stloc.0 -IL_0032: stfld int32 Example/'d__5'::'<>1__state' -IL_0037: ldarg.0 -IL_0038: ldloc.2 -IL_0039: stfld valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter Example/'d__5'::'<>u__1' -IL_003e: ldarg.0 -IL_003f: stloc.s V_4 -IL_0041: ldarg.0 -IL_0042: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__5'::'<>t__builder' -IL_0047: ldloca.s V_2 -IL_0049: ldloca.s V_4 -IL_004b: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::AwaitUnsafeOnCompleted,class Example/'d__5'>(!!0&, -!!1&) -IL_0050: nop -IL_0051: leave.s IL_00c0 -IL_0053: ldarg.0 -IL_0054: ldfld valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter Example/'d__5'::'<>u__1' -IL_0059: stloc.2 -IL_005a: ldarg.0 -IL_005b: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter Example/'d__5'::'<>u__1' -IL_0060: initobj valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter -IL_0066: ldarg.0 -IL_0067: ldc.i4.m1 -IL_0068: dup -IL_0069: stloc.0 -IL_006a: stfld int32 Example/'d__5'::'<>1__state' -IL_006f: ldarg.0 -IL_0070: ldloca.s V_2 -IL_0072: call instance !0 valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter::GetResult() -IL_0077: stfld int32 Example/'d__5'::'<>s__2' -IL_007c: ldarg.0 -IL_007d: ldarg.0 -IL_007e: ldfld int32 Example/'d__5'::'<>s__2' -IL_0083: stfld int32 Example/'d__5'::'5__1' -IL_0088: ldarg.0 -IL_0089: ldfld int32 Example/'d__5'::'5__1' -IL_008e: stloc.1 -IL_008f: leave.s IL_00ab -} // end .try -catch [System.Runtime]System.Exception -{ -IL_0091: stloc.s V_5 -IL_0093: ldarg.0 -IL_0094: ldc.i4.s -2 -IL_0096: stfld int32 Example/'d__5'::'<>1__state' -IL_009b: ldarg.0 -IL_009c: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__5'::'<>t__builder' -IL_00a1: ldloc.s V_5 -IL_00a3: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetException(class [System.Runtime]System.Exception) -IL_00a8: nop -IL_00a9: leave.s IL_00c0 -} // end handler -IL_00ab: ldarg.0 -IL_00ac: ldc.i4.s -2 -IL_00ae: stfld int32 Example/'d__5'::'<>1__state' -IL_00b3: ldarg.0 -IL_00b4: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__5'::'<>t__builder' -IL_00b9: ldloc.1 -IL_00ba: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetResult(!0) -IL_00bf: nop -IL_00c0: ret -} -.method private hidebysig newslot virtual final -instance void SetStateMachine(class [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed -{ -.override [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine -.maxstack 8 -IL_0000: ret -} -} -.class auto ansi sealed nested private beforefieldinit 'd__6' -extends [System.Runtime]System.Object -implements [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine -{ -.interfaceimpl type [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field public int32 '<>1__state' -.field public valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 '<>t__builder' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field public class Example '<>4__this' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field private int32 '5__1' -.field private int32 '5__2' -.field private int32 '<>s__3' -.field private int32 '5__4' -.field private int32 '<>s__5' -.field private int32 '<>s__6' -.field private valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter`1 '<>u__1' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field private valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter '<>u__2' -.method public hidebysig specialname rtspecialname -instance void .ctor() cil managed -{ -.maxstack 8 -IL_0000: ldarg.0 -IL_0001: call instance void [System.Runtime]System.Object::.ctor() -IL_0006: nop -IL_0007: ret -} -.method private hidebysig newslot virtual final -instance void MoveNext() cil managed -{ -.override [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext -.maxstack 3 -.locals init (int32 V_0, -int32 V_1, -valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter`1 V_2, -class Example/'d__6' V_3, -valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter V_4, -valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter`1 V_5, -int32 V_6, -bool V_7, -class [System.Runtime]System.Exception V_8) -IL_0000: ldarg.0 -IL_0001: ldfld int32 Example/'d__6'::'<>1__state' -IL_0006: stloc.0 -.try -{ -IL_0007: ldloc.0 -IL_0008: switch ( -IL_001b, -IL_001d, -IL_0022) -IL_0019: br.s IL_0027 -IL_001b: br.s IL_0065 -IL_001d: br IL_00ec -IL_0022: br IL_0160 -IL_0027: nop -IL_0028: ldc.i4.s 10 -IL_002a: call class [System.Runtime]System.Threading.Tasks.Task`1 [System.Runtime]System.Threading.Tasks.Task::FromResult(!!0) -IL_002f: callvirt instance valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter`1 class [System.Runtime]System.Threading.Tasks.Task`1::GetAwaiter() -IL_0034: stloc.2 -IL_0035: ldloca.s V_2 -IL_0037: call instance bool valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter`1::get_IsCompleted() -IL_003c: brtrue.s IL_0081 -IL_003e: ldarg.0 -IL_003f: ldc.i4.0 -IL_0040: dup -IL_0041: stloc.0 -IL_0042: stfld int32 Example/'d__6'::'<>1__state' -IL_0047: ldarg.0 -IL_0048: ldloc.2 -IL_0049: stfld valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter`1 Example/'d__6'::'<>u__1' -IL_004e: ldarg.0 -IL_004f: stloc.3 -IL_0050: ldarg.0 -IL_0051: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__6'::'<>t__builder' -IL_0056: ldloca.s V_2 -IL_0058: ldloca.s V_3 -IL_005a: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::AwaitUnsafeOnCompleted,class Example/'d__6'>(!!0&, -!!1&) -IL_005f: nop -IL_0060: leave IL_01ff -IL_0065: ldarg.0 -IL_0066: ldfld valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter`1 Example/'d__6'::'<>u__1' -IL_006b: stloc.2 -IL_006c: ldarg.0 -IL_006d: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter`1 Example/'d__6'::'<>u__1' -IL_0072: initobj valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter`1 -IL_0078: ldarg.0 -IL_0079: ldc.i4.m1 -IL_007a: dup -IL_007b: stloc.0 -IL_007c: stfld int32 Example/'d__6'::'<>1__state' -IL_0081: ldarg.0 -IL_0082: ldloca.s V_2 -IL_0084: call instance !0 valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter`1::GetResult() -IL_0089: stfld int32 Example/'d__6'::'<>s__3' -IL_008e: ldarg.0 -IL_008f: ldarg.0 -IL_0090: ldfld int32 Example/'d__6'::'<>s__3' -IL_0095: stfld int32 Example/'d__6'::'5__1' -IL_009a: ldarg.0 -IL_009b: ldc.i4.0 -IL_009c: stfld int32 Example/'d__6'::'5__2' -IL_00a1: ldarg.0 -IL_00a2: ldc.i4.0 -IL_00a3: stfld int32 Example/'d__6'::'5__4' -IL_00a8: br IL_01b0 -IL_00ad: nop -IL_00ae: ldc.i4.1 -IL_00af: call class [System.Runtime]System.Threading.Tasks.Task [System.Runtime]System.Threading.Tasks.Task::Delay(int32) -IL_00b4: callvirt instance valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter [System.Runtime]System.Threading.Tasks.Task::GetAwaiter() -IL_00b9: stloc.s V_4 -IL_00bb: ldloca.s V_4 -IL_00bd: call instance bool [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter::get_IsCompleted() -IL_00c2: brtrue.s IL_0109 -IL_00c4: ldarg.0 -IL_00c5: ldc.i4.1 -IL_00c6: dup -IL_00c7: stloc.0 -IL_00c8: stfld int32 Example/'d__6'::'<>1__state' -IL_00cd: ldarg.0 -IL_00ce: ldloc.s V_4 -IL_00d0: stfld valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter Example/'d__6'::'<>u__2' -IL_00d5: ldarg.0 -IL_00d6: stloc.3 -IL_00d7: ldarg.0 -IL_00d8: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__6'::'<>t__builder' -IL_00dd: ldloca.s V_4 -IL_00df: ldloca.s V_3 -IL_00e1: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::AwaitUnsafeOnCompletedd__6'>(!!0&, -!!1&) -IL_00e6: nop -IL_00e7: leave IL_01ff -IL_00ec: ldarg.0 -IL_00ed: ldfld valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter Example/'d__6'::'<>u__2' -IL_00f2: stloc.s V_4 -IL_00f4: ldarg.0 -IL_00f5: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter Example/'d__6'::'<>u__2' -IL_00fa: initobj [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter -IL_0100: ldarg.0 -IL_0101: ldc.i4.m1 -IL_0102: dup -IL_0103: stloc.0 -IL_0104: stfld int32 Example/'d__6'::'<>1__state' -IL_0109: ldloca.s V_4 -IL_010b: call instance void [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter::GetResult() -IL_0110: nop -IL_0111: ldarg.0 -IL_0112: ldarg.0 -IL_0113: ldfld int32 Example/'d__6'::'5__2' -IL_0118: stfld int32 Example/'d__6'::'<>s__5' -IL_011d: ldarg.0 -IL_011e: ldfld int32 Example/'d__6'::'5__4' -IL_0123: call class [System.Runtime]System.Threading.Tasks.Task`1 [System.Runtime]System.Threading.Tasks.Task::FromResult(!!0) -IL_0128: callvirt instance valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter`1 class [System.Runtime]System.Threading.Tasks.Task`1::GetAwaiter() -IL_012d: stloc.s V_5 -IL_012f: ldloca.s V_5 -IL_0131: call instance bool valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter`1::get_IsCompleted() -IL_0136: brtrue.s IL_017d -IL_0138: ldarg.0 -IL_0139: ldc.i4.2 -IL_013a: dup -IL_013b: stloc.0 -IL_013c: stfld int32 Example/'d__6'::'<>1__state' -IL_0141: ldarg.0 -IL_0142: ldloc.s V_5 -IL_0144: stfld valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter`1 Example/'d__6'::'<>u__1' -IL_0149: ldarg.0 -IL_014a: stloc.3 -IL_014b: ldarg.0 -IL_014c: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__6'::'<>t__builder' -IL_0151: ldloca.s V_5 -IL_0153: ldloca.s V_3 -IL_0155: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::AwaitUnsafeOnCompleted,class Example/'d__6'>(!!0&, -!!1&) -IL_015a: nop -IL_015b: leave IL_01ff -IL_0160: ldarg.0 -IL_0161: ldfld valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter`1 Example/'d__6'::'<>u__1' -IL_0166: stloc.s V_5 -IL_0168: ldarg.0 -IL_0169: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter`1 Example/'d__6'::'<>u__1' -IL_016e: initobj valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter`1 -IL_0174: ldarg.0 -IL_0175: ldc.i4.m1 -IL_0176: dup -IL_0177: stloc.0 -IL_0178: stfld int32 Example/'d__6'::'<>1__state' -IL_017d: ldarg.0 -IL_017e: ldloca.s V_5 -IL_0180: call instance !0 valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter`1::GetResult() -IL_0185: stfld int32 Example/'d__6'::'<>s__6' -IL_018a: ldarg.0 -IL_018b: ldarg.0 -IL_018c: ldfld int32 Example/'d__6'::'<>s__5' -IL_0191: ldarg.0 -IL_0192: ldfld int32 Example/'d__6'::'<>s__6' -IL_0197: add -IL_0198: stfld int32 Example/'d__6'::'5__2' -IL_019d: nop -IL_019e: ldarg.0 -IL_019f: ldfld int32 Example/'d__6'::'5__4' -IL_01a4: stloc.s V_6 -IL_01a6: ldarg.0 -IL_01a7: ldloc.s V_6 -IL_01a9: ldc.i4.1 -IL_01aa: add -IL_01ab: stfld int32 Example/'d__6'::'5__4' -IL_01b0: ldarg.0 -IL_01b1: ldfld int32 Example/'d__6'::'5__4' -IL_01b6: ldarg.0 -IL_01b7: ldfld int32 Example/'d__6'::'5__1' -IL_01bc: clt -IL_01be: stloc.s V_7 -IL_01c0: ldloc.s V_7 -IL_01c2: brtrue IL_00ad -IL_01c7: ldarg.0 -IL_01c8: ldfld int32 Example/'d__6'::'5__2' -IL_01cd: stloc.1 -IL_01ce: leave.s IL_01ea -} // end .try -catch [System.Runtime]System.Exception -{ -IL_01d0: stloc.s V_8 -IL_01d2: ldarg.0 -IL_01d3: ldc.i4.s -2 -IL_01d5: stfld int32 Example/'d__6'::'<>1__state' -IL_01da: ldarg.0 -IL_01db: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__6'::'<>t__builder' -IL_01e0: ldloc.s V_8 -IL_01e2: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetException(class [System.Runtime]System.Exception) -IL_01e7: nop -IL_01e8: leave.s IL_01ff -} // end handler -IL_01ea: ldarg.0 -IL_01eb: ldc.i4.s -2 -IL_01ed: stfld int32 Example/'d__6'::'<>1__state' -IL_01f2: ldarg.0 -IL_01f3: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__6'::'<>t__builder' -IL_01f8: ldloc.1 -IL_01f9: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetResult(!0) -IL_01fe: nop -IL_01ff: ret -} -.method private hidebysig newslot virtual final -instance void SetStateMachine(class [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed -{ -.override [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine -.maxstack 8 -IL_0000: ret -} -} -.class auto ansi sealed nested private beforefieldinit 'd__7' -extends [System.Runtime]System.Object -implements [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine -{ -.interfaceimpl type [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field public int32 '<>1__state' -.field public valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 '<>t__builder' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field public class Example '<>4__this' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field private int32 '5__1' -.field private int32 '5__2' -.field private int32 '<>s__3' -.field private int32 '5__4' -.field private int32 '<>s__5' -.field private int32 '<>s__6' -.field private valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter '<>u__1' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field private valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter '<>u__2' -.method public hidebysig specialname rtspecialname -instance void .ctor() cil managed -{ -.maxstack 8 -IL_0000: ldarg.0 -IL_0001: call instance void [System.Runtime]System.Object::.ctor() -IL_0006: nop -IL_0007: ret -} -.method private hidebysig newslot virtual final -instance void MoveNext() cil managed -{ -.override [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext -.maxstack 3 -.locals init (int32 V_0, -int32 V_1, -valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter V_2, -valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1 V_3, -class Example/'d__7' V_4, -valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable V_5, -valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1 V_6, -valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter V_7, -valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter V_8, -int32 V_9, -bool V_10, -class [System.Runtime]System.Exception V_11) -IL_0000: ldarg.0 -IL_0001: ldfld int32 Example/'d__7'::'<>1__state' -IL_0006: stloc.0 -.try -{ -IL_0007: ldloc.0 -IL_0008: switch ( -IL_001b, -IL_001d, -IL_0022) -IL_0019: br.s IL_0027 -IL_001b: br.s IL_006f -IL_001d: br IL_0101 -IL_0022: br IL_0180 -IL_0027: nop -IL_0028: ldc.i4.s 10 -IL_002a: call class [System.Runtime]System.Threading.Tasks.Task`1 [System.Runtime]System.Threading.Tasks.Task::FromResult(!!0) -IL_002f: ldc.i4.0 -IL_0030: callvirt instance valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1 class [System.Private.CoreLib]System.Threading.Tasks.Task`1::ConfigureAwait(bool) -IL_0035: stloc.3 -IL_0036: ldloca.s V_3 -IL_0038: call instance valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1::GetAwaiter() -IL_003d: stloc.2 -IL_003e: ldloca.s V_2 -IL_0040: call instance bool valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter::get_IsCompleted() -IL_0045: brtrue.s IL_008b -IL_0047: ldarg.0 -IL_0048: ldc.i4.0 -IL_0049: dup -IL_004a: stloc.0 -IL_004b: stfld int32 Example/'d__7'::'<>1__state' -IL_0050: ldarg.0 -IL_0051: ldloc.2 -IL_0052: stfld valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter Example/'d__7'::'<>u__1' -IL_0057: ldarg.0 -IL_0058: stloc.s V_4 -IL_005a: ldarg.0 -IL_005b: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__7'::'<>t__builder' -IL_0060: ldloca.s V_2 -IL_0062: ldloca.s V_4 -IL_0064: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::AwaitUnsafeOnCompleted,class Example/'d__7'>(!!0&, -!!1&) -IL_0069: nop -IL_006a: leave IL_021f -IL_006f: ldarg.0 -IL_0070: ldfld valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter Example/'d__7'::'<>u__1' -IL_0075: stloc.2 -IL_0076: ldarg.0 -IL_0077: ldflda valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter Example/'d__7'::'<>u__1' -IL_007c: initobj valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter -IL_0082: ldarg.0 -IL_0083: ldc.i4.m1 -IL_0084: dup -IL_0085: stloc.0 -IL_0086: stfld int32 Example/'d__7'::'<>1__state' -IL_008b: ldarg.0 -IL_008c: ldloca.s V_2 -IL_008e: call instance !0 valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter::GetResult() -IL_0093: stfld int32 Example/'d__7'::'<>s__3' -IL_0098: ldarg.0 -IL_0099: ldarg.0 -IL_009a: ldfld int32 Example/'d__7'::'<>s__3' -IL_009f: stfld int32 Example/'d__7'::'5__1' -IL_00a4: ldarg.0 -IL_00a5: ldc.i4.0 -IL_00a6: stfld int32 Example/'d__7'::'5__2' -IL_00ab: ldarg.0 -IL_00ac: ldc.i4.0 -IL_00ad: stfld int32 Example/'d__7'::'5__4' -IL_00b2: br IL_01d0 -IL_00b7: nop -IL_00b8: ldc.i4.1 -IL_00b9: call class [System.Runtime]System.Threading.Tasks.Task [System.Runtime]System.Threading.Tasks.Task::Delay(int32) -IL_00be: ldc.i4.0 -IL_00bf: callvirt instance valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable [System.Private.CoreLib]System.Threading.Tasks.Task::ConfigureAwait(bool) -IL_00c4: stloc.s V_5 -IL_00c6: ldloca.s V_5 -IL_00c8: call instance valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable::GetAwaiter() -IL_00cd: stloc.s V_7 -IL_00cf: ldloca.s V_7 -IL_00d1: call instance bool [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter::get_IsCompleted() -IL_00d6: brtrue.s IL_011e -IL_00d8: ldarg.0 -IL_00d9: ldc.i4.1 -IL_00da: dup -IL_00db: stloc.0 -IL_00dc: stfld int32 Example/'d__7'::'<>1__state' -IL_00e1: ldarg.0 -IL_00e2: ldloc.s V_7 -IL_00e4: stfld valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter Example/'d__7'::'<>u__2' -IL_00e9: ldarg.0 -IL_00ea: stloc.s V_4 -IL_00ec: ldarg.0 -IL_00ed: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__7'::'<>t__builder' -IL_00f2: ldloca.s V_7 -IL_00f4: ldloca.s V_4 -IL_00f6: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::AwaitUnsafeOnCompletedd__7'>(!!0&, -!!1&) -IL_00fb: nop -IL_00fc: leave IL_021f -IL_0101: ldarg.0 -IL_0102: ldfld valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter Example/'d__7'::'<>u__2' -IL_0107: stloc.s V_7 -IL_0109: ldarg.0 -IL_010a: ldflda valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter Example/'d__7'::'<>u__2' -IL_010f: initobj [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter -IL_0115: ldarg.0 -IL_0116: ldc.i4.m1 -IL_0117: dup -IL_0118: stloc.0 -IL_0119: stfld int32 Example/'d__7'::'<>1__state' -IL_011e: ldloca.s V_7 -IL_0120: call instance void [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter::GetResult() -IL_0125: nop -IL_0126: ldarg.0 -IL_0127: ldarg.0 -IL_0128: ldfld int32 Example/'d__7'::'5__2' -IL_012d: stfld int32 Example/'d__7'::'<>s__5' -IL_0132: ldarg.0 -IL_0133: ldfld int32 Example/'d__7'::'5__4' -IL_0138: call class [System.Runtime]System.Threading.Tasks.Task`1 [System.Runtime]System.Threading.Tasks.Task::FromResult(!!0) -IL_013d: ldc.i4.0 -IL_013e: callvirt instance valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1 class [System.Private.CoreLib]System.Threading.Tasks.Task`1::ConfigureAwait(bool) -IL_0143: stloc.s V_6 -IL_0145: ldloca.s V_6 -IL_0147: call instance valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1::GetAwaiter() -IL_014c: stloc.s V_8 -IL_014e: ldloca.s V_8 -IL_0150: call instance bool valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter::get_IsCompleted() -IL_0155: brtrue.s IL_019d -IL_0157: ldarg.0 -IL_0158: ldc.i4.2 -IL_0159: dup -IL_015a: stloc.0 -IL_015b: stfld int32 Example/'d__7'::'<>1__state' -IL_0160: ldarg.0 -IL_0161: ldloc.s V_8 -IL_0163: stfld valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter Example/'d__7'::'<>u__1' -IL_0168: ldarg.0 -IL_0169: stloc.s V_4 -IL_016b: ldarg.0 -IL_016c: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__7'::'<>t__builder' -IL_0171: ldloca.s V_8 -IL_0173: ldloca.s V_4 -IL_0175: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::AwaitUnsafeOnCompleted,class Example/'d__7'>(!!0&, -!!1&) -IL_017a: nop -IL_017b: leave IL_021f -IL_0180: ldarg.0 -IL_0181: ldfld valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter Example/'d__7'::'<>u__1' -IL_0186: stloc.s V_8 -IL_0188: ldarg.0 -IL_0189: ldflda valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter Example/'d__7'::'<>u__1' -IL_018e: initobj valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter -IL_0194: ldarg.0 -IL_0195: ldc.i4.m1 -IL_0196: dup -IL_0197: stloc.0 -IL_0198: stfld int32 Example/'d__7'::'<>1__state' -IL_019d: ldarg.0 -IL_019e: ldloca.s V_8 -IL_01a0: call instance !0 valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter::GetResult() -IL_01a5: stfld int32 Example/'d__7'::'<>s__6' -IL_01aa: ldarg.0 -IL_01ab: ldarg.0 -IL_01ac: ldfld int32 Example/'d__7'::'<>s__5' -IL_01b1: ldarg.0 -IL_01b2: ldfld int32 Example/'d__7'::'<>s__6' -IL_01b7: add -IL_01b8: stfld int32 Example/'d__7'::'5__2' -IL_01bd: nop -IL_01be: ldarg.0 -IL_01bf: ldfld int32 Example/'d__7'::'5__4' -IL_01c4: stloc.s V_9 -IL_01c6: ldarg.0 -IL_01c7: ldloc.s V_9 -IL_01c9: ldc.i4.1 -IL_01ca: add -IL_01cb: stfld int32 Example/'d__7'::'5__4' -IL_01d0: ldarg.0 -IL_01d1: ldfld int32 Example/'d__7'::'5__4' -IL_01d6: ldarg.0 -IL_01d7: ldfld int32 Example/'d__7'::'5__1' -IL_01dc: clt -IL_01de: stloc.s V_10 -IL_01e0: ldloc.s V_10 -IL_01e2: brtrue IL_00b7 -IL_01e7: ldarg.0 -IL_01e8: ldfld int32 Example/'d__7'::'5__2' -IL_01ed: stloc.1 -IL_01ee: leave.s IL_020a -} // end .try -catch [System.Runtime]System.Exception -{ -IL_01f0: stloc.s V_11 -IL_01f2: ldarg.0 -IL_01f3: ldc.i4.s -2 -IL_01f5: stfld int32 Example/'d__7'::'<>1__state' -IL_01fa: ldarg.0 -IL_01fb: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__7'::'<>t__builder' -IL_0200: ldloc.s V_11 -IL_0202: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetException(class [System.Runtime]System.Exception) -IL_0207: nop -IL_0208: leave.s IL_021f -} // end handler -IL_020a: ldarg.0 -IL_020b: ldc.i4.s -2 -IL_020d: stfld int32 Example/'d__7'::'<>1__state' -IL_0212: ldarg.0 -IL_0213: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__7'::'<>t__builder' -IL_0218: ldloc.1 -IL_0219: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetResult(!0) -IL_021e: nop -IL_021f: ret -} -.method private hidebysig newslot virtual final -instance void SetStateMachine(class [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed -{ -.override [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine -.maxstack 8 -IL_0000: ret -} -} -.class auto ansi sealed nested private beforefieldinit 'd__8' -extends [System.Runtime]System.Object -implements [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine -{ -.interfaceimpl type [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field public int32 '<>1__state' -.field public valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 '<>t__builder' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field public class Example '<>4__this' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field private int32 '5__1' -.field private int32 '5__2' -.field private int32 '<>s__3' -.field private int32 '5__4' -.field private int32 '<>s__5' -.field private int32 '<>s__6' -.field private valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter '<>u__1' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field private valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter '<>u__2' -.method public hidebysig specialname rtspecialname -instance void .ctor() cil managed -{ -.maxstack 8 -IL_0000: ldarg.0 -IL_0001: call instance void [System.Runtime]System.Object::.ctor() -IL_0006: nop -IL_0007: ret -} -.method private hidebysig newslot virtual final -instance void MoveNext() cil managed -{ -.override [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext -.maxstack 3 -.locals init (int32 V_0, -int32 V_1, -valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter V_2, -valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1 V_3, -class Example/'d__8' V_4, -valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter V_5, -valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable V_6, -valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter V_7, -int32 V_8, -bool V_9, -class [System.Runtime]System.Exception V_10) -IL_0000: ldarg.0 -IL_0001: ldfld int32 Example/'d__8'::'<>1__state' -IL_0006: stloc.0 -.try -{ -IL_0007: ldloc.0 -IL_0008: switch ( -IL_001b, -IL_001d, -IL_0022) -IL_0019: br.s IL_0027 -IL_001b: br.s IL_006f -IL_001d: br IL_0101 -IL_0022: br IL_017f -IL_0027: nop -IL_0028: ldc.i4.s 10 -IL_002a: call class [System.Runtime]System.Threading.Tasks.Task`1 [System.Runtime]System.Threading.Tasks.Task::FromResult(!!0) -IL_002f: ldc.i4.0 -IL_0030: callvirt instance valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1 class [System.Runtime]System.Threading.Tasks.Task`1::ConfigureAwait(bool) -IL_0035: stloc.3 -IL_0036: ldloca.s V_3 -IL_0038: call instance valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1::GetAwaiter() -IL_003d: stloc.2 -IL_003e: ldloca.s V_2 -IL_0040: call instance bool valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter::get_IsCompleted() -IL_0045: brtrue.s IL_008b -IL_0047: ldarg.0 -IL_0048: ldc.i4.0 -IL_0049: dup -IL_004a: stloc.0 -IL_004b: stfld int32 Example/'d__8'::'<>1__state' -IL_0050: ldarg.0 -IL_0051: ldloc.2 -IL_0052: stfld valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter Example/'d__8'::'<>u__1' -IL_0057: ldarg.0 -IL_0058: stloc.s V_4 -IL_005a: ldarg.0 -IL_005b: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__8'::'<>t__builder' -IL_0060: ldloca.s V_2 -IL_0062: ldloca.s V_4 -IL_0064: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::AwaitUnsafeOnCompleted,class Example/'d__8'>(!!0&, -!!1&) -IL_0069: nop -IL_006a: leave IL_021e -IL_006f: ldarg.0 -IL_0070: ldfld valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter Example/'d__8'::'<>u__1' -IL_0075: stloc.2 -IL_0076: ldarg.0 -IL_0077: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter Example/'d__8'::'<>u__1' -IL_007c: initobj valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter -IL_0082: ldarg.0 -IL_0083: ldc.i4.m1 -IL_0084: dup -IL_0085: stloc.0 -IL_0086: stfld int32 Example/'d__8'::'<>1__state' -IL_008b: ldarg.0 -IL_008c: ldloca.s V_2 -IL_008e: call instance !0 valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter::GetResult() -IL_0093: stfld int32 Example/'d__8'::'<>s__3' -IL_0098: ldarg.0 -IL_0099: ldarg.0 -IL_009a: ldfld int32 Example/'d__8'::'<>s__3' -IL_009f: stfld int32 Example/'d__8'::'5__1' -IL_00a4: ldarg.0 -IL_00a5: ldc.i4.0 -IL_00a6: stfld int32 Example/'d__8'::'5__2' -IL_00ab: ldarg.0 -IL_00ac: ldc.i4.0 -IL_00ad: stfld int32 Example/'d__8'::'5__4' -IL_00b2: br IL_01cf -IL_00b7: nop -IL_00b8: ldc.i4.1 -IL_00b9: call class [System.Runtime]System.Threading.Tasks.Task [System.Runtime]System.Threading.Tasks.Task::Delay(int32) -IL_00be: ldc.i4.0 -IL_00bf: callvirt instance valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable [System.Runtime]System.Threading.Tasks.Task::ConfigureAwait(bool) -IL_00c4: stloc.s V_6 -IL_00c6: ldloca.s V_6 -IL_00c8: call instance valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable::GetAwaiter() -IL_00cd: stloc.s V_5 -IL_00cf: ldloca.s V_5 -IL_00d1: call instance bool [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter::get_IsCompleted() -IL_00d6: brtrue.s IL_011e -IL_00d8: ldarg.0 -IL_00d9: ldc.i4.1 -IL_00da: dup -IL_00db: stloc.0 -IL_00dc: stfld int32 Example/'d__8'::'<>1__state' -IL_00e1: ldarg.0 -IL_00e2: ldloc.s V_5 -IL_00e4: stfld valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter Example/'d__8'::'<>u__2' -IL_00e9: ldarg.0 -IL_00ea: stloc.s V_4 -IL_00ec: ldarg.0 -IL_00ed: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__8'::'<>t__builder' -IL_00f2: ldloca.s V_5 -IL_00f4: ldloca.s V_4 -IL_00f6: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::AwaitUnsafeOnCompletedd__8'>(!!0&, -!!1&) -IL_00fb: nop -IL_00fc: leave IL_021e -IL_0101: ldarg.0 -IL_0102: ldfld valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter Example/'d__8'::'<>u__2' -IL_0107: stloc.s V_5 -IL_0109: ldarg.0 -IL_010a: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter Example/'d__8'::'<>u__2' -IL_010f: initobj [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter -IL_0115: ldarg.0 -IL_0116: ldc.i4.m1 -IL_0117: dup -IL_0118: stloc.0 -IL_0119: stfld int32 Example/'d__8'::'<>1__state' -IL_011e: ldloca.s V_5 -IL_0120: call instance void [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter::GetResult() -IL_0125: nop -IL_0126: ldarg.0 -IL_0127: ldarg.0 -IL_0128: ldfld int32 Example/'d__8'::'5__2' -IL_012d: stfld int32 Example/'d__8'::'<>s__5' -IL_0132: ldarg.0 -IL_0133: ldfld int32 Example/'d__8'::'5__4' -IL_0138: call class [System.Runtime]System.Threading.Tasks.Task`1 [System.Runtime]System.Threading.Tasks.Task::FromResult(!!0) -IL_013d: ldc.i4.0 -IL_013e: callvirt instance valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1 class [System.Runtime]System.Threading.Tasks.Task`1::ConfigureAwait(bool) -IL_0143: stloc.3 -IL_0144: ldloca.s V_3 -IL_0146: call instance valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1::GetAwaiter() -IL_014b: stloc.s V_7 -IL_014d: ldloca.s V_7 -IL_014f: call instance bool valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter::get_IsCompleted() -IL_0154: brtrue.s IL_019c -IL_0156: ldarg.0 -IL_0157: ldc.i4.2 -IL_0158: dup -IL_0159: stloc.0 -IL_015a: stfld int32 Example/'d__8'::'<>1__state' -IL_015f: ldarg.0 -IL_0160: ldloc.s V_7 -IL_0162: stfld valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter Example/'d__8'::'<>u__1' -IL_0167: ldarg.0 -IL_0168: stloc.s V_4 -IL_016a: ldarg.0 -IL_016b: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__8'::'<>t__builder' -IL_0170: ldloca.s V_7 -IL_0172: ldloca.s V_4 -IL_0174: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::AwaitUnsafeOnCompleted,class Example/'d__8'>(!!0&, -!!1&) -IL_0179: nop -IL_017a: leave IL_021e -IL_017f: ldarg.0 -IL_0180: ldfld valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter Example/'d__8'::'<>u__1' -IL_0185: stloc.s V_7 -IL_0187: ldarg.0 -IL_0188: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter Example/'d__8'::'<>u__1' -IL_018d: initobj valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter -IL_0193: ldarg.0 -IL_0194: ldc.i4.m1 -IL_0195: dup -IL_0196: stloc.0 -IL_0197: stfld int32 Example/'d__8'::'<>1__state' -IL_019c: ldarg.0 -IL_019d: ldloca.s V_7 -IL_019f: call instance !0 valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter::GetResult() -IL_01a4: stfld int32 Example/'d__8'::'<>s__6' -IL_01a9: ldarg.0 -IL_01aa: ldarg.0 -IL_01ab: ldfld int32 Example/'d__8'::'<>s__5' -IL_01b0: ldarg.0 -IL_01b1: ldfld int32 Example/'d__8'::'<>s__6' -IL_01b6: add -IL_01b7: stfld int32 Example/'d__8'::'5__2' -IL_01bc: nop -IL_01bd: ldarg.0 -IL_01be: ldfld int32 Example/'d__8'::'5__4' -IL_01c3: stloc.s V_8 -IL_01c5: ldarg.0 -IL_01c6: ldloc.s V_8 -IL_01c8: ldc.i4.1 -IL_01c9: add -IL_01ca: stfld int32 Example/'d__8'::'5__4' -IL_01cf: ldarg.0 -IL_01d0: ldfld int32 Example/'d__8'::'5__4' -IL_01d5: ldarg.0 -IL_01d6: ldfld int32 Example/'d__8'::'5__1' -IL_01db: clt -IL_01dd: stloc.s V_9 -IL_01df: ldloc.s V_9 -IL_01e1: brtrue IL_00b7 -IL_01e6: ldarg.0 -IL_01e7: ldfld int32 Example/'d__8'::'5__2' -IL_01ec: stloc.1 -IL_01ed: leave.s IL_0209 -} // end .try -catch [System.Runtime]System.Exception -{ -IL_01ef: stloc.s V_10 -IL_01f1: ldarg.0 -IL_01f2: ldc.i4.s -2 -IL_01f4: stfld int32 Example/'d__8'::'<>1__state' -IL_01f9: ldarg.0 -IL_01fa: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__8'::'<>t__builder' -IL_01ff: ldloc.s V_10 -IL_0201: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetException(class [System.Runtime]System.Exception) -IL_0206: nop -IL_0207: leave.s IL_021e -} // end handler -IL_0209: ldarg.0 -IL_020a: ldc.i4.s -2 -IL_020c: stfld int32 Example/'d__8'::'<>1__state' -IL_0211: ldarg.0 -IL_0212: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__8'::'<>t__builder' -IL_0217: ldloc.1 -IL_0218: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetResult(!0) -IL_021d: nop -IL_021e: ret -} -.method private hidebysig newslot virtual final -instance void SetStateMachine(class [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed -{ -.override [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine -.maxstack 8 -IL_0000: ret -} -} -.method public hidebysig instance class [System.Runtime]System.Threading.Tasks.Task -AsyncMethod1() cil managed -{ -63 4D 65 74 68 6F 64 31 3E 64 5F 5F 30 00 00 ) // cMethod1>d__0.. -.maxstack 2 -.locals init (class Example/'d__0' V_0) -IL_0000: newobj instance void Example/'d__0'::.ctor() -IL_0005: stloc.0 -IL_0006: ldloc.0 -IL_0007: call valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Create() -IL_000c: stfld valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Example/'d__0'::'<>t__builder' -IL_0011: ldloc.0 -IL_0012: ldarg.0 -IL_0013: stfld class Example Example/'d__0'::'<>4__this' -IL_0018: ldloc.0 -IL_0019: ldc.i4.m1 -IL_001a: stfld int32 Example/'d__0'::'<>1__state' -IL_001f: ldloc.0 -IL_0020: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Example/'d__0'::'<>t__builder' -IL_0025: ldloca.s V_0 -IL_0027: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Startd__0'>(!!0&) -IL_002c: ldloc.0 -IL_002d: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Example/'d__0'::'<>t__builder' -IL_0032: call instance class [System.Runtime]System.Threading.Tasks.Task [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::get_Task() -IL_0037: ret -} -.method public hidebysig instance class [System.Runtime]System.Threading.Tasks.Task -AsyncMethod2() cil managed -{ -63 4D 65 74 68 6F 64 32 3E 64 5F 5F 31 00 00 ) // cMethod2>d__1.. -.maxstack 2 -.locals init (class Example/'d__1' V_0) -IL_0000: newobj instance void Example/'d__1'::.ctor() -IL_0005: stloc.0 -IL_0006: ldloc.0 -IL_0007: call valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Create() -IL_000c: stfld valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Example/'d__1'::'<>t__builder' -IL_0011: ldloc.0 -IL_0012: ldarg.0 -IL_0013: stfld class Example Example/'d__1'::'<>4__this' -IL_0018: ldloc.0 -IL_0019: ldc.i4.m1 -IL_001a: stfld int32 Example/'d__1'::'<>1__state' -IL_001f: ldloc.0 -IL_0020: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Example/'d__1'::'<>t__builder' -IL_0025: ldloca.s V_0 -IL_0027: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Startd__1'>(!!0&) -IL_002c: ldloc.0 -IL_002d: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Example/'d__1'::'<>t__builder' -IL_0032: call instance class [System.Runtime]System.Threading.Tasks.Task [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::get_Task() -IL_0037: ret -} -.method public hidebysig instance class [System.Runtime]System.Threading.Tasks.Task -AsyncMethod3() cil managed -{ -63 4D 65 74 68 6F 64 33 3E 64 5F 5F 32 00 00 ) // cMethod3>d__2.. -.maxstack 2 -.locals init (class Example/'d__2' V_0) -IL_0000: newobj instance void Example/'d__2'::.ctor() -IL_0005: stloc.0 -IL_0006: ldloc.0 -IL_0007: call valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Create() -IL_000c: stfld valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Example/'d__2'::'<>t__builder' -IL_0011: ldloc.0 -IL_0012: ldarg.0 -IL_0013: stfld class Example Example/'d__2'::'<>4__this' -IL_0018: ldloc.0 -IL_0019: ldc.i4.m1 -IL_001a: stfld int32 Example/'d__2'::'<>1__state' -IL_001f: ldloc.0 -IL_0020: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Example/'d__2'::'<>t__builder' -IL_0025: ldloca.s V_0 -IL_0027: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Startd__2'>(!!0&) -IL_002c: ldloc.0 -IL_002d: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Example/'d__2'::'<>t__builder' -IL_0032: call instance class [System.Runtime]System.Threading.Tasks.Task [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::get_Task() -IL_0037: ret -} -.method public hidebysig instance class [System.Runtime]System.Threading.Tasks.Task`1 -AsyncMethod4() cil managed -{ -63 4D 65 74 68 6F 64 34 3E 64 5F 5F 33 00 00 ) // cMethod4>d__3.. -.maxstack 2 -.locals init (class Example/'d__3' V_0) -IL_0000: newobj instance void Example/'d__3'::.ctor() -IL_0005: stloc.0 -IL_0006: ldloc.0 -IL_0007: call valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::Create() -IL_000c: stfld valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__3'::'<>t__builder' -IL_0011: ldloc.0 -IL_0012: ldarg.0 -IL_0013: stfld class Example Example/'d__3'::'<>4__this' -IL_0018: ldloc.0 -IL_0019: ldc.i4.m1 -IL_001a: stfld int32 Example/'d__3'::'<>1__state' -IL_001f: ldloc.0 -IL_0020: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__3'::'<>t__builder' -IL_0025: ldloca.s V_0 -IL_0027: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::Startd__3'>(!!0&) -IL_002c: ldloc.0 -IL_002d: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__3'::'<>t__builder' -IL_0032: call instance class [System.Runtime]System.Threading.Tasks.Task`1 valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::get_Task() -IL_0037: ret -} -.method public hidebysig instance class [System.Runtime]System.Threading.Tasks.Task`1 -AsyncMethod5() cil managed -{ -63 4D 65 74 68 6F 64 35 3E 64 5F 5F 34 00 00 ) // cMethod5>d__4.. -.maxstack 2 -.locals init (class Example/'d__4' V_0) -IL_0000: newobj instance void Example/'d__4'::.ctor() -IL_0005: stloc.0 -IL_0006: ldloc.0 -IL_0007: call valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::Create() -IL_000c: stfld valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__4'::'<>t__builder' -IL_0011: ldloc.0 -IL_0012: ldarg.0 -IL_0013: stfld class Example Example/'d__4'::'<>4__this' -IL_0018: ldloc.0 -IL_0019: ldc.i4.m1 -IL_001a: stfld int32 Example/'d__4'::'<>1__state' -IL_001f: ldloc.0 -IL_0020: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__4'::'<>t__builder' -IL_0025: ldloca.s V_0 -IL_0027: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::Startd__4'>(!!0&) -IL_002c: ldloc.0 -IL_002d: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__4'::'<>t__builder' -IL_0032: call instance class [System.Runtime]System.Threading.Tasks.Task`1 valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::get_Task() -IL_0037: ret -} -.method public hidebysig instance class [System.Runtime]System.Threading.Tasks.Task`1 -AsyncMethod6() cil managed -{ -63 4D 65 74 68 6F 64 36 3E 64 5F 5F 35 00 00 ) // cMethod6>d__5.. -.maxstack 2 -.locals init (class Example/'d__5' V_0) -IL_0000: newobj instance void Example/'d__5'::.ctor() -IL_0005: stloc.0 -IL_0006: ldloc.0 -IL_0007: call valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::Create() -IL_000c: stfld valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__5'::'<>t__builder' -IL_0011: ldloc.0 -IL_0012: ldarg.0 -IL_0013: stfld class Example Example/'d__5'::'<>4__this' -IL_0018: ldloc.0 -IL_0019: ldc.i4.m1 -IL_001a: stfld int32 Example/'d__5'::'<>1__state' -IL_001f: ldloc.0 -IL_0020: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__5'::'<>t__builder' -IL_0025: ldloca.s V_0 -IL_0027: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::Startd__5'>(!!0&) -IL_002c: ldloc.0 -IL_002d: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__5'::'<>t__builder' -IL_0032: call instance class [System.Runtime]System.Threading.Tasks.Task`1 valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::get_Task() -IL_0037: ret -} -.method public hidebysig instance class [System.Runtime]System.Threading.Tasks.Task`1 -AsyncMethod7() cil managed -{ -63 4D 65 74 68 6F 64 37 3E 64 5F 5F 36 00 00 ) // cMethod7>d__6.. -.maxstack 2 -.locals init (class Example/'d__6' V_0) -IL_0000: newobj instance void Example/'d__6'::.ctor() -IL_0005: stloc.0 -IL_0006: ldloc.0 -IL_0007: call valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::Create() -IL_000c: stfld valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__6'::'<>t__builder' -IL_0011: ldloc.0 -IL_0012: ldarg.0 -IL_0013: stfld class Example Example/'d__6'::'<>4__this' -IL_0018: ldloc.0 -IL_0019: ldc.i4.m1 -IL_001a: stfld int32 Example/'d__6'::'<>1__state' -IL_001f: ldloc.0 -IL_0020: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__6'::'<>t__builder' -IL_0025: ldloca.s V_0 -IL_0027: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::Startd__6'>(!!0&) -IL_002c: ldloc.0 -IL_002d: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__6'::'<>t__builder' -IL_0032: call instance class [System.Runtime]System.Threading.Tasks.Task`1 valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::get_Task() -IL_0037: ret -} -.method public hidebysig instance class [System.Runtime]System.Threading.Tasks.Task`1 -AsyncMethod8() cil managed -{ -63 4D 65 74 68 6F 64 38 3E 64 5F 5F 37 00 00 ) // cMethod8>d__7.. -.maxstack 2 -.locals init (class Example/'d__7' V_0) -IL_0000: newobj instance void Example/'d__7'::.ctor() -IL_0005: stloc.0 -IL_0006: ldloc.0 -IL_0007: call valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::Create() -IL_000c: stfld valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__7'::'<>t__builder' -IL_0011: ldloc.0 -IL_0012: ldarg.0 -IL_0013: stfld class Example Example/'d__7'::'<>4__this' -IL_0018: ldloc.0 -IL_0019: ldc.i4.m1 -IL_001a: stfld int32 Example/'d__7'::'<>1__state' -IL_001f: ldloc.0 -IL_0020: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__7'::'<>t__builder' -IL_0025: ldloca.s V_0 -IL_0027: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::Startd__7'>(!!0&) -IL_002c: ldloc.0 -IL_002d: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__7'::'<>t__builder' -IL_0032: call instance class [System.Runtime]System.Threading.Tasks.Task`1 valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::get_Task() -IL_0037: ret -} -.method public hidebysig instance class [System.Runtime]System.Threading.Tasks.Task`1 -AsyncMethod9() cil managed -{ -63 4D 65 74 68 6F 64 39 3E 64 5F 5F 38 00 00 ) // cMethod9>d__8.. -.maxstack 2 -.locals init (class Example/'d__8' V_0) -IL_0000: newobj instance void Example/'d__8'::.ctor() -IL_0005: stloc.0 -IL_0006: ldloc.0 -IL_0007: call valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::Create() -IL_000c: stfld valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__8'::'<>t__builder' -IL_0011: ldloc.0 -IL_0012: ldarg.0 -IL_0013: stfld class Example Example/'d__8'::'<>4__this' -IL_0018: ldloc.0 -IL_0019: ldc.i4.m1 -IL_001a: stfld int32 Example/'d__8'::'<>1__state' -IL_001f: ldloc.0 -IL_0020: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__8'::'<>t__builder' -IL_0025: ldloca.s V_0 -IL_0027: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::Startd__8'>(!!0&) -IL_002c: ldloc.0 -IL_002d: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__8'::'<>t__builder' -IL_0032: call instance class [System.Runtime]System.Threading.Tasks.Task`1 valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::get_Task() -IL_0037: ret -} -.method public hidebysig instance class [System.Runtime]System.Threading.Tasks.Task`1 -AsyncMethod10() cil managed -{ -63 4D 65 74 68 6F 64 31 30 3E 64 5F 5F 39 00 00 ) // cMethod10>d__9.. -.maxstack 2 -.locals init (class Example/'d__9' V_0) -IL_0000: newobj instance void Example/'d__9'::.ctor() -IL_0005: stloc.0 -IL_0006: ldloc.0 -IL_0007: call valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::Create() -IL_000c: stfld valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__9'::'<>t__builder' -IL_0011: ldloc.0 -IL_0012: ldarg.0 -IL_0013: stfld class Example Example/'d__9'::'<>4__this' -IL_0018: ldloc.0 -IL_0019: ldc.i4.m1 -IL_001a: stfld int32 Example/'d__9'::'<>1__state' -IL_001f: ldloc.0 -IL_0020: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__9'::'<>t__builder' -IL_0025: ldloca.s V_0 -IL_0027: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::Startd__9'>(!!0&) -IL_002c: ldloc.0 -IL_002d: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__9'::'<>t__builder' -IL_0032: call instance class [System.Runtime]System.Threading.Tasks.Task`1 valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::get_Task() -IL_0037: ret -} -.method public hidebysig instance class [System.Runtime]System.Threading.Tasks.Task`1 -AsyncMethod11() cil managed -{ -63 4D 65 74 68 6F 64 31 31 3E 64 5F 5F 31 30 00 // cMethod11>d__10. -00 ) -.maxstack 2 -.locals init (class Example/'d__10' V_0) -IL_0000: newobj instance void Example/'d__10'::.ctor() -IL_0005: stloc.0 -IL_0006: ldloc.0 -IL_0007: call valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::Create() -IL_000c: stfld valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__10'::'<>t__builder' -IL_0011: ldloc.0 -IL_0012: ldarg.0 -IL_0013: stfld class Example Example/'d__10'::'<>4__this' -IL_0018: ldloc.0 -IL_0019: ldc.i4.m1 -IL_001a: stfld int32 Example/'d__10'::'<>1__state' -IL_001f: ldloc.0 -IL_0020: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__10'::'<>t__builder' -IL_0025: ldloca.s V_0 -IL_0027: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::Startd__10'>(!!0&) -IL_002c: ldloc.0 -IL_002d: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__10'::'<>t__builder' -IL_0032: call instance class [System.Runtime]System.Threading.Tasks.Task`1 valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::get_Task() -IL_0037: ret -} -.method public hidebysig instance class [System.Runtime]System.Threading.Tasks.Task`1 -AsyncMethod12() cil managed -{ -63 4D 65 74 68 6F 64 31 32 3E 64 5F 5F 31 31 00 // cMethod12>d__11. -00 ) -.maxstack 2 -.locals init (class Example/'d__11' V_0) -IL_0000: newobj instance void Example/'d__11'::.ctor() -IL_0005: stloc.0 -IL_0006: ldloc.0 -IL_0007: call valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::Create() -IL_000c: stfld valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__11'::'<>t__builder' -IL_0011: ldloc.0 -IL_0012: ldarg.0 -IL_0013: stfld class Example Example/'d__11'::'<>4__this' -IL_0018: ldloc.0 -IL_0019: ldc.i4.m1 -IL_001a: stfld int32 Example/'d__11'::'<>1__state' -IL_001f: ldloc.0 -IL_0020: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__11'::'<>t__builder' -IL_0025: ldloca.s V_0 -IL_0027: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::Startd__11'>(!!0&) -IL_002c: ldloc.0 -IL_002d: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__11'::'<>t__builder' -IL_0032: call instance class [System.Runtime]System.Threading.Tasks.Task`1 valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::get_Task() -IL_0037: ret -} -.method public hidebysig specialname rtspecialname -instance void .ctor() cil managed -{ -.maxstack 8 -IL_0000: ldarg.0 -IL_0001: call instance void [System.Runtime]System.Object::.ctor() -IL_0006: nop -IL_0007: ret -} -} diff --git a/Tests/ModuleWeaverTests.DecompileExample.DotNet.Release.verified.txt b/Tests/ModuleWeaverTests.DecompileExample.DotNet.Release.verified.txt deleted file mode 100644 index f351232..0000000 --- a/Tests/ModuleWeaverTests.DecompileExample.DotNet.Release.verified.txt +++ /dev/null @@ -1,1841 +0,0 @@ -.class public auto ansi beforefieldinit Example -extends [System.Runtime]System.Object -{ -.custom instance void System.Runtime.CompilerServices.NullableContextAttribute::.ctor(uint8) = ( 01 00 01 00 00 ) -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.class auto ansi sealed nested private beforefieldinit 'd__0' -extends [System.Runtime]System.ValueType -implements [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine -{ -.interfaceimpl type [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field public int32 '<>1__state' -.field public valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder '<>t__builder' -.field private valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter '<>u__1' -.method private hidebysig newslot virtual final -instance void MoveNext() cil managed -{ -.override [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext -.maxstack 3 -.locals init (int32 V_0, -valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter V_1, -class [System.Runtime]System.Exception V_2) -IL_0000: ldarg.0 -IL_0001: ldfld int32 Example/'d__0'::'<>1__state' -IL_0006: stloc.0 -.try -{ -IL_0007: ldloc.0 -IL_0008: brfalse.s IL_003f -IL_000a: ldc.i4.1 -IL_000b: call class [System.Runtime]System.Threading.Tasks.Task [System.Runtime]System.Threading.Tasks.Task::Delay(int32) -IL_0010: callvirt instance valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter [System.Runtime]System.Threading.Tasks.Task::GetAwaiter() -IL_0015: stloc.1 -IL_0016: ldloca.s V_1 -IL_0018: call instance bool [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter::get_IsCompleted() -IL_001d: brtrue.s IL_005b -IL_001f: ldarg.0 -IL_0020: ldc.i4.0 -IL_0021: dup -IL_0022: stloc.0 -IL_0023: stfld int32 Example/'d__0'::'<>1__state' -IL_0028: ldarg.0 -IL_0029: ldloc.1 -IL_002a: stfld valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter Example/'d__0'::'<>u__1' -IL_002f: ldarg.0 -IL_0030: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Example/'d__0'::'<>t__builder' -IL_0035: ldloca.s V_1 -IL_0037: ldarg.0 -IL_0038: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::AwaitUnsafeOnCompletedd__0'>(!!0&, -!!1&) -IL_003d: leave.s IL_008e -IL_003f: ldarg.0 -IL_0040: ldfld valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter Example/'d__0'::'<>u__1' -IL_0045: stloc.1 -IL_0046: ldarg.0 -IL_0047: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter Example/'d__0'::'<>u__1' -IL_004c: initobj [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter -IL_0052: ldarg.0 -IL_0053: ldc.i4.m1 -IL_0054: dup -IL_0055: stloc.0 -IL_0056: stfld int32 Example/'d__0'::'<>1__state' -IL_005b: ldloca.s V_1 -IL_005d: call instance void [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter::GetResult() -IL_0062: leave.s IL_007b -} // end .try -catch [System.Runtime]System.Exception -{ -IL_0064: stloc.2 -IL_0065: ldarg.0 -IL_0066: ldc.i4.s -2 -IL_0068: stfld int32 Example/'d__0'::'<>1__state' -IL_006d: ldarg.0 -IL_006e: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Example/'d__0'::'<>t__builder' -IL_0073: ldloc.2 -IL_0074: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetException(class [System.Runtime]System.Exception) -IL_0079: leave.s IL_008e -} // end handler -IL_007b: ldarg.0 -IL_007c: ldc.i4.s -2 -IL_007e: stfld int32 Example/'d__0'::'<>1__state' -IL_0083: ldarg.0 -IL_0084: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Example/'d__0'::'<>t__builder' -IL_0089: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetResult() -IL_008e: ret -} -.method private hidebysig newslot virtual final -instance void SetStateMachine(class [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed -{ -.override [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine -.maxstack 8 -IL_0000: ldarg.0 -IL_0001: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Example/'d__0'::'<>t__builder' -IL_0006: ldarg.1 -IL_0007: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetStateMachine(class [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine) -IL_000c: ret -} -} -.class auto ansi sealed nested private beforefieldinit 'd__1' -extends [System.Runtime]System.ValueType -implements [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine -{ -.interfaceimpl type [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field public int32 '<>1__state' -.field public valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder '<>t__builder' -.field private valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter '<>u__1' -.method private hidebysig newslot virtual final -instance void MoveNext() cil managed -{ -.override [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext -.maxstack 3 -.locals init (int32 V_0, -valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter V_1, -valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable V_2, -class [System.Runtime]System.Exception V_3) -IL_0000: ldarg.0 -IL_0001: ldfld int32 Example/'d__1'::'<>1__state' -IL_0006: stloc.0 -.try -{ -IL_0007: ldloc.0 -IL_0008: brfalse.s IL_0048 -IL_000a: ldc.i4.1 -IL_000b: call class [System.Runtime]System.Threading.Tasks.Task [System.Runtime]System.Threading.Tasks.Task::Delay(int32) -IL_0010: ldc.i4.0 -IL_0011: callvirt instance valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable [System.Private.CoreLib]System.Threading.Tasks.Task::ConfigureAwait(bool) -IL_0016: stloc.2 -IL_0017: ldloca.s V_2 -IL_0019: call instance valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable::GetAwaiter() -IL_001e: stloc.1 -IL_001f: ldloca.s V_1 -IL_0021: call instance bool [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter::get_IsCompleted() -IL_0026: brtrue.s IL_0064 -IL_0028: ldarg.0 -IL_0029: ldc.i4.0 -IL_002a: dup -IL_002b: stloc.0 -IL_002c: stfld int32 Example/'d__1'::'<>1__state' -IL_0031: ldarg.0 -IL_0032: ldloc.1 -IL_0033: stfld valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter Example/'d__1'::'<>u__1' -IL_0038: ldarg.0 -IL_0039: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Example/'d__1'::'<>t__builder' -IL_003e: ldloca.s V_1 -IL_0040: ldarg.0 -IL_0041: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::AwaitUnsafeOnCompletedd__1'>(!!0&, -!!1&) -IL_0046: leave.s IL_0097 -IL_0048: ldarg.0 -IL_0049: ldfld valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter Example/'d__1'::'<>u__1' -IL_004e: stloc.1 -IL_004f: ldarg.0 -IL_0050: ldflda valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter Example/'d__1'::'<>u__1' -IL_0055: initobj [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter -IL_005b: ldarg.0 -IL_005c: ldc.i4.m1 -IL_005d: dup -IL_005e: stloc.0 -IL_005f: stfld int32 Example/'d__1'::'<>1__state' -IL_0064: ldloca.s V_1 -IL_0066: call instance void [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter::GetResult() -IL_006b: leave.s IL_0084 -} // end .try -catch [System.Runtime]System.Exception -{ -IL_006d: stloc.3 -IL_006e: ldarg.0 -IL_006f: ldc.i4.s -2 -IL_0071: stfld int32 Example/'d__1'::'<>1__state' -IL_0076: ldarg.0 -IL_0077: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Example/'d__1'::'<>t__builder' -IL_007c: ldloc.3 -IL_007d: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetException(class [System.Runtime]System.Exception) -IL_0082: leave.s IL_0097 -} // end handler -IL_0084: ldarg.0 -IL_0085: ldc.i4.s -2 -IL_0087: stfld int32 Example/'d__1'::'<>1__state' -IL_008c: ldarg.0 -IL_008d: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Example/'d__1'::'<>t__builder' -IL_0092: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetResult() -IL_0097: ret -} -.method private hidebysig newslot virtual final -instance void SetStateMachine(class [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed -{ -.override [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine -.maxstack 8 -IL_0000: ldarg.0 -IL_0001: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Example/'d__1'::'<>t__builder' -IL_0006: ldarg.1 -IL_0007: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetStateMachine(class [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine) -IL_000c: ret -} -} -.class auto ansi sealed nested private beforefieldinit 'd__2' -extends [System.Runtime]System.ValueType -implements [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine -{ -.interfaceimpl type [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field public int32 '<>1__state' -.field public valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder '<>t__builder' -.field private valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter '<>u__1' -.method private hidebysig newslot virtual final -instance void MoveNext() cil managed -{ -.override [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext -.maxstack 3 -.locals init (int32 V_0, -valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter V_1, -valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable V_2, -class [System.Runtime]System.Exception V_3) -IL_0000: ldarg.0 -IL_0001: ldfld int32 Example/'d__2'::'<>1__state' -IL_0006: stloc.0 -.try -{ -IL_0007: ldloc.0 -IL_0008: brfalse.s IL_0048 -IL_000a: ldc.i4.1 -IL_000b: call class [System.Runtime]System.Threading.Tasks.Task [System.Runtime]System.Threading.Tasks.Task::Delay(int32) -IL_0010: ldc.i4.0 -IL_0011: callvirt instance valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable [System.Runtime]System.Threading.Tasks.Task::ConfigureAwait(bool) -IL_0016: stloc.2 -IL_0017: ldloca.s V_2 -IL_0019: call instance valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable::GetAwaiter() -IL_001e: stloc.1 -IL_001f: ldloca.s V_1 -IL_0021: call instance bool [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter::get_IsCompleted() -IL_0026: brtrue.s IL_0064 -IL_0028: ldarg.0 -IL_0029: ldc.i4.0 -IL_002a: dup -IL_002b: stloc.0 -IL_002c: stfld int32 Example/'d__2'::'<>1__state' -IL_0031: ldarg.0 -IL_0032: ldloc.1 -IL_0033: stfld valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter Example/'d__2'::'<>u__1' -IL_0038: ldarg.0 -IL_0039: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Example/'d__2'::'<>t__builder' -IL_003e: ldloca.s V_1 -IL_0040: ldarg.0 -IL_0041: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::AwaitUnsafeOnCompletedd__2'>(!!0&, -!!1&) -IL_0046: leave.s IL_0097 -IL_0048: ldarg.0 -IL_0049: ldfld valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter Example/'d__2'::'<>u__1' -IL_004e: stloc.1 -IL_004f: ldarg.0 -IL_0050: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter Example/'d__2'::'<>u__1' -IL_0055: initobj [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter -IL_005b: ldarg.0 -IL_005c: ldc.i4.m1 -IL_005d: dup -IL_005e: stloc.0 -IL_005f: stfld int32 Example/'d__2'::'<>1__state' -IL_0064: ldloca.s V_1 -IL_0066: call instance void [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter::GetResult() -IL_006b: leave.s IL_0084 -} // end .try -catch [System.Runtime]System.Exception -{ -IL_006d: stloc.3 -IL_006e: ldarg.0 -IL_006f: ldc.i4.s -2 -IL_0071: stfld int32 Example/'d__2'::'<>1__state' -IL_0076: ldarg.0 -IL_0077: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Example/'d__2'::'<>t__builder' -IL_007c: ldloc.3 -IL_007d: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetException(class [System.Runtime]System.Exception) -IL_0082: leave.s IL_0097 -} // end handler -IL_0084: ldarg.0 -IL_0085: ldc.i4.s -2 -IL_0087: stfld int32 Example/'d__2'::'<>1__state' -IL_008c: ldarg.0 -IL_008d: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Example/'d__2'::'<>t__builder' -IL_0092: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetResult() -IL_0097: ret -} -.method private hidebysig newslot virtual final -instance void SetStateMachine(class [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed -{ -.override [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine -.maxstack 8 -IL_0000: ldarg.0 -IL_0001: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Example/'d__2'::'<>t__builder' -IL_0006: ldarg.1 -IL_0007: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetStateMachine(class [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine) -IL_000c: ret -} -} -.class auto ansi sealed nested private beforefieldinit 'd__3' -extends [System.Runtime]System.ValueType -implements [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine -{ -.interfaceimpl type [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field public int32 '<>1__state' -.field public valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 '<>t__builder' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field private valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter`1 '<>u__1' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.method private hidebysig newslot virtual final -instance void MoveNext() cil managed -{ -.override [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext -.maxstack 3 -.locals init (int32 V_0, -int32 V_1, -valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter`1 V_2, -class [System.Runtime]System.Exception V_3) -IL_0000: ldarg.0 -IL_0001: ldfld int32 Example/'d__3'::'<>1__state' -IL_0006: stloc.0 -.try -{ -IL_0007: ldloc.0 -IL_0008: brfalse.s IL_0040 -IL_000a: ldc.i4.s 10 -IL_000c: call class [System.Runtime]System.Threading.Tasks.Task`1 [System.Runtime]System.Threading.Tasks.Task::FromResult(!!0) -IL_0011: callvirt instance valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter`1 class [System.Runtime]System.Threading.Tasks.Task`1::GetAwaiter() -IL_0016: stloc.2 -IL_0017: ldloca.s V_2 -IL_0019: call instance bool valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter`1::get_IsCompleted() -IL_001e: brtrue.s IL_005c -IL_0020: ldarg.0 -IL_0021: ldc.i4.0 -IL_0022: dup -IL_0023: stloc.0 -IL_0024: stfld int32 Example/'d__3'::'<>1__state' -IL_0029: ldarg.0 -IL_002a: ldloc.2 -IL_002b: stfld valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter`1 Example/'d__3'::'<>u__1' -IL_0030: ldarg.0 -IL_0031: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__3'::'<>t__builder' -IL_0036: ldloca.s V_2 -IL_0038: ldarg.0 -IL_0039: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::AwaitUnsafeOnCompleted,valuetype Example/'d__3'>(!!0&, -!!1&) -IL_003e: leave.s IL_0091 -IL_0040: ldarg.0 -IL_0041: ldfld valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter`1 Example/'d__3'::'<>u__1' -IL_0046: stloc.2 -IL_0047: ldarg.0 -IL_0048: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter`1 Example/'d__3'::'<>u__1' -IL_004d: initobj valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter`1 -IL_0053: ldarg.0 -IL_0054: ldc.i4.m1 -IL_0055: dup -IL_0056: stloc.0 -IL_0057: stfld int32 Example/'d__3'::'<>1__state' -IL_005c: ldloca.s V_2 -IL_005e: call instance !0 valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter`1::GetResult() -IL_0063: stloc.1 -IL_0064: leave.s IL_007d -} // end .try -catch [System.Runtime]System.Exception -{ -IL_0066: stloc.3 -IL_0067: ldarg.0 -IL_0068: ldc.i4.s -2 -IL_006a: stfld int32 Example/'d__3'::'<>1__state' -IL_006f: ldarg.0 -IL_0070: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__3'::'<>t__builder' -IL_0075: ldloc.3 -IL_0076: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetException(class [System.Runtime]System.Exception) -IL_007b: leave.s IL_0091 -} // end handler -IL_007d: ldarg.0 -IL_007e: ldc.i4.s -2 -IL_0080: stfld int32 Example/'d__3'::'<>1__state' -IL_0085: ldarg.0 -IL_0086: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__3'::'<>t__builder' -IL_008b: ldloc.1 -IL_008c: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetResult(!0) -IL_0091: ret -} -.method private hidebysig newslot virtual final -instance void SetStateMachine(class [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed -{ -.override [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine -.maxstack 8 -IL_0000: ldarg.0 -IL_0001: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__3'::'<>t__builder' -IL_0006: ldarg.1 -IL_0007: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetStateMachine(class [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine) -IL_000c: ret -} -} -.class auto ansi sealed nested private beforefieldinit 'd__4' -extends [System.Runtime]System.ValueType -implements [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine -{ -.interfaceimpl type [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field public int32 '<>1__state' -.field public valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 '<>t__builder' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field private valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter '<>u__1' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.method private hidebysig newslot virtual final -instance void MoveNext() cil managed -{ -.override [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext -.maxstack 3 -.locals init (int32 V_0, -int32 V_1, -valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter V_2, -valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1 V_3, -class [System.Runtime]System.Exception V_4) -IL_0000: ldarg.0 -IL_0001: ldfld int32 Example/'d__4'::'<>1__state' -IL_0006: stloc.0 -.try -{ -IL_0007: ldloc.0 -IL_0008: brfalse.s IL_0049 -IL_000a: ldc.i4.s 10 -IL_000c: call class [System.Runtime]System.Threading.Tasks.Task`1 [System.Runtime]System.Threading.Tasks.Task::FromResult(!!0) -IL_0011: ldc.i4.0 -IL_0012: callvirt instance valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1 class [System.Private.CoreLib]System.Threading.Tasks.Task`1::ConfigureAwait(bool) -IL_0017: stloc.3 -IL_0018: ldloca.s V_3 -IL_001a: call instance valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1::GetAwaiter() -IL_001f: stloc.2 -IL_0020: ldloca.s V_2 -IL_0022: call instance bool valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter::get_IsCompleted() -IL_0027: brtrue.s IL_0065 -IL_0029: ldarg.0 -IL_002a: ldc.i4.0 -IL_002b: dup -IL_002c: stloc.0 -IL_002d: stfld int32 Example/'d__4'::'<>1__state' -IL_0032: ldarg.0 -IL_0033: ldloc.2 -IL_0034: stfld valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter Example/'d__4'::'<>u__1' -IL_0039: ldarg.0 -IL_003a: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__4'::'<>t__builder' -IL_003f: ldloca.s V_2 -IL_0041: ldarg.0 -IL_0042: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::AwaitUnsafeOnCompleted,valuetype Example/'d__4'>(!!0&, -!!1&) -IL_0047: leave.s IL_009c -IL_0049: ldarg.0 -IL_004a: ldfld valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter Example/'d__4'::'<>u__1' -IL_004f: stloc.2 -IL_0050: ldarg.0 -IL_0051: ldflda valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter Example/'d__4'::'<>u__1' -IL_0056: initobj valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter -IL_005c: ldarg.0 -IL_005d: ldc.i4.m1 -IL_005e: dup -IL_005f: stloc.0 -IL_0060: stfld int32 Example/'d__4'::'<>1__state' -IL_0065: ldloca.s V_2 -IL_0067: call instance !0 valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter::GetResult() -IL_006c: stloc.1 -IL_006d: leave.s IL_0088 -} // end .try -catch [System.Runtime]System.Exception -{ -IL_006f: stloc.s V_4 -IL_0071: ldarg.0 -IL_0072: ldc.i4.s -2 -IL_0074: stfld int32 Example/'d__4'::'<>1__state' -IL_0079: ldarg.0 -IL_007a: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__4'::'<>t__builder' -IL_007f: ldloc.s V_4 -IL_0081: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetException(class [System.Runtime]System.Exception) -IL_0086: leave.s IL_009c -} // end handler -IL_0088: ldarg.0 -IL_0089: ldc.i4.s -2 -IL_008b: stfld int32 Example/'d__4'::'<>1__state' -IL_0090: ldarg.0 -IL_0091: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__4'::'<>t__builder' -IL_0096: ldloc.1 -IL_0097: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetResult(!0) -IL_009c: ret -} -.method private hidebysig newslot virtual final -instance void SetStateMachine(class [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed -{ -.override [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine -.maxstack 8 -IL_0000: ldarg.0 -IL_0001: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__4'::'<>t__builder' -IL_0006: ldarg.1 -IL_0007: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetStateMachine(class [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine) -IL_000c: ret -} -} -.class auto ansi sealed nested private beforefieldinit 'd__5' -extends [System.Runtime]System.ValueType -implements [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine -{ -.interfaceimpl type [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field public int32 '<>1__state' -.field public valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 '<>t__builder' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field private valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter '<>u__1' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.method private hidebysig newslot virtual final -instance void MoveNext() cil managed -{ -.override [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext -.maxstack 3 -.locals init (int32 V_0, -int32 V_1, -valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter V_2, -valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1 V_3, -class [System.Runtime]System.Exception V_4) -IL_0000: ldarg.0 -IL_0001: ldfld int32 Example/'d__5'::'<>1__state' -IL_0006: stloc.0 -.try -{ -IL_0007: ldloc.0 -IL_0008: brfalse.s IL_0049 -IL_000a: ldc.i4.s 10 -IL_000c: call class [System.Runtime]System.Threading.Tasks.Task`1 [System.Runtime]System.Threading.Tasks.Task::FromResult(!!0) -IL_0011: ldc.i4.0 -IL_0012: callvirt instance valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1 class [System.Runtime]System.Threading.Tasks.Task`1::ConfigureAwait(bool) -IL_0017: stloc.3 -IL_0018: ldloca.s V_3 -IL_001a: call instance valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1::GetAwaiter() -IL_001f: stloc.2 -IL_0020: ldloca.s V_2 -IL_0022: call instance bool valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter::get_IsCompleted() -IL_0027: brtrue.s IL_0065 -IL_0029: ldarg.0 -IL_002a: ldc.i4.0 -IL_002b: dup -IL_002c: stloc.0 -IL_002d: stfld int32 Example/'d__5'::'<>1__state' -IL_0032: ldarg.0 -IL_0033: ldloc.2 -IL_0034: stfld valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter Example/'d__5'::'<>u__1' -IL_0039: ldarg.0 -IL_003a: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__5'::'<>t__builder' -IL_003f: ldloca.s V_2 -IL_0041: ldarg.0 -IL_0042: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::AwaitUnsafeOnCompleted,valuetype Example/'d__5'>(!!0&, -!!1&) -IL_0047: leave.s IL_009c -IL_0049: ldarg.0 -IL_004a: ldfld valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter Example/'d__5'::'<>u__1' -IL_004f: stloc.2 -IL_0050: ldarg.0 -IL_0051: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter Example/'d__5'::'<>u__1' -IL_0056: initobj valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter -IL_005c: ldarg.0 -IL_005d: ldc.i4.m1 -IL_005e: dup -IL_005f: stloc.0 -IL_0060: stfld int32 Example/'d__5'::'<>1__state' -IL_0065: ldloca.s V_2 -IL_0067: call instance !0 valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter::GetResult() -IL_006c: stloc.1 -IL_006d: leave.s IL_0088 -} // end .try -catch [System.Runtime]System.Exception -{ -IL_006f: stloc.s V_4 -IL_0071: ldarg.0 -IL_0072: ldc.i4.s -2 -IL_0074: stfld int32 Example/'d__5'::'<>1__state' -IL_0079: ldarg.0 -IL_007a: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__5'::'<>t__builder' -IL_007f: ldloc.s V_4 -IL_0081: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetException(class [System.Runtime]System.Exception) -IL_0086: leave.s IL_009c -} // end handler -IL_0088: ldarg.0 -IL_0089: ldc.i4.s -2 -IL_008b: stfld int32 Example/'d__5'::'<>1__state' -IL_0090: ldarg.0 -IL_0091: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__5'::'<>t__builder' -IL_0096: ldloc.1 -IL_0097: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetResult(!0) -IL_009c: ret -} -.method private hidebysig newslot virtual final -instance void SetStateMachine(class [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed -{ -.override [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine -.maxstack 8 -IL_0000: ldarg.0 -IL_0001: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__5'::'<>t__builder' -IL_0006: ldarg.1 -IL_0007: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetStateMachine(class [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine) -IL_000c: ret -} -} -.class auto ansi sealed nested private beforefieldinit 'd__6' -extends [System.Runtime]System.ValueType -implements [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine -{ -.interfaceimpl type [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field public int32 '<>1__state' -.field public valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 '<>t__builder' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field private int32 '5__2' -.field private int32 '5__3' -.field private valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter`1 '<>u__1' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field private int32 '5__4' -.field private valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter '<>u__2' -.field private int32 '<>7__wrap4' -.method private hidebysig newslot virtual final -instance void MoveNext() cil managed -{ -.override [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext -.maxstack 3 -.locals init (int32 V_0, -int32 V_1, -int32 V_2, -valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter`1 V_3, -valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter V_4, -class [System.Runtime]System.Exception V_5) -IL_0000: ldarg.0 -IL_0001: ldfld int32 Example/'d__6'::'<>1__state' -IL_0006: stloc.0 -.try -{ -IL_0007: ldloc.0 -IL_0008: switch ( -IL_0052, -IL_00ca, -IL_0137) -IL_0019: ldc.i4.s 10 -IL_001b: call class [System.Runtime]System.Threading.Tasks.Task`1 [System.Runtime]System.Threading.Tasks.Task::FromResult(!!0) -IL_0020: callvirt instance valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter`1 class [System.Runtime]System.Threading.Tasks.Task`1::GetAwaiter() -IL_0025: stloc.3 -IL_0026: ldloca.s V_3 -IL_0028: call instance bool valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter`1::get_IsCompleted() -IL_002d: brtrue.s IL_006e -IL_002f: ldarg.0 -IL_0030: ldc.i4.0 -IL_0031: dup -IL_0032: stloc.0 -IL_0033: stfld int32 Example/'d__6'::'<>1__state' -IL_0038: ldarg.0 -IL_0039: ldloc.3 -IL_003a: stfld valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter`1 Example/'d__6'::'<>u__1' -IL_003f: ldarg.0 -IL_0040: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__6'::'<>t__builder' -IL_0045: ldloca.s V_3 -IL_0047: ldarg.0 -IL_0048: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::AwaitUnsafeOnCompleted,valuetype Example/'d__6'>(!!0&, -!!1&) -IL_004d: leave IL_01c0 -IL_0052: ldarg.0 -IL_0053: ldfld valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter`1 Example/'d__6'::'<>u__1' -IL_0058: stloc.3 -IL_0059: ldarg.0 -IL_005a: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter`1 Example/'d__6'::'<>u__1' -IL_005f: initobj valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter`1 -IL_0065: ldarg.0 -IL_0066: ldc.i4.m1 -IL_0067: dup -IL_0068: stloc.0 -IL_0069: stfld int32 Example/'d__6'::'<>1__state' -IL_006e: ldloca.s V_3 -IL_0070: call instance !0 valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter`1::GetResult() -IL_0075: stloc.2 -IL_0076: ldarg.0 -IL_0077: ldloc.2 -IL_0078: stfld int32 Example/'d__6'::'5__2' -IL_007d: ldarg.0 -IL_007e: ldc.i4.0 -IL_007f: stfld int32 Example/'d__6'::'5__3' -IL_0084: ldarg.0 -IL_0085: ldc.i4.0 -IL_0086: stfld int32 Example/'d__6'::'5__4' -IL_008b: br IL_0179 -IL_0090: ldc.i4.1 -IL_0091: call class [System.Runtime]System.Threading.Tasks.Task [System.Runtime]System.Threading.Tasks.Task::Delay(int32) -IL_0096: callvirt instance valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter [System.Runtime]System.Threading.Tasks.Task::GetAwaiter() -IL_009b: stloc.s V_4 -IL_009d: ldloca.s V_4 -IL_009f: call instance bool [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter::get_IsCompleted() -IL_00a4: brtrue.s IL_00e7 -IL_00a6: ldarg.0 -IL_00a7: ldc.i4.1 -IL_00a8: dup -IL_00a9: stloc.0 -IL_00aa: stfld int32 Example/'d__6'::'<>1__state' -IL_00af: ldarg.0 -IL_00b0: ldloc.s V_4 -IL_00b2: stfld valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter Example/'d__6'::'<>u__2' -IL_00b7: ldarg.0 -IL_00b8: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__6'::'<>t__builder' -IL_00bd: ldloca.s V_4 -IL_00bf: ldarg.0 -IL_00c0: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::AwaitUnsafeOnCompletedd__6'>(!!0&, -!!1&) -IL_00c5: leave IL_01c0 -IL_00ca: ldarg.0 -IL_00cb: ldfld valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter Example/'d__6'::'<>u__2' -IL_00d0: stloc.s V_4 -IL_00d2: ldarg.0 -IL_00d3: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter Example/'d__6'::'<>u__2' -IL_00d8: initobj [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter -IL_00de: ldarg.0 -IL_00df: ldc.i4.m1 -IL_00e0: dup -IL_00e1: stloc.0 -IL_00e2: stfld int32 Example/'d__6'::'<>1__state' -IL_00e7: ldloca.s V_4 -IL_00e9: call instance void [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter::GetResult() -IL_00ee: ldarg.0 -IL_00ef: ldarg.0 -IL_00f0: ldfld int32 Example/'d__6'::'5__3' -IL_00f5: stfld int32 Example/'d__6'::'<>7__wrap4' -IL_00fa: ldarg.0 -IL_00fb: ldfld int32 Example/'d__6'::'5__4' -IL_0100: call class [System.Runtime]System.Threading.Tasks.Task`1 [System.Runtime]System.Threading.Tasks.Task::FromResult(!!0) -IL_0105: callvirt instance valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter`1 class [System.Runtime]System.Threading.Tasks.Task`1::GetAwaiter() -IL_010a: stloc.3 -IL_010b: ldloca.s V_3 -IL_010d: call instance bool valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter`1::get_IsCompleted() -IL_0112: brtrue.s IL_0153 -IL_0114: ldarg.0 -IL_0115: ldc.i4.2 -IL_0116: dup -IL_0117: stloc.0 -IL_0118: stfld int32 Example/'d__6'::'<>1__state' -IL_011d: ldarg.0 -IL_011e: ldloc.3 -IL_011f: stfld valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter`1 Example/'d__6'::'<>u__1' -IL_0124: ldarg.0 -IL_0125: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__6'::'<>t__builder' -IL_012a: ldloca.s V_3 -IL_012c: ldarg.0 -IL_012d: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::AwaitUnsafeOnCompleted,valuetype Example/'d__6'>(!!0&, -!!1&) -IL_0132: leave IL_01c0 -IL_0137: ldarg.0 -IL_0138: ldfld valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter`1 Example/'d__6'::'<>u__1' -IL_013d: stloc.3 -IL_013e: ldarg.0 -IL_013f: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter`1 Example/'d__6'::'<>u__1' -IL_0144: initobj valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter`1 -IL_014a: ldarg.0 -IL_014b: ldc.i4.m1 -IL_014c: dup -IL_014d: stloc.0 -IL_014e: stfld int32 Example/'d__6'::'<>1__state' -IL_0153: ldloca.s V_3 -IL_0155: call instance !0 valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter`1::GetResult() -IL_015a: stloc.2 -IL_015b: ldarg.0 -IL_015c: ldarg.0 -IL_015d: ldfld int32 Example/'d__6'::'<>7__wrap4' -IL_0162: ldloc.2 -IL_0163: add -IL_0164: stfld int32 Example/'d__6'::'5__3' -IL_0169: ldarg.0 -IL_016a: ldfld int32 Example/'d__6'::'5__4' -IL_016f: stloc.2 -IL_0170: ldarg.0 -IL_0171: ldloc.2 -IL_0172: ldc.i4.1 -IL_0173: add -IL_0174: stfld int32 Example/'d__6'::'5__4' -IL_0179: ldarg.0 -IL_017a: ldfld int32 Example/'d__6'::'5__4' -IL_017f: ldarg.0 -IL_0180: ldfld int32 Example/'d__6'::'5__2' -IL_0185: blt IL_0090 -IL_018a: ldarg.0 -IL_018b: ldfld int32 Example/'d__6'::'5__3' -IL_0190: stloc.1 -IL_0191: leave.s IL_01ac -} // end .try -catch [System.Runtime]System.Exception -{ -IL_0193: stloc.s V_5 -IL_0195: ldarg.0 -IL_0196: ldc.i4.s -2 -IL_0198: stfld int32 Example/'d__6'::'<>1__state' -IL_019d: ldarg.0 -IL_019e: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__6'::'<>t__builder' -IL_01a3: ldloc.s V_5 -IL_01a5: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetException(class [System.Runtime]System.Exception) -IL_01aa: leave.s IL_01c0 -} // end handler -IL_01ac: ldarg.0 -IL_01ad: ldc.i4.s -2 -IL_01af: stfld int32 Example/'d__6'::'<>1__state' -IL_01b4: ldarg.0 -IL_01b5: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__6'::'<>t__builder' -IL_01ba: ldloc.1 -IL_01bb: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetResult(!0) -IL_01c0: ret -} -.method private hidebysig newslot virtual final -instance void SetStateMachine(class [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed -{ -.override [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine -.maxstack 8 -IL_0000: ldarg.0 -IL_0001: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__6'::'<>t__builder' -IL_0006: ldarg.1 -IL_0007: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetStateMachine(class [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine) -IL_000c: ret -} -} -.class auto ansi sealed nested private beforefieldinit 'd__7' -extends [System.Runtime]System.ValueType -implements [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine -{ -.interfaceimpl type [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field public int32 '<>1__state' -.field public valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 '<>t__builder' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field private int32 '5__2' -.field private int32 '5__3' -.field private valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter '<>u__1' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field private int32 '5__4' -.field private valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter '<>u__2' -.field private int32 '<>7__wrap4' -.method private hidebysig newslot virtual final -instance void MoveNext() cil managed -{ -.override [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext -.maxstack 3 -.locals init (int32 V_0, -int32 V_1, -int32 V_2, -valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter V_3, -valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1 V_4, -valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable V_5, -valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter V_6, -class [System.Runtime]System.Exception V_7) -IL_0000: ldarg.0 -IL_0001: ldfld int32 Example/'d__7'::'<>1__state' -IL_0006: stloc.0 -.try -{ -IL_0007: ldloc.0 -IL_0008: switch ( -IL_005c, -IL_00de, -IL_0155) -IL_0019: ldc.i4.s 10 -IL_001b: call class [System.Runtime]System.Threading.Tasks.Task`1 [System.Runtime]System.Threading.Tasks.Task::FromResult(!!0) -IL_0020: ldc.i4.0 -IL_0021: callvirt instance valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1 class [System.Private.CoreLib]System.Threading.Tasks.Task`1::ConfigureAwait(bool) -IL_0026: stloc.s V_4 -IL_0028: ldloca.s V_4 -IL_002a: call instance valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1::GetAwaiter() -IL_002f: stloc.3 -IL_0030: ldloca.s V_3 -IL_0032: call instance bool valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter::get_IsCompleted() -IL_0037: brtrue.s IL_0078 -IL_0039: ldarg.0 -IL_003a: ldc.i4.0 -IL_003b: dup -IL_003c: stloc.0 -IL_003d: stfld int32 Example/'d__7'::'<>1__state' -IL_0042: ldarg.0 -IL_0043: ldloc.3 -IL_0044: stfld valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter Example/'d__7'::'<>u__1' -IL_0049: ldarg.0 -IL_004a: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__7'::'<>t__builder' -IL_004f: ldloca.s V_3 -IL_0051: ldarg.0 -IL_0052: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::AwaitUnsafeOnCompleted,valuetype Example/'d__7'>(!!0&, -!!1&) -IL_0057: leave IL_01de -IL_005c: ldarg.0 -IL_005d: ldfld valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter Example/'d__7'::'<>u__1' -IL_0062: stloc.3 -IL_0063: ldarg.0 -IL_0064: ldflda valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter Example/'d__7'::'<>u__1' -IL_0069: initobj valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter -IL_006f: ldarg.0 -IL_0070: ldc.i4.m1 -IL_0071: dup -IL_0072: stloc.0 -IL_0073: stfld int32 Example/'d__7'::'<>1__state' -IL_0078: ldloca.s V_3 -IL_007a: call instance !0 valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter::GetResult() -IL_007f: stloc.2 -IL_0080: ldarg.0 -IL_0081: ldloc.2 -IL_0082: stfld int32 Example/'d__7'::'5__2' -IL_0087: ldarg.0 -IL_0088: ldc.i4.0 -IL_0089: stfld int32 Example/'d__7'::'5__3' -IL_008e: ldarg.0 -IL_008f: ldc.i4.0 -IL_0090: stfld int32 Example/'d__7'::'5__4' -IL_0095: br IL_0197 -IL_009a: ldc.i4.1 -IL_009b: call class [System.Runtime]System.Threading.Tasks.Task [System.Runtime]System.Threading.Tasks.Task::Delay(int32) -IL_00a0: ldc.i4.0 -IL_00a1: callvirt instance valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable [System.Private.CoreLib]System.Threading.Tasks.Task::ConfigureAwait(bool) -IL_00a6: stloc.s V_5 -IL_00a8: ldloca.s V_5 -IL_00aa: call instance valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable::GetAwaiter() -IL_00af: stloc.s V_6 -IL_00b1: ldloca.s V_6 -IL_00b3: call instance bool [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter::get_IsCompleted() -IL_00b8: brtrue.s IL_00fb -IL_00ba: ldarg.0 -IL_00bb: ldc.i4.1 -IL_00bc: dup -IL_00bd: stloc.0 -IL_00be: stfld int32 Example/'d__7'::'<>1__state' -IL_00c3: ldarg.0 -IL_00c4: ldloc.s V_6 -IL_00c6: stfld valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter Example/'d__7'::'<>u__2' -IL_00cb: ldarg.0 -IL_00cc: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__7'::'<>t__builder' -IL_00d1: ldloca.s V_6 -IL_00d3: ldarg.0 -IL_00d4: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::AwaitUnsafeOnCompletedd__7'>(!!0&, -!!1&) -IL_00d9: leave IL_01de -IL_00de: ldarg.0 -IL_00df: ldfld valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter Example/'d__7'::'<>u__2' -IL_00e4: stloc.s V_6 -IL_00e6: ldarg.0 -IL_00e7: ldflda valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter Example/'d__7'::'<>u__2' -IL_00ec: initobj [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter -IL_00f2: ldarg.0 -IL_00f3: ldc.i4.m1 -IL_00f4: dup -IL_00f5: stloc.0 -IL_00f6: stfld int32 Example/'d__7'::'<>1__state' -IL_00fb: ldloca.s V_6 -IL_00fd: call instance void [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter::GetResult() -IL_0102: ldarg.0 -IL_0103: ldarg.0 -IL_0104: ldfld int32 Example/'d__7'::'5__3' -IL_0109: stfld int32 Example/'d__7'::'<>7__wrap4' -IL_010e: ldarg.0 -IL_010f: ldfld int32 Example/'d__7'::'5__4' -IL_0114: call class [System.Runtime]System.Threading.Tasks.Task`1 [System.Runtime]System.Threading.Tasks.Task::FromResult(!!0) -IL_0119: ldc.i4.0 -IL_011a: callvirt instance valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1 class [System.Private.CoreLib]System.Threading.Tasks.Task`1::ConfigureAwait(bool) -IL_011f: stloc.s V_4 -IL_0121: ldloca.s V_4 -IL_0123: call instance valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1::GetAwaiter() -IL_0128: stloc.3 -IL_0129: ldloca.s V_3 -IL_012b: call instance bool valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter::get_IsCompleted() -IL_0130: brtrue.s IL_0171 -IL_0132: ldarg.0 -IL_0133: ldc.i4.2 -IL_0134: dup -IL_0135: stloc.0 -IL_0136: stfld int32 Example/'d__7'::'<>1__state' -IL_013b: ldarg.0 -IL_013c: ldloc.3 -IL_013d: stfld valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter Example/'d__7'::'<>u__1' -IL_0142: ldarg.0 -IL_0143: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__7'::'<>t__builder' -IL_0148: ldloca.s V_3 -IL_014a: ldarg.0 -IL_014b: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::AwaitUnsafeOnCompleted,valuetype Example/'d__7'>(!!0&, -!!1&) -IL_0150: leave IL_01de -IL_0155: ldarg.0 -IL_0156: ldfld valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter Example/'d__7'::'<>u__1' -IL_015b: stloc.3 -IL_015c: ldarg.0 -IL_015d: ldflda valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter Example/'d__7'::'<>u__1' -IL_0162: initobj valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter -IL_0168: ldarg.0 -IL_0169: ldc.i4.m1 -IL_016a: dup -IL_016b: stloc.0 -IL_016c: stfld int32 Example/'d__7'::'<>1__state' -IL_0171: ldloca.s V_3 -IL_0173: call instance !0 valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter::GetResult() -IL_0178: stloc.2 -IL_0179: ldarg.0 -IL_017a: ldarg.0 -IL_017b: ldfld int32 Example/'d__7'::'<>7__wrap4' -IL_0180: ldloc.2 -IL_0181: add -IL_0182: stfld int32 Example/'d__7'::'5__3' -IL_0187: ldarg.0 -IL_0188: ldfld int32 Example/'d__7'::'5__4' -IL_018d: stloc.2 -IL_018e: ldarg.0 -IL_018f: ldloc.2 -IL_0190: ldc.i4.1 -IL_0191: add -IL_0192: stfld int32 Example/'d__7'::'5__4' -IL_0197: ldarg.0 -IL_0198: ldfld int32 Example/'d__7'::'5__4' -IL_019d: ldarg.0 -IL_019e: ldfld int32 Example/'d__7'::'5__2' -IL_01a3: blt IL_009a -IL_01a8: ldarg.0 -IL_01a9: ldfld int32 Example/'d__7'::'5__3' -IL_01ae: stloc.1 -IL_01af: leave.s IL_01ca -} // end .try -catch [System.Runtime]System.Exception -{ -IL_01b1: stloc.s V_7 -IL_01b3: ldarg.0 -IL_01b4: ldc.i4.s -2 -IL_01b6: stfld int32 Example/'d__7'::'<>1__state' -IL_01bb: ldarg.0 -IL_01bc: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__7'::'<>t__builder' -IL_01c1: ldloc.s V_7 -IL_01c3: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetException(class [System.Runtime]System.Exception) -IL_01c8: leave.s IL_01de -} // end handler -IL_01ca: ldarg.0 -IL_01cb: ldc.i4.s -2 -IL_01cd: stfld int32 Example/'d__7'::'<>1__state' -IL_01d2: ldarg.0 -IL_01d3: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__7'::'<>t__builder' -IL_01d8: ldloc.1 -IL_01d9: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetResult(!0) -IL_01de: ret -} -.method private hidebysig newslot virtual final -instance void SetStateMachine(class [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed -{ -.override [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine -.maxstack 8 -IL_0000: ldarg.0 -IL_0001: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__7'::'<>t__builder' -IL_0006: ldarg.1 -IL_0007: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetStateMachine(class [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine) -IL_000c: ret -} -} -.class auto ansi sealed nested private beforefieldinit 'd__8' -extends [System.Runtime]System.ValueType -implements [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine -{ -.interfaceimpl type [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field public int32 '<>1__state' -.field public valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 '<>t__builder' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field private int32 '5__2' -.field private int32 '5__3' -.field private valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter '<>u__1' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field private int32 '5__4' -.field private valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter '<>u__2' -.field private int32 '<>7__wrap4' -.method private hidebysig newslot virtual final -instance void MoveNext() cil managed -{ -.override [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext -.maxstack 3 -.locals init (int32 V_0, -int32 V_1, -int32 V_2, -valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter V_3, -valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1 V_4, -valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter V_5, -valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable V_6, -class [System.Runtime]System.Exception V_7) -IL_0000: ldarg.0 -IL_0001: ldfld int32 Example/'d__8'::'<>1__state' -IL_0006: stloc.0 -.try -{ -IL_0007: ldloc.0 -IL_0008: switch ( -IL_005c, -IL_00de, -IL_0155) -IL_0019: ldc.i4.s 10 -IL_001b: call class [System.Runtime]System.Threading.Tasks.Task`1 [System.Runtime]System.Threading.Tasks.Task::FromResult(!!0) -IL_0020: ldc.i4.0 -IL_0021: callvirt instance valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1 class [System.Runtime]System.Threading.Tasks.Task`1::ConfigureAwait(bool) -IL_0026: stloc.s V_4 -IL_0028: ldloca.s V_4 -IL_002a: call instance valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1::GetAwaiter() -IL_002f: stloc.3 -IL_0030: ldloca.s V_3 -IL_0032: call instance bool valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter::get_IsCompleted() -IL_0037: brtrue.s IL_0078 -IL_0039: ldarg.0 -IL_003a: ldc.i4.0 -IL_003b: dup -IL_003c: stloc.0 -IL_003d: stfld int32 Example/'d__8'::'<>1__state' -IL_0042: ldarg.0 -IL_0043: ldloc.3 -IL_0044: stfld valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter Example/'d__8'::'<>u__1' -IL_0049: ldarg.0 -IL_004a: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__8'::'<>t__builder' -IL_004f: ldloca.s V_3 -IL_0051: ldarg.0 -IL_0052: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::AwaitUnsafeOnCompleted,valuetype Example/'d__8'>(!!0&, -!!1&) -IL_0057: leave IL_01de -IL_005c: ldarg.0 -IL_005d: ldfld valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter Example/'d__8'::'<>u__1' -IL_0062: stloc.3 -IL_0063: ldarg.0 -IL_0064: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter Example/'d__8'::'<>u__1' -IL_0069: initobj valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter -IL_006f: ldarg.0 -IL_0070: ldc.i4.m1 -IL_0071: dup -IL_0072: stloc.0 -IL_0073: stfld int32 Example/'d__8'::'<>1__state' -IL_0078: ldloca.s V_3 -IL_007a: call instance !0 valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter::GetResult() -IL_007f: stloc.2 -IL_0080: ldarg.0 -IL_0081: ldloc.2 -IL_0082: stfld int32 Example/'d__8'::'5__2' -IL_0087: ldarg.0 -IL_0088: ldc.i4.0 -IL_0089: stfld int32 Example/'d__8'::'5__3' -IL_008e: ldarg.0 -IL_008f: ldc.i4.0 -IL_0090: stfld int32 Example/'d__8'::'5__4' -IL_0095: br IL_0197 -IL_009a: ldc.i4.1 -IL_009b: call class [System.Runtime]System.Threading.Tasks.Task [System.Runtime]System.Threading.Tasks.Task::Delay(int32) -IL_00a0: ldc.i4.0 -IL_00a1: callvirt instance valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable [System.Runtime]System.Threading.Tasks.Task::ConfigureAwait(bool) -IL_00a6: stloc.s V_6 -IL_00a8: ldloca.s V_6 -IL_00aa: call instance valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable::GetAwaiter() -IL_00af: stloc.s V_5 -IL_00b1: ldloca.s V_5 -IL_00b3: call instance bool [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter::get_IsCompleted() -IL_00b8: brtrue.s IL_00fb -IL_00ba: ldarg.0 -IL_00bb: ldc.i4.1 -IL_00bc: dup -IL_00bd: stloc.0 -IL_00be: stfld int32 Example/'d__8'::'<>1__state' -IL_00c3: ldarg.0 -IL_00c4: ldloc.s V_5 -IL_00c6: stfld valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter Example/'d__8'::'<>u__2' -IL_00cb: ldarg.0 -IL_00cc: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__8'::'<>t__builder' -IL_00d1: ldloca.s V_5 -IL_00d3: ldarg.0 -IL_00d4: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::AwaitUnsafeOnCompletedd__8'>(!!0&, -!!1&) -IL_00d9: leave IL_01de -IL_00de: ldarg.0 -IL_00df: ldfld valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter Example/'d__8'::'<>u__2' -IL_00e4: stloc.s V_5 -IL_00e6: ldarg.0 -IL_00e7: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter Example/'d__8'::'<>u__2' -IL_00ec: initobj [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter -IL_00f2: ldarg.0 -IL_00f3: ldc.i4.m1 -IL_00f4: dup -IL_00f5: stloc.0 -IL_00f6: stfld int32 Example/'d__8'::'<>1__state' -IL_00fb: ldloca.s V_5 -IL_00fd: call instance void [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter::GetResult() -IL_0102: ldarg.0 -IL_0103: ldarg.0 -IL_0104: ldfld int32 Example/'d__8'::'5__3' -IL_0109: stfld int32 Example/'d__8'::'<>7__wrap4' -IL_010e: ldarg.0 -IL_010f: ldfld int32 Example/'d__8'::'5__4' -IL_0114: call class [System.Runtime]System.Threading.Tasks.Task`1 [System.Runtime]System.Threading.Tasks.Task::FromResult(!!0) -IL_0119: ldc.i4.0 -IL_011a: callvirt instance valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1 class [System.Runtime]System.Threading.Tasks.Task`1::ConfigureAwait(bool) -IL_011f: stloc.s V_4 -IL_0121: ldloca.s V_4 -IL_0123: call instance valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1::GetAwaiter() -IL_0128: stloc.3 -IL_0129: ldloca.s V_3 -IL_012b: call instance bool valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter::get_IsCompleted() -IL_0130: brtrue.s IL_0171 -IL_0132: ldarg.0 -IL_0133: ldc.i4.2 -IL_0134: dup -IL_0135: stloc.0 -IL_0136: stfld int32 Example/'d__8'::'<>1__state' -IL_013b: ldarg.0 -IL_013c: ldloc.3 -IL_013d: stfld valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter Example/'d__8'::'<>u__1' -IL_0142: ldarg.0 -IL_0143: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__8'::'<>t__builder' -IL_0148: ldloca.s V_3 -IL_014a: ldarg.0 -IL_014b: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::AwaitUnsafeOnCompleted,valuetype Example/'d__8'>(!!0&, -!!1&) -IL_0150: leave IL_01de -IL_0155: ldarg.0 -IL_0156: ldfld valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter Example/'d__8'::'<>u__1' -IL_015b: stloc.3 -IL_015c: ldarg.0 -IL_015d: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter Example/'d__8'::'<>u__1' -IL_0162: initobj valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter -IL_0168: ldarg.0 -IL_0169: ldc.i4.m1 -IL_016a: dup -IL_016b: stloc.0 -IL_016c: stfld int32 Example/'d__8'::'<>1__state' -IL_0171: ldloca.s V_3 -IL_0173: call instance !0 valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter::GetResult() -IL_0178: stloc.2 -IL_0179: ldarg.0 -IL_017a: ldarg.0 -IL_017b: ldfld int32 Example/'d__8'::'<>7__wrap4' -IL_0180: ldloc.2 -IL_0181: add -IL_0182: stfld int32 Example/'d__8'::'5__3' -IL_0187: ldarg.0 -IL_0188: ldfld int32 Example/'d__8'::'5__4' -IL_018d: stloc.2 -IL_018e: ldarg.0 -IL_018f: ldloc.2 -IL_0190: ldc.i4.1 -IL_0191: add -IL_0192: stfld int32 Example/'d__8'::'5__4' -IL_0197: ldarg.0 -IL_0198: ldfld int32 Example/'d__8'::'5__4' -IL_019d: ldarg.0 -IL_019e: ldfld int32 Example/'d__8'::'5__2' -IL_01a3: blt IL_009a -IL_01a8: ldarg.0 -IL_01a9: ldfld int32 Example/'d__8'::'5__3' -IL_01ae: stloc.1 -IL_01af: leave.s IL_01ca -} // end .try -catch [System.Runtime]System.Exception -{ -IL_01b1: stloc.s V_7 -IL_01b3: ldarg.0 -IL_01b4: ldc.i4.s -2 -IL_01b6: stfld int32 Example/'d__8'::'<>1__state' -IL_01bb: ldarg.0 -IL_01bc: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__8'::'<>t__builder' -IL_01c1: ldloc.s V_7 -IL_01c3: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetException(class [System.Runtime]System.Exception) -IL_01c8: leave.s IL_01de -} // end handler -IL_01ca: ldarg.0 -IL_01cb: ldc.i4.s -2 -IL_01cd: stfld int32 Example/'d__8'::'<>1__state' -IL_01d2: ldarg.0 -IL_01d3: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__8'::'<>t__builder' -IL_01d8: ldloc.1 -IL_01d9: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetResult(!0) -IL_01de: ret -} -.method private hidebysig newslot virtual final -instance void SetStateMachine(class [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed -{ -.override [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine -.maxstack 8 -IL_0000: ldarg.0 -IL_0001: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__8'::'<>t__builder' -IL_0006: ldarg.1 -IL_0007: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetStateMachine(class [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine) -IL_000c: ret -} -} -.class auto ansi sealed nested private beforefieldinit 'd__9' -extends [System.Runtime]System.ValueType -implements [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine -{ -.interfaceimpl type [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field public int32 '<>1__state' -.field public valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 '<>t__builder' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field private valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter`1 '<>u__1' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.method private hidebysig newslot virtual final -instance void MoveNext() cil managed -{ -.override [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext -.maxstack 3 -.locals init (int32 V_0, -class Example V_1, -valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter`1 V_2, -class [System.Runtime]System.Exception V_3) -IL_0000: ldarg.0 -IL_0001: ldfld int32 Example/'d__9'::'<>1__state' -IL_0006: stloc.0 -.try -{ -IL_0007: ldloc.0 -IL_0008: brfalse.s IL_0043 -IL_000a: newobj instance void Example::.ctor() -IL_000f: call class [System.Runtime]System.Threading.Tasks.Task`1 [System.Runtime]System.Threading.Tasks.Task::FromResult(!!0) -IL_0014: callvirt instance valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter`1 class [System.Runtime]System.Threading.Tasks.Task`1::GetAwaiter() -IL_0019: stloc.2 -IL_001a: ldloca.s V_2 -IL_001c: call instance bool valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter`1::get_IsCompleted() -IL_0021: brtrue.s IL_005f -IL_0023: ldarg.0 -IL_0024: ldc.i4.0 -IL_0025: dup -IL_0026: stloc.0 -IL_0027: stfld int32 Example/'d__9'::'<>1__state' -IL_002c: ldarg.0 -IL_002d: ldloc.2 -IL_002e: stfld valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter`1 Example/'d__9'::'<>u__1' -IL_0033: ldarg.0 -IL_0034: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__9'::'<>t__builder' -IL_0039: ldloca.s V_2 -IL_003b: ldarg.0 -IL_003c: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::AwaitUnsafeOnCompleted,valuetype Example/'d__9'>(!!0&, -!!1&) -IL_0041: leave.s IL_0094 -IL_0043: ldarg.0 -IL_0044: ldfld valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter`1 Example/'d__9'::'<>u__1' -IL_0049: stloc.2 -IL_004a: ldarg.0 -IL_004b: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter`1 Example/'d__9'::'<>u__1' -IL_0050: initobj valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter`1 -IL_0056: ldarg.0 -IL_0057: ldc.i4.m1 -IL_0058: dup -IL_0059: stloc.0 -IL_005a: stfld int32 Example/'d__9'::'<>1__state' -IL_005f: ldloca.s V_2 -IL_0061: call instance !0 valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter`1::GetResult() -IL_0066: stloc.1 -IL_0067: leave.s IL_0080 -} // end .try -catch [System.Runtime]System.Exception -{ -IL_0069: stloc.3 -IL_006a: ldarg.0 -IL_006b: ldc.i4.s -2 -IL_006d: stfld int32 Example/'d__9'::'<>1__state' -IL_0072: ldarg.0 -IL_0073: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__9'::'<>t__builder' -IL_0078: ldloc.3 -IL_0079: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetException(class [System.Runtime]System.Exception) -IL_007e: leave.s IL_0094 -} // end handler -IL_0080: ldarg.0 -IL_0081: ldc.i4.s -2 -IL_0083: stfld int32 Example/'d__9'::'<>1__state' -IL_0088: ldarg.0 -IL_0089: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__9'::'<>t__builder' -IL_008e: ldloc.1 -IL_008f: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetResult(!0) -IL_0094: ret -} -.method private hidebysig newslot virtual final -instance void SetStateMachine(class [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed -{ -.override [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine -.maxstack 8 -IL_0000: ldarg.0 -IL_0001: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__9'::'<>t__builder' -IL_0006: ldarg.1 -IL_0007: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetStateMachine(class [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine) -IL_000c: ret -} -} -.class auto ansi sealed nested private beforefieldinit 'd__10' -extends [System.Runtime]System.ValueType -implements [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine -{ -.interfaceimpl type [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field public int32 '<>1__state' -.field public valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 '<>t__builder' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field private valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter '<>u__1' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.method private hidebysig newslot virtual final -instance void MoveNext() cil managed -{ -.override [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext -.maxstack 3 -.locals init (int32 V_0, -class Example V_1, -valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter V_2, -valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1 V_3, -class [System.Runtime]System.Exception V_4) -IL_0000: ldarg.0 -IL_0001: ldfld int32 Example/'d__10'::'<>1__state' -IL_0006: stloc.0 -.try -{ -IL_0007: ldloc.0 -IL_0008: brfalse.s IL_004c -IL_000a: newobj instance void Example::.ctor() -IL_000f: call class [System.Runtime]System.Threading.Tasks.Task`1 [System.Runtime]System.Threading.Tasks.Task::FromResult(!!0) -IL_0014: ldc.i4.0 -IL_0015: callvirt instance valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1 class [System.Private.CoreLib]System.Threading.Tasks.Task`1::ConfigureAwait(bool) -IL_001a: stloc.3 -IL_001b: ldloca.s V_3 -IL_001d: call instance valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1::GetAwaiter() -IL_0022: stloc.2 -IL_0023: ldloca.s V_2 -IL_0025: call instance bool valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter::get_IsCompleted() -IL_002a: brtrue.s IL_0068 -IL_002c: ldarg.0 -IL_002d: ldc.i4.0 -IL_002e: dup -IL_002f: stloc.0 -IL_0030: stfld int32 Example/'d__10'::'<>1__state' -IL_0035: ldarg.0 -IL_0036: ldloc.2 -IL_0037: stfld valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter Example/'d__10'::'<>u__1' -IL_003c: ldarg.0 -IL_003d: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__10'::'<>t__builder' -IL_0042: ldloca.s V_2 -IL_0044: ldarg.0 -IL_0045: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::AwaitUnsafeOnCompleted,valuetype Example/'d__10'>(!!0&, -!!1&) -IL_004a: leave.s IL_009f -IL_004c: ldarg.0 -IL_004d: ldfld valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter Example/'d__10'::'<>u__1' -IL_0052: stloc.2 -IL_0053: ldarg.0 -IL_0054: ldflda valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter Example/'d__10'::'<>u__1' -IL_0059: initobj valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter -IL_005f: ldarg.0 -IL_0060: ldc.i4.m1 -IL_0061: dup -IL_0062: stloc.0 -IL_0063: stfld int32 Example/'d__10'::'<>1__state' -IL_0068: ldloca.s V_2 -IL_006a: call instance !0 valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter::GetResult() -IL_006f: stloc.1 -IL_0070: leave.s IL_008b -} // end .try -catch [System.Runtime]System.Exception -{ -IL_0072: stloc.s V_4 -IL_0074: ldarg.0 -IL_0075: ldc.i4.s -2 -IL_0077: stfld int32 Example/'d__10'::'<>1__state' -IL_007c: ldarg.0 -IL_007d: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__10'::'<>t__builder' -IL_0082: ldloc.s V_4 -IL_0084: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetException(class [System.Runtime]System.Exception) -IL_0089: leave.s IL_009f -} // end handler -IL_008b: ldarg.0 -IL_008c: ldc.i4.s -2 -IL_008e: stfld int32 Example/'d__10'::'<>1__state' -IL_0093: ldarg.0 -IL_0094: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__10'::'<>t__builder' -IL_0099: ldloc.1 -IL_009a: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetResult(!0) -IL_009f: ret -} -.method private hidebysig newslot virtual final -instance void SetStateMachine(class [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed -{ -.override [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine -.maxstack 8 -IL_0000: ldarg.0 -IL_0001: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__10'::'<>t__builder' -IL_0006: ldarg.1 -IL_0007: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetStateMachine(class [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine) -IL_000c: ret -} -} -.class auto ansi sealed nested private beforefieldinit 'd__11' -extends [System.Runtime]System.ValueType -implements [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine -{ -.interfaceimpl type [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field public int32 '<>1__state' -.field public valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 '<>t__builder' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field private valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter '<>u__1' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.method private hidebysig newslot virtual final -instance void MoveNext() cil managed -{ -.override [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext -.maxstack 3 -.locals init (int32 V_0, -class Example V_1, -valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter V_2, -valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1 V_3, -class [System.Runtime]System.Exception V_4) -IL_0000: ldarg.0 -IL_0001: ldfld int32 Example/'d__11'::'<>1__state' -IL_0006: stloc.0 -.try -{ -IL_0007: ldloc.0 -IL_0008: brfalse.s IL_004c -IL_000a: newobj instance void Example::.ctor() -IL_000f: call class [System.Runtime]System.Threading.Tasks.Task`1 [System.Runtime]System.Threading.Tasks.Task::FromResult(!!0) -IL_0014: ldc.i4.0 -IL_0015: callvirt instance valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1 class [System.Runtime]System.Threading.Tasks.Task`1::ConfigureAwait(bool) -IL_001a: stloc.3 -IL_001b: ldloca.s V_3 -IL_001d: call instance valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1::GetAwaiter() -IL_0022: stloc.2 -IL_0023: ldloca.s V_2 -IL_0025: call instance bool valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter::get_IsCompleted() -IL_002a: brtrue.s IL_0068 -IL_002c: ldarg.0 -IL_002d: ldc.i4.0 -IL_002e: dup -IL_002f: stloc.0 -IL_0030: stfld int32 Example/'d__11'::'<>1__state' -IL_0035: ldarg.0 -IL_0036: ldloc.2 -IL_0037: stfld valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter Example/'d__11'::'<>u__1' -IL_003c: ldarg.0 -IL_003d: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__11'::'<>t__builder' -IL_0042: ldloca.s V_2 -IL_0044: ldarg.0 -IL_0045: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::AwaitUnsafeOnCompleted,valuetype Example/'d__11'>(!!0&, -!!1&) -IL_004a: leave.s IL_009f -IL_004c: ldarg.0 -IL_004d: ldfld valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter Example/'d__11'::'<>u__1' -IL_0052: stloc.2 -IL_0053: ldarg.0 -IL_0054: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter Example/'d__11'::'<>u__1' -IL_0059: initobj valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter -IL_005f: ldarg.0 -IL_0060: ldc.i4.m1 -IL_0061: dup -IL_0062: stloc.0 -IL_0063: stfld int32 Example/'d__11'::'<>1__state' -IL_0068: ldloca.s V_2 -IL_006a: call instance !0 valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter::GetResult() -IL_006f: stloc.1 -IL_0070: leave.s IL_008b -} // end .try -catch [System.Runtime]System.Exception -{ -IL_0072: stloc.s V_4 -IL_0074: ldarg.0 -IL_0075: ldc.i4.s -2 -IL_0077: stfld int32 Example/'d__11'::'<>1__state' -IL_007c: ldarg.0 -IL_007d: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__11'::'<>t__builder' -IL_0082: ldloc.s V_4 -IL_0084: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetException(class [System.Runtime]System.Exception) -IL_0089: leave.s IL_009f -} // end handler -IL_008b: ldarg.0 -IL_008c: ldc.i4.s -2 -IL_008e: stfld int32 Example/'d__11'::'<>1__state' -IL_0093: ldarg.0 -IL_0094: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__11'::'<>t__builder' -IL_0099: ldloc.1 -IL_009a: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetResult(!0) -IL_009f: ret -} -.method private hidebysig newslot virtual final -instance void SetStateMachine(class [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed -{ -.override [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine -.maxstack 8 -IL_0000: ldarg.0 -IL_0001: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__11'::'<>t__builder' -IL_0006: ldarg.1 -IL_0007: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetStateMachine(class [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine) -IL_000c: ret -} -} -.method public hidebysig instance class [System.Runtime]System.Threading.Tasks.Task -AsyncMethod1() cil managed -{ -63 4D 65 74 68 6F 64 31 3E 64 5F 5F 30 00 00 ) // cMethod1>d__0.. -.maxstack 2 -.locals init (valuetype Example/'d__0' V_0) -IL_0000: ldloca.s V_0 -IL_0002: call valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Create() -IL_0007: stfld valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Example/'d__0'::'<>t__builder' -IL_000c: ldloca.s V_0 -IL_000e: ldc.i4.m1 -IL_000f: stfld int32 Example/'d__0'::'<>1__state' -IL_0014: ldloca.s V_0 -IL_0016: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Example/'d__0'::'<>t__builder' -IL_001b: ldloca.s V_0 -IL_001d: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Startd__0'>(!!0&) -IL_0022: ldloca.s V_0 -IL_0024: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Example/'d__0'::'<>t__builder' -IL_0029: call instance class [System.Runtime]System.Threading.Tasks.Task [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::get_Task() -IL_002e: ret -} -.method public hidebysig instance class [System.Runtime]System.Threading.Tasks.Task -AsyncMethod2() cil managed -{ -63 4D 65 74 68 6F 64 32 3E 64 5F 5F 31 00 00 ) // cMethod2>d__1.. -.maxstack 2 -.locals init (valuetype Example/'d__1' V_0) -IL_0000: ldloca.s V_0 -IL_0002: call valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Create() -IL_0007: stfld valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Example/'d__1'::'<>t__builder' -IL_000c: ldloca.s V_0 -IL_000e: ldc.i4.m1 -IL_000f: stfld int32 Example/'d__1'::'<>1__state' -IL_0014: ldloca.s V_0 -IL_0016: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Example/'d__1'::'<>t__builder' -IL_001b: ldloca.s V_0 -IL_001d: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Startd__1'>(!!0&) -IL_0022: ldloca.s V_0 -IL_0024: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Example/'d__1'::'<>t__builder' -IL_0029: call instance class [System.Runtime]System.Threading.Tasks.Task [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::get_Task() -IL_002e: ret -} -.method public hidebysig instance class [System.Runtime]System.Threading.Tasks.Task -AsyncMethod3() cil managed -{ -63 4D 65 74 68 6F 64 33 3E 64 5F 5F 32 00 00 ) // cMethod3>d__2.. -.maxstack 2 -.locals init (valuetype Example/'d__2' V_0) -IL_0000: ldloca.s V_0 -IL_0002: call valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Create() -IL_0007: stfld valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Example/'d__2'::'<>t__builder' -IL_000c: ldloca.s V_0 -IL_000e: ldc.i4.m1 -IL_000f: stfld int32 Example/'d__2'::'<>1__state' -IL_0014: ldloca.s V_0 -IL_0016: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Example/'d__2'::'<>t__builder' -IL_001b: ldloca.s V_0 -IL_001d: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Startd__2'>(!!0&) -IL_0022: ldloca.s V_0 -IL_0024: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Example/'d__2'::'<>t__builder' -IL_0029: call instance class [System.Runtime]System.Threading.Tasks.Task [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::get_Task() -IL_002e: ret -} -.method public hidebysig instance class [System.Runtime]System.Threading.Tasks.Task`1 -AsyncMethod4() cil managed -{ -63 4D 65 74 68 6F 64 34 3E 64 5F 5F 33 00 00 ) // cMethod4>d__3.. -.maxstack 2 -.locals init (valuetype Example/'d__3' V_0) -IL_0000: ldloca.s V_0 -IL_0002: call valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::Create() -IL_0007: stfld valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__3'::'<>t__builder' -IL_000c: ldloca.s V_0 -IL_000e: ldc.i4.m1 -IL_000f: stfld int32 Example/'d__3'::'<>1__state' -IL_0014: ldloca.s V_0 -IL_0016: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__3'::'<>t__builder' -IL_001b: ldloca.s V_0 -IL_001d: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::Startd__3'>(!!0&) -IL_0022: ldloca.s V_0 -IL_0024: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__3'::'<>t__builder' -IL_0029: call instance class [System.Runtime]System.Threading.Tasks.Task`1 valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::get_Task() -IL_002e: ret -} -.method public hidebysig instance class [System.Runtime]System.Threading.Tasks.Task`1 -AsyncMethod5() cil managed -{ -63 4D 65 74 68 6F 64 35 3E 64 5F 5F 34 00 00 ) // cMethod5>d__4.. -.maxstack 2 -.locals init (valuetype Example/'d__4' V_0) -IL_0000: ldloca.s V_0 -IL_0002: call valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::Create() -IL_0007: stfld valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__4'::'<>t__builder' -IL_000c: ldloca.s V_0 -IL_000e: ldc.i4.m1 -IL_000f: stfld int32 Example/'d__4'::'<>1__state' -IL_0014: ldloca.s V_0 -IL_0016: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__4'::'<>t__builder' -IL_001b: ldloca.s V_0 -IL_001d: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::Startd__4'>(!!0&) -IL_0022: ldloca.s V_0 -IL_0024: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__4'::'<>t__builder' -IL_0029: call instance class [System.Runtime]System.Threading.Tasks.Task`1 valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::get_Task() -IL_002e: ret -} -.method public hidebysig instance class [System.Runtime]System.Threading.Tasks.Task`1 -AsyncMethod6() cil managed -{ -63 4D 65 74 68 6F 64 36 3E 64 5F 5F 35 00 00 ) // cMethod6>d__5.. -.maxstack 2 -.locals init (valuetype Example/'d__5' V_0) -IL_0000: ldloca.s V_0 -IL_0002: call valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::Create() -IL_0007: stfld valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__5'::'<>t__builder' -IL_000c: ldloca.s V_0 -IL_000e: ldc.i4.m1 -IL_000f: stfld int32 Example/'d__5'::'<>1__state' -IL_0014: ldloca.s V_0 -IL_0016: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__5'::'<>t__builder' -IL_001b: ldloca.s V_0 -IL_001d: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::Startd__5'>(!!0&) -IL_0022: ldloca.s V_0 -IL_0024: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__5'::'<>t__builder' -IL_0029: call instance class [System.Runtime]System.Threading.Tasks.Task`1 valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::get_Task() -IL_002e: ret -} -.method public hidebysig instance class [System.Runtime]System.Threading.Tasks.Task`1 -AsyncMethod7() cil managed -{ -63 4D 65 74 68 6F 64 37 3E 64 5F 5F 36 00 00 ) // cMethod7>d__6.. -.maxstack 2 -.locals init (valuetype Example/'d__6' V_0) -IL_0000: ldloca.s V_0 -IL_0002: call valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::Create() -IL_0007: stfld valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__6'::'<>t__builder' -IL_000c: ldloca.s V_0 -IL_000e: ldc.i4.m1 -IL_000f: stfld int32 Example/'d__6'::'<>1__state' -IL_0014: ldloca.s V_0 -IL_0016: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__6'::'<>t__builder' -IL_001b: ldloca.s V_0 -IL_001d: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::Startd__6'>(!!0&) -IL_0022: ldloca.s V_0 -IL_0024: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__6'::'<>t__builder' -IL_0029: call instance class [System.Runtime]System.Threading.Tasks.Task`1 valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::get_Task() -IL_002e: ret -} -.method public hidebysig instance class [System.Runtime]System.Threading.Tasks.Task`1 -AsyncMethod8() cil managed -{ -63 4D 65 74 68 6F 64 38 3E 64 5F 5F 37 00 00 ) // cMethod8>d__7.. -.maxstack 2 -.locals init (valuetype Example/'d__7' V_0) -IL_0000: ldloca.s V_0 -IL_0002: call valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::Create() -IL_0007: stfld valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__7'::'<>t__builder' -IL_000c: ldloca.s V_0 -IL_000e: ldc.i4.m1 -IL_000f: stfld int32 Example/'d__7'::'<>1__state' -IL_0014: ldloca.s V_0 -IL_0016: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__7'::'<>t__builder' -IL_001b: ldloca.s V_0 -IL_001d: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::Startd__7'>(!!0&) -IL_0022: ldloca.s V_0 -IL_0024: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__7'::'<>t__builder' -IL_0029: call instance class [System.Runtime]System.Threading.Tasks.Task`1 valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::get_Task() -IL_002e: ret -} -.method public hidebysig instance class [System.Runtime]System.Threading.Tasks.Task`1 -AsyncMethod9() cil managed -{ -63 4D 65 74 68 6F 64 39 3E 64 5F 5F 38 00 00 ) // cMethod9>d__8.. -.maxstack 2 -.locals init (valuetype Example/'d__8' V_0) -IL_0000: ldloca.s V_0 -IL_0002: call valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::Create() -IL_0007: stfld valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__8'::'<>t__builder' -IL_000c: ldloca.s V_0 -IL_000e: ldc.i4.m1 -IL_000f: stfld int32 Example/'d__8'::'<>1__state' -IL_0014: ldloca.s V_0 -IL_0016: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__8'::'<>t__builder' -IL_001b: ldloca.s V_0 -IL_001d: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::Startd__8'>(!!0&) -IL_0022: ldloca.s V_0 -IL_0024: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__8'::'<>t__builder' -IL_0029: call instance class [System.Runtime]System.Threading.Tasks.Task`1 valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::get_Task() -IL_002e: ret -} -.method public hidebysig instance class [System.Runtime]System.Threading.Tasks.Task`1 -AsyncMethod10() cil managed -{ -63 4D 65 74 68 6F 64 31 30 3E 64 5F 5F 39 00 00 ) // cMethod10>d__9.. -.maxstack 2 -.locals init (valuetype Example/'d__9' V_0) -IL_0000: ldloca.s V_0 -IL_0002: call valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::Create() -IL_0007: stfld valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__9'::'<>t__builder' -IL_000c: ldloca.s V_0 -IL_000e: ldc.i4.m1 -IL_000f: stfld int32 Example/'d__9'::'<>1__state' -IL_0014: ldloca.s V_0 -IL_0016: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__9'::'<>t__builder' -IL_001b: ldloca.s V_0 -IL_001d: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::Startd__9'>(!!0&) -IL_0022: ldloca.s V_0 -IL_0024: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__9'::'<>t__builder' -IL_0029: call instance class [System.Runtime]System.Threading.Tasks.Task`1 valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::get_Task() -IL_002e: ret -} -.method public hidebysig instance class [System.Runtime]System.Threading.Tasks.Task`1 -AsyncMethod11() cil managed -{ -63 4D 65 74 68 6F 64 31 31 3E 64 5F 5F 31 30 00 // cMethod11>d__10. -00 ) -.maxstack 2 -.locals init (valuetype Example/'d__10' V_0) -IL_0000: ldloca.s V_0 -IL_0002: call valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::Create() -IL_0007: stfld valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__10'::'<>t__builder' -IL_000c: ldloca.s V_0 -IL_000e: ldc.i4.m1 -IL_000f: stfld int32 Example/'d__10'::'<>1__state' -IL_0014: ldloca.s V_0 -IL_0016: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__10'::'<>t__builder' -IL_001b: ldloca.s V_0 -IL_001d: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::Startd__10'>(!!0&) -IL_0022: ldloca.s V_0 -IL_0024: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__10'::'<>t__builder' -IL_0029: call instance class [System.Runtime]System.Threading.Tasks.Task`1 valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::get_Task() -IL_002e: ret -} -.method public hidebysig instance class [System.Runtime]System.Threading.Tasks.Task`1 -AsyncMethod12() cil managed -{ -63 4D 65 74 68 6F 64 31 32 3E 64 5F 5F 31 31 00 // cMethod12>d__11. -00 ) -.maxstack 2 -.locals init (valuetype Example/'d__11' V_0) -IL_0000: ldloca.s V_0 -IL_0002: call valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::Create() -IL_0007: stfld valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__11'::'<>t__builder' -IL_000c: ldloca.s V_0 -IL_000e: ldc.i4.m1 -IL_000f: stfld int32 Example/'d__11'::'<>1__state' -IL_0014: ldloca.s V_0 -IL_0016: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__11'::'<>t__builder' -IL_001b: ldloca.s V_0 -IL_001d: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::Startd__11'>(!!0&) -IL_0022: ldloca.s V_0 -IL_0024: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__11'::'<>t__builder' -IL_0029: call instance class [System.Runtime]System.Threading.Tasks.Task`1 valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::get_Task() -IL_002e: ret -} -.method public hidebysig specialname rtspecialname -instance void .ctor() cil managed -{ -.maxstack 8 -IL_0000: ldarg.0 -IL_0001: call instance void [System.Runtime]System.Object::.ctor() -IL_0006: ret -} -} diff --git a/Tests/ModuleWeaverTests.DecompileExample.Net.Debug.verified.txt b/Tests/ModuleWeaverTests.DecompileExample.Net.Debug.verified.txt deleted file mode 100644 index 0e6776e..0000000 --- a/Tests/ModuleWeaverTests.DecompileExample.Net.Debug.verified.txt +++ /dev/null @@ -1,2281 +0,0 @@ -.class public auto ansi beforefieldinit Example -extends [mscorlib]System.Object -{ -.custom instance void System.Runtime.CompilerServices.NullableContextAttribute::.ctor(uint8) = ( 01 00 01 00 00 ) -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.class auto ansi sealed nested private beforefieldinit 'd__9' -extends [mscorlib]System.Object -implements [mscorlib]System.Runtime.CompilerServices.IAsyncStateMachine -{ -.interfaceimpl type [mscorlib]System.Runtime.CompilerServices.IAsyncStateMachine -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field public int32 '<>1__state' -.field public valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 '<>t__builder' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field public class Example '<>4__this' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field private class Example '5__1' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field private class Example '<>s__2' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field private valuetype [mscorlib]System.Runtime.CompilerServices.TaskAwaiter`1 '<>u__1' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.method public hidebysig specialname rtspecialname -instance void .ctor() cil managed -{ -.maxstack 8 -IL_0000: ldarg.0 -IL_0001: call instance void [mscorlib]System.Object::.ctor() -IL_0006: nop -IL_0007: ret -} -.method private hidebysig newslot virtual final -instance void MoveNext() cil managed -{ -.override [mscorlib]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext -.maxstack 3 -.locals init (int32 V_0, -class Example V_1, -valuetype [mscorlib]System.Runtime.CompilerServices.TaskAwaiter`1 V_2, -class Example/'d__9' V_3, -class [mscorlib]System.Exception V_4) -IL_0000: ldarg.0 -IL_0001: ldfld int32 Example/'d__9'::'<>1__state' -IL_0006: stloc.0 -.try -{ -IL_0007: ldloc.0 -IL_0008: brfalse.s IL_000c -IL_000a: br.s IL_000e -IL_000c: br.s IL_004f -IL_000e: nop -IL_000f: newobj instance void Example::.ctor() -IL_0014: call class [mscorlib]System.Threading.Tasks.Task`1 [mscorlib]System.Threading.Tasks.Task::FromResult(!!0) -IL_0019: callvirt instance valuetype [mscorlib]System.Runtime.CompilerServices.TaskAwaiter`1 class [mscorlib]System.Threading.Tasks.Task`1::GetAwaiter() -IL_001e: stloc.2 -IL_001f: ldloca.s V_2 -IL_0021: call instance bool valuetype [mscorlib]System.Runtime.CompilerServices.TaskAwaiter`1::get_IsCompleted() -IL_0026: brtrue.s IL_006b -IL_0028: ldarg.0 -IL_0029: ldc.i4.0 -IL_002a: dup -IL_002b: stloc.0 -IL_002c: stfld int32 Example/'d__9'::'<>1__state' -IL_0031: ldarg.0 -IL_0032: ldloc.2 -IL_0033: stfld valuetype [mscorlib]System.Runtime.CompilerServices.TaskAwaiter`1 Example/'d__9'::'<>u__1' -IL_0038: ldarg.0 -IL_0039: stloc.3 -IL_003a: ldarg.0 -IL_003b: ldflda valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__9'::'<>t__builder' -IL_0040: ldloca.s V_2 -IL_0042: ldloca.s V_3 -IL_0044: call instance void valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::AwaitUnsafeOnCompleted,class Example/'d__9'>(!!0&, -!!1&) -IL_0049: nop -IL_004a: leave IL_00d1 -IL_004f: ldarg.0 -IL_0050: ldfld valuetype [mscorlib]System.Runtime.CompilerServices.TaskAwaiter`1 Example/'d__9'::'<>u__1' -IL_0055: stloc.2 -IL_0056: ldarg.0 -IL_0057: ldflda valuetype [mscorlib]System.Runtime.CompilerServices.TaskAwaiter`1 Example/'d__9'::'<>u__1' -IL_005c: initobj valuetype [mscorlib]System.Runtime.CompilerServices.TaskAwaiter`1 -IL_0062: ldarg.0 -IL_0063: ldc.i4.m1 -IL_0064: dup -IL_0065: stloc.0 -IL_0066: stfld int32 Example/'d__9'::'<>1__state' -IL_006b: ldarg.0 -IL_006c: ldloca.s V_2 -IL_006e: call instance !0 valuetype [mscorlib]System.Runtime.CompilerServices.TaskAwaiter`1::GetResult() -IL_0073: stfld class Example Example/'d__9'::'<>s__2' -IL_0078: ldarg.0 -IL_0079: ldarg.0 -IL_007a: ldfld class Example Example/'d__9'::'<>s__2' -IL_007f: stfld class Example Example/'d__9'::'5__1' -IL_0084: ldarg.0 -IL_0085: ldnull -IL_0086: stfld class Example Example/'d__9'::'<>s__2' -IL_008b: ldarg.0 -IL_008c: ldfld class Example Example/'d__9'::'5__1' -IL_0091: stloc.1 -IL_0092: leave.s IL_00b5 -} // end .try -catch [mscorlib]System.Exception -{ -IL_0094: stloc.s V_4 -IL_0096: ldarg.0 -IL_0097: ldc.i4.s -2 -IL_0099: stfld int32 Example/'d__9'::'<>1__state' -IL_009e: ldarg.0 -IL_009f: ldnull -IL_00a0: stfld class Example Example/'d__9'::'5__1' -IL_00a5: ldarg.0 -IL_00a6: ldflda valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__9'::'<>t__builder' -IL_00ab: ldloc.s V_4 -IL_00ad: call instance void valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetException(class [mscorlib]System.Exception) -IL_00b2: nop -IL_00b3: leave.s IL_00d1 -} // end handler -IL_00b5: ldarg.0 -IL_00b6: ldc.i4.s -2 -IL_00b8: stfld int32 Example/'d__9'::'<>1__state' -IL_00bd: ldarg.0 -IL_00be: ldnull -IL_00bf: stfld class Example Example/'d__9'::'5__1' -IL_00c4: ldarg.0 -IL_00c5: ldflda valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__9'::'<>t__builder' -IL_00ca: ldloc.1 -IL_00cb: call instance void valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetResult(!0) -IL_00d0: nop -IL_00d1: ret -} -.method private hidebysig newslot virtual final -instance void SetStateMachine(class [mscorlib]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed -{ -.param [1] -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.override [mscorlib]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine -.maxstack 8 -IL_0000: ret -} -} -.class auto ansi sealed nested private beforefieldinit 'd__10' -extends [mscorlib]System.Object -implements [mscorlib]System.Runtime.CompilerServices.IAsyncStateMachine -{ -.interfaceimpl type [mscorlib]System.Runtime.CompilerServices.IAsyncStateMachine -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field public int32 '<>1__state' -.field public valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 '<>t__builder' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field public class Example '<>4__this' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field private class Example '5__1' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field private class Example '<>s__2' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field private valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter '<>u__1' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.method public hidebysig specialname rtspecialname -instance void .ctor() cil managed -{ -.maxstack 8 -IL_0000: ldarg.0 -IL_0001: call instance void [mscorlib]System.Object::.ctor() -IL_0006: nop -IL_0007: ret -} -.method private hidebysig newslot virtual final -instance void MoveNext() cil managed -{ -.override [mscorlib]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext -.maxstack 3 -.locals init (int32 V_0, -class Example V_1, -valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter V_2, -valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1 V_3, -class Example/'d__10' V_4, -class [mscorlib]System.Exception V_5) -IL_0000: ldarg.0 -IL_0001: ldfld int32 Example/'d__10'::'<>1__state' -IL_0006: stloc.0 -.try -{ -IL_0007: ldloc.0 -IL_0008: brfalse.s IL_000c -IL_000a: br.s IL_000e -IL_000c: br.s IL_0059 -IL_000e: nop -IL_000f: newobj instance void Example::.ctor() -IL_0014: call class [mscorlib]System.Threading.Tasks.Task`1 [mscorlib]System.Threading.Tasks.Task::FromResult(!!0) -IL_0019: ldc.i4.0 -IL_001a: callvirt instance valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1 class [mscorlib]System.Threading.Tasks.Task`1::ConfigureAwait(bool) -IL_001f: stloc.3 -IL_0020: ldloca.s V_3 -IL_0022: call instance valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1::GetAwaiter() -IL_0027: stloc.2 -IL_0028: ldloca.s V_2 -IL_002a: call instance bool valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter::get_IsCompleted() -IL_002f: brtrue.s IL_0075 -IL_0031: ldarg.0 -IL_0032: ldc.i4.0 -IL_0033: dup -IL_0034: stloc.0 -IL_0035: stfld int32 Example/'d__10'::'<>1__state' -IL_003a: ldarg.0 -IL_003b: ldloc.2 -IL_003c: stfld valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter Example/'d__10'::'<>u__1' -IL_0041: ldarg.0 -IL_0042: stloc.s V_4 -IL_0044: ldarg.0 -IL_0045: ldflda valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__10'::'<>t__builder' -IL_004a: ldloca.s V_2 -IL_004c: ldloca.s V_4 -IL_004e: call instance void valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::AwaitUnsafeOnCompleted,class Example/'d__10'>(!!0&, -!!1&) -IL_0053: nop -IL_0054: leave IL_00db -IL_0059: ldarg.0 -IL_005a: ldfld valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter Example/'d__10'::'<>u__1' -IL_005f: stloc.2 -IL_0060: ldarg.0 -IL_0061: ldflda valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter Example/'d__10'::'<>u__1' -IL_0066: initobj valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter -IL_006c: ldarg.0 -IL_006d: ldc.i4.m1 -IL_006e: dup -IL_006f: stloc.0 -IL_0070: stfld int32 Example/'d__10'::'<>1__state' -IL_0075: ldarg.0 -IL_0076: ldloca.s V_2 -IL_0078: call instance !0 valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter::GetResult() -IL_007d: stfld class Example Example/'d__10'::'<>s__2' -IL_0082: ldarg.0 -IL_0083: ldarg.0 -IL_0084: ldfld class Example Example/'d__10'::'<>s__2' -IL_0089: stfld class Example Example/'d__10'::'5__1' -IL_008e: ldarg.0 -IL_008f: ldnull -IL_0090: stfld class Example Example/'d__10'::'<>s__2' -IL_0095: ldarg.0 -IL_0096: ldfld class Example Example/'d__10'::'5__1' -IL_009b: stloc.1 -IL_009c: leave.s IL_00bf -} // end .try -catch [mscorlib]System.Exception -{ -IL_009e: stloc.s V_5 -IL_00a0: ldarg.0 -IL_00a1: ldc.i4.s -2 -IL_00a3: stfld int32 Example/'d__10'::'<>1__state' -IL_00a8: ldarg.0 -IL_00a9: ldnull -IL_00aa: stfld class Example Example/'d__10'::'5__1' -IL_00af: ldarg.0 -IL_00b0: ldflda valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__10'::'<>t__builder' -IL_00b5: ldloc.s V_5 -IL_00b7: call instance void valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetException(class [mscorlib]System.Exception) -IL_00bc: nop -IL_00bd: leave.s IL_00db -} // end handler -IL_00bf: ldarg.0 -IL_00c0: ldc.i4.s -2 -IL_00c2: stfld int32 Example/'d__10'::'<>1__state' -IL_00c7: ldarg.0 -IL_00c8: ldnull -IL_00c9: stfld class Example Example/'d__10'::'5__1' -IL_00ce: ldarg.0 -IL_00cf: ldflda valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__10'::'<>t__builder' -IL_00d4: ldloc.1 -IL_00d5: call instance void valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetResult(!0) -IL_00da: nop -IL_00db: ret -} -.method private hidebysig newslot virtual final -instance void SetStateMachine(class [mscorlib]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed -{ -.param [1] -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.override [mscorlib]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine -.maxstack 8 -IL_0000: ret -} -} -.class auto ansi sealed nested private beforefieldinit 'd__11' -extends [mscorlib]System.Object -implements [mscorlib]System.Runtime.CompilerServices.IAsyncStateMachine -{ -.interfaceimpl type [mscorlib]System.Runtime.CompilerServices.IAsyncStateMachine -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field public int32 '<>1__state' -.field public valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 '<>t__builder' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field public class Example '<>4__this' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field private class Example '5__1' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field private class Example '<>s__2' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field private valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter '<>u__1' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.method public hidebysig specialname rtspecialname -instance void .ctor() cil managed -{ -.maxstack 8 -IL_0000: ldarg.0 -IL_0001: call instance void [mscorlib]System.Object::.ctor() -IL_0006: nop -IL_0007: ret -} -.method private hidebysig newslot virtual final -instance void MoveNext() cil managed -{ -.override [mscorlib]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext -.maxstack 3 -.locals init (int32 V_0, -class Example V_1, -valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter V_2, -valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1 V_3, -class Example/'d__11' V_4, -class [mscorlib]System.Exception V_5) -IL_0000: ldarg.0 -IL_0001: ldfld int32 Example/'d__11'::'<>1__state' -IL_0006: stloc.0 -.try -{ -IL_0007: ldloc.0 -IL_0008: brfalse.s IL_000c -IL_000a: br.s IL_000e -IL_000c: br.s IL_0059 -IL_000e: nop -IL_000f: newobj instance void Example::.ctor() -IL_0014: call class [mscorlib]System.Threading.Tasks.Task`1 [mscorlib]System.Threading.Tasks.Task::FromResult(!!0) -IL_0019: ldc.i4.0 -IL_001a: callvirt instance valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1 class [mscorlib]System.Threading.Tasks.Task`1::ConfigureAwait(bool) -IL_001f: stloc.3 -IL_0020: ldloca.s V_3 -IL_0022: call instance valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1::GetAwaiter() -IL_0027: stloc.2 -IL_0028: ldloca.s V_2 -IL_002a: call instance bool valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter::get_IsCompleted() -IL_002f: brtrue.s IL_0075 -IL_0031: ldarg.0 -IL_0032: ldc.i4.0 -IL_0033: dup -IL_0034: stloc.0 -IL_0035: stfld int32 Example/'d__11'::'<>1__state' -IL_003a: ldarg.0 -IL_003b: ldloc.2 -IL_003c: stfld valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter Example/'d__11'::'<>u__1' -IL_0041: ldarg.0 -IL_0042: stloc.s V_4 -IL_0044: ldarg.0 -IL_0045: ldflda valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__11'::'<>t__builder' -IL_004a: ldloca.s V_2 -IL_004c: ldloca.s V_4 -IL_004e: call instance void valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::AwaitUnsafeOnCompleted,class Example/'d__11'>(!!0&, -!!1&) -IL_0053: nop -IL_0054: leave IL_00db -IL_0059: ldarg.0 -IL_005a: ldfld valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter Example/'d__11'::'<>u__1' -IL_005f: stloc.2 -IL_0060: ldarg.0 -IL_0061: ldflda valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter Example/'d__11'::'<>u__1' -IL_0066: initobj valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter -IL_006c: ldarg.0 -IL_006d: ldc.i4.m1 -IL_006e: dup -IL_006f: stloc.0 -IL_0070: stfld int32 Example/'d__11'::'<>1__state' -IL_0075: ldarg.0 -IL_0076: ldloca.s V_2 -IL_0078: call instance !0 valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter::GetResult() -IL_007d: stfld class Example Example/'d__11'::'<>s__2' -IL_0082: ldarg.0 -IL_0083: ldarg.0 -IL_0084: ldfld class Example Example/'d__11'::'<>s__2' -IL_0089: stfld class Example Example/'d__11'::'5__1' -IL_008e: ldarg.0 -IL_008f: ldnull -IL_0090: stfld class Example Example/'d__11'::'<>s__2' -IL_0095: ldarg.0 -IL_0096: ldfld class Example Example/'d__11'::'5__1' -IL_009b: stloc.1 -IL_009c: leave.s IL_00bf -} // end .try -catch [mscorlib]System.Exception -{ -IL_009e: stloc.s V_5 -IL_00a0: ldarg.0 -IL_00a1: ldc.i4.s -2 -IL_00a3: stfld int32 Example/'d__11'::'<>1__state' -IL_00a8: ldarg.0 -IL_00a9: ldnull -IL_00aa: stfld class Example Example/'d__11'::'5__1' -IL_00af: ldarg.0 -IL_00b0: ldflda valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__11'::'<>t__builder' -IL_00b5: ldloc.s V_5 -IL_00b7: call instance void valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetException(class [mscorlib]System.Exception) -IL_00bc: nop -IL_00bd: leave.s IL_00db -} // end handler -IL_00bf: ldarg.0 -IL_00c0: ldc.i4.s -2 -IL_00c2: stfld int32 Example/'d__11'::'<>1__state' -IL_00c7: ldarg.0 -IL_00c8: ldnull -IL_00c9: stfld class Example Example/'d__11'::'5__1' -IL_00ce: ldarg.0 -IL_00cf: ldflda valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__11'::'<>t__builder' -IL_00d4: ldloc.1 -IL_00d5: call instance void valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetResult(!0) -IL_00da: nop -IL_00db: ret -} -.method private hidebysig newslot virtual final -instance void SetStateMachine(class [mscorlib]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed -{ -.param [1] -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.override [mscorlib]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine -.maxstack 8 -IL_0000: ret -} -} -.class auto ansi sealed nested private beforefieldinit 'd__0' -extends [mscorlib]System.Object -implements [mscorlib]System.Runtime.CompilerServices.IAsyncStateMachine -{ -.interfaceimpl type [mscorlib]System.Runtime.CompilerServices.IAsyncStateMachine -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field public int32 '<>1__state' -.field public valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder '<>t__builder' -.field public class Example '<>4__this' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field private valuetype [mscorlib]System.Runtime.CompilerServices.TaskAwaiter '<>u__1' -.method public hidebysig specialname rtspecialname -instance void .ctor() cil managed -{ -.maxstack 8 -IL_0000: ldarg.0 -IL_0001: call instance void [mscorlib]System.Object::.ctor() -IL_0006: nop -IL_0007: ret -} -.method private hidebysig newslot virtual final -instance void MoveNext() cil managed -{ -.override [mscorlib]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext -.maxstack 3 -.locals init (int32 V_0, -valuetype [mscorlib]System.Runtime.CompilerServices.TaskAwaiter V_1, -class Example/'d__0' V_2, -class [mscorlib]System.Exception V_3) -IL_0000: ldarg.0 -IL_0001: ldfld int32 Example/'d__0'::'<>1__state' -IL_0006: stloc.0 -.try -{ -IL_0007: ldloc.0 -IL_0008: brfalse.s IL_000c -IL_000a: br.s IL_000e -IL_000c: br.s IL_0048 -IL_000e: nop -IL_000f: ldc.i4.1 -IL_0010: call class [mscorlib]System.Threading.Tasks.Task [mscorlib]System.Threading.Tasks.Task::Delay(int32) -IL_0015: callvirt instance valuetype [mscorlib]System.Runtime.CompilerServices.TaskAwaiter [mscorlib]System.Threading.Tasks.Task::GetAwaiter() -IL_001a: stloc.1 -IL_001b: ldloca.s V_1 -IL_001d: call instance bool [mscorlib]System.Runtime.CompilerServices.TaskAwaiter::get_IsCompleted() -IL_0022: brtrue.s IL_0064 -IL_0024: ldarg.0 -IL_0025: ldc.i4.0 -IL_0026: dup -IL_0027: stloc.0 -IL_0028: stfld int32 Example/'d__0'::'<>1__state' -IL_002d: ldarg.0 -IL_002e: ldloc.1 -IL_002f: stfld valuetype [mscorlib]System.Runtime.CompilerServices.TaskAwaiter Example/'d__0'::'<>u__1' -IL_0034: ldarg.0 -IL_0035: stloc.2 -IL_0036: ldarg.0 -IL_0037: ldflda valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Example/'d__0'::'<>t__builder' -IL_003c: ldloca.s V_1 -IL_003e: ldloca.s V_2 -IL_0040: call instance void [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::AwaitUnsafeOnCompletedd__0'>(!!0&, -!!1&) -IL_0045: nop -IL_0046: leave.s IL_009a -IL_0048: ldarg.0 -IL_0049: ldfld valuetype [mscorlib]System.Runtime.CompilerServices.TaskAwaiter Example/'d__0'::'<>u__1' -IL_004e: stloc.1 -IL_004f: ldarg.0 -IL_0050: ldflda valuetype [mscorlib]System.Runtime.CompilerServices.TaskAwaiter Example/'d__0'::'<>u__1' -IL_0055: initobj [mscorlib]System.Runtime.CompilerServices.TaskAwaiter -IL_005b: ldarg.0 -IL_005c: ldc.i4.m1 -IL_005d: dup -IL_005e: stloc.0 -IL_005f: stfld int32 Example/'d__0'::'<>1__state' -IL_0064: ldloca.s V_1 -IL_0066: call instance void [mscorlib]System.Runtime.CompilerServices.TaskAwaiter::GetResult() -IL_006b: nop -IL_006c: leave.s IL_0086 -} // end .try -catch [mscorlib]System.Exception -{ -IL_006e: stloc.3 -IL_006f: ldarg.0 -IL_0070: ldc.i4.s -2 -IL_0072: stfld int32 Example/'d__0'::'<>1__state' -IL_0077: ldarg.0 -IL_0078: ldflda valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Example/'d__0'::'<>t__builder' -IL_007d: ldloc.3 -IL_007e: call instance void [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetException(class [mscorlib]System.Exception) -IL_0083: nop -IL_0084: leave.s IL_009a -} // end handler -IL_0086: ldarg.0 -IL_0087: ldc.i4.s -2 -IL_0089: stfld int32 Example/'d__0'::'<>1__state' -IL_008e: ldarg.0 -IL_008f: ldflda valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Example/'d__0'::'<>t__builder' -IL_0094: call instance void [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetResult() -IL_0099: nop -IL_009a: ret -} -.method private hidebysig newslot virtual final -instance void SetStateMachine(class [mscorlib]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed -{ -.param [1] -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.override [mscorlib]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine -.maxstack 8 -IL_0000: ret -} -} -.class auto ansi sealed nested private beforefieldinit 'd__1' -extends [mscorlib]System.Object -implements [mscorlib]System.Runtime.CompilerServices.IAsyncStateMachine -{ -.interfaceimpl type [mscorlib]System.Runtime.CompilerServices.IAsyncStateMachine -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field public int32 '<>1__state' -.field public valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder '<>t__builder' -.field public class Example '<>4__this' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field private valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter '<>u__1' -.method public hidebysig specialname rtspecialname -instance void .ctor() cil managed -{ -.maxstack 8 -IL_0000: ldarg.0 -IL_0001: call instance void [mscorlib]System.Object::.ctor() -IL_0006: nop -IL_0007: ret -} -.method private hidebysig newslot virtual final -instance void MoveNext() cil managed -{ -.override [mscorlib]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext -.maxstack 3 -.locals init (int32 V_0, -valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter V_1, -valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable V_2, -class Example/'d__1' V_3, -class [mscorlib]System.Exception V_4) -IL_0000: ldarg.0 -IL_0001: ldfld int32 Example/'d__1'::'<>1__state' -IL_0006: stloc.0 -.try -{ -IL_0007: ldloc.0 -IL_0008: brfalse.s IL_000c -IL_000a: br.s IL_000e -IL_000c: br.s IL_0051 -IL_000e: nop -IL_000f: ldc.i4.1 -IL_0010: call class [mscorlib]System.Threading.Tasks.Task [mscorlib]System.Threading.Tasks.Task::Delay(int32) -IL_0015: ldc.i4.0 -IL_0016: callvirt instance valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable [mscorlib]System.Threading.Tasks.Task::ConfigureAwait(bool) -IL_001b: stloc.2 -IL_001c: ldloca.s V_2 -IL_001e: call instance valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable::GetAwaiter() -IL_0023: stloc.1 -IL_0024: ldloca.s V_1 -IL_0026: call instance bool [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter::get_IsCompleted() -IL_002b: brtrue.s IL_006d -IL_002d: ldarg.0 -IL_002e: ldc.i4.0 -IL_002f: dup -IL_0030: stloc.0 -IL_0031: stfld int32 Example/'d__1'::'<>1__state' -IL_0036: ldarg.0 -IL_0037: ldloc.1 -IL_0038: stfld valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter Example/'d__1'::'<>u__1' -IL_003d: ldarg.0 -IL_003e: stloc.3 -IL_003f: ldarg.0 -IL_0040: ldflda valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Example/'d__1'::'<>t__builder' -IL_0045: ldloca.s V_1 -IL_0047: ldloca.s V_3 -IL_0049: call instance void [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::AwaitUnsafeOnCompletedd__1'>(!!0&, -!!1&) -IL_004e: nop -IL_004f: leave.s IL_00a5 -IL_0051: ldarg.0 -IL_0052: ldfld valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter Example/'d__1'::'<>u__1' -IL_0057: stloc.1 -IL_0058: ldarg.0 -IL_0059: ldflda valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter Example/'d__1'::'<>u__1' -IL_005e: initobj [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter -IL_0064: ldarg.0 -IL_0065: ldc.i4.m1 -IL_0066: dup -IL_0067: stloc.0 -IL_0068: stfld int32 Example/'d__1'::'<>1__state' -IL_006d: ldloca.s V_1 -IL_006f: call instance void [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter::GetResult() -IL_0074: nop -IL_0075: leave.s IL_0091 -} // end .try -catch [mscorlib]System.Exception -{ -IL_0077: stloc.s V_4 -IL_0079: ldarg.0 -IL_007a: ldc.i4.s -2 -IL_007c: stfld int32 Example/'d__1'::'<>1__state' -IL_0081: ldarg.0 -IL_0082: ldflda valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Example/'d__1'::'<>t__builder' -IL_0087: ldloc.s V_4 -IL_0089: call instance void [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetException(class [mscorlib]System.Exception) -IL_008e: nop -IL_008f: leave.s IL_00a5 -} // end handler -IL_0091: ldarg.0 -IL_0092: ldc.i4.s -2 -IL_0094: stfld int32 Example/'d__1'::'<>1__state' -IL_0099: ldarg.0 -IL_009a: ldflda valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Example/'d__1'::'<>t__builder' -IL_009f: call instance void [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetResult() -IL_00a4: nop -IL_00a5: ret -} -.method private hidebysig newslot virtual final -instance void SetStateMachine(class [mscorlib]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed -{ -.param [1] -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.override [mscorlib]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine -.maxstack 8 -IL_0000: ret -} -} -.class auto ansi sealed nested private beforefieldinit 'd__2' -extends [mscorlib]System.Object -implements [mscorlib]System.Runtime.CompilerServices.IAsyncStateMachine -{ -.interfaceimpl type [mscorlib]System.Runtime.CompilerServices.IAsyncStateMachine -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field public int32 '<>1__state' -.field public valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder '<>t__builder' -.field public class Example '<>4__this' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field private valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter '<>u__1' -.method public hidebysig specialname rtspecialname -instance void .ctor() cil managed -{ -.maxstack 8 -IL_0000: ldarg.0 -IL_0001: call instance void [mscorlib]System.Object::.ctor() -IL_0006: nop -IL_0007: ret -} -.method private hidebysig newslot virtual final -instance void MoveNext() cil managed -{ -.override [mscorlib]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext -.maxstack 3 -.locals init (int32 V_0, -valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter V_1, -valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable V_2, -class Example/'d__2' V_3, -class [mscorlib]System.Exception V_4) -IL_0000: ldarg.0 -IL_0001: ldfld int32 Example/'d__2'::'<>1__state' -IL_0006: stloc.0 -.try -{ -IL_0007: ldloc.0 -IL_0008: brfalse.s IL_000c -IL_000a: br.s IL_000e -IL_000c: br.s IL_0051 -IL_000e: nop -IL_000f: ldc.i4.1 -IL_0010: call class [mscorlib]System.Threading.Tasks.Task [mscorlib]System.Threading.Tasks.Task::Delay(int32) -IL_0015: ldc.i4.0 -IL_0016: callvirt instance valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable [mscorlib]System.Threading.Tasks.Task::ConfigureAwait(bool) -IL_001b: stloc.2 -IL_001c: ldloca.s V_2 -IL_001e: call instance valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable::GetAwaiter() -IL_0023: stloc.1 -IL_0024: ldloca.s V_1 -IL_0026: call instance bool [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter::get_IsCompleted() -IL_002b: brtrue.s IL_006d -IL_002d: ldarg.0 -IL_002e: ldc.i4.0 -IL_002f: dup -IL_0030: stloc.0 -IL_0031: stfld int32 Example/'d__2'::'<>1__state' -IL_0036: ldarg.0 -IL_0037: ldloc.1 -IL_0038: stfld valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter Example/'d__2'::'<>u__1' -IL_003d: ldarg.0 -IL_003e: stloc.3 -IL_003f: ldarg.0 -IL_0040: ldflda valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Example/'d__2'::'<>t__builder' -IL_0045: ldloca.s V_1 -IL_0047: ldloca.s V_3 -IL_0049: call instance void [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::AwaitUnsafeOnCompletedd__2'>(!!0&, -!!1&) -IL_004e: nop -IL_004f: leave.s IL_00a5 -IL_0051: ldarg.0 -IL_0052: ldfld valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter Example/'d__2'::'<>u__1' -IL_0057: stloc.1 -IL_0058: ldarg.0 -IL_0059: ldflda valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter Example/'d__2'::'<>u__1' -IL_005e: initobj [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter -IL_0064: ldarg.0 -IL_0065: ldc.i4.m1 -IL_0066: dup -IL_0067: stloc.0 -IL_0068: stfld int32 Example/'d__2'::'<>1__state' -IL_006d: ldloca.s V_1 -IL_006f: call instance void [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter::GetResult() -IL_0074: nop -IL_0075: leave.s IL_0091 -} // end .try -catch [mscorlib]System.Exception -{ -IL_0077: stloc.s V_4 -IL_0079: ldarg.0 -IL_007a: ldc.i4.s -2 -IL_007c: stfld int32 Example/'d__2'::'<>1__state' -IL_0081: ldarg.0 -IL_0082: ldflda valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Example/'d__2'::'<>t__builder' -IL_0087: ldloc.s V_4 -IL_0089: call instance void [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetException(class [mscorlib]System.Exception) -IL_008e: nop -IL_008f: leave.s IL_00a5 -} // end handler -IL_0091: ldarg.0 -IL_0092: ldc.i4.s -2 -IL_0094: stfld int32 Example/'d__2'::'<>1__state' -IL_0099: ldarg.0 -IL_009a: ldflda valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Example/'d__2'::'<>t__builder' -IL_009f: call instance void [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetResult() -IL_00a4: nop -IL_00a5: ret -} -.method private hidebysig newslot virtual final -instance void SetStateMachine(class [mscorlib]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed -{ -.param [1] -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.override [mscorlib]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine -.maxstack 8 -IL_0000: ret -} -} -.class auto ansi sealed nested private beforefieldinit 'd__3' -extends [mscorlib]System.Object -implements [mscorlib]System.Runtime.CompilerServices.IAsyncStateMachine -{ -.interfaceimpl type [mscorlib]System.Runtime.CompilerServices.IAsyncStateMachine -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field public int32 '<>1__state' -.field public valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 '<>t__builder' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field public class Example '<>4__this' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field private int32 '5__1' -.field private int32 '<>s__2' -.field private valuetype [mscorlib]System.Runtime.CompilerServices.TaskAwaiter`1 '<>u__1' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.method public hidebysig specialname rtspecialname -instance void .ctor() cil managed -{ -.maxstack 8 -IL_0000: ldarg.0 -IL_0001: call instance void [mscorlib]System.Object::.ctor() -IL_0006: nop -IL_0007: ret -} -.method private hidebysig newslot virtual final -instance void MoveNext() cil managed -{ -.override [mscorlib]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext -.maxstack 3 -.locals init (int32 V_0, -int32 V_1, -valuetype [mscorlib]System.Runtime.CompilerServices.TaskAwaiter`1 V_2, -class Example/'d__3' V_3, -class [mscorlib]System.Exception V_4) -IL_0000: ldarg.0 -IL_0001: ldfld int32 Example/'d__3'::'<>1__state' -IL_0006: stloc.0 -.try -{ -IL_0007: ldloc.0 -IL_0008: brfalse.s IL_000c -IL_000a: br.s IL_000e -IL_000c: br.s IL_0049 -IL_000e: nop -IL_000f: ldc.i4.s 10 -IL_0011: call class [mscorlib]System.Threading.Tasks.Task`1 [mscorlib]System.Threading.Tasks.Task::FromResult(!!0) -IL_0016: callvirt instance valuetype [mscorlib]System.Runtime.CompilerServices.TaskAwaiter`1 class [mscorlib]System.Threading.Tasks.Task`1::GetAwaiter() -IL_001b: stloc.2 -IL_001c: ldloca.s V_2 -IL_001e: call instance bool valuetype [mscorlib]System.Runtime.CompilerServices.TaskAwaiter`1::get_IsCompleted() -IL_0023: brtrue.s IL_0065 -IL_0025: ldarg.0 -IL_0026: ldc.i4.0 -IL_0027: dup -IL_0028: stloc.0 -IL_0029: stfld int32 Example/'d__3'::'<>1__state' -IL_002e: ldarg.0 -IL_002f: ldloc.2 -IL_0030: stfld valuetype [mscorlib]System.Runtime.CompilerServices.TaskAwaiter`1 Example/'d__3'::'<>u__1' -IL_0035: ldarg.0 -IL_0036: stloc.3 -IL_0037: ldarg.0 -IL_0038: ldflda valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__3'::'<>t__builder' -IL_003d: ldloca.s V_2 -IL_003f: ldloca.s V_3 -IL_0041: call instance void valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::AwaitUnsafeOnCompleted,class Example/'d__3'>(!!0&, -!!1&) -IL_0046: nop -IL_0047: leave.s IL_00b6 -IL_0049: ldarg.0 -IL_004a: ldfld valuetype [mscorlib]System.Runtime.CompilerServices.TaskAwaiter`1 Example/'d__3'::'<>u__1' -IL_004f: stloc.2 -IL_0050: ldarg.0 -IL_0051: ldflda valuetype [mscorlib]System.Runtime.CompilerServices.TaskAwaiter`1 Example/'d__3'::'<>u__1' -IL_0056: initobj valuetype [mscorlib]System.Runtime.CompilerServices.TaskAwaiter`1 -IL_005c: ldarg.0 -IL_005d: ldc.i4.m1 -IL_005e: dup -IL_005f: stloc.0 -IL_0060: stfld int32 Example/'d__3'::'<>1__state' -IL_0065: ldarg.0 -IL_0066: ldloca.s V_2 -IL_0068: call instance !0 valuetype [mscorlib]System.Runtime.CompilerServices.TaskAwaiter`1::GetResult() -IL_006d: stfld int32 Example/'d__3'::'<>s__2' -IL_0072: ldarg.0 -IL_0073: ldarg.0 -IL_0074: ldfld int32 Example/'d__3'::'<>s__2' -IL_0079: stfld int32 Example/'d__3'::'5__1' -IL_007e: ldarg.0 -IL_007f: ldfld int32 Example/'d__3'::'5__1' -IL_0084: stloc.1 -IL_0085: leave.s IL_00a1 -} // end .try -catch [mscorlib]System.Exception -{ -IL_0087: stloc.s V_4 -IL_0089: ldarg.0 -IL_008a: ldc.i4.s -2 -IL_008c: stfld int32 Example/'d__3'::'<>1__state' -IL_0091: ldarg.0 -IL_0092: ldflda valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__3'::'<>t__builder' -IL_0097: ldloc.s V_4 -IL_0099: call instance void valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetException(class [mscorlib]System.Exception) -IL_009e: nop -IL_009f: leave.s IL_00b6 -} // end handler -IL_00a1: ldarg.0 -IL_00a2: ldc.i4.s -2 -IL_00a4: stfld int32 Example/'d__3'::'<>1__state' -IL_00a9: ldarg.0 -IL_00aa: ldflda valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__3'::'<>t__builder' -IL_00af: ldloc.1 -IL_00b0: call instance void valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetResult(!0) -IL_00b5: nop -IL_00b6: ret -} -.method private hidebysig newslot virtual final -instance void SetStateMachine(class [mscorlib]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed -{ -.param [1] -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.override [mscorlib]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine -.maxstack 8 -IL_0000: ret -} -} -.class auto ansi sealed nested private beforefieldinit 'd__4' -extends [mscorlib]System.Object -implements [mscorlib]System.Runtime.CompilerServices.IAsyncStateMachine -{ -.interfaceimpl type [mscorlib]System.Runtime.CompilerServices.IAsyncStateMachine -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field public int32 '<>1__state' -.field public valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 '<>t__builder' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field public class Example '<>4__this' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field private int32 '5__1' -.field private int32 '<>s__2' -.field private valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter '<>u__1' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.method public hidebysig specialname rtspecialname -instance void .ctor() cil managed -{ -.maxstack 8 -IL_0000: ldarg.0 -IL_0001: call instance void [mscorlib]System.Object::.ctor() -IL_0006: nop -IL_0007: ret -} -.method private hidebysig newslot virtual final -instance void MoveNext() cil managed -{ -.override [mscorlib]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext -.maxstack 3 -.locals init (int32 V_0, -int32 V_1, -valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter V_2, -valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1 V_3, -class Example/'d__4' V_4, -class [mscorlib]System.Exception V_5) -IL_0000: ldarg.0 -IL_0001: ldfld int32 Example/'d__4'::'<>1__state' -IL_0006: stloc.0 -.try -{ -IL_0007: ldloc.0 -IL_0008: brfalse.s IL_000c -IL_000a: br.s IL_000e -IL_000c: br.s IL_0053 -IL_000e: nop -IL_000f: ldc.i4.s 10 -IL_0011: call class [mscorlib]System.Threading.Tasks.Task`1 [mscorlib]System.Threading.Tasks.Task::FromResult(!!0) -IL_0016: ldc.i4.0 -IL_0017: callvirt instance valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1 class [mscorlib]System.Threading.Tasks.Task`1::ConfigureAwait(bool) -IL_001c: stloc.3 -IL_001d: ldloca.s V_3 -IL_001f: call instance valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1::GetAwaiter() -IL_0024: stloc.2 -IL_0025: ldloca.s V_2 -IL_0027: call instance bool valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter::get_IsCompleted() -IL_002c: brtrue.s IL_006f -IL_002e: ldarg.0 -IL_002f: ldc.i4.0 -IL_0030: dup -IL_0031: stloc.0 -IL_0032: stfld int32 Example/'d__4'::'<>1__state' -IL_0037: ldarg.0 -IL_0038: ldloc.2 -IL_0039: stfld valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter Example/'d__4'::'<>u__1' -IL_003e: ldarg.0 -IL_003f: stloc.s V_4 -IL_0041: ldarg.0 -IL_0042: ldflda valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__4'::'<>t__builder' -IL_0047: ldloca.s V_2 -IL_0049: ldloca.s V_4 -IL_004b: call instance void valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::AwaitUnsafeOnCompleted,class Example/'d__4'>(!!0&, -!!1&) -IL_0050: nop -IL_0051: leave.s IL_00c0 -IL_0053: ldarg.0 -IL_0054: ldfld valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter Example/'d__4'::'<>u__1' -IL_0059: stloc.2 -IL_005a: ldarg.0 -IL_005b: ldflda valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter Example/'d__4'::'<>u__1' -IL_0060: initobj valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter -IL_0066: ldarg.0 -IL_0067: ldc.i4.m1 -IL_0068: dup -IL_0069: stloc.0 -IL_006a: stfld int32 Example/'d__4'::'<>1__state' -IL_006f: ldarg.0 -IL_0070: ldloca.s V_2 -IL_0072: call instance !0 valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter::GetResult() -IL_0077: stfld int32 Example/'d__4'::'<>s__2' -IL_007c: ldarg.0 -IL_007d: ldarg.0 -IL_007e: ldfld int32 Example/'d__4'::'<>s__2' -IL_0083: stfld int32 Example/'d__4'::'5__1' -IL_0088: ldarg.0 -IL_0089: ldfld int32 Example/'d__4'::'5__1' -IL_008e: stloc.1 -IL_008f: leave.s IL_00ab -} // end .try -catch [mscorlib]System.Exception -{ -IL_0091: stloc.s V_5 -IL_0093: ldarg.0 -IL_0094: ldc.i4.s -2 -IL_0096: stfld int32 Example/'d__4'::'<>1__state' -IL_009b: ldarg.0 -IL_009c: ldflda valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__4'::'<>t__builder' -IL_00a1: ldloc.s V_5 -IL_00a3: call instance void valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetException(class [mscorlib]System.Exception) -IL_00a8: nop -IL_00a9: leave.s IL_00c0 -} // end handler -IL_00ab: ldarg.0 -IL_00ac: ldc.i4.s -2 -IL_00ae: stfld int32 Example/'d__4'::'<>1__state' -IL_00b3: ldarg.0 -IL_00b4: ldflda valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__4'::'<>t__builder' -IL_00b9: ldloc.1 -IL_00ba: call instance void valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetResult(!0) -IL_00bf: nop -IL_00c0: ret -} -.method private hidebysig newslot virtual final -instance void SetStateMachine(class [mscorlib]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed -{ -.param [1] -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.override [mscorlib]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine -.maxstack 8 -IL_0000: ret -} -} -.class auto ansi sealed nested private beforefieldinit 'd__5' -extends [mscorlib]System.Object -implements [mscorlib]System.Runtime.CompilerServices.IAsyncStateMachine -{ -.interfaceimpl type [mscorlib]System.Runtime.CompilerServices.IAsyncStateMachine -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field public int32 '<>1__state' -.field public valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 '<>t__builder' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field public class Example '<>4__this' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field private int32 '5__1' -.field private int32 '<>s__2' -.field private valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter '<>u__1' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.method public hidebysig specialname rtspecialname -instance void .ctor() cil managed -{ -.maxstack 8 -IL_0000: ldarg.0 -IL_0001: call instance void [mscorlib]System.Object::.ctor() -IL_0006: nop -IL_0007: ret -} -.method private hidebysig newslot virtual final -instance void MoveNext() cil managed -{ -.override [mscorlib]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext -.maxstack 3 -.locals init (int32 V_0, -int32 V_1, -valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter V_2, -valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1 V_3, -class Example/'d__5' V_4, -class [mscorlib]System.Exception V_5) -IL_0000: ldarg.0 -IL_0001: ldfld int32 Example/'d__5'::'<>1__state' -IL_0006: stloc.0 -.try -{ -IL_0007: ldloc.0 -IL_0008: brfalse.s IL_000c -IL_000a: br.s IL_000e -IL_000c: br.s IL_0053 -IL_000e: nop -IL_000f: ldc.i4.s 10 -IL_0011: call class [mscorlib]System.Threading.Tasks.Task`1 [mscorlib]System.Threading.Tasks.Task::FromResult(!!0) -IL_0016: ldc.i4.0 -IL_0017: callvirt instance valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1 class [mscorlib]System.Threading.Tasks.Task`1::ConfigureAwait(bool) -IL_001c: stloc.3 -IL_001d: ldloca.s V_3 -IL_001f: call instance valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1::GetAwaiter() -IL_0024: stloc.2 -IL_0025: ldloca.s V_2 -IL_0027: call instance bool valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter::get_IsCompleted() -IL_002c: brtrue.s IL_006f -IL_002e: ldarg.0 -IL_002f: ldc.i4.0 -IL_0030: dup -IL_0031: stloc.0 -IL_0032: stfld int32 Example/'d__5'::'<>1__state' -IL_0037: ldarg.0 -IL_0038: ldloc.2 -IL_0039: stfld valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter Example/'d__5'::'<>u__1' -IL_003e: ldarg.0 -IL_003f: stloc.s V_4 -IL_0041: ldarg.0 -IL_0042: ldflda valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__5'::'<>t__builder' -IL_0047: ldloca.s V_2 -IL_0049: ldloca.s V_4 -IL_004b: call instance void valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::AwaitUnsafeOnCompleted,class Example/'d__5'>(!!0&, -!!1&) -IL_0050: nop -IL_0051: leave.s IL_00c0 -IL_0053: ldarg.0 -IL_0054: ldfld valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter Example/'d__5'::'<>u__1' -IL_0059: stloc.2 -IL_005a: ldarg.0 -IL_005b: ldflda valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter Example/'d__5'::'<>u__1' -IL_0060: initobj valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter -IL_0066: ldarg.0 -IL_0067: ldc.i4.m1 -IL_0068: dup -IL_0069: stloc.0 -IL_006a: stfld int32 Example/'d__5'::'<>1__state' -IL_006f: ldarg.0 -IL_0070: ldloca.s V_2 -IL_0072: call instance !0 valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter::GetResult() -IL_0077: stfld int32 Example/'d__5'::'<>s__2' -IL_007c: ldarg.0 -IL_007d: ldarg.0 -IL_007e: ldfld int32 Example/'d__5'::'<>s__2' -IL_0083: stfld int32 Example/'d__5'::'5__1' -IL_0088: ldarg.0 -IL_0089: ldfld int32 Example/'d__5'::'5__1' -IL_008e: stloc.1 -IL_008f: leave.s IL_00ab -} // end .try -catch [mscorlib]System.Exception -{ -IL_0091: stloc.s V_5 -IL_0093: ldarg.0 -IL_0094: ldc.i4.s -2 -IL_0096: stfld int32 Example/'d__5'::'<>1__state' -IL_009b: ldarg.0 -IL_009c: ldflda valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__5'::'<>t__builder' -IL_00a1: ldloc.s V_5 -IL_00a3: call instance void valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetException(class [mscorlib]System.Exception) -IL_00a8: nop -IL_00a9: leave.s IL_00c0 -} // end handler -IL_00ab: ldarg.0 -IL_00ac: ldc.i4.s -2 -IL_00ae: stfld int32 Example/'d__5'::'<>1__state' -IL_00b3: ldarg.0 -IL_00b4: ldflda valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__5'::'<>t__builder' -IL_00b9: ldloc.1 -IL_00ba: call instance void valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetResult(!0) -IL_00bf: nop -IL_00c0: ret -} -.method private hidebysig newslot virtual final -instance void SetStateMachine(class [mscorlib]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed -{ -.param [1] -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.override [mscorlib]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine -.maxstack 8 -IL_0000: ret -} -} -.class auto ansi sealed nested private beforefieldinit 'd__6' -extends [mscorlib]System.Object -implements [mscorlib]System.Runtime.CompilerServices.IAsyncStateMachine -{ -.interfaceimpl type [mscorlib]System.Runtime.CompilerServices.IAsyncStateMachine -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field public int32 '<>1__state' -.field public valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 '<>t__builder' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field public class Example '<>4__this' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field private int32 '5__1' -.field private int32 '5__2' -.field private int32 '<>s__3' -.field private int32 '5__4' -.field private int32 '<>s__5' -.field private int32 '<>s__6' -.field private valuetype [mscorlib]System.Runtime.CompilerServices.TaskAwaiter`1 '<>u__1' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field private valuetype [mscorlib]System.Runtime.CompilerServices.TaskAwaiter '<>u__2' -.method public hidebysig specialname rtspecialname -instance void .ctor() cil managed -{ -.maxstack 8 -IL_0000: ldarg.0 -IL_0001: call instance void [mscorlib]System.Object::.ctor() -IL_0006: nop -IL_0007: ret -} -.method private hidebysig newslot virtual final -instance void MoveNext() cil managed -{ -.override [mscorlib]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext -.maxstack 3 -.locals init (int32 V_0, -int32 V_1, -valuetype [mscorlib]System.Runtime.CompilerServices.TaskAwaiter`1 V_2, -class Example/'d__6' V_3, -valuetype [mscorlib]System.Runtime.CompilerServices.TaskAwaiter V_4, -valuetype [mscorlib]System.Runtime.CompilerServices.TaskAwaiter`1 V_5, -int32 V_6, -bool V_7, -class [mscorlib]System.Exception V_8) -IL_0000: ldarg.0 -IL_0001: ldfld int32 Example/'d__6'::'<>1__state' -IL_0006: stloc.0 -.try -{ -IL_0007: ldloc.0 -IL_0008: switch ( -IL_001b, -IL_001d, -IL_0022) -IL_0019: br.s IL_0027 -IL_001b: br.s IL_0065 -IL_001d: br IL_00ec -IL_0022: br IL_0160 -IL_0027: nop -IL_0028: ldc.i4.s 10 -IL_002a: call class [mscorlib]System.Threading.Tasks.Task`1 [mscorlib]System.Threading.Tasks.Task::FromResult(!!0) -IL_002f: callvirt instance valuetype [mscorlib]System.Runtime.CompilerServices.TaskAwaiter`1 class [mscorlib]System.Threading.Tasks.Task`1::GetAwaiter() -IL_0034: stloc.2 -IL_0035: ldloca.s V_2 -IL_0037: call instance bool valuetype [mscorlib]System.Runtime.CompilerServices.TaskAwaiter`1::get_IsCompleted() -IL_003c: brtrue.s IL_0081 -IL_003e: ldarg.0 -IL_003f: ldc.i4.0 -IL_0040: dup -IL_0041: stloc.0 -IL_0042: stfld int32 Example/'d__6'::'<>1__state' -IL_0047: ldarg.0 -IL_0048: ldloc.2 -IL_0049: stfld valuetype [mscorlib]System.Runtime.CompilerServices.TaskAwaiter`1 Example/'d__6'::'<>u__1' -IL_004e: ldarg.0 -IL_004f: stloc.3 -IL_0050: ldarg.0 -IL_0051: ldflda valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__6'::'<>t__builder' -IL_0056: ldloca.s V_2 -IL_0058: ldloca.s V_3 -IL_005a: call instance void valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::AwaitUnsafeOnCompleted,class Example/'d__6'>(!!0&, -!!1&) -IL_005f: nop -IL_0060: leave IL_01ff -IL_0065: ldarg.0 -IL_0066: ldfld valuetype [mscorlib]System.Runtime.CompilerServices.TaskAwaiter`1 Example/'d__6'::'<>u__1' -IL_006b: stloc.2 -IL_006c: ldarg.0 -IL_006d: ldflda valuetype [mscorlib]System.Runtime.CompilerServices.TaskAwaiter`1 Example/'d__6'::'<>u__1' -IL_0072: initobj valuetype [mscorlib]System.Runtime.CompilerServices.TaskAwaiter`1 -IL_0078: ldarg.0 -IL_0079: ldc.i4.m1 -IL_007a: dup -IL_007b: stloc.0 -IL_007c: stfld int32 Example/'d__6'::'<>1__state' -IL_0081: ldarg.0 -IL_0082: ldloca.s V_2 -IL_0084: call instance !0 valuetype [mscorlib]System.Runtime.CompilerServices.TaskAwaiter`1::GetResult() -IL_0089: stfld int32 Example/'d__6'::'<>s__3' -IL_008e: ldarg.0 -IL_008f: ldarg.0 -IL_0090: ldfld int32 Example/'d__6'::'<>s__3' -IL_0095: stfld int32 Example/'d__6'::'5__1' -IL_009a: ldarg.0 -IL_009b: ldc.i4.0 -IL_009c: stfld int32 Example/'d__6'::'5__2' -IL_00a1: ldarg.0 -IL_00a2: ldc.i4.0 -IL_00a3: stfld int32 Example/'d__6'::'5__4' -IL_00a8: br IL_01b0 -IL_00ad: nop -IL_00ae: ldc.i4.1 -IL_00af: call class [mscorlib]System.Threading.Tasks.Task [mscorlib]System.Threading.Tasks.Task::Delay(int32) -IL_00b4: callvirt instance valuetype [mscorlib]System.Runtime.CompilerServices.TaskAwaiter [mscorlib]System.Threading.Tasks.Task::GetAwaiter() -IL_00b9: stloc.s V_4 -IL_00bb: ldloca.s V_4 -IL_00bd: call instance bool [mscorlib]System.Runtime.CompilerServices.TaskAwaiter::get_IsCompleted() -IL_00c2: brtrue.s IL_0109 -IL_00c4: ldarg.0 -IL_00c5: ldc.i4.1 -IL_00c6: dup -IL_00c7: stloc.0 -IL_00c8: stfld int32 Example/'d__6'::'<>1__state' -IL_00cd: ldarg.0 -IL_00ce: ldloc.s V_4 -IL_00d0: stfld valuetype [mscorlib]System.Runtime.CompilerServices.TaskAwaiter Example/'d__6'::'<>u__2' -IL_00d5: ldarg.0 -IL_00d6: stloc.3 -IL_00d7: ldarg.0 -IL_00d8: ldflda valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__6'::'<>t__builder' -IL_00dd: ldloca.s V_4 -IL_00df: ldloca.s V_3 -IL_00e1: call instance void valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::AwaitUnsafeOnCompletedd__6'>(!!0&, -!!1&) -IL_00e6: nop -IL_00e7: leave IL_01ff -IL_00ec: ldarg.0 -IL_00ed: ldfld valuetype [mscorlib]System.Runtime.CompilerServices.TaskAwaiter Example/'d__6'::'<>u__2' -IL_00f2: stloc.s V_4 -IL_00f4: ldarg.0 -IL_00f5: ldflda valuetype [mscorlib]System.Runtime.CompilerServices.TaskAwaiter Example/'d__6'::'<>u__2' -IL_00fa: initobj [mscorlib]System.Runtime.CompilerServices.TaskAwaiter -IL_0100: ldarg.0 -IL_0101: ldc.i4.m1 -IL_0102: dup -IL_0103: stloc.0 -IL_0104: stfld int32 Example/'d__6'::'<>1__state' -IL_0109: ldloca.s V_4 -IL_010b: call instance void [mscorlib]System.Runtime.CompilerServices.TaskAwaiter::GetResult() -IL_0110: nop -IL_0111: ldarg.0 -IL_0112: ldarg.0 -IL_0113: ldfld int32 Example/'d__6'::'5__2' -IL_0118: stfld int32 Example/'d__6'::'<>s__5' -IL_011d: ldarg.0 -IL_011e: ldfld int32 Example/'d__6'::'5__4' -IL_0123: call class [mscorlib]System.Threading.Tasks.Task`1 [mscorlib]System.Threading.Tasks.Task::FromResult(!!0) -IL_0128: callvirt instance valuetype [mscorlib]System.Runtime.CompilerServices.TaskAwaiter`1 class [mscorlib]System.Threading.Tasks.Task`1::GetAwaiter() -IL_012d: stloc.s V_5 -IL_012f: ldloca.s V_5 -IL_0131: call instance bool valuetype [mscorlib]System.Runtime.CompilerServices.TaskAwaiter`1::get_IsCompleted() -IL_0136: brtrue.s IL_017d -IL_0138: ldarg.0 -IL_0139: ldc.i4.2 -IL_013a: dup -IL_013b: stloc.0 -IL_013c: stfld int32 Example/'d__6'::'<>1__state' -IL_0141: ldarg.0 -IL_0142: ldloc.s V_5 -IL_0144: stfld valuetype [mscorlib]System.Runtime.CompilerServices.TaskAwaiter`1 Example/'d__6'::'<>u__1' -IL_0149: ldarg.0 -IL_014a: stloc.3 -IL_014b: ldarg.0 -IL_014c: ldflda valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__6'::'<>t__builder' -IL_0151: ldloca.s V_5 -IL_0153: ldloca.s V_3 -IL_0155: call instance void valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::AwaitUnsafeOnCompleted,class Example/'d__6'>(!!0&, -!!1&) -IL_015a: nop -IL_015b: leave IL_01ff -IL_0160: ldarg.0 -IL_0161: ldfld valuetype [mscorlib]System.Runtime.CompilerServices.TaskAwaiter`1 Example/'d__6'::'<>u__1' -IL_0166: stloc.s V_5 -IL_0168: ldarg.0 -IL_0169: ldflda valuetype [mscorlib]System.Runtime.CompilerServices.TaskAwaiter`1 Example/'d__6'::'<>u__1' -IL_016e: initobj valuetype [mscorlib]System.Runtime.CompilerServices.TaskAwaiter`1 -IL_0174: ldarg.0 -IL_0175: ldc.i4.m1 -IL_0176: dup -IL_0177: stloc.0 -IL_0178: stfld int32 Example/'d__6'::'<>1__state' -IL_017d: ldarg.0 -IL_017e: ldloca.s V_5 -IL_0180: call instance !0 valuetype [mscorlib]System.Runtime.CompilerServices.TaskAwaiter`1::GetResult() -IL_0185: stfld int32 Example/'d__6'::'<>s__6' -IL_018a: ldarg.0 -IL_018b: ldarg.0 -IL_018c: ldfld int32 Example/'d__6'::'<>s__5' -IL_0191: ldarg.0 -IL_0192: ldfld int32 Example/'d__6'::'<>s__6' -IL_0197: add -IL_0198: stfld int32 Example/'d__6'::'5__2' -IL_019d: nop -IL_019e: ldarg.0 -IL_019f: ldfld int32 Example/'d__6'::'5__4' -IL_01a4: stloc.s V_6 -IL_01a6: ldarg.0 -IL_01a7: ldloc.s V_6 -IL_01a9: ldc.i4.1 -IL_01aa: add -IL_01ab: stfld int32 Example/'d__6'::'5__4' -IL_01b0: ldarg.0 -IL_01b1: ldfld int32 Example/'d__6'::'5__4' -IL_01b6: ldarg.0 -IL_01b7: ldfld int32 Example/'d__6'::'5__1' -IL_01bc: clt -IL_01be: stloc.s V_7 -IL_01c0: ldloc.s V_7 -IL_01c2: brtrue IL_00ad -IL_01c7: ldarg.0 -IL_01c8: ldfld int32 Example/'d__6'::'5__2' -IL_01cd: stloc.1 -IL_01ce: leave.s IL_01ea -} // end .try -catch [mscorlib]System.Exception -{ -IL_01d0: stloc.s V_8 -IL_01d2: ldarg.0 -IL_01d3: ldc.i4.s -2 -IL_01d5: stfld int32 Example/'d__6'::'<>1__state' -IL_01da: ldarg.0 -IL_01db: ldflda valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__6'::'<>t__builder' -IL_01e0: ldloc.s V_8 -IL_01e2: call instance void valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetException(class [mscorlib]System.Exception) -IL_01e7: nop -IL_01e8: leave.s IL_01ff -} // end handler -IL_01ea: ldarg.0 -IL_01eb: ldc.i4.s -2 -IL_01ed: stfld int32 Example/'d__6'::'<>1__state' -IL_01f2: ldarg.0 -IL_01f3: ldflda valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__6'::'<>t__builder' -IL_01f8: ldloc.1 -IL_01f9: call instance void valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetResult(!0) -IL_01fe: nop -IL_01ff: ret -} -.method private hidebysig newslot virtual final -instance void SetStateMachine(class [mscorlib]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed -{ -.param [1] -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.override [mscorlib]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine -.maxstack 8 -IL_0000: ret -} -} -.class auto ansi sealed nested private beforefieldinit 'd__7' -extends [mscorlib]System.Object -implements [mscorlib]System.Runtime.CompilerServices.IAsyncStateMachine -{ -.interfaceimpl type [mscorlib]System.Runtime.CompilerServices.IAsyncStateMachine -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field public int32 '<>1__state' -.field public valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 '<>t__builder' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field public class Example '<>4__this' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field private int32 '5__1' -.field private int32 '5__2' -.field private int32 '<>s__3' -.field private int32 '5__4' -.field private int32 '<>s__5' -.field private int32 '<>s__6' -.field private valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter '<>u__1' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field private valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter '<>u__2' -.method public hidebysig specialname rtspecialname -instance void .ctor() cil managed -{ -.maxstack 8 -IL_0000: ldarg.0 -IL_0001: call instance void [mscorlib]System.Object::.ctor() -IL_0006: nop -IL_0007: ret -} -.method private hidebysig newslot virtual final -instance void MoveNext() cil managed -{ -.override [mscorlib]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext -.maxstack 3 -.locals init (int32 V_0, -int32 V_1, -valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter V_2, -valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1 V_3, -class Example/'d__7' V_4, -valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable V_5, -valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1 V_6, -valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter V_7, -valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter V_8, -int32 V_9, -bool V_10, -class [mscorlib]System.Exception V_11) -IL_0000: ldarg.0 -IL_0001: ldfld int32 Example/'d__7'::'<>1__state' -IL_0006: stloc.0 -.try -{ -IL_0007: ldloc.0 -IL_0008: switch ( -IL_001b, -IL_001d, -IL_0022) -IL_0019: br.s IL_0027 -IL_001b: br.s IL_006f -IL_001d: br IL_0101 -IL_0022: br IL_0180 -IL_0027: nop -IL_0028: ldc.i4.s 10 -IL_002a: call class [mscorlib]System.Threading.Tasks.Task`1 [mscorlib]System.Threading.Tasks.Task::FromResult(!!0) -IL_002f: ldc.i4.0 -IL_0030: callvirt instance valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1 class [mscorlib]System.Threading.Tasks.Task`1::ConfigureAwait(bool) -IL_0035: stloc.3 -IL_0036: ldloca.s V_3 -IL_0038: call instance valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1::GetAwaiter() -IL_003d: stloc.2 -IL_003e: ldloca.s V_2 -IL_0040: call instance bool valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter::get_IsCompleted() -IL_0045: brtrue.s IL_008b -IL_0047: ldarg.0 -IL_0048: ldc.i4.0 -IL_0049: dup -IL_004a: stloc.0 -IL_004b: stfld int32 Example/'d__7'::'<>1__state' -IL_0050: ldarg.0 -IL_0051: ldloc.2 -IL_0052: stfld valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter Example/'d__7'::'<>u__1' -IL_0057: ldarg.0 -IL_0058: stloc.s V_4 -IL_005a: ldarg.0 -IL_005b: ldflda valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__7'::'<>t__builder' -IL_0060: ldloca.s V_2 -IL_0062: ldloca.s V_4 -IL_0064: call instance void valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::AwaitUnsafeOnCompleted,class Example/'d__7'>(!!0&, -!!1&) -IL_0069: nop -IL_006a: leave IL_021f -IL_006f: ldarg.0 -IL_0070: ldfld valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter Example/'d__7'::'<>u__1' -IL_0075: stloc.2 -IL_0076: ldarg.0 -IL_0077: ldflda valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter Example/'d__7'::'<>u__1' -IL_007c: initobj valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter -IL_0082: ldarg.0 -IL_0083: ldc.i4.m1 -IL_0084: dup -IL_0085: stloc.0 -IL_0086: stfld int32 Example/'d__7'::'<>1__state' -IL_008b: ldarg.0 -IL_008c: ldloca.s V_2 -IL_008e: call instance !0 valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter::GetResult() -IL_0093: stfld int32 Example/'d__7'::'<>s__3' -IL_0098: ldarg.0 -IL_0099: ldarg.0 -IL_009a: ldfld int32 Example/'d__7'::'<>s__3' -IL_009f: stfld int32 Example/'d__7'::'5__1' -IL_00a4: ldarg.0 -IL_00a5: ldc.i4.0 -IL_00a6: stfld int32 Example/'d__7'::'5__2' -IL_00ab: ldarg.0 -IL_00ac: ldc.i4.0 -IL_00ad: stfld int32 Example/'d__7'::'5__4' -IL_00b2: br IL_01d0 -IL_00b7: nop -IL_00b8: ldc.i4.1 -IL_00b9: call class [mscorlib]System.Threading.Tasks.Task [mscorlib]System.Threading.Tasks.Task::Delay(int32) -IL_00be: ldc.i4.0 -IL_00bf: callvirt instance valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable [mscorlib]System.Threading.Tasks.Task::ConfigureAwait(bool) -IL_00c4: stloc.s V_5 -IL_00c6: ldloca.s V_5 -IL_00c8: call instance valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable::GetAwaiter() -IL_00cd: stloc.s V_7 -IL_00cf: ldloca.s V_7 -IL_00d1: call instance bool [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter::get_IsCompleted() -IL_00d6: brtrue.s IL_011e -IL_00d8: ldarg.0 -IL_00d9: ldc.i4.1 -IL_00da: dup -IL_00db: stloc.0 -IL_00dc: stfld int32 Example/'d__7'::'<>1__state' -IL_00e1: ldarg.0 -IL_00e2: ldloc.s V_7 -IL_00e4: stfld valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter Example/'d__7'::'<>u__2' -IL_00e9: ldarg.0 -IL_00ea: stloc.s V_4 -IL_00ec: ldarg.0 -IL_00ed: ldflda valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__7'::'<>t__builder' -IL_00f2: ldloca.s V_7 -IL_00f4: ldloca.s V_4 -IL_00f6: call instance void valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::AwaitUnsafeOnCompletedd__7'>(!!0&, -!!1&) -IL_00fb: nop -IL_00fc: leave IL_021f -IL_0101: ldarg.0 -IL_0102: ldfld valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter Example/'d__7'::'<>u__2' -IL_0107: stloc.s V_7 -IL_0109: ldarg.0 -IL_010a: ldflda valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter Example/'d__7'::'<>u__2' -IL_010f: initobj [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter -IL_0115: ldarg.0 -IL_0116: ldc.i4.m1 -IL_0117: dup -IL_0118: stloc.0 -IL_0119: stfld int32 Example/'d__7'::'<>1__state' -IL_011e: ldloca.s V_7 -IL_0120: call instance void [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter::GetResult() -IL_0125: nop -IL_0126: ldarg.0 -IL_0127: ldarg.0 -IL_0128: ldfld int32 Example/'d__7'::'5__2' -IL_012d: stfld int32 Example/'d__7'::'<>s__5' -IL_0132: ldarg.0 -IL_0133: ldfld int32 Example/'d__7'::'5__4' -IL_0138: call class [mscorlib]System.Threading.Tasks.Task`1 [mscorlib]System.Threading.Tasks.Task::FromResult(!!0) -IL_013d: ldc.i4.0 -IL_013e: callvirt instance valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1 class [mscorlib]System.Threading.Tasks.Task`1::ConfigureAwait(bool) -IL_0143: stloc.s V_6 -IL_0145: ldloca.s V_6 -IL_0147: call instance valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1::GetAwaiter() -IL_014c: stloc.s V_8 -IL_014e: ldloca.s V_8 -IL_0150: call instance bool valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter::get_IsCompleted() -IL_0155: brtrue.s IL_019d -IL_0157: ldarg.0 -IL_0158: ldc.i4.2 -IL_0159: dup -IL_015a: stloc.0 -IL_015b: stfld int32 Example/'d__7'::'<>1__state' -IL_0160: ldarg.0 -IL_0161: ldloc.s V_8 -IL_0163: stfld valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter Example/'d__7'::'<>u__1' -IL_0168: ldarg.0 -IL_0169: stloc.s V_4 -IL_016b: ldarg.0 -IL_016c: ldflda valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__7'::'<>t__builder' -IL_0171: ldloca.s V_8 -IL_0173: ldloca.s V_4 -IL_0175: call instance void valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::AwaitUnsafeOnCompleted,class Example/'d__7'>(!!0&, -!!1&) -IL_017a: nop -IL_017b: leave IL_021f -IL_0180: ldarg.0 -IL_0181: ldfld valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter Example/'d__7'::'<>u__1' -IL_0186: stloc.s V_8 -IL_0188: ldarg.0 -IL_0189: ldflda valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter Example/'d__7'::'<>u__1' -IL_018e: initobj valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter -IL_0194: ldarg.0 -IL_0195: ldc.i4.m1 -IL_0196: dup -IL_0197: stloc.0 -IL_0198: stfld int32 Example/'d__7'::'<>1__state' -IL_019d: ldarg.0 -IL_019e: ldloca.s V_8 -IL_01a0: call instance !0 valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter::GetResult() -IL_01a5: stfld int32 Example/'d__7'::'<>s__6' -IL_01aa: ldarg.0 -IL_01ab: ldarg.0 -IL_01ac: ldfld int32 Example/'d__7'::'<>s__5' -IL_01b1: ldarg.0 -IL_01b2: ldfld int32 Example/'d__7'::'<>s__6' -IL_01b7: add -IL_01b8: stfld int32 Example/'d__7'::'5__2' -IL_01bd: nop -IL_01be: ldarg.0 -IL_01bf: ldfld int32 Example/'d__7'::'5__4' -IL_01c4: stloc.s V_9 -IL_01c6: ldarg.0 -IL_01c7: ldloc.s V_9 -IL_01c9: ldc.i4.1 -IL_01ca: add -IL_01cb: stfld int32 Example/'d__7'::'5__4' -IL_01d0: ldarg.0 -IL_01d1: ldfld int32 Example/'d__7'::'5__4' -IL_01d6: ldarg.0 -IL_01d7: ldfld int32 Example/'d__7'::'5__1' -IL_01dc: clt -IL_01de: stloc.s V_10 -IL_01e0: ldloc.s V_10 -IL_01e2: brtrue IL_00b7 -IL_01e7: ldarg.0 -IL_01e8: ldfld int32 Example/'d__7'::'5__2' -IL_01ed: stloc.1 -IL_01ee: leave.s IL_020a -} // end .try -catch [mscorlib]System.Exception -{ -IL_01f0: stloc.s V_11 -IL_01f2: ldarg.0 -IL_01f3: ldc.i4.s -2 -IL_01f5: stfld int32 Example/'d__7'::'<>1__state' -IL_01fa: ldarg.0 -IL_01fb: ldflda valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__7'::'<>t__builder' -IL_0200: ldloc.s V_11 -IL_0202: call instance void valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetException(class [mscorlib]System.Exception) -IL_0207: nop -IL_0208: leave.s IL_021f -} // end handler -IL_020a: ldarg.0 -IL_020b: ldc.i4.s -2 -IL_020d: stfld int32 Example/'d__7'::'<>1__state' -IL_0212: ldarg.0 -IL_0213: ldflda valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__7'::'<>t__builder' -IL_0218: ldloc.1 -IL_0219: call instance void valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetResult(!0) -IL_021e: nop -IL_021f: ret -} -.method private hidebysig newslot virtual final -instance void SetStateMachine(class [mscorlib]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed -{ -.param [1] -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.override [mscorlib]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine -.maxstack 8 -IL_0000: ret -} -} -.class auto ansi sealed nested private beforefieldinit 'd__8' -extends [mscorlib]System.Object -implements [mscorlib]System.Runtime.CompilerServices.IAsyncStateMachine -{ -.interfaceimpl type [mscorlib]System.Runtime.CompilerServices.IAsyncStateMachine -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field public int32 '<>1__state' -.field public valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 '<>t__builder' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field public class Example '<>4__this' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field private int32 '5__1' -.field private int32 '5__2' -.field private int32 '<>s__3' -.field private int32 '5__4' -.field private int32 '<>s__5' -.field private int32 '<>s__6' -.field private valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter '<>u__1' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field private valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter '<>u__2' -.method public hidebysig specialname rtspecialname -instance void .ctor() cil managed -{ -.maxstack 8 -IL_0000: ldarg.0 -IL_0001: call instance void [mscorlib]System.Object::.ctor() -IL_0006: nop -IL_0007: ret -} -.method private hidebysig newslot virtual final -instance void MoveNext() cil managed -{ -.override [mscorlib]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext -.maxstack 3 -.locals init (int32 V_0, -int32 V_1, -valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter V_2, -valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1 V_3, -class Example/'d__8' V_4, -valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter V_5, -valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable V_6, -valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter V_7, -int32 V_8, -bool V_9, -class [mscorlib]System.Exception V_10) -IL_0000: ldarg.0 -IL_0001: ldfld int32 Example/'d__8'::'<>1__state' -IL_0006: stloc.0 -.try -{ -IL_0007: ldloc.0 -IL_0008: switch ( -IL_001b, -IL_001d, -IL_0022) -IL_0019: br.s IL_0027 -IL_001b: br.s IL_006f -IL_001d: br IL_0101 -IL_0022: br IL_017f -IL_0027: nop -IL_0028: ldc.i4.s 10 -IL_002a: call class [mscorlib]System.Threading.Tasks.Task`1 [mscorlib]System.Threading.Tasks.Task::FromResult(!!0) -IL_002f: ldc.i4.0 -IL_0030: callvirt instance valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1 class [mscorlib]System.Threading.Tasks.Task`1::ConfigureAwait(bool) -IL_0035: stloc.3 -IL_0036: ldloca.s V_3 -IL_0038: call instance valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1::GetAwaiter() -IL_003d: stloc.2 -IL_003e: ldloca.s V_2 -IL_0040: call instance bool valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter::get_IsCompleted() -IL_0045: brtrue.s IL_008b -IL_0047: ldarg.0 -IL_0048: ldc.i4.0 -IL_0049: dup -IL_004a: stloc.0 -IL_004b: stfld int32 Example/'d__8'::'<>1__state' -IL_0050: ldarg.0 -IL_0051: ldloc.2 -IL_0052: stfld valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter Example/'d__8'::'<>u__1' -IL_0057: ldarg.0 -IL_0058: stloc.s V_4 -IL_005a: ldarg.0 -IL_005b: ldflda valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__8'::'<>t__builder' -IL_0060: ldloca.s V_2 -IL_0062: ldloca.s V_4 -IL_0064: call instance void valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::AwaitUnsafeOnCompleted,class Example/'d__8'>(!!0&, -!!1&) -IL_0069: nop -IL_006a: leave IL_021e -IL_006f: ldarg.0 -IL_0070: ldfld valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter Example/'d__8'::'<>u__1' -IL_0075: stloc.2 -IL_0076: ldarg.0 -IL_0077: ldflda valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter Example/'d__8'::'<>u__1' -IL_007c: initobj valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter -IL_0082: ldarg.0 -IL_0083: ldc.i4.m1 -IL_0084: dup -IL_0085: stloc.0 -IL_0086: stfld int32 Example/'d__8'::'<>1__state' -IL_008b: ldarg.0 -IL_008c: ldloca.s V_2 -IL_008e: call instance !0 valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter::GetResult() -IL_0093: stfld int32 Example/'d__8'::'<>s__3' -IL_0098: ldarg.0 -IL_0099: ldarg.0 -IL_009a: ldfld int32 Example/'d__8'::'<>s__3' -IL_009f: stfld int32 Example/'d__8'::'5__1' -IL_00a4: ldarg.0 -IL_00a5: ldc.i4.0 -IL_00a6: stfld int32 Example/'d__8'::'5__2' -IL_00ab: ldarg.0 -IL_00ac: ldc.i4.0 -IL_00ad: stfld int32 Example/'d__8'::'5__4' -IL_00b2: br IL_01cf -IL_00b7: nop -IL_00b8: ldc.i4.1 -IL_00b9: call class [mscorlib]System.Threading.Tasks.Task [mscorlib]System.Threading.Tasks.Task::Delay(int32) -IL_00be: ldc.i4.0 -IL_00bf: callvirt instance valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable [mscorlib]System.Threading.Tasks.Task::ConfigureAwait(bool) -IL_00c4: stloc.s V_6 -IL_00c6: ldloca.s V_6 -IL_00c8: call instance valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable::GetAwaiter() -IL_00cd: stloc.s V_5 -IL_00cf: ldloca.s V_5 -IL_00d1: call instance bool [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter::get_IsCompleted() -IL_00d6: brtrue.s IL_011e -IL_00d8: ldarg.0 -IL_00d9: ldc.i4.1 -IL_00da: dup -IL_00db: stloc.0 -IL_00dc: stfld int32 Example/'d__8'::'<>1__state' -IL_00e1: ldarg.0 -IL_00e2: ldloc.s V_5 -IL_00e4: stfld valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter Example/'d__8'::'<>u__2' -IL_00e9: ldarg.0 -IL_00ea: stloc.s V_4 -IL_00ec: ldarg.0 -IL_00ed: ldflda valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__8'::'<>t__builder' -IL_00f2: ldloca.s V_5 -IL_00f4: ldloca.s V_4 -IL_00f6: call instance void valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::AwaitUnsafeOnCompletedd__8'>(!!0&, -!!1&) -IL_00fb: nop -IL_00fc: leave IL_021e -IL_0101: ldarg.0 -IL_0102: ldfld valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter Example/'d__8'::'<>u__2' -IL_0107: stloc.s V_5 -IL_0109: ldarg.0 -IL_010a: ldflda valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter Example/'d__8'::'<>u__2' -IL_010f: initobj [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter -IL_0115: ldarg.0 -IL_0116: ldc.i4.m1 -IL_0117: dup -IL_0118: stloc.0 -IL_0119: stfld int32 Example/'d__8'::'<>1__state' -IL_011e: ldloca.s V_5 -IL_0120: call instance void [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter::GetResult() -IL_0125: nop -IL_0126: ldarg.0 -IL_0127: ldarg.0 -IL_0128: ldfld int32 Example/'d__8'::'5__2' -IL_012d: stfld int32 Example/'d__8'::'<>s__5' -IL_0132: ldarg.0 -IL_0133: ldfld int32 Example/'d__8'::'5__4' -IL_0138: call class [mscorlib]System.Threading.Tasks.Task`1 [mscorlib]System.Threading.Tasks.Task::FromResult(!!0) -IL_013d: ldc.i4.0 -IL_013e: callvirt instance valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1 class [mscorlib]System.Threading.Tasks.Task`1::ConfigureAwait(bool) -IL_0143: stloc.3 -IL_0144: ldloca.s V_3 -IL_0146: call instance valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1::GetAwaiter() -IL_014b: stloc.s V_7 -IL_014d: ldloca.s V_7 -IL_014f: call instance bool valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter::get_IsCompleted() -IL_0154: brtrue.s IL_019c -IL_0156: ldarg.0 -IL_0157: ldc.i4.2 -IL_0158: dup -IL_0159: stloc.0 -IL_015a: stfld int32 Example/'d__8'::'<>1__state' -IL_015f: ldarg.0 -IL_0160: ldloc.s V_7 -IL_0162: stfld valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter Example/'d__8'::'<>u__1' -IL_0167: ldarg.0 -IL_0168: stloc.s V_4 -IL_016a: ldarg.0 -IL_016b: ldflda valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__8'::'<>t__builder' -IL_0170: ldloca.s V_7 -IL_0172: ldloca.s V_4 -IL_0174: call instance void valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::AwaitUnsafeOnCompleted,class Example/'d__8'>(!!0&, -!!1&) -IL_0179: nop -IL_017a: leave IL_021e -IL_017f: ldarg.0 -IL_0180: ldfld valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter Example/'d__8'::'<>u__1' -IL_0185: stloc.s V_7 -IL_0187: ldarg.0 -IL_0188: ldflda valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter Example/'d__8'::'<>u__1' -IL_018d: initobj valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter -IL_0193: ldarg.0 -IL_0194: ldc.i4.m1 -IL_0195: dup -IL_0196: stloc.0 -IL_0197: stfld int32 Example/'d__8'::'<>1__state' -IL_019c: ldarg.0 -IL_019d: ldloca.s V_7 -IL_019f: call instance !0 valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter::GetResult() -IL_01a4: stfld int32 Example/'d__8'::'<>s__6' -IL_01a9: ldarg.0 -IL_01aa: ldarg.0 -IL_01ab: ldfld int32 Example/'d__8'::'<>s__5' -IL_01b0: ldarg.0 -IL_01b1: ldfld int32 Example/'d__8'::'<>s__6' -IL_01b6: add -IL_01b7: stfld int32 Example/'d__8'::'5__2' -IL_01bc: nop -IL_01bd: ldarg.0 -IL_01be: ldfld int32 Example/'d__8'::'5__4' -IL_01c3: stloc.s V_8 -IL_01c5: ldarg.0 -IL_01c6: ldloc.s V_8 -IL_01c8: ldc.i4.1 -IL_01c9: add -IL_01ca: stfld int32 Example/'d__8'::'5__4' -IL_01cf: ldarg.0 -IL_01d0: ldfld int32 Example/'d__8'::'5__4' -IL_01d5: ldarg.0 -IL_01d6: ldfld int32 Example/'d__8'::'5__1' -IL_01db: clt -IL_01dd: stloc.s V_9 -IL_01df: ldloc.s V_9 -IL_01e1: brtrue IL_00b7 -IL_01e6: ldarg.0 -IL_01e7: ldfld int32 Example/'d__8'::'5__2' -IL_01ec: stloc.1 -IL_01ed: leave.s IL_0209 -} // end .try -catch [mscorlib]System.Exception -{ -IL_01ef: stloc.s V_10 -IL_01f1: ldarg.0 -IL_01f2: ldc.i4.s -2 -IL_01f4: stfld int32 Example/'d__8'::'<>1__state' -IL_01f9: ldarg.0 -IL_01fa: ldflda valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__8'::'<>t__builder' -IL_01ff: ldloc.s V_10 -IL_0201: call instance void valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetException(class [mscorlib]System.Exception) -IL_0206: nop -IL_0207: leave.s IL_021e -} // end handler -IL_0209: ldarg.0 -IL_020a: ldc.i4.s -2 -IL_020c: stfld int32 Example/'d__8'::'<>1__state' -IL_0211: ldarg.0 -IL_0212: ldflda valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__8'::'<>t__builder' -IL_0217: ldloc.1 -IL_0218: call instance void valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetResult(!0) -IL_021d: nop -IL_021e: ret -} -.method private hidebysig newslot virtual final -instance void SetStateMachine(class [mscorlib]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed -{ -.param [1] -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.override [mscorlib]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine -.maxstack 8 -IL_0000: ret -} -} -.method public hidebysig instance class [mscorlib]System.Threading.Tasks.Task -AsyncMethod1() cil managed -{ -63 4D 65 74 68 6F 64 31 3E 64 5F 5F 30 00 00 ) // cMethod1>d__0.. -.maxstack 2 -.locals init (class Example/'d__0' V_0) -IL_0000: newobj instance void Example/'d__0'::.ctor() -IL_0005: stloc.0 -IL_0006: ldloc.0 -IL_0007: call valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Create() -IL_000c: stfld valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Example/'d__0'::'<>t__builder' -IL_0011: ldloc.0 -IL_0012: ldarg.0 -IL_0013: stfld class Example Example/'d__0'::'<>4__this' -IL_0018: ldloc.0 -IL_0019: ldc.i4.m1 -IL_001a: stfld int32 Example/'d__0'::'<>1__state' -IL_001f: ldloc.0 -IL_0020: ldflda valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Example/'d__0'::'<>t__builder' -IL_0025: ldloca.s V_0 -IL_0027: call instance void [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Startd__0'>(!!0&) -IL_002c: ldloc.0 -IL_002d: ldflda valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Example/'d__0'::'<>t__builder' -IL_0032: call instance class [mscorlib]System.Threading.Tasks.Task [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::get_Task() -IL_0037: ret -} -.method public hidebysig instance class [mscorlib]System.Threading.Tasks.Task -AsyncMethod2() cil managed -{ -63 4D 65 74 68 6F 64 32 3E 64 5F 5F 31 00 00 ) // cMethod2>d__1.. -.maxstack 2 -.locals init (class Example/'d__1' V_0) -IL_0000: newobj instance void Example/'d__1'::.ctor() -IL_0005: stloc.0 -IL_0006: ldloc.0 -IL_0007: call valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Create() -IL_000c: stfld valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Example/'d__1'::'<>t__builder' -IL_0011: ldloc.0 -IL_0012: ldarg.0 -IL_0013: stfld class Example Example/'d__1'::'<>4__this' -IL_0018: ldloc.0 -IL_0019: ldc.i4.m1 -IL_001a: stfld int32 Example/'d__1'::'<>1__state' -IL_001f: ldloc.0 -IL_0020: ldflda valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Example/'d__1'::'<>t__builder' -IL_0025: ldloca.s V_0 -IL_0027: call instance void [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Startd__1'>(!!0&) -IL_002c: ldloc.0 -IL_002d: ldflda valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Example/'d__1'::'<>t__builder' -IL_0032: call instance class [mscorlib]System.Threading.Tasks.Task [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::get_Task() -IL_0037: ret -} -.method public hidebysig instance class [mscorlib]System.Threading.Tasks.Task -AsyncMethod3() cil managed -{ -63 4D 65 74 68 6F 64 33 3E 64 5F 5F 32 00 00 ) // cMethod3>d__2.. -.maxstack 2 -.locals init (class Example/'d__2' V_0) -IL_0000: newobj instance void Example/'d__2'::.ctor() -IL_0005: stloc.0 -IL_0006: ldloc.0 -IL_0007: call valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Create() -IL_000c: stfld valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Example/'d__2'::'<>t__builder' -IL_0011: ldloc.0 -IL_0012: ldarg.0 -IL_0013: stfld class Example Example/'d__2'::'<>4__this' -IL_0018: ldloc.0 -IL_0019: ldc.i4.m1 -IL_001a: stfld int32 Example/'d__2'::'<>1__state' -IL_001f: ldloc.0 -IL_0020: ldflda valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Example/'d__2'::'<>t__builder' -IL_0025: ldloca.s V_0 -IL_0027: call instance void [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Startd__2'>(!!0&) -IL_002c: ldloc.0 -IL_002d: ldflda valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Example/'d__2'::'<>t__builder' -IL_0032: call instance class [mscorlib]System.Threading.Tasks.Task [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::get_Task() -IL_0037: ret -} -.method public hidebysig instance class [mscorlib]System.Threading.Tasks.Task`1 -AsyncMethod4() cil managed -{ -63 4D 65 74 68 6F 64 34 3E 64 5F 5F 33 00 00 ) // cMethod4>d__3.. -.maxstack 2 -.locals init (class Example/'d__3' V_0) -IL_0000: newobj instance void Example/'d__3'::.ctor() -IL_0005: stloc.0 -IL_0006: ldloc.0 -IL_0007: call valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::Create() -IL_000c: stfld valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__3'::'<>t__builder' -IL_0011: ldloc.0 -IL_0012: ldarg.0 -IL_0013: stfld class Example Example/'d__3'::'<>4__this' -IL_0018: ldloc.0 -IL_0019: ldc.i4.m1 -IL_001a: stfld int32 Example/'d__3'::'<>1__state' -IL_001f: ldloc.0 -IL_0020: ldflda valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__3'::'<>t__builder' -IL_0025: ldloca.s V_0 -IL_0027: call instance void valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::Startd__3'>(!!0&) -IL_002c: ldloc.0 -IL_002d: ldflda valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__3'::'<>t__builder' -IL_0032: call instance class [mscorlib]System.Threading.Tasks.Task`1 valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::get_Task() -IL_0037: ret -} -.method public hidebysig instance class [mscorlib]System.Threading.Tasks.Task`1 -AsyncMethod5() cil managed -{ -63 4D 65 74 68 6F 64 35 3E 64 5F 5F 34 00 00 ) // cMethod5>d__4.. -.maxstack 2 -.locals init (class Example/'d__4' V_0) -IL_0000: newobj instance void Example/'d__4'::.ctor() -IL_0005: stloc.0 -IL_0006: ldloc.0 -IL_0007: call valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::Create() -IL_000c: stfld valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__4'::'<>t__builder' -IL_0011: ldloc.0 -IL_0012: ldarg.0 -IL_0013: stfld class Example Example/'d__4'::'<>4__this' -IL_0018: ldloc.0 -IL_0019: ldc.i4.m1 -IL_001a: stfld int32 Example/'d__4'::'<>1__state' -IL_001f: ldloc.0 -IL_0020: ldflda valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__4'::'<>t__builder' -IL_0025: ldloca.s V_0 -IL_0027: call instance void valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::Startd__4'>(!!0&) -IL_002c: ldloc.0 -IL_002d: ldflda valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__4'::'<>t__builder' -IL_0032: call instance class [mscorlib]System.Threading.Tasks.Task`1 valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::get_Task() -IL_0037: ret -} -.method public hidebysig instance class [mscorlib]System.Threading.Tasks.Task`1 -AsyncMethod6() cil managed -{ -63 4D 65 74 68 6F 64 36 3E 64 5F 5F 35 00 00 ) // cMethod6>d__5.. -.maxstack 2 -.locals init (class Example/'d__5' V_0) -IL_0000: newobj instance void Example/'d__5'::.ctor() -IL_0005: stloc.0 -IL_0006: ldloc.0 -IL_0007: call valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::Create() -IL_000c: stfld valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__5'::'<>t__builder' -IL_0011: ldloc.0 -IL_0012: ldarg.0 -IL_0013: stfld class Example Example/'d__5'::'<>4__this' -IL_0018: ldloc.0 -IL_0019: ldc.i4.m1 -IL_001a: stfld int32 Example/'d__5'::'<>1__state' -IL_001f: ldloc.0 -IL_0020: ldflda valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__5'::'<>t__builder' -IL_0025: ldloca.s V_0 -IL_0027: call instance void valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::Startd__5'>(!!0&) -IL_002c: ldloc.0 -IL_002d: ldflda valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__5'::'<>t__builder' -IL_0032: call instance class [mscorlib]System.Threading.Tasks.Task`1 valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::get_Task() -IL_0037: ret -} -.method public hidebysig instance class [mscorlib]System.Threading.Tasks.Task`1 -AsyncMethod7() cil managed -{ -63 4D 65 74 68 6F 64 37 3E 64 5F 5F 36 00 00 ) // cMethod7>d__6.. -.maxstack 2 -.locals init (class Example/'d__6' V_0) -IL_0000: newobj instance void Example/'d__6'::.ctor() -IL_0005: stloc.0 -IL_0006: ldloc.0 -IL_0007: call valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::Create() -IL_000c: stfld valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__6'::'<>t__builder' -IL_0011: ldloc.0 -IL_0012: ldarg.0 -IL_0013: stfld class Example Example/'d__6'::'<>4__this' -IL_0018: ldloc.0 -IL_0019: ldc.i4.m1 -IL_001a: stfld int32 Example/'d__6'::'<>1__state' -IL_001f: ldloc.0 -IL_0020: ldflda valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__6'::'<>t__builder' -IL_0025: ldloca.s V_0 -IL_0027: call instance void valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::Startd__6'>(!!0&) -IL_002c: ldloc.0 -IL_002d: ldflda valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__6'::'<>t__builder' -IL_0032: call instance class [mscorlib]System.Threading.Tasks.Task`1 valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::get_Task() -IL_0037: ret -} -.method public hidebysig instance class [mscorlib]System.Threading.Tasks.Task`1 -AsyncMethod8() cil managed -{ -63 4D 65 74 68 6F 64 38 3E 64 5F 5F 37 00 00 ) // cMethod8>d__7.. -.maxstack 2 -.locals init (class Example/'d__7' V_0) -IL_0000: newobj instance void Example/'d__7'::.ctor() -IL_0005: stloc.0 -IL_0006: ldloc.0 -IL_0007: call valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::Create() -IL_000c: stfld valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__7'::'<>t__builder' -IL_0011: ldloc.0 -IL_0012: ldarg.0 -IL_0013: stfld class Example Example/'d__7'::'<>4__this' -IL_0018: ldloc.0 -IL_0019: ldc.i4.m1 -IL_001a: stfld int32 Example/'d__7'::'<>1__state' -IL_001f: ldloc.0 -IL_0020: ldflda valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__7'::'<>t__builder' -IL_0025: ldloca.s V_0 -IL_0027: call instance void valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::Startd__7'>(!!0&) -IL_002c: ldloc.0 -IL_002d: ldflda valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__7'::'<>t__builder' -IL_0032: call instance class [mscorlib]System.Threading.Tasks.Task`1 valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::get_Task() -IL_0037: ret -} -.method public hidebysig instance class [mscorlib]System.Threading.Tasks.Task`1 -AsyncMethod9() cil managed -{ -63 4D 65 74 68 6F 64 39 3E 64 5F 5F 38 00 00 ) // cMethod9>d__8.. -.maxstack 2 -.locals init (class Example/'d__8' V_0) -IL_0000: newobj instance void Example/'d__8'::.ctor() -IL_0005: stloc.0 -IL_0006: ldloc.0 -IL_0007: call valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::Create() -IL_000c: stfld valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__8'::'<>t__builder' -IL_0011: ldloc.0 -IL_0012: ldarg.0 -IL_0013: stfld class Example Example/'d__8'::'<>4__this' -IL_0018: ldloc.0 -IL_0019: ldc.i4.m1 -IL_001a: stfld int32 Example/'d__8'::'<>1__state' -IL_001f: ldloc.0 -IL_0020: ldflda valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__8'::'<>t__builder' -IL_0025: ldloca.s V_0 -IL_0027: call instance void valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::Startd__8'>(!!0&) -IL_002c: ldloc.0 -IL_002d: ldflda valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__8'::'<>t__builder' -IL_0032: call instance class [mscorlib]System.Threading.Tasks.Task`1 valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::get_Task() -IL_0037: ret -} -.method public hidebysig instance class [mscorlib]System.Threading.Tasks.Task`1 -AsyncMethod10() cil managed -{ -63 4D 65 74 68 6F 64 31 30 3E 64 5F 5F 39 00 00 ) // cMethod10>d__9.. -.maxstack 2 -.locals init (class Example/'d__9' V_0) -IL_0000: newobj instance void Example/'d__9'::.ctor() -IL_0005: stloc.0 -IL_0006: ldloc.0 -IL_0007: call valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::Create() -IL_000c: stfld valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__9'::'<>t__builder' -IL_0011: ldloc.0 -IL_0012: ldarg.0 -IL_0013: stfld class Example Example/'d__9'::'<>4__this' -IL_0018: ldloc.0 -IL_0019: ldc.i4.m1 -IL_001a: stfld int32 Example/'d__9'::'<>1__state' -IL_001f: ldloc.0 -IL_0020: ldflda valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__9'::'<>t__builder' -IL_0025: ldloca.s V_0 -IL_0027: call instance void valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::Startd__9'>(!!0&) -IL_002c: ldloc.0 -IL_002d: ldflda valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__9'::'<>t__builder' -IL_0032: call instance class [mscorlib]System.Threading.Tasks.Task`1 valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::get_Task() -IL_0037: ret -} -.method public hidebysig instance class [mscorlib]System.Threading.Tasks.Task`1 -AsyncMethod11() cil managed -{ -63 4D 65 74 68 6F 64 31 31 3E 64 5F 5F 31 30 00 // cMethod11>d__10. -00 ) -.maxstack 2 -.locals init (class Example/'d__10' V_0) -IL_0000: newobj instance void Example/'d__10'::.ctor() -IL_0005: stloc.0 -IL_0006: ldloc.0 -IL_0007: call valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::Create() -IL_000c: stfld valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__10'::'<>t__builder' -IL_0011: ldloc.0 -IL_0012: ldarg.0 -IL_0013: stfld class Example Example/'d__10'::'<>4__this' -IL_0018: ldloc.0 -IL_0019: ldc.i4.m1 -IL_001a: stfld int32 Example/'d__10'::'<>1__state' -IL_001f: ldloc.0 -IL_0020: ldflda valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__10'::'<>t__builder' -IL_0025: ldloca.s V_0 -IL_0027: call instance void valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::Startd__10'>(!!0&) -IL_002c: ldloc.0 -IL_002d: ldflda valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__10'::'<>t__builder' -IL_0032: call instance class [mscorlib]System.Threading.Tasks.Task`1 valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::get_Task() -IL_0037: ret -} -.method public hidebysig instance class [mscorlib]System.Threading.Tasks.Task`1 -AsyncMethod12() cil managed -{ -63 4D 65 74 68 6F 64 31 32 3E 64 5F 5F 31 31 00 // cMethod12>d__11. -00 ) -.maxstack 2 -.locals init (class Example/'d__11' V_0) -IL_0000: newobj instance void Example/'d__11'::.ctor() -IL_0005: stloc.0 -IL_0006: ldloc.0 -IL_0007: call valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::Create() -IL_000c: stfld valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__11'::'<>t__builder' -IL_0011: ldloc.0 -IL_0012: ldarg.0 -IL_0013: stfld class Example Example/'d__11'::'<>4__this' -IL_0018: ldloc.0 -IL_0019: ldc.i4.m1 -IL_001a: stfld int32 Example/'d__11'::'<>1__state' -IL_001f: ldloc.0 -IL_0020: ldflda valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__11'::'<>t__builder' -IL_0025: ldloca.s V_0 -IL_0027: call instance void valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::Startd__11'>(!!0&) -IL_002c: ldloc.0 -IL_002d: ldflda valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__11'::'<>t__builder' -IL_0032: call instance class [mscorlib]System.Threading.Tasks.Task`1 valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::get_Task() -IL_0037: ret -} -.method public hidebysig specialname rtspecialname -instance void .ctor() cil managed -{ -.maxstack 8 -IL_0000: ldarg.0 -IL_0001: call instance void [mscorlib]System.Object::.ctor() -IL_0006: nop -IL_0007: ret -} -} diff --git a/Tests/ModuleWeaverTests.DecompileExample.Net.Release.verified.txt b/Tests/ModuleWeaverTests.DecompileExample.Net.Release.verified.txt deleted file mode 100644 index 4b21b1b..0000000 --- a/Tests/ModuleWeaverTests.DecompileExample.Net.Release.verified.txt +++ /dev/null @@ -1,1865 +0,0 @@ -.class public auto ansi beforefieldinit Example -extends [mscorlib]System.Object -{ -.custom instance void System.Runtime.CompilerServices.NullableContextAttribute::.ctor(uint8) = ( 01 00 01 00 00 ) -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.class auto ansi sealed nested private beforefieldinit 'd__0' -extends [mscorlib]System.ValueType -implements [mscorlib]System.Runtime.CompilerServices.IAsyncStateMachine -{ -.interfaceimpl type [mscorlib]System.Runtime.CompilerServices.IAsyncStateMachine -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field public int32 '<>1__state' -.field public valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder '<>t__builder' -.field private valuetype [mscorlib]System.Runtime.CompilerServices.TaskAwaiter '<>u__1' -.method private hidebysig newslot virtual final -instance void MoveNext() cil managed -{ -.override [mscorlib]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext -.maxstack 3 -.locals init (int32 V_0, -valuetype [mscorlib]System.Runtime.CompilerServices.TaskAwaiter V_1, -class [mscorlib]System.Exception V_2) -IL_0000: ldarg.0 -IL_0001: ldfld int32 Example/'d__0'::'<>1__state' -IL_0006: stloc.0 -.try -{ -IL_0007: ldloc.0 -IL_0008: brfalse.s IL_003f -IL_000a: ldc.i4.1 -IL_000b: call class [mscorlib]System.Threading.Tasks.Task [mscorlib]System.Threading.Tasks.Task::Delay(int32) -IL_0010: callvirt instance valuetype [mscorlib]System.Runtime.CompilerServices.TaskAwaiter [mscorlib]System.Threading.Tasks.Task::GetAwaiter() -IL_0015: stloc.1 -IL_0016: ldloca.s V_1 -IL_0018: call instance bool [mscorlib]System.Runtime.CompilerServices.TaskAwaiter::get_IsCompleted() -IL_001d: brtrue.s IL_005b -IL_001f: ldarg.0 -IL_0020: ldc.i4.0 -IL_0021: dup -IL_0022: stloc.0 -IL_0023: stfld int32 Example/'d__0'::'<>1__state' -IL_0028: ldarg.0 -IL_0029: ldloc.1 -IL_002a: stfld valuetype [mscorlib]System.Runtime.CompilerServices.TaskAwaiter Example/'d__0'::'<>u__1' -IL_002f: ldarg.0 -IL_0030: ldflda valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Example/'d__0'::'<>t__builder' -IL_0035: ldloca.s V_1 -IL_0037: ldarg.0 -IL_0038: call instance void [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::AwaitUnsafeOnCompletedd__0'>(!!0&, -!!1&) -IL_003d: leave.s IL_008e -IL_003f: ldarg.0 -IL_0040: ldfld valuetype [mscorlib]System.Runtime.CompilerServices.TaskAwaiter Example/'d__0'::'<>u__1' -IL_0045: stloc.1 -IL_0046: ldarg.0 -IL_0047: ldflda valuetype [mscorlib]System.Runtime.CompilerServices.TaskAwaiter Example/'d__0'::'<>u__1' -IL_004c: initobj [mscorlib]System.Runtime.CompilerServices.TaskAwaiter -IL_0052: ldarg.0 -IL_0053: ldc.i4.m1 -IL_0054: dup -IL_0055: stloc.0 -IL_0056: stfld int32 Example/'d__0'::'<>1__state' -IL_005b: ldloca.s V_1 -IL_005d: call instance void [mscorlib]System.Runtime.CompilerServices.TaskAwaiter::GetResult() -IL_0062: leave.s IL_007b -} // end .try -catch [mscorlib]System.Exception -{ -IL_0064: stloc.2 -IL_0065: ldarg.0 -IL_0066: ldc.i4.s -2 -IL_0068: stfld int32 Example/'d__0'::'<>1__state' -IL_006d: ldarg.0 -IL_006e: ldflda valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Example/'d__0'::'<>t__builder' -IL_0073: ldloc.2 -IL_0074: call instance void [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetException(class [mscorlib]System.Exception) -IL_0079: leave.s IL_008e -} // end handler -IL_007b: ldarg.0 -IL_007c: ldc.i4.s -2 -IL_007e: stfld int32 Example/'d__0'::'<>1__state' -IL_0083: ldarg.0 -IL_0084: ldflda valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Example/'d__0'::'<>t__builder' -IL_0089: call instance void [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetResult() -IL_008e: ret -} -.method private hidebysig newslot virtual final -instance void SetStateMachine(class [mscorlib]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed -{ -.param [1] -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.override [mscorlib]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine -.maxstack 8 -IL_0000: ldarg.0 -IL_0001: ldflda valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Example/'d__0'::'<>t__builder' -IL_0006: ldarg.1 -IL_0007: call instance void [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetStateMachine(class [mscorlib]System.Runtime.CompilerServices.IAsyncStateMachine) -IL_000c: ret -} -} -.class auto ansi sealed nested private beforefieldinit 'd__1' -extends [mscorlib]System.ValueType -implements [mscorlib]System.Runtime.CompilerServices.IAsyncStateMachine -{ -.interfaceimpl type [mscorlib]System.Runtime.CompilerServices.IAsyncStateMachine -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field public int32 '<>1__state' -.field public valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder '<>t__builder' -.field private valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter '<>u__1' -.method private hidebysig newslot virtual final -instance void MoveNext() cil managed -{ -.override [mscorlib]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext -.maxstack 3 -.locals init (int32 V_0, -valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter V_1, -valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable V_2, -class [mscorlib]System.Exception V_3) -IL_0000: ldarg.0 -IL_0001: ldfld int32 Example/'d__1'::'<>1__state' -IL_0006: stloc.0 -.try -{ -IL_0007: ldloc.0 -IL_0008: brfalse.s IL_0048 -IL_000a: ldc.i4.1 -IL_000b: call class [mscorlib]System.Threading.Tasks.Task [mscorlib]System.Threading.Tasks.Task::Delay(int32) -IL_0010: ldc.i4.0 -IL_0011: callvirt instance valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable [mscorlib]System.Threading.Tasks.Task::ConfigureAwait(bool) -IL_0016: stloc.2 -IL_0017: ldloca.s V_2 -IL_0019: call instance valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable::GetAwaiter() -IL_001e: stloc.1 -IL_001f: ldloca.s V_1 -IL_0021: call instance bool [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter::get_IsCompleted() -IL_0026: brtrue.s IL_0064 -IL_0028: ldarg.0 -IL_0029: ldc.i4.0 -IL_002a: dup -IL_002b: stloc.0 -IL_002c: stfld int32 Example/'d__1'::'<>1__state' -IL_0031: ldarg.0 -IL_0032: ldloc.1 -IL_0033: stfld valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter Example/'d__1'::'<>u__1' -IL_0038: ldarg.0 -IL_0039: ldflda valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Example/'d__1'::'<>t__builder' -IL_003e: ldloca.s V_1 -IL_0040: ldarg.0 -IL_0041: call instance void [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::AwaitUnsafeOnCompletedd__1'>(!!0&, -!!1&) -IL_0046: leave.s IL_0097 -IL_0048: ldarg.0 -IL_0049: ldfld valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter Example/'d__1'::'<>u__1' -IL_004e: stloc.1 -IL_004f: ldarg.0 -IL_0050: ldflda valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter Example/'d__1'::'<>u__1' -IL_0055: initobj [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter -IL_005b: ldarg.0 -IL_005c: ldc.i4.m1 -IL_005d: dup -IL_005e: stloc.0 -IL_005f: stfld int32 Example/'d__1'::'<>1__state' -IL_0064: ldloca.s V_1 -IL_0066: call instance void [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter::GetResult() -IL_006b: leave.s IL_0084 -} // end .try -catch [mscorlib]System.Exception -{ -IL_006d: stloc.3 -IL_006e: ldarg.0 -IL_006f: ldc.i4.s -2 -IL_0071: stfld int32 Example/'d__1'::'<>1__state' -IL_0076: ldarg.0 -IL_0077: ldflda valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Example/'d__1'::'<>t__builder' -IL_007c: ldloc.3 -IL_007d: call instance void [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetException(class [mscorlib]System.Exception) -IL_0082: leave.s IL_0097 -} // end handler -IL_0084: ldarg.0 -IL_0085: ldc.i4.s -2 -IL_0087: stfld int32 Example/'d__1'::'<>1__state' -IL_008c: ldarg.0 -IL_008d: ldflda valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Example/'d__1'::'<>t__builder' -IL_0092: call instance void [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetResult() -IL_0097: ret -} -.method private hidebysig newslot virtual final -instance void SetStateMachine(class [mscorlib]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed -{ -.param [1] -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.override [mscorlib]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine -.maxstack 8 -IL_0000: ldarg.0 -IL_0001: ldflda valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Example/'d__1'::'<>t__builder' -IL_0006: ldarg.1 -IL_0007: call instance void [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetStateMachine(class [mscorlib]System.Runtime.CompilerServices.IAsyncStateMachine) -IL_000c: ret -} -} -.class auto ansi sealed nested private beforefieldinit 'd__2' -extends [mscorlib]System.ValueType -implements [mscorlib]System.Runtime.CompilerServices.IAsyncStateMachine -{ -.interfaceimpl type [mscorlib]System.Runtime.CompilerServices.IAsyncStateMachine -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field public int32 '<>1__state' -.field public valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder '<>t__builder' -.field private valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter '<>u__1' -.method private hidebysig newslot virtual final -instance void MoveNext() cil managed -{ -.override [mscorlib]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext -.maxstack 3 -.locals init (int32 V_0, -valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter V_1, -valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable V_2, -class [mscorlib]System.Exception V_3) -IL_0000: ldarg.0 -IL_0001: ldfld int32 Example/'d__2'::'<>1__state' -IL_0006: stloc.0 -.try -{ -IL_0007: ldloc.0 -IL_0008: brfalse.s IL_0048 -IL_000a: ldc.i4.1 -IL_000b: call class [mscorlib]System.Threading.Tasks.Task [mscorlib]System.Threading.Tasks.Task::Delay(int32) -IL_0010: ldc.i4.0 -IL_0011: callvirt instance valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable [mscorlib]System.Threading.Tasks.Task::ConfigureAwait(bool) -IL_0016: stloc.2 -IL_0017: ldloca.s V_2 -IL_0019: call instance valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable::GetAwaiter() -IL_001e: stloc.1 -IL_001f: ldloca.s V_1 -IL_0021: call instance bool [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter::get_IsCompleted() -IL_0026: brtrue.s IL_0064 -IL_0028: ldarg.0 -IL_0029: ldc.i4.0 -IL_002a: dup -IL_002b: stloc.0 -IL_002c: stfld int32 Example/'d__2'::'<>1__state' -IL_0031: ldarg.0 -IL_0032: ldloc.1 -IL_0033: stfld valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter Example/'d__2'::'<>u__1' -IL_0038: ldarg.0 -IL_0039: ldflda valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Example/'d__2'::'<>t__builder' -IL_003e: ldloca.s V_1 -IL_0040: ldarg.0 -IL_0041: call instance void [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::AwaitUnsafeOnCompletedd__2'>(!!0&, -!!1&) -IL_0046: leave.s IL_0097 -IL_0048: ldarg.0 -IL_0049: ldfld valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter Example/'d__2'::'<>u__1' -IL_004e: stloc.1 -IL_004f: ldarg.0 -IL_0050: ldflda valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter Example/'d__2'::'<>u__1' -IL_0055: initobj [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter -IL_005b: ldarg.0 -IL_005c: ldc.i4.m1 -IL_005d: dup -IL_005e: stloc.0 -IL_005f: stfld int32 Example/'d__2'::'<>1__state' -IL_0064: ldloca.s V_1 -IL_0066: call instance void [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter::GetResult() -IL_006b: leave.s IL_0084 -} // end .try -catch [mscorlib]System.Exception -{ -IL_006d: stloc.3 -IL_006e: ldarg.0 -IL_006f: ldc.i4.s -2 -IL_0071: stfld int32 Example/'d__2'::'<>1__state' -IL_0076: ldarg.0 -IL_0077: ldflda valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Example/'d__2'::'<>t__builder' -IL_007c: ldloc.3 -IL_007d: call instance void [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetException(class [mscorlib]System.Exception) -IL_0082: leave.s IL_0097 -} // end handler -IL_0084: ldarg.0 -IL_0085: ldc.i4.s -2 -IL_0087: stfld int32 Example/'d__2'::'<>1__state' -IL_008c: ldarg.0 -IL_008d: ldflda valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Example/'d__2'::'<>t__builder' -IL_0092: call instance void [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetResult() -IL_0097: ret -} -.method private hidebysig newslot virtual final -instance void SetStateMachine(class [mscorlib]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed -{ -.param [1] -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.override [mscorlib]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine -.maxstack 8 -IL_0000: ldarg.0 -IL_0001: ldflda valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Example/'d__2'::'<>t__builder' -IL_0006: ldarg.1 -IL_0007: call instance void [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetStateMachine(class [mscorlib]System.Runtime.CompilerServices.IAsyncStateMachine) -IL_000c: ret -} -} -.class auto ansi sealed nested private beforefieldinit 'd__3' -extends [mscorlib]System.ValueType -implements [mscorlib]System.Runtime.CompilerServices.IAsyncStateMachine -{ -.interfaceimpl type [mscorlib]System.Runtime.CompilerServices.IAsyncStateMachine -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field public int32 '<>1__state' -.field public valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 '<>t__builder' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field private valuetype [mscorlib]System.Runtime.CompilerServices.TaskAwaiter`1 '<>u__1' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.method private hidebysig newslot virtual final -instance void MoveNext() cil managed -{ -.override [mscorlib]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext -.maxstack 3 -.locals init (int32 V_0, -int32 V_1, -valuetype [mscorlib]System.Runtime.CompilerServices.TaskAwaiter`1 V_2, -class [mscorlib]System.Exception V_3) -IL_0000: ldarg.0 -IL_0001: ldfld int32 Example/'d__3'::'<>1__state' -IL_0006: stloc.0 -.try -{ -IL_0007: ldloc.0 -IL_0008: brfalse.s IL_0040 -IL_000a: ldc.i4.s 10 -IL_000c: call class [mscorlib]System.Threading.Tasks.Task`1 [mscorlib]System.Threading.Tasks.Task::FromResult(!!0) -IL_0011: callvirt instance valuetype [mscorlib]System.Runtime.CompilerServices.TaskAwaiter`1 class [mscorlib]System.Threading.Tasks.Task`1::GetAwaiter() -IL_0016: stloc.2 -IL_0017: ldloca.s V_2 -IL_0019: call instance bool valuetype [mscorlib]System.Runtime.CompilerServices.TaskAwaiter`1::get_IsCompleted() -IL_001e: brtrue.s IL_005c -IL_0020: ldarg.0 -IL_0021: ldc.i4.0 -IL_0022: dup -IL_0023: stloc.0 -IL_0024: stfld int32 Example/'d__3'::'<>1__state' -IL_0029: ldarg.0 -IL_002a: ldloc.2 -IL_002b: stfld valuetype [mscorlib]System.Runtime.CompilerServices.TaskAwaiter`1 Example/'d__3'::'<>u__1' -IL_0030: ldarg.0 -IL_0031: ldflda valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__3'::'<>t__builder' -IL_0036: ldloca.s V_2 -IL_0038: ldarg.0 -IL_0039: call instance void valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::AwaitUnsafeOnCompleted,valuetype Example/'d__3'>(!!0&, -!!1&) -IL_003e: leave.s IL_0091 -IL_0040: ldarg.0 -IL_0041: ldfld valuetype [mscorlib]System.Runtime.CompilerServices.TaskAwaiter`1 Example/'d__3'::'<>u__1' -IL_0046: stloc.2 -IL_0047: ldarg.0 -IL_0048: ldflda valuetype [mscorlib]System.Runtime.CompilerServices.TaskAwaiter`1 Example/'d__3'::'<>u__1' -IL_004d: initobj valuetype [mscorlib]System.Runtime.CompilerServices.TaskAwaiter`1 -IL_0053: ldarg.0 -IL_0054: ldc.i4.m1 -IL_0055: dup -IL_0056: stloc.0 -IL_0057: stfld int32 Example/'d__3'::'<>1__state' -IL_005c: ldloca.s V_2 -IL_005e: call instance !0 valuetype [mscorlib]System.Runtime.CompilerServices.TaskAwaiter`1::GetResult() -IL_0063: stloc.1 -IL_0064: leave.s IL_007d -} // end .try -catch [mscorlib]System.Exception -{ -IL_0066: stloc.3 -IL_0067: ldarg.0 -IL_0068: ldc.i4.s -2 -IL_006a: stfld int32 Example/'d__3'::'<>1__state' -IL_006f: ldarg.0 -IL_0070: ldflda valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__3'::'<>t__builder' -IL_0075: ldloc.3 -IL_0076: call instance void valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetException(class [mscorlib]System.Exception) -IL_007b: leave.s IL_0091 -} // end handler -IL_007d: ldarg.0 -IL_007e: ldc.i4.s -2 -IL_0080: stfld int32 Example/'d__3'::'<>1__state' -IL_0085: ldarg.0 -IL_0086: ldflda valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__3'::'<>t__builder' -IL_008b: ldloc.1 -IL_008c: call instance void valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetResult(!0) -IL_0091: ret -} -.method private hidebysig newslot virtual final -instance void SetStateMachine(class [mscorlib]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed -{ -.param [1] -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.override [mscorlib]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine -.maxstack 8 -IL_0000: ldarg.0 -IL_0001: ldflda valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__3'::'<>t__builder' -IL_0006: ldarg.1 -IL_0007: call instance void valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetStateMachine(class [mscorlib]System.Runtime.CompilerServices.IAsyncStateMachine) -IL_000c: ret -} -} -.class auto ansi sealed nested private beforefieldinit 'd__4' -extends [mscorlib]System.ValueType -implements [mscorlib]System.Runtime.CompilerServices.IAsyncStateMachine -{ -.interfaceimpl type [mscorlib]System.Runtime.CompilerServices.IAsyncStateMachine -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field public int32 '<>1__state' -.field public valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 '<>t__builder' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field private valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter '<>u__1' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.method private hidebysig newslot virtual final -instance void MoveNext() cil managed -{ -.override [mscorlib]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext -.maxstack 3 -.locals init (int32 V_0, -int32 V_1, -valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter V_2, -valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1 V_3, -class [mscorlib]System.Exception V_4) -IL_0000: ldarg.0 -IL_0001: ldfld int32 Example/'d__4'::'<>1__state' -IL_0006: stloc.0 -.try -{ -IL_0007: ldloc.0 -IL_0008: brfalse.s IL_0049 -IL_000a: ldc.i4.s 10 -IL_000c: call class [mscorlib]System.Threading.Tasks.Task`1 [mscorlib]System.Threading.Tasks.Task::FromResult(!!0) -IL_0011: ldc.i4.0 -IL_0012: callvirt instance valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1 class [mscorlib]System.Threading.Tasks.Task`1::ConfigureAwait(bool) -IL_0017: stloc.3 -IL_0018: ldloca.s V_3 -IL_001a: call instance valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1::GetAwaiter() -IL_001f: stloc.2 -IL_0020: ldloca.s V_2 -IL_0022: call instance bool valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter::get_IsCompleted() -IL_0027: brtrue.s IL_0065 -IL_0029: ldarg.0 -IL_002a: ldc.i4.0 -IL_002b: dup -IL_002c: stloc.0 -IL_002d: stfld int32 Example/'d__4'::'<>1__state' -IL_0032: ldarg.0 -IL_0033: ldloc.2 -IL_0034: stfld valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter Example/'d__4'::'<>u__1' -IL_0039: ldarg.0 -IL_003a: ldflda valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__4'::'<>t__builder' -IL_003f: ldloca.s V_2 -IL_0041: ldarg.0 -IL_0042: call instance void valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::AwaitUnsafeOnCompleted,valuetype Example/'d__4'>(!!0&, -!!1&) -IL_0047: leave.s IL_009c -IL_0049: ldarg.0 -IL_004a: ldfld valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter Example/'d__4'::'<>u__1' -IL_004f: stloc.2 -IL_0050: ldarg.0 -IL_0051: ldflda valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter Example/'d__4'::'<>u__1' -IL_0056: initobj valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter -IL_005c: ldarg.0 -IL_005d: ldc.i4.m1 -IL_005e: dup -IL_005f: stloc.0 -IL_0060: stfld int32 Example/'d__4'::'<>1__state' -IL_0065: ldloca.s V_2 -IL_0067: call instance !0 valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter::GetResult() -IL_006c: stloc.1 -IL_006d: leave.s IL_0088 -} // end .try -catch [mscorlib]System.Exception -{ -IL_006f: stloc.s V_4 -IL_0071: ldarg.0 -IL_0072: ldc.i4.s -2 -IL_0074: stfld int32 Example/'d__4'::'<>1__state' -IL_0079: ldarg.0 -IL_007a: ldflda valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__4'::'<>t__builder' -IL_007f: ldloc.s V_4 -IL_0081: call instance void valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetException(class [mscorlib]System.Exception) -IL_0086: leave.s IL_009c -} // end handler -IL_0088: ldarg.0 -IL_0089: ldc.i4.s -2 -IL_008b: stfld int32 Example/'d__4'::'<>1__state' -IL_0090: ldarg.0 -IL_0091: ldflda valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__4'::'<>t__builder' -IL_0096: ldloc.1 -IL_0097: call instance void valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetResult(!0) -IL_009c: ret -} -.method private hidebysig newslot virtual final -instance void SetStateMachine(class [mscorlib]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed -{ -.param [1] -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.override [mscorlib]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine -.maxstack 8 -IL_0000: ldarg.0 -IL_0001: ldflda valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__4'::'<>t__builder' -IL_0006: ldarg.1 -IL_0007: call instance void valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetStateMachine(class [mscorlib]System.Runtime.CompilerServices.IAsyncStateMachine) -IL_000c: ret -} -} -.class auto ansi sealed nested private beforefieldinit 'd__5' -extends [mscorlib]System.ValueType -implements [mscorlib]System.Runtime.CompilerServices.IAsyncStateMachine -{ -.interfaceimpl type [mscorlib]System.Runtime.CompilerServices.IAsyncStateMachine -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field public int32 '<>1__state' -.field public valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 '<>t__builder' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field private valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter '<>u__1' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.method private hidebysig newslot virtual final -instance void MoveNext() cil managed -{ -.override [mscorlib]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext -.maxstack 3 -.locals init (int32 V_0, -int32 V_1, -valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter V_2, -valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1 V_3, -class [mscorlib]System.Exception V_4) -IL_0000: ldarg.0 -IL_0001: ldfld int32 Example/'d__5'::'<>1__state' -IL_0006: stloc.0 -.try -{ -IL_0007: ldloc.0 -IL_0008: brfalse.s IL_0049 -IL_000a: ldc.i4.s 10 -IL_000c: call class [mscorlib]System.Threading.Tasks.Task`1 [mscorlib]System.Threading.Tasks.Task::FromResult(!!0) -IL_0011: ldc.i4.0 -IL_0012: callvirt instance valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1 class [mscorlib]System.Threading.Tasks.Task`1::ConfigureAwait(bool) -IL_0017: stloc.3 -IL_0018: ldloca.s V_3 -IL_001a: call instance valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1::GetAwaiter() -IL_001f: stloc.2 -IL_0020: ldloca.s V_2 -IL_0022: call instance bool valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter::get_IsCompleted() -IL_0027: brtrue.s IL_0065 -IL_0029: ldarg.0 -IL_002a: ldc.i4.0 -IL_002b: dup -IL_002c: stloc.0 -IL_002d: stfld int32 Example/'d__5'::'<>1__state' -IL_0032: ldarg.0 -IL_0033: ldloc.2 -IL_0034: stfld valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter Example/'d__5'::'<>u__1' -IL_0039: ldarg.0 -IL_003a: ldflda valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__5'::'<>t__builder' -IL_003f: ldloca.s V_2 -IL_0041: ldarg.0 -IL_0042: call instance void valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::AwaitUnsafeOnCompleted,valuetype Example/'d__5'>(!!0&, -!!1&) -IL_0047: leave.s IL_009c -IL_0049: ldarg.0 -IL_004a: ldfld valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter Example/'d__5'::'<>u__1' -IL_004f: stloc.2 -IL_0050: ldarg.0 -IL_0051: ldflda valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter Example/'d__5'::'<>u__1' -IL_0056: initobj valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter -IL_005c: ldarg.0 -IL_005d: ldc.i4.m1 -IL_005e: dup -IL_005f: stloc.0 -IL_0060: stfld int32 Example/'d__5'::'<>1__state' -IL_0065: ldloca.s V_2 -IL_0067: call instance !0 valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter::GetResult() -IL_006c: stloc.1 -IL_006d: leave.s IL_0088 -} // end .try -catch [mscorlib]System.Exception -{ -IL_006f: stloc.s V_4 -IL_0071: ldarg.0 -IL_0072: ldc.i4.s -2 -IL_0074: stfld int32 Example/'d__5'::'<>1__state' -IL_0079: ldarg.0 -IL_007a: ldflda valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__5'::'<>t__builder' -IL_007f: ldloc.s V_4 -IL_0081: call instance void valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetException(class [mscorlib]System.Exception) -IL_0086: leave.s IL_009c -} // end handler -IL_0088: ldarg.0 -IL_0089: ldc.i4.s -2 -IL_008b: stfld int32 Example/'d__5'::'<>1__state' -IL_0090: ldarg.0 -IL_0091: ldflda valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__5'::'<>t__builder' -IL_0096: ldloc.1 -IL_0097: call instance void valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetResult(!0) -IL_009c: ret -} -.method private hidebysig newslot virtual final -instance void SetStateMachine(class [mscorlib]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed -{ -.param [1] -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.override [mscorlib]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine -.maxstack 8 -IL_0000: ldarg.0 -IL_0001: ldflda valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__5'::'<>t__builder' -IL_0006: ldarg.1 -IL_0007: call instance void valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetStateMachine(class [mscorlib]System.Runtime.CompilerServices.IAsyncStateMachine) -IL_000c: ret -} -} -.class auto ansi sealed nested private beforefieldinit 'd__6' -extends [mscorlib]System.ValueType -implements [mscorlib]System.Runtime.CompilerServices.IAsyncStateMachine -{ -.interfaceimpl type [mscorlib]System.Runtime.CompilerServices.IAsyncStateMachine -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field public int32 '<>1__state' -.field public valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 '<>t__builder' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field private int32 '5__2' -.field private int32 '5__3' -.field private valuetype [mscorlib]System.Runtime.CompilerServices.TaskAwaiter`1 '<>u__1' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field private int32 '5__4' -.field private valuetype [mscorlib]System.Runtime.CompilerServices.TaskAwaiter '<>u__2' -.field private int32 '<>7__wrap4' -.method private hidebysig newslot virtual final -instance void MoveNext() cil managed -{ -.override [mscorlib]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext -.maxstack 3 -.locals init (int32 V_0, -int32 V_1, -int32 V_2, -valuetype [mscorlib]System.Runtime.CompilerServices.TaskAwaiter`1 V_3, -valuetype [mscorlib]System.Runtime.CompilerServices.TaskAwaiter V_4, -class [mscorlib]System.Exception V_5) -IL_0000: ldarg.0 -IL_0001: ldfld int32 Example/'d__6'::'<>1__state' -IL_0006: stloc.0 -.try -{ -IL_0007: ldloc.0 -IL_0008: switch ( -IL_0052, -IL_00ca, -IL_0137) -IL_0019: ldc.i4.s 10 -IL_001b: call class [mscorlib]System.Threading.Tasks.Task`1 [mscorlib]System.Threading.Tasks.Task::FromResult(!!0) -IL_0020: callvirt instance valuetype [mscorlib]System.Runtime.CompilerServices.TaskAwaiter`1 class [mscorlib]System.Threading.Tasks.Task`1::GetAwaiter() -IL_0025: stloc.3 -IL_0026: ldloca.s V_3 -IL_0028: call instance bool valuetype [mscorlib]System.Runtime.CompilerServices.TaskAwaiter`1::get_IsCompleted() -IL_002d: brtrue.s IL_006e -IL_002f: ldarg.0 -IL_0030: ldc.i4.0 -IL_0031: dup -IL_0032: stloc.0 -IL_0033: stfld int32 Example/'d__6'::'<>1__state' -IL_0038: ldarg.0 -IL_0039: ldloc.3 -IL_003a: stfld valuetype [mscorlib]System.Runtime.CompilerServices.TaskAwaiter`1 Example/'d__6'::'<>u__1' -IL_003f: ldarg.0 -IL_0040: ldflda valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__6'::'<>t__builder' -IL_0045: ldloca.s V_3 -IL_0047: ldarg.0 -IL_0048: call instance void valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::AwaitUnsafeOnCompleted,valuetype Example/'d__6'>(!!0&, -!!1&) -IL_004d: leave IL_01c0 -IL_0052: ldarg.0 -IL_0053: ldfld valuetype [mscorlib]System.Runtime.CompilerServices.TaskAwaiter`1 Example/'d__6'::'<>u__1' -IL_0058: stloc.3 -IL_0059: ldarg.0 -IL_005a: ldflda valuetype [mscorlib]System.Runtime.CompilerServices.TaskAwaiter`1 Example/'d__6'::'<>u__1' -IL_005f: initobj valuetype [mscorlib]System.Runtime.CompilerServices.TaskAwaiter`1 -IL_0065: ldarg.0 -IL_0066: ldc.i4.m1 -IL_0067: dup -IL_0068: stloc.0 -IL_0069: stfld int32 Example/'d__6'::'<>1__state' -IL_006e: ldloca.s V_3 -IL_0070: call instance !0 valuetype [mscorlib]System.Runtime.CompilerServices.TaskAwaiter`1::GetResult() -IL_0075: stloc.2 -IL_0076: ldarg.0 -IL_0077: ldloc.2 -IL_0078: stfld int32 Example/'d__6'::'5__2' -IL_007d: ldarg.0 -IL_007e: ldc.i4.0 -IL_007f: stfld int32 Example/'d__6'::'5__3' -IL_0084: ldarg.0 -IL_0085: ldc.i4.0 -IL_0086: stfld int32 Example/'d__6'::'5__4' -IL_008b: br IL_0179 -IL_0090: ldc.i4.1 -IL_0091: call class [mscorlib]System.Threading.Tasks.Task [mscorlib]System.Threading.Tasks.Task::Delay(int32) -IL_0096: callvirt instance valuetype [mscorlib]System.Runtime.CompilerServices.TaskAwaiter [mscorlib]System.Threading.Tasks.Task::GetAwaiter() -IL_009b: stloc.s V_4 -IL_009d: ldloca.s V_4 -IL_009f: call instance bool [mscorlib]System.Runtime.CompilerServices.TaskAwaiter::get_IsCompleted() -IL_00a4: brtrue.s IL_00e7 -IL_00a6: ldarg.0 -IL_00a7: ldc.i4.1 -IL_00a8: dup -IL_00a9: stloc.0 -IL_00aa: stfld int32 Example/'d__6'::'<>1__state' -IL_00af: ldarg.0 -IL_00b0: ldloc.s V_4 -IL_00b2: stfld valuetype [mscorlib]System.Runtime.CompilerServices.TaskAwaiter Example/'d__6'::'<>u__2' -IL_00b7: ldarg.0 -IL_00b8: ldflda valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__6'::'<>t__builder' -IL_00bd: ldloca.s V_4 -IL_00bf: ldarg.0 -IL_00c0: call instance void valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::AwaitUnsafeOnCompletedd__6'>(!!0&, -!!1&) -IL_00c5: leave IL_01c0 -IL_00ca: ldarg.0 -IL_00cb: ldfld valuetype [mscorlib]System.Runtime.CompilerServices.TaskAwaiter Example/'d__6'::'<>u__2' -IL_00d0: stloc.s V_4 -IL_00d2: ldarg.0 -IL_00d3: ldflda valuetype [mscorlib]System.Runtime.CompilerServices.TaskAwaiter Example/'d__6'::'<>u__2' -IL_00d8: initobj [mscorlib]System.Runtime.CompilerServices.TaskAwaiter -IL_00de: ldarg.0 -IL_00df: ldc.i4.m1 -IL_00e0: dup -IL_00e1: stloc.0 -IL_00e2: stfld int32 Example/'d__6'::'<>1__state' -IL_00e7: ldloca.s V_4 -IL_00e9: call instance void [mscorlib]System.Runtime.CompilerServices.TaskAwaiter::GetResult() -IL_00ee: ldarg.0 -IL_00ef: ldarg.0 -IL_00f0: ldfld int32 Example/'d__6'::'5__3' -IL_00f5: stfld int32 Example/'d__6'::'<>7__wrap4' -IL_00fa: ldarg.0 -IL_00fb: ldfld int32 Example/'d__6'::'5__4' -IL_0100: call class [mscorlib]System.Threading.Tasks.Task`1 [mscorlib]System.Threading.Tasks.Task::FromResult(!!0) -IL_0105: callvirt instance valuetype [mscorlib]System.Runtime.CompilerServices.TaskAwaiter`1 class [mscorlib]System.Threading.Tasks.Task`1::GetAwaiter() -IL_010a: stloc.3 -IL_010b: ldloca.s V_3 -IL_010d: call instance bool valuetype [mscorlib]System.Runtime.CompilerServices.TaskAwaiter`1::get_IsCompleted() -IL_0112: brtrue.s IL_0153 -IL_0114: ldarg.0 -IL_0115: ldc.i4.2 -IL_0116: dup -IL_0117: stloc.0 -IL_0118: stfld int32 Example/'d__6'::'<>1__state' -IL_011d: ldarg.0 -IL_011e: ldloc.3 -IL_011f: stfld valuetype [mscorlib]System.Runtime.CompilerServices.TaskAwaiter`1 Example/'d__6'::'<>u__1' -IL_0124: ldarg.0 -IL_0125: ldflda valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__6'::'<>t__builder' -IL_012a: ldloca.s V_3 -IL_012c: ldarg.0 -IL_012d: call instance void valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::AwaitUnsafeOnCompleted,valuetype Example/'d__6'>(!!0&, -!!1&) -IL_0132: leave IL_01c0 -IL_0137: ldarg.0 -IL_0138: ldfld valuetype [mscorlib]System.Runtime.CompilerServices.TaskAwaiter`1 Example/'d__6'::'<>u__1' -IL_013d: stloc.3 -IL_013e: ldarg.0 -IL_013f: ldflda valuetype [mscorlib]System.Runtime.CompilerServices.TaskAwaiter`1 Example/'d__6'::'<>u__1' -IL_0144: initobj valuetype [mscorlib]System.Runtime.CompilerServices.TaskAwaiter`1 -IL_014a: ldarg.0 -IL_014b: ldc.i4.m1 -IL_014c: dup -IL_014d: stloc.0 -IL_014e: stfld int32 Example/'d__6'::'<>1__state' -IL_0153: ldloca.s V_3 -IL_0155: call instance !0 valuetype [mscorlib]System.Runtime.CompilerServices.TaskAwaiter`1::GetResult() -IL_015a: stloc.2 -IL_015b: ldarg.0 -IL_015c: ldarg.0 -IL_015d: ldfld int32 Example/'d__6'::'<>7__wrap4' -IL_0162: ldloc.2 -IL_0163: add -IL_0164: stfld int32 Example/'d__6'::'5__3' -IL_0169: ldarg.0 -IL_016a: ldfld int32 Example/'d__6'::'5__4' -IL_016f: stloc.2 -IL_0170: ldarg.0 -IL_0171: ldloc.2 -IL_0172: ldc.i4.1 -IL_0173: add -IL_0174: stfld int32 Example/'d__6'::'5__4' -IL_0179: ldarg.0 -IL_017a: ldfld int32 Example/'d__6'::'5__4' -IL_017f: ldarg.0 -IL_0180: ldfld int32 Example/'d__6'::'5__2' -IL_0185: blt IL_0090 -IL_018a: ldarg.0 -IL_018b: ldfld int32 Example/'d__6'::'5__3' -IL_0190: stloc.1 -IL_0191: leave.s IL_01ac -} // end .try -catch [mscorlib]System.Exception -{ -IL_0193: stloc.s V_5 -IL_0195: ldarg.0 -IL_0196: ldc.i4.s -2 -IL_0198: stfld int32 Example/'d__6'::'<>1__state' -IL_019d: ldarg.0 -IL_019e: ldflda valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__6'::'<>t__builder' -IL_01a3: ldloc.s V_5 -IL_01a5: call instance void valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetException(class [mscorlib]System.Exception) -IL_01aa: leave.s IL_01c0 -} // end handler -IL_01ac: ldarg.0 -IL_01ad: ldc.i4.s -2 -IL_01af: stfld int32 Example/'d__6'::'<>1__state' -IL_01b4: ldarg.0 -IL_01b5: ldflda valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__6'::'<>t__builder' -IL_01ba: ldloc.1 -IL_01bb: call instance void valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetResult(!0) -IL_01c0: ret -} -.method private hidebysig newslot virtual final -instance void SetStateMachine(class [mscorlib]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed -{ -.param [1] -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.override [mscorlib]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine -.maxstack 8 -IL_0000: ldarg.0 -IL_0001: ldflda valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__6'::'<>t__builder' -IL_0006: ldarg.1 -IL_0007: call instance void valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetStateMachine(class [mscorlib]System.Runtime.CompilerServices.IAsyncStateMachine) -IL_000c: ret -} -} -.class auto ansi sealed nested private beforefieldinit 'd__7' -extends [mscorlib]System.ValueType -implements [mscorlib]System.Runtime.CompilerServices.IAsyncStateMachine -{ -.interfaceimpl type [mscorlib]System.Runtime.CompilerServices.IAsyncStateMachine -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field public int32 '<>1__state' -.field public valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 '<>t__builder' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field private int32 '5__2' -.field private int32 '5__3' -.field private valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter '<>u__1' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field private int32 '5__4' -.field private valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter '<>u__2' -.field private int32 '<>7__wrap4' -.method private hidebysig newslot virtual final -instance void MoveNext() cil managed -{ -.override [mscorlib]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext -.maxstack 3 -.locals init (int32 V_0, -int32 V_1, -int32 V_2, -valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter V_3, -valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1 V_4, -valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable V_5, -valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter V_6, -class [mscorlib]System.Exception V_7) -IL_0000: ldarg.0 -IL_0001: ldfld int32 Example/'d__7'::'<>1__state' -IL_0006: stloc.0 -.try -{ -IL_0007: ldloc.0 -IL_0008: switch ( -IL_005c, -IL_00de, -IL_0155) -IL_0019: ldc.i4.s 10 -IL_001b: call class [mscorlib]System.Threading.Tasks.Task`1 [mscorlib]System.Threading.Tasks.Task::FromResult(!!0) -IL_0020: ldc.i4.0 -IL_0021: callvirt instance valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1 class [mscorlib]System.Threading.Tasks.Task`1::ConfigureAwait(bool) -IL_0026: stloc.s V_4 -IL_0028: ldloca.s V_4 -IL_002a: call instance valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1::GetAwaiter() -IL_002f: stloc.3 -IL_0030: ldloca.s V_3 -IL_0032: call instance bool valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter::get_IsCompleted() -IL_0037: brtrue.s IL_0078 -IL_0039: ldarg.0 -IL_003a: ldc.i4.0 -IL_003b: dup -IL_003c: stloc.0 -IL_003d: stfld int32 Example/'d__7'::'<>1__state' -IL_0042: ldarg.0 -IL_0043: ldloc.3 -IL_0044: stfld valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter Example/'d__7'::'<>u__1' -IL_0049: ldarg.0 -IL_004a: ldflda valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__7'::'<>t__builder' -IL_004f: ldloca.s V_3 -IL_0051: ldarg.0 -IL_0052: call instance void valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::AwaitUnsafeOnCompleted,valuetype Example/'d__7'>(!!0&, -!!1&) -IL_0057: leave IL_01de -IL_005c: ldarg.0 -IL_005d: ldfld valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter Example/'d__7'::'<>u__1' -IL_0062: stloc.3 -IL_0063: ldarg.0 -IL_0064: ldflda valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter Example/'d__7'::'<>u__1' -IL_0069: initobj valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter -IL_006f: ldarg.0 -IL_0070: ldc.i4.m1 -IL_0071: dup -IL_0072: stloc.0 -IL_0073: stfld int32 Example/'d__7'::'<>1__state' -IL_0078: ldloca.s V_3 -IL_007a: call instance !0 valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter::GetResult() -IL_007f: stloc.2 -IL_0080: ldarg.0 -IL_0081: ldloc.2 -IL_0082: stfld int32 Example/'d__7'::'5__2' -IL_0087: ldarg.0 -IL_0088: ldc.i4.0 -IL_0089: stfld int32 Example/'d__7'::'5__3' -IL_008e: ldarg.0 -IL_008f: ldc.i4.0 -IL_0090: stfld int32 Example/'d__7'::'5__4' -IL_0095: br IL_0197 -IL_009a: ldc.i4.1 -IL_009b: call class [mscorlib]System.Threading.Tasks.Task [mscorlib]System.Threading.Tasks.Task::Delay(int32) -IL_00a0: ldc.i4.0 -IL_00a1: callvirt instance valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable [mscorlib]System.Threading.Tasks.Task::ConfigureAwait(bool) -IL_00a6: stloc.s V_5 -IL_00a8: ldloca.s V_5 -IL_00aa: call instance valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable::GetAwaiter() -IL_00af: stloc.s V_6 -IL_00b1: ldloca.s V_6 -IL_00b3: call instance bool [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter::get_IsCompleted() -IL_00b8: brtrue.s IL_00fb -IL_00ba: ldarg.0 -IL_00bb: ldc.i4.1 -IL_00bc: dup -IL_00bd: stloc.0 -IL_00be: stfld int32 Example/'d__7'::'<>1__state' -IL_00c3: ldarg.0 -IL_00c4: ldloc.s V_6 -IL_00c6: stfld valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter Example/'d__7'::'<>u__2' -IL_00cb: ldarg.0 -IL_00cc: ldflda valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__7'::'<>t__builder' -IL_00d1: ldloca.s V_6 -IL_00d3: ldarg.0 -IL_00d4: call instance void valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::AwaitUnsafeOnCompletedd__7'>(!!0&, -!!1&) -IL_00d9: leave IL_01de -IL_00de: ldarg.0 -IL_00df: ldfld valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter Example/'d__7'::'<>u__2' -IL_00e4: stloc.s V_6 -IL_00e6: ldarg.0 -IL_00e7: ldflda valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter Example/'d__7'::'<>u__2' -IL_00ec: initobj [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter -IL_00f2: ldarg.0 -IL_00f3: ldc.i4.m1 -IL_00f4: dup -IL_00f5: stloc.0 -IL_00f6: stfld int32 Example/'d__7'::'<>1__state' -IL_00fb: ldloca.s V_6 -IL_00fd: call instance void [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter::GetResult() -IL_0102: ldarg.0 -IL_0103: ldarg.0 -IL_0104: ldfld int32 Example/'d__7'::'5__3' -IL_0109: stfld int32 Example/'d__7'::'<>7__wrap4' -IL_010e: ldarg.0 -IL_010f: ldfld int32 Example/'d__7'::'5__4' -IL_0114: call class [mscorlib]System.Threading.Tasks.Task`1 [mscorlib]System.Threading.Tasks.Task::FromResult(!!0) -IL_0119: ldc.i4.0 -IL_011a: callvirt instance valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1 class [mscorlib]System.Threading.Tasks.Task`1::ConfigureAwait(bool) -IL_011f: stloc.s V_4 -IL_0121: ldloca.s V_4 -IL_0123: call instance valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1::GetAwaiter() -IL_0128: stloc.3 -IL_0129: ldloca.s V_3 -IL_012b: call instance bool valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter::get_IsCompleted() -IL_0130: brtrue.s IL_0171 -IL_0132: ldarg.0 -IL_0133: ldc.i4.2 -IL_0134: dup -IL_0135: stloc.0 -IL_0136: stfld int32 Example/'d__7'::'<>1__state' -IL_013b: ldarg.0 -IL_013c: ldloc.3 -IL_013d: stfld valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter Example/'d__7'::'<>u__1' -IL_0142: ldarg.0 -IL_0143: ldflda valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__7'::'<>t__builder' -IL_0148: ldloca.s V_3 -IL_014a: ldarg.0 -IL_014b: call instance void valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::AwaitUnsafeOnCompleted,valuetype Example/'d__7'>(!!0&, -!!1&) -IL_0150: leave IL_01de -IL_0155: ldarg.0 -IL_0156: ldfld valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter Example/'d__7'::'<>u__1' -IL_015b: stloc.3 -IL_015c: ldarg.0 -IL_015d: ldflda valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter Example/'d__7'::'<>u__1' -IL_0162: initobj valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter -IL_0168: ldarg.0 -IL_0169: ldc.i4.m1 -IL_016a: dup -IL_016b: stloc.0 -IL_016c: stfld int32 Example/'d__7'::'<>1__state' -IL_0171: ldloca.s V_3 -IL_0173: call instance !0 valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter::GetResult() -IL_0178: stloc.2 -IL_0179: ldarg.0 -IL_017a: ldarg.0 -IL_017b: ldfld int32 Example/'d__7'::'<>7__wrap4' -IL_0180: ldloc.2 -IL_0181: add -IL_0182: stfld int32 Example/'d__7'::'5__3' -IL_0187: ldarg.0 -IL_0188: ldfld int32 Example/'d__7'::'5__4' -IL_018d: stloc.2 -IL_018e: ldarg.0 -IL_018f: ldloc.2 -IL_0190: ldc.i4.1 -IL_0191: add -IL_0192: stfld int32 Example/'d__7'::'5__4' -IL_0197: ldarg.0 -IL_0198: ldfld int32 Example/'d__7'::'5__4' -IL_019d: ldarg.0 -IL_019e: ldfld int32 Example/'d__7'::'5__2' -IL_01a3: blt IL_009a -IL_01a8: ldarg.0 -IL_01a9: ldfld int32 Example/'d__7'::'5__3' -IL_01ae: stloc.1 -IL_01af: leave.s IL_01ca -} // end .try -catch [mscorlib]System.Exception -{ -IL_01b1: stloc.s V_7 -IL_01b3: ldarg.0 -IL_01b4: ldc.i4.s -2 -IL_01b6: stfld int32 Example/'d__7'::'<>1__state' -IL_01bb: ldarg.0 -IL_01bc: ldflda valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__7'::'<>t__builder' -IL_01c1: ldloc.s V_7 -IL_01c3: call instance void valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetException(class [mscorlib]System.Exception) -IL_01c8: leave.s IL_01de -} // end handler -IL_01ca: ldarg.0 -IL_01cb: ldc.i4.s -2 -IL_01cd: stfld int32 Example/'d__7'::'<>1__state' -IL_01d2: ldarg.0 -IL_01d3: ldflda valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__7'::'<>t__builder' -IL_01d8: ldloc.1 -IL_01d9: call instance void valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetResult(!0) -IL_01de: ret -} -.method private hidebysig newslot virtual final -instance void SetStateMachine(class [mscorlib]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed -{ -.param [1] -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.override [mscorlib]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine -.maxstack 8 -IL_0000: ldarg.0 -IL_0001: ldflda valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__7'::'<>t__builder' -IL_0006: ldarg.1 -IL_0007: call instance void valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetStateMachine(class [mscorlib]System.Runtime.CompilerServices.IAsyncStateMachine) -IL_000c: ret -} -} -.class auto ansi sealed nested private beforefieldinit 'd__8' -extends [mscorlib]System.ValueType -implements [mscorlib]System.Runtime.CompilerServices.IAsyncStateMachine -{ -.interfaceimpl type [mscorlib]System.Runtime.CompilerServices.IAsyncStateMachine -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field public int32 '<>1__state' -.field public valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 '<>t__builder' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field private int32 '5__2' -.field private int32 '5__3' -.field private valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter '<>u__1' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field private int32 '5__4' -.field private valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter '<>u__2' -.field private int32 '<>7__wrap4' -.method private hidebysig newslot virtual final -instance void MoveNext() cil managed -{ -.override [mscorlib]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext -.maxstack 3 -.locals init (int32 V_0, -int32 V_1, -int32 V_2, -valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter V_3, -valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1 V_4, -valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter V_5, -valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable V_6, -class [mscorlib]System.Exception V_7) -IL_0000: ldarg.0 -IL_0001: ldfld int32 Example/'d__8'::'<>1__state' -IL_0006: stloc.0 -.try -{ -IL_0007: ldloc.0 -IL_0008: switch ( -IL_005c, -IL_00de, -IL_0155) -IL_0019: ldc.i4.s 10 -IL_001b: call class [mscorlib]System.Threading.Tasks.Task`1 [mscorlib]System.Threading.Tasks.Task::FromResult(!!0) -IL_0020: ldc.i4.0 -IL_0021: callvirt instance valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1 class [mscorlib]System.Threading.Tasks.Task`1::ConfigureAwait(bool) -IL_0026: stloc.s V_4 -IL_0028: ldloca.s V_4 -IL_002a: call instance valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1::GetAwaiter() -IL_002f: stloc.3 -IL_0030: ldloca.s V_3 -IL_0032: call instance bool valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter::get_IsCompleted() -IL_0037: brtrue.s IL_0078 -IL_0039: ldarg.0 -IL_003a: ldc.i4.0 -IL_003b: dup -IL_003c: stloc.0 -IL_003d: stfld int32 Example/'d__8'::'<>1__state' -IL_0042: ldarg.0 -IL_0043: ldloc.3 -IL_0044: stfld valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter Example/'d__8'::'<>u__1' -IL_0049: ldarg.0 -IL_004a: ldflda valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__8'::'<>t__builder' -IL_004f: ldloca.s V_3 -IL_0051: ldarg.0 -IL_0052: call instance void valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::AwaitUnsafeOnCompleted,valuetype Example/'d__8'>(!!0&, -!!1&) -IL_0057: leave IL_01de -IL_005c: ldarg.0 -IL_005d: ldfld valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter Example/'d__8'::'<>u__1' -IL_0062: stloc.3 -IL_0063: ldarg.0 -IL_0064: ldflda valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter Example/'d__8'::'<>u__1' -IL_0069: initobj valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter -IL_006f: ldarg.0 -IL_0070: ldc.i4.m1 -IL_0071: dup -IL_0072: stloc.0 -IL_0073: stfld int32 Example/'d__8'::'<>1__state' -IL_0078: ldloca.s V_3 -IL_007a: call instance !0 valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter::GetResult() -IL_007f: stloc.2 -IL_0080: ldarg.0 -IL_0081: ldloc.2 -IL_0082: stfld int32 Example/'d__8'::'5__2' -IL_0087: ldarg.0 -IL_0088: ldc.i4.0 -IL_0089: stfld int32 Example/'d__8'::'5__3' -IL_008e: ldarg.0 -IL_008f: ldc.i4.0 -IL_0090: stfld int32 Example/'d__8'::'5__4' -IL_0095: br IL_0197 -IL_009a: ldc.i4.1 -IL_009b: call class [mscorlib]System.Threading.Tasks.Task [mscorlib]System.Threading.Tasks.Task::Delay(int32) -IL_00a0: ldc.i4.0 -IL_00a1: callvirt instance valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable [mscorlib]System.Threading.Tasks.Task::ConfigureAwait(bool) -IL_00a6: stloc.s V_6 -IL_00a8: ldloca.s V_6 -IL_00aa: call instance valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable::GetAwaiter() -IL_00af: stloc.s V_5 -IL_00b1: ldloca.s V_5 -IL_00b3: call instance bool [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter::get_IsCompleted() -IL_00b8: brtrue.s IL_00fb -IL_00ba: ldarg.0 -IL_00bb: ldc.i4.1 -IL_00bc: dup -IL_00bd: stloc.0 -IL_00be: stfld int32 Example/'d__8'::'<>1__state' -IL_00c3: ldarg.0 -IL_00c4: ldloc.s V_5 -IL_00c6: stfld valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter Example/'d__8'::'<>u__2' -IL_00cb: ldarg.0 -IL_00cc: ldflda valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__8'::'<>t__builder' -IL_00d1: ldloca.s V_5 -IL_00d3: ldarg.0 -IL_00d4: call instance void valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::AwaitUnsafeOnCompletedd__8'>(!!0&, -!!1&) -IL_00d9: leave IL_01de -IL_00de: ldarg.0 -IL_00df: ldfld valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter Example/'d__8'::'<>u__2' -IL_00e4: stloc.s V_5 -IL_00e6: ldarg.0 -IL_00e7: ldflda valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter Example/'d__8'::'<>u__2' -IL_00ec: initobj [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter -IL_00f2: ldarg.0 -IL_00f3: ldc.i4.m1 -IL_00f4: dup -IL_00f5: stloc.0 -IL_00f6: stfld int32 Example/'d__8'::'<>1__state' -IL_00fb: ldloca.s V_5 -IL_00fd: call instance void [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter::GetResult() -IL_0102: ldarg.0 -IL_0103: ldarg.0 -IL_0104: ldfld int32 Example/'d__8'::'5__3' -IL_0109: stfld int32 Example/'d__8'::'<>7__wrap4' -IL_010e: ldarg.0 -IL_010f: ldfld int32 Example/'d__8'::'5__4' -IL_0114: call class [mscorlib]System.Threading.Tasks.Task`1 [mscorlib]System.Threading.Tasks.Task::FromResult(!!0) -IL_0119: ldc.i4.0 -IL_011a: callvirt instance valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1 class [mscorlib]System.Threading.Tasks.Task`1::ConfigureAwait(bool) -IL_011f: stloc.s V_4 -IL_0121: ldloca.s V_4 -IL_0123: call instance valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1::GetAwaiter() -IL_0128: stloc.3 -IL_0129: ldloca.s V_3 -IL_012b: call instance bool valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter::get_IsCompleted() -IL_0130: brtrue.s IL_0171 -IL_0132: ldarg.0 -IL_0133: ldc.i4.2 -IL_0134: dup -IL_0135: stloc.0 -IL_0136: stfld int32 Example/'d__8'::'<>1__state' -IL_013b: ldarg.0 -IL_013c: ldloc.3 -IL_013d: stfld valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter Example/'d__8'::'<>u__1' -IL_0142: ldarg.0 -IL_0143: ldflda valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__8'::'<>t__builder' -IL_0148: ldloca.s V_3 -IL_014a: ldarg.0 -IL_014b: call instance void valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::AwaitUnsafeOnCompleted,valuetype Example/'d__8'>(!!0&, -!!1&) -IL_0150: leave IL_01de -IL_0155: ldarg.0 -IL_0156: ldfld valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter Example/'d__8'::'<>u__1' -IL_015b: stloc.3 -IL_015c: ldarg.0 -IL_015d: ldflda valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter Example/'d__8'::'<>u__1' -IL_0162: initobj valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter -IL_0168: ldarg.0 -IL_0169: ldc.i4.m1 -IL_016a: dup -IL_016b: stloc.0 -IL_016c: stfld int32 Example/'d__8'::'<>1__state' -IL_0171: ldloca.s V_3 -IL_0173: call instance !0 valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter::GetResult() -IL_0178: stloc.2 -IL_0179: ldarg.0 -IL_017a: ldarg.0 -IL_017b: ldfld int32 Example/'d__8'::'<>7__wrap4' -IL_0180: ldloc.2 -IL_0181: add -IL_0182: stfld int32 Example/'d__8'::'5__3' -IL_0187: ldarg.0 -IL_0188: ldfld int32 Example/'d__8'::'5__4' -IL_018d: stloc.2 -IL_018e: ldarg.0 -IL_018f: ldloc.2 -IL_0190: ldc.i4.1 -IL_0191: add -IL_0192: stfld int32 Example/'d__8'::'5__4' -IL_0197: ldarg.0 -IL_0198: ldfld int32 Example/'d__8'::'5__4' -IL_019d: ldarg.0 -IL_019e: ldfld int32 Example/'d__8'::'5__2' -IL_01a3: blt IL_009a -IL_01a8: ldarg.0 -IL_01a9: ldfld int32 Example/'d__8'::'5__3' -IL_01ae: stloc.1 -IL_01af: leave.s IL_01ca -} // end .try -catch [mscorlib]System.Exception -{ -IL_01b1: stloc.s V_7 -IL_01b3: ldarg.0 -IL_01b4: ldc.i4.s -2 -IL_01b6: stfld int32 Example/'d__8'::'<>1__state' -IL_01bb: ldarg.0 -IL_01bc: ldflda valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__8'::'<>t__builder' -IL_01c1: ldloc.s V_7 -IL_01c3: call instance void valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetException(class [mscorlib]System.Exception) -IL_01c8: leave.s IL_01de -} // end handler -IL_01ca: ldarg.0 -IL_01cb: ldc.i4.s -2 -IL_01cd: stfld int32 Example/'d__8'::'<>1__state' -IL_01d2: ldarg.0 -IL_01d3: ldflda valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__8'::'<>t__builder' -IL_01d8: ldloc.1 -IL_01d9: call instance void valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetResult(!0) -IL_01de: ret -} -.method private hidebysig newslot virtual final -instance void SetStateMachine(class [mscorlib]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed -{ -.param [1] -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.override [mscorlib]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine -.maxstack 8 -IL_0000: ldarg.0 -IL_0001: ldflda valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__8'::'<>t__builder' -IL_0006: ldarg.1 -IL_0007: call instance void valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetStateMachine(class [mscorlib]System.Runtime.CompilerServices.IAsyncStateMachine) -IL_000c: ret -} -} -.class auto ansi sealed nested private beforefieldinit 'd__9' -extends [mscorlib]System.ValueType -implements [mscorlib]System.Runtime.CompilerServices.IAsyncStateMachine -{ -.interfaceimpl type [mscorlib]System.Runtime.CompilerServices.IAsyncStateMachine -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field public int32 '<>1__state' -.field public valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 '<>t__builder' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field private valuetype [mscorlib]System.Runtime.CompilerServices.TaskAwaiter`1 '<>u__1' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.method private hidebysig newslot virtual final -instance void MoveNext() cil managed -{ -.override [mscorlib]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext -.maxstack 3 -.locals init (int32 V_0, -class Example V_1, -valuetype [mscorlib]System.Runtime.CompilerServices.TaskAwaiter`1 V_2, -class [mscorlib]System.Exception V_3) -IL_0000: ldarg.0 -IL_0001: ldfld int32 Example/'d__9'::'<>1__state' -IL_0006: stloc.0 -.try -{ -IL_0007: ldloc.0 -IL_0008: brfalse.s IL_0043 -IL_000a: newobj instance void Example::.ctor() -IL_000f: call class [mscorlib]System.Threading.Tasks.Task`1 [mscorlib]System.Threading.Tasks.Task::FromResult(!!0) -IL_0014: callvirt instance valuetype [mscorlib]System.Runtime.CompilerServices.TaskAwaiter`1 class [mscorlib]System.Threading.Tasks.Task`1::GetAwaiter() -IL_0019: stloc.2 -IL_001a: ldloca.s V_2 -IL_001c: call instance bool valuetype [mscorlib]System.Runtime.CompilerServices.TaskAwaiter`1::get_IsCompleted() -IL_0021: brtrue.s IL_005f -IL_0023: ldarg.0 -IL_0024: ldc.i4.0 -IL_0025: dup -IL_0026: stloc.0 -IL_0027: stfld int32 Example/'d__9'::'<>1__state' -IL_002c: ldarg.0 -IL_002d: ldloc.2 -IL_002e: stfld valuetype [mscorlib]System.Runtime.CompilerServices.TaskAwaiter`1 Example/'d__9'::'<>u__1' -IL_0033: ldarg.0 -IL_0034: ldflda valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__9'::'<>t__builder' -IL_0039: ldloca.s V_2 -IL_003b: ldarg.0 -IL_003c: call instance void valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::AwaitUnsafeOnCompleted,valuetype Example/'d__9'>(!!0&, -!!1&) -IL_0041: leave.s IL_0094 -IL_0043: ldarg.0 -IL_0044: ldfld valuetype [mscorlib]System.Runtime.CompilerServices.TaskAwaiter`1 Example/'d__9'::'<>u__1' -IL_0049: stloc.2 -IL_004a: ldarg.0 -IL_004b: ldflda valuetype [mscorlib]System.Runtime.CompilerServices.TaskAwaiter`1 Example/'d__9'::'<>u__1' -IL_0050: initobj valuetype [mscorlib]System.Runtime.CompilerServices.TaskAwaiter`1 -IL_0056: ldarg.0 -IL_0057: ldc.i4.m1 -IL_0058: dup -IL_0059: stloc.0 -IL_005a: stfld int32 Example/'d__9'::'<>1__state' -IL_005f: ldloca.s V_2 -IL_0061: call instance !0 valuetype [mscorlib]System.Runtime.CompilerServices.TaskAwaiter`1::GetResult() -IL_0066: stloc.1 -IL_0067: leave.s IL_0080 -} // end .try -catch [mscorlib]System.Exception -{ -IL_0069: stloc.3 -IL_006a: ldarg.0 -IL_006b: ldc.i4.s -2 -IL_006d: stfld int32 Example/'d__9'::'<>1__state' -IL_0072: ldarg.0 -IL_0073: ldflda valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__9'::'<>t__builder' -IL_0078: ldloc.3 -IL_0079: call instance void valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetException(class [mscorlib]System.Exception) -IL_007e: leave.s IL_0094 -} // end handler -IL_0080: ldarg.0 -IL_0081: ldc.i4.s -2 -IL_0083: stfld int32 Example/'d__9'::'<>1__state' -IL_0088: ldarg.0 -IL_0089: ldflda valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__9'::'<>t__builder' -IL_008e: ldloc.1 -IL_008f: call instance void valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetResult(!0) -IL_0094: ret -} -.method private hidebysig newslot virtual final -instance void SetStateMachine(class [mscorlib]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed -{ -.param [1] -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.override [mscorlib]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine -.maxstack 8 -IL_0000: ldarg.0 -IL_0001: ldflda valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__9'::'<>t__builder' -IL_0006: ldarg.1 -IL_0007: call instance void valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetStateMachine(class [mscorlib]System.Runtime.CompilerServices.IAsyncStateMachine) -IL_000c: ret -} -} -.class auto ansi sealed nested private beforefieldinit 'd__10' -extends [mscorlib]System.ValueType -implements [mscorlib]System.Runtime.CompilerServices.IAsyncStateMachine -{ -.interfaceimpl type [mscorlib]System.Runtime.CompilerServices.IAsyncStateMachine -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field public int32 '<>1__state' -.field public valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 '<>t__builder' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field private valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter '<>u__1' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.method private hidebysig newslot virtual final -instance void MoveNext() cil managed -{ -.override [mscorlib]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext -.maxstack 3 -.locals init (int32 V_0, -class Example V_1, -valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter V_2, -valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1 V_3, -class [mscorlib]System.Exception V_4) -IL_0000: ldarg.0 -IL_0001: ldfld int32 Example/'d__10'::'<>1__state' -IL_0006: stloc.0 -.try -{ -IL_0007: ldloc.0 -IL_0008: brfalse.s IL_004c -IL_000a: newobj instance void Example::.ctor() -IL_000f: call class [mscorlib]System.Threading.Tasks.Task`1 [mscorlib]System.Threading.Tasks.Task::FromResult(!!0) -IL_0014: ldc.i4.0 -IL_0015: callvirt instance valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1 class [mscorlib]System.Threading.Tasks.Task`1::ConfigureAwait(bool) -IL_001a: stloc.3 -IL_001b: ldloca.s V_3 -IL_001d: call instance valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1::GetAwaiter() -IL_0022: stloc.2 -IL_0023: ldloca.s V_2 -IL_0025: call instance bool valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter::get_IsCompleted() -IL_002a: brtrue.s IL_0068 -IL_002c: ldarg.0 -IL_002d: ldc.i4.0 -IL_002e: dup -IL_002f: stloc.0 -IL_0030: stfld int32 Example/'d__10'::'<>1__state' -IL_0035: ldarg.0 -IL_0036: ldloc.2 -IL_0037: stfld valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter Example/'d__10'::'<>u__1' -IL_003c: ldarg.0 -IL_003d: ldflda valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__10'::'<>t__builder' -IL_0042: ldloca.s V_2 -IL_0044: ldarg.0 -IL_0045: call instance void valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::AwaitUnsafeOnCompleted,valuetype Example/'d__10'>(!!0&, -!!1&) -IL_004a: leave.s IL_009f -IL_004c: ldarg.0 -IL_004d: ldfld valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter Example/'d__10'::'<>u__1' -IL_0052: stloc.2 -IL_0053: ldarg.0 -IL_0054: ldflda valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter Example/'d__10'::'<>u__1' -IL_0059: initobj valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter -IL_005f: ldarg.0 -IL_0060: ldc.i4.m1 -IL_0061: dup -IL_0062: stloc.0 -IL_0063: stfld int32 Example/'d__10'::'<>1__state' -IL_0068: ldloca.s V_2 -IL_006a: call instance !0 valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter::GetResult() -IL_006f: stloc.1 -IL_0070: leave.s IL_008b -} // end .try -catch [mscorlib]System.Exception -{ -IL_0072: stloc.s V_4 -IL_0074: ldarg.0 -IL_0075: ldc.i4.s -2 -IL_0077: stfld int32 Example/'d__10'::'<>1__state' -IL_007c: ldarg.0 -IL_007d: ldflda valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__10'::'<>t__builder' -IL_0082: ldloc.s V_4 -IL_0084: call instance void valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetException(class [mscorlib]System.Exception) -IL_0089: leave.s IL_009f -} // end handler -IL_008b: ldarg.0 -IL_008c: ldc.i4.s -2 -IL_008e: stfld int32 Example/'d__10'::'<>1__state' -IL_0093: ldarg.0 -IL_0094: ldflda valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__10'::'<>t__builder' -IL_0099: ldloc.1 -IL_009a: call instance void valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetResult(!0) -IL_009f: ret -} -.method private hidebysig newslot virtual final -instance void SetStateMachine(class [mscorlib]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed -{ -.param [1] -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.override [mscorlib]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine -.maxstack 8 -IL_0000: ldarg.0 -IL_0001: ldflda valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__10'::'<>t__builder' -IL_0006: ldarg.1 -IL_0007: call instance void valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetStateMachine(class [mscorlib]System.Runtime.CompilerServices.IAsyncStateMachine) -IL_000c: ret -} -} -.class auto ansi sealed nested private beforefieldinit 'd__11' -extends [mscorlib]System.ValueType -implements [mscorlib]System.Runtime.CompilerServices.IAsyncStateMachine -{ -.interfaceimpl type [mscorlib]System.Runtime.CompilerServices.IAsyncStateMachine -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field public int32 '<>1__state' -.field public valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 '<>t__builder' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field private valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter '<>u__1' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.method private hidebysig newslot virtual final -instance void MoveNext() cil managed -{ -.override [mscorlib]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext -.maxstack 3 -.locals init (int32 V_0, -class Example V_1, -valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter V_2, -valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1 V_3, -class [mscorlib]System.Exception V_4) -IL_0000: ldarg.0 -IL_0001: ldfld int32 Example/'d__11'::'<>1__state' -IL_0006: stloc.0 -.try -{ -IL_0007: ldloc.0 -IL_0008: brfalse.s IL_004c -IL_000a: newobj instance void Example::.ctor() -IL_000f: call class [mscorlib]System.Threading.Tasks.Task`1 [mscorlib]System.Threading.Tasks.Task::FromResult(!!0) -IL_0014: ldc.i4.0 -IL_0015: callvirt instance valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1 class [mscorlib]System.Threading.Tasks.Task`1::ConfigureAwait(bool) -IL_001a: stloc.3 -IL_001b: ldloca.s V_3 -IL_001d: call instance valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1::GetAwaiter() -IL_0022: stloc.2 -IL_0023: ldloca.s V_2 -IL_0025: call instance bool valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter::get_IsCompleted() -IL_002a: brtrue.s IL_0068 -IL_002c: ldarg.0 -IL_002d: ldc.i4.0 -IL_002e: dup -IL_002f: stloc.0 -IL_0030: stfld int32 Example/'d__11'::'<>1__state' -IL_0035: ldarg.0 -IL_0036: ldloc.2 -IL_0037: stfld valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter Example/'d__11'::'<>u__1' -IL_003c: ldarg.0 -IL_003d: ldflda valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__11'::'<>t__builder' -IL_0042: ldloca.s V_2 -IL_0044: ldarg.0 -IL_0045: call instance void valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::AwaitUnsafeOnCompleted,valuetype Example/'d__11'>(!!0&, -!!1&) -IL_004a: leave.s IL_009f -IL_004c: ldarg.0 -IL_004d: ldfld valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter Example/'d__11'::'<>u__1' -IL_0052: stloc.2 -IL_0053: ldarg.0 -IL_0054: ldflda valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter Example/'d__11'::'<>u__1' -IL_0059: initobj valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter -IL_005f: ldarg.0 -IL_0060: ldc.i4.m1 -IL_0061: dup -IL_0062: stloc.0 -IL_0063: stfld int32 Example/'d__11'::'<>1__state' -IL_0068: ldloca.s V_2 -IL_006a: call instance !0 valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter::GetResult() -IL_006f: stloc.1 -IL_0070: leave.s IL_008b -} // end .try -catch [mscorlib]System.Exception -{ -IL_0072: stloc.s V_4 -IL_0074: ldarg.0 -IL_0075: ldc.i4.s -2 -IL_0077: stfld int32 Example/'d__11'::'<>1__state' -IL_007c: ldarg.0 -IL_007d: ldflda valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__11'::'<>t__builder' -IL_0082: ldloc.s V_4 -IL_0084: call instance void valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetException(class [mscorlib]System.Exception) -IL_0089: leave.s IL_009f -} // end handler -IL_008b: ldarg.0 -IL_008c: ldc.i4.s -2 -IL_008e: stfld int32 Example/'d__11'::'<>1__state' -IL_0093: ldarg.0 -IL_0094: ldflda valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__11'::'<>t__builder' -IL_0099: ldloc.1 -IL_009a: call instance void valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetResult(!0) -IL_009f: ret -} -.method private hidebysig newslot virtual final -instance void SetStateMachine(class [mscorlib]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed -{ -.param [1] -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.override [mscorlib]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine -.maxstack 8 -IL_0000: ldarg.0 -IL_0001: ldflda valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__11'::'<>t__builder' -IL_0006: ldarg.1 -IL_0007: call instance void valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetStateMachine(class [mscorlib]System.Runtime.CompilerServices.IAsyncStateMachine) -IL_000c: ret -} -} -.method public hidebysig instance class [mscorlib]System.Threading.Tasks.Task -AsyncMethod1() cil managed -{ -63 4D 65 74 68 6F 64 31 3E 64 5F 5F 30 00 00 ) // cMethod1>d__0.. -.maxstack 2 -.locals init (valuetype Example/'d__0' V_0) -IL_0000: ldloca.s V_0 -IL_0002: call valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Create() -IL_0007: stfld valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Example/'d__0'::'<>t__builder' -IL_000c: ldloca.s V_0 -IL_000e: ldc.i4.m1 -IL_000f: stfld int32 Example/'d__0'::'<>1__state' -IL_0014: ldloca.s V_0 -IL_0016: ldflda valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Example/'d__0'::'<>t__builder' -IL_001b: ldloca.s V_0 -IL_001d: call instance void [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Startd__0'>(!!0&) -IL_0022: ldloca.s V_0 -IL_0024: ldflda valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Example/'d__0'::'<>t__builder' -IL_0029: call instance class [mscorlib]System.Threading.Tasks.Task [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::get_Task() -IL_002e: ret -} -.method public hidebysig instance class [mscorlib]System.Threading.Tasks.Task -AsyncMethod2() cil managed -{ -63 4D 65 74 68 6F 64 32 3E 64 5F 5F 31 00 00 ) // cMethod2>d__1.. -.maxstack 2 -.locals init (valuetype Example/'d__1' V_0) -IL_0000: ldloca.s V_0 -IL_0002: call valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Create() -IL_0007: stfld valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Example/'d__1'::'<>t__builder' -IL_000c: ldloca.s V_0 -IL_000e: ldc.i4.m1 -IL_000f: stfld int32 Example/'d__1'::'<>1__state' -IL_0014: ldloca.s V_0 -IL_0016: ldflda valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Example/'d__1'::'<>t__builder' -IL_001b: ldloca.s V_0 -IL_001d: call instance void [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Startd__1'>(!!0&) -IL_0022: ldloca.s V_0 -IL_0024: ldflda valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Example/'d__1'::'<>t__builder' -IL_0029: call instance class [mscorlib]System.Threading.Tasks.Task [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::get_Task() -IL_002e: ret -} -.method public hidebysig instance class [mscorlib]System.Threading.Tasks.Task -AsyncMethod3() cil managed -{ -63 4D 65 74 68 6F 64 33 3E 64 5F 5F 32 00 00 ) // cMethod3>d__2.. -.maxstack 2 -.locals init (valuetype Example/'d__2' V_0) -IL_0000: ldloca.s V_0 -IL_0002: call valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Create() -IL_0007: stfld valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Example/'d__2'::'<>t__builder' -IL_000c: ldloca.s V_0 -IL_000e: ldc.i4.m1 -IL_000f: stfld int32 Example/'d__2'::'<>1__state' -IL_0014: ldloca.s V_0 -IL_0016: ldflda valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Example/'d__2'::'<>t__builder' -IL_001b: ldloca.s V_0 -IL_001d: call instance void [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Startd__2'>(!!0&) -IL_0022: ldloca.s V_0 -IL_0024: ldflda valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Example/'d__2'::'<>t__builder' -IL_0029: call instance class [mscorlib]System.Threading.Tasks.Task [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::get_Task() -IL_002e: ret -} -.method public hidebysig instance class [mscorlib]System.Threading.Tasks.Task`1 -AsyncMethod4() cil managed -{ -63 4D 65 74 68 6F 64 34 3E 64 5F 5F 33 00 00 ) // cMethod4>d__3.. -.maxstack 2 -.locals init (valuetype Example/'d__3' V_0) -IL_0000: ldloca.s V_0 -IL_0002: call valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::Create() -IL_0007: stfld valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__3'::'<>t__builder' -IL_000c: ldloca.s V_0 -IL_000e: ldc.i4.m1 -IL_000f: stfld int32 Example/'d__3'::'<>1__state' -IL_0014: ldloca.s V_0 -IL_0016: ldflda valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__3'::'<>t__builder' -IL_001b: ldloca.s V_0 -IL_001d: call instance void valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::Startd__3'>(!!0&) -IL_0022: ldloca.s V_0 -IL_0024: ldflda valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__3'::'<>t__builder' -IL_0029: call instance class [mscorlib]System.Threading.Tasks.Task`1 valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::get_Task() -IL_002e: ret -} -.method public hidebysig instance class [mscorlib]System.Threading.Tasks.Task`1 -AsyncMethod5() cil managed -{ -63 4D 65 74 68 6F 64 35 3E 64 5F 5F 34 00 00 ) // cMethod5>d__4.. -.maxstack 2 -.locals init (valuetype Example/'d__4' V_0) -IL_0000: ldloca.s V_0 -IL_0002: call valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::Create() -IL_0007: stfld valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__4'::'<>t__builder' -IL_000c: ldloca.s V_0 -IL_000e: ldc.i4.m1 -IL_000f: stfld int32 Example/'d__4'::'<>1__state' -IL_0014: ldloca.s V_0 -IL_0016: ldflda valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__4'::'<>t__builder' -IL_001b: ldloca.s V_0 -IL_001d: call instance void valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::Startd__4'>(!!0&) -IL_0022: ldloca.s V_0 -IL_0024: ldflda valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__4'::'<>t__builder' -IL_0029: call instance class [mscorlib]System.Threading.Tasks.Task`1 valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::get_Task() -IL_002e: ret -} -.method public hidebysig instance class [mscorlib]System.Threading.Tasks.Task`1 -AsyncMethod6() cil managed -{ -63 4D 65 74 68 6F 64 36 3E 64 5F 5F 35 00 00 ) // cMethod6>d__5.. -.maxstack 2 -.locals init (valuetype Example/'d__5' V_0) -IL_0000: ldloca.s V_0 -IL_0002: call valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::Create() -IL_0007: stfld valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__5'::'<>t__builder' -IL_000c: ldloca.s V_0 -IL_000e: ldc.i4.m1 -IL_000f: stfld int32 Example/'d__5'::'<>1__state' -IL_0014: ldloca.s V_0 -IL_0016: ldflda valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__5'::'<>t__builder' -IL_001b: ldloca.s V_0 -IL_001d: call instance void valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::Startd__5'>(!!0&) -IL_0022: ldloca.s V_0 -IL_0024: ldflda valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__5'::'<>t__builder' -IL_0029: call instance class [mscorlib]System.Threading.Tasks.Task`1 valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::get_Task() -IL_002e: ret -} -.method public hidebysig instance class [mscorlib]System.Threading.Tasks.Task`1 -AsyncMethod7() cil managed -{ -63 4D 65 74 68 6F 64 37 3E 64 5F 5F 36 00 00 ) // cMethod7>d__6.. -.maxstack 2 -.locals init (valuetype Example/'d__6' V_0) -IL_0000: ldloca.s V_0 -IL_0002: call valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::Create() -IL_0007: stfld valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__6'::'<>t__builder' -IL_000c: ldloca.s V_0 -IL_000e: ldc.i4.m1 -IL_000f: stfld int32 Example/'d__6'::'<>1__state' -IL_0014: ldloca.s V_0 -IL_0016: ldflda valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__6'::'<>t__builder' -IL_001b: ldloca.s V_0 -IL_001d: call instance void valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::Startd__6'>(!!0&) -IL_0022: ldloca.s V_0 -IL_0024: ldflda valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__6'::'<>t__builder' -IL_0029: call instance class [mscorlib]System.Threading.Tasks.Task`1 valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::get_Task() -IL_002e: ret -} -.method public hidebysig instance class [mscorlib]System.Threading.Tasks.Task`1 -AsyncMethod8() cil managed -{ -63 4D 65 74 68 6F 64 38 3E 64 5F 5F 37 00 00 ) // cMethod8>d__7.. -.maxstack 2 -.locals init (valuetype Example/'d__7' V_0) -IL_0000: ldloca.s V_0 -IL_0002: call valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::Create() -IL_0007: stfld valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__7'::'<>t__builder' -IL_000c: ldloca.s V_0 -IL_000e: ldc.i4.m1 -IL_000f: stfld int32 Example/'d__7'::'<>1__state' -IL_0014: ldloca.s V_0 -IL_0016: ldflda valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__7'::'<>t__builder' -IL_001b: ldloca.s V_0 -IL_001d: call instance void valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::Startd__7'>(!!0&) -IL_0022: ldloca.s V_0 -IL_0024: ldflda valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__7'::'<>t__builder' -IL_0029: call instance class [mscorlib]System.Threading.Tasks.Task`1 valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::get_Task() -IL_002e: ret -} -.method public hidebysig instance class [mscorlib]System.Threading.Tasks.Task`1 -AsyncMethod9() cil managed -{ -63 4D 65 74 68 6F 64 39 3E 64 5F 5F 38 00 00 ) // cMethod9>d__8.. -.maxstack 2 -.locals init (valuetype Example/'d__8' V_0) -IL_0000: ldloca.s V_0 -IL_0002: call valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::Create() -IL_0007: stfld valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__8'::'<>t__builder' -IL_000c: ldloca.s V_0 -IL_000e: ldc.i4.m1 -IL_000f: stfld int32 Example/'d__8'::'<>1__state' -IL_0014: ldloca.s V_0 -IL_0016: ldflda valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__8'::'<>t__builder' -IL_001b: ldloca.s V_0 -IL_001d: call instance void valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::Startd__8'>(!!0&) -IL_0022: ldloca.s V_0 -IL_0024: ldflda valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__8'::'<>t__builder' -IL_0029: call instance class [mscorlib]System.Threading.Tasks.Task`1 valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::get_Task() -IL_002e: ret -} -.method public hidebysig instance class [mscorlib]System.Threading.Tasks.Task`1 -AsyncMethod10() cil managed -{ -63 4D 65 74 68 6F 64 31 30 3E 64 5F 5F 39 00 00 ) // cMethod10>d__9.. -.maxstack 2 -.locals init (valuetype Example/'d__9' V_0) -IL_0000: ldloca.s V_0 -IL_0002: call valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::Create() -IL_0007: stfld valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__9'::'<>t__builder' -IL_000c: ldloca.s V_0 -IL_000e: ldc.i4.m1 -IL_000f: stfld int32 Example/'d__9'::'<>1__state' -IL_0014: ldloca.s V_0 -IL_0016: ldflda valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__9'::'<>t__builder' -IL_001b: ldloca.s V_0 -IL_001d: call instance void valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::Startd__9'>(!!0&) -IL_0022: ldloca.s V_0 -IL_0024: ldflda valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__9'::'<>t__builder' -IL_0029: call instance class [mscorlib]System.Threading.Tasks.Task`1 valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::get_Task() -IL_002e: ret -} -.method public hidebysig instance class [mscorlib]System.Threading.Tasks.Task`1 -AsyncMethod11() cil managed -{ -63 4D 65 74 68 6F 64 31 31 3E 64 5F 5F 31 30 00 // cMethod11>d__10. -00 ) -.maxstack 2 -.locals init (valuetype Example/'d__10' V_0) -IL_0000: ldloca.s V_0 -IL_0002: call valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::Create() -IL_0007: stfld valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__10'::'<>t__builder' -IL_000c: ldloca.s V_0 -IL_000e: ldc.i4.m1 -IL_000f: stfld int32 Example/'d__10'::'<>1__state' -IL_0014: ldloca.s V_0 -IL_0016: ldflda valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__10'::'<>t__builder' -IL_001b: ldloca.s V_0 -IL_001d: call instance void valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::Startd__10'>(!!0&) -IL_0022: ldloca.s V_0 -IL_0024: ldflda valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__10'::'<>t__builder' -IL_0029: call instance class [mscorlib]System.Threading.Tasks.Task`1 valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::get_Task() -IL_002e: ret -} -.method public hidebysig instance class [mscorlib]System.Threading.Tasks.Task`1 -AsyncMethod12() cil managed -{ -63 4D 65 74 68 6F 64 31 32 3E 64 5F 5F 31 31 00 // cMethod12>d__11. -00 ) -.maxstack 2 -.locals init (valuetype Example/'d__11' V_0) -IL_0000: ldloca.s V_0 -IL_0002: call valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::Create() -IL_0007: stfld valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__11'::'<>t__builder' -IL_000c: ldloca.s V_0 -IL_000e: ldc.i4.m1 -IL_000f: stfld int32 Example/'d__11'::'<>1__state' -IL_0014: ldloca.s V_0 -IL_0016: ldflda valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__11'::'<>t__builder' -IL_001b: ldloca.s V_0 -IL_001d: call instance void valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::Startd__11'>(!!0&) -IL_0022: ldloca.s V_0 -IL_0024: ldflda valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__11'::'<>t__builder' -IL_0029: call instance class [mscorlib]System.Threading.Tasks.Task`1 valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::get_Task() -IL_002e: ret -} -.method public hidebysig specialname rtspecialname -instance void .ctor() cil managed -{ -.maxstack 8 -IL_0000: ldarg.0 -IL_0001: call instance void [mscorlib]System.Object::.ctor() -IL_0006: ret -} -} diff --git a/Tests/ModuleWeaverTests.DecompileExample.Release.DotNet.verified.txt b/Tests/ModuleWeaverTests.DecompileExample.Release.DotNet.verified.txt deleted file mode 100644 index cde8b0f..0000000 --- a/Tests/ModuleWeaverTests.DecompileExample.Release.DotNet.verified.txt +++ /dev/null @@ -1,1841 +0,0 @@ -.class public auto ansi beforefieldinit Example -extends [System.Runtime]System.Object -{ -.custom instance void System.Runtime.CompilerServices.NullableContextAttribute::.ctor(uint8) = ( 01 00 01 00 00 ) -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.class auto ansi sealed nested private beforefieldinit 'd__9' -extends [System.Runtime]System.ValueType -implements [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine -{ -.interfaceimpl type [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field public int32 '<>1__state' -.field public valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 '<>t__builder' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field private valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter`1 '<>u__1' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.method private hidebysig newslot virtual final -instance void MoveNext() cil managed -{ -.override [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext -.maxstack 3 -.locals init (int32 V_0, -class Example V_1, -valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter`1 V_2, -class [System.Runtime]System.Exception V_3) -IL_0000: ldarg.0 -IL_0001: ldfld int32 Example/'d__9'::'<>1__state' -IL_0006: stloc.0 -.try -{ -IL_0007: ldloc.0 -IL_0008: brfalse.s IL_0043 -IL_000a: newobj instance void Example::.ctor() -IL_000f: call class [System.Runtime]System.Threading.Tasks.Task`1 [System.Runtime]System.Threading.Tasks.Task::FromResult(!!0) -IL_0014: callvirt instance valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter`1 class [System.Runtime]System.Threading.Tasks.Task`1::GetAwaiter() -IL_0019: stloc.2 -IL_001a: ldloca.s V_2 -IL_001c: call instance bool valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter`1::get_IsCompleted() -IL_0021: brtrue.s IL_005f -IL_0023: ldarg.0 -IL_0024: ldc.i4.0 -IL_0025: dup -IL_0026: stloc.0 -IL_0027: stfld int32 Example/'d__9'::'<>1__state' -IL_002c: ldarg.0 -IL_002d: ldloc.2 -IL_002e: stfld valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter`1 Example/'d__9'::'<>u__1' -IL_0033: ldarg.0 -IL_0034: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__9'::'<>t__builder' -IL_0039: ldloca.s V_2 -IL_003b: ldarg.0 -IL_003c: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::AwaitUnsafeOnCompleted,valuetype Example/'d__9'>(!!0&, -!!1&) -IL_0041: leave.s IL_0094 -IL_0043: ldarg.0 -IL_0044: ldfld valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter`1 Example/'d__9'::'<>u__1' -IL_0049: stloc.2 -IL_004a: ldarg.0 -IL_004b: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter`1 Example/'d__9'::'<>u__1' -IL_0050: initobj valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter`1 -IL_0056: ldarg.0 -IL_0057: ldc.i4.m1 -IL_0058: dup -IL_0059: stloc.0 -IL_005a: stfld int32 Example/'d__9'::'<>1__state' -IL_005f: ldloca.s V_2 -IL_0061: call instance !0 valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter`1::GetResult() -IL_0066: stloc.1 -IL_0067: leave.s IL_0080 -} // end .try -catch [System.Runtime]System.Exception -{ -IL_0069: stloc.3 -IL_006a: ldarg.0 -IL_006b: ldc.i4.s -2 -IL_006d: stfld int32 Example/'d__9'::'<>1__state' -IL_0072: ldarg.0 -IL_0073: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__9'::'<>t__builder' -IL_0078: ldloc.3 -IL_0079: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetException(class [System.Runtime]System.Exception) -IL_007e: leave.s IL_0094 -} // end handler -IL_0080: ldarg.0 -IL_0081: ldc.i4.s -2 -IL_0083: stfld int32 Example/'d__9'::'<>1__state' -IL_0088: ldarg.0 -IL_0089: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__9'::'<>t__builder' -IL_008e: ldloc.1 -IL_008f: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetResult(!0) -IL_0094: ret -} -.method private hidebysig newslot virtual final -instance void SetStateMachine(class [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed -{ -.override [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine -.maxstack 8 -IL_0000: ldarg.0 -IL_0001: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__9'::'<>t__builder' -IL_0006: ldarg.1 -IL_0007: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetStateMachine(class [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine) -IL_000c: ret -} -} -.class auto ansi sealed nested private beforefieldinit 'd__10' -extends [System.Runtime]System.ValueType -implements [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine -{ -.interfaceimpl type [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field public int32 '<>1__state' -.field public valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 '<>t__builder' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field private valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter '<>u__1' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.method private hidebysig newslot virtual final -instance void MoveNext() cil managed -{ -.override [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext -.maxstack 3 -.locals init (int32 V_0, -class Example V_1, -valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter V_2, -valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1 V_3, -class [System.Runtime]System.Exception V_4) -IL_0000: ldarg.0 -IL_0001: ldfld int32 Example/'d__10'::'<>1__state' -IL_0006: stloc.0 -.try -{ -IL_0007: ldloc.0 -IL_0008: brfalse.s IL_004c -IL_000a: newobj instance void Example::.ctor() -IL_000f: call class [System.Runtime]System.Threading.Tasks.Task`1 [System.Runtime]System.Threading.Tasks.Task::FromResult(!!0) -IL_0014: ldc.i4.0 -IL_0015: callvirt instance valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1 class [System.Private.CoreLib]System.Threading.Tasks.Task`1::ConfigureAwait(bool) -IL_001a: stloc.3 -IL_001b: ldloca.s V_3 -IL_001d: call instance valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1::GetAwaiter() -IL_0022: stloc.2 -IL_0023: ldloca.s V_2 -IL_0025: call instance bool valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter::get_IsCompleted() -IL_002a: brtrue.s IL_0068 -IL_002c: ldarg.0 -IL_002d: ldc.i4.0 -IL_002e: dup -IL_002f: stloc.0 -IL_0030: stfld int32 Example/'d__10'::'<>1__state' -IL_0035: ldarg.0 -IL_0036: ldloc.2 -IL_0037: stfld valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter Example/'d__10'::'<>u__1' -IL_003c: ldarg.0 -IL_003d: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__10'::'<>t__builder' -IL_0042: ldloca.s V_2 -IL_0044: ldarg.0 -IL_0045: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::AwaitUnsafeOnCompleted,valuetype Example/'d__10'>(!!0&, -!!1&) -IL_004a: leave.s IL_009f -IL_004c: ldarg.0 -IL_004d: ldfld valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter Example/'d__10'::'<>u__1' -IL_0052: stloc.2 -IL_0053: ldarg.0 -IL_0054: ldflda valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter Example/'d__10'::'<>u__1' -IL_0059: initobj valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter -IL_005f: ldarg.0 -IL_0060: ldc.i4.m1 -IL_0061: dup -IL_0062: stloc.0 -IL_0063: stfld int32 Example/'d__10'::'<>1__state' -IL_0068: ldloca.s V_2 -IL_006a: call instance !0 valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter::GetResult() -IL_006f: stloc.1 -IL_0070: leave.s IL_008b -} // end .try -catch [System.Runtime]System.Exception -{ -IL_0072: stloc.s V_4 -IL_0074: ldarg.0 -IL_0075: ldc.i4.s -2 -IL_0077: stfld int32 Example/'d__10'::'<>1__state' -IL_007c: ldarg.0 -IL_007d: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__10'::'<>t__builder' -IL_0082: ldloc.s V_4 -IL_0084: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetException(class [System.Runtime]System.Exception) -IL_0089: leave.s IL_009f -} // end handler -IL_008b: ldarg.0 -IL_008c: ldc.i4.s -2 -IL_008e: stfld int32 Example/'d__10'::'<>1__state' -IL_0093: ldarg.0 -IL_0094: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__10'::'<>t__builder' -IL_0099: ldloc.1 -IL_009a: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetResult(!0) -IL_009f: ret -} -.method private hidebysig newslot virtual final -instance void SetStateMachine(class [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed -{ -.override [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine -.maxstack 8 -IL_0000: ldarg.0 -IL_0001: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__10'::'<>t__builder' -IL_0006: ldarg.1 -IL_0007: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetStateMachine(class [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine) -IL_000c: ret -} -} -.class auto ansi sealed nested private beforefieldinit 'd__11' -extends [System.Runtime]System.ValueType -implements [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine -{ -.interfaceimpl type [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field public int32 '<>1__state' -.field public valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 '<>t__builder' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field private valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter '<>u__1' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.method private hidebysig newslot virtual final -instance void MoveNext() cil managed -{ -.override [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext -.maxstack 3 -.locals init (int32 V_0, -class Example V_1, -valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter V_2, -valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1 V_3, -class [System.Runtime]System.Exception V_4) -IL_0000: ldarg.0 -IL_0001: ldfld int32 Example/'d__11'::'<>1__state' -IL_0006: stloc.0 -.try -{ -IL_0007: ldloc.0 -IL_0008: brfalse.s IL_004c -IL_000a: newobj instance void Example::.ctor() -IL_000f: call class [System.Runtime]System.Threading.Tasks.Task`1 [System.Runtime]System.Threading.Tasks.Task::FromResult(!!0) -IL_0014: ldc.i4.0 -IL_0015: callvirt instance valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1 class [System.Runtime]System.Threading.Tasks.Task`1::ConfigureAwait(bool) -IL_001a: stloc.3 -IL_001b: ldloca.s V_3 -IL_001d: call instance valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1::GetAwaiter() -IL_0022: stloc.2 -IL_0023: ldloca.s V_2 -IL_0025: call instance bool valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter::get_IsCompleted() -IL_002a: brtrue.s IL_0068 -IL_002c: ldarg.0 -IL_002d: ldc.i4.0 -IL_002e: dup -IL_002f: stloc.0 -IL_0030: stfld int32 Example/'d__11'::'<>1__state' -IL_0035: ldarg.0 -IL_0036: ldloc.2 -IL_0037: stfld valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter Example/'d__11'::'<>u__1' -IL_003c: ldarg.0 -IL_003d: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__11'::'<>t__builder' -IL_0042: ldloca.s V_2 -IL_0044: ldarg.0 -IL_0045: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::AwaitUnsafeOnCompleted,valuetype Example/'d__11'>(!!0&, -!!1&) -IL_004a: leave.s IL_009f -IL_004c: ldarg.0 -IL_004d: ldfld valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter Example/'d__11'::'<>u__1' -IL_0052: stloc.2 -IL_0053: ldarg.0 -IL_0054: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter Example/'d__11'::'<>u__1' -IL_0059: initobj valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter -IL_005f: ldarg.0 -IL_0060: ldc.i4.m1 -IL_0061: dup -IL_0062: stloc.0 -IL_0063: stfld int32 Example/'d__11'::'<>1__state' -IL_0068: ldloca.s V_2 -IL_006a: call instance !0 valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter::GetResult() -IL_006f: stloc.1 -IL_0070: leave.s IL_008b -} // end .try -catch [System.Runtime]System.Exception -{ -IL_0072: stloc.s V_4 -IL_0074: ldarg.0 -IL_0075: ldc.i4.s -2 -IL_0077: stfld int32 Example/'d__11'::'<>1__state' -IL_007c: ldarg.0 -IL_007d: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__11'::'<>t__builder' -IL_0082: ldloc.s V_4 -IL_0084: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetException(class [System.Runtime]System.Exception) -IL_0089: leave.s IL_009f -} // end handler -IL_008b: ldarg.0 -IL_008c: ldc.i4.s -2 -IL_008e: stfld int32 Example/'d__11'::'<>1__state' -IL_0093: ldarg.0 -IL_0094: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__11'::'<>t__builder' -IL_0099: ldloc.1 -IL_009a: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetResult(!0) -IL_009f: ret -} -.method private hidebysig newslot virtual final -instance void SetStateMachine(class [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed -{ -.override [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine -.maxstack 8 -IL_0000: ldarg.0 -IL_0001: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__11'::'<>t__builder' -IL_0006: ldarg.1 -IL_0007: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetStateMachine(class [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine) -IL_000c: ret -} -} -.class auto ansi sealed nested private beforefieldinit 'd__0' -extends [System.Runtime]System.ValueType -implements [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine -{ -.interfaceimpl type [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field public int32 '<>1__state' -.field public valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder '<>t__builder' -.field private valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter '<>u__1' -.method private hidebysig newslot virtual final -instance void MoveNext() cil managed -{ -.override [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext -.maxstack 3 -.locals init (int32 V_0, -valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter V_1, -class [System.Runtime]System.Exception V_2) -IL_0000: ldarg.0 -IL_0001: ldfld int32 Example/'d__0'::'<>1__state' -IL_0006: stloc.0 -.try -{ -IL_0007: ldloc.0 -IL_0008: brfalse.s IL_003f -IL_000a: ldc.i4.1 -IL_000b: call class [System.Runtime]System.Threading.Tasks.Task [System.Runtime]System.Threading.Tasks.Task::Delay(int32) -IL_0010: callvirt instance valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter [System.Runtime]System.Threading.Tasks.Task::GetAwaiter() -IL_0015: stloc.1 -IL_0016: ldloca.s V_1 -IL_0018: call instance bool [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter::get_IsCompleted() -IL_001d: brtrue.s IL_005b -IL_001f: ldarg.0 -IL_0020: ldc.i4.0 -IL_0021: dup -IL_0022: stloc.0 -IL_0023: stfld int32 Example/'d__0'::'<>1__state' -IL_0028: ldarg.0 -IL_0029: ldloc.1 -IL_002a: stfld valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter Example/'d__0'::'<>u__1' -IL_002f: ldarg.0 -IL_0030: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Example/'d__0'::'<>t__builder' -IL_0035: ldloca.s V_1 -IL_0037: ldarg.0 -IL_0038: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::AwaitUnsafeOnCompletedd__0'>(!!0&, -!!1&) -IL_003d: leave.s IL_008e -IL_003f: ldarg.0 -IL_0040: ldfld valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter Example/'d__0'::'<>u__1' -IL_0045: stloc.1 -IL_0046: ldarg.0 -IL_0047: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter Example/'d__0'::'<>u__1' -IL_004c: initobj [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter -IL_0052: ldarg.0 -IL_0053: ldc.i4.m1 -IL_0054: dup -IL_0055: stloc.0 -IL_0056: stfld int32 Example/'d__0'::'<>1__state' -IL_005b: ldloca.s V_1 -IL_005d: call instance void [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter::GetResult() -IL_0062: leave.s IL_007b -} // end .try -catch [System.Runtime]System.Exception -{ -IL_0064: stloc.2 -IL_0065: ldarg.0 -IL_0066: ldc.i4.s -2 -IL_0068: stfld int32 Example/'d__0'::'<>1__state' -IL_006d: ldarg.0 -IL_006e: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Example/'d__0'::'<>t__builder' -IL_0073: ldloc.2 -IL_0074: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetException(class [System.Runtime]System.Exception) -IL_0079: leave.s IL_008e -} // end handler -IL_007b: ldarg.0 -IL_007c: ldc.i4.s -2 -IL_007e: stfld int32 Example/'d__0'::'<>1__state' -IL_0083: ldarg.0 -IL_0084: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Example/'d__0'::'<>t__builder' -IL_0089: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetResult() -IL_008e: ret -} -.method private hidebysig newslot virtual final -instance void SetStateMachine(class [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed -{ -.override [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine -.maxstack 8 -IL_0000: ldarg.0 -IL_0001: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Example/'d__0'::'<>t__builder' -IL_0006: ldarg.1 -IL_0007: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetStateMachine(class [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine) -IL_000c: ret -} -} -.class auto ansi sealed nested private beforefieldinit 'd__1' -extends [System.Runtime]System.ValueType -implements [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine -{ -.interfaceimpl type [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field public int32 '<>1__state' -.field public valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder '<>t__builder' -.field private valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter '<>u__1' -.method private hidebysig newslot virtual final -instance void MoveNext() cil managed -{ -.override [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext -.maxstack 3 -.locals init (int32 V_0, -valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter V_1, -valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable V_2, -class [System.Runtime]System.Exception V_3) -IL_0000: ldarg.0 -IL_0001: ldfld int32 Example/'d__1'::'<>1__state' -IL_0006: stloc.0 -.try -{ -IL_0007: ldloc.0 -IL_0008: brfalse.s IL_0048 -IL_000a: ldc.i4.1 -IL_000b: call class [System.Runtime]System.Threading.Tasks.Task [System.Runtime]System.Threading.Tasks.Task::Delay(int32) -IL_0010: ldc.i4.0 -IL_0011: callvirt instance valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable [System.Private.CoreLib]System.Threading.Tasks.Task::ConfigureAwait(bool) -IL_0016: stloc.2 -IL_0017: ldloca.s V_2 -IL_0019: call instance valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable::GetAwaiter() -IL_001e: stloc.1 -IL_001f: ldloca.s V_1 -IL_0021: call instance bool [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter::get_IsCompleted() -IL_0026: brtrue.s IL_0064 -IL_0028: ldarg.0 -IL_0029: ldc.i4.0 -IL_002a: dup -IL_002b: stloc.0 -IL_002c: stfld int32 Example/'d__1'::'<>1__state' -IL_0031: ldarg.0 -IL_0032: ldloc.1 -IL_0033: stfld valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter Example/'d__1'::'<>u__1' -IL_0038: ldarg.0 -IL_0039: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Example/'d__1'::'<>t__builder' -IL_003e: ldloca.s V_1 -IL_0040: ldarg.0 -IL_0041: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::AwaitUnsafeOnCompletedd__1'>(!!0&, -!!1&) -IL_0046: leave.s IL_0097 -IL_0048: ldarg.0 -IL_0049: ldfld valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter Example/'d__1'::'<>u__1' -IL_004e: stloc.1 -IL_004f: ldarg.0 -IL_0050: ldflda valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter Example/'d__1'::'<>u__1' -IL_0055: initobj [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter -IL_005b: ldarg.0 -IL_005c: ldc.i4.m1 -IL_005d: dup -IL_005e: stloc.0 -IL_005f: stfld int32 Example/'d__1'::'<>1__state' -IL_0064: ldloca.s V_1 -IL_0066: call instance void [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter::GetResult() -IL_006b: leave.s IL_0084 -} // end .try -catch [System.Runtime]System.Exception -{ -IL_006d: stloc.3 -IL_006e: ldarg.0 -IL_006f: ldc.i4.s -2 -IL_0071: stfld int32 Example/'d__1'::'<>1__state' -IL_0076: ldarg.0 -IL_0077: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Example/'d__1'::'<>t__builder' -IL_007c: ldloc.3 -IL_007d: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetException(class [System.Runtime]System.Exception) -IL_0082: leave.s IL_0097 -} // end handler -IL_0084: ldarg.0 -IL_0085: ldc.i4.s -2 -IL_0087: stfld int32 Example/'d__1'::'<>1__state' -IL_008c: ldarg.0 -IL_008d: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Example/'d__1'::'<>t__builder' -IL_0092: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetResult() -IL_0097: ret -} -.method private hidebysig newslot virtual final -instance void SetStateMachine(class [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed -{ -.override [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine -.maxstack 8 -IL_0000: ldarg.0 -IL_0001: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Example/'d__1'::'<>t__builder' -IL_0006: ldarg.1 -IL_0007: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetStateMachine(class [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine) -IL_000c: ret -} -} -.class auto ansi sealed nested private beforefieldinit 'd__2' -extends [System.Runtime]System.ValueType -implements [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine -{ -.interfaceimpl type [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field public int32 '<>1__state' -.field public valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder '<>t__builder' -.field private valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter '<>u__1' -.method private hidebysig newslot virtual final -instance void MoveNext() cil managed -{ -.override [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext -.maxstack 3 -.locals init (int32 V_0, -valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter V_1, -valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable V_2, -class [System.Runtime]System.Exception V_3) -IL_0000: ldarg.0 -IL_0001: ldfld int32 Example/'d__2'::'<>1__state' -IL_0006: stloc.0 -.try -{ -IL_0007: ldloc.0 -IL_0008: brfalse.s IL_0048 -IL_000a: ldc.i4.1 -IL_000b: call class [System.Runtime]System.Threading.Tasks.Task [System.Runtime]System.Threading.Tasks.Task::Delay(int32) -IL_0010: ldc.i4.0 -IL_0011: callvirt instance valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable [System.Runtime]System.Threading.Tasks.Task::ConfigureAwait(bool) -IL_0016: stloc.2 -IL_0017: ldloca.s V_2 -IL_0019: call instance valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable::GetAwaiter() -IL_001e: stloc.1 -IL_001f: ldloca.s V_1 -IL_0021: call instance bool [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter::get_IsCompleted() -IL_0026: brtrue.s IL_0064 -IL_0028: ldarg.0 -IL_0029: ldc.i4.0 -IL_002a: dup -IL_002b: stloc.0 -IL_002c: stfld int32 Example/'d__2'::'<>1__state' -IL_0031: ldarg.0 -IL_0032: ldloc.1 -IL_0033: stfld valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter Example/'d__2'::'<>u__1' -IL_0038: ldarg.0 -IL_0039: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Example/'d__2'::'<>t__builder' -IL_003e: ldloca.s V_1 -IL_0040: ldarg.0 -IL_0041: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::AwaitUnsafeOnCompletedd__2'>(!!0&, -!!1&) -IL_0046: leave.s IL_0097 -IL_0048: ldarg.0 -IL_0049: ldfld valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter Example/'d__2'::'<>u__1' -IL_004e: stloc.1 -IL_004f: ldarg.0 -IL_0050: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter Example/'d__2'::'<>u__1' -IL_0055: initobj [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter -IL_005b: ldarg.0 -IL_005c: ldc.i4.m1 -IL_005d: dup -IL_005e: stloc.0 -IL_005f: stfld int32 Example/'d__2'::'<>1__state' -IL_0064: ldloca.s V_1 -IL_0066: call instance void [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter::GetResult() -IL_006b: leave.s IL_0084 -} // end .try -catch [System.Runtime]System.Exception -{ -IL_006d: stloc.3 -IL_006e: ldarg.0 -IL_006f: ldc.i4.s -2 -IL_0071: stfld int32 Example/'d__2'::'<>1__state' -IL_0076: ldarg.0 -IL_0077: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Example/'d__2'::'<>t__builder' -IL_007c: ldloc.3 -IL_007d: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetException(class [System.Runtime]System.Exception) -IL_0082: leave.s IL_0097 -} // end handler -IL_0084: ldarg.0 -IL_0085: ldc.i4.s -2 -IL_0087: stfld int32 Example/'d__2'::'<>1__state' -IL_008c: ldarg.0 -IL_008d: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Example/'d__2'::'<>t__builder' -IL_0092: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetResult() -IL_0097: ret -} -.method private hidebysig newslot virtual final -instance void SetStateMachine(class [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed -{ -.override [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine -.maxstack 8 -IL_0000: ldarg.0 -IL_0001: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Example/'d__2'::'<>t__builder' -IL_0006: ldarg.1 -IL_0007: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetStateMachine(class [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine) -IL_000c: ret -} -} -.class auto ansi sealed nested private beforefieldinit 'd__3' -extends [System.Runtime]System.ValueType -implements [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine -{ -.interfaceimpl type [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field public int32 '<>1__state' -.field public valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 '<>t__builder' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field private valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter`1 '<>u__1' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.method private hidebysig newslot virtual final -instance void MoveNext() cil managed -{ -.override [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext -.maxstack 3 -.locals init (int32 V_0, -int32 V_1, -valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter`1 V_2, -class [System.Runtime]System.Exception V_3) -IL_0000: ldarg.0 -IL_0001: ldfld int32 Example/'d__3'::'<>1__state' -IL_0006: stloc.0 -.try -{ -IL_0007: ldloc.0 -IL_0008: brfalse.s IL_0040 -IL_000a: ldc.i4.s 10 -IL_000c: call class [System.Runtime]System.Threading.Tasks.Task`1 [System.Runtime]System.Threading.Tasks.Task::FromResult(!!0) -IL_0011: callvirt instance valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter`1 class [System.Runtime]System.Threading.Tasks.Task`1::GetAwaiter() -IL_0016: stloc.2 -IL_0017: ldloca.s V_2 -IL_0019: call instance bool valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter`1::get_IsCompleted() -IL_001e: brtrue.s IL_005c -IL_0020: ldarg.0 -IL_0021: ldc.i4.0 -IL_0022: dup -IL_0023: stloc.0 -IL_0024: stfld int32 Example/'d__3'::'<>1__state' -IL_0029: ldarg.0 -IL_002a: ldloc.2 -IL_002b: stfld valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter`1 Example/'d__3'::'<>u__1' -IL_0030: ldarg.0 -IL_0031: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__3'::'<>t__builder' -IL_0036: ldloca.s V_2 -IL_0038: ldarg.0 -IL_0039: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::AwaitUnsafeOnCompleted,valuetype Example/'d__3'>(!!0&, -!!1&) -IL_003e: leave.s IL_0091 -IL_0040: ldarg.0 -IL_0041: ldfld valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter`1 Example/'d__3'::'<>u__1' -IL_0046: stloc.2 -IL_0047: ldarg.0 -IL_0048: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter`1 Example/'d__3'::'<>u__1' -IL_004d: initobj valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter`1 -IL_0053: ldarg.0 -IL_0054: ldc.i4.m1 -IL_0055: dup -IL_0056: stloc.0 -IL_0057: stfld int32 Example/'d__3'::'<>1__state' -IL_005c: ldloca.s V_2 -IL_005e: call instance !0 valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter`1::GetResult() -IL_0063: stloc.1 -IL_0064: leave.s IL_007d -} // end .try -catch [System.Runtime]System.Exception -{ -IL_0066: stloc.3 -IL_0067: ldarg.0 -IL_0068: ldc.i4.s -2 -IL_006a: stfld int32 Example/'d__3'::'<>1__state' -IL_006f: ldarg.0 -IL_0070: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__3'::'<>t__builder' -IL_0075: ldloc.3 -IL_0076: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetException(class [System.Runtime]System.Exception) -IL_007b: leave.s IL_0091 -} // end handler -IL_007d: ldarg.0 -IL_007e: ldc.i4.s -2 -IL_0080: stfld int32 Example/'d__3'::'<>1__state' -IL_0085: ldarg.0 -IL_0086: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__3'::'<>t__builder' -IL_008b: ldloc.1 -IL_008c: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetResult(!0) -IL_0091: ret -} -.method private hidebysig newslot virtual final -instance void SetStateMachine(class [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed -{ -.override [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine -.maxstack 8 -IL_0000: ldarg.0 -IL_0001: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__3'::'<>t__builder' -IL_0006: ldarg.1 -IL_0007: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetStateMachine(class [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine) -IL_000c: ret -} -} -.class auto ansi sealed nested private beforefieldinit 'd__4' -extends [System.Runtime]System.ValueType -implements [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine -{ -.interfaceimpl type [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field public int32 '<>1__state' -.field public valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 '<>t__builder' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field private valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter '<>u__1' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.method private hidebysig newslot virtual final -instance void MoveNext() cil managed -{ -.override [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext -.maxstack 3 -.locals init (int32 V_0, -int32 V_1, -valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter V_2, -valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1 V_3, -class [System.Runtime]System.Exception V_4) -IL_0000: ldarg.0 -IL_0001: ldfld int32 Example/'d__4'::'<>1__state' -IL_0006: stloc.0 -.try -{ -IL_0007: ldloc.0 -IL_0008: brfalse.s IL_0049 -IL_000a: ldc.i4.s 10 -IL_000c: call class [System.Runtime]System.Threading.Tasks.Task`1 [System.Runtime]System.Threading.Tasks.Task::FromResult(!!0) -IL_0011: ldc.i4.0 -IL_0012: callvirt instance valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1 class [System.Private.CoreLib]System.Threading.Tasks.Task`1::ConfigureAwait(bool) -IL_0017: stloc.3 -IL_0018: ldloca.s V_3 -IL_001a: call instance valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1::GetAwaiter() -IL_001f: stloc.2 -IL_0020: ldloca.s V_2 -IL_0022: call instance bool valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter::get_IsCompleted() -IL_0027: brtrue.s IL_0065 -IL_0029: ldarg.0 -IL_002a: ldc.i4.0 -IL_002b: dup -IL_002c: stloc.0 -IL_002d: stfld int32 Example/'d__4'::'<>1__state' -IL_0032: ldarg.0 -IL_0033: ldloc.2 -IL_0034: stfld valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter Example/'d__4'::'<>u__1' -IL_0039: ldarg.0 -IL_003a: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__4'::'<>t__builder' -IL_003f: ldloca.s V_2 -IL_0041: ldarg.0 -IL_0042: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::AwaitUnsafeOnCompleted,valuetype Example/'d__4'>(!!0&, -!!1&) -IL_0047: leave.s IL_009c -IL_0049: ldarg.0 -IL_004a: ldfld valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter Example/'d__4'::'<>u__1' -IL_004f: stloc.2 -IL_0050: ldarg.0 -IL_0051: ldflda valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter Example/'d__4'::'<>u__1' -IL_0056: initobj valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter -IL_005c: ldarg.0 -IL_005d: ldc.i4.m1 -IL_005e: dup -IL_005f: stloc.0 -IL_0060: stfld int32 Example/'d__4'::'<>1__state' -IL_0065: ldloca.s V_2 -IL_0067: call instance !0 valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter::GetResult() -IL_006c: stloc.1 -IL_006d: leave.s IL_0088 -} // end .try -catch [System.Runtime]System.Exception -{ -IL_006f: stloc.s V_4 -IL_0071: ldarg.0 -IL_0072: ldc.i4.s -2 -IL_0074: stfld int32 Example/'d__4'::'<>1__state' -IL_0079: ldarg.0 -IL_007a: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__4'::'<>t__builder' -IL_007f: ldloc.s V_4 -IL_0081: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetException(class [System.Runtime]System.Exception) -IL_0086: leave.s IL_009c -} // end handler -IL_0088: ldarg.0 -IL_0089: ldc.i4.s -2 -IL_008b: stfld int32 Example/'d__4'::'<>1__state' -IL_0090: ldarg.0 -IL_0091: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__4'::'<>t__builder' -IL_0096: ldloc.1 -IL_0097: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetResult(!0) -IL_009c: ret -} -.method private hidebysig newslot virtual final -instance void SetStateMachine(class [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed -{ -.override [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine -.maxstack 8 -IL_0000: ldarg.0 -IL_0001: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__4'::'<>t__builder' -IL_0006: ldarg.1 -IL_0007: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetStateMachine(class [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine) -IL_000c: ret -} -} -.class auto ansi sealed nested private beforefieldinit 'd__5' -extends [System.Runtime]System.ValueType -implements [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine -{ -.interfaceimpl type [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field public int32 '<>1__state' -.field public valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 '<>t__builder' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field private valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter '<>u__1' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.method private hidebysig newslot virtual final -instance void MoveNext() cil managed -{ -.override [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext -.maxstack 3 -.locals init (int32 V_0, -int32 V_1, -valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter V_2, -valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1 V_3, -class [System.Runtime]System.Exception V_4) -IL_0000: ldarg.0 -IL_0001: ldfld int32 Example/'d__5'::'<>1__state' -IL_0006: stloc.0 -.try -{ -IL_0007: ldloc.0 -IL_0008: brfalse.s IL_0049 -IL_000a: ldc.i4.s 10 -IL_000c: call class [System.Runtime]System.Threading.Tasks.Task`1 [System.Runtime]System.Threading.Tasks.Task::FromResult(!!0) -IL_0011: ldc.i4.0 -IL_0012: callvirt instance valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1 class [System.Runtime]System.Threading.Tasks.Task`1::ConfigureAwait(bool) -IL_0017: stloc.3 -IL_0018: ldloca.s V_3 -IL_001a: call instance valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1::GetAwaiter() -IL_001f: stloc.2 -IL_0020: ldloca.s V_2 -IL_0022: call instance bool valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter::get_IsCompleted() -IL_0027: brtrue.s IL_0065 -IL_0029: ldarg.0 -IL_002a: ldc.i4.0 -IL_002b: dup -IL_002c: stloc.0 -IL_002d: stfld int32 Example/'d__5'::'<>1__state' -IL_0032: ldarg.0 -IL_0033: ldloc.2 -IL_0034: stfld valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter Example/'d__5'::'<>u__1' -IL_0039: ldarg.0 -IL_003a: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__5'::'<>t__builder' -IL_003f: ldloca.s V_2 -IL_0041: ldarg.0 -IL_0042: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::AwaitUnsafeOnCompleted,valuetype Example/'d__5'>(!!0&, -!!1&) -IL_0047: leave.s IL_009c -IL_0049: ldarg.0 -IL_004a: ldfld valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter Example/'d__5'::'<>u__1' -IL_004f: stloc.2 -IL_0050: ldarg.0 -IL_0051: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter Example/'d__5'::'<>u__1' -IL_0056: initobj valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter -IL_005c: ldarg.0 -IL_005d: ldc.i4.m1 -IL_005e: dup -IL_005f: stloc.0 -IL_0060: stfld int32 Example/'d__5'::'<>1__state' -IL_0065: ldloca.s V_2 -IL_0067: call instance !0 valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter::GetResult() -IL_006c: stloc.1 -IL_006d: leave.s IL_0088 -} // end .try -catch [System.Runtime]System.Exception -{ -IL_006f: stloc.s V_4 -IL_0071: ldarg.0 -IL_0072: ldc.i4.s -2 -IL_0074: stfld int32 Example/'d__5'::'<>1__state' -IL_0079: ldarg.0 -IL_007a: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__5'::'<>t__builder' -IL_007f: ldloc.s V_4 -IL_0081: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetException(class [System.Runtime]System.Exception) -IL_0086: leave.s IL_009c -} // end handler -IL_0088: ldarg.0 -IL_0089: ldc.i4.s -2 -IL_008b: stfld int32 Example/'d__5'::'<>1__state' -IL_0090: ldarg.0 -IL_0091: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__5'::'<>t__builder' -IL_0096: ldloc.1 -IL_0097: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetResult(!0) -IL_009c: ret -} -.method private hidebysig newslot virtual final -instance void SetStateMachine(class [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed -{ -.override [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine -.maxstack 8 -IL_0000: ldarg.0 -IL_0001: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__5'::'<>t__builder' -IL_0006: ldarg.1 -IL_0007: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetStateMachine(class [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine) -IL_000c: ret -} -} -.class auto ansi sealed nested private beforefieldinit 'd__6' -extends [System.Runtime]System.ValueType -implements [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine -{ -.interfaceimpl type [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field public int32 '<>1__state' -.field public valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 '<>t__builder' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field private int32 '5__2' -.field private int32 '5__3' -.field private valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter`1 '<>u__1' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field private int32 '5__4' -.field private valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter '<>u__2' -.field private int32 '<>7__wrap4' -.method private hidebysig newslot virtual final -instance void MoveNext() cil managed -{ -.override [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext -.maxstack 3 -.locals init (int32 V_0, -int32 V_1, -int32 V_2, -valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter`1 V_3, -valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter V_4, -class [System.Runtime]System.Exception V_5) -IL_0000: ldarg.0 -IL_0001: ldfld int32 Example/'d__6'::'<>1__state' -IL_0006: stloc.0 -.try -{ -IL_0007: ldloc.0 -IL_0008: switch ( -IL_0052, -IL_00ca, -IL_0137) -IL_0019: ldc.i4.s 10 -IL_001b: call class [System.Runtime]System.Threading.Tasks.Task`1 [System.Runtime]System.Threading.Tasks.Task::FromResult(!!0) -IL_0020: callvirt instance valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter`1 class [System.Runtime]System.Threading.Tasks.Task`1::GetAwaiter() -IL_0025: stloc.3 -IL_0026: ldloca.s V_3 -IL_0028: call instance bool valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter`1::get_IsCompleted() -IL_002d: brtrue.s IL_006e -IL_002f: ldarg.0 -IL_0030: ldc.i4.0 -IL_0031: dup -IL_0032: stloc.0 -IL_0033: stfld int32 Example/'d__6'::'<>1__state' -IL_0038: ldarg.0 -IL_0039: ldloc.3 -IL_003a: stfld valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter`1 Example/'d__6'::'<>u__1' -IL_003f: ldarg.0 -IL_0040: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__6'::'<>t__builder' -IL_0045: ldloca.s V_3 -IL_0047: ldarg.0 -IL_0048: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::AwaitUnsafeOnCompleted,valuetype Example/'d__6'>(!!0&, -!!1&) -IL_004d: leave IL_01c0 -IL_0052: ldarg.0 -IL_0053: ldfld valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter`1 Example/'d__6'::'<>u__1' -IL_0058: stloc.3 -IL_0059: ldarg.0 -IL_005a: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter`1 Example/'d__6'::'<>u__1' -IL_005f: initobj valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter`1 -IL_0065: ldarg.0 -IL_0066: ldc.i4.m1 -IL_0067: dup -IL_0068: stloc.0 -IL_0069: stfld int32 Example/'d__6'::'<>1__state' -IL_006e: ldloca.s V_3 -IL_0070: call instance !0 valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter`1::GetResult() -IL_0075: stloc.2 -IL_0076: ldarg.0 -IL_0077: ldloc.2 -IL_0078: stfld int32 Example/'d__6'::'5__2' -IL_007d: ldarg.0 -IL_007e: ldc.i4.0 -IL_007f: stfld int32 Example/'d__6'::'5__3' -IL_0084: ldarg.0 -IL_0085: ldc.i4.0 -IL_0086: stfld int32 Example/'d__6'::'5__4' -IL_008b: br IL_0179 -IL_0090: ldc.i4.1 -IL_0091: call class [System.Runtime]System.Threading.Tasks.Task [System.Runtime]System.Threading.Tasks.Task::Delay(int32) -IL_0096: callvirt instance valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter [System.Runtime]System.Threading.Tasks.Task::GetAwaiter() -IL_009b: stloc.s V_4 -IL_009d: ldloca.s V_4 -IL_009f: call instance bool [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter::get_IsCompleted() -IL_00a4: brtrue.s IL_00e7 -IL_00a6: ldarg.0 -IL_00a7: ldc.i4.1 -IL_00a8: dup -IL_00a9: stloc.0 -IL_00aa: stfld int32 Example/'d__6'::'<>1__state' -IL_00af: ldarg.0 -IL_00b0: ldloc.s V_4 -IL_00b2: stfld valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter Example/'d__6'::'<>u__2' -IL_00b7: ldarg.0 -IL_00b8: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__6'::'<>t__builder' -IL_00bd: ldloca.s V_4 -IL_00bf: ldarg.0 -IL_00c0: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::AwaitUnsafeOnCompletedd__6'>(!!0&, -!!1&) -IL_00c5: leave IL_01c0 -IL_00ca: ldarg.0 -IL_00cb: ldfld valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter Example/'d__6'::'<>u__2' -IL_00d0: stloc.s V_4 -IL_00d2: ldarg.0 -IL_00d3: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter Example/'d__6'::'<>u__2' -IL_00d8: initobj [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter -IL_00de: ldarg.0 -IL_00df: ldc.i4.m1 -IL_00e0: dup -IL_00e1: stloc.0 -IL_00e2: stfld int32 Example/'d__6'::'<>1__state' -IL_00e7: ldloca.s V_4 -IL_00e9: call instance void [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter::GetResult() -IL_00ee: ldarg.0 -IL_00ef: ldarg.0 -IL_00f0: ldfld int32 Example/'d__6'::'5__3' -IL_00f5: stfld int32 Example/'d__6'::'<>7__wrap4' -IL_00fa: ldarg.0 -IL_00fb: ldfld int32 Example/'d__6'::'5__4' -IL_0100: call class [System.Runtime]System.Threading.Tasks.Task`1 [System.Runtime]System.Threading.Tasks.Task::FromResult(!!0) -IL_0105: callvirt instance valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter`1 class [System.Runtime]System.Threading.Tasks.Task`1::GetAwaiter() -IL_010a: stloc.3 -IL_010b: ldloca.s V_3 -IL_010d: call instance bool valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter`1::get_IsCompleted() -IL_0112: brtrue.s IL_0153 -IL_0114: ldarg.0 -IL_0115: ldc.i4.2 -IL_0116: dup -IL_0117: stloc.0 -IL_0118: stfld int32 Example/'d__6'::'<>1__state' -IL_011d: ldarg.0 -IL_011e: ldloc.3 -IL_011f: stfld valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter`1 Example/'d__6'::'<>u__1' -IL_0124: ldarg.0 -IL_0125: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__6'::'<>t__builder' -IL_012a: ldloca.s V_3 -IL_012c: ldarg.0 -IL_012d: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::AwaitUnsafeOnCompleted,valuetype Example/'d__6'>(!!0&, -!!1&) -IL_0132: leave IL_01c0 -IL_0137: ldarg.0 -IL_0138: ldfld valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter`1 Example/'d__6'::'<>u__1' -IL_013d: stloc.3 -IL_013e: ldarg.0 -IL_013f: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter`1 Example/'d__6'::'<>u__1' -IL_0144: initobj valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter`1 -IL_014a: ldarg.0 -IL_014b: ldc.i4.m1 -IL_014c: dup -IL_014d: stloc.0 -IL_014e: stfld int32 Example/'d__6'::'<>1__state' -IL_0153: ldloca.s V_3 -IL_0155: call instance !0 valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter`1::GetResult() -IL_015a: stloc.2 -IL_015b: ldarg.0 -IL_015c: ldarg.0 -IL_015d: ldfld int32 Example/'d__6'::'<>7__wrap4' -IL_0162: ldloc.2 -IL_0163: add -IL_0164: stfld int32 Example/'d__6'::'5__3' -IL_0169: ldarg.0 -IL_016a: ldfld int32 Example/'d__6'::'5__4' -IL_016f: stloc.2 -IL_0170: ldarg.0 -IL_0171: ldloc.2 -IL_0172: ldc.i4.1 -IL_0173: add -IL_0174: stfld int32 Example/'d__6'::'5__4' -IL_0179: ldarg.0 -IL_017a: ldfld int32 Example/'d__6'::'5__4' -IL_017f: ldarg.0 -IL_0180: ldfld int32 Example/'d__6'::'5__2' -IL_0185: blt IL_0090 -IL_018a: ldarg.0 -IL_018b: ldfld int32 Example/'d__6'::'5__3' -IL_0190: stloc.1 -IL_0191: leave.s IL_01ac -} // end .try -catch [System.Runtime]System.Exception -{ -IL_0193: stloc.s V_5 -IL_0195: ldarg.0 -IL_0196: ldc.i4.s -2 -IL_0198: stfld int32 Example/'d__6'::'<>1__state' -IL_019d: ldarg.0 -IL_019e: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__6'::'<>t__builder' -IL_01a3: ldloc.s V_5 -IL_01a5: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetException(class [System.Runtime]System.Exception) -IL_01aa: leave.s IL_01c0 -} // end handler -IL_01ac: ldarg.0 -IL_01ad: ldc.i4.s -2 -IL_01af: stfld int32 Example/'d__6'::'<>1__state' -IL_01b4: ldarg.0 -IL_01b5: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__6'::'<>t__builder' -IL_01ba: ldloc.1 -IL_01bb: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetResult(!0) -IL_01c0: ret -} -.method private hidebysig newslot virtual final -instance void SetStateMachine(class [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed -{ -.override [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine -.maxstack 8 -IL_0000: ldarg.0 -IL_0001: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__6'::'<>t__builder' -IL_0006: ldarg.1 -IL_0007: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetStateMachine(class [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine) -IL_000c: ret -} -} -.class auto ansi sealed nested private beforefieldinit 'd__7' -extends [System.Runtime]System.ValueType -implements [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine -{ -.interfaceimpl type [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field public int32 '<>1__state' -.field public valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 '<>t__builder' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field private int32 '5__2' -.field private int32 '5__3' -.field private valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter '<>u__1' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field private int32 '5__4' -.field private valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter '<>u__2' -.field private int32 '<>7__wrap4' -.method private hidebysig newslot virtual final -instance void MoveNext() cil managed -{ -.override [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext -.maxstack 3 -.locals init (int32 V_0, -int32 V_1, -int32 V_2, -valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter V_3, -valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1 V_4, -valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable V_5, -valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter V_6, -class [System.Runtime]System.Exception V_7) -IL_0000: ldarg.0 -IL_0001: ldfld int32 Example/'d__7'::'<>1__state' -IL_0006: stloc.0 -.try -{ -IL_0007: ldloc.0 -IL_0008: switch ( -IL_005c, -IL_00de, -IL_0155) -IL_0019: ldc.i4.s 10 -IL_001b: call class [System.Runtime]System.Threading.Tasks.Task`1 [System.Runtime]System.Threading.Tasks.Task::FromResult(!!0) -IL_0020: ldc.i4.0 -IL_0021: callvirt instance valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1 class [System.Private.CoreLib]System.Threading.Tasks.Task`1::ConfigureAwait(bool) -IL_0026: stloc.s V_4 -IL_0028: ldloca.s V_4 -IL_002a: call instance valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1::GetAwaiter() -IL_002f: stloc.3 -IL_0030: ldloca.s V_3 -IL_0032: call instance bool valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter::get_IsCompleted() -IL_0037: brtrue.s IL_0078 -IL_0039: ldarg.0 -IL_003a: ldc.i4.0 -IL_003b: dup -IL_003c: stloc.0 -IL_003d: stfld int32 Example/'d__7'::'<>1__state' -IL_0042: ldarg.0 -IL_0043: ldloc.3 -IL_0044: stfld valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter Example/'d__7'::'<>u__1' -IL_0049: ldarg.0 -IL_004a: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__7'::'<>t__builder' -IL_004f: ldloca.s V_3 -IL_0051: ldarg.0 -IL_0052: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::AwaitUnsafeOnCompleted,valuetype Example/'d__7'>(!!0&, -!!1&) -IL_0057: leave IL_01de -IL_005c: ldarg.0 -IL_005d: ldfld valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter Example/'d__7'::'<>u__1' -IL_0062: stloc.3 -IL_0063: ldarg.0 -IL_0064: ldflda valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter Example/'d__7'::'<>u__1' -IL_0069: initobj valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter -IL_006f: ldarg.0 -IL_0070: ldc.i4.m1 -IL_0071: dup -IL_0072: stloc.0 -IL_0073: stfld int32 Example/'d__7'::'<>1__state' -IL_0078: ldloca.s V_3 -IL_007a: call instance !0 valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter::GetResult() -IL_007f: stloc.2 -IL_0080: ldarg.0 -IL_0081: ldloc.2 -IL_0082: stfld int32 Example/'d__7'::'5__2' -IL_0087: ldarg.0 -IL_0088: ldc.i4.0 -IL_0089: stfld int32 Example/'d__7'::'5__3' -IL_008e: ldarg.0 -IL_008f: ldc.i4.0 -IL_0090: stfld int32 Example/'d__7'::'5__4' -IL_0095: br IL_0197 -IL_009a: ldc.i4.1 -IL_009b: call class [System.Runtime]System.Threading.Tasks.Task [System.Runtime]System.Threading.Tasks.Task::Delay(int32) -IL_00a0: ldc.i4.0 -IL_00a1: callvirt instance valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable [System.Private.CoreLib]System.Threading.Tasks.Task::ConfigureAwait(bool) -IL_00a6: stloc.s V_5 -IL_00a8: ldloca.s V_5 -IL_00aa: call instance valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable::GetAwaiter() -IL_00af: stloc.s V_6 -IL_00b1: ldloca.s V_6 -IL_00b3: call instance bool [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter::get_IsCompleted() -IL_00b8: brtrue.s IL_00fb -IL_00ba: ldarg.0 -IL_00bb: ldc.i4.1 -IL_00bc: dup -IL_00bd: stloc.0 -IL_00be: stfld int32 Example/'d__7'::'<>1__state' -IL_00c3: ldarg.0 -IL_00c4: ldloc.s V_6 -IL_00c6: stfld valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter Example/'d__7'::'<>u__2' -IL_00cb: ldarg.0 -IL_00cc: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__7'::'<>t__builder' -IL_00d1: ldloca.s V_6 -IL_00d3: ldarg.0 -IL_00d4: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::AwaitUnsafeOnCompletedd__7'>(!!0&, -!!1&) -IL_00d9: leave IL_01de -IL_00de: ldarg.0 -IL_00df: ldfld valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter Example/'d__7'::'<>u__2' -IL_00e4: stloc.s V_6 -IL_00e6: ldarg.0 -IL_00e7: ldflda valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter Example/'d__7'::'<>u__2' -IL_00ec: initobj [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter -IL_00f2: ldarg.0 -IL_00f3: ldc.i4.m1 -IL_00f4: dup -IL_00f5: stloc.0 -IL_00f6: stfld int32 Example/'d__7'::'<>1__state' -IL_00fb: ldloca.s V_6 -IL_00fd: call instance void [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter::GetResult() -IL_0102: ldarg.0 -IL_0103: ldarg.0 -IL_0104: ldfld int32 Example/'d__7'::'5__3' -IL_0109: stfld int32 Example/'d__7'::'<>7__wrap4' -IL_010e: ldarg.0 -IL_010f: ldfld int32 Example/'d__7'::'5__4' -IL_0114: call class [System.Runtime]System.Threading.Tasks.Task`1 [System.Runtime]System.Threading.Tasks.Task::FromResult(!!0) -IL_0119: ldc.i4.0 -IL_011a: callvirt instance valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1 class [System.Private.CoreLib]System.Threading.Tasks.Task`1::ConfigureAwait(bool) -IL_011f: stloc.s V_4 -IL_0121: ldloca.s V_4 -IL_0123: call instance valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1::GetAwaiter() -IL_0128: stloc.3 -IL_0129: ldloca.s V_3 -IL_012b: call instance bool valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter::get_IsCompleted() -IL_0130: brtrue.s IL_0171 -IL_0132: ldarg.0 -IL_0133: ldc.i4.2 -IL_0134: dup -IL_0135: stloc.0 -IL_0136: stfld int32 Example/'d__7'::'<>1__state' -IL_013b: ldarg.0 -IL_013c: ldloc.3 -IL_013d: stfld valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter Example/'d__7'::'<>u__1' -IL_0142: ldarg.0 -IL_0143: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__7'::'<>t__builder' -IL_0148: ldloca.s V_3 -IL_014a: ldarg.0 -IL_014b: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::AwaitUnsafeOnCompleted,valuetype Example/'d__7'>(!!0&, -!!1&) -IL_0150: leave IL_01de -IL_0155: ldarg.0 -IL_0156: ldfld valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter Example/'d__7'::'<>u__1' -IL_015b: stloc.3 -IL_015c: ldarg.0 -IL_015d: ldflda valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter Example/'d__7'::'<>u__1' -IL_0162: initobj valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter -IL_0168: ldarg.0 -IL_0169: ldc.i4.m1 -IL_016a: dup -IL_016b: stloc.0 -IL_016c: stfld int32 Example/'d__7'::'<>1__state' -IL_0171: ldloca.s V_3 -IL_0173: call instance !0 valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter::GetResult() -IL_0178: stloc.2 -IL_0179: ldarg.0 -IL_017a: ldarg.0 -IL_017b: ldfld int32 Example/'d__7'::'<>7__wrap4' -IL_0180: ldloc.2 -IL_0181: add -IL_0182: stfld int32 Example/'d__7'::'5__3' -IL_0187: ldarg.0 -IL_0188: ldfld int32 Example/'d__7'::'5__4' -IL_018d: stloc.2 -IL_018e: ldarg.0 -IL_018f: ldloc.2 -IL_0190: ldc.i4.1 -IL_0191: add -IL_0192: stfld int32 Example/'d__7'::'5__4' -IL_0197: ldarg.0 -IL_0198: ldfld int32 Example/'d__7'::'5__4' -IL_019d: ldarg.0 -IL_019e: ldfld int32 Example/'d__7'::'5__2' -IL_01a3: blt IL_009a -IL_01a8: ldarg.0 -IL_01a9: ldfld int32 Example/'d__7'::'5__3' -IL_01ae: stloc.1 -IL_01af: leave.s IL_01ca -} // end .try -catch [System.Runtime]System.Exception -{ -IL_01b1: stloc.s V_7 -IL_01b3: ldarg.0 -IL_01b4: ldc.i4.s -2 -IL_01b6: stfld int32 Example/'d__7'::'<>1__state' -IL_01bb: ldarg.0 -IL_01bc: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__7'::'<>t__builder' -IL_01c1: ldloc.s V_7 -IL_01c3: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetException(class [System.Runtime]System.Exception) -IL_01c8: leave.s IL_01de -} // end handler -IL_01ca: ldarg.0 -IL_01cb: ldc.i4.s -2 -IL_01cd: stfld int32 Example/'d__7'::'<>1__state' -IL_01d2: ldarg.0 -IL_01d3: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__7'::'<>t__builder' -IL_01d8: ldloc.1 -IL_01d9: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetResult(!0) -IL_01de: ret -} -.method private hidebysig newslot virtual final -instance void SetStateMachine(class [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed -{ -.override [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine -.maxstack 8 -IL_0000: ldarg.0 -IL_0001: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__7'::'<>t__builder' -IL_0006: ldarg.1 -IL_0007: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetStateMachine(class [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine) -IL_000c: ret -} -} -.class auto ansi sealed nested private beforefieldinit 'd__8' -extends [System.Runtime]System.ValueType -implements [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine -{ -.interfaceimpl type [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field public int32 '<>1__state' -.field public valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 '<>t__builder' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field private int32 '5__2' -.field private int32 '5__3' -.field private valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter '<>u__1' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field private int32 '5__4' -.field private valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter '<>u__2' -.field private int32 '<>7__wrap4' -.method private hidebysig newslot virtual final -instance void MoveNext() cil managed -{ -.override [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext -.maxstack 3 -.locals init (int32 V_0, -int32 V_1, -int32 V_2, -valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter V_3, -valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1 V_4, -valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter V_5, -valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable V_6, -class [System.Runtime]System.Exception V_7) -IL_0000: ldarg.0 -IL_0001: ldfld int32 Example/'d__8'::'<>1__state' -IL_0006: stloc.0 -.try -{ -IL_0007: ldloc.0 -IL_0008: switch ( -IL_005c, -IL_00de, -IL_0155) -IL_0019: ldc.i4.s 10 -IL_001b: call class [System.Runtime]System.Threading.Tasks.Task`1 [System.Runtime]System.Threading.Tasks.Task::FromResult(!!0) -IL_0020: ldc.i4.0 -IL_0021: callvirt instance valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1 class [System.Runtime]System.Threading.Tasks.Task`1::ConfigureAwait(bool) -IL_0026: stloc.s V_4 -IL_0028: ldloca.s V_4 -IL_002a: call instance valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1::GetAwaiter() -IL_002f: stloc.3 -IL_0030: ldloca.s V_3 -IL_0032: call instance bool valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter::get_IsCompleted() -IL_0037: brtrue.s IL_0078 -IL_0039: ldarg.0 -IL_003a: ldc.i4.0 -IL_003b: dup -IL_003c: stloc.0 -IL_003d: stfld int32 Example/'d__8'::'<>1__state' -IL_0042: ldarg.0 -IL_0043: ldloc.3 -IL_0044: stfld valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter Example/'d__8'::'<>u__1' -IL_0049: ldarg.0 -IL_004a: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__8'::'<>t__builder' -IL_004f: ldloca.s V_3 -IL_0051: ldarg.0 -IL_0052: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::AwaitUnsafeOnCompleted,valuetype Example/'d__8'>(!!0&, -!!1&) -IL_0057: leave IL_01de -IL_005c: ldarg.0 -IL_005d: ldfld valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter Example/'d__8'::'<>u__1' -IL_0062: stloc.3 -IL_0063: ldarg.0 -IL_0064: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter Example/'d__8'::'<>u__1' -IL_0069: initobj valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter -IL_006f: ldarg.0 -IL_0070: ldc.i4.m1 -IL_0071: dup -IL_0072: stloc.0 -IL_0073: stfld int32 Example/'d__8'::'<>1__state' -IL_0078: ldloca.s V_3 -IL_007a: call instance !0 valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter::GetResult() -IL_007f: stloc.2 -IL_0080: ldarg.0 -IL_0081: ldloc.2 -IL_0082: stfld int32 Example/'d__8'::'5__2' -IL_0087: ldarg.0 -IL_0088: ldc.i4.0 -IL_0089: stfld int32 Example/'d__8'::'5__3' -IL_008e: ldarg.0 -IL_008f: ldc.i4.0 -IL_0090: stfld int32 Example/'d__8'::'5__4' -IL_0095: br IL_0197 -IL_009a: ldc.i4.1 -IL_009b: call class [System.Runtime]System.Threading.Tasks.Task [System.Runtime]System.Threading.Tasks.Task::Delay(int32) -IL_00a0: ldc.i4.0 -IL_00a1: callvirt instance valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable [System.Runtime]System.Threading.Tasks.Task::ConfigureAwait(bool) -IL_00a6: stloc.s V_6 -IL_00a8: ldloca.s V_6 -IL_00aa: call instance valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable::GetAwaiter() -IL_00af: stloc.s V_5 -IL_00b1: ldloca.s V_5 -IL_00b3: call instance bool [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter::get_IsCompleted() -IL_00b8: brtrue.s IL_00fb -IL_00ba: ldarg.0 -IL_00bb: ldc.i4.1 -IL_00bc: dup -IL_00bd: stloc.0 -IL_00be: stfld int32 Example/'d__8'::'<>1__state' -IL_00c3: ldarg.0 -IL_00c4: ldloc.s V_5 -IL_00c6: stfld valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter Example/'d__8'::'<>u__2' -IL_00cb: ldarg.0 -IL_00cc: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__8'::'<>t__builder' -IL_00d1: ldloca.s V_5 -IL_00d3: ldarg.0 -IL_00d4: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::AwaitUnsafeOnCompletedd__8'>(!!0&, -!!1&) -IL_00d9: leave IL_01de -IL_00de: ldarg.0 -IL_00df: ldfld valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter Example/'d__8'::'<>u__2' -IL_00e4: stloc.s V_5 -IL_00e6: ldarg.0 -IL_00e7: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter Example/'d__8'::'<>u__2' -IL_00ec: initobj [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter -IL_00f2: ldarg.0 -IL_00f3: ldc.i4.m1 -IL_00f4: dup -IL_00f5: stloc.0 -IL_00f6: stfld int32 Example/'d__8'::'<>1__state' -IL_00fb: ldloca.s V_5 -IL_00fd: call instance void [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter::GetResult() -IL_0102: ldarg.0 -IL_0103: ldarg.0 -IL_0104: ldfld int32 Example/'d__8'::'5__3' -IL_0109: stfld int32 Example/'d__8'::'<>7__wrap4' -IL_010e: ldarg.0 -IL_010f: ldfld int32 Example/'d__8'::'5__4' -IL_0114: call class [System.Runtime]System.Threading.Tasks.Task`1 [System.Runtime]System.Threading.Tasks.Task::FromResult(!!0) -IL_0119: ldc.i4.0 -IL_011a: callvirt instance valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1 class [System.Runtime]System.Threading.Tasks.Task`1::ConfigureAwait(bool) -IL_011f: stloc.s V_4 -IL_0121: ldloca.s V_4 -IL_0123: call instance valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1::GetAwaiter() -IL_0128: stloc.3 -IL_0129: ldloca.s V_3 -IL_012b: call instance bool valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter::get_IsCompleted() -IL_0130: brtrue.s IL_0171 -IL_0132: ldarg.0 -IL_0133: ldc.i4.2 -IL_0134: dup -IL_0135: stloc.0 -IL_0136: stfld int32 Example/'d__8'::'<>1__state' -IL_013b: ldarg.0 -IL_013c: ldloc.3 -IL_013d: stfld valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter Example/'d__8'::'<>u__1' -IL_0142: ldarg.0 -IL_0143: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__8'::'<>t__builder' -IL_0148: ldloca.s V_3 -IL_014a: ldarg.0 -IL_014b: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::AwaitUnsafeOnCompleted,valuetype Example/'d__8'>(!!0&, -!!1&) -IL_0150: leave IL_01de -IL_0155: ldarg.0 -IL_0156: ldfld valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter Example/'d__8'::'<>u__1' -IL_015b: stloc.3 -IL_015c: ldarg.0 -IL_015d: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter Example/'d__8'::'<>u__1' -IL_0162: initobj valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter -IL_0168: ldarg.0 -IL_0169: ldc.i4.m1 -IL_016a: dup -IL_016b: stloc.0 -IL_016c: stfld int32 Example/'d__8'::'<>1__state' -IL_0171: ldloca.s V_3 -IL_0173: call instance !0 valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter::GetResult() -IL_0178: stloc.2 -IL_0179: ldarg.0 -IL_017a: ldarg.0 -IL_017b: ldfld int32 Example/'d__8'::'<>7__wrap4' -IL_0180: ldloc.2 -IL_0181: add -IL_0182: stfld int32 Example/'d__8'::'5__3' -IL_0187: ldarg.0 -IL_0188: ldfld int32 Example/'d__8'::'5__4' -IL_018d: stloc.2 -IL_018e: ldarg.0 -IL_018f: ldloc.2 -IL_0190: ldc.i4.1 -IL_0191: add -IL_0192: stfld int32 Example/'d__8'::'5__4' -IL_0197: ldarg.0 -IL_0198: ldfld int32 Example/'d__8'::'5__4' -IL_019d: ldarg.0 -IL_019e: ldfld int32 Example/'d__8'::'5__2' -IL_01a3: blt IL_009a -IL_01a8: ldarg.0 -IL_01a9: ldfld int32 Example/'d__8'::'5__3' -IL_01ae: stloc.1 -IL_01af: leave.s IL_01ca -} // end .try -catch [System.Runtime]System.Exception -{ -IL_01b1: stloc.s V_7 -IL_01b3: ldarg.0 -IL_01b4: ldc.i4.s -2 -IL_01b6: stfld int32 Example/'d__8'::'<>1__state' -IL_01bb: ldarg.0 -IL_01bc: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__8'::'<>t__builder' -IL_01c1: ldloc.s V_7 -IL_01c3: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetException(class [System.Runtime]System.Exception) -IL_01c8: leave.s IL_01de -} // end handler -IL_01ca: ldarg.0 -IL_01cb: ldc.i4.s -2 -IL_01cd: stfld int32 Example/'d__8'::'<>1__state' -IL_01d2: ldarg.0 -IL_01d3: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__8'::'<>t__builder' -IL_01d8: ldloc.1 -IL_01d9: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetResult(!0) -IL_01de: ret -} -.method private hidebysig newslot virtual final -instance void SetStateMachine(class [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed -{ -.override [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine -.maxstack 8 -IL_0000: ldarg.0 -IL_0001: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__8'::'<>t__builder' -IL_0006: ldarg.1 -IL_0007: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetStateMachine(class [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine) -IL_000c: ret -} -} -.method public hidebysig instance class [System.Runtime]System.Threading.Tasks.Task -AsyncMethod1() cil managed -{ -63 4D 65 74 68 6F 64 31 3E 64 5F 5F 30 00 00 ) // cMethod1>d__0.. -.maxstack 2 -.locals init (valuetype Example/'d__0' V_0) -IL_0000: ldloca.s V_0 -IL_0002: call valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Create() -IL_0007: stfld valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Example/'d__0'::'<>t__builder' -IL_000c: ldloca.s V_0 -IL_000e: ldc.i4.m1 -IL_000f: stfld int32 Example/'d__0'::'<>1__state' -IL_0014: ldloca.s V_0 -IL_0016: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Example/'d__0'::'<>t__builder' -IL_001b: ldloca.s V_0 -IL_001d: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Startd__0'>(!!0&) -IL_0022: ldloca.s V_0 -IL_0024: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Example/'d__0'::'<>t__builder' -IL_0029: call instance class [System.Runtime]System.Threading.Tasks.Task [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::get_Task() -IL_002e: ret -} -.method public hidebysig instance class [System.Runtime]System.Threading.Tasks.Task -AsyncMethod2() cil managed -{ -63 4D 65 74 68 6F 64 32 3E 64 5F 5F 31 00 00 ) // cMethod2>d__1.. -.maxstack 2 -.locals init (valuetype Example/'d__1' V_0) -IL_0000: ldloca.s V_0 -IL_0002: call valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Create() -IL_0007: stfld valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Example/'d__1'::'<>t__builder' -IL_000c: ldloca.s V_0 -IL_000e: ldc.i4.m1 -IL_000f: stfld int32 Example/'d__1'::'<>1__state' -IL_0014: ldloca.s V_0 -IL_0016: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Example/'d__1'::'<>t__builder' -IL_001b: ldloca.s V_0 -IL_001d: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Startd__1'>(!!0&) -IL_0022: ldloca.s V_0 -IL_0024: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Example/'d__1'::'<>t__builder' -IL_0029: call instance class [System.Runtime]System.Threading.Tasks.Task [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::get_Task() -IL_002e: ret -} -.method public hidebysig instance class [System.Runtime]System.Threading.Tasks.Task -AsyncMethod3() cil managed -{ -63 4D 65 74 68 6F 64 33 3E 64 5F 5F 32 00 00 ) // cMethod3>d__2.. -.maxstack 2 -.locals init (valuetype Example/'d__2' V_0) -IL_0000: ldloca.s V_0 -IL_0002: call valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Create() -IL_0007: stfld valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Example/'d__2'::'<>t__builder' -IL_000c: ldloca.s V_0 -IL_000e: ldc.i4.m1 -IL_000f: stfld int32 Example/'d__2'::'<>1__state' -IL_0014: ldloca.s V_0 -IL_0016: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Example/'d__2'::'<>t__builder' -IL_001b: ldloca.s V_0 -IL_001d: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Startd__2'>(!!0&) -IL_0022: ldloca.s V_0 -IL_0024: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Example/'d__2'::'<>t__builder' -IL_0029: call instance class [System.Runtime]System.Threading.Tasks.Task [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::get_Task() -IL_002e: ret -} -.method public hidebysig instance class [System.Runtime]System.Threading.Tasks.Task`1 -AsyncMethod4() cil managed -{ -63 4D 65 74 68 6F 64 34 3E 64 5F 5F 33 00 00 ) // cMethod4>d__3.. -.maxstack 2 -.locals init (valuetype Example/'d__3' V_0) -IL_0000: ldloca.s V_0 -IL_0002: call valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::Create() -IL_0007: stfld valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__3'::'<>t__builder' -IL_000c: ldloca.s V_0 -IL_000e: ldc.i4.m1 -IL_000f: stfld int32 Example/'d__3'::'<>1__state' -IL_0014: ldloca.s V_0 -IL_0016: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__3'::'<>t__builder' -IL_001b: ldloca.s V_0 -IL_001d: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::Startd__3'>(!!0&) -IL_0022: ldloca.s V_0 -IL_0024: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__3'::'<>t__builder' -IL_0029: call instance class [System.Runtime]System.Threading.Tasks.Task`1 valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::get_Task() -IL_002e: ret -} -.method public hidebysig instance class [System.Runtime]System.Threading.Tasks.Task`1 -AsyncMethod5() cil managed -{ -63 4D 65 74 68 6F 64 35 3E 64 5F 5F 34 00 00 ) // cMethod5>d__4.. -.maxstack 2 -.locals init (valuetype Example/'d__4' V_0) -IL_0000: ldloca.s V_0 -IL_0002: call valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::Create() -IL_0007: stfld valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__4'::'<>t__builder' -IL_000c: ldloca.s V_0 -IL_000e: ldc.i4.m1 -IL_000f: stfld int32 Example/'d__4'::'<>1__state' -IL_0014: ldloca.s V_0 -IL_0016: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__4'::'<>t__builder' -IL_001b: ldloca.s V_0 -IL_001d: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::Startd__4'>(!!0&) -IL_0022: ldloca.s V_0 -IL_0024: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__4'::'<>t__builder' -IL_0029: call instance class [System.Runtime]System.Threading.Tasks.Task`1 valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::get_Task() -IL_002e: ret -} -.method public hidebysig instance class [System.Runtime]System.Threading.Tasks.Task`1 -AsyncMethod6() cil managed -{ -63 4D 65 74 68 6F 64 36 3E 64 5F 5F 35 00 00 ) // cMethod6>d__5.. -.maxstack 2 -.locals init (valuetype Example/'d__5' V_0) -IL_0000: ldloca.s V_0 -IL_0002: call valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::Create() -IL_0007: stfld valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__5'::'<>t__builder' -IL_000c: ldloca.s V_0 -IL_000e: ldc.i4.m1 -IL_000f: stfld int32 Example/'d__5'::'<>1__state' -IL_0014: ldloca.s V_0 -IL_0016: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__5'::'<>t__builder' -IL_001b: ldloca.s V_0 -IL_001d: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::Startd__5'>(!!0&) -IL_0022: ldloca.s V_0 -IL_0024: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__5'::'<>t__builder' -IL_0029: call instance class [System.Runtime]System.Threading.Tasks.Task`1 valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::get_Task() -IL_002e: ret -} -.method public hidebysig instance class [System.Runtime]System.Threading.Tasks.Task`1 -AsyncMethod7() cil managed -{ -63 4D 65 74 68 6F 64 37 3E 64 5F 5F 36 00 00 ) // cMethod7>d__6.. -.maxstack 2 -.locals init (valuetype Example/'d__6' V_0) -IL_0000: ldloca.s V_0 -IL_0002: call valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::Create() -IL_0007: stfld valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__6'::'<>t__builder' -IL_000c: ldloca.s V_0 -IL_000e: ldc.i4.m1 -IL_000f: stfld int32 Example/'d__6'::'<>1__state' -IL_0014: ldloca.s V_0 -IL_0016: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__6'::'<>t__builder' -IL_001b: ldloca.s V_0 -IL_001d: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::Startd__6'>(!!0&) -IL_0022: ldloca.s V_0 -IL_0024: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__6'::'<>t__builder' -IL_0029: call instance class [System.Runtime]System.Threading.Tasks.Task`1 valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::get_Task() -IL_002e: ret -} -.method public hidebysig instance class [System.Runtime]System.Threading.Tasks.Task`1 -AsyncMethod8() cil managed -{ -63 4D 65 74 68 6F 64 38 3E 64 5F 5F 37 00 00 ) // cMethod8>d__7.. -.maxstack 2 -.locals init (valuetype Example/'d__7' V_0) -IL_0000: ldloca.s V_0 -IL_0002: call valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::Create() -IL_0007: stfld valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__7'::'<>t__builder' -IL_000c: ldloca.s V_0 -IL_000e: ldc.i4.m1 -IL_000f: stfld int32 Example/'d__7'::'<>1__state' -IL_0014: ldloca.s V_0 -IL_0016: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__7'::'<>t__builder' -IL_001b: ldloca.s V_0 -IL_001d: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::Startd__7'>(!!0&) -IL_0022: ldloca.s V_0 -IL_0024: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__7'::'<>t__builder' -IL_0029: call instance class [System.Runtime]System.Threading.Tasks.Task`1 valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::get_Task() -IL_002e: ret -} -.method public hidebysig instance class [System.Runtime]System.Threading.Tasks.Task`1 -AsyncMethod9() cil managed -{ -63 4D 65 74 68 6F 64 39 3E 64 5F 5F 38 00 00 ) // cMethod9>d__8.. -.maxstack 2 -.locals init (valuetype Example/'d__8' V_0) -IL_0000: ldloca.s V_0 -IL_0002: call valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::Create() -IL_0007: stfld valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__8'::'<>t__builder' -IL_000c: ldloca.s V_0 -IL_000e: ldc.i4.m1 -IL_000f: stfld int32 Example/'d__8'::'<>1__state' -IL_0014: ldloca.s V_0 -IL_0016: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__8'::'<>t__builder' -IL_001b: ldloca.s V_0 -IL_001d: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::Startd__8'>(!!0&) -IL_0022: ldloca.s V_0 -IL_0024: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__8'::'<>t__builder' -IL_0029: call instance class [System.Runtime]System.Threading.Tasks.Task`1 valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::get_Task() -IL_002e: ret -} -.method public hidebysig instance class [System.Runtime]System.Threading.Tasks.Task`1 -AsyncMethod10() cil managed -{ -63 4D 65 74 68 6F 64 31 30 3E 64 5F 5F 39 00 00 ) // cMethod10>d__9.. -.maxstack 2 -.locals init (valuetype Example/'d__9' V_0) -IL_0000: ldloca.s V_0 -IL_0002: call valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::Create() -IL_0007: stfld valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__9'::'<>t__builder' -IL_000c: ldloca.s V_0 -IL_000e: ldc.i4.m1 -IL_000f: stfld int32 Example/'d__9'::'<>1__state' -IL_0014: ldloca.s V_0 -IL_0016: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__9'::'<>t__builder' -IL_001b: ldloca.s V_0 -IL_001d: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::Startd__9'>(!!0&) -IL_0022: ldloca.s V_0 -IL_0024: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__9'::'<>t__builder' -IL_0029: call instance class [System.Runtime]System.Threading.Tasks.Task`1 valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::get_Task() -IL_002e: ret -} -.method public hidebysig instance class [System.Runtime]System.Threading.Tasks.Task`1 -AsyncMethod11() cil managed -{ -63 4D 65 74 68 6F 64 31 31 3E 64 5F 5F 31 30 00 // cMethod11>d__10. -00 ) -.maxstack 2 -.locals init (valuetype Example/'d__10' V_0) -IL_0000: ldloca.s V_0 -IL_0002: call valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::Create() -IL_0007: stfld valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__10'::'<>t__builder' -IL_000c: ldloca.s V_0 -IL_000e: ldc.i4.m1 -IL_000f: stfld int32 Example/'d__10'::'<>1__state' -IL_0014: ldloca.s V_0 -IL_0016: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__10'::'<>t__builder' -IL_001b: ldloca.s V_0 -IL_001d: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::Startd__10'>(!!0&) -IL_0022: ldloca.s V_0 -IL_0024: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__10'::'<>t__builder' -IL_0029: call instance class [System.Runtime]System.Threading.Tasks.Task`1 valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::get_Task() -IL_002e: ret -} -.method public hidebysig instance class [System.Runtime]System.Threading.Tasks.Task`1 -AsyncMethod12() cil managed -{ -63 4D 65 74 68 6F 64 31 32 3E 64 5F 5F 31 31 00 // cMethod12>d__11. -00 ) -.maxstack 2 -.locals init (valuetype Example/'d__11' V_0) -IL_0000: ldloca.s V_0 -IL_0002: call valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::Create() -IL_0007: stfld valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__11'::'<>t__builder' -IL_000c: ldloca.s V_0 -IL_000e: ldc.i4.m1 -IL_000f: stfld int32 Example/'d__11'::'<>1__state' -IL_0014: ldloca.s V_0 -IL_0016: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__11'::'<>t__builder' -IL_001b: ldloca.s V_0 -IL_001d: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::Startd__11'>(!!0&) -IL_0022: ldloca.s V_0 -IL_0024: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__11'::'<>t__builder' -IL_0029: call instance class [System.Runtime]System.Threading.Tasks.Task`1 valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::get_Task() -IL_002e: ret -} -.method public hidebysig specialname rtspecialname -instance void .ctor() cil managed -{ -.maxstack 8 -IL_0000: ldarg.0 -IL_0001: call instance void [System.Runtime]System.Object::.ctor() -IL_0006: ret -} -} diff --git a/Tests/ModuleWeaverTests.DecompileExample.Release.Core.verified.txt b/Tests/ModuleWeaverTests.DecompileExample.Release.DotNet10_0.verified.txt similarity index 51% rename from Tests/ModuleWeaverTests.DecompileExample.Release.Core.verified.txt rename to Tests/ModuleWeaverTests.DecompileExample.Release.DotNet10_0.verified.txt index 3391648..445f1f4 100644 --- a/Tests/ModuleWeaverTests.DecompileExample.Release.Core.verified.txt +++ b/Tests/ModuleWeaverTests.DecompileExample.Release.DotNet10_0.verified.txt @@ -1,23 +1,18 @@ .class public auto ansi beforefieldinit Example extends [System.Runtime]System.Object { -.custom instance void System.Runtime.CompilerServices.NullableContextAttribute::.ctor(uint8) = ( 01 00 01 00 00 ) -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) .class auto ansi sealed nested private beforefieldinit 'd__9' extends [System.Runtime]System.ValueType -implements [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine +implements [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine { -.interfaceimpl type [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) +.interfaceimpl type [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine .field public int32 '<>1__state' -.field public valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 '<>t__builder' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) +.field public valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 '<>t__builder' .field private valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter`1 '<>u__1' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) .method private hidebysig newslot virtual final instance void MoveNext() cil managed { -.override [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext +.override [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext .maxstack 3 .locals init (int32 V_0, class Example V_1, @@ -46,10 +41,10 @@ IL_002c: ldarg.0 IL_002d: ldloc.2 IL_002e: stfld valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter`1 Example/'d__9'::'<>u__1' IL_0033: ldarg.0 -IL_0034: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__9'::'<>t__builder' +IL_0034: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__9'::'<>t__builder' IL_0039: ldloca.s V_2 IL_003b: ldarg.0 -IL_003c: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::AwaitUnsafeOnCompleted,valuetype Example/'d__9'>(!!0&, +IL_003c: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::AwaitUnsafeOnCompleted,valuetype Example/'d__9'>(!!0&, !!1&) IL_0041: leave.s IL_0094 IL_0043: ldarg.0 @@ -75,54 +70,49 @@ IL_006a: ldarg.0 IL_006b: ldc.i4.s -2 IL_006d: stfld int32 Example/'d__9'::'<>1__state' IL_0072: ldarg.0 -IL_0073: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__9'::'<>t__builder' +IL_0073: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__9'::'<>t__builder' IL_0078: ldloc.3 -IL_0079: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetException(class [System.Runtime]System.Exception) +IL_0079: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetException(class [System.Runtime]System.Exception) IL_007e: leave.s IL_0094 } // end handler IL_0080: ldarg.0 IL_0081: ldc.i4.s -2 IL_0083: stfld int32 Example/'d__9'::'<>1__state' IL_0088: ldarg.0 -IL_0089: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__9'::'<>t__builder' +IL_0089: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__9'::'<>t__builder' IL_008e: ldloc.1 -IL_008f: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetResult(!0) +IL_008f: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetResult(!0) IL_0094: ret } .method private hidebysig newslot virtual final -instance void SetStateMachine(class [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed +instance void SetStateMachine(class [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed { -.param [1] -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.override [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine +.override [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine .maxstack 8 IL_0000: ldarg.0 -IL_0001: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__9'::'<>t__builder' +IL_0001: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__9'::'<>t__builder' IL_0006: ldarg.1 -IL_0007: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetStateMachine(class [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine) +IL_0007: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetStateMachine(class [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine) IL_000c: ret } } .class auto ansi sealed nested private beforefieldinit 'd__21' extends [System.Runtime]System.ValueType -implements [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine +implements [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine { -.interfaceimpl type [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) +.interfaceimpl type [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine .field public int32 '<>1__state' -.field public valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 '<>t__builder' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field private valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ValueTaskAwaiter`1 '<>u__1' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8[]) = ( 01 00 02 00 00 00 00 01 00 00 ) +.field public valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 '<>t__builder' +.field private valuetype [System.Runtime]System.Runtime.CompilerServices.ValueTaskAwaiter`1 '<>u__1' .method private hidebysig newslot virtual final instance void MoveNext() cil managed { -.override [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext +.override [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext .maxstack 3 .locals init (int32 V_0, class Example V_1, -valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ValueTaskAwaiter`1 V_2, -valuetype [System.Threading.Tasks.Extensions]System.Threading.Tasks.ValueTask`1 V_3, +valuetype [System.Runtime]System.Runtime.CompilerServices.ValueTaskAwaiter`1 V_2, +valuetype [System.Runtime]System.Threading.Tasks.ValueTask`1 V_3, class [System.Runtime]System.Exception V_4) IL_0000: ldarg.0 IL_0001: ldfld int32 Example/'d__21'::'<>1__state' @@ -133,13 +123,13 @@ IL_0007: ldloc.0 IL_0008: brfalse.s IL_004b IL_000a: newobj instance void Example::.ctor() IL_000f: call class [System.Runtime]System.Threading.Tasks.Task`1 [System.Runtime]System.Threading.Tasks.Task::FromResult(!!0) -IL_0014: newobj instance void valuetype [System.Threading.Tasks.Extensions]System.Threading.Tasks.ValueTask`1::.ctor(class [System.Runtime]System.Threading.Tasks.Task`1) +IL_0014: newobj instance void valuetype [System.Runtime]System.Threading.Tasks.ValueTask`1::.ctor(class [System.Runtime]System.Threading.Tasks.Task`1) IL_0019: stloc.3 IL_001a: ldloca.s V_3 -IL_001c: call instance valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ValueTaskAwaiter`1 valuetype [System.Threading.Tasks.Extensions]System.Threading.Tasks.ValueTask`1::GetAwaiter() +IL_001c: call instance valuetype [System.Runtime]System.Runtime.CompilerServices.ValueTaskAwaiter`1 valuetype [System.Runtime]System.Threading.Tasks.ValueTask`1::GetAwaiter() IL_0021: stloc.2 IL_0022: ldloca.s V_2 -IL_0024: call instance bool valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ValueTaskAwaiter`1::get_IsCompleted() +IL_0024: call instance bool valuetype [System.Runtime]System.Runtime.CompilerServices.ValueTaskAwaiter`1::get_IsCompleted() IL_0029: brtrue.s IL_0067 IL_002b: ldarg.0 IL_002c: ldc.i4.0 @@ -148,27 +138,27 @@ IL_002e: stloc.0 IL_002f: stfld int32 Example/'d__21'::'<>1__state' IL_0034: ldarg.0 IL_0035: ldloc.2 -IL_0036: stfld valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ValueTaskAwaiter`1 Example/'d__21'::'<>u__1' +IL_0036: stfld valuetype [System.Runtime]System.Runtime.CompilerServices.ValueTaskAwaiter`1 Example/'d__21'::'<>u__1' IL_003b: ldarg.0 -IL_003c: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__21'::'<>t__builder' +IL_003c: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__21'::'<>t__builder' IL_0041: ldloca.s V_2 IL_0043: ldarg.0 -IL_0044: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::AwaitUnsafeOnCompleted,valuetype Example/'d__21'>(!!0&, +IL_0044: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::AwaitUnsafeOnCompleted,valuetype Example/'d__21'>(!!0&, !!1&) IL_0049: leave.s IL_009e IL_004b: ldarg.0 -IL_004c: ldfld valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ValueTaskAwaiter`1 Example/'d__21'::'<>u__1' +IL_004c: ldfld valuetype [System.Runtime]System.Runtime.CompilerServices.ValueTaskAwaiter`1 Example/'d__21'::'<>u__1' IL_0051: stloc.2 IL_0052: ldarg.0 -IL_0053: ldflda valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ValueTaskAwaiter`1 Example/'d__21'::'<>u__1' -IL_0058: initobj valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ValueTaskAwaiter`1 +IL_0053: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.ValueTaskAwaiter`1 Example/'d__21'::'<>u__1' +IL_0058: initobj valuetype [System.Runtime]System.Runtime.CompilerServices.ValueTaskAwaiter`1 IL_005e: ldarg.0 IL_005f: ldc.i4.m1 IL_0060: dup IL_0061: stloc.0 IL_0062: stfld int32 Example/'d__21'::'<>1__state' IL_0067: ldloca.s V_2 -IL_0069: call instance !0 valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ValueTaskAwaiter`1::GetResult() +IL_0069: call instance !0 valuetype [System.Runtime]System.Runtime.CompilerServices.ValueTaskAwaiter`1::GetResult() IL_006e: stloc.1 IL_006f: leave.s IL_008a } // end .try @@ -179,49 +169,44 @@ IL_0073: ldarg.0 IL_0074: ldc.i4.s -2 IL_0076: stfld int32 Example/'d__21'::'<>1__state' IL_007b: ldarg.0 -IL_007c: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__21'::'<>t__builder' +IL_007c: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__21'::'<>t__builder' IL_0081: ldloc.s V_4 -IL_0083: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetException(class [System.Runtime]System.Exception) +IL_0083: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetException(class [System.Runtime]System.Exception) IL_0088: leave.s IL_009e } // end handler IL_008a: ldarg.0 IL_008b: ldc.i4.s -2 IL_008d: stfld int32 Example/'d__21'::'<>1__state' IL_0092: ldarg.0 -IL_0093: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__21'::'<>t__builder' +IL_0093: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__21'::'<>t__builder' IL_0098: ldloc.1 -IL_0099: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetResult(!0) +IL_0099: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetResult(!0) IL_009e: ret } .method private hidebysig newslot virtual final -instance void SetStateMachine(class [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed +instance void SetStateMachine(class [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed { -.param [1] -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.override [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine +.override [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine .maxstack 8 IL_0000: ldarg.0 -IL_0001: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__21'::'<>t__builder' +IL_0001: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__21'::'<>t__builder' IL_0006: ldarg.1 -IL_0007: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetStateMachine(class [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine) +IL_0007: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetStateMachine(class [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine) IL_000c: ret } } .class auto ansi sealed nested private beforefieldinit 'd__10' extends [System.Runtime]System.ValueType -implements [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine +implements [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine { -.interfaceimpl type [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) +.interfaceimpl type [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine .field public int32 '<>1__state' -.field public valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 '<>t__builder' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) +.field public valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 '<>t__builder' .field private valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter '<>u__1' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) .method private hidebysig newslot virtual final instance void MoveNext() cil managed { -.override [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext +.override [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext .maxstack 3 .locals init (int32 V_0, class Example V_1, @@ -255,10 +240,10 @@ IL_0035: ldarg.0 IL_0036: ldloc.2 IL_0037: stfld valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter Example/'d__10'::'<>u__1' IL_003c: ldarg.0 -IL_003d: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__10'::'<>t__builder' +IL_003d: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__10'::'<>t__builder' IL_0042: ldloca.s V_2 IL_0044: ldarg.0 -IL_0045: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::AwaitUnsafeOnCompleted,valuetype Example/'d__10'>(!!0&, +IL_0045: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::AwaitUnsafeOnCompleted,valuetype Example/'d__10'>(!!0&, !!1&) IL_004a: leave.s IL_009f IL_004c: ldarg.0 @@ -284,55 +269,50 @@ IL_0074: ldarg.0 IL_0075: ldc.i4.s -2 IL_0077: stfld int32 Example/'d__10'::'<>1__state' IL_007c: ldarg.0 -IL_007d: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__10'::'<>t__builder' +IL_007d: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__10'::'<>t__builder' IL_0082: ldloc.s V_4 -IL_0084: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetException(class [System.Runtime]System.Exception) +IL_0084: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetException(class [System.Runtime]System.Exception) IL_0089: leave.s IL_009f } // end handler IL_008b: ldarg.0 IL_008c: ldc.i4.s -2 IL_008e: stfld int32 Example/'d__10'::'<>1__state' IL_0093: ldarg.0 -IL_0094: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__10'::'<>t__builder' +IL_0094: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__10'::'<>t__builder' IL_0099: ldloc.1 -IL_009a: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetResult(!0) +IL_009a: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetResult(!0) IL_009f: ret } .method private hidebysig newslot virtual final -instance void SetStateMachine(class [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed +instance void SetStateMachine(class [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed { -.param [1] -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.override [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine +.override [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine .maxstack 8 IL_0000: ldarg.0 -IL_0001: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__10'::'<>t__builder' +IL_0001: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__10'::'<>t__builder' IL_0006: ldarg.1 -IL_0007: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetStateMachine(class [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine) +IL_0007: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetStateMachine(class [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine) IL_000c: ret } } .class auto ansi sealed nested private beforefieldinit 'd__22' extends [System.Runtime]System.ValueType -implements [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine +implements [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine { -.interfaceimpl type [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) +.interfaceimpl type [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine .field public int32 '<>1__state' -.field public valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 '<>t__builder' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) +.field public valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 '<>t__builder' .field private valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1/ConfiguredValueTaskAwaiter '<>u__1' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8[]) = ( 01 00 02 00 00 00 00 01 00 00 ) .method private hidebysig newslot virtual final instance void MoveNext() cil managed { -.override [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext +.override [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext .maxstack 3 .locals init (int32 V_0, class Example V_1, valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1/ConfiguredValueTaskAwaiter V_2, valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1 V_3, -valuetype [System.Threading.Tasks.Extensions]System.Threading.Tasks.ValueTask`1 V_4, +valuetype [System.Runtime]System.Threading.Tasks.ValueTask`1 V_4, class [System.Runtime]System.Exception V_5) IL_0000: ldarg.0 IL_0001: ldfld int32 Example/'d__22'::'<>1__state' @@ -343,7 +323,7 @@ IL_0007: ldloc.0 IL_0008: brfalse.s IL_0055 IL_000a: newobj instance void Example::.ctor() IL_000f: call class [System.Runtime]System.Threading.Tasks.Task`1 [System.Runtime]System.Threading.Tasks.Task::FromResult(!!0) -IL_0014: call instance void valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1::.ctor(valuetype [System.Private.CoreLib]System.Threading.Tasks.ValueTask`1&) +IL_0014: newobj instance void valuetype [System.Runtime]System.Threading.Tasks.ValueTask`1::.ctor(class [System.Runtime]System.Threading.Tasks.Task`1) IL_0019: stloc.s V_4 IL_001b: ldloca.s V_4 IL_001d: ldc.i4.0 @@ -364,10 +344,10 @@ IL_003e: ldarg.0 IL_003f: ldloc.2 IL_0040: stfld valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1/ConfiguredValueTaskAwaiter Example/'d__22'::'<>u__1' IL_0045: ldarg.0 -IL_0046: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__22'::'<>t__builder' +IL_0046: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__22'::'<>t__builder' IL_004b: ldloca.s V_2 IL_004d: ldarg.0 -IL_004e: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::AwaitUnsafeOnCompleted,valuetype Example/'d__22'>(!!0&, +IL_004e: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::AwaitUnsafeOnCompleted,valuetype Example/'d__22'>(!!0&, !!1&) IL_0053: leave.s IL_00a8 IL_0055: ldarg.0 @@ -393,49 +373,44 @@ IL_007d: ldarg.0 IL_007e: ldc.i4.s -2 IL_0080: stfld int32 Example/'d__22'::'<>1__state' IL_0085: ldarg.0 -IL_0086: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__22'::'<>t__builder' +IL_0086: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__22'::'<>t__builder' IL_008b: ldloc.s V_5 -IL_008d: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetException(class [System.Runtime]System.Exception) +IL_008d: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetException(class [System.Runtime]System.Exception) IL_0092: leave.s IL_00a8 } // end handler IL_0094: ldarg.0 IL_0095: ldc.i4.s -2 IL_0097: stfld int32 Example/'d__22'::'<>1__state' IL_009c: ldarg.0 -IL_009d: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__22'::'<>t__builder' +IL_009d: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__22'::'<>t__builder' IL_00a2: ldloc.1 -IL_00a3: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetResult(!0) +IL_00a3: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetResult(!0) IL_00a8: ret } .method private hidebysig newslot virtual final -instance void SetStateMachine(class [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed +instance void SetStateMachine(class [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed { -.param [1] -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.override [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine +.override [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine .maxstack 8 IL_0000: ldarg.0 -IL_0001: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__22'::'<>t__builder' +IL_0001: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__22'::'<>t__builder' IL_0006: ldarg.1 -IL_0007: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetStateMachine(class [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine) +IL_0007: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetStateMachine(class [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine) IL_000c: ret } } .class auto ansi sealed nested private beforefieldinit 'd__11' extends [System.Runtime]System.ValueType -implements [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine +implements [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine { -.interfaceimpl type [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) +.interfaceimpl type [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine .field public int32 '<>1__state' -.field public valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 '<>t__builder' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) +.field public valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 '<>t__builder' .field private valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter '<>u__1' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) .method private hidebysig newslot virtual final instance void MoveNext() cil managed { -.override [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext +.override [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext .maxstack 3 .locals init (int32 V_0, class Example V_1, @@ -469,10 +444,10 @@ IL_0035: ldarg.0 IL_0036: ldloc.2 IL_0037: stfld valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter Example/'d__11'::'<>u__1' IL_003c: ldarg.0 -IL_003d: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__11'::'<>t__builder' +IL_003d: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__11'::'<>t__builder' IL_0042: ldloca.s V_2 IL_0044: ldarg.0 -IL_0045: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::AwaitUnsafeOnCompleted,valuetype Example/'d__11'>(!!0&, +IL_0045: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::AwaitUnsafeOnCompleted,valuetype Example/'d__11'>(!!0&, !!1&) IL_004a: leave.s IL_009f IL_004c: ldarg.0 @@ -498,55 +473,50 @@ IL_0074: ldarg.0 IL_0075: ldc.i4.s -2 IL_0077: stfld int32 Example/'d__11'::'<>1__state' IL_007c: ldarg.0 -IL_007d: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__11'::'<>t__builder' +IL_007d: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__11'::'<>t__builder' IL_0082: ldloc.s V_4 -IL_0084: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetException(class [System.Runtime]System.Exception) +IL_0084: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetException(class [System.Runtime]System.Exception) IL_0089: leave.s IL_009f } // end handler IL_008b: ldarg.0 IL_008c: ldc.i4.s -2 IL_008e: stfld int32 Example/'d__11'::'<>1__state' IL_0093: ldarg.0 -IL_0094: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__11'::'<>t__builder' +IL_0094: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__11'::'<>t__builder' IL_0099: ldloc.1 -IL_009a: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetResult(!0) +IL_009a: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetResult(!0) IL_009f: ret } .method private hidebysig newslot virtual final -instance void SetStateMachine(class [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed +instance void SetStateMachine(class [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed { -.param [1] -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.override [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine +.override [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine .maxstack 8 IL_0000: ldarg.0 -IL_0001: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__11'::'<>t__builder' +IL_0001: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__11'::'<>t__builder' IL_0006: ldarg.1 -IL_0007: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetStateMachine(class [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine) +IL_0007: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetStateMachine(class [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine) IL_000c: ret } } .class auto ansi sealed nested private beforefieldinit 'd__23' extends [System.Runtime]System.ValueType -implements [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine +implements [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine { -.interfaceimpl type [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) +.interfaceimpl type [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine .field public int32 '<>1__state' -.field public valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 '<>t__builder' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field private valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1/ConfiguredValueTaskAwaiter '<>u__1' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8[]) = ( 01 00 02 00 00 00 00 01 00 00 ) +.field public valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 '<>t__builder' +.field private valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1/ConfiguredValueTaskAwaiter '<>u__1' .method private hidebysig newslot virtual final instance void MoveNext() cil managed { -.override [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext +.override [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext .maxstack 3 .locals init (int32 V_0, class Example V_1, -valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1/ConfiguredValueTaskAwaiter V_2, -valuetype [System.Threading.Tasks.Extensions]System.Threading.Tasks.ValueTask`1 V_3, -valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1 V_4, +valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1/ConfiguredValueTaskAwaiter V_2, +valuetype [System.Runtime]System.Threading.Tasks.ValueTask`1 V_3, +valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1 V_4, class [System.Runtime]System.Exception V_5) IL_0000: ldarg.0 IL_0001: ldfld int32 Example/'d__23'::'<>1__state' @@ -557,17 +527,17 @@ IL_0007: ldloc.0 IL_0008: brfalse.s IL_0055 IL_000a: newobj instance void Example::.ctor() IL_000f: call class [System.Runtime]System.Threading.Tasks.Task`1 [System.Runtime]System.Threading.Tasks.Task::FromResult(!!0) -IL_0014: newobj instance void valuetype [System.Threading.Tasks.Extensions]System.Threading.Tasks.ValueTask`1::.ctor(class [System.Runtime]System.Threading.Tasks.Task`1) +IL_0014: newobj instance void valuetype [System.Runtime]System.Threading.Tasks.ValueTask`1::.ctor(class [System.Runtime]System.Threading.Tasks.Task`1) IL_0019: stloc.3 IL_001a: ldloca.s V_3 IL_001c: ldc.i4.0 -IL_001d: call instance valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1 valuetype [System.Threading.Tasks.Extensions]System.Threading.Tasks.ValueTask`1::ConfigureAwait(bool) +IL_001d: call instance valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1 valuetype [System.Runtime]System.Threading.Tasks.ValueTask`1::ConfigureAwait(bool) IL_0022: stloc.s V_4 IL_0024: ldloca.s V_4 -IL_0026: call instance valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1/ConfiguredValueTaskAwaiter valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1::GetAwaiter() +IL_0026: call instance valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1/ConfiguredValueTaskAwaiter valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1::GetAwaiter() IL_002b: stloc.2 IL_002c: ldloca.s V_2 -IL_002e: call instance bool valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1/ConfiguredValueTaskAwaiter::get_IsCompleted() +IL_002e: call instance bool valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1/ConfiguredValueTaskAwaiter::get_IsCompleted() IL_0033: brtrue.s IL_0071 IL_0035: ldarg.0 IL_0036: ldc.i4.0 @@ -576,27 +546,27 @@ IL_0038: stloc.0 IL_0039: stfld int32 Example/'d__23'::'<>1__state' IL_003e: ldarg.0 IL_003f: ldloc.2 -IL_0040: stfld valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1/ConfiguredValueTaskAwaiter Example/'d__23'::'<>u__1' +IL_0040: stfld valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1/ConfiguredValueTaskAwaiter Example/'d__23'::'<>u__1' IL_0045: ldarg.0 -IL_0046: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__23'::'<>t__builder' +IL_0046: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__23'::'<>t__builder' IL_004b: ldloca.s V_2 IL_004d: ldarg.0 -IL_004e: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::AwaitUnsafeOnCompleted,valuetype Example/'d__23'>(!!0&, +IL_004e: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::AwaitUnsafeOnCompleted,valuetype Example/'d__23'>(!!0&, !!1&) IL_0053: leave.s IL_00a8 IL_0055: ldarg.0 -IL_0056: ldfld valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1/ConfiguredValueTaskAwaiter Example/'d__23'::'<>u__1' +IL_0056: ldfld valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1/ConfiguredValueTaskAwaiter Example/'d__23'::'<>u__1' IL_005b: stloc.2 IL_005c: ldarg.0 -IL_005d: ldflda valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1/ConfiguredValueTaskAwaiter Example/'d__23'::'<>u__1' -IL_0062: initobj valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1/ConfiguredValueTaskAwaiter +IL_005d: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1/ConfiguredValueTaskAwaiter Example/'d__23'::'<>u__1' +IL_0062: initobj valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1/ConfiguredValueTaskAwaiter IL_0068: ldarg.0 IL_0069: ldc.i4.m1 IL_006a: dup IL_006b: stloc.0 IL_006c: stfld int32 Example/'d__23'::'<>1__state' IL_0071: ldloca.s V_2 -IL_0073: call instance !0 valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1/ConfiguredValueTaskAwaiter::GetResult() +IL_0073: call instance !0 valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1/ConfiguredValueTaskAwaiter::GetResult() IL_0078: stloc.1 IL_0079: leave.s IL_0094 } // end .try @@ -607,47 +577,44 @@ IL_007d: ldarg.0 IL_007e: ldc.i4.s -2 IL_0080: stfld int32 Example/'d__23'::'<>1__state' IL_0085: ldarg.0 -IL_0086: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__23'::'<>t__builder' +IL_0086: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__23'::'<>t__builder' IL_008b: ldloc.s V_5 -IL_008d: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetException(class [System.Runtime]System.Exception) +IL_008d: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetException(class [System.Runtime]System.Exception) IL_0092: leave.s IL_00a8 } // end handler IL_0094: ldarg.0 IL_0095: ldc.i4.s -2 IL_0097: stfld int32 Example/'d__23'::'<>1__state' IL_009c: ldarg.0 -IL_009d: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__23'::'<>t__builder' +IL_009d: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__23'::'<>t__builder' IL_00a2: ldloc.1 -IL_00a3: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetResult(!0) +IL_00a3: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetResult(!0) IL_00a8: ret } .method private hidebysig newslot virtual final -instance void SetStateMachine(class [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed +instance void SetStateMachine(class [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed { -.param [1] -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.override [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine +.override [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine .maxstack 8 IL_0000: ldarg.0 -IL_0001: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__23'::'<>t__builder' +IL_0001: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__23'::'<>t__builder' IL_0006: ldarg.1 -IL_0007: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetStateMachine(class [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine) +IL_0007: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetStateMachine(class [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine) IL_000c: ret } } .class auto ansi sealed nested private beforefieldinit 'd__0' extends [System.Runtime]System.ValueType -implements [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine +implements [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine { -.interfaceimpl type [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) +.interfaceimpl type [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine .field public int32 '<>1__state' -.field public valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder '<>t__builder' +.field public valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder '<>t__builder' .field private valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter '<>u__1' .method private hidebysig newslot virtual final instance void MoveNext() cil managed { -.override [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext +.override [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext .maxstack 3 .locals init (int32 V_0, valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter V_1, @@ -675,10 +642,10 @@ IL_0028: ldarg.0 IL_0029: ldloc.1 IL_002a: stfld valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter Example/'d__0'::'<>u__1' IL_002f: ldarg.0 -IL_0030: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Example/'d__0'::'<>t__builder' +IL_0030: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Example/'d__0'::'<>t__builder' IL_0035: ldloca.s V_1 IL_0037: ldarg.0 -IL_0038: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::AwaitUnsafeOnCompletedd__0'>(!!0&, +IL_0038: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::AwaitUnsafeOnCompletedd__0'>(!!0&, !!1&) IL_003d: leave.s IL_008e IL_003f: ldarg.0 @@ -703,50 +670,47 @@ IL_0065: ldarg.0 IL_0066: ldc.i4.s -2 IL_0068: stfld int32 Example/'d__0'::'<>1__state' IL_006d: ldarg.0 -IL_006e: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Example/'d__0'::'<>t__builder' +IL_006e: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Example/'d__0'::'<>t__builder' IL_0073: ldloc.2 -IL_0074: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetException(class [System.Runtime]System.Exception) +IL_0074: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetException(class [System.Runtime]System.Exception) IL_0079: leave.s IL_008e } // end handler IL_007b: ldarg.0 IL_007c: ldc.i4.s -2 IL_007e: stfld int32 Example/'d__0'::'<>1__state' IL_0083: ldarg.0 -IL_0084: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Example/'d__0'::'<>t__builder' -IL_0089: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetResult() +IL_0084: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Example/'d__0'::'<>t__builder' +IL_0089: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetResult() IL_008e: ret } .method private hidebysig newslot virtual final -instance void SetStateMachine(class [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed +instance void SetStateMachine(class [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed { -.param [1] -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.override [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine +.override [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine .maxstack 8 IL_0000: ldarg.0 -IL_0001: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Example/'d__0'::'<>t__builder' +IL_0001: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Example/'d__0'::'<>t__builder' IL_0006: ldarg.1 -IL_0007: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetStateMachine(class [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine) +IL_0007: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetStateMachine(class [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine) IL_000c: ret } } .class auto ansi sealed nested private beforefieldinit 'd__12' extends [System.Runtime]System.ValueType -implements [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine +implements [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine { -.interfaceimpl type [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) +.interfaceimpl type [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine .field public int32 '<>1__state' -.field public valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder '<>t__builder' -.field private valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ValueTaskAwaiter '<>u__1' +.field public valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder '<>t__builder' +.field private valuetype [System.Runtime]System.Runtime.CompilerServices.ValueTaskAwaiter '<>u__1' .method private hidebysig newslot virtual final instance void MoveNext() cil managed { -.override [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext +.override [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext .maxstack 3 .locals init (int32 V_0, -valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ValueTaskAwaiter V_1, -valuetype [System.Threading.Tasks.Extensions]System.Threading.Tasks.ValueTask V_2, +valuetype [System.Runtime]System.Runtime.CompilerServices.ValueTaskAwaiter V_1, +valuetype [System.Runtime]System.Threading.Tasks.ValueTask V_2, class [System.Runtime]System.Exception V_3) IL_0000: ldarg.0 IL_0001: ldfld int32 Example/'d__12'::'<>1__state' @@ -757,13 +721,13 @@ IL_0007: ldloc.0 IL_0008: brfalse.s IL_0047 IL_000a: ldc.i4.1 IL_000b: call class [System.Runtime]System.Threading.Tasks.Task [System.Runtime]System.Threading.Tasks.Task::Delay(int32) -IL_0010: newobj instance void [System.Threading.Tasks.Extensions]System.Threading.Tasks.ValueTask::.ctor(class [System.Runtime]System.Threading.Tasks.Task) +IL_0010: newobj instance void [System.Runtime]System.Threading.Tasks.ValueTask::.ctor(class [System.Runtime]System.Threading.Tasks.Task) IL_0015: stloc.2 IL_0016: ldloca.s V_2 -IL_0018: call instance valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ValueTaskAwaiter [System.Threading.Tasks.Extensions]System.Threading.Tasks.ValueTask::GetAwaiter() +IL_0018: call instance valuetype [System.Runtime]System.Runtime.CompilerServices.ValueTaskAwaiter [System.Runtime]System.Threading.Tasks.ValueTask::GetAwaiter() IL_001d: stloc.1 IL_001e: ldloca.s V_1 -IL_0020: call instance bool [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ValueTaskAwaiter::get_IsCompleted() +IL_0020: call instance bool [System.Runtime]System.Runtime.CompilerServices.ValueTaskAwaiter::get_IsCompleted() IL_0025: brtrue.s IL_0063 IL_0027: ldarg.0 IL_0028: ldc.i4.0 @@ -772,27 +736,27 @@ IL_002a: stloc.0 IL_002b: stfld int32 Example/'d__12'::'<>1__state' IL_0030: ldarg.0 IL_0031: ldloc.1 -IL_0032: stfld valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ValueTaskAwaiter Example/'d__12'::'<>u__1' +IL_0032: stfld valuetype [System.Runtime]System.Runtime.CompilerServices.ValueTaskAwaiter Example/'d__12'::'<>u__1' IL_0037: ldarg.0 -IL_0038: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Example/'d__12'::'<>t__builder' +IL_0038: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Example/'d__12'::'<>t__builder' IL_003d: ldloca.s V_1 IL_003f: ldarg.0 -IL_0040: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::AwaitUnsafeOnCompletedd__12'>(!!0&, +IL_0040: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::AwaitUnsafeOnCompletedd__12'>(!!0&, !!1&) IL_0045: leave.s IL_0096 IL_0047: ldarg.0 -IL_0048: ldfld valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ValueTaskAwaiter Example/'d__12'::'<>u__1' +IL_0048: ldfld valuetype [System.Runtime]System.Runtime.CompilerServices.ValueTaskAwaiter Example/'d__12'::'<>u__1' IL_004d: stloc.1 IL_004e: ldarg.0 -IL_004f: ldflda valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ValueTaskAwaiter Example/'d__12'::'<>u__1' -IL_0054: initobj [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ValueTaskAwaiter +IL_004f: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.ValueTaskAwaiter Example/'d__12'::'<>u__1' +IL_0054: initobj [System.Runtime]System.Runtime.CompilerServices.ValueTaskAwaiter IL_005a: ldarg.0 IL_005b: ldc.i4.m1 IL_005c: dup IL_005d: stloc.0 IL_005e: stfld int32 Example/'d__12'::'<>1__state' IL_0063: ldloca.s V_1 -IL_0065: call instance void [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ValueTaskAwaiter::GetResult() +IL_0065: call instance void [System.Runtime]System.Runtime.CompilerServices.ValueTaskAwaiter::GetResult() IL_006a: leave.s IL_0083 } // end .try catch [System.Runtime]System.Exception @@ -802,46 +766,43 @@ IL_006d: ldarg.0 IL_006e: ldc.i4.s -2 IL_0070: stfld int32 Example/'d__12'::'<>1__state' IL_0075: ldarg.0 -IL_0076: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Example/'d__12'::'<>t__builder' +IL_0076: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Example/'d__12'::'<>t__builder' IL_007b: ldloc.3 -IL_007c: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetException(class [System.Runtime]System.Exception) +IL_007c: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetException(class [System.Runtime]System.Exception) IL_0081: leave.s IL_0096 } // end handler IL_0083: ldarg.0 IL_0084: ldc.i4.s -2 IL_0086: stfld int32 Example/'d__12'::'<>1__state' IL_008b: ldarg.0 -IL_008c: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Example/'d__12'::'<>t__builder' -IL_0091: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetResult() +IL_008c: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Example/'d__12'::'<>t__builder' +IL_0091: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetResult() IL_0096: ret } .method private hidebysig newslot virtual final -instance void SetStateMachine(class [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed +instance void SetStateMachine(class [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed { -.param [1] -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.override [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine +.override [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine .maxstack 8 IL_0000: ldarg.0 -IL_0001: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Example/'d__12'::'<>t__builder' +IL_0001: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Example/'d__12'::'<>t__builder' IL_0006: ldarg.1 -IL_0007: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetStateMachine(class [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine) +IL_0007: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetStateMachine(class [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine) IL_000c: ret } } .class auto ansi sealed nested private beforefieldinit 'd__1' extends [System.Runtime]System.ValueType -implements [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine +implements [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine { -.interfaceimpl type [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) +.interfaceimpl type [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine .field public int32 '<>1__state' -.field public valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder '<>t__builder' +.field public valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder '<>t__builder' .field private valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter '<>u__1' .method private hidebysig newslot virtual final instance void MoveNext() cil managed { -.override [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext +.override [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext .maxstack 3 .locals init (int32 V_0, valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter V_1, @@ -874,10 +835,10 @@ IL_0031: ldarg.0 IL_0032: ldloc.1 IL_0033: stfld valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter Example/'d__1'::'<>u__1' IL_0038: ldarg.0 -IL_0039: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Example/'d__1'::'<>t__builder' +IL_0039: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Example/'d__1'::'<>t__builder' IL_003e: ldloca.s V_1 IL_0040: ldarg.0 -IL_0041: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::AwaitUnsafeOnCompletedd__1'>(!!0&, +IL_0041: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::AwaitUnsafeOnCompletedd__1'>(!!0&, !!1&) IL_0046: leave.s IL_0097 IL_0048: ldarg.0 @@ -902,51 +863,48 @@ IL_006e: ldarg.0 IL_006f: ldc.i4.s -2 IL_0071: stfld int32 Example/'d__1'::'<>1__state' IL_0076: ldarg.0 -IL_0077: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Example/'d__1'::'<>t__builder' +IL_0077: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Example/'d__1'::'<>t__builder' IL_007c: ldloc.3 -IL_007d: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetException(class [System.Runtime]System.Exception) +IL_007d: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetException(class [System.Runtime]System.Exception) IL_0082: leave.s IL_0097 } // end handler IL_0084: ldarg.0 IL_0085: ldc.i4.s -2 IL_0087: stfld int32 Example/'d__1'::'<>1__state' IL_008c: ldarg.0 -IL_008d: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Example/'d__1'::'<>t__builder' -IL_0092: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetResult() +IL_008d: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Example/'d__1'::'<>t__builder' +IL_0092: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetResult() IL_0097: ret } .method private hidebysig newslot virtual final -instance void SetStateMachine(class [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed +instance void SetStateMachine(class [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed { -.param [1] -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.override [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine +.override [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine .maxstack 8 IL_0000: ldarg.0 -IL_0001: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Example/'d__1'::'<>t__builder' +IL_0001: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Example/'d__1'::'<>t__builder' IL_0006: ldarg.1 -IL_0007: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetStateMachine(class [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine) +IL_0007: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetStateMachine(class [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine) IL_000c: ret } } .class auto ansi sealed nested private beforefieldinit 'd__13' extends [System.Runtime]System.ValueType -implements [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine +implements [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine { -.interfaceimpl type [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) +.interfaceimpl type [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine .field public int32 '<>1__state' -.field public valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder '<>t__builder' +.field public valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder '<>t__builder' .field private valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter '<>u__1' .method private hidebysig newslot virtual final instance void MoveNext() cil managed { -.override [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext +.override [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext .maxstack 3 .locals init (int32 V_0, valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter V_1, valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable V_2, -valuetype [System.Threading.Tasks.Extensions]System.Threading.Tasks.ValueTask V_3, +valuetype [System.Runtime]System.Threading.Tasks.ValueTask V_3, class [System.Runtime]System.Exception V_4) IL_0000: ldarg.0 IL_0001: ldfld int32 Example/'d__13'::'<>1__state' @@ -957,7 +915,7 @@ IL_0007: ldloc.0 IL_0008: brfalse.s IL_0050 IL_000a: ldc.i4.1 IL_000b: call class [System.Runtime]System.Threading.Tasks.Task [System.Runtime]System.Threading.Tasks.Task::Delay(int32) -IL_0010: call instance void [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable::.ctor(valuetype [System.Private.CoreLib]System.Threading.Tasks.ValueTask&) +IL_0010: newobj instance void [System.Runtime]System.Threading.Tasks.ValueTask::.ctor(class [System.Runtime]System.Threading.Tasks.Task) IL_0015: stloc.3 IL_0016: ldloca.s V_3 IL_0018: ldc.i4.0 @@ -978,10 +936,10 @@ IL_0039: ldarg.0 IL_003a: ldloc.1 IL_003b: stfld valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter Example/'d__13'::'<>u__1' IL_0040: ldarg.0 -IL_0041: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Example/'d__13'::'<>t__builder' +IL_0041: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Example/'d__13'::'<>t__builder' IL_0046: ldloca.s V_1 IL_0048: ldarg.0 -IL_0049: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::AwaitUnsafeOnCompletedd__13'>(!!0&, +IL_0049: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::AwaitUnsafeOnCompletedd__13'>(!!0&, !!1&) IL_004e: leave.s IL_00a1 IL_0050: ldarg.0 @@ -1006,46 +964,43 @@ IL_0077: ldarg.0 IL_0078: ldc.i4.s -2 IL_007a: stfld int32 Example/'d__13'::'<>1__state' IL_007f: ldarg.0 -IL_0080: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Example/'d__13'::'<>t__builder' +IL_0080: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Example/'d__13'::'<>t__builder' IL_0085: ldloc.s V_4 -IL_0087: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetException(class [System.Runtime]System.Exception) +IL_0087: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetException(class [System.Runtime]System.Exception) IL_008c: leave.s IL_00a1 } // end handler IL_008e: ldarg.0 IL_008f: ldc.i4.s -2 IL_0091: stfld int32 Example/'d__13'::'<>1__state' IL_0096: ldarg.0 -IL_0097: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Example/'d__13'::'<>t__builder' -IL_009c: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetResult() +IL_0097: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Example/'d__13'::'<>t__builder' +IL_009c: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetResult() IL_00a1: ret } .method private hidebysig newslot virtual final -instance void SetStateMachine(class [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed +instance void SetStateMachine(class [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed { -.param [1] -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.override [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine +.override [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine .maxstack 8 IL_0000: ldarg.0 -IL_0001: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Example/'d__13'::'<>t__builder' +IL_0001: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Example/'d__13'::'<>t__builder' IL_0006: ldarg.1 -IL_0007: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetStateMachine(class [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine) +IL_0007: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetStateMachine(class [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine) IL_000c: ret } } .class auto ansi sealed nested private beforefieldinit 'd__2' extends [System.Runtime]System.ValueType -implements [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine +implements [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine { -.interfaceimpl type [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) +.interfaceimpl type [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine .field public int32 '<>1__state' -.field public valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder '<>t__builder' +.field public valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder '<>t__builder' .field private valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter '<>u__1' .method private hidebysig newslot virtual final instance void MoveNext() cil managed { -.override [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext +.override [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext .maxstack 3 .locals init (int32 V_0, valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter V_1, @@ -1078,10 +1033,10 @@ IL_0031: ldarg.0 IL_0032: ldloc.1 IL_0033: stfld valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter Example/'d__2'::'<>u__1' IL_0038: ldarg.0 -IL_0039: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Example/'d__2'::'<>t__builder' +IL_0039: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Example/'d__2'::'<>t__builder' IL_003e: ldloca.s V_1 IL_0040: ldarg.0 -IL_0041: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::AwaitUnsafeOnCompletedd__2'>(!!0&, +IL_0041: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::AwaitUnsafeOnCompletedd__2'>(!!0&, !!1&) IL_0046: leave.s IL_0097 IL_0048: ldarg.0 @@ -1106,51 +1061,48 @@ IL_006e: ldarg.0 IL_006f: ldc.i4.s -2 IL_0071: stfld int32 Example/'d__2'::'<>1__state' IL_0076: ldarg.0 -IL_0077: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Example/'d__2'::'<>t__builder' +IL_0077: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Example/'d__2'::'<>t__builder' IL_007c: ldloc.3 -IL_007d: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetException(class [System.Runtime]System.Exception) +IL_007d: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetException(class [System.Runtime]System.Exception) IL_0082: leave.s IL_0097 } // end handler IL_0084: ldarg.0 IL_0085: ldc.i4.s -2 IL_0087: stfld int32 Example/'d__2'::'<>1__state' IL_008c: ldarg.0 -IL_008d: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Example/'d__2'::'<>t__builder' -IL_0092: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetResult() +IL_008d: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Example/'d__2'::'<>t__builder' +IL_0092: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetResult() IL_0097: ret } .method private hidebysig newslot virtual final -instance void SetStateMachine(class [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed +instance void SetStateMachine(class [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed { -.param [1] -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.override [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine +.override [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine .maxstack 8 IL_0000: ldarg.0 -IL_0001: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Example/'d__2'::'<>t__builder' +IL_0001: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Example/'d__2'::'<>t__builder' IL_0006: ldarg.1 -IL_0007: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetStateMachine(class [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine) +IL_0007: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetStateMachine(class [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine) IL_000c: ret } } .class auto ansi sealed nested private beforefieldinit 'd__14' extends [System.Runtime]System.ValueType -implements [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine +implements [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine { -.interfaceimpl type [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) +.interfaceimpl type [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine .field public int32 '<>1__state' -.field public valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder '<>t__builder' -.field private valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter '<>u__1' +.field public valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder '<>t__builder' +.field private valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter '<>u__1' .method private hidebysig newslot virtual final instance void MoveNext() cil managed { -.override [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext +.override [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext .maxstack 3 .locals init (int32 V_0, -valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter V_1, -valuetype [System.Threading.Tasks.Extensions]System.Threading.Tasks.ValueTask V_2, -valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable V_3, +valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter V_1, +valuetype [System.Runtime]System.Threading.Tasks.ValueTask V_2, +valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable V_3, class [System.Runtime]System.Exception V_4) IL_0000: ldarg.0 IL_0001: ldfld int32 Example/'d__14'::'<>1__state' @@ -1161,17 +1113,17 @@ IL_0007: ldloc.0 IL_0008: brfalse.s IL_0050 IL_000a: ldc.i4.1 IL_000b: call class [System.Runtime]System.Threading.Tasks.Task [System.Runtime]System.Threading.Tasks.Task::Delay(int32) -IL_0010: newobj instance void [System.Threading.Tasks.Extensions]System.Threading.Tasks.ValueTask::.ctor(class [System.Runtime]System.Threading.Tasks.Task) +IL_0010: newobj instance void [System.Runtime]System.Threading.Tasks.ValueTask::.ctor(class [System.Runtime]System.Threading.Tasks.Task) IL_0015: stloc.2 IL_0016: ldloca.s V_2 IL_0018: ldc.i4.0 -IL_0019: call instance valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable [System.Threading.Tasks.Extensions]System.Threading.Tasks.ValueTask::ConfigureAwait(bool) +IL_0019: call instance valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable [System.Runtime]System.Threading.Tasks.ValueTask::ConfigureAwait(bool) IL_001e: stloc.3 IL_001f: ldloca.s V_3 -IL_0021: call instance valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable::GetAwaiter() +IL_0021: call instance valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter [System.Runtime]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable::GetAwaiter() IL_0026: stloc.1 IL_0027: ldloca.s V_1 -IL_0029: call instance bool [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter::get_IsCompleted() +IL_0029: call instance bool [System.Runtime]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter::get_IsCompleted() IL_002e: brtrue.s IL_006c IL_0030: ldarg.0 IL_0031: ldc.i4.0 @@ -1180,27 +1132,27 @@ IL_0033: stloc.0 IL_0034: stfld int32 Example/'d__14'::'<>1__state' IL_0039: ldarg.0 IL_003a: ldloc.1 -IL_003b: stfld valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter Example/'d__14'::'<>u__1' +IL_003b: stfld valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter Example/'d__14'::'<>u__1' IL_0040: ldarg.0 -IL_0041: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Example/'d__14'::'<>t__builder' +IL_0041: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Example/'d__14'::'<>t__builder' IL_0046: ldloca.s V_1 IL_0048: ldarg.0 -IL_0049: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::AwaitUnsafeOnCompletedd__14'>(!!0&, +IL_0049: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::AwaitUnsafeOnCompletedd__14'>(!!0&, !!1&) IL_004e: leave.s IL_00a1 IL_0050: ldarg.0 -IL_0051: ldfld valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter Example/'d__14'::'<>u__1' +IL_0051: ldfld valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter Example/'d__14'::'<>u__1' IL_0056: stloc.1 IL_0057: ldarg.0 -IL_0058: ldflda valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter Example/'d__14'::'<>u__1' -IL_005d: initobj [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter +IL_0058: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter Example/'d__14'::'<>u__1' +IL_005d: initobj [System.Runtime]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter IL_0063: ldarg.0 IL_0064: ldc.i4.m1 IL_0065: dup IL_0066: stloc.0 IL_0067: stfld int32 Example/'d__14'::'<>1__state' IL_006c: ldloca.s V_1 -IL_006e: call instance void [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter::GetResult() +IL_006e: call instance void [System.Runtime]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter::GetResult() IL_0073: leave.s IL_008e } // end .try catch [System.Runtime]System.Exception @@ -1210,48 +1162,43 @@ IL_0077: ldarg.0 IL_0078: ldc.i4.s -2 IL_007a: stfld int32 Example/'d__14'::'<>1__state' IL_007f: ldarg.0 -IL_0080: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Example/'d__14'::'<>t__builder' +IL_0080: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Example/'d__14'::'<>t__builder' IL_0085: ldloc.s V_4 -IL_0087: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetException(class [System.Runtime]System.Exception) +IL_0087: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetException(class [System.Runtime]System.Exception) IL_008c: leave.s IL_00a1 } // end handler IL_008e: ldarg.0 IL_008f: ldc.i4.s -2 IL_0091: stfld int32 Example/'d__14'::'<>1__state' IL_0096: ldarg.0 -IL_0097: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Example/'d__14'::'<>t__builder' -IL_009c: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetResult() +IL_0097: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Example/'d__14'::'<>t__builder' +IL_009c: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetResult() IL_00a1: ret } .method private hidebysig newslot virtual final -instance void SetStateMachine(class [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed +instance void SetStateMachine(class [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed { -.param [1] -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.override [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine +.override [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine .maxstack 8 IL_0000: ldarg.0 -IL_0001: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Example/'d__14'::'<>t__builder' +IL_0001: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Example/'d__14'::'<>t__builder' IL_0006: ldarg.1 -IL_0007: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetStateMachine(class [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine) +IL_0007: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetStateMachine(class [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine) IL_000c: ret } } .class auto ansi sealed nested private beforefieldinit 'd__3' extends [System.Runtime]System.ValueType -implements [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine +implements [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine { -.interfaceimpl type [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) +.interfaceimpl type [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine .field public int32 '<>1__state' -.field public valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 '<>t__builder' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) +.field public valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 '<>t__builder' .field private valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter`1 '<>u__1' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) .method private hidebysig newslot virtual final instance void MoveNext() cil managed { -.override [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext +.override [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext .maxstack 3 .locals init (int32 V_0, int32 V_1, @@ -1280,10 +1227,10 @@ IL_0029: ldarg.0 IL_002a: ldloc.2 IL_002b: stfld valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter`1 Example/'d__3'::'<>u__1' IL_0030: ldarg.0 -IL_0031: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__3'::'<>t__builder' +IL_0031: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__3'::'<>t__builder' IL_0036: ldloca.s V_2 IL_0038: ldarg.0 -IL_0039: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::AwaitUnsafeOnCompleted,valuetype Example/'d__3'>(!!0&, +IL_0039: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::AwaitUnsafeOnCompleted,valuetype Example/'d__3'>(!!0&, !!1&) IL_003e: leave.s IL_0091 IL_0040: ldarg.0 @@ -1309,54 +1256,49 @@ IL_0067: ldarg.0 IL_0068: ldc.i4.s -2 IL_006a: stfld int32 Example/'d__3'::'<>1__state' IL_006f: ldarg.0 -IL_0070: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__3'::'<>t__builder' +IL_0070: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__3'::'<>t__builder' IL_0075: ldloc.3 -IL_0076: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetException(class [System.Runtime]System.Exception) +IL_0076: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetException(class [System.Runtime]System.Exception) IL_007b: leave.s IL_0091 } // end handler IL_007d: ldarg.0 IL_007e: ldc.i4.s -2 IL_0080: stfld int32 Example/'d__3'::'<>1__state' IL_0085: ldarg.0 -IL_0086: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__3'::'<>t__builder' +IL_0086: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__3'::'<>t__builder' IL_008b: ldloc.1 -IL_008c: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetResult(!0) +IL_008c: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetResult(!0) IL_0091: ret } .method private hidebysig newslot virtual final -instance void SetStateMachine(class [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed +instance void SetStateMachine(class [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed { -.param [1] -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.override [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine +.override [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine .maxstack 8 IL_0000: ldarg.0 -IL_0001: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__3'::'<>t__builder' +IL_0001: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__3'::'<>t__builder' IL_0006: ldarg.1 -IL_0007: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetStateMachine(class [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine) +IL_0007: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetStateMachine(class [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine) IL_000c: ret } } .class auto ansi sealed nested private beforefieldinit 'd__15' extends [System.Runtime]System.ValueType -implements [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine +implements [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine { -.interfaceimpl type [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) +.interfaceimpl type [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine .field public int32 '<>1__state' -.field public valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 '<>t__builder' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field private valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ValueTaskAwaiter`1 '<>u__1' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) +.field public valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 '<>t__builder' +.field private valuetype [System.Runtime]System.Runtime.CompilerServices.ValueTaskAwaiter`1 '<>u__1' .method private hidebysig newslot virtual final instance void MoveNext() cil managed { -.override [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext +.override [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext .maxstack 3 .locals init (int32 V_0, int32 V_1, -valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ValueTaskAwaiter`1 V_2, -valuetype [System.Threading.Tasks.Extensions]System.Threading.Tasks.ValueTask`1 V_3, +valuetype [System.Runtime]System.Runtime.CompilerServices.ValueTaskAwaiter`1 V_2, +valuetype [System.Runtime]System.Threading.Tasks.ValueTask`1 V_3, class [System.Runtime]System.Exception V_4) IL_0000: ldarg.0 IL_0001: ldfld int32 Example/'d__15'::'<>1__state' @@ -1367,13 +1309,13 @@ IL_0007: ldloc.0 IL_0008: brfalse.s IL_0048 IL_000a: ldc.i4.s 10 IL_000c: call class [System.Runtime]System.Threading.Tasks.Task`1 [System.Runtime]System.Threading.Tasks.Task::FromResult(!!0) -IL_0011: newobj instance void valuetype [System.Threading.Tasks.Extensions]System.Threading.Tasks.ValueTask`1::.ctor(class [System.Runtime]System.Threading.Tasks.Task`1) +IL_0011: newobj instance void valuetype [System.Runtime]System.Threading.Tasks.ValueTask`1::.ctor(class [System.Runtime]System.Threading.Tasks.Task`1) IL_0016: stloc.3 IL_0017: ldloca.s V_3 -IL_0019: call instance valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ValueTaskAwaiter`1 valuetype [System.Threading.Tasks.Extensions]System.Threading.Tasks.ValueTask`1::GetAwaiter() +IL_0019: call instance valuetype [System.Runtime]System.Runtime.CompilerServices.ValueTaskAwaiter`1 valuetype [System.Runtime]System.Threading.Tasks.ValueTask`1::GetAwaiter() IL_001e: stloc.2 IL_001f: ldloca.s V_2 -IL_0021: call instance bool valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ValueTaskAwaiter`1::get_IsCompleted() +IL_0021: call instance bool valuetype [System.Runtime]System.Runtime.CompilerServices.ValueTaskAwaiter`1::get_IsCompleted() IL_0026: brtrue.s IL_0064 IL_0028: ldarg.0 IL_0029: ldc.i4.0 @@ -1382,27 +1324,27 @@ IL_002b: stloc.0 IL_002c: stfld int32 Example/'d__15'::'<>1__state' IL_0031: ldarg.0 IL_0032: ldloc.2 -IL_0033: stfld valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ValueTaskAwaiter`1 Example/'d__15'::'<>u__1' +IL_0033: stfld valuetype [System.Runtime]System.Runtime.CompilerServices.ValueTaskAwaiter`1 Example/'d__15'::'<>u__1' IL_0038: ldarg.0 -IL_0039: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__15'::'<>t__builder' +IL_0039: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__15'::'<>t__builder' IL_003e: ldloca.s V_2 IL_0040: ldarg.0 -IL_0041: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::AwaitUnsafeOnCompleted,valuetype Example/'d__15'>(!!0&, +IL_0041: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::AwaitUnsafeOnCompleted,valuetype Example/'d__15'>(!!0&, !!1&) IL_0046: leave.s IL_009b IL_0048: ldarg.0 -IL_0049: ldfld valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ValueTaskAwaiter`1 Example/'d__15'::'<>u__1' +IL_0049: ldfld valuetype [System.Runtime]System.Runtime.CompilerServices.ValueTaskAwaiter`1 Example/'d__15'::'<>u__1' IL_004e: stloc.2 IL_004f: ldarg.0 -IL_0050: ldflda valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ValueTaskAwaiter`1 Example/'d__15'::'<>u__1' -IL_0055: initobj valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ValueTaskAwaiter`1 +IL_0050: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.ValueTaskAwaiter`1 Example/'d__15'::'<>u__1' +IL_0055: initobj valuetype [System.Runtime]System.Runtime.CompilerServices.ValueTaskAwaiter`1 IL_005b: ldarg.0 IL_005c: ldc.i4.m1 IL_005d: dup IL_005e: stloc.0 IL_005f: stfld int32 Example/'d__15'::'<>1__state' IL_0064: ldloca.s V_2 -IL_0066: call instance !0 valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ValueTaskAwaiter`1::GetResult() +IL_0066: call instance !0 valuetype [System.Runtime]System.Runtime.CompilerServices.ValueTaskAwaiter`1::GetResult() IL_006b: stloc.1 IL_006c: leave.s IL_0087 } // end .try @@ -1413,49 +1355,44 @@ IL_0070: ldarg.0 IL_0071: ldc.i4.s -2 IL_0073: stfld int32 Example/'d__15'::'<>1__state' IL_0078: ldarg.0 -IL_0079: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__15'::'<>t__builder' +IL_0079: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__15'::'<>t__builder' IL_007e: ldloc.s V_4 -IL_0080: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetException(class [System.Runtime]System.Exception) +IL_0080: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetException(class [System.Runtime]System.Exception) IL_0085: leave.s IL_009b } // end handler IL_0087: ldarg.0 IL_0088: ldc.i4.s -2 IL_008a: stfld int32 Example/'d__15'::'<>1__state' IL_008f: ldarg.0 -IL_0090: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__15'::'<>t__builder' +IL_0090: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__15'::'<>t__builder' IL_0095: ldloc.1 -IL_0096: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetResult(!0) +IL_0096: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetResult(!0) IL_009b: ret } .method private hidebysig newslot virtual final -instance void SetStateMachine(class [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed +instance void SetStateMachine(class [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed { -.param [1] -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.override [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine +.override [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine .maxstack 8 IL_0000: ldarg.0 -IL_0001: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__15'::'<>t__builder' +IL_0001: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__15'::'<>t__builder' IL_0006: ldarg.1 -IL_0007: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetStateMachine(class [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine) +IL_0007: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetStateMachine(class [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine) IL_000c: ret } } .class auto ansi sealed nested private beforefieldinit 'd__4' extends [System.Runtime]System.ValueType -implements [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine +implements [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine { -.interfaceimpl type [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) +.interfaceimpl type [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine .field public int32 '<>1__state' -.field public valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 '<>t__builder' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) +.field public valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 '<>t__builder' .field private valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter '<>u__1' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) .method private hidebysig newslot virtual final instance void MoveNext() cil managed { -.override [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext +.override [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext .maxstack 3 .locals init (int32 V_0, int32 V_1, @@ -1489,10 +1426,10 @@ IL_0032: ldarg.0 IL_0033: ldloc.2 IL_0034: stfld valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter Example/'d__4'::'<>u__1' IL_0039: ldarg.0 -IL_003a: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__4'::'<>t__builder' +IL_003a: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__4'::'<>t__builder' IL_003f: ldloca.s V_2 IL_0041: ldarg.0 -IL_0042: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::AwaitUnsafeOnCompleted,valuetype Example/'d__4'>(!!0&, +IL_0042: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::AwaitUnsafeOnCompleted,valuetype Example/'d__4'>(!!0&, !!1&) IL_0047: leave.s IL_009c IL_0049: ldarg.0 @@ -1518,55 +1455,50 @@ IL_0071: ldarg.0 IL_0072: ldc.i4.s -2 IL_0074: stfld int32 Example/'d__4'::'<>1__state' IL_0079: ldarg.0 -IL_007a: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__4'::'<>t__builder' +IL_007a: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__4'::'<>t__builder' IL_007f: ldloc.s V_4 -IL_0081: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetException(class [System.Runtime]System.Exception) +IL_0081: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetException(class [System.Runtime]System.Exception) IL_0086: leave.s IL_009c } // end handler IL_0088: ldarg.0 IL_0089: ldc.i4.s -2 IL_008b: stfld int32 Example/'d__4'::'<>1__state' IL_0090: ldarg.0 -IL_0091: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__4'::'<>t__builder' +IL_0091: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__4'::'<>t__builder' IL_0096: ldloc.1 -IL_0097: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetResult(!0) +IL_0097: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetResult(!0) IL_009c: ret } .method private hidebysig newslot virtual final -instance void SetStateMachine(class [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed +instance void SetStateMachine(class [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed { -.param [1] -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.override [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine +.override [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine .maxstack 8 IL_0000: ldarg.0 -IL_0001: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__4'::'<>t__builder' +IL_0001: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__4'::'<>t__builder' IL_0006: ldarg.1 -IL_0007: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetStateMachine(class [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine) +IL_0007: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetStateMachine(class [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine) IL_000c: ret } } .class auto ansi sealed nested private beforefieldinit 'd__16' extends [System.Runtime]System.ValueType -implements [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine +implements [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine { -.interfaceimpl type [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) +.interfaceimpl type [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine .field public int32 '<>1__state' -.field public valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 '<>t__builder' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) +.field public valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 '<>t__builder' .field private valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1/ConfiguredValueTaskAwaiter '<>u__1' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) .method private hidebysig newslot virtual final instance void MoveNext() cil managed { -.override [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext +.override [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext .maxstack 3 .locals init (int32 V_0, int32 V_1, valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1/ConfiguredValueTaskAwaiter V_2, valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1 V_3, -valuetype [System.Threading.Tasks.Extensions]System.Threading.Tasks.ValueTask`1 V_4, +valuetype [System.Runtime]System.Threading.Tasks.ValueTask`1 V_4, class [System.Runtime]System.Exception V_5) IL_0000: ldarg.0 IL_0001: ldfld int32 Example/'d__16'::'<>1__state' @@ -1577,7 +1509,7 @@ IL_0007: ldloc.0 IL_0008: brfalse.s IL_0052 IL_000a: ldc.i4.s 10 IL_000c: call class [System.Runtime]System.Threading.Tasks.Task`1 [System.Runtime]System.Threading.Tasks.Task::FromResult(!!0) -IL_0011: call instance void valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1::.ctor(valuetype [System.Private.CoreLib]System.Threading.Tasks.ValueTask`1&) +IL_0011: newobj instance void valuetype [System.Runtime]System.Threading.Tasks.ValueTask`1::.ctor(class [System.Runtime]System.Threading.Tasks.Task`1) IL_0016: stloc.s V_4 IL_0018: ldloca.s V_4 IL_001a: ldc.i4.0 @@ -1598,10 +1530,10 @@ IL_003b: ldarg.0 IL_003c: ldloc.2 IL_003d: stfld valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1/ConfiguredValueTaskAwaiter Example/'d__16'::'<>u__1' IL_0042: ldarg.0 -IL_0043: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__16'::'<>t__builder' +IL_0043: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__16'::'<>t__builder' IL_0048: ldloca.s V_2 IL_004a: ldarg.0 -IL_004b: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::AwaitUnsafeOnCompleted,valuetype Example/'d__16'>(!!0&, +IL_004b: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::AwaitUnsafeOnCompleted,valuetype Example/'d__16'>(!!0&, !!1&) IL_0050: leave.s IL_00a5 IL_0052: ldarg.0 @@ -1627,49 +1559,44 @@ IL_007a: ldarg.0 IL_007b: ldc.i4.s -2 IL_007d: stfld int32 Example/'d__16'::'<>1__state' IL_0082: ldarg.0 -IL_0083: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__16'::'<>t__builder' +IL_0083: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__16'::'<>t__builder' IL_0088: ldloc.s V_5 -IL_008a: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetException(class [System.Runtime]System.Exception) +IL_008a: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetException(class [System.Runtime]System.Exception) IL_008f: leave.s IL_00a5 } // end handler IL_0091: ldarg.0 IL_0092: ldc.i4.s -2 IL_0094: stfld int32 Example/'d__16'::'<>1__state' IL_0099: ldarg.0 -IL_009a: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__16'::'<>t__builder' +IL_009a: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__16'::'<>t__builder' IL_009f: ldloc.1 -IL_00a0: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetResult(!0) +IL_00a0: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetResult(!0) IL_00a5: ret } .method private hidebysig newslot virtual final -instance void SetStateMachine(class [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed +instance void SetStateMachine(class [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed { -.param [1] -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.override [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine +.override [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine .maxstack 8 IL_0000: ldarg.0 -IL_0001: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__16'::'<>t__builder' +IL_0001: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__16'::'<>t__builder' IL_0006: ldarg.1 -IL_0007: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetStateMachine(class [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine) +IL_0007: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetStateMachine(class [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine) IL_000c: ret } } .class auto ansi sealed nested private beforefieldinit 'd__5' extends [System.Runtime]System.ValueType -implements [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine +implements [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine { -.interfaceimpl type [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) +.interfaceimpl type [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine .field public int32 '<>1__state' -.field public valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 '<>t__builder' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) +.field public valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 '<>t__builder' .field private valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter '<>u__1' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) .method private hidebysig newslot virtual final instance void MoveNext() cil managed { -.override [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext +.override [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext .maxstack 3 .locals init (int32 V_0, int32 V_1, @@ -1703,10 +1630,10 @@ IL_0032: ldarg.0 IL_0033: ldloc.2 IL_0034: stfld valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter Example/'d__5'::'<>u__1' IL_0039: ldarg.0 -IL_003a: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__5'::'<>t__builder' +IL_003a: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__5'::'<>t__builder' IL_003f: ldloca.s V_2 IL_0041: ldarg.0 -IL_0042: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::AwaitUnsafeOnCompleted,valuetype Example/'d__5'>(!!0&, +IL_0042: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::AwaitUnsafeOnCompleted,valuetype Example/'d__5'>(!!0&, !!1&) IL_0047: leave.s IL_009c IL_0049: ldarg.0 @@ -1732,55 +1659,50 @@ IL_0071: ldarg.0 IL_0072: ldc.i4.s -2 IL_0074: stfld int32 Example/'d__5'::'<>1__state' IL_0079: ldarg.0 -IL_007a: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__5'::'<>t__builder' +IL_007a: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__5'::'<>t__builder' IL_007f: ldloc.s V_4 -IL_0081: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetException(class [System.Runtime]System.Exception) +IL_0081: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetException(class [System.Runtime]System.Exception) IL_0086: leave.s IL_009c } // end handler IL_0088: ldarg.0 IL_0089: ldc.i4.s -2 IL_008b: stfld int32 Example/'d__5'::'<>1__state' IL_0090: ldarg.0 -IL_0091: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__5'::'<>t__builder' +IL_0091: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__5'::'<>t__builder' IL_0096: ldloc.1 -IL_0097: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetResult(!0) +IL_0097: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetResult(!0) IL_009c: ret } .method private hidebysig newslot virtual final -instance void SetStateMachine(class [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed +instance void SetStateMachine(class [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed { -.param [1] -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.override [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine +.override [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine .maxstack 8 IL_0000: ldarg.0 -IL_0001: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__5'::'<>t__builder' +IL_0001: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__5'::'<>t__builder' IL_0006: ldarg.1 -IL_0007: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetStateMachine(class [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine) +IL_0007: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetStateMachine(class [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine) IL_000c: ret } } .class auto ansi sealed nested private beforefieldinit 'd__17' extends [System.Runtime]System.ValueType -implements [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine +implements [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine { -.interfaceimpl type [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) +.interfaceimpl type [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine .field public int32 '<>1__state' -.field public valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 '<>t__builder' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field private valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1/ConfiguredValueTaskAwaiter '<>u__1' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) +.field public valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 '<>t__builder' +.field private valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1/ConfiguredValueTaskAwaiter '<>u__1' .method private hidebysig newslot virtual final instance void MoveNext() cil managed { -.override [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext +.override [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext .maxstack 3 .locals init (int32 V_0, int32 V_1, -valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1/ConfiguredValueTaskAwaiter V_2, -valuetype [System.Threading.Tasks.Extensions]System.Threading.Tasks.ValueTask`1 V_3, -valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1 V_4, +valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1/ConfiguredValueTaskAwaiter V_2, +valuetype [System.Runtime]System.Threading.Tasks.ValueTask`1 V_3, +valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1 V_4, class [System.Runtime]System.Exception V_5) IL_0000: ldarg.0 IL_0001: ldfld int32 Example/'d__17'::'<>1__state' @@ -1791,17 +1713,17 @@ IL_0007: ldloc.0 IL_0008: brfalse.s IL_0052 IL_000a: ldc.i4.s 10 IL_000c: call class [System.Runtime]System.Threading.Tasks.Task`1 [System.Runtime]System.Threading.Tasks.Task::FromResult(!!0) -IL_0011: newobj instance void valuetype [System.Threading.Tasks.Extensions]System.Threading.Tasks.ValueTask`1::.ctor(class [System.Runtime]System.Threading.Tasks.Task`1) +IL_0011: newobj instance void valuetype [System.Runtime]System.Threading.Tasks.ValueTask`1::.ctor(class [System.Runtime]System.Threading.Tasks.Task`1) IL_0016: stloc.3 IL_0017: ldloca.s V_3 IL_0019: ldc.i4.0 -IL_001a: call instance valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1 valuetype [System.Threading.Tasks.Extensions]System.Threading.Tasks.ValueTask`1::ConfigureAwait(bool) +IL_001a: call instance valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1 valuetype [System.Runtime]System.Threading.Tasks.ValueTask`1::ConfigureAwait(bool) IL_001f: stloc.s V_4 IL_0021: ldloca.s V_4 -IL_0023: call instance valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1/ConfiguredValueTaskAwaiter valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1::GetAwaiter() +IL_0023: call instance valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1/ConfiguredValueTaskAwaiter valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1::GetAwaiter() IL_0028: stloc.2 IL_0029: ldloca.s V_2 -IL_002b: call instance bool valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1/ConfiguredValueTaskAwaiter::get_IsCompleted() +IL_002b: call instance bool valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1/ConfiguredValueTaskAwaiter::get_IsCompleted() IL_0030: brtrue.s IL_006e IL_0032: ldarg.0 IL_0033: ldc.i4.0 @@ -1810,27 +1732,27 @@ IL_0035: stloc.0 IL_0036: stfld int32 Example/'d__17'::'<>1__state' IL_003b: ldarg.0 IL_003c: ldloc.2 -IL_003d: stfld valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1/ConfiguredValueTaskAwaiter Example/'d__17'::'<>u__1' +IL_003d: stfld valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1/ConfiguredValueTaskAwaiter Example/'d__17'::'<>u__1' IL_0042: ldarg.0 -IL_0043: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__17'::'<>t__builder' +IL_0043: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__17'::'<>t__builder' IL_0048: ldloca.s V_2 IL_004a: ldarg.0 -IL_004b: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::AwaitUnsafeOnCompleted,valuetype Example/'d__17'>(!!0&, +IL_004b: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::AwaitUnsafeOnCompleted,valuetype Example/'d__17'>(!!0&, !!1&) IL_0050: leave.s IL_00a5 IL_0052: ldarg.0 -IL_0053: ldfld valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1/ConfiguredValueTaskAwaiter Example/'d__17'::'<>u__1' +IL_0053: ldfld valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1/ConfiguredValueTaskAwaiter Example/'d__17'::'<>u__1' IL_0058: stloc.2 IL_0059: ldarg.0 -IL_005a: ldflda valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1/ConfiguredValueTaskAwaiter Example/'d__17'::'<>u__1' -IL_005f: initobj valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1/ConfiguredValueTaskAwaiter +IL_005a: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1/ConfiguredValueTaskAwaiter Example/'d__17'::'<>u__1' +IL_005f: initobj valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1/ConfiguredValueTaskAwaiter IL_0065: ldarg.0 IL_0066: ldc.i4.m1 IL_0067: dup IL_0068: stloc.0 IL_0069: stfld int32 Example/'d__17'::'<>1__state' IL_006e: ldloca.s V_2 -IL_0070: call instance !0 valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1/ConfiguredValueTaskAwaiter::GetResult() +IL_0070: call instance !0 valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1/ConfiguredValueTaskAwaiter::GetResult() IL_0075: stloc.1 IL_0076: leave.s IL_0091 } // end .try @@ -1841,54 +1763,49 @@ IL_007a: ldarg.0 IL_007b: ldc.i4.s -2 IL_007d: stfld int32 Example/'d__17'::'<>1__state' IL_0082: ldarg.0 -IL_0083: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__17'::'<>t__builder' +IL_0083: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__17'::'<>t__builder' IL_0088: ldloc.s V_5 -IL_008a: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetException(class [System.Runtime]System.Exception) +IL_008a: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetException(class [System.Runtime]System.Exception) IL_008f: leave.s IL_00a5 } // end handler IL_0091: ldarg.0 IL_0092: ldc.i4.s -2 IL_0094: stfld int32 Example/'d__17'::'<>1__state' IL_0099: ldarg.0 -IL_009a: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__17'::'<>t__builder' +IL_009a: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__17'::'<>t__builder' IL_009f: ldloc.1 -IL_00a0: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetResult(!0) +IL_00a0: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetResult(!0) IL_00a5: ret } .method private hidebysig newslot virtual final -instance void SetStateMachine(class [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed +instance void SetStateMachine(class [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed { -.param [1] -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.override [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine +.override [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine .maxstack 8 IL_0000: ldarg.0 -IL_0001: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__17'::'<>t__builder' +IL_0001: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__17'::'<>t__builder' IL_0006: ldarg.1 -IL_0007: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetStateMachine(class [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine) +IL_0007: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetStateMachine(class [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine) IL_000c: ret } } .class auto ansi sealed nested private beforefieldinit 'd__6' extends [System.Runtime]System.ValueType -implements [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine +implements [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine { -.interfaceimpl type [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) +.interfaceimpl type [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine .field public int32 '<>1__state' -.field public valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 '<>t__builder' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) +.field public valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 '<>t__builder' .field private int32 '5__2' .field private int32 '5__3' .field private valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter`1 '<>u__1' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) .field private int32 '5__4' .field private valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter '<>u__2' .field private int32 '<>7__wrap4' .method private hidebysig newslot virtual final instance void MoveNext() cil managed { -.override [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext +.override [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext .maxstack 3 .locals init (int32 V_0, int32 V_1, @@ -1922,10 +1839,10 @@ IL_0038: ldarg.0 IL_0039: ldloc.3 IL_003a: stfld valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter`1 Example/'d__6'::'<>u__1' IL_003f: ldarg.0 -IL_0040: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__6'::'<>t__builder' +IL_0040: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__6'::'<>t__builder' IL_0045: ldloca.s V_3 IL_0047: ldarg.0 -IL_0048: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::AwaitUnsafeOnCompleted,valuetype Example/'d__6'>(!!0&, +IL_0048: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::AwaitUnsafeOnCompleted,valuetype Example/'d__6'>(!!0&, !!1&) IL_004d: leave IL_01c0 IL_0052: ldarg.0 @@ -1968,10 +1885,10 @@ IL_00af: ldarg.0 IL_00b0: ldloc.s V_4 IL_00b2: stfld valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter Example/'d__6'::'<>u__2' IL_00b7: ldarg.0 -IL_00b8: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__6'::'<>t__builder' +IL_00b8: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__6'::'<>t__builder' IL_00bd: ldloca.s V_4 IL_00bf: ldarg.0 -IL_00c0: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::AwaitUnsafeOnCompletedd__6'>(!!0&, +IL_00c0: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::AwaitUnsafeOnCompletedd__6'>(!!0&, !!1&) IL_00c5: leave IL_01c0 IL_00ca: ldarg.0 @@ -2008,10 +1925,10 @@ IL_011d: ldarg.0 IL_011e: ldloc.3 IL_011f: stfld valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter`1 Example/'d__6'::'<>u__1' IL_0124: ldarg.0 -IL_0125: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__6'::'<>t__builder' +IL_0125: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__6'::'<>t__builder' IL_012a: ldloca.s V_3 IL_012c: ldarg.0 -IL_012d: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::AwaitUnsafeOnCompleted,valuetype Example/'d__6'>(!!0&, +IL_012d: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::AwaitUnsafeOnCompleted,valuetype Example/'d__6'>(!!0&, !!1&) IL_0132: leave IL_01c0 IL_0137: ldarg.0 @@ -2059,62 +1976,56 @@ IL_0195: ldarg.0 IL_0196: ldc.i4.s -2 IL_0198: stfld int32 Example/'d__6'::'<>1__state' IL_019d: ldarg.0 -IL_019e: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__6'::'<>t__builder' +IL_019e: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__6'::'<>t__builder' IL_01a3: ldloc.s V_5 -IL_01a5: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetException(class [System.Runtime]System.Exception) +IL_01a5: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetException(class [System.Runtime]System.Exception) IL_01aa: leave.s IL_01c0 } // end handler IL_01ac: ldarg.0 IL_01ad: ldc.i4.s -2 IL_01af: stfld int32 Example/'d__6'::'<>1__state' IL_01b4: ldarg.0 -IL_01b5: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__6'::'<>t__builder' +IL_01b5: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__6'::'<>t__builder' IL_01ba: ldloc.1 -IL_01bb: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetResult(!0) +IL_01bb: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetResult(!0) IL_01c0: ret } .method private hidebysig newslot virtual final -instance void SetStateMachine(class [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed +instance void SetStateMachine(class [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed { -.param [1] -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.override [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine +.override [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine .maxstack 8 IL_0000: ldarg.0 -IL_0001: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__6'::'<>t__builder' +IL_0001: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__6'::'<>t__builder' IL_0006: ldarg.1 -IL_0007: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetStateMachine(class [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine) +IL_0007: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetStateMachine(class [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine) IL_000c: ret } } .class auto ansi sealed nested private beforefieldinit 'd__18' extends [System.Runtime]System.ValueType -implements [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine +implements [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine { -.interfaceimpl type [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) +.interfaceimpl type [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine .field public int32 '<>1__state' -.field public valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 '<>t__builder' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) +.field public valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 '<>t__builder' .field private int32 '5__2' .field private int32 '5__3' -.field private valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ValueTaskAwaiter`1 '<>u__1' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) +.field private valuetype [System.Runtime]System.Runtime.CompilerServices.ValueTaskAwaiter`1 '<>u__1' .field private int32 '5__4' .field private valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter '<>u__2' .field private int32 '<>7__wrap4' .field private valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter`1 '<>u__3' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) .method private hidebysig newslot virtual final instance void MoveNext() cil managed { -.override [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext +.override [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext .maxstack 3 .locals init (int32 V_0, int32 V_1, int32 V_2, -valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ValueTaskAwaiter`1 V_3, -valuetype [System.Threading.Tasks.Extensions]System.Threading.Tasks.ValueTask`1 V_4, +valuetype [System.Runtime]System.Runtime.CompilerServices.ValueTaskAwaiter`1 V_3, +valuetype [System.Runtime]System.Threading.Tasks.ValueTask`1 V_4, valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter V_5, valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter`1 V_6, class [System.Runtime]System.Exception V_7) @@ -2130,13 +2041,13 @@ IL_00d3, IL_0142) IL_0019: ldc.i4.s 10 IL_001b: call class [System.Runtime]System.Threading.Tasks.Task`1 [System.Runtime]System.Threading.Tasks.Task::FromResult(!!0) -IL_0020: newobj instance void valuetype [System.Threading.Tasks.Extensions]System.Threading.Tasks.ValueTask`1::.ctor(class [System.Runtime]System.Threading.Tasks.Task`1) +IL_0020: newobj instance void valuetype [System.Runtime]System.Threading.Tasks.ValueTask`1::.ctor(class [System.Runtime]System.Threading.Tasks.Task`1) IL_0025: stloc.s V_4 IL_0027: ldloca.s V_4 -IL_0029: call instance valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ValueTaskAwaiter`1 valuetype [System.Threading.Tasks.Extensions]System.Threading.Tasks.ValueTask`1::GetAwaiter() +IL_0029: call instance valuetype [System.Runtime]System.Runtime.CompilerServices.ValueTaskAwaiter`1 valuetype [System.Runtime]System.Threading.Tasks.ValueTask`1::GetAwaiter() IL_002e: stloc.3 IL_002f: ldloca.s V_3 -IL_0031: call instance bool valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ValueTaskAwaiter`1::get_IsCompleted() +IL_0031: call instance bool valuetype [System.Runtime]System.Runtime.CompilerServices.ValueTaskAwaiter`1::get_IsCompleted() IL_0036: brtrue.s IL_0077 IL_0038: ldarg.0 IL_0039: ldc.i4.0 @@ -2145,27 +2056,27 @@ IL_003b: stloc.0 IL_003c: stfld int32 Example/'d__18'::'<>1__state' IL_0041: ldarg.0 IL_0042: ldloc.3 -IL_0043: stfld valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ValueTaskAwaiter`1 Example/'d__18'::'<>u__1' +IL_0043: stfld valuetype [System.Runtime]System.Runtime.CompilerServices.ValueTaskAwaiter`1 Example/'d__18'::'<>u__1' IL_0048: ldarg.0 -IL_0049: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__18'::'<>t__builder' +IL_0049: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__18'::'<>t__builder' IL_004e: ldloca.s V_3 IL_0050: ldarg.0 -IL_0051: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::AwaitUnsafeOnCompleted,valuetype Example/'d__18'>(!!0&, +IL_0051: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::AwaitUnsafeOnCompleted,valuetype Example/'d__18'>(!!0&, !!1&) IL_0056: leave IL_01cc IL_005b: ldarg.0 -IL_005c: ldfld valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ValueTaskAwaiter`1 Example/'d__18'::'<>u__1' +IL_005c: ldfld valuetype [System.Runtime]System.Runtime.CompilerServices.ValueTaskAwaiter`1 Example/'d__18'::'<>u__1' IL_0061: stloc.3 IL_0062: ldarg.0 -IL_0063: ldflda valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ValueTaskAwaiter`1 Example/'d__18'::'<>u__1' -IL_0068: initobj valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ValueTaskAwaiter`1 +IL_0063: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.ValueTaskAwaiter`1 Example/'d__18'::'<>u__1' +IL_0068: initobj valuetype [System.Runtime]System.Runtime.CompilerServices.ValueTaskAwaiter`1 IL_006e: ldarg.0 IL_006f: ldc.i4.m1 IL_0070: dup IL_0071: stloc.0 IL_0072: stfld int32 Example/'d__18'::'<>1__state' IL_0077: ldloca.s V_3 -IL_0079: call instance !0 valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ValueTaskAwaiter`1::GetResult() +IL_0079: call instance !0 valuetype [System.Runtime]System.Runtime.CompilerServices.ValueTaskAwaiter`1::GetResult() IL_007e: stloc.2 IL_007f: ldarg.0 IL_0080: ldloc.2 @@ -2193,10 +2104,10 @@ IL_00b8: ldarg.0 IL_00b9: ldloc.s V_5 IL_00bb: stfld valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter Example/'d__18'::'<>u__2' IL_00c0: ldarg.0 -IL_00c1: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__18'::'<>t__builder' +IL_00c1: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__18'::'<>t__builder' IL_00c6: ldloca.s V_5 IL_00c8: ldarg.0 -IL_00c9: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::AwaitUnsafeOnCompletedd__18'>(!!0&, +IL_00c9: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::AwaitUnsafeOnCompletedd__18'>(!!0&, !!1&) IL_00ce: leave IL_01cc IL_00d3: ldarg.0 @@ -2233,10 +2144,10 @@ IL_0127: ldarg.0 IL_0128: ldloc.s V_6 IL_012a: stfld valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter`1 Example/'d__18'::'<>u__3' IL_012f: ldarg.0 -IL_0130: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__18'::'<>t__builder' +IL_0130: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__18'::'<>t__builder' IL_0135: ldloca.s V_6 IL_0137: ldarg.0 -IL_0138: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::AwaitUnsafeOnCompleted,valuetype Example/'d__18'>(!!0&, +IL_0138: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::AwaitUnsafeOnCompleted,valuetype Example/'d__18'>(!!0&, !!1&) IL_013d: leave IL_01cc IL_0142: ldarg.0 @@ -2284,54 +2195,49 @@ IL_01a1: ldarg.0 IL_01a2: ldc.i4.s -2 IL_01a4: stfld int32 Example/'d__18'::'<>1__state' IL_01a9: ldarg.0 -IL_01aa: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__18'::'<>t__builder' +IL_01aa: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__18'::'<>t__builder' IL_01af: ldloc.s V_7 -IL_01b1: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetException(class [System.Runtime]System.Exception) +IL_01b1: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetException(class [System.Runtime]System.Exception) IL_01b6: leave.s IL_01cc } // end handler IL_01b8: ldarg.0 IL_01b9: ldc.i4.s -2 IL_01bb: stfld int32 Example/'d__18'::'<>1__state' IL_01c0: ldarg.0 -IL_01c1: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__18'::'<>t__builder' +IL_01c1: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__18'::'<>t__builder' IL_01c6: ldloc.1 -IL_01c7: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetResult(!0) +IL_01c7: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetResult(!0) IL_01cc: ret } .method private hidebysig newslot virtual final -instance void SetStateMachine(class [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed +instance void SetStateMachine(class [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed { -.param [1] -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.override [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine +.override [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine .maxstack 8 IL_0000: ldarg.0 -IL_0001: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__18'::'<>t__builder' +IL_0001: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__18'::'<>t__builder' IL_0006: ldarg.1 -IL_0007: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetStateMachine(class [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine) +IL_0007: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetStateMachine(class [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine) IL_000c: ret } } .class auto ansi sealed nested private beforefieldinit 'd__7' extends [System.Runtime]System.ValueType -implements [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine +implements [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine { -.interfaceimpl type [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) +.interfaceimpl type [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine .field public int32 '<>1__state' -.field public valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 '<>t__builder' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) +.field public valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 '<>t__builder' .field private int32 '5__2' .field private int32 '5__3' .field private valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter '<>u__1' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) .field private int32 '5__4' .field private valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter '<>u__2' .field private int32 '<>7__wrap4' .method private hidebysig newslot virtual final instance void MoveNext() cil managed { -.override [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext +.override [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext .maxstack 3 .locals init (int32 V_0, int32 V_1, @@ -2371,10 +2277,10 @@ IL_0042: ldarg.0 IL_0043: ldloc.3 IL_0044: stfld valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter Example/'d__7'::'<>u__1' IL_0049: ldarg.0 -IL_004a: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__7'::'<>t__builder' +IL_004a: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__7'::'<>t__builder' IL_004f: ldloca.s V_3 IL_0051: ldarg.0 -IL_0052: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::AwaitUnsafeOnCompleted,valuetype Example/'d__7'>(!!0&, +IL_0052: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::AwaitUnsafeOnCompleted,valuetype Example/'d__7'>(!!0&, !!1&) IL_0057: leave IL_01de IL_005c: ldarg.0 @@ -2421,10 +2327,10 @@ IL_00c3: ldarg.0 IL_00c4: ldloc.s V_6 IL_00c6: stfld valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter Example/'d__7'::'<>u__2' IL_00cb: ldarg.0 -IL_00cc: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__7'::'<>t__builder' +IL_00cc: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__7'::'<>t__builder' IL_00d1: ldloca.s V_6 IL_00d3: ldarg.0 -IL_00d4: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::AwaitUnsafeOnCompletedd__7'>(!!0&, +IL_00d4: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::AwaitUnsafeOnCompletedd__7'>(!!0&, !!1&) IL_00d9: leave IL_01de IL_00de: ldarg.0 @@ -2465,10 +2371,10 @@ IL_013b: ldarg.0 IL_013c: ldloc.3 IL_013d: stfld valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter Example/'d__7'::'<>u__1' IL_0142: ldarg.0 -IL_0143: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__7'::'<>t__builder' +IL_0143: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__7'::'<>t__builder' IL_0148: ldloca.s V_3 IL_014a: ldarg.0 -IL_014b: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::AwaitUnsafeOnCompleted,valuetype Example/'d__7'>(!!0&, +IL_014b: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::AwaitUnsafeOnCompleted,valuetype Example/'d__7'>(!!0&, !!1&) IL_0150: leave IL_01de IL_0155: ldarg.0 @@ -2516,64 +2422,59 @@ IL_01b3: ldarg.0 IL_01b4: ldc.i4.s -2 IL_01b6: stfld int32 Example/'d__7'::'<>1__state' IL_01bb: ldarg.0 -IL_01bc: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__7'::'<>t__builder' +IL_01bc: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__7'::'<>t__builder' IL_01c1: ldloc.s V_7 -IL_01c3: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetException(class [System.Runtime]System.Exception) +IL_01c3: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetException(class [System.Runtime]System.Exception) IL_01c8: leave.s IL_01de } // end handler IL_01ca: ldarg.0 IL_01cb: ldc.i4.s -2 IL_01cd: stfld int32 Example/'d__7'::'<>1__state' IL_01d2: ldarg.0 -IL_01d3: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__7'::'<>t__builder' +IL_01d3: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__7'::'<>t__builder' IL_01d8: ldloc.1 -IL_01d9: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetResult(!0) +IL_01d9: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetResult(!0) IL_01de: ret } .method private hidebysig newslot virtual final -instance void SetStateMachine(class [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed +instance void SetStateMachine(class [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed { -.param [1] -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.override [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine +.override [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine .maxstack 8 IL_0000: ldarg.0 -IL_0001: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__7'::'<>t__builder' +IL_0001: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__7'::'<>t__builder' IL_0006: ldarg.1 -IL_0007: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetStateMachine(class [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine) +IL_0007: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetStateMachine(class [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine) IL_000c: ret } } .class auto ansi sealed nested private beforefieldinit 'd__19' extends [System.Runtime]System.ValueType -implements [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine +implements [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine { -.interfaceimpl type [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) +.interfaceimpl type [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine .field public int32 '<>1__state' -.field public valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 '<>t__builder' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) +.field public valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 '<>t__builder' .field private int32 '5__2' .field private int32 '5__3' .field private valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1/ConfiguredValueTaskAwaiter '<>u__1' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) .field private int32 '5__4' .field private valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter '<>u__2' .field private int32 '<>7__wrap4' .method private hidebysig newslot virtual final instance void MoveNext() cil managed { -.override [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext +.override [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext .maxstack 3 .locals init (int32 V_0, int32 V_1, int32 V_2, valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1/ConfiguredValueTaskAwaiter V_3, valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1 V_4, -valuetype [System.Threading.Tasks.Extensions]System.Threading.Tasks.ValueTask`1 V_5, +valuetype [System.Runtime]System.Threading.Tasks.ValueTask`1 V_5, valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable V_6, valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter V_7, -valuetype [System.Threading.Tasks.Extensions]System.Threading.Tasks.ValueTask V_8, +valuetype [System.Runtime]System.Threading.Tasks.ValueTask V_8, class [System.Runtime]System.Exception V_9) IL_0000: ldarg.0 IL_0001: ldfld int32 Example/'d__19'::'<>1__state' @@ -2587,7 +2488,7 @@ IL_00f0, IL_0170) IL_0019: ldc.i4.s 10 IL_001b: call class [System.Runtime]System.Threading.Tasks.Task`1 [System.Runtime]System.Threading.Tasks.Task::FromResult(!!0) -IL_0020: call instance void valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1::.ctor(valuetype [System.Private.CoreLib]System.Threading.Tasks.ValueTask`1&) +IL_0020: newobj instance void valuetype [System.Runtime]System.Threading.Tasks.ValueTask`1::.ctor(class [System.Runtime]System.Threading.Tasks.Task`1) IL_0025: stloc.s V_5 IL_0027: ldloca.s V_5 IL_0029: ldc.i4.0 @@ -2608,10 +2509,10 @@ IL_004b: ldarg.0 IL_004c: ldloc.3 IL_004d: stfld valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1/ConfiguredValueTaskAwaiter Example/'d__19'::'<>u__1' IL_0052: ldarg.0 -IL_0053: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__19'::'<>t__builder' +IL_0053: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__19'::'<>t__builder' IL_0058: ldloca.s V_3 IL_005a: ldarg.0 -IL_005b: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::AwaitUnsafeOnCompleted,valuetype Example/'d__19'>(!!0&, +IL_005b: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::AwaitUnsafeOnCompleted,valuetype Example/'d__19'>(!!0&, !!1&) IL_0060: leave IL_01f9 IL_0065: ldarg.0 @@ -2640,7 +2541,7 @@ IL_0099: stfld int32 Example/'d__19'::'5__4 IL_009e: br IL_01b2 IL_00a3: ldc.i4.1 IL_00a4: call class [System.Runtime]System.Threading.Tasks.Task [System.Runtime]System.Threading.Tasks.Task::Delay(int32) -IL_00a9: call instance void [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable::.ctor(valuetype [System.Private.CoreLib]System.Threading.Tasks.ValueTask&) +IL_00a9: newobj instance void [System.Runtime]System.Threading.Tasks.ValueTask::.ctor(class [System.Runtime]System.Threading.Tasks.Task) IL_00ae: stloc.s V_8 IL_00b0: ldloca.s V_8 IL_00b2: ldc.i4.0 @@ -2661,10 +2562,10 @@ IL_00d5: ldarg.0 IL_00d6: ldloc.s V_7 IL_00d8: stfld valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter Example/'d__19'::'<>u__2' IL_00dd: ldarg.0 -IL_00de: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__19'::'<>t__builder' +IL_00de: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__19'::'<>t__builder' IL_00e3: ldloca.s V_7 IL_00e5: ldarg.0 -IL_00e6: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::AwaitUnsafeOnCompletedd__19'>(!!0&, +IL_00e6: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::AwaitUnsafeOnCompletedd__19'>(!!0&, !!1&) IL_00eb: leave IL_01f9 IL_00f0: ldarg.0 @@ -2687,7 +2588,7 @@ IL_011b: stfld int32 Example/'d__19'::'<>7__wr IL_0120: ldarg.0 IL_0121: ldfld int32 Example/'d__19'::'5__4' IL_0126: call class [System.Runtime]System.Threading.Tasks.Task`1 [System.Runtime]System.Threading.Tasks.Task::FromResult(!!0) -IL_012b: call instance void valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1::.ctor(valuetype [System.Private.CoreLib]System.Threading.Tasks.ValueTask`1&) +IL_012b: newobj instance void valuetype [System.Runtime]System.Threading.Tasks.ValueTask`1::.ctor(class [System.Runtime]System.Threading.Tasks.Task`1) IL_0130: stloc.s V_5 IL_0132: ldloca.s V_5 IL_0134: ldc.i4.0 @@ -2708,10 +2609,10 @@ IL_0156: ldarg.0 IL_0157: ldloc.3 IL_0158: stfld valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1/ConfiguredValueTaskAwaiter Example/'d__19'::'<>u__1' IL_015d: ldarg.0 -IL_015e: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__19'::'<>t__builder' +IL_015e: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__19'::'<>t__builder' IL_0163: ldloca.s V_3 IL_0165: ldarg.0 -IL_0166: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::AwaitUnsafeOnCompleted,valuetype Example/'d__19'>(!!0&, +IL_0166: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::AwaitUnsafeOnCompleted,valuetype Example/'d__19'>(!!0&, !!1&) IL_016b: leave IL_01f9 IL_0170: ldarg.0 @@ -2759,54 +2660,49 @@ IL_01ce: ldarg.0 IL_01cf: ldc.i4.s -2 IL_01d1: stfld int32 Example/'d__19'::'<>1__state' IL_01d6: ldarg.0 -IL_01d7: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__19'::'<>t__builder' +IL_01d7: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__19'::'<>t__builder' IL_01dc: ldloc.s V_9 -IL_01de: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetException(class [System.Runtime]System.Exception) +IL_01de: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetException(class [System.Runtime]System.Exception) IL_01e3: leave.s IL_01f9 } // end handler IL_01e5: ldarg.0 IL_01e6: ldc.i4.s -2 IL_01e8: stfld int32 Example/'d__19'::'<>1__state' IL_01ed: ldarg.0 -IL_01ee: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__19'::'<>t__builder' +IL_01ee: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__19'::'<>t__builder' IL_01f3: ldloc.1 -IL_01f4: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetResult(!0) +IL_01f4: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetResult(!0) IL_01f9: ret } .method private hidebysig newslot virtual final -instance void SetStateMachine(class [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed +instance void SetStateMachine(class [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed { -.param [1] -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.override [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine +.override [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine .maxstack 8 IL_0000: ldarg.0 -IL_0001: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__19'::'<>t__builder' +IL_0001: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__19'::'<>t__builder' IL_0006: ldarg.1 -IL_0007: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetStateMachine(class [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine) +IL_0007: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetStateMachine(class [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine) IL_000c: ret } } .class auto ansi sealed nested private beforefieldinit 'd__8' extends [System.Runtime]System.ValueType -implements [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine +implements [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine { -.interfaceimpl type [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) +.interfaceimpl type [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine .field public int32 '<>1__state' -.field public valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 '<>t__builder' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) +.field public valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 '<>t__builder' .field private int32 '5__2' .field private int32 '5__3' .field private valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter '<>u__1' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) .field private int32 '5__4' .field private valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter '<>u__2' .field private int32 '<>7__wrap4' .method private hidebysig newslot virtual final instance void MoveNext() cil managed { -.override [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext +.override [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext .maxstack 3 .locals init (int32 V_0, int32 V_1, @@ -2846,10 +2742,10 @@ IL_0042: ldarg.0 IL_0043: ldloc.3 IL_0044: stfld valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter Example/'d__8'::'<>u__1' IL_0049: ldarg.0 -IL_004a: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__8'::'<>t__builder' +IL_004a: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__8'::'<>t__builder' IL_004f: ldloca.s V_3 IL_0051: ldarg.0 -IL_0052: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::AwaitUnsafeOnCompleted,valuetype Example/'d__8'>(!!0&, +IL_0052: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::AwaitUnsafeOnCompleted,valuetype Example/'d__8'>(!!0&, !!1&) IL_0057: leave IL_01de IL_005c: ldarg.0 @@ -2896,10 +2792,10 @@ IL_00c3: ldarg.0 IL_00c4: ldloc.s V_5 IL_00c6: stfld valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter Example/'d__8'::'<>u__2' IL_00cb: ldarg.0 -IL_00cc: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__8'::'<>t__builder' +IL_00cc: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__8'::'<>t__builder' IL_00d1: ldloca.s V_5 IL_00d3: ldarg.0 -IL_00d4: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::AwaitUnsafeOnCompletedd__8'>(!!0&, +IL_00d4: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::AwaitUnsafeOnCompletedd__8'>(!!0&, !!1&) IL_00d9: leave IL_01de IL_00de: ldarg.0 @@ -2940,10 +2836,10 @@ IL_013b: ldarg.0 IL_013c: ldloc.3 IL_013d: stfld valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter Example/'d__8'::'<>u__1' IL_0142: ldarg.0 -IL_0143: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__8'::'<>t__builder' +IL_0143: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__8'::'<>t__builder' IL_0148: ldloca.s V_3 IL_014a: ldarg.0 -IL_014b: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::AwaitUnsafeOnCompleted,valuetype Example/'d__8'>(!!0&, +IL_014b: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::AwaitUnsafeOnCompleted,valuetype Example/'d__8'>(!!0&, !!1&) IL_0150: leave IL_01de IL_0155: ldarg.0 @@ -2991,64 +2887,59 @@ IL_01b3: ldarg.0 IL_01b4: ldc.i4.s -2 IL_01b6: stfld int32 Example/'d__8'::'<>1__state' IL_01bb: ldarg.0 -IL_01bc: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__8'::'<>t__builder' +IL_01bc: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__8'::'<>t__builder' IL_01c1: ldloc.s V_7 -IL_01c3: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetException(class [System.Runtime]System.Exception) +IL_01c3: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetException(class [System.Runtime]System.Exception) IL_01c8: leave.s IL_01de } // end handler IL_01ca: ldarg.0 IL_01cb: ldc.i4.s -2 IL_01cd: stfld int32 Example/'d__8'::'<>1__state' IL_01d2: ldarg.0 -IL_01d3: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__8'::'<>t__builder' +IL_01d3: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__8'::'<>t__builder' IL_01d8: ldloc.1 -IL_01d9: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetResult(!0) +IL_01d9: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetResult(!0) IL_01de: ret } .method private hidebysig newslot virtual final -instance void SetStateMachine(class [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed +instance void SetStateMachine(class [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed { -.param [1] -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.override [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine +.override [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine .maxstack 8 IL_0000: ldarg.0 -IL_0001: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__8'::'<>t__builder' +IL_0001: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__8'::'<>t__builder' IL_0006: ldarg.1 -IL_0007: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetStateMachine(class [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine) +IL_0007: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetStateMachine(class [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine) IL_000c: ret } } .class auto ansi sealed nested private beforefieldinit 'd__20' extends [System.Runtime]System.ValueType -implements [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine +implements [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine { -.interfaceimpl type [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) +.interfaceimpl type [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine .field public int32 '<>1__state' -.field public valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 '<>t__builder' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) +.field public valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 '<>t__builder' .field private int32 '5__2' .field private int32 '5__3' -.field private valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1/ConfiguredValueTaskAwaiter '<>u__1' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) +.field private valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1/ConfiguredValueTaskAwaiter '<>u__1' .field private int32 '5__4' -.field private valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter '<>u__2' +.field private valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter '<>u__2' .field private int32 '<>7__wrap4' .method private hidebysig newslot virtual final instance void MoveNext() cil managed { -.override [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext +.override [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext .maxstack 3 .locals init (int32 V_0, int32 V_1, int32 V_2, -valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1/ConfiguredValueTaskAwaiter V_3, -valuetype [System.Threading.Tasks.Extensions]System.Threading.Tasks.ValueTask`1 V_4, -valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1 V_5, -valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter V_6, -valuetype [System.Threading.Tasks.Extensions]System.Threading.Tasks.ValueTask V_7, -valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable V_8, +valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1/ConfiguredValueTaskAwaiter V_3, +valuetype [System.Runtime]System.Threading.Tasks.ValueTask`1 V_4, +valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1 V_5, +valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter V_6, +valuetype [System.Runtime]System.Threading.Tasks.ValueTask V_7, +valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable V_8, class [System.Runtime]System.Exception V_9) IL_0000: ldarg.0 IL_0001: ldfld int32 Example/'d__20'::'<>1__state' @@ -3062,17 +2953,17 @@ IL_00f0, IL_0170) IL_0019: ldc.i4.s 10 IL_001b: call class [System.Runtime]System.Threading.Tasks.Task`1 [System.Runtime]System.Threading.Tasks.Task::FromResult(!!0) -IL_0020: newobj instance void valuetype [System.Threading.Tasks.Extensions]System.Threading.Tasks.ValueTask`1::.ctor(class [System.Runtime]System.Threading.Tasks.Task`1) +IL_0020: newobj instance void valuetype [System.Runtime]System.Threading.Tasks.ValueTask`1::.ctor(class [System.Runtime]System.Threading.Tasks.Task`1) IL_0025: stloc.s V_4 IL_0027: ldloca.s V_4 IL_0029: ldc.i4.0 -IL_002a: call instance valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1 valuetype [System.Threading.Tasks.Extensions]System.Threading.Tasks.ValueTask`1::ConfigureAwait(bool) +IL_002a: call instance valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1 valuetype [System.Runtime]System.Threading.Tasks.ValueTask`1::ConfigureAwait(bool) IL_002f: stloc.s V_5 IL_0031: ldloca.s V_5 -IL_0033: call instance valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1/ConfiguredValueTaskAwaiter valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1::GetAwaiter() +IL_0033: call instance valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1/ConfiguredValueTaskAwaiter valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1::GetAwaiter() IL_0038: stloc.3 IL_0039: ldloca.s V_3 -IL_003b: call instance bool valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1/ConfiguredValueTaskAwaiter::get_IsCompleted() +IL_003b: call instance bool valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1/ConfiguredValueTaskAwaiter::get_IsCompleted() IL_0040: brtrue.s IL_0081 IL_0042: ldarg.0 IL_0043: ldc.i4.0 @@ -3081,27 +2972,27 @@ IL_0045: stloc.0 IL_0046: stfld int32 Example/'d__20'::'<>1__state' IL_004b: ldarg.0 IL_004c: ldloc.3 -IL_004d: stfld valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1/ConfiguredValueTaskAwaiter Example/'d__20'::'<>u__1' +IL_004d: stfld valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1/ConfiguredValueTaskAwaiter Example/'d__20'::'<>u__1' IL_0052: ldarg.0 -IL_0053: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__20'::'<>t__builder' +IL_0053: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__20'::'<>t__builder' IL_0058: ldloca.s V_3 IL_005a: ldarg.0 -IL_005b: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::AwaitUnsafeOnCompleted,valuetype Example/'d__20'>(!!0&, +IL_005b: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::AwaitUnsafeOnCompleted,valuetype Example/'d__20'>(!!0&, !!1&) IL_0060: leave IL_01f9 IL_0065: ldarg.0 -IL_0066: ldfld valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1/ConfiguredValueTaskAwaiter Example/'d__20'::'<>u__1' +IL_0066: ldfld valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1/ConfiguredValueTaskAwaiter Example/'d__20'::'<>u__1' IL_006b: stloc.3 IL_006c: ldarg.0 -IL_006d: ldflda valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1/ConfiguredValueTaskAwaiter Example/'d__20'::'<>u__1' -IL_0072: initobj valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1/ConfiguredValueTaskAwaiter +IL_006d: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1/ConfiguredValueTaskAwaiter Example/'d__20'::'<>u__1' +IL_0072: initobj valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1/ConfiguredValueTaskAwaiter IL_0078: ldarg.0 IL_0079: ldc.i4.m1 IL_007a: dup IL_007b: stloc.0 IL_007c: stfld int32 Example/'d__20'::'<>1__state' IL_0081: ldloca.s V_3 -IL_0083: call instance !0 valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1/ConfiguredValueTaskAwaiter::GetResult() +IL_0083: call instance !0 valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1/ConfiguredValueTaskAwaiter::GetResult() IL_0088: stloc.2 IL_0089: ldarg.0 IL_008a: ldloc.2 @@ -3115,17 +3006,17 @@ IL_0099: stfld int32 Example/'d__20'::'5__4 IL_009e: br IL_01b2 IL_00a3: ldc.i4.1 IL_00a4: call class [System.Runtime]System.Threading.Tasks.Task [System.Runtime]System.Threading.Tasks.Task::Delay(int32) -IL_00a9: newobj instance void [System.Threading.Tasks.Extensions]System.Threading.Tasks.ValueTask::.ctor(class [System.Runtime]System.Threading.Tasks.Task) +IL_00a9: newobj instance void [System.Runtime]System.Threading.Tasks.ValueTask::.ctor(class [System.Runtime]System.Threading.Tasks.Task) IL_00ae: stloc.s V_7 IL_00b0: ldloca.s V_7 IL_00b2: ldc.i4.0 -IL_00b3: call instance valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable [System.Threading.Tasks.Extensions]System.Threading.Tasks.ValueTask::ConfigureAwait(bool) +IL_00b3: call instance valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable [System.Runtime]System.Threading.Tasks.ValueTask::ConfigureAwait(bool) IL_00b8: stloc.s V_8 IL_00ba: ldloca.s V_8 -IL_00bc: call instance valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable::GetAwaiter() +IL_00bc: call instance valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter [System.Runtime]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable::GetAwaiter() IL_00c1: stloc.s V_6 IL_00c3: ldloca.s V_6 -IL_00c5: call instance bool [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter::get_IsCompleted() +IL_00c5: call instance bool [System.Runtime]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter::get_IsCompleted() IL_00ca: brtrue.s IL_010d IL_00cc: ldarg.0 IL_00cd: ldc.i4.1 @@ -3134,27 +3025,27 @@ IL_00cf: stloc.0 IL_00d0: stfld int32 Example/'d__20'::'<>1__state' IL_00d5: ldarg.0 IL_00d6: ldloc.s V_6 -IL_00d8: stfld valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter Example/'d__20'::'<>u__2' +IL_00d8: stfld valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter Example/'d__20'::'<>u__2' IL_00dd: ldarg.0 -IL_00de: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__20'::'<>t__builder' +IL_00de: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__20'::'<>t__builder' IL_00e3: ldloca.s V_6 IL_00e5: ldarg.0 -IL_00e6: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::AwaitUnsafeOnCompletedd__20'>(!!0&, +IL_00e6: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::AwaitUnsafeOnCompletedd__20'>(!!0&, !!1&) IL_00eb: leave IL_01f9 IL_00f0: ldarg.0 -IL_00f1: ldfld valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter Example/'d__20'::'<>u__2' +IL_00f1: ldfld valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter Example/'d__20'::'<>u__2' IL_00f6: stloc.s V_6 IL_00f8: ldarg.0 -IL_00f9: ldflda valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter Example/'d__20'::'<>u__2' -IL_00fe: initobj [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter +IL_00f9: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter Example/'d__20'::'<>u__2' +IL_00fe: initobj [System.Runtime]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter IL_0104: ldarg.0 IL_0105: ldc.i4.m1 IL_0106: dup IL_0107: stloc.0 IL_0108: stfld int32 Example/'d__20'::'<>1__state' IL_010d: ldloca.s V_6 -IL_010f: call instance void [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter::GetResult() +IL_010f: call instance void [System.Runtime]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter::GetResult() IL_0114: ldarg.0 IL_0115: ldarg.0 IL_0116: ldfld int32 Example/'d__20'::'5__3' @@ -3162,17 +3053,17 @@ IL_011b: stfld int32 Example/'d__20'::'<>7__wr IL_0120: ldarg.0 IL_0121: ldfld int32 Example/'d__20'::'5__4' IL_0126: call class [System.Runtime]System.Threading.Tasks.Task`1 [System.Runtime]System.Threading.Tasks.Task::FromResult(!!0) -IL_012b: newobj instance void valuetype [System.Threading.Tasks.Extensions]System.Threading.Tasks.ValueTask`1::.ctor(class [System.Runtime]System.Threading.Tasks.Task`1) +IL_012b: newobj instance void valuetype [System.Runtime]System.Threading.Tasks.ValueTask`1::.ctor(class [System.Runtime]System.Threading.Tasks.Task`1) IL_0130: stloc.s V_4 IL_0132: ldloca.s V_4 IL_0134: ldc.i4.0 -IL_0135: call instance valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1 valuetype [System.Threading.Tasks.Extensions]System.Threading.Tasks.ValueTask`1::ConfigureAwait(bool) +IL_0135: call instance valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1 valuetype [System.Runtime]System.Threading.Tasks.ValueTask`1::ConfigureAwait(bool) IL_013a: stloc.s V_5 IL_013c: ldloca.s V_5 -IL_013e: call instance valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1/ConfiguredValueTaskAwaiter valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1::GetAwaiter() +IL_013e: call instance valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1/ConfiguredValueTaskAwaiter valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1::GetAwaiter() IL_0143: stloc.3 IL_0144: ldloca.s V_3 -IL_0146: call instance bool valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1/ConfiguredValueTaskAwaiter::get_IsCompleted() +IL_0146: call instance bool valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1/ConfiguredValueTaskAwaiter::get_IsCompleted() IL_014b: brtrue.s IL_018c IL_014d: ldarg.0 IL_014e: ldc.i4.2 @@ -3181,27 +3072,27 @@ IL_0150: stloc.0 IL_0151: stfld int32 Example/'d__20'::'<>1__state' IL_0156: ldarg.0 IL_0157: ldloc.3 -IL_0158: stfld valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1/ConfiguredValueTaskAwaiter Example/'d__20'::'<>u__1' +IL_0158: stfld valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1/ConfiguredValueTaskAwaiter Example/'d__20'::'<>u__1' IL_015d: ldarg.0 -IL_015e: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__20'::'<>t__builder' +IL_015e: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__20'::'<>t__builder' IL_0163: ldloca.s V_3 IL_0165: ldarg.0 -IL_0166: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::AwaitUnsafeOnCompleted,valuetype Example/'d__20'>(!!0&, +IL_0166: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::AwaitUnsafeOnCompleted,valuetype Example/'d__20'>(!!0&, !!1&) IL_016b: leave IL_01f9 IL_0170: ldarg.0 -IL_0171: ldfld valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1/ConfiguredValueTaskAwaiter Example/'d__20'::'<>u__1' +IL_0171: ldfld valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1/ConfiguredValueTaskAwaiter Example/'d__20'::'<>u__1' IL_0176: stloc.3 IL_0177: ldarg.0 -IL_0178: ldflda valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1/ConfiguredValueTaskAwaiter Example/'d__20'::'<>u__1' -IL_017d: initobj valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1/ConfiguredValueTaskAwaiter +IL_0178: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1/ConfiguredValueTaskAwaiter Example/'d__20'::'<>u__1' +IL_017d: initobj valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1/ConfiguredValueTaskAwaiter IL_0183: ldarg.0 IL_0184: ldc.i4.m1 IL_0185: dup IL_0186: stloc.0 IL_0187: stfld int32 Example/'d__20'::'<>1__state' IL_018c: ldloca.s V_3 -IL_018e: call instance !0 valuetype [System.Threading.Tasks.Extensions]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1/ConfiguredValueTaskAwaiter::GetResult() +IL_018e: call instance !0 valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1/ConfiguredValueTaskAwaiter::GetResult() IL_0193: stloc.2 IL_0194: ldarg.0 IL_0195: ldarg.0 @@ -3234,31 +3125,29 @@ IL_01ce: ldarg.0 IL_01cf: ldc.i4.s -2 IL_01d1: stfld int32 Example/'d__20'::'<>1__state' IL_01d6: ldarg.0 -IL_01d7: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__20'::'<>t__builder' +IL_01d7: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__20'::'<>t__builder' IL_01dc: ldloc.s V_9 -IL_01de: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetException(class [System.Runtime]System.Exception) +IL_01de: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetException(class [System.Runtime]System.Exception) IL_01e3: leave.s IL_01f9 } // end handler IL_01e5: ldarg.0 IL_01e6: ldc.i4.s -2 IL_01e8: stfld int32 Example/'d__20'::'<>1__state' IL_01ed: ldarg.0 -IL_01ee: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__20'::'<>t__builder' +IL_01ee: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__20'::'<>t__builder' IL_01f3: ldloc.1 -IL_01f4: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetResult(!0) +IL_01f4: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetResult(!0) IL_01f9: ret } .method private hidebysig newslot virtual final -instance void SetStateMachine(class [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed +instance void SetStateMachine(class [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed { -.param [1] -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.override [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine +.override [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine .maxstack 8 IL_0000: ldarg.0 -IL_0001: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__20'::'<>t__builder' +IL_0001: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__20'::'<>t__builder' IL_0006: ldarg.1 -IL_0007: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetStateMachine(class [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine) +IL_0007: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::SetStateMachine(class [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine) IL_000c: ret } } @@ -3269,18 +3158,18 @@ AsyncMethod1() cil managed .maxstack 2 .locals init (valuetype Example/'d__0' V_0) IL_0000: ldloca.s V_0 -IL_0002: call valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Create() -IL_0007: stfld valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Example/'d__0'::'<>t__builder' +IL_0002: call valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Create() +IL_0007: stfld valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Example/'d__0'::'<>t__builder' IL_000c: ldloca.s V_0 IL_000e: ldc.i4.m1 IL_000f: stfld int32 Example/'d__0'::'<>1__state' IL_0014: ldloca.s V_0 -IL_0016: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Example/'d__0'::'<>t__builder' +IL_0016: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Example/'d__0'::'<>t__builder' IL_001b: ldloca.s V_0 -IL_001d: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Startd__0'>(!!0&) +IL_001d: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Startd__0'>(!!0&) IL_0022: ldloca.s V_0 -IL_0024: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Example/'d__0'::'<>t__builder' -IL_0029: call instance class [System.Runtime]System.Threading.Tasks.Task [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::get_Task() +IL_0024: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Example/'d__0'::'<>t__builder' +IL_0029: call instance class [System.Runtime]System.Threading.Tasks.Task [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::get_Task() IL_002e: ret } .method public hidebysig instance class [System.Runtime]System.Threading.Tasks.Task @@ -3290,18 +3179,18 @@ AsyncMethod2() cil managed .maxstack 2 .locals init (valuetype Example/'d__1' V_0) IL_0000: ldloca.s V_0 -IL_0002: call valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Create() -IL_0007: stfld valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Example/'d__1'::'<>t__builder' +IL_0002: call valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Create() +IL_0007: stfld valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Example/'d__1'::'<>t__builder' IL_000c: ldloca.s V_0 IL_000e: ldc.i4.m1 IL_000f: stfld int32 Example/'d__1'::'<>1__state' IL_0014: ldloca.s V_0 -IL_0016: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Example/'d__1'::'<>t__builder' +IL_0016: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Example/'d__1'::'<>t__builder' IL_001b: ldloca.s V_0 -IL_001d: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Startd__1'>(!!0&) +IL_001d: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Startd__1'>(!!0&) IL_0022: ldloca.s V_0 -IL_0024: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Example/'d__1'::'<>t__builder' -IL_0029: call instance class [System.Runtime]System.Threading.Tasks.Task [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::get_Task() +IL_0024: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Example/'d__1'::'<>t__builder' +IL_0029: call instance class [System.Runtime]System.Threading.Tasks.Task [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::get_Task() IL_002e: ret } .method public hidebysig instance class [System.Runtime]System.Threading.Tasks.Task @@ -3311,18 +3200,18 @@ AsyncMethod3() cil managed .maxstack 2 .locals init (valuetype Example/'d__2' V_0) IL_0000: ldloca.s V_0 -IL_0002: call valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Create() -IL_0007: stfld valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Example/'d__2'::'<>t__builder' +IL_0002: call valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Create() +IL_0007: stfld valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Example/'d__2'::'<>t__builder' IL_000c: ldloca.s V_0 IL_000e: ldc.i4.m1 IL_000f: stfld int32 Example/'d__2'::'<>1__state' IL_0014: ldloca.s V_0 -IL_0016: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Example/'d__2'::'<>t__builder' +IL_0016: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Example/'d__2'::'<>t__builder' IL_001b: ldloca.s V_0 -IL_001d: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Startd__2'>(!!0&) +IL_001d: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Startd__2'>(!!0&) IL_0022: ldloca.s V_0 -IL_0024: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Example/'d__2'::'<>t__builder' -IL_0029: call instance class [System.Runtime]System.Threading.Tasks.Task [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::get_Task() +IL_0024: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Example/'d__2'::'<>t__builder' +IL_0029: call instance class [System.Runtime]System.Threading.Tasks.Task [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::get_Task() IL_002e: ret } .method public hidebysig instance class [System.Runtime]System.Threading.Tasks.Task`1 @@ -3332,18 +3221,18 @@ AsyncMethod4() cil managed .maxstack 2 .locals init (valuetype Example/'d__3' V_0) IL_0000: ldloca.s V_0 -IL_0002: call valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::Create() -IL_0007: stfld valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__3'::'<>t__builder' +IL_0002: call valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::Create() +IL_0007: stfld valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__3'::'<>t__builder' IL_000c: ldloca.s V_0 IL_000e: ldc.i4.m1 IL_000f: stfld int32 Example/'d__3'::'<>1__state' IL_0014: ldloca.s V_0 -IL_0016: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__3'::'<>t__builder' +IL_0016: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__3'::'<>t__builder' IL_001b: ldloca.s V_0 -IL_001d: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::Startd__3'>(!!0&) +IL_001d: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::Startd__3'>(!!0&) IL_0022: ldloca.s V_0 -IL_0024: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__3'::'<>t__builder' -IL_0029: call instance class [System.Runtime]System.Threading.Tasks.Task`1 valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::get_Task() +IL_0024: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__3'::'<>t__builder' +IL_0029: call instance class [System.Runtime]System.Threading.Tasks.Task`1 valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::get_Task() IL_002e: ret } .method public hidebysig instance class [System.Runtime]System.Threading.Tasks.Task`1 @@ -3353,18 +3242,18 @@ AsyncMethod5() cil managed .maxstack 2 .locals init (valuetype Example/'d__4' V_0) IL_0000: ldloca.s V_0 -IL_0002: call valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::Create() -IL_0007: stfld valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__4'::'<>t__builder' +IL_0002: call valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::Create() +IL_0007: stfld valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__4'::'<>t__builder' IL_000c: ldloca.s V_0 IL_000e: ldc.i4.m1 IL_000f: stfld int32 Example/'d__4'::'<>1__state' IL_0014: ldloca.s V_0 -IL_0016: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__4'::'<>t__builder' +IL_0016: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__4'::'<>t__builder' IL_001b: ldloca.s V_0 -IL_001d: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::Startd__4'>(!!0&) +IL_001d: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::Startd__4'>(!!0&) IL_0022: ldloca.s V_0 -IL_0024: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__4'::'<>t__builder' -IL_0029: call instance class [System.Runtime]System.Threading.Tasks.Task`1 valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::get_Task() +IL_0024: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__4'::'<>t__builder' +IL_0029: call instance class [System.Runtime]System.Threading.Tasks.Task`1 valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::get_Task() IL_002e: ret } .method public hidebysig instance class [System.Runtime]System.Threading.Tasks.Task`1 @@ -3374,18 +3263,18 @@ AsyncMethod6() cil managed .maxstack 2 .locals init (valuetype Example/'d__5' V_0) IL_0000: ldloca.s V_0 -IL_0002: call valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::Create() -IL_0007: stfld valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__5'::'<>t__builder' +IL_0002: call valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::Create() +IL_0007: stfld valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__5'::'<>t__builder' IL_000c: ldloca.s V_0 IL_000e: ldc.i4.m1 IL_000f: stfld int32 Example/'d__5'::'<>1__state' IL_0014: ldloca.s V_0 -IL_0016: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__5'::'<>t__builder' +IL_0016: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__5'::'<>t__builder' IL_001b: ldloca.s V_0 -IL_001d: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::Startd__5'>(!!0&) +IL_001d: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::Startd__5'>(!!0&) IL_0022: ldloca.s V_0 -IL_0024: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__5'::'<>t__builder' -IL_0029: call instance class [System.Runtime]System.Threading.Tasks.Task`1 valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::get_Task() +IL_0024: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__5'::'<>t__builder' +IL_0029: call instance class [System.Runtime]System.Threading.Tasks.Task`1 valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::get_Task() IL_002e: ret } .method public hidebysig instance class [System.Runtime]System.Threading.Tasks.Task`1 @@ -3395,18 +3284,18 @@ AsyncMethod7() cil managed .maxstack 2 .locals init (valuetype Example/'d__6' V_0) IL_0000: ldloca.s V_0 -IL_0002: call valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::Create() -IL_0007: stfld valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__6'::'<>t__builder' +IL_0002: call valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::Create() +IL_0007: stfld valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__6'::'<>t__builder' IL_000c: ldloca.s V_0 IL_000e: ldc.i4.m1 IL_000f: stfld int32 Example/'d__6'::'<>1__state' IL_0014: ldloca.s V_0 -IL_0016: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__6'::'<>t__builder' +IL_0016: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__6'::'<>t__builder' IL_001b: ldloca.s V_0 -IL_001d: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::Startd__6'>(!!0&) +IL_001d: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::Startd__6'>(!!0&) IL_0022: ldloca.s V_0 -IL_0024: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__6'::'<>t__builder' -IL_0029: call instance class [System.Runtime]System.Threading.Tasks.Task`1 valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::get_Task() +IL_0024: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__6'::'<>t__builder' +IL_0029: call instance class [System.Runtime]System.Threading.Tasks.Task`1 valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::get_Task() IL_002e: ret } .method public hidebysig instance class [System.Runtime]System.Threading.Tasks.Task`1 @@ -3416,18 +3305,18 @@ AsyncMethod8() cil managed .maxstack 2 .locals init (valuetype Example/'d__7' V_0) IL_0000: ldloca.s V_0 -IL_0002: call valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::Create() -IL_0007: stfld valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__7'::'<>t__builder' +IL_0002: call valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::Create() +IL_0007: stfld valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__7'::'<>t__builder' IL_000c: ldloca.s V_0 IL_000e: ldc.i4.m1 IL_000f: stfld int32 Example/'d__7'::'<>1__state' IL_0014: ldloca.s V_0 -IL_0016: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__7'::'<>t__builder' +IL_0016: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__7'::'<>t__builder' IL_001b: ldloca.s V_0 -IL_001d: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::Startd__7'>(!!0&) +IL_001d: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::Startd__7'>(!!0&) IL_0022: ldloca.s V_0 -IL_0024: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__7'::'<>t__builder' -IL_0029: call instance class [System.Runtime]System.Threading.Tasks.Task`1 valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::get_Task() +IL_0024: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__7'::'<>t__builder' +IL_0029: call instance class [System.Runtime]System.Threading.Tasks.Task`1 valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::get_Task() IL_002e: ret } .method public hidebysig instance class [System.Runtime]System.Threading.Tasks.Task`1 @@ -3437,18 +3326,18 @@ AsyncMethod9() cil managed .maxstack 2 .locals init (valuetype Example/'d__8' V_0) IL_0000: ldloca.s V_0 -IL_0002: call valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::Create() -IL_0007: stfld valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__8'::'<>t__builder' +IL_0002: call valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::Create() +IL_0007: stfld valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__8'::'<>t__builder' IL_000c: ldloca.s V_0 IL_000e: ldc.i4.m1 IL_000f: stfld int32 Example/'d__8'::'<>1__state' IL_0014: ldloca.s V_0 -IL_0016: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__8'::'<>t__builder' +IL_0016: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__8'::'<>t__builder' IL_001b: ldloca.s V_0 -IL_001d: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::Startd__8'>(!!0&) +IL_001d: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::Startd__8'>(!!0&) IL_0022: ldloca.s V_0 -IL_0024: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__8'::'<>t__builder' -IL_0029: call instance class [System.Runtime]System.Threading.Tasks.Task`1 valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::get_Task() +IL_0024: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__8'::'<>t__builder' +IL_0029: call instance class [System.Runtime]System.Threading.Tasks.Task`1 valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::get_Task() IL_002e: ret } .method public hidebysig instance class [System.Runtime]System.Threading.Tasks.Task`1 @@ -3458,18 +3347,18 @@ AsyncMethod10() cil managed .maxstack 2 .locals init (valuetype Example/'d__9' V_0) IL_0000: ldloca.s V_0 -IL_0002: call valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::Create() -IL_0007: stfld valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__9'::'<>t__builder' +IL_0002: call valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::Create() +IL_0007: stfld valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__9'::'<>t__builder' IL_000c: ldloca.s V_0 IL_000e: ldc.i4.m1 IL_000f: stfld int32 Example/'d__9'::'<>1__state' IL_0014: ldloca.s V_0 -IL_0016: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__9'::'<>t__builder' +IL_0016: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__9'::'<>t__builder' IL_001b: ldloca.s V_0 -IL_001d: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::Startd__9'>(!!0&) +IL_001d: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::Startd__9'>(!!0&) IL_0022: ldloca.s V_0 -IL_0024: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__9'::'<>t__builder' -IL_0029: call instance class [System.Runtime]System.Threading.Tasks.Task`1 valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::get_Task() +IL_0024: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__9'::'<>t__builder' +IL_0029: call instance class [System.Runtime]System.Threading.Tasks.Task`1 valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::get_Task() IL_002e: ret } .method public hidebysig instance class [System.Runtime]System.Threading.Tasks.Task`1 @@ -3480,18 +3369,18 @@ AsyncMethod11() cil managed .maxstack 2 .locals init (valuetype Example/'d__10' V_0) IL_0000: ldloca.s V_0 -IL_0002: call valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::Create() -IL_0007: stfld valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__10'::'<>t__builder' +IL_0002: call valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::Create() +IL_0007: stfld valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__10'::'<>t__builder' IL_000c: ldloca.s V_0 IL_000e: ldc.i4.m1 IL_000f: stfld int32 Example/'d__10'::'<>1__state' IL_0014: ldloca.s V_0 -IL_0016: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__10'::'<>t__builder' +IL_0016: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__10'::'<>t__builder' IL_001b: ldloca.s V_0 -IL_001d: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::Startd__10'>(!!0&) +IL_001d: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::Startd__10'>(!!0&) IL_0022: ldloca.s V_0 -IL_0024: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__10'::'<>t__builder' -IL_0029: call instance class [System.Runtime]System.Threading.Tasks.Task`1 valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::get_Task() +IL_0024: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__10'::'<>t__builder' +IL_0029: call instance class [System.Runtime]System.Threading.Tasks.Task`1 valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::get_Task() IL_002e: ret } .method public hidebysig instance class [System.Runtime]System.Threading.Tasks.Task`1 @@ -3502,18 +3391,18 @@ AsyncMethod12() cil managed .maxstack 2 .locals init (valuetype Example/'d__11' V_0) IL_0000: ldloca.s V_0 -IL_0002: call valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::Create() -IL_0007: stfld valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__11'::'<>t__builder' +IL_0002: call valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::Create() +IL_0007: stfld valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__11'::'<>t__builder' IL_000c: ldloca.s V_0 IL_000e: ldc.i4.m1 IL_000f: stfld int32 Example/'d__11'::'<>1__state' IL_0014: ldloca.s V_0 -IL_0016: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__11'::'<>t__builder' +IL_0016: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__11'::'<>t__builder' IL_001b: ldloca.s V_0 -IL_001d: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::Startd__11'>(!!0&) +IL_001d: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::Startd__11'>(!!0&) IL_0022: ldloca.s V_0 -IL_0024: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__11'::'<>t__builder' -IL_0029: call instance class [System.Runtime]System.Threading.Tasks.Task`1 valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::get_Task() +IL_0024: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__11'::'<>t__builder' +IL_0029: call instance class [System.Runtime]System.Threading.Tasks.Task`1 valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::get_Task() IL_002e: ret } .method public hidebysig instance class [System.Runtime]System.Threading.Tasks.Task @@ -3524,18 +3413,18 @@ AsyncMethod1_WithValueTask() cil managed .maxstack 2 .locals init (valuetype Example/'d__12' V_0) IL_0000: ldloca.s V_0 -IL_0002: call valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Create() -IL_0007: stfld valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Example/'d__12'::'<>t__builder' +IL_0002: call valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Create() +IL_0007: stfld valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Example/'d__12'::'<>t__builder' IL_000c: ldloca.s V_0 IL_000e: ldc.i4.m1 IL_000f: stfld int32 Example/'d__12'::'<>1__state' IL_0014: ldloca.s V_0 -IL_0016: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Example/'d__12'::'<>t__builder' +IL_0016: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Example/'d__12'::'<>t__builder' IL_001b: ldloca.s V_0 -IL_001d: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Startd__12'>(!!0&) +IL_001d: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Startd__12'>(!!0&) IL_0022: ldloca.s V_0 -IL_0024: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Example/'d__12'::'<>t__builder' -IL_0029: call instance class [System.Runtime]System.Threading.Tasks.Task [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::get_Task() +IL_0024: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Example/'d__12'::'<>t__builder' +IL_0029: call instance class [System.Runtime]System.Threading.Tasks.Task [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::get_Task() IL_002e: ret } .method public hidebysig instance class [System.Runtime]System.Threading.Tasks.Task @@ -3546,18 +3435,18 @@ AsyncMethod2_WithValueTask() cil managed .maxstack 2 .locals init (valuetype Example/'d__13' V_0) IL_0000: ldloca.s V_0 -IL_0002: call valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Create() -IL_0007: stfld valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Example/'d__13'::'<>t__builder' +IL_0002: call valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Create() +IL_0007: stfld valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Example/'d__13'::'<>t__builder' IL_000c: ldloca.s V_0 IL_000e: ldc.i4.m1 IL_000f: stfld int32 Example/'d__13'::'<>1__state' IL_0014: ldloca.s V_0 -IL_0016: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Example/'d__13'::'<>t__builder' +IL_0016: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Example/'d__13'::'<>t__builder' IL_001b: ldloca.s V_0 -IL_001d: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Startd__13'>(!!0&) +IL_001d: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Startd__13'>(!!0&) IL_0022: ldloca.s V_0 -IL_0024: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Example/'d__13'::'<>t__builder' -IL_0029: call instance class [System.Runtime]System.Threading.Tasks.Task [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::get_Task() +IL_0024: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Example/'d__13'::'<>t__builder' +IL_0029: call instance class [System.Runtime]System.Threading.Tasks.Task [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::get_Task() IL_002e: ret } .method public hidebysig instance class [System.Runtime]System.Threading.Tasks.Task @@ -3568,18 +3457,18 @@ AsyncMethod3_WithValueTask() cil managed .maxstack 2 .locals init (valuetype Example/'d__14' V_0) IL_0000: ldloca.s V_0 -IL_0002: call valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Create() -IL_0007: stfld valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Example/'d__14'::'<>t__builder' +IL_0002: call valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Create() +IL_0007: stfld valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Example/'d__14'::'<>t__builder' IL_000c: ldloca.s V_0 IL_000e: ldc.i4.m1 IL_000f: stfld int32 Example/'d__14'::'<>1__state' IL_0014: ldloca.s V_0 -IL_0016: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Example/'d__14'::'<>t__builder' +IL_0016: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Example/'d__14'::'<>t__builder' IL_001b: ldloca.s V_0 -IL_001d: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Startd__14'>(!!0&) +IL_001d: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Startd__14'>(!!0&) IL_0022: ldloca.s V_0 -IL_0024: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Example/'d__14'::'<>t__builder' -IL_0029: call instance class [System.Runtime]System.Threading.Tasks.Task [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::get_Task() +IL_0024: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Example/'d__14'::'<>t__builder' +IL_0029: call instance class [System.Runtime]System.Threading.Tasks.Task [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::get_Task() IL_002e: ret } .method public hidebysig instance class [System.Runtime]System.Threading.Tasks.Task`1 @@ -3590,18 +3479,18 @@ AsyncMethod4_WithValueTask() cil managed .maxstack 2 .locals init (valuetype Example/'d__15' V_0) IL_0000: ldloca.s V_0 -IL_0002: call valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::Create() -IL_0007: stfld valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__15'::'<>t__builder' +IL_0002: call valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::Create() +IL_0007: stfld valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__15'::'<>t__builder' IL_000c: ldloca.s V_0 IL_000e: ldc.i4.m1 IL_000f: stfld int32 Example/'d__15'::'<>1__state' IL_0014: ldloca.s V_0 -IL_0016: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__15'::'<>t__builder' +IL_0016: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__15'::'<>t__builder' IL_001b: ldloca.s V_0 -IL_001d: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::Startd__15'>(!!0&) +IL_001d: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::Startd__15'>(!!0&) IL_0022: ldloca.s V_0 -IL_0024: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__15'::'<>t__builder' -IL_0029: call instance class [System.Runtime]System.Threading.Tasks.Task`1 valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::get_Task() +IL_0024: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__15'::'<>t__builder' +IL_0029: call instance class [System.Runtime]System.Threading.Tasks.Task`1 valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::get_Task() IL_002e: ret } .method public hidebysig instance class [System.Runtime]System.Threading.Tasks.Task`1 @@ -3612,18 +3501,18 @@ AsyncMethod5_WithValueTask() cil managed .maxstack 2 .locals init (valuetype Example/'d__16' V_0) IL_0000: ldloca.s V_0 -IL_0002: call valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::Create() -IL_0007: stfld valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__16'::'<>t__builder' +IL_0002: call valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::Create() +IL_0007: stfld valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__16'::'<>t__builder' IL_000c: ldloca.s V_0 IL_000e: ldc.i4.m1 IL_000f: stfld int32 Example/'d__16'::'<>1__state' IL_0014: ldloca.s V_0 -IL_0016: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__16'::'<>t__builder' +IL_0016: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__16'::'<>t__builder' IL_001b: ldloca.s V_0 -IL_001d: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::Startd__16'>(!!0&) +IL_001d: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::Startd__16'>(!!0&) IL_0022: ldloca.s V_0 -IL_0024: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__16'::'<>t__builder' -IL_0029: call instance class [System.Runtime]System.Threading.Tasks.Task`1 valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::get_Task() +IL_0024: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__16'::'<>t__builder' +IL_0029: call instance class [System.Runtime]System.Threading.Tasks.Task`1 valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::get_Task() IL_002e: ret } .method public hidebysig instance class [System.Runtime]System.Threading.Tasks.Task`1 @@ -3634,18 +3523,18 @@ AsyncMethod6_WithValueTask() cil managed .maxstack 2 .locals init (valuetype Example/'d__17' V_0) IL_0000: ldloca.s V_0 -IL_0002: call valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::Create() -IL_0007: stfld valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__17'::'<>t__builder' +IL_0002: call valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::Create() +IL_0007: stfld valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__17'::'<>t__builder' IL_000c: ldloca.s V_0 IL_000e: ldc.i4.m1 IL_000f: stfld int32 Example/'d__17'::'<>1__state' IL_0014: ldloca.s V_0 -IL_0016: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__17'::'<>t__builder' +IL_0016: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__17'::'<>t__builder' IL_001b: ldloca.s V_0 -IL_001d: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::Startd__17'>(!!0&) +IL_001d: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::Startd__17'>(!!0&) IL_0022: ldloca.s V_0 -IL_0024: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__17'::'<>t__builder' -IL_0029: call instance class [System.Runtime]System.Threading.Tasks.Task`1 valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::get_Task() +IL_0024: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__17'::'<>t__builder' +IL_0029: call instance class [System.Runtime]System.Threading.Tasks.Task`1 valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::get_Task() IL_002e: ret } .method public hidebysig instance class [System.Runtime]System.Threading.Tasks.Task`1 @@ -3656,18 +3545,18 @@ AsyncMethod7_WithValueTask() cil managed .maxstack 2 .locals init (valuetype Example/'d__18' V_0) IL_0000: ldloca.s V_0 -IL_0002: call valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::Create() -IL_0007: stfld valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__18'::'<>t__builder' +IL_0002: call valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::Create() +IL_0007: stfld valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__18'::'<>t__builder' IL_000c: ldloca.s V_0 IL_000e: ldc.i4.m1 IL_000f: stfld int32 Example/'d__18'::'<>1__state' IL_0014: ldloca.s V_0 -IL_0016: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__18'::'<>t__builder' +IL_0016: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__18'::'<>t__builder' IL_001b: ldloca.s V_0 -IL_001d: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::Startd__18'>(!!0&) +IL_001d: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::Startd__18'>(!!0&) IL_0022: ldloca.s V_0 -IL_0024: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__18'::'<>t__builder' -IL_0029: call instance class [System.Runtime]System.Threading.Tasks.Task`1 valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::get_Task() +IL_0024: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__18'::'<>t__builder' +IL_0029: call instance class [System.Runtime]System.Threading.Tasks.Task`1 valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::get_Task() IL_002e: ret } .method public hidebysig instance class [System.Runtime]System.Threading.Tasks.Task`1 @@ -3678,18 +3567,18 @@ AsyncMethod8_WithValueTask() cil managed .maxstack 2 .locals init (valuetype Example/'d__19' V_0) IL_0000: ldloca.s V_0 -IL_0002: call valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::Create() -IL_0007: stfld valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__19'::'<>t__builder' +IL_0002: call valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::Create() +IL_0007: stfld valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__19'::'<>t__builder' IL_000c: ldloca.s V_0 IL_000e: ldc.i4.m1 IL_000f: stfld int32 Example/'d__19'::'<>1__state' IL_0014: ldloca.s V_0 -IL_0016: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__19'::'<>t__builder' +IL_0016: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__19'::'<>t__builder' IL_001b: ldloca.s V_0 -IL_001d: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::Startd__19'>(!!0&) +IL_001d: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::Startd__19'>(!!0&) IL_0022: ldloca.s V_0 -IL_0024: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__19'::'<>t__builder' -IL_0029: call instance class [System.Runtime]System.Threading.Tasks.Task`1 valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::get_Task() +IL_0024: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__19'::'<>t__builder' +IL_0029: call instance class [System.Runtime]System.Threading.Tasks.Task`1 valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::get_Task() IL_002e: ret } .method public hidebysig instance class [System.Runtime]System.Threading.Tasks.Task`1 @@ -3700,18 +3589,18 @@ AsyncMethod9_WithValueTask() cil managed .maxstack 2 .locals init (valuetype Example/'d__20' V_0) IL_0000: ldloca.s V_0 -IL_0002: call valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::Create() -IL_0007: stfld valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__20'::'<>t__builder' +IL_0002: call valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::Create() +IL_0007: stfld valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__20'::'<>t__builder' IL_000c: ldloca.s V_0 IL_000e: ldc.i4.m1 IL_000f: stfld int32 Example/'d__20'::'<>1__state' IL_0014: ldloca.s V_0 -IL_0016: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__20'::'<>t__builder' +IL_0016: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__20'::'<>t__builder' IL_001b: ldloca.s V_0 -IL_001d: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::Startd__20'>(!!0&) +IL_001d: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::Startd__20'>(!!0&) IL_0022: ldloca.s V_0 -IL_0024: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__20'::'<>t__builder' -IL_0029: call instance class [System.Runtime]System.Threading.Tasks.Task`1 valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::get_Task() +IL_0024: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__20'::'<>t__builder' +IL_0029: call instance class [System.Runtime]System.Threading.Tasks.Task`1 valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::get_Task() IL_002e: ret } .method public hidebysig instance class [System.Runtime]System.Threading.Tasks.Task`1 @@ -3722,18 +3611,18 @@ AsyncMethod10_WithValueTask() cil managed .maxstack 2 .locals init (valuetype Example/'d__21' V_0) IL_0000: ldloca.s V_0 -IL_0002: call valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::Create() -IL_0007: stfld valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__21'::'<>t__builder' +IL_0002: call valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::Create() +IL_0007: stfld valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__21'::'<>t__builder' IL_000c: ldloca.s V_0 IL_000e: ldc.i4.m1 IL_000f: stfld int32 Example/'d__21'::'<>1__state' IL_0014: ldloca.s V_0 -IL_0016: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__21'::'<>t__builder' +IL_0016: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__21'::'<>t__builder' IL_001b: ldloca.s V_0 -IL_001d: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::Startd__21'>(!!0&) +IL_001d: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::Startd__21'>(!!0&) IL_0022: ldloca.s V_0 -IL_0024: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__21'::'<>t__builder' -IL_0029: call instance class [System.Runtime]System.Threading.Tasks.Task`1 valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::get_Task() +IL_0024: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__21'::'<>t__builder' +IL_0029: call instance class [System.Runtime]System.Threading.Tasks.Task`1 valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::get_Task() IL_002e: ret } .method public hidebysig instance class [System.Runtime]System.Threading.Tasks.Task`1 @@ -3744,18 +3633,18 @@ AsyncMethod11_WithValueTask() cil managed .maxstack 2 .locals init (valuetype Example/'d__22' V_0) IL_0000: ldloca.s V_0 -IL_0002: call valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::Create() -IL_0007: stfld valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__22'::'<>t__builder' +IL_0002: call valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::Create() +IL_0007: stfld valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__22'::'<>t__builder' IL_000c: ldloca.s V_0 IL_000e: ldc.i4.m1 IL_000f: stfld int32 Example/'d__22'::'<>1__state' IL_0014: ldloca.s V_0 -IL_0016: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__22'::'<>t__builder' +IL_0016: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__22'::'<>t__builder' IL_001b: ldloca.s V_0 -IL_001d: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::Startd__22'>(!!0&) +IL_001d: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::Startd__22'>(!!0&) IL_0022: ldloca.s V_0 -IL_0024: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__22'::'<>t__builder' -IL_0029: call instance class [System.Runtime]System.Threading.Tasks.Task`1 valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::get_Task() +IL_0024: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__22'::'<>t__builder' +IL_0029: call instance class [System.Runtime]System.Threading.Tasks.Task`1 valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::get_Task() IL_002e: ret } .method public hidebysig instance class [System.Runtime]System.Threading.Tasks.Task`1 @@ -3766,18 +3655,18 @@ AsyncMethod12_WithValueTask() cil managed .maxstack 2 .locals init (valuetype Example/'d__23' V_0) IL_0000: ldloca.s V_0 -IL_0002: call valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::Create() -IL_0007: stfld valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__23'::'<>t__builder' +IL_0002: call valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::Create() +IL_0007: stfld valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__23'::'<>t__builder' IL_000c: ldloca.s V_0 IL_000e: ldc.i4.m1 IL_000f: stfld int32 Example/'d__23'::'<>1__state' IL_0014: ldloca.s V_0 -IL_0016: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__23'::'<>t__builder' +IL_0016: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__23'::'<>t__builder' IL_001b: ldloca.s V_0 -IL_001d: call instance void valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::Startd__23'>(!!0&) +IL_001d: call instance void valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::Startd__23'>(!!0&) IL_0022: ldloca.s V_0 -IL_0024: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__23'::'<>t__builder' -IL_0029: call instance class [System.Runtime]System.Threading.Tasks.Task`1 valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::get_Task() +IL_0024: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 Example/'d__23'::'<>t__builder' +IL_0029: call instance class [System.Runtime]System.Threading.Tasks.Task`1 valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1::get_Task() IL_002e: ret } .method public hidebysig specialname rtspecialname diff --git a/Tests/ModuleWeaverTests.DecompileExample.Release.DotNet11_0.verified.txt b/Tests/ModuleWeaverTests.DecompileExample.Release.DotNet11_0.verified.txt new file mode 100644 index 0000000..ea8ea18 --- /dev/null +++ b/Tests/ModuleWeaverTests.DecompileExample.Release.DotNet11_0.verified.txt @@ -0,0 +1,501 @@ +.class public auto ansi beforefieldinit Example +extends [System.Runtime]System.Object +{ +.method public hidebysig instance class [System.Runtime]System.Threading.Tasks.Task +AsyncMethod1() cil managed +{ +.maxstack 8 +IL_0000: ldc.i4.1 +IL_0001: call class [System.Runtime]System.Threading.Tasks.Task [System.Runtime]System.Threading.Tasks.Task::Delay(int32) +IL_0006: call void [System.Runtime]System.Runtime.CompilerServices.AsyncHelpers::Await(class [System.Runtime]System.Threading.Tasks.Task) +IL_000b: ret +} +.method public hidebysig instance class [System.Runtime]System.Threading.Tasks.Task +AsyncMethod2() cil managed +{ +.maxstack 8 +IL_0000: ldc.i4.1 +IL_0001: call class [System.Runtime]System.Threading.Tasks.Task [System.Runtime]System.Threading.Tasks.Task::Delay(int32) +IL_0006: ldc.i4.0 +IL_0007: callvirt instance valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable [System.Private.CoreLib]System.Threading.Tasks.Task::ConfigureAwait(bool) +IL_000c: call void [System.Private.CoreLib]System.Runtime.CompilerServices.AsyncHelpers::Await(valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable) +IL_0011: ret +} +.method public hidebysig instance class [System.Runtime]System.Threading.Tasks.Task +AsyncMethod3() cil managed +{ +.maxstack 8 +IL_0000: ldc.i4.1 +IL_0001: call class [System.Runtime]System.Threading.Tasks.Task [System.Runtime]System.Threading.Tasks.Task::Delay(int32) +IL_0006: ldc.i4.0 +IL_0007: callvirt instance valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable [System.Runtime]System.Threading.Tasks.Task::ConfigureAwait(bool) +IL_000c: call void [System.Runtime]System.Runtime.CompilerServices.AsyncHelpers::Await(valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable) +IL_0011: ret +} +.method public hidebysig instance class [System.Runtime]System.Threading.Tasks.Task`1 +AsyncMethod4() cil managed +{ +.maxstack 8 +IL_0000: ldc.i4.s 10 +IL_0002: call class [System.Runtime]System.Threading.Tasks.Task`1 [System.Runtime]System.Threading.Tasks.Task::FromResult(!!0) +IL_0007: call !!0 [System.Runtime]System.Runtime.CompilerServices.AsyncHelpers::Await(class [System.Runtime]System.Threading.Tasks.Task`1) +IL_000c: ret +} +.method public hidebysig instance class [System.Runtime]System.Threading.Tasks.Task`1 +AsyncMethod5() cil managed +{ +.maxstack 8 +IL_0000: ldc.i4.s 10 +IL_0002: call class [System.Runtime]System.Threading.Tasks.Task`1 [System.Runtime]System.Threading.Tasks.Task::FromResult(!!0) +IL_0007: ldc.i4.0 +IL_0008: callvirt instance valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1 class [System.Private.CoreLib]System.Threading.Tasks.Task`1::ConfigureAwait(bool) +IL_000d: call !!0 [System.Private.CoreLib]System.Runtime.CompilerServices.AsyncHelpers::Await(valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1) +IL_0012: ret +} +.method public hidebysig instance class [System.Runtime]System.Threading.Tasks.Task`1 +AsyncMethod6() cil managed +{ +.maxstack 8 +IL_0000: ldc.i4.s 10 +IL_0002: call class [System.Runtime]System.Threading.Tasks.Task`1 [System.Runtime]System.Threading.Tasks.Task::FromResult(!!0) +IL_0007: ldc.i4.0 +IL_0008: callvirt instance valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1 class [System.Runtime]System.Threading.Tasks.Task`1::ConfigureAwait(bool) +IL_000d: call !!0 [System.Runtime]System.Runtime.CompilerServices.AsyncHelpers::Await(valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1) +IL_0012: ret +} +.method public hidebysig instance class [System.Runtime]System.Threading.Tasks.Task`1 +AsyncMethod7() cil managed +{ +.maxstack 2 +.locals init (int32 V_0, +int32 V_1, +int32 V_2, +int32 V_3) +IL_0000: ldc.i4.s 10 +IL_0002: call class [System.Runtime]System.Threading.Tasks.Task`1 [System.Runtime]System.Threading.Tasks.Task::FromResult(!!0) +IL_0007: call !!0 [System.Runtime]System.Runtime.CompilerServices.AsyncHelpers::Await(class [System.Runtime]System.Threading.Tasks.Task`1) +IL_000c: stloc.0 +IL_000d: ldc.i4.0 +IL_000e: stloc.1 +IL_000f: ldc.i4.0 +IL_0010: stloc.2 +IL_0011: br.s IL_0032 +IL_0013: ldc.i4.1 +IL_0014: call class [System.Runtime]System.Threading.Tasks.Task [System.Runtime]System.Threading.Tasks.Task::Delay(int32) +IL_0019: call void [System.Runtime]System.Runtime.CompilerServices.AsyncHelpers::Await(class [System.Runtime]System.Threading.Tasks.Task) +IL_001e: ldloc.1 +IL_001f: ldloc.2 +IL_0020: call class [System.Runtime]System.Threading.Tasks.Task`1 [System.Runtime]System.Threading.Tasks.Task::FromResult(!!0) +IL_0025: call !!0 [System.Runtime]System.Runtime.CompilerServices.AsyncHelpers::Await(class [System.Runtime]System.Threading.Tasks.Task`1) +IL_002a: stloc.3 +IL_002b: ldloc.3 +IL_002c: add +IL_002d: stloc.1 +IL_002e: ldloc.2 +IL_002f: ldc.i4.1 +IL_0030: add +IL_0031: stloc.2 +IL_0032: ldloc.2 +IL_0033: ldloc.0 +IL_0034: blt.s IL_0013 +IL_0036: ldloc.1 +IL_0037: ret +} +.method public hidebysig instance class [System.Runtime]System.Threading.Tasks.Task`1 +AsyncMethod8() cil managed +{ +.maxstack 3 +.locals init (int32 V_0, +int32 V_1, +int32 V_2, +int32 V_3) +IL_0000: ldc.i4.s 10 +IL_0002: call class [System.Runtime]System.Threading.Tasks.Task`1 [System.Runtime]System.Threading.Tasks.Task::FromResult(!!0) +IL_0007: ldc.i4.0 +IL_0008: callvirt instance valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1 class [System.Private.CoreLib]System.Threading.Tasks.Task`1::ConfigureAwait(bool) +IL_000d: call !!0 [System.Private.CoreLib]System.Runtime.CompilerServices.AsyncHelpers::Await(valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1) +IL_0012: stloc.0 +IL_0013: ldc.i4.0 +IL_0014: stloc.1 +IL_0015: ldc.i4.0 +IL_0016: stloc.2 +IL_0017: br.s IL_0044 +IL_0019: ldc.i4.1 +IL_001a: call class [System.Runtime]System.Threading.Tasks.Task [System.Runtime]System.Threading.Tasks.Task::Delay(int32) +IL_001f: ldc.i4.0 +IL_0020: callvirt instance valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable [System.Private.CoreLib]System.Threading.Tasks.Task::ConfigureAwait(bool) +IL_0025: call void [System.Private.CoreLib]System.Runtime.CompilerServices.AsyncHelpers::Await(valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable) +IL_002a: ldloc.1 +IL_002b: ldloc.2 +IL_002c: call class [System.Runtime]System.Threading.Tasks.Task`1 [System.Runtime]System.Threading.Tasks.Task::FromResult(!!0) +IL_0031: ldc.i4.0 +IL_0032: callvirt instance valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1 class [System.Private.CoreLib]System.Threading.Tasks.Task`1::ConfigureAwait(bool) +IL_0037: call !!0 [System.Private.CoreLib]System.Runtime.CompilerServices.AsyncHelpers::Await(valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1) +IL_003c: stloc.3 +IL_003d: ldloc.3 +IL_003e: add +IL_003f: stloc.1 +IL_0040: ldloc.2 +IL_0041: ldc.i4.1 +IL_0042: add +IL_0043: stloc.2 +IL_0044: ldloc.2 +IL_0045: ldloc.0 +IL_0046: blt.s IL_0019 +IL_0048: ldloc.1 +IL_0049: ret +} +.method public hidebysig instance class [System.Runtime]System.Threading.Tasks.Task`1 +AsyncMethod9() cil managed +{ +.maxstack 3 +.locals init (int32 V_0, +int32 V_1, +int32 V_2, +int32 V_3) +IL_0000: ldc.i4.s 10 +IL_0002: call class [System.Runtime]System.Threading.Tasks.Task`1 [System.Runtime]System.Threading.Tasks.Task::FromResult(!!0) +IL_0007: ldc.i4.0 +IL_0008: callvirt instance valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1 class [System.Runtime]System.Threading.Tasks.Task`1::ConfigureAwait(bool) +IL_000d: call !!0 [System.Runtime]System.Runtime.CompilerServices.AsyncHelpers::Await(valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1) +IL_0012: stloc.0 +IL_0013: ldc.i4.0 +IL_0014: stloc.1 +IL_0015: ldc.i4.0 +IL_0016: stloc.2 +IL_0017: br.s IL_0044 +IL_0019: ldc.i4.1 +IL_001a: call class [System.Runtime]System.Threading.Tasks.Task [System.Runtime]System.Threading.Tasks.Task::Delay(int32) +IL_001f: ldc.i4.0 +IL_0020: callvirt instance valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable [System.Runtime]System.Threading.Tasks.Task::ConfigureAwait(bool) +IL_0025: call void [System.Runtime]System.Runtime.CompilerServices.AsyncHelpers::Await(valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable) +IL_002a: ldloc.1 +IL_002b: ldloc.2 +IL_002c: call class [System.Runtime]System.Threading.Tasks.Task`1 [System.Runtime]System.Threading.Tasks.Task::FromResult(!!0) +IL_0031: ldc.i4.0 +IL_0032: callvirt instance valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1 class [System.Runtime]System.Threading.Tasks.Task`1::ConfigureAwait(bool) +IL_0037: call !!0 [System.Runtime]System.Runtime.CompilerServices.AsyncHelpers::Await(valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1) +IL_003c: stloc.3 +IL_003d: ldloc.3 +IL_003e: add +IL_003f: stloc.1 +IL_0040: ldloc.2 +IL_0041: ldc.i4.1 +IL_0042: add +IL_0043: stloc.2 +IL_0044: ldloc.2 +IL_0045: ldloc.0 +IL_0046: blt.s IL_0019 +IL_0048: ldloc.1 +IL_0049: ret +} +.method public hidebysig instance class [System.Runtime]System.Threading.Tasks.Task`1 +AsyncMethod10() cil managed +{ +.maxstack 8 +IL_0000: newobj instance void Example::.ctor() +IL_0005: call class [System.Runtime]System.Threading.Tasks.Task`1 [System.Runtime]System.Threading.Tasks.Task::FromResult(!!0) +IL_000a: call !!0 [System.Runtime]System.Runtime.CompilerServices.AsyncHelpers::Await(class [System.Runtime]System.Threading.Tasks.Task`1) +IL_000f: ret +} +.method public hidebysig instance class [System.Runtime]System.Threading.Tasks.Task`1 +AsyncMethod11() cil managed +{ +.maxstack 8 +IL_0000: newobj instance void Example::.ctor() +IL_0005: call class [System.Runtime]System.Threading.Tasks.Task`1 [System.Runtime]System.Threading.Tasks.Task::FromResult(!!0) +IL_000a: ldc.i4.0 +IL_000b: callvirt instance valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1 class [System.Private.CoreLib]System.Threading.Tasks.Task`1::ConfigureAwait(bool) +IL_0010: call !!0 [System.Private.CoreLib]System.Runtime.CompilerServices.AsyncHelpers::Await(valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1) +IL_0015: ret +} +.method public hidebysig instance class [System.Runtime]System.Threading.Tasks.Task`1 +AsyncMethod12() cil managed +{ +.maxstack 8 +IL_0000: newobj instance void Example::.ctor() +IL_0005: call class [System.Runtime]System.Threading.Tasks.Task`1 [System.Runtime]System.Threading.Tasks.Task::FromResult(!!0) +IL_000a: ldc.i4.0 +IL_000b: callvirt instance valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1 class [System.Runtime]System.Threading.Tasks.Task`1::ConfigureAwait(bool) +IL_0010: call !!0 [System.Runtime]System.Runtime.CompilerServices.AsyncHelpers::Await(valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1) +IL_0015: ret +} +.method public hidebysig instance class [System.Runtime]System.Threading.Tasks.Task +AsyncMethod1_WithValueTask() cil managed +{ +.maxstack 8 +IL_0000: ldc.i4.1 +IL_0001: call class [System.Runtime]System.Threading.Tasks.Task [System.Runtime]System.Threading.Tasks.Task::Delay(int32) +IL_0006: newobj instance void [System.Runtime]System.Threading.Tasks.ValueTask::.ctor(class [System.Runtime]System.Threading.Tasks.Task) +IL_000b: call void [System.Runtime]System.Runtime.CompilerServices.AsyncHelpers::Await(valuetype [System.Runtime]System.Threading.Tasks.ValueTask) +IL_0010: ret +} +.method public hidebysig instance class [System.Runtime]System.Threading.Tasks.Task +AsyncMethod2_WithValueTask() cil managed +{ +.maxstack 2 +.locals (valuetype [System.Private.CoreLib]System.Threading.Tasks.ValueTask V_0) +IL_0000: ldc.i4.1 +IL_0001: call class [System.Runtime]System.Threading.Tasks.Task [System.Runtime]System.Threading.Tasks.Task::Delay(int32) +IL_0006: newobj instance void [System.Runtime]System.Threading.Tasks.ValueTask::.ctor(class [System.Runtime]System.Threading.Tasks.Task) +IL_000b: stloc.0 +IL_000c: ldloca.s V_0 +IL_000e: ldc.i4.0 +IL_000f: call instance valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable [System.Private.CoreLib]System.Threading.Tasks.ValueTask::ConfigureAwait(bool) +IL_0014: call void [System.Private.CoreLib]System.Runtime.CompilerServices.AsyncHelpers::Await(valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable) +IL_0019: ret +} +.method public hidebysig instance class [System.Runtime]System.Threading.Tasks.Task +AsyncMethod3_WithValueTask() cil managed +{ +.maxstack 2 +.locals init (valuetype [System.Runtime]System.Threading.Tasks.ValueTask V_0) +IL_0000: ldc.i4.1 +IL_0001: call class [System.Runtime]System.Threading.Tasks.Task [System.Runtime]System.Threading.Tasks.Task::Delay(int32) +IL_0006: newobj instance void [System.Runtime]System.Threading.Tasks.ValueTask::.ctor(class [System.Runtime]System.Threading.Tasks.Task) +IL_000b: stloc.0 +IL_000c: ldloca.s V_0 +IL_000e: ldc.i4.0 +IL_000f: call instance valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable [System.Runtime]System.Threading.Tasks.ValueTask::ConfigureAwait(bool) +IL_0014: call void [System.Runtime]System.Runtime.CompilerServices.AsyncHelpers::Await(valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable) +IL_0019: ret +} +.method public hidebysig instance class [System.Runtime]System.Threading.Tasks.Task`1 +AsyncMethod4_WithValueTask() cil managed +{ +.maxstack 8 +IL_0000: ldc.i4.s 10 +IL_0002: call class [System.Runtime]System.Threading.Tasks.Task`1 [System.Runtime]System.Threading.Tasks.Task::FromResult(!!0) +IL_0007: newobj instance void valuetype [System.Runtime]System.Threading.Tasks.ValueTask`1::.ctor(class [System.Runtime]System.Threading.Tasks.Task`1) +IL_000c: call !!0 [System.Runtime]System.Runtime.CompilerServices.AsyncHelpers::Await(valuetype [System.Runtime]System.Threading.Tasks.ValueTask`1) +IL_0011: ret +} +.method public hidebysig instance class [System.Runtime]System.Threading.Tasks.Task`1 +AsyncMethod5_WithValueTask() cil managed +{ +.maxstack 2 +.locals (valuetype [System.Private.CoreLib]System.Threading.Tasks.ValueTask`1 V_0) +IL_0000: ldc.i4.s 10 +IL_0002: call class [System.Runtime]System.Threading.Tasks.Task`1 [System.Runtime]System.Threading.Tasks.Task::FromResult(!!0) +IL_0007: newobj instance void valuetype [System.Runtime]System.Threading.Tasks.ValueTask`1::.ctor(class [System.Runtime]System.Threading.Tasks.Task`1) +IL_000c: stloc.0 +IL_000d: ldloca.s V_0 +IL_000f: ldc.i4.0 +IL_0010: call instance valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1 valuetype [System.Private.CoreLib]System.Threading.Tasks.ValueTask`1::ConfigureAwait(bool) +IL_0015: call !!0 [System.Private.CoreLib]System.Runtime.CompilerServices.AsyncHelpers::Await(valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1) +IL_001a: ret +} +.method public hidebysig instance class [System.Runtime]System.Threading.Tasks.Task`1 +AsyncMethod6_WithValueTask() cil managed +{ +.maxstack 2 +.locals init (valuetype [System.Runtime]System.Threading.Tasks.ValueTask`1 V_0) +IL_0000: ldc.i4.s 10 +IL_0002: call class [System.Runtime]System.Threading.Tasks.Task`1 [System.Runtime]System.Threading.Tasks.Task::FromResult(!!0) +IL_0007: newobj instance void valuetype [System.Runtime]System.Threading.Tasks.ValueTask`1::.ctor(class [System.Runtime]System.Threading.Tasks.Task`1) +IL_000c: stloc.0 +IL_000d: ldloca.s V_0 +IL_000f: ldc.i4.0 +IL_0010: call instance valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1 valuetype [System.Runtime]System.Threading.Tasks.ValueTask`1::ConfigureAwait(bool) +IL_0015: call !!0 [System.Runtime]System.Runtime.CompilerServices.AsyncHelpers::Await(valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1) +IL_001a: ret +} +.method public hidebysig instance class [System.Runtime]System.Threading.Tasks.Task`1 +AsyncMethod7_WithValueTask() cil managed +{ +.maxstack 2 +.locals init (int32 V_0, +int32 V_1, +int32 V_2, +int32 V_3) +IL_0000: ldc.i4.s 10 +IL_0002: call class [System.Runtime]System.Threading.Tasks.Task`1 [System.Runtime]System.Threading.Tasks.Task::FromResult(!!0) +IL_0007: newobj instance void valuetype [System.Runtime]System.Threading.Tasks.ValueTask`1::.ctor(class [System.Runtime]System.Threading.Tasks.Task`1) +IL_000c: call !!0 [System.Runtime]System.Runtime.CompilerServices.AsyncHelpers::Await(valuetype [System.Runtime]System.Threading.Tasks.ValueTask`1) +IL_0011: stloc.0 +IL_0012: ldc.i4.0 +IL_0013: stloc.1 +IL_0014: ldc.i4.0 +IL_0015: stloc.2 +IL_0016: br.s IL_0037 +IL_0018: ldc.i4.1 +IL_0019: call class [System.Runtime]System.Threading.Tasks.Task [System.Runtime]System.Threading.Tasks.Task::Delay(int32) +IL_001e: call void [System.Runtime]System.Runtime.CompilerServices.AsyncHelpers::Await(class [System.Runtime]System.Threading.Tasks.Task) +IL_0023: ldloc.1 +IL_0024: ldloc.2 +IL_0025: call class [System.Runtime]System.Threading.Tasks.Task`1 [System.Runtime]System.Threading.Tasks.Task::FromResult(!!0) +IL_002a: call !!0 [System.Runtime]System.Runtime.CompilerServices.AsyncHelpers::Await(class [System.Runtime]System.Threading.Tasks.Task`1) +IL_002f: stloc.3 +IL_0030: ldloc.3 +IL_0031: add +IL_0032: stloc.1 +IL_0033: ldloc.2 +IL_0034: ldc.i4.1 +IL_0035: add +IL_0036: stloc.2 +IL_0037: ldloc.2 +IL_0038: ldloc.0 +IL_0039: blt.s IL_0018 +IL_003b: ldloc.1 +IL_003c: ret +} +.method public hidebysig instance class [System.Runtime]System.Threading.Tasks.Task`1 +AsyncMethod8_WithValueTask() cil managed +{ +.maxstack 3 +.locals init (int32 V_0, +int32 V_1, +int32 V_2, +int32 V_3, +valuetype [System.Private.CoreLib]System.Threading.Tasks.ValueTask`1 V_4, +valuetype [System.Private.CoreLib]System.Threading.Tasks.ValueTask V_5, +valuetype [System.Private.CoreLib]System.Threading.Tasks.ValueTask`1 V_6) +IL_0000: ldc.i4.s 10 +IL_0002: call class [System.Runtime]System.Threading.Tasks.Task`1 [System.Runtime]System.Threading.Tasks.Task::FromResult(!!0) +IL_0007: newobj instance void valuetype [System.Runtime]System.Threading.Tasks.ValueTask`1::.ctor(class [System.Runtime]System.Threading.Tasks.Task`1) +IL_000c: stloc.s V_4 +IL_000e: ldloca.s V_4 +IL_0010: ldc.i4.0 +IL_0011: call instance valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1 valuetype [System.Private.CoreLib]System.Threading.Tasks.ValueTask`1::ConfigureAwait(bool) +IL_0016: call !!0 [System.Private.CoreLib]System.Runtime.CompilerServices.AsyncHelpers::Await(valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1) +IL_001b: stloc.0 +IL_001c: ldc.i4.0 +IL_001d: stloc.1 +IL_001e: ldc.i4.0 +IL_001f: stloc.2 +IL_0020: br.s IL_005f +IL_0022: ldc.i4.1 +IL_0023: call class [System.Runtime]System.Threading.Tasks.Task [System.Runtime]System.Threading.Tasks.Task::Delay(int32) +IL_0028: newobj instance void [System.Runtime]System.Threading.Tasks.ValueTask::.ctor(class [System.Runtime]System.Threading.Tasks.Task) +IL_002d: stloc.s V_5 +IL_002f: ldloca.s V_5 +IL_0031: ldc.i4.0 +IL_0032: call instance valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable [System.Private.CoreLib]System.Threading.Tasks.ValueTask::ConfigureAwait(bool) +IL_0037: call void [System.Private.CoreLib]System.Runtime.CompilerServices.AsyncHelpers::Await(valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable) +IL_003c: ldloc.1 +IL_003d: ldloc.2 +IL_003e: call class [System.Runtime]System.Threading.Tasks.Task`1 [System.Runtime]System.Threading.Tasks.Task::FromResult(!!0) +IL_0043: newobj instance void valuetype [System.Runtime]System.Threading.Tasks.ValueTask`1::.ctor(class [System.Runtime]System.Threading.Tasks.Task`1) +IL_0048: stloc.s V_6 +IL_004a: ldloca.s V_6 +IL_004c: ldc.i4.0 +IL_004d: call instance valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1 valuetype [System.Private.CoreLib]System.Threading.Tasks.ValueTask`1::ConfigureAwait(bool) +IL_0052: call !!0 [System.Private.CoreLib]System.Runtime.CompilerServices.AsyncHelpers::Await(valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1) +IL_0057: stloc.3 +IL_0058: ldloc.3 +IL_0059: add +IL_005a: stloc.1 +IL_005b: ldloc.2 +IL_005c: ldc.i4.1 +IL_005d: add +IL_005e: stloc.2 +IL_005f: ldloc.2 +IL_0060: ldloc.0 +IL_0061: blt.s IL_0022 +IL_0063: ldloc.1 +IL_0064: ret +} +.method public hidebysig instance class [System.Runtime]System.Threading.Tasks.Task`1 +AsyncMethod9_WithValueTask() cil managed +{ +.maxstack 3 +.locals init (int32 V_0, +int32 V_1, +valuetype [System.Runtime]System.Threading.Tasks.ValueTask`1 V_2, +int32 V_3, +valuetype [System.Runtime]System.Threading.Tasks.ValueTask V_4, +int32 V_5) +IL_0000: ldc.i4.s 10 +IL_0002: call class [System.Runtime]System.Threading.Tasks.Task`1 [System.Runtime]System.Threading.Tasks.Task::FromResult(!!0) +IL_0007: newobj instance void valuetype [System.Runtime]System.Threading.Tasks.ValueTask`1::.ctor(class [System.Runtime]System.Threading.Tasks.Task`1) +IL_000c: stloc.2 +IL_000d: ldloca.s V_2 +IL_000f: ldc.i4.0 +IL_0010: call instance valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1 valuetype [System.Runtime]System.Threading.Tasks.ValueTask`1::ConfigureAwait(bool) +IL_0015: call !!0 [System.Runtime]System.Runtime.CompilerServices.AsyncHelpers::Await(valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1) +IL_001a: stloc.0 +IL_001b: ldc.i4.0 +IL_001c: stloc.1 +IL_001d: ldc.i4.0 +IL_001e: stloc.3 +IL_001f: br.s IL_005f +IL_0021: ldc.i4.1 +IL_0022: call class [System.Runtime]System.Threading.Tasks.Task [System.Runtime]System.Threading.Tasks.Task::Delay(int32) +IL_0027: newobj instance void [System.Runtime]System.Threading.Tasks.ValueTask::.ctor(class [System.Runtime]System.Threading.Tasks.Task) +IL_002c: stloc.s V_4 +IL_002e: ldloca.s V_4 +IL_0030: ldc.i4.0 +IL_0031: call instance valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable [System.Runtime]System.Threading.Tasks.ValueTask::ConfigureAwait(bool) +IL_0036: call void [System.Runtime]System.Runtime.CompilerServices.AsyncHelpers::Await(valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable) +IL_003b: ldloc.1 +IL_003c: ldloc.3 +IL_003d: call class [System.Runtime]System.Threading.Tasks.Task`1 [System.Runtime]System.Threading.Tasks.Task::FromResult(!!0) +IL_0042: newobj instance void valuetype [System.Runtime]System.Threading.Tasks.ValueTask`1::.ctor(class [System.Runtime]System.Threading.Tasks.Task`1) +IL_0047: stloc.2 +IL_0048: ldloca.s V_2 +IL_004a: ldc.i4.0 +IL_004b: call instance valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1 valuetype [System.Runtime]System.Threading.Tasks.ValueTask`1::ConfigureAwait(bool) +IL_0050: call !!0 [System.Runtime]System.Runtime.CompilerServices.AsyncHelpers::Await(valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1) +IL_0055: stloc.s V_5 +IL_0057: ldloc.s V_5 +IL_0059: add +IL_005a: stloc.1 +IL_005b: ldloc.3 +IL_005c: ldc.i4.1 +IL_005d: add +IL_005e: stloc.3 +IL_005f: ldloc.3 +IL_0060: ldloc.0 +IL_0061: blt.s IL_0021 +IL_0063: ldloc.1 +IL_0064: ret +} +.method public hidebysig instance class [System.Runtime]System.Threading.Tasks.Task`1 +AsyncMethod10_WithValueTask() cil managed +{ +.maxstack 8 +IL_0000: newobj instance void Example::.ctor() +IL_0005: call class [System.Runtime]System.Threading.Tasks.Task`1 [System.Runtime]System.Threading.Tasks.Task::FromResult(!!0) +IL_000a: newobj instance void valuetype [System.Runtime]System.Threading.Tasks.ValueTask`1::.ctor(class [System.Runtime]System.Threading.Tasks.Task`1) +IL_000f: call !!0 [System.Runtime]System.Runtime.CompilerServices.AsyncHelpers::Await(valuetype [System.Runtime]System.Threading.Tasks.ValueTask`1) +IL_0014: ret +} +.method public hidebysig instance class [System.Runtime]System.Threading.Tasks.Task`1 +AsyncMethod11_WithValueTask() cil managed +{ +.maxstack 2 +.locals (valuetype [System.Private.CoreLib]System.Threading.Tasks.ValueTask`1 V_0) +IL_0000: newobj instance void Example::.ctor() +IL_0005: call class [System.Runtime]System.Threading.Tasks.Task`1 [System.Runtime]System.Threading.Tasks.Task::FromResult(!!0) +IL_000a: newobj instance void valuetype [System.Runtime]System.Threading.Tasks.ValueTask`1::.ctor(class [System.Runtime]System.Threading.Tasks.Task`1) +IL_000f: stloc.0 +IL_0010: ldloca.s V_0 +IL_0012: ldc.i4.0 +IL_0013: call instance valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1 valuetype [System.Private.CoreLib]System.Threading.Tasks.ValueTask`1::ConfigureAwait(bool) +IL_0018: call !!0 [System.Private.CoreLib]System.Runtime.CompilerServices.AsyncHelpers::Await(valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1) +IL_001d: ret +} +.method public hidebysig instance class [System.Runtime]System.Threading.Tasks.Task`1 +AsyncMethod12_WithValueTask() cil managed +{ +.maxstack 2 +.locals init (valuetype [System.Runtime]System.Threading.Tasks.ValueTask`1 V_0) +IL_0000: newobj instance void Example::.ctor() +IL_0005: call class [System.Runtime]System.Threading.Tasks.Task`1 [System.Runtime]System.Threading.Tasks.Task::FromResult(!!0) +IL_000a: newobj instance void valuetype [System.Runtime]System.Threading.Tasks.ValueTask`1::.ctor(class [System.Runtime]System.Threading.Tasks.Task`1) +IL_000f: stloc.0 +IL_0010: ldloca.s V_0 +IL_0012: ldc.i4.0 +IL_0013: call instance valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1 valuetype [System.Runtime]System.Threading.Tasks.ValueTask`1::ConfigureAwait(bool) +IL_0018: call !!0 [System.Runtime]System.Runtime.CompilerServices.AsyncHelpers::Await(valuetype [System.Runtime]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1) +IL_001d: ret +} +.method public hidebysig specialname rtspecialname +instance void .ctor() cil managed +{ +.maxstack 8 +IL_0000: ldarg.0 +IL_0001: call instance void [System.Runtime]System.Object::.ctor() +IL_0006: ret +} +} diff --git a/Tests/ModuleWeaverTests.DecompileExample.Release.Net.verified.txt b/Tests/ModuleWeaverTests.DecompileExample.Release.Net4_7.verified.txt similarity index 100% rename from Tests/ModuleWeaverTests.DecompileExample.Release.Net.verified.txt rename to Tests/ModuleWeaverTests.DecompileExample.Release.Net4_7.verified.txt diff --git a/Tests/ModuleWeaverTests.DecompileGenericClass.Core.Release.verified.txt b/Tests/ModuleWeaverTests.DecompileGenericClass.Core.Release.verified.txt deleted file mode 100644 index d36944a..0000000 --- a/Tests/ModuleWeaverTests.DecompileGenericClass.Core.Release.verified.txt +++ /dev/null @@ -1,281 +0,0 @@ -.class private auto ansi sealed beforefieldinit GenericClass`1 -extends [System.Runtime]System.Object -{ -.custom instance void System.Runtime.CompilerServices.NullableContextAttribute::.ctor(uint8) = ( 01 00 01 00 00 ) -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.param type TItem -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 02 00 00 ) -.class auto ansi sealed nested private beforefieldinit 'd__0' -extends [System.Runtime]System.ValueType -implements [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine -{ -.interfaceimpl type [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.param type TItem -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 02 00 00 ) -.field public int32 '<>1__state' -.field public valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder '<>t__builder' -.field public class [System.Runtime]System.Threading.Tasks.Task`1 itemTask -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8[]) = ( 01 00 02 00 00 00 00 01 00 00 ) -.field private valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter '<>u__1' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8[]) = ( 01 00 02 00 00 00 00 01 00 00 ) -.method private hidebysig newslot virtual final -instance void MoveNext() cil managed -{ -.override [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext -.maxstack 3 -.locals init (int32 V_0, -valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter V_1, -valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1 V_2, -class [System.Runtime]System.Exception V_3) -IL_0000: ldarg.0 -IL_0001: ldfld int32 valuetype GenericClass`1/'d__0'::'<>1__state' -IL_0006: stloc.0 -.try -{ -IL_0007: ldloc.0 -IL_0008: brfalse.s IL_0048 -IL_000a: ldarg.0 -IL_000b: ldfld class [System.Runtime]System.Threading.Tasks.Task`1 valuetype GenericClass`1/'d__0'::itemTask -IL_0010: ldc.i4.0 -IL_0011: callvirt instance valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1 class [System.Private.CoreLib]System.Threading.Tasks.Task`1::ConfigureAwait(bool) -IL_0016: stloc.2 -IL_0017: ldloca.s V_2 -IL_0019: call instance valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1::GetAwaiter() -IL_001e: stloc.1 -IL_001f: ldloca.s V_1 -IL_0021: call instance bool valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter::get_IsCompleted() -IL_0026: brtrue.s IL_0064 -IL_0028: ldarg.0 -IL_0029: ldc.i4.0 -IL_002a: dup -IL_002b: stloc.0 -IL_002c: stfld int32 valuetype GenericClass`1/'d__0'::'<>1__state' -IL_0031: ldarg.0 -IL_0032: ldloc.1 -IL_0033: stfld valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter valuetype GenericClass`1/'d__0'::'<>u__1' -IL_0038: ldarg.0 -IL_0039: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder valuetype GenericClass`1/'d__0'::'<>t__builder' -IL_003e: ldloca.s V_1 -IL_0040: ldarg.0 -IL_0041: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::AwaitUnsafeOnCompleted,valuetype GenericClass`1/'d__0'>(!!0&, -!!1&) -IL_0046: leave.s IL_0098 -IL_0048: ldarg.0 -IL_0049: ldfld valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter valuetype GenericClass`1/'d__0'::'<>u__1' -IL_004e: stloc.1 -IL_004f: ldarg.0 -IL_0050: ldflda valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter valuetype GenericClass`1/'d__0'::'<>u__1' -IL_0055: initobj valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter -IL_005b: ldarg.0 -IL_005c: ldc.i4.m1 -IL_005d: dup -IL_005e: stloc.0 -IL_005f: stfld int32 valuetype GenericClass`1/'d__0'::'<>1__state' -IL_0064: ldloca.s V_1 -IL_0066: call instance !0 valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter::GetResult() -IL_006b: pop -IL_006c: leave.s IL_0085 -} // end .try -catch [System.Runtime]System.Exception -{ -IL_006e: stloc.3 -IL_006f: ldarg.0 -IL_0070: ldc.i4.s -2 -IL_0072: stfld int32 valuetype GenericClass`1/'d__0'::'<>1__state' -IL_0077: ldarg.0 -IL_0078: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder valuetype GenericClass`1/'d__0'::'<>t__builder' -IL_007d: ldloc.3 -IL_007e: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetException(class [System.Runtime]System.Exception) -IL_0083: leave.s IL_0098 -} // end handler -IL_0085: ldarg.0 -IL_0086: ldc.i4.s -2 -IL_0088: stfld int32 valuetype GenericClass`1/'d__0'::'<>1__state' -IL_008d: ldarg.0 -IL_008e: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder valuetype GenericClass`1/'d__0'::'<>t__builder' -IL_0093: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetResult() -IL_0098: ret -} -.method private hidebysig newslot virtual final -instance void SetStateMachine(class [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed -{ -.param [1] -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.override [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine -.maxstack 8 -IL_0000: ldarg.0 -IL_0001: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder valuetype GenericClass`1/'d__0'::'<>t__builder' -IL_0006: ldarg.1 -IL_0007: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetStateMachine(class [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine) -IL_000c: ret -} -} -.class auto ansi sealed nested private beforefieldinit 'd__1' -extends [System.Runtime]System.ValueType -implements [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine -{ -.interfaceimpl type [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.param type TItem -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 02 00 00 ) -.field public int32 '<>1__state' -.field public valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder '<>t__builder' -.field public class [System.Runtime]System.Threading.Tasks.Task`1 itemTask -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8[]) = ( 01 00 02 00 00 00 00 01 00 00 ) -.field private valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1/ConfiguredValueTaskAwaiter '<>u__1' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8[]) = ( 01 00 02 00 00 00 00 01 00 00 ) -.method private hidebysig newslot virtual final -instance void MoveNext() cil managed -{ -.override [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext -.maxstack 3 -.locals init (int32 V_0, -valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1/ConfiguredValueTaskAwaiter V_1, -valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1 V_2, -valuetype [System.Threading.Tasks.Extensions]System.Threading.Tasks.ValueTask`1 V_3, -class [System.Runtime]System.Exception V_4) -IL_0000: ldarg.0 -IL_0001: ldfld int32 valuetype GenericClass`1/'d__1'::'<>1__state' -IL_0006: stloc.0 -.try -{ -IL_0007: ldloc.0 -IL_0008: brfalse.s IL_0050 -IL_000a: ldarg.0 -IL_000b: ldfld class [System.Runtime]System.Threading.Tasks.Task`1 valuetype GenericClass`1/'d__1'::itemTask -IL_0010: call instance void valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1::.ctor(valuetype [System.Private.CoreLib]System.Threading.Tasks.ValueTask`1&) -IL_0015: stloc.3 -IL_0016: ldloca.s V_3 -IL_0018: ldc.i4.0 -IL_0019: callvirt instance valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1 valuetype [System.Private.CoreLib]System.Threading.Tasks.ValueTask`1::ConfigureAwait(bool) -IL_001e: stloc.2 -IL_001f: ldloca.s V_2 -IL_0021: call instance valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1/ConfiguredValueTaskAwaiter valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1::GetAwaiter() -IL_0026: stloc.1 -IL_0027: ldloca.s V_1 -IL_0029: call instance bool valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1/ConfiguredValueTaskAwaiter::get_IsCompleted() -IL_002e: brtrue.s IL_006c -IL_0030: ldarg.0 -IL_0031: ldc.i4.0 -IL_0032: dup -IL_0033: stloc.0 -IL_0034: stfld int32 valuetype GenericClass`1/'d__1'::'<>1__state' -IL_0039: ldarg.0 -IL_003a: ldloc.1 -IL_003b: stfld valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1/ConfiguredValueTaskAwaiter valuetype GenericClass`1/'d__1'::'<>u__1' -IL_0040: ldarg.0 -IL_0041: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder valuetype GenericClass`1/'d__1'::'<>t__builder' -IL_0046: ldloca.s V_1 -IL_0048: ldarg.0 -IL_0049: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::AwaitUnsafeOnCompleted,valuetype GenericClass`1/'d__1'>(!!0&, -!!1&) -IL_004e: leave.s IL_00a2 -IL_0050: ldarg.0 -IL_0051: ldfld valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1/ConfiguredValueTaskAwaiter valuetype GenericClass`1/'d__1'::'<>u__1' -IL_0056: stloc.1 -IL_0057: ldarg.0 -IL_0058: ldflda valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1/ConfiguredValueTaskAwaiter valuetype GenericClass`1/'d__1'::'<>u__1' -IL_005d: initobj valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1/ConfiguredValueTaskAwaiter -IL_0063: ldarg.0 -IL_0064: ldc.i4.m1 -IL_0065: dup -IL_0066: stloc.0 -IL_0067: stfld int32 valuetype GenericClass`1/'d__1'::'<>1__state' -IL_006c: ldloca.s V_1 -IL_006e: call instance !0 valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1/ConfiguredValueTaskAwaiter::GetResult() -IL_0073: pop -IL_0074: leave.s IL_008f -} // end .try -catch [System.Runtime]System.Exception -{ -IL_0076: stloc.s V_4 -IL_0078: ldarg.0 -IL_0079: ldc.i4.s -2 -IL_007b: stfld int32 valuetype GenericClass`1/'d__1'::'<>1__state' -IL_0080: ldarg.0 -IL_0081: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder valuetype GenericClass`1/'d__1'::'<>t__builder' -IL_0086: ldloc.s V_4 -IL_0088: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetException(class [System.Runtime]System.Exception) -IL_008d: leave.s IL_00a2 -} // end handler -IL_008f: ldarg.0 -IL_0090: ldc.i4.s -2 -IL_0092: stfld int32 valuetype GenericClass`1/'d__1'::'<>1__state' -IL_0097: ldarg.0 -IL_0098: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder valuetype GenericClass`1/'d__1'::'<>t__builder' -IL_009d: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetResult() -IL_00a2: ret -} -.method private hidebysig newslot virtual final -instance void SetStateMachine(class [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed -{ -.param [1] -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.override [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine -.maxstack 8 -IL_0000: ldarg.0 -IL_0001: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder valuetype GenericClass`1/'d__1'::'<>t__builder' -IL_0006: ldarg.1 -IL_0007: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetStateMachine(class [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine) -IL_000c: ret -} -} -.method public hidebysig instance class [System.Runtime]System.Threading.Tasks.Task -Method(class [System.Runtime]System.Threading.Tasks.Task`1 itemTask) cil managed -{ -31 2B 3C 4D 65 74 68 6F 64 3E 64 5F 5F 30 00 00 ) // 1+d__0.. -.maxstack 2 -.locals init (valuetype GenericClass`1/'d__0' V_0) -IL_0000: ldloca.s V_0 -IL_0002: call valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Create() -IL_0007: stfld valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder valuetype GenericClass`1/'d__0'::'<>t__builder' -IL_000c: ldloca.s V_0 -IL_000e: ldarg.1 -IL_000f: stfld class [System.Runtime]System.Threading.Tasks.Task`1 valuetype GenericClass`1/'d__0'::itemTask -IL_0014: ldloca.s V_0 -IL_0016: ldc.i4.m1 -IL_0017: stfld int32 valuetype GenericClass`1/'d__0'::'<>1__state' -IL_001c: ldloca.s V_0 -IL_001e: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder valuetype GenericClass`1/'d__0'::'<>t__builder' -IL_0023: ldloca.s V_0 -IL_0025: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Startd__0'>(!!0&) -IL_002a: ldloca.s V_0 -IL_002c: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder valuetype GenericClass`1/'d__0'::'<>t__builder' -IL_0031: call instance class [System.Runtime]System.Threading.Tasks.Task [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::get_Task() -IL_0036: ret -} -.method public hidebysig instance class [System.Runtime]System.Threading.Tasks.Task -Method_WithValueTask(class [System.Runtime]System.Threading.Tasks.Task`1 itemTask) cil managed -{ -31 2B 3C 4D 65 74 68 6F 64 5F 57 69 74 68 56 61 // 1+d__1.. -.maxstack 2 -.locals init (valuetype GenericClass`1/'d__1' V_0) -IL_0000: ldloca.s V_0 -IL_0002: call valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Create() -IL_0007: stfld valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder valuetype GenericClass`1/'d__1'::'<>t__builder' -IL_000c: ldloca.s V_0 -IL_000e: ldarg.1 -IL_000f: stfld class [System.Runtime]System.Threading.Tasks.Task`1 valuetype GenericClass`1/'d__1'::itemTask -IL_0014: ldloca.s V_0 -IL_0016: ldc.i4.m1 -IL_0017: stfld int32 valuetype GenericClass`1/'d__1'::'<>1__state' -IL_001c: ldloca.s V_0 -IL_001e: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder valuetype GenericClass`1/'d__1'::'<>t__builder' -IL_0023: ldloca.s V_0 -IL_0025: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Startd__1'>(!!0&) -IL_002a: ldloca.s V_0 -IL_002c: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder valuetype GenericClass`1/'d__1'::'<>t__builder' -IL_0031: call instance class [System.Runtime]System.Threading.Tasks.Task [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::get_Task() -IL_0036: ret -} -.method public hidebysig specialname rtspecialname -instance void .ctor() cil managed -{ -.maxstack 8 -IL_0000: ldarg.0 -IL_0001: call instance void [System.Runtime]System.Object::.ctor() -IL_0006: ret -} -} diff --git a/Tests/ModuleWeaverTests.DecompileGenericClass.Debug.Core.verified.txt b/Tests/ModuleWeaverTests.DecompileGenericClass.Debug.Core.verified.txt deleted file mode 100644 index 2c5baf5..0000000 --- a/Tests/ModuleWeaverTests.DecompileGenericClass.Debug.Core.verified.txt +++ /dev/null @@ -1,360 +0,0 @@ -.class private auto ansi sealed beforefieldinit GenericClass`1 -extends [System.Runtime]System.Object -{ -.custom instance void System.Runtime.CompilerServices.NullableContextAttribute::.ctor(uint8) = ( 01 00 01 00 00 ) -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.param type TItem -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 02 00 00 ) -.class auto ansi sealed nested private beforefieldinit 'd__0' -extends [System.Runtime]System.Object -implements [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine -{ -.interfaceimpl type [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.param type TItem -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 02 00 00 ) -.field public int32 '<>1__state' -.field public valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder '<>t__builder' -.field public class [System.Runtime]System.Threading.Tasks.Task`1 itemTask -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8[]) = ( 01 00 02 00 00 00 00 01 00 00 ) -.field public class GenericClass`1 '<>4__this' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field private !TItem '5__1' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field private !TItem '<>s__2' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field private valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter '<>u__1' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8[]) = ( 01 00 02 00 00 00 00 01 00 00 ) -.method public hidebysig specialname rtspecialname -instance void .ctor() cil managed -{ -.maxstack 8 -IL_0000: ldarg.0 -IL_0001: call instance void [System.Runtime]System.Object::.ctor() -IL_0006: nop -IL_0007: ret -} -.method private hidebysig newslot virtual final -instance void MoveNext() cil managed -{ -.override [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext -.maxstack 3 -.locals init (int32 V_0, -valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter V_1, -valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1 V_2, -class GenericClass`1/'d__0' V_3, -class [System.Runtime]System.Exception V_4) -IL_0000: ldarg.0 -IL_0001: ldfld int32 class GenericClass`1/'d__0'::'<>1__state' -IL_0006: stloc.0 -.try -{ -IL_0007: ldloc.0 -IL_0008: brfalse.s IL_000c -IL_000a: br.s IL_000e -IL_000c: br.s IL_0054 -IL_000e: nop -IL_000f: ldarg.0 -IL_0010: ldfld class [System.Runtime]System.Threading.Tasks.Task`1 class GenericClass`1/'d__0'::itemTask -IL_0015: ldc.i4.0 -IL_0016: callvirt instance valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1 class [System.Private.CoreLib]System.Threading.Tasks.Task`1::ConfigureAwait(bool) -IL_001b: stloc.2 -IL_001c: ldloca.s V_2 -IL_001e: call instance valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1::GetAwaiter() -IL_0023: stloc.1 -IL_0024: ldloca.s V_1 -IL_0026: call instance bool valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter::get_IsCompleted() -IL_002b: brtrue.s IL_0070 -IL_002d: ldarg.0 -IL_002e: ldc.i4.0 -IL_002f: dup -IL_0030: stloc.0 -IL_0031: stfld int32 class GenericClass`1/'d__0'::'<>1__state' -IL_0036: ldarg.0 -IL_0037: ldloc.1 -IL_0038: stfld valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter class GenericClass`1/'d__0'::'<>u__1' -IL_003d: ldarg.0 -IL_003e: stloc.3 -IL_003f: ldarg.0 -IL_0040: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder class GenericClass`1/'d__0'::'<>t__builder' -IL_0045: ldloca.s V_1 -IL_0047: ldloca.s V_3 -IL_0049: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::AwaitUnsafeOnCompleted,class GenericClass`1/'d__0'>(!!0&, -!!1&) -IL_004e: nop -IL_004f: leave IL_00dd -IL_0054: ldarg.0 -IL_0055: ldfld valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter class GenericClass`1/'d__0'::'<>u__1' -IL_005a: stloc.1 -IL_005b: ldarg.0 -IL_005c: ldflda valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter class GenericClass`1/'d__0'::'<>u__1' -IL_0061: initobj valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter -IL_0067: ldarg.0 -IL_0068: ldc.i4.m1 -IL_0069: dup -IL_006a: stloc.0 -IL_006b: stfld int32 class GenericClass`1/'d__0'::'<>1__state' -IL_0070: ldarg.0 -IL_0071: ldloca.s V_1 -IL_0073: call instance !0 valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter::GetResult() -IL_0078: stfld !0 class GenericClass`1/'d__0'::'<>s__2' -IL_007d: ldarg.0 -IL_007e: ldarg.0 -IL_007f: ldfld !0 class GenericClass`1/'d__0'::'<>s__2' -IL_0084: stfld !0 class GenericClass`1/'d__0'::'5__1' -IL_0089: ldarg.0 -IL_008a: ldflda !0 class GenericClass`1/'d__0'::'<>s__2' -IL_008f: initobj !TItem -IL_0095: leave.s IL_00bd -} // end .try -catch [System.Runtime]System.Exception -{ -IL_0097: stloc.s V_4 -IL_0099: ldarg.0 -IL_009a: ldc.i4.s -2 -IL_009c: stfld int32 class GenericClass`1/'d__0'::'<>1__state' -IL_00a1: ldarg.0 -IL_00a2: ldflda !0 class GenericClass`1/'d__0'::'5__1' -IL_00a7: initobj !TItem -IL_00ad: ldarg.0 -IL_00ae: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder class GenericClass`1/'d__0'::'<>t__builder' -IL_00b3: ldloc.s V_4 -IL_00b5: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetException(class [System.Runtime]System.Exception) -IL_00ba: nop -IL_00bb: leave.s IL_00dd -} // end handler -IL_00bd: ldarg.0 -IL_00be: ldc.i4.s -2 -IL_00c0: stfld int32 class GenericClass`1/'d__0'::'<>1__state' -IL_00c5: ldarg.0 -IL_00c6: ldflda !0 class GenericClass`1/'d__0'::'5__1' -IL_00cb: initobj !TItem -IL_00d1: ldarg.0 -IL_00d2: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder class GenericClass`1/'d__0'::'<>t__builder' -IL_00d7: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetResult() -IL_00dc: nop -IL_00dd: ret -} -.method private hidebysig newslot virtual final -instance void SetStateMachine(class [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed -{ -.param [1] -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.override [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine -.maxstack 8 -IL_0000: ret -} -} -.class auto ansi sealed nested private beforefieldinit 'd__1' -extends [System.Runtime]System.Object -implements [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine -{ -.interfaceimpl type [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.param type TItem -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 02 00 00 ) -.field public int32 '<>1__state' -.field public valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder '<>t__builder' -.field public class [System.Runtime]System.Threading.Tasks.Task`1 itemTask -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8[]) = ( 01 00 02 00 00 00 00 01 00 00 ) -.field public class GenericClass`1 '<>4__this' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field private !TItem '5__1' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field private !TItem '<>s__2' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field private valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1/ConfiguredValueTaskAwaiter '<>u__1' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8[]) = ( 01 00 02 00 00 00 00 01 00 00 ) -.method public hidebysig specialname rtspecialname -instance void .ctor() cil managed -{ -.maxstack 8 -IL_0000: ldarg.0 -IL_0001: call instance void [System.Runtime]System.Object::.ctor() -IL_0006: nop -IL_0007: ret -} -.method private hidebysig newslot virtual final -instance void MoveNext() cil managed -{ -.override [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext -.maxstack 3 -.locals init (int32 V_0, -valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1/ConfiguredValueTaskAwaiter V_1, -valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1 V_2, -valuetype [System.Threading.Tasks.Extensions]System.Threading.Tasks.ValueTask`1 V_3, -class GenericClass`1/'d__1' V_4, -class [System.Runtime]System.Exception V_5) -IL_0000: ldarg.0 -IL_0001: ldfld int32 class GenericClass`1/'d__1'::'<>1__state' -IL_0006: stloc.0 -.try -{ -IL_0007: ldloc.0 -IL_0008: brfalse.s IL_000c -IL_000a: br.s IL_000e -IL_000c: br.s IL_005d -IL_000e: nop -IL_000f: ldarg.0 -IL_0010: ldfld class [System.Runtime]System.Threading.Tasks.Task`1 class GenericClass`1/'d__1'::itemTask -IL_0015: call instance void valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1::.ctor(valuetype [System.Private.CoreLib]System.Threading.Tasks.ValueTask`1&) -IL_001a: stloc.3 -IL_001b: ldloca.s V_3 -IL_001d: ldc.i4.0 -IL_001e: callvirt instance valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1 valuetype [System.Private.CoreLib]System.Threading.Tasks.ValueTask`1::ConfigureAwait(bool) -IL_0023: stloc.2 -IL_0024: ldloca.s V_2 -IL_0026: call instance valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1/ConfiguredValueTaskAwaiter valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1::GetAwaiter() -IL_002b: stloc.1 -IL_002c: ldloca.s V_1 -IL_002e: call instance bool valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1/ConfiguredValueTaskAwaiter::get_IsCompleted() -IL_0033: brtrue.s IL_0079 -IL_0035: ldarg.0 -IL_0036: ldc.i4.0 -IL_0037: dup -IL_0038: stloc.0 -IL_0039: stfld int32 class GenericClass`1/'d__1'::'<>1__state' -IL_003e: ldarg.0 -IL_003f: ldloc.1 -IL_0040: stfld valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1/ConfiguredValueTaskAwaiter class GenericClass`1/'d__1'::'<>u__1' -IL_0045: ldarg.0 -IL_0046: stloc.s V_4 -IL_0048: ldarg.0 -IL_0049: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder class GenericClass`1/'d__1'::'<>t__builder' -IL_004e: ldloca.s V_1 -IL_0050: ldloca.s V_4 -IL_0052: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::AwaitUnsafeOnCompleted,class GenericClass`1/'d__1'>(!!0&, -!!1&) -IL_0057: nop -IL_0058: leave IL_00e6 -IL_005d: ldarg.0 -IL_005e: ldfld valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1/ConfiguredValueTaskAwaiter class GenericClass`1/'d__1'::'<>u__1' -IL_0063: stloc.1 -IL_0064: ldarg.0 -IL_0065: ldflda valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1/ConfiguredValueTaskAwaiter class GenericClass`1/'d__1'::'<>u__1' -IL_006a: initobj valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1/ConfiguredValueTaskAwaiter -IL_0070: ldarg.0 -IL_0071: ldc.i4.m1 -IL_0072: dup -IL_0073: stloc.0 -IL_0074: stfld int32 class GenericClass`1/'d__1'::'<>1__state' -IL_0079: ldarg.0 -IL_007a: ldloca.s V_1 -IL_007c: call instance !0 valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1/ConfiguredValueTaskAwaiter::GetResult() -IL_0081: stfld !0 class GenericClass`1/'d__1'::'<>s__2' -IL_0086: ldarg.0 -IL_0087: ldarg.0 -IL_0088: ldfld !0 class GenericClass`1/'d__1'::'<>s__2' -IL_008d: stfld !0 class GenericClass`1/'d__1'::'5__1' -IL_0092: ldarg.0 -IL_0093: ldflda !0 class GenericClass`1/'d__1'::'<>s__2' -IL_0098: initobj !TItem -IL_009e: leave.s IL_00c6 -} // end .try -catch [System.Runtime]System.Exception -{ -IL_00a0: stloc.s V_5 -IL_00a2: ldarg.0 -IL_00a3: ldc.i4.s -2 -IL_00a5: stfld int32 class GenericClass`1/'d__1'::'<>1__state' -IL_00aa: ldarg.0 -IL_00ab: ldflda !0 class GenericClass`1/'d__1'::'5__1' -IL_00b0: initobj !TItem -IL_00b6: ldarg.0 -IL_00b7: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder class GenericClass`1/'d__1'::'<>t__builder' -IL_00bc: ldloc.s V_5 -IL_00be: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetException(class [System.Runtime]System.Exception) -IL_00c3: nop -IL_00c4: leave.s IL_00e6 -} // end handler -IL_00c6: ldarg.0 -IL_00c7: ldc.i4.s -2 -IL_00c9: stfld int32 class GenericClass`1/'d__1'::'<>1__state' -IL_00ce: ldarg.0 -IL_00cf: ldflda !0 class GenericClass`1/'d__1'::'5__1' -IL_00d4: initobj !TItem -IL_00da: ldarg.0 -IL_00db: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder class GenericClass`1/'d__1'::'<>t__builder' -IL_00e0: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetResult() -IL_00e5: nop -IL_00e6: ret -} -.method private hidebysig newslot virtual final -instance void SetStateMachine(class [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed -{ -.param [1] -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.override [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine -.maxstack 8 -IL_0000: ret -} -} -.method public hidebysig instance class [System.Runtime]System.Threading.Tasks.Task -Method(class [System.Runtime]System.Threading.Tasks.Task`1 itemTask) cil managed -{ -31 2B 3C 4D 65 74 68 6F 64 3E 64 5F 5F 30 00 00 ) // 1+d__0.. -.maxstack 2 -.locals init (class GenericClass`1/'d__0' V_0) -IL_0000: newobj instance void class GenericClass`1/'d__0'::.ctor() -IL_0005: stloc.0 -IL_0006: ldloc.0 -IL_0007: call valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Create() -IL_000c: stfld valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder class GenericClass`1/'d__0'::'<>t__builder' -IL_0011: ldloc.0 -IL_0012: ldarg.0 -IL_0013: stfld class GenericClass`1 class GenericClass`1/'d__0'::'<>4__this' -IL_0018: ldloc.0 -IL_0019: ldarg.1 -IL_001a: stfld class [System.Runtime]System.Threading.Tasks.Task`1 class GenericClass`1/'d__0'::itemTask -IL_001f: ldloc.0 -IL_0020: ldc.i4.m1 -IL_0021: stfld int32 class GenericClass`1/'d__0'::'<>1__state' -IL_0026: ldloc.0 -IL_0027: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder class GenericClass`1/'d__0'::'<>t__builder' -IL_002c: ldloca.s V_0 -IL_002e: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Startd__0'>(!!0&) -IL_0033: ldloc.0 -IL_0034: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder class GenericClass`1/'d__0'::'<>t__builder' -IL_0039: call instance class [System.Runtime]System.Threading.Tasks.Task [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::get_Task() -IL_003e: ret -} -.method public hidebysig instance class [System.Runtime]System.Threading.Tasks.Task -Method_WithValueTask(class [System.Runtime]System.Threading.Tasks.Task`1 itemTask) cil managed -{ -31 2B 3C 4D 65 74 68 6F 64 5F 57 69 74 68 56 61 // 1+d__1.. -.maxstack 2 -.locals init (class GenericClass`1/'d__1' V_0) -IL_0000: newobj instance void class GenericClass`1/'d__1'::.ctor() -IL_0005: stloc.0 -IL_0006: ldloc.0 -IL_0007: call valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Create() -IL_000c: stfld valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder class GenericClass`1/'d__1'::'<>t__builder' -IL_0011: ldloc.0 -IL_0012: ldarg.0 -IL_0013: stfld class GenericClass`1 class GenericClass`1/'d__1'::'<>4__this' -IL_0018: ldloc.0 -IL_0019: ldarg.1 -IL_001a: stfld class [System.Runtime]System.Threading.Tasks.Task`1 class GenericClass`1/'d__1'::itemTask -IL_001f: ldloc.0 -IL_0020: ldc.i4.m1 -IL_0021: stfld int32 class GenericClass`1/'d__1'::'<>1__state' -IL_0026: ldloc.0 -IL_0027: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder class GenericClass`1/'d__1'::'<>t__builder' -IL_002c: ldloca.s V_0 -IL_002e: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Startd__1'>(!!0&) -IL_0033: ldloc.0 -IL_0034: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder class GenericClass`1/'d__1'::'<>t__builder' -IL_0039: call instance class [System.Runtime]System.Threading.Tasks.Task [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::get_Task() -IL_003e: ret -} -.method public hidebysig specialname rtspecialname -instance void .ctor() cil managed -{ -.maxstack 8 -IL_0000: ldarg.0 -IL_0001: call instance void [System.Runtime]System.Object::.ctor() -IL_0006: nop -IL_0007: ret -} -} diff --git a/Tests/ModuleWeaverTests.DecompileGenericClass.Debug.DotNet.verified.txt b/Tests/ModuleWeaverTests.DecompileGenericClass.Debug.DotNet.verified.txt deleted file mode 100644 index 102b136..0000000 --- a/Tests/ModuleWeaverTests.DecompileGenericClass.Debug.DotNet.verified.txt +++ /dev/null @@ -1,180 +0,0 @@ -.class private auto ansi sealed beforefieldinit GenericClass`1 -extends [System.Runtime]System.Object -{ -.param type TItem -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 02 00 00 ) -.class auto ansi sealed nested private beforefieldinit 'd__0' -extends [System.Runtime]System.Object -implements [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine -{ -.param type TItem -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 02 00 00 ) -.field public int32 '<>1__state' -.field public valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder '<>t__builder' -.field public class [System.Runtime]System.Threading.Tasks.Task`1 itemTask -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8[]) = ( 01 00 02 00 00 00 00 01 00 00 ) -.field public class GenericClass`1 '<>4__this' -.field private !TItem '5__1' -.field private !TItem '<>s__2' -.field private valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter '<>u__1' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8[]) = ( 01 00 02 00 00 00 00 01 00 00 ) -.method public hidebysig specialname rtspecialname -instance void .ctor() cil managed -{ -.maxstack 8 -IL_0000: ldarg.0 -IL_0001: call instance void [System.Runtime]System.Object::.ctor() -IL_0006: nop -IL_0007: ret -} -.method private hidebysig newslot virtual final -instance void MoveNext() cil managed -{ -.override [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext -.maxstack 3 -.locals init (int32 V_0, -valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter V_1, -valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1 V_2, -class GenericClass`1/'d__0' V_3, -class [System.Runtime]System.Exception V_4) -IL_0000: ldarg.0 -IL_0001: ldfld int32 class GenericClass`1/'d__0'::'<>1__state' -IL_0006: stloc.0 -.try -{ -IL_0007: ldloc.0 -IL_0008: brfalse.s IL_000c -IL_000a: br.s IL_000e -IL_000c: br.s IL_0054 -IL_000e: nop -IL_000f: ldarg.0 -IL_0010: ldfld class [System.Runtime]System.Threading.Tasks.Task`1 class GenericClass`1/'d__0'::itemTask -IL_0015: ldc.i4.0 -IL_0016: callvirt instance valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1 class [System.Private.CoreLib]System.Threading.Tasks.Task`1::ConfigureAwait(bool) -IL_001b: stloc.2 -IL_001c: ldloca.s V_2 -IL_001e: call instance valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1::GetAwaiter() -IL_0023: stloc.1 -IL_0024: ldloca.s V_1 -IL_0026: call instance bool valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter::get_IsCompleted() -IL_002b: brtrue.s IL_0070 -IL_002d: ldarg.0 -IL_002e: ldc.i4.0 -IL_002f: dup -IL_0030: stloc.0 -IL_0031: stfld int32 class GenericClass`1/'d__0'::'<>1__state' -IL_0036: ldarg.0 -IL_0037: ldloc.1 -IL_0038: stfld valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter class GenericClass`1/'d__0'::'<>u__1' -IL_003d: ldarg.0 -IL_003e: stloc.3 -IL_003f: ldarg.0 -IL_0040: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder class GenericClass`1/'d__0'::'<>t__builder' -IL_0045: ldloca.s V_1 -IL_0047: ldloca.s V_3 -IL_0049: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::AwaitUnsafeOnCompleted,class GenericClass`1/'d__0'>(!!0&, -!!1&) -IL_004e: nop -IL_004f: leave IL_00dd -IL_0054: ldarg.0 -IL_0055: ldfld valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter class GenericClass`1/'d__0'::'<>u__1' -IL_005a: stloc.1 -IL_005b: ldarg.0 -IL_005c: ldflda valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter class GenericClass`1/'d__0'::'<>u__1' -IL_0061: initobj valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter -IL_0067: ldarg.0 -IL_0068: ldc.i4.m1 -IL_0069: dup -IL_006a: stloc.0 -IL_006b: stfld int32 class GenericClass`1/'d__0'::'<>1__state' -IL_0070: ldarg.0 -IL_0071: ldloca.s V_1 -IL_0073: call instance !0 valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter::GetResult() -IL_0078: stfld !0 class GenericClass`1/'d__0'::'<>s__2' -IL_007d: ldarg.0 -IL_007e: ldarg.0 -IL_007f: ldfld !0 class GenericClass`1/'d__0'::'<>s__2' -IL_0084: stfld !0 class GenericClass`1/'d__0'::'5__1' -IL_0089: ldarg.0 -IL_008a: ldflda !0 class GenericClass`1/'d__0'::'<>s__2' -IL_008f: initobj !TItem -IL_0095: leave.s IL_00bd -} // end .try -catch [System.Runtime]System.Exception -{ -IL_0097: stloc.s V_4 -IL_0099: ldarg.0 -IL_009a: ldc.i4.s -2 -IL_009c: stfld int32 class GenericClass`1/'d__0'::'<>1__state' -IL_00a1: ldarg.0 -IL_00a2: ldflda !0 class GenericClass`1/'d__0'::'5__1' -IL_00a7: initobj !TItem -IL_00ad: ldarg.0 -IL_00ae: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder class GenericClass`1/'d__0'::'<>t__builder' -IL_00b3: ldloc.s V_4 -IL_00b5: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetException(class [System.Runtime]System.Exception) -IL_00ba: nop -IL_00bb: leave.s IL_00dd -} // end handler -IL_00bd: ldarg.0 -IL_00be: ldc.i4.s -2 -IL_00c0: stfld int32 class GenericClass`1/'d__0'::'<>1__state' -IL_00c5: ldarg.0 -IL_00c6: ldflda !0 class GenericClass`1/'d__0'::'5__1' -IL_00cb: initobj !TItem -IL_00d1: ldarg.0 -IL_00d2: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder class GenericClass`1/'d__0'::'<>t__builder' -IL_00d7: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetResult() -IL_00dc: nop -IL_00dd: ret -} -.method private hidebysig newslot virtual final -instance void SetStateMachine(class [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed -{ -.param [1] -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 01 00 00 ) -.override [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine -.maxstack 8 -IL_0000: ret -} -} -.method public hidebysig instance class [System.Runtime]System.Threading.Tasks.Task -Method(class [System.Runtime]System.Threading.Tasks.Task`1 itemTask) cil managed -{ -.custom instance void System.Runtime.CompilerServices.NullableContextAttribute::.ctor(uint8) = ( 01 00 01 00 00 ) -31 2B 3C 4D 65 74 68 6F 64 3E 64 5F 5F 30 00 00 ) // 1+d__0.. -.maxstack 2 -.locals init (class GenericClass`1/'d__0' V_0) -IL_0000: newobj instance void class GenericClass`1/'d__0'::.ctor() -IL_0005: stloc.0 -IL_0006: ldloc.0 -IL_0007: call valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Create() -IL_000c: stfld valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder class GenericClass`1/'d__0'::'<>t__builder' -IL_0011: ldloc.0 -IL_0012: ldarg.0 -IL_0013: stfld class GenericClass`1 class GenericClass`1/'d__0'::'<>4__this' -IL_0018: ldloc.0 -IL_0019: ldarg.1 -IL_001a: stfld class [System.Runtime]System.Threading.Tasks.Task`1 class GenericClass`1/'d__0'::itemTask -IL_001f: ldloc.0 -IL_0020: ldc.i4.m1 -IL_0021: stfld int32 class GenericClass`1/'d__0'::'<>1__state' -IL_0026: ldloc.0 -IL_0027: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder class GenericClass`1/'d__0'::'<>t__builder' -IL_002c: ldloca.s V_0 -IL_002e: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Startd__0'>(!!0&) -IL_0033: ldloc.0 -IL_0034: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder class GenericClass`1/'d__0'::'<>t__builder' -IL_0039: call instance class [System.Runtime]System.Threading.Tasks.Task [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::get_Task() -IL_003e: ret -} -.method public hidebysig specialname rtspecialname -instance void .ctor() cil managed -{ -.maxstack 8 -IL_0000: ldarg.0 -IL_0001: call instance void [System.Runtime]System.Object::.ctor() -IL_0006: nop -IL_0007: ret -} -} diff --git a/Tests/ModuleWeaverTests.DecompileGenericClass.Core.Debug.verified.txt b/Tests/ModuleWeaverTests.DecompileGenericClass.Debug.DotNet10_0.verified.txt similarity index 62% rename from Tests/ModuleWeaverTests.DecompileGenericClass.Core.Debug.verified.txt rename to Tests/ModuleWeaverTests.DecompileGenericClass.Debug.DotNet10_0.verified.txt index 2c5baf5..5453af9 100644 --- a/Tests/ModuleWeaverTests.DecompileGenericClass.Core.Debug.verified.txt +++ b/Tests/ModuleWeaverTests.DecompileGenericClass.Debug.DotNet10_0.verified.txt @@ -1,30 +1,20 @@ .class private auto ansi sealed beforefieldinit GenericClass`1 extends [System.Runtime]System.Object { -.custom instance void System.Runtime.CompilerServices.NullableContextAttribute::.ctor(uint8) = ( 01 00 01 00 00 ) -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) .param type TItem -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 02 00 00 ) .class auto ansi sealed nested private beforefieldinit 'd__0' extends [System.Runtime]System.Object -implements [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine +implements [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine { -.interfaceimpl type [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) +.interfaceimpl type [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine .param type TItem -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 02 00 00 ) .field public int32 '<>1__state' -.field public valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder '<>t__builder' +.field public valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder '<>t__builder' .field public class [System.Runtime]System.Threading.Tasks.Task`1 itemTask -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8[]) = ( 01 00 02 00 00 00 00 01 00 00 ) .field public class GenericClass`1 '<>4__this' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) .field private !TItem '5__1' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) .field private !TItem '<>s__2' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) .field private valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter '<>u__1' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8[]) = ( 01 00 02 00 00 00 00 01 00 00 ) .method public hidebysig specialname rtspecialname instance void .ctor() cil managed { @@ -37,7 +27,7 @@ IL_0007: ret .method private hidebysig newslot virtual final instance void MoveNext() cil managed { -.override [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext +.override [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext .maxstack 3 .locals init (int32 V_0, valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter V_1, @@ -76,10 +66,10 @@ IL_0038: stfld valuetype [System.Private.CoreLib]System.Runtime.CompilerSe IL_003d: ldarg.0 IL_003e: stloc.3 IL_003f: ldarg.0 -IL_0040: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder class GenericClass`1/'d__0'::'<>t__builder' +IL_0040: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder class GenericClass`1/'d__0'::'<>t__builder' IL_0045: ldloca.s V_1 IL_0047: ldloca.s V_3 -IL_0049: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::AwaitUnsafeOnCompleted,class GenericClass`1/'d__0'>(!!0&, +IL_0049: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::AwaitUnsafeOnCompleted,class GenericClass`1/'d__0'>(!!0&, !!1&) IL_004e: nop IL_004f: leave IL_00dd @@ -117,9 +107,9 @@ IL_00a1: ldarg.0 IL_00a2: ldflda !0 class GenericClass`1/'d__0'::'5__1' IL_00a7: initobj !TItem IL_00ad: ldarg.0 -IL_00ae: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder class GenericClass`1/'d__0'::'<>t__builder' +IL_00ae: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder class GenericClass`1/'d__0'::'<>t__builder' IL_00b3: ldloc.s V_4 -IL_00b5: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetException(class [System.Runtime]System.Exception) +IL_00b5: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetException(class [System.Runtime]System.Exception) IL_00ba: nop IL_00bb: leave.s IL_00dd } // end handler @@ -130,41 +120,32 @@ IL_00c5: ldarg.0 IL_00c6: ldflda !0 class GenericClass`1/'d__0'::'5__1' IL_00cb: initobj !TItem IL_00d1: ldarg.0 -IL_00d2: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder class GenericClass`1/'d__0'::'<>t__builder' -IL_00d7: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetResult() +IL_00d2: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder class GenericClass`1/'d__0'::'<>t__builder' +IL_00d7: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetResult() IL_00dc: nop IL_00dd: ret } .method private hidebysig newslot virtual final -instance void SetStateMachine(class [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed +instance void SetStateMachine(class [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed { -.param [1] -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.override [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine +.override [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine .maxstack 8 IL_0000: ret } } .class auto ansi sealed nested private beforefieldinit 'd__1' extends [System.Runtime]System.Object -implements [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine +implements [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine { -.interfaceimpl type [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) +.interfaceimpl type [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine .param type TItem -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 02 00 00 ) .field public int32 '<>1__state' -.field public valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder '<>t__builder' +.field public valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder '<>t__builder' .field public class [System.Runtime]System.Threading.Tasks.Task`1 itemTask -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8[]) = ( 01 00 02 00 00 00 00 01 00 00 ) .field public class GenericClass`1 '<>4__this' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) .field private !TItem '5__1' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) .field private !TItem '<>s__2' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) .field private valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1/ConfiguredValueTaskAwaiter '<>u__1' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8[]) = ( 01 00 02 00 00 00 00 01 00 00 ) .method public hidebysig specialname rtspecialname instance void .ctor() cil managed { @@ -177,12 +158,12 @@ IL_0007: ret .method private hidebysig newslot virtual final instance void MoveNext() cil managed { -.override [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext +.override [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext .maxstack 3 .locals init (int32 V_0, valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1/ConfiguredValueTaskAwaiter V_1, valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1 V_2, -valuetype [System.Threading.Tasks.Extensions]System.Threading.Tasks.ValueTask`1 V_3, +valuetype [System.Runtime]System.Threading.Tasks.ValueTask`1 V_3, class GenericClass`1/'d__1' V_4, class [System.Runtime]System.Exception V_5) IL_0000: ldarg.0 @@ -197,7 +178,7 @@ IL_000c: br.s IL_005d IL_000e: nop IL_000f: ldarg.0 IL_0010: ldfld class [System.Runtime]System.Threading.Tasks.Task`1 class GenericClass`1/'d__1'::itemTask -IL_0015: call instance void valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1::.ctor(valuetype [System.Private.CoreLib]System.Threading.Tasks.ValueTask`1&) +IL_0015: newobj instance void valuetype [System.Runtime]System.Threading.Tasks.ValueTask`1::.ctor(class [System.Runtime]System.Threading.Tasks.Task`1) IL_001a: stloc.3 IL_001b: ldloca.s V_3 IL_001d: ldc.i4.0 @@ -220,10 +201,10 @@ IL_0040: stfld valuetype [System.Private.CoreLib]System.Runtime.CompilerSe IL_0045: ldarg.0 IL_0046: stloc.s V_4 IL_0048: ldarg.0 -IL_0049: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder class GenericClass`1/'d__1'::'<>t__builder' +IL_0049: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder class GenericClass`1/'d__1'::'<>t__builder' IL_004e: ldloca.s V_1 IL_0050: ldloca.s V_4 -IL_0052: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::AwaitUnsafeOnCompleted,class GenericClass`1/'d__1'>(!!0&, +IL_0052: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::AwaitUnsafeOnCompleted,class GenericClass`1/'d__1'>(!!0&, !!1&) IL_0057: nop IL_0058: leave IL_00e6 @@ -261,9 +242,9 @@ IL_00aa: ldarg.0 IL_00ab: ldflda !0 class GenericClass`1/'d__1'::'5__1' IL_00b0: initobj !TItem IL_00b6: ldarg.0 -IL_00b7: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder class GenericClass`1/'d__1'::'<>t__builder' +IL_00b7: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder class GenericClass`1/'d__1'::'<>t__builder' IL_00bc: ldloc.s V_5 -IL_00be: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetException(class [System.Runtime]System.Exception) +IL_00be: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetException(class [System.Runtime]System.Exception) IL_00c3: nop IL_00c4: leave.s IL_00e6 } // end handler @@ -274,17 +255,15 @@ IL_00ce: ldarg.0 IL_00cf: ldflda !0 class GenericClass`1/'d__1'::'5__1' IL_00d4: initobj !TItem IL_00da: ldarg.0 -IL_00db: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder class GenericClass`1/'d__1'::'<>t__builder' -IL_00e0: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetResult() +IL_00db: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder class GenericClass`1/'d__1'::'<>t__builder' +IL_00e0: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetResult() IL_00e5: nop IL_00e6: ret } .method private hidebysig newslot virtual final -instance void SetStateMachine(class [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed +instance void SetStateMachine(class [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed { -.param [1] -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.override [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine +.override [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine .maxstack 8 IL_0000: ret } @@ -298,8 +277,8 @@ Method(class [System.Runtime]System.Threading.Tasks.Task`1 itemTask) cil IL_0000: newobj instance void class GenericClass`1/'d__0'::.ctor() IL_0005: stloc.0 IL_0006: ldloc.0 -IL_0007: call valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Create() -IL_000c: stfld valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder class GenericClass`1/'d__0'::'<>t__builder' +IL_0007: call valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Create() +IL_000c: stfld valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder class GenericClass`1/'d__0'::'<>t__builder' IL_0011: ldloc.0 IL_0012: ldarg.0 IL_0013: stfld class GenericClass`1 class GenericClass`1/'d__0'::'<>4__this' @@ -310,12 +289,12 @@ IL_001f: ldloc.0 IL_0020: ldc.i4.m1 IL_0021: stfld int32 class GenericClass`1/'d__0'::'<>1__state' IL_0026: ldloc.0 -IL_0027: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder class GenericClass`1/'d__0'::'<>t__builder' +IL_0027: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder class GenericClass`1/'d__0'::'<>t__builder' IL_002c: ldloca.s V_0 -IL_002e: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Startd__0'>(!!0&) +IL_002e: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Startd__0'>(!!0&) IL_0033: ldloc.0 -IL_0034: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder class GenericClass`1/'d__0'::'<>t__builder' -IL_0039: call instance class [System.Runtime]System.Threading.Tasks.Task [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::get_Task() +IL_0034: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder class GenericClass`1/'d__0'::'<>t__builder' +IL_0039: call instance class [System.Runtime]System.Threading.Tasks.Task [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::get_Task() IL_003e: ret } .method public hidebysig instance class [System.Runtime]System.Threading.Tasks.Task @@ -328,8 +307,8 @@ Method_WithValueTask(class [System.Runtime]System.Threading.Tasks.Task`1 IL_0000: newobj instance void class GenericClass`1/'d__1'::.ctor() IL_0005: stloc.0 IL_0006: ldloc.0 -IL_0007: call valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Create() -IL_000c: stfld valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder class GenericClass`1/'d__1'::'<>t__builder' +IL_0007: call valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Create() +IL_000c: stfld valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder class GenericClass`1/'d__1'::'<>t__builder' IL_0011: ldloc.0 IL_0012: ldarg.0 IL_0013: stfld class GenericClass`1 class GenericClass`1/'d__1'::'<>4__this' @@ -340,12 +319,12 @@ IL_001f: ldloc.0 IL_0020: ldc.i4.m1 IL_0021: stfld int32 class GenericClass`1/'d__1'::'<>1__state' IL_0026: ldloc.0 -IL_0027: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder class GenericClass`1/'d__1'::'<>t__builder' +IL_0027: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder class GenericClass`1/'d__1'::'<>t__builder' IL_002c: ldloca.s V_0 -IL_002e: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Startd__1'>(!!0&) +IL_002e: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Startd__1'>(!!0&) IL_0033: ldloc.0 -IL_0034: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder class GenericClass`1/'d__1'::'<>t__builder' -IL_0039: call instance class [System.Runtime]System.Threading.Tasks.Task [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::get_Task() +IL_0034: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder class GenericClass`1/'d__1'::'<>t__builder' +IL_0039: call instance class [System.Runtime]System.Threading.Tasks.Task [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::get_Task() IL_003e: ret } .method public hidebysig specialname rtspecialname diff --git a/Tests/ModuleWeaverTests.DecompileGenericClass.Debug.DotNet11_0.verified.txt b/Tests/ModuleWeaverTests.DecompileGenericClass.Debug.DotNet11_0.verified.txt new file mode 100644 index 0000000..e0f7576 --- /dev/null +++ b/Tests/ModuleWeaverTests.DecompileGenericClass.Debug.DotNet11_0.verified.txt @@ -0,0 +1,50 @@ +.class private auto ansi sealed beforefieldinit GenericClass`1 +extends [System.Runtime]System.Object +{ +.param type TItem +.method public hidebysig instance class [System.Runtime]System.Threading.Tasks.Task +Method(class [System.Runtime]System.Threading.Tasks.Task`1 itemTask) cil managed +{ +.maxstack 2 +.locals init (!TItem V_0, +!TItem V_1) +IL_0000: nop +IL_0001: ldarg.1 +IL_0002: ldc.i4.0 +IL_0003: callvirt instance valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1 class [System.Private.CoreLib]System.Threading.Tasks.Task`1::ConfigureAwait(bool) +IL_0008: call !!0 [System.Private.CoreLib]System.Runtime.CompilerServices.AsyncHelpers::Await(valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1) +IL_000d: stloc.1 +IL_000e: ldloc.1 +IL_000f: stloc.0 +IL_0010: ret +} +.method public hidebysig instance class [System.Runtime]System.Threading.Tasks.Task +Method_WithValueTask(class [System.Runtime]System.Threading.Tasks.Task`1 itemTask) cil managed +{ +.maxstack 2 +.locals init (!TItem V_0, +!TItem V_1, +valuetype [System.Private.CoreLib]System.Threading.Tasks.ValueTask`1 V_2) +IL_0000: nop +IL_0001: ldarg.1 +IL_0002: newobj instance void valuetype [System.Runtime]System.Threading.Tasks.ValueTask`1::.ctor(class [System.Runtime]System.Threading.Tasks.Task`1) +IL_0007: stloc.2 +IL_0008: ldloca.s V_2 +IL_000a: ldc.i4.0 +IL_000b: call instance valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1 valuetype [System.Private.CoreLib]System.Threading.Tasks.ValueTask`1::ConfigureAwait(bool) +IL_0010: call !!0 [System.Private.CoreLib]System.Runtime.CompilerServices.AsyncHelpers::Await(valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1) +IL_0015: stloc.1 +IL_0016: ldloc.1 +IL_0017: stloc.0 +IL_0018: ret +} +.method public hidebysig specialname rtspecialname +instance void .ctor() cil managed +{ +.maxstack 8 +IL_0000: ldarg.0 +IL_0001: call instance void [System.Runtime]System.Object::.ctor() +IL_0006: nop +IL_0007: ret +} +} diff --git a/Tests/ModuleWeaverTests.DecompileGenericClass.Debug.Net.verified.txt b/Tests/ModuleWeaverTests.DecompileGenericClass.Debug.Net4_7.verified.txt similarity index 100% rename from Tests/ModuleWeaverTests.DecompileGenericClass.Debug.Net.verified.txt rename to Tests/ModuleWeaverTests.DecompileGenericClass.Debug.Net4_7.verified.txt diff --git a/Tests/ModuleWeaverTests.DecompileGenericClass.DotNet.Debug.verified.txt b/Tests/ModuleWeaverTests.DecompileGenericClass.DotNet.Debug.verified.txt deleted file mode 100644 index 102b136..0000000 --- a/Tests/ModuleWeaverTests.DecompileGenericClass.DotNet.Debug.verified.txt +++ /dev/null @@ -1,180 +0,0 @@ -.class private auto ansi sealed beforefieldinit GenericClass`1 -extends [System.Runtime]System.Object -{ -.param type TItem -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 02 00 00 ) -.class auto ansi sealed nested private beforefieldinit 'd__0' -extends [System.Runtime]System.Object -implements [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine -{ -.param type TItem -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 02 00 00 ) -.field public int32 '<>1__state' -.field public valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder '<>t__builder' -.field public class [System.Runtime]System.Threading.Tasks.Task`1 itemTask -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8[]) = ( 01 00 02 00 00 00 00 01 00 00 ) -.field public class GenericClass`1 '<>4__this' -.field private !TItem '5__1' -.field private !TItem '<>s__2' -.field private valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter '<>u__1' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8[]) = ( 01 00 02 00 00 00 00 01 00 00 ) -.method public hidebysig specialname rtspecialname -instance void .ctor() cil managed -{ -.maxstack 8 -IL_0000: ldarg.0 -IL_0001: call instance void [System.Runtime]System.Object::.ctor() -IL_0006: nop -IL_0007: ret -} -.method private hidebysig newslot virtual final -instance void MoveNext() cil managed -{ -.override [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext -.maxstack 3 -.locals init (int32 V_0, -valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter V_1, -valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1 V_2, -class GenericClass`1/'d__0' V_3, -class [System.Runtime]System.Exception V_4) -IL_0000: ldarg.0 -IL_0001: ldfld int32 class GenericClass`1/'d__0'::'<>1__state' -IL_0006: stloc.0 -.try -{ -IL_0007: ldloc.0 -IL_0008: brfalse.s IL_000c -IL_000a: br.s IL_000e -IL_000c: br.s IL_0054 -IL_000e: nop -IL_000f: ldarg.0 -IL_0010: ldfld class [System.Runtime]System.Threading.Tasks.Task`1 class GenericClass`1/'d__0'::itemTask -IL_0015: ldc.i4.0 -IL_0016: callvirt instance valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1 class [System.Private.CoreLib]System.Threading.Tasks.Task`1::ConfigureAwait(bool) -IL_001b: stloc.2 -IL_001c: ldloca.s V_2 -IL_001e: call instance valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1::GetAwaiter() -IL_0023: stloc.1 -IL_0024: ldloca.s V_1 -IL_0026: call instance bool valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter::get_IsCompleted() -IL_002b: brtrue.s IL_0070 -IL_002d: ldarg.0 -IL_002e: ldc.i4.0 -IL_002f: dup -IL_0030: stloc.0 -IL_0031: stfld int32 class GenericClass`1/'d__0'::'<>1__state' -IL_0036: ldarg.0 -IL_0037: ldloc.1 -IL_0038: stfld valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter class GenericClass`1/'d__0'::'<>u__1' -IL_003d: ldarg.0 -IL_003e: stloc.3 -IL_003f: ldarg.0 -IL_0040: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder class GenericClass`1/'d__0'::'<>t__builder' -IL_0045: ldloca.s V_1 -IL_0047: ldloca.s V_3 -IL_0049: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::AwaitUnsafeOnCompleted,class GenericClass`1/'d__0'>(!!0&, -!!1&) -IL_004e: nop -IL_004f: leave IL_00dd -IL_0054: ldarg.0 -IL_0055: ldfld valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter class GenericClass`1/'d__0'::'<>u__1' -IL_005a: stloc.1 -IL_005b: ldarg.0 -IL_005c: ldflda valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter class GenericClass`1/'d__0'::'<>u__1' -IL_0061: initobj valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter -IL_0067: ldarg.0 -IL_0068: ldc.i4.m1 -IL_0069: dup -IL_006a: stloc.0 -IL_006b: stfld int32 class GenericClass`1/'d__0'::'<>1__state' -IL_0070: ldarg.0 -IL_0071: ldloca.s V_1 -IL_0073: call instance !0 valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter::GetResult() -IL_0078: stfld !0 class GenericClass`1/'d__0'::'<>s__2' -IL_007d: ldarg.0 -IL_007e: ldarg.0 -IL_007f: ldfld !0 class GenericClass`1/'d__0'::'<>s__2' -IL_0084: stfld !0 class GenericClass`1/'d__0'::'5__1' -IL_0089: ldarg.0 -IL_008a: ldflda !0 class GenericClass`1/'d__0'::'<>s__2' -IL_008f: initobj !TItem -IL_0095: leave.s IL_00bd -} // end .try -catch [System.Runtime]System.Exception -{ -IL_0097: stloc.s V_4 -IL_0099: ldarg.0 -IL_009a: ldc.i4.s -2 -IL_009c: stfld int32 class GenericClass`1/'d__0'::'<>1__state' -IL_00a1: ldarg.0 -IL_00a2: ldflda !0 class GenericClass`1/'d__0'::'5__1' -IL_00a7: initobj !TItem -IL_00ad: ldarg.0 -IL_00ae: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder class GenericClass`1/'d__0'::'<>t__builder' -IL_00b3: ldloc.s V_4 -IL_00b5: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetException(class [System.Runtime]System.Exception) -IL_00ba: nop -IL_00bb: leave.s IL_00dd -} // end handler -IL_00bd: ldarg.0 -IL_00be: ldc.i4.s -2 -IL_00c0: stfld int32 class GenericClass`1/'d__0'::'<>1__state' -IL_00c5: ldarg.0 -IL_00c6: ldflda !0 class GenericClass`1/'d__0'::'5__1' -IL_00cb: initobj !TItem -IL_00d1: ldarg.0 -IL_00d2: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder class GenericClass`1/'d__0'::'<>t__builder' -IL_00d7: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetResult() -IL_00dc: nop -IL_00dd: ret -} -.method private hidebysig newslot virtual final -instance void SetStateMachine(class [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed -{ -.param [1] -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 01 00 00 ) -.override [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine -.maxstack 8 -IL_0000: ret -} -} -.method public hidebysig instance class [System.Runtime]System.Threading.Tasks.Task -Method(class [System.Runtime]System.Threading.Tasks.Task`1 itemTask) cil managed -{ -.custom instance void System.Runtime.CompilerServices.NullableContextAttribute::.ctor(uint8) = ( 01 00 01 00 00 ) -31 2B 3C 4D 65 74 68 6F 64 3E 64 5F 5F 30 00 00 ) // 1+d__0.. -.maxstack 2 -.locals init (class GenericClass`1/'d__0' V_0) -IL_0000: newobj instance void class GenericClass`1/'d__0'::.ctor() -IL_0005: stloc.0 -IL_0006: ldloc.0 -IL_0007: call valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Create() -IL_000c: stfld valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder class GenericClass`1/'d__0'::'<>t__builder' -IL_0011: ldloc.0 -IL_0012: ldarg.0 -IL_0013: stfld class GenericClass`1 class GenericClass`1/'d__0'::'<>4__this' -IL_0018: ldloc.0 -IL_0019: ldarg.1 -IL_001a: stfld class [System.Runtime]System.Threading.Tasks.Task`1 class GenericClass`1/'d__0'::itemTask -IL_001f: ldloc.0 -IL_0020: ldc.i4.m1 -IL_0021: stfld int32 class GenericClass`1/'d__0'::'<>1__state' -IL_0026: ldloc.0 -IL_0027: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder class GenericClass`1/'d__0'::'<>t__builder' -IL_002c: ldloca.s V_0 -IL_002e: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Startd__0'>(!!0&) -IL_0033: ldloc.0 -IL_0034: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder class GenericClass`1/'d__0'::'<>t__builder' -IL_0039: call instance class [System.Runtime]System.Threading.Tasks.Task [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::get_Task() -IL_003e: ret -} -.method public hidebysig specialname rtspecialname -instance void .ctor() cil managed -{ -.maxstack 8 -IL_0000: ldarg.0 -IL_0001: call instance void [System.Runtime]System.Object::.ctor() -IL_0006: nop -IL_0007: ret -} -} diff --git a/Tests/ModuleWeaverTests.DecompileGenericClass.DotNet.Release.verified.txt b/Tests/ModuleWeaverTests.DecompileGenericClass.DotNet.Release.verified.txt deleted file mode 100644 index 3a3b749..0000000 --- a/Tests/ModuleWeaverTests.DecompileGenericClass.DotNet.Release.verified.txt +++ /dev/null @@ -1,143 +0,0 @@ -.class private auto ansi sealed beforefieldinit GenericClass`1 -extends [System.Runtime]System.Object -{ -.param type TItem -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 02 00 00 ) -.class auto ansi sealed nested private beforefieldinit 'd__0' -extends [System.Runtime]System.ValueType -implements [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine -{ -.param type TItem -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 02 00 00 ) -.field public int32 '<>1__state' -.field public valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder '<>t__builder' -.field public class [System.Runtime]System.Threading.Tasks.Task`1 itemTask -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8[]) = ( 01 00 02 00 00 00 00 01 00 00 ) -.field private valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter '<>u__1' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8[]) = ( 01 00 02 00 00 00 00 01 00 00 ) -.method private hidebysig newslot virtual final -instance void MoveNext() cil managed -{ -.override [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext -.maxstack 3 -.locals init (int32 V_0, -valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter V_1, -valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1 V_2, -class [System.Runtime]System.Exception V_3) -IL_0000: ldarg.0 -IL_0001: ldfld int32 valuetype GenericClass`1/'d__0'::'<>1__state' -IL_0006: stloc.0 -.try -{ -IL_0007: ldloc.0 -IL_0008: brfalse.s IL_0048 -IL_000a: ldarg.0 -IL_000b: ldfld class [System.Runtime]System.Threading.Tasks.Task`1 valuetype GenericClass`1/'d__0'::itemTask -IL_0010: ldc.i4.0 -IL_0011: callvirt instance valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1 class [System.Private.CoreLib]System.Threading.Tasks.Task`1::ConfigureAwait(bool) -IL_0016: stloc.2 -IL_0017: ldloca.s V_2 -IL_0019: call instance valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1::GetAwaiter() -IL_001e: stloc.1 -IL_001f: ldloca.s V_1 -IL_0021: call instance bool valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter::get_IsCompleted() -IL_0026: brtrue.s IL_0064 -IL_0028: ldarg.0 -IL_0029: ldc.i4.0 -IL_002a: dup -IL_002b: stloc.0 -IL_002c: stfld int32 valuetype GenericClass`1/'d__0'::'<>1__state' -IL_0031: ldarg.0 -IL_0032: ldloc.1 -IL_0033: stfld valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter valuetype GenericClass`1/'d__0'::'<>u__1' -IL_0038: ldarg.0 -IL_0039: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder valuetype GenericClass`1/'d__0'::'<>t__builder' -IL_003e: ldloca.s V_1 -IL_0040: ldarg.0 -IL_0041: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::AwaitUnsafeOnCompleted,valuetype GenericClass`1/'d__0'>(!!0&, -!!1&) -IL_0046: leave.s IL_0098 -IL_0048: ldarg.0 -IL_0049: ldfld valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter valuetype GenericClass`1/'d__0'::'<>u__1' -IL_004e: stloc.1 -IL_004f: ldarg.0 -IL_0050: ldflda valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter valuetype GenericClass`1/'d__0'::'<>u__1' -IL_0055: initobj valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter -IL_005b: ldarg.0 -IL_005c: ldc.i4.m1 -IL_005d: dup -IL_005e: stloc.0 -IL_005f: stfld int32 valuetype GenericClass`1/'d__0'::'<>1__state' -IL_0064: ldloca.s V_1 -IL_0066: call instance !0 valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter::GetResult() -IL_006b: pop -IL_006c: leave.s IL_0085 -} // end .try -catch [System.Runtime]System.Exception -{ -IL_006e: stloc.3 -IL_006f: ldarg.0 -IL_0070: ldc.i4.s -2 -IL_0072: stfld int32 valuetype GenericClass`1/'d__0'::'<>1__state' -IL_0077: ldarg.0 -IL_0078: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder valuetype GenericClass`1/'d__0'::'<>t__builder' -IL_007d: ldloc.3 -IL_007e: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetException(class [System.Runtime]System.Exception) -IL_0083: leave.s IL_0098 -} // end handler -IL_0085: ldarg.0 -IL_0086: ldc.i4.s -2 -IL_0088: stfld int32 valuetype GenericClass`1/'d__0'::'<>1__state' -IL_008d: ldarg.0 -IL_008e: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder valuetype GenericClass`1/'d__0'::'<>t__builder' -IL_0093: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetResult() -IL_0098: ret -} -.method private hidebysig newslot virtual final -instance void SetStateMachine(class [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed -{ -.param [1] -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 01 00 00 ) -.override [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine -.maxstack 8 -IL_0000: ldarg.0 -IL_0001: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder valuetype GenericClass`1/'d__0'::'<>t__builder' -IL_0006: ldarg.1 -IL_0007: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetStateMachine(class [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine) -IL_000c: ret -} -} -.method public hidebysig instance class [System.Runtime]System.Threading.Tasks.Task -Method(class [System.Runtime]System.Threading.Tasks.Task`1 itemTask) cil managed -{ -.custom instance void System.Runtime.CompilerServices.NullableContextAttribute::.ctor(uint8) = ( 01 00 01 00 00 ) -31 2B 3C 4D 65 74 68 6F 64 3E 64 5F 5F 30 00 00 ) // 1+d__0.. -.maxstack 2 -.locals init (valuetype GenericClass`1/'d__0' V_0) -IL_0000: ldloca.s V_0 -IL_0002: call valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Create() -IL_0007: stfld valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder valuetype GenericClass`1/'d__0'::'<>t__builder' -IL_000c: ldloca.s V_0 -IL_000e: ldarg.1 -IL_000f: stfld class [System.Runtime]System.Threading.Tasks.Task`1 valuetype GenericClass`1/'d__0'::itemTask -IL_0014: ldloca.s V_0 -IL_0016: ldc.i4.m1 -IL_0017: stfld int32 valuetype GenericClass`1/'d__0'::'<>1__state' -IL_001c: ldloca.s V_0 -IL_001e: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder valuetype GenericClass`1/'d__0'::'<>t__builder' -IL_0023: ldloca.s V_0 -IL_0025: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Startd__0'>(!!0&) -IL_002a: ldloca.s V_0 -IL_002c: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder valuetype GenericClass`1/'d__0'::'<>t__builder' -IL_0031: call instance class [System.Runtime]System.Threading.Tasks.Task [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::get_Task() -IL_0036: ret -} -.method public hidebysig specialname rtspecialname -instance void .ctor() cil managed -{ -.maxstack 8 -IL_0000: ldarg.0 -IL_0001: call instance void [System.Runtime]System.Object::.ctor() -IL_0006: ret -} -} diff --git a/Tests/ModuleWeaverTests.DecompileGenericClass.Net.Debug.verified.txt b/Tests/ModuleWeaverTests.DecompileGenericClass.Net.Debug.verified.txt deleted file mode 100644 index c6cf7af..0000000 --- a/Tests/ModuleWeaverTests.DecompileGenericClass.Net.Debug.verified.txt +++ /dev/null @@ -1,178 +0,0 @@ -.class private auto ansi sealed beforefieldinit GenericClass`1 -extends [mscorlib]System.Object -{ -.param type TItem -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 02 00 00 ) -.class auto ansi sealed nested private beforefieldinit 'd__0' -extends [mscorlib]System.Object -implements [mscorlib]System.Runtime.CompilerServices.IAsyncStateMachine -{ -.param type TItem -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 02 00 00 ) -.field public int32 '<>1__state' -.field public valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder '<>t__builder' -.field public class [mscorlib]System.Threading.Tasks.Task`1 itemTask -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8[]) = ( 01 00 02 00 00 00 00 01 00 00 ) -.field public class GenericClass`1 '<>4__this' -.field private !TItem '5__1' -.field private !TItem '<>s__2' -.field private valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter '<>u__1' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8[]) = ( 01 00 02 00 00 00 00 01 00 00 ) -.method public hidebysig specialname rtspecialname -instance void .ctor() cil managed -{ -.maxstack 8 -IL_0000: ldarg.0 -IL_0001: call instance void [mscorlib]System.Object::.ctor() -IL_0006: nop -IL_0007: ret -} -.method private hidebysig newslot virtual final -instance void MoveNext() cil managed -{ -.override [mscorlib]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext -.maxstack 3 -.locals init (int32 V_0, -valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter V_1, -valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1 V_2, -class GenericClass`1/'d__0' V_3, -class [mscorlib]System.Exception V_4) -IL_0000: ldarg.0 -IL_0001: ldfld int32 class GenericClass`1/'d__0'::'<>1__state' -IL_0006: stloc.0 -.try -{ -IL_0007: ldloc.0 -IL_0008: brfalse.s IL_000c -IL_000a: br.s IL_000e -IL_000c: br.s IL_0054 -IL_000e: nop -IL_000f: ldarg.0 -IL_0010: ldfld class [mscorlib]System.Threading.Tasks.Task`1 class GenericClass`1/'d__0'::itemTask -IL_0015: ldc.i4.0 -IL_0016: callvirt instance valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1 class [mscorlib]System.Threading.Tasks.Task`1::ConfigureAwait(bool) -IL_001b: stloc.2 -IL_001c: ldloca.s V_2 -IL_001e: call instance valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1::GetAwaiter() -IL_0023: stloc.1 -IL_0024: ldloca.s V_1 -IL_0026: call instance bool valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter::get_IsCompleted() -IL_002b: brtrue.s IL_0070 -IL_002d: ldarg.0 -IL_002e: ldc.i4.0 -IL_002f: dup -IL_0030: stloc.0 -IL_0031: stfld int32 class GenericClass`1/'d__0'::'<>1__state' -IL_0036: ldarg.0 -IL_0037: ldloc.1 -IL_0038: stfld valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter class GenericClass`1/'d__0'::'<>u__1' -IL_003d: ldarg.0 -IL_003e: stloc.3 -IL_003f: ldarg.0 -IL_0040: ldflda valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder class GenericClass`1/'d__0'::'<>t__builder' -IL_0045: ldloca.s V_1 -IL_0047: ldloca.s V_3 -IL_0049: call instance void [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::AwaitUnsafeOnCompleted,class GenericClass`1/'d__0'>(!!0&, -!!1&) -IL_004e: nop -IL_004f: leave IL_00dd -IL_0054: ldarg.0 -IL_0055: ldfld valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter class GenericClass`1/'d__0'::'<>u__1' -IL_005a: stloc.1 -IL_005b: ldarg.0 -IL_005c: ldflda valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter class GenericClass`1/'d__0'::'<>u__1' -IL_0061: initobj valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter -IL_0067: ldarg.0 -IL_0068: ldc.i4.m1 -IL_0069: dup -IL_006a: stloc.0 -IL_006b: stfld int32 class GenericClass`1/'d__0'::'<>1__state' -IL_0070: ldarg.0 -IL_0071: ldloca.s V_1 -IL_0073: call instance !0 valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter::GetResult() -IL_0078: stfld !0 class GenericClass`1/'d__0'::'<>s__2' -IL_007d: ldarg.0 -IL_007e: ldarg.0 -IL_007f: ldfld !0 class GenericClass`1/'d__0'::'<>s__2' -IL_0084: stfld !0 class GenericClass`1/'d__0'::'5__1' -IL_0089: ldarg.0 -IL_008a: ldflda !0 class GenericClass`1/'d__0'::'<>s__2' -IL_008f: initobj !TItem -IL_0095: leave.s IL_00bd -} // end .try -catch [mscorlib]System.Exception -{ -IL_0097: stloc.s V_4 -IL_0099: ldarg.0 -IL_009a: ldc.i4.s -2 -IL_009c: stfld int32 class GenericClass`1/'d__0'::'<>1__state' -IL_00a1: ldarg.0 -IL_00a2: ldflda !0 class GenericClass`1/'d__0'::'5__1' -IL_00a7: initobj !TItem -IL_00ad: ldarg.0 -IL_00ae: ldflda valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder class GenericClass`1/'d__0'::'<>t__builder' -IL_00b3: ldloc.s V_4 -IL_00b5: call instance void [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetException(class [mscorlib]System.Exception) -IL_00ba: nop -IL_00bb: leave.s IL_00dd -} // end handler -IL_00bd: ldarg.0 -IL_00be: ldc.i4.s -2 -IL_00c0: stfld int32 class GenericClass`1/'d__0'::'<>1__state' -IL_00c5: ldarg.0 -IL_00c6: ldflda !0 class GenericClass`1/'d__0'::'5__1' -IL_00cb: initobj !TItem -IL_00d1: ldarg.0 -IL_00d2: ldflda valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder class GenericClass`1/'d__0'::'<>t__builder' -IL_00d7: call instance void [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetResult() -IL_00dc: nop -IL_00dd: ret -} -.method private hidebysig newslot virtual final -instance void SetStateMachine(class [mscorlib]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed -{ -.override [mscorlib]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine -.maxstack 8 -IL_0000: ret -} -} -.method public hidebysig instance class [mscorlib]System.Threading.Tasks.Task -Method(class [mscorlib]System.Threading.Tasks.Task`1 itemTask) cil managed -{ -.custom instance void System.Runtime.CompilerServices.NullableContextAttribute::.ctor(uint8) = ( 01 00 01 00 00 ) -31 2B 3C 4D 65 74 68 6F 64 3E 64 5F 5F 30 00 00 ) // 1+d__0.. -.maxstack 2 -.locals init (class GenericClass`1/'d__0' V_0) -IL_0000: newobj instance void class GenericClass`1/'d__0'::.ctor() -IL_0005: stloc.0 -IL_0006: ldloc.0 -IL_0007: call valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Create() -IL_000c: stfld valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder class GenericClass`1/'d__0'::'<>t__builder' -IL_0011: ldloc.0 -IL_0012: ldarg.0 -IL_0013: stfld class GenericClass`1 class GenericClass`1/'d__0'::'<>4__this' -IL_0018: ldloc.0 -IL_0019: ldarg.1 -IL_001a: stfld class [mscorlib]System.Threading.Tasks.Task`1 class GenericClass`1/'d__0'::itemTask -IL_001f: ldloc.0 -IL_0020: ldc.i4.m1 -IL_0021: stfld int32 class GenericClass`1/'d__0'::'<>1__state' -IL_0026: ldloc.0 -IL_0027: ldflda valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder class GenericClass`1/'d__0'::'<>t__builder' -IL_002c: ldloca.s V_0 -IL_002e: call instance void [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Startd__0'>(!!0&) -IL_0033: ldloc.0 -IL_0034: ldflda valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder class GenericClass`1/'d__0'::'<>t__builder' -IL_0039: call instance class [mscorlib]System.Threading.Tasks.Task [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::get_Task() -IL_003e: ret -} -.method public hidebysig specialname rtspecialname -instance void .ctor() cil managed -{ -.maxstack 8 -IL_0000: ldarg.0 -IL_0001: call instance void [mscorlib]System.Object::.ctor() -IL_0006: nop -IL_0007: ret -} -} diff --git a/Tests/ModuleWeaverTests.DecompileGenericClass.Net.Release.verified.txt b/Tests/ModuleWeaverTests.DecompileGenericClass.Net.Release.verified.txt deleted file mode 100644 index 029b800..0000000 --- a/Tests/ModuleWeaverTests.DecompileGenericClass.Net.Release.verified.txt +++ /dev/null @@ -1,141 +0,0 @@ -.class private auto ansi sealed beforefieldinit GenericClass`1 -extends [mscorlib]System.Object -{ -.param type TItem -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 02 00 00 ) -.class auto ansi sealed nested private beforefieldinit 'd__0' -extends [mscorlib]System.ValueType -implements [mscorlib]System.Runtime.CompilerServices.IAsyncStateMachine -{ -.param type TItem -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 02 00 00 ) -.field public int32 '<>1__state' -.field public valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder '<>t__builder' -.field public class [mscorlib]System.Threading.Tasks.Task`1 itemTask -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8[]) = ( 01 00 02 00 00 00 00 01 00 00 ) -.field private valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter '<>u__1' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8[]) = ( 01 00 02 00 00 00 00 01 00 00 ) -.method private hidebysig newslot virtual final -instance void MoveNext() cil managed -{ -.override [mscorlib]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext -.maxstack 3 -.locals init (int32 V_0, -valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter V_1, -valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1 V_2, -class [mscorlib]System.Exception V_3) -IL_0000: ldarg.0 -IL_0001: ldfld int32 valuetype GenericClass`1/'d__0'::'<>1__state' -IL_0006: stloc.0 -.try -{ -IL_0007: ldloc.0 -IL_0008: brfalse.s IL_0048 -IL_000a: ldarg.0 -IL_000b: ldfld class [mscorlib]System.Threading.Tasks.Task`1 valuetype GenericClass`1/'d__0'::itemTask -IL_0010: ldc.i4.0 -IL_0011: callvirt instance valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1 class [mscorlib]System.Threading.Tasks.Task`1::ConfigureAwait(bool) -IL_0016: stloc.2 -IL_0017: ldloca.s V_2 -IL_0019: call instance valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1::GetAwaiter() -IL_001e: stloc.1 -IL_001f: ldloca.s V_1 -IL_0021: call instance bool valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter::get_IsCompleted() -IL_0026: brtrue.s IL_0064 -IL_0028: ldarg.0 -IL_0029: ldc.i4.0 -IL_002a: dup -IL_002b: stloc.0 -IL_002c: stfld int32 valuetype GenericClass`1/'d__0'::'<>1__state' -IL_0031: ldarg.0 -IL_0032: ldloc.1 -IL_0033: stfld valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter valuetype GenericClass`1/'d__0'::'<>u__1' -IL_0038: ldarg.0 -IL_0039: ldflda valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder valuetype GenericClass`1/'d__0'::'<>t__builder' -IL_003e: ldloca.s V_1 -IL_0040: ldarg.0 -IL_0041: call instance void [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::AwaitUnsafeOnCompleted,valuetype GenericClass`1/'d__0'>(!!0&, -!!1&) -IL_0046: leave.s IL_0098 -IL_0048: ldarg.0 -IL_0049: ldfld valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter valuetype GenericClass`1/'d__0'::'<>u__1' -IL_004e: stloc.1 -IL_004f: ldarg.0 -IL_0050: ldflda valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter valuetype GenericClass`1/'d__0'::'<>u__1' -IL_0055: initobj valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter -IL_005b: ldarg.0 -IL_005c: ldc.i4.m1 -IL_005d: dup -IL_005e: stloc.0 -IL_005f: stfld int32 valuetype GenericClass`1/'d__0'::'<>1__state' -IL_0064: ldloca.s V_1 -IL_0066: call instance !0 valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter::GetResult() -IL_006b: pop -IL_006c: leave.s IL_0085 -} // end .try -catch [mscorlib]System.Exception -{ -IL_006e: stloc.3 -IL_006f: ldarg.0 -IL_0070: ldc.i4.s -2 -IL_0072: stfld int32 valuetype GenericClass`1/'d__0'::'<>1__state' -IL_0077: ldarg.0 -IL_0078: ldflda valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder valuetype GenericClass`1/'d__0'::'<>t__builder' -IL_007d: ldloc.3 -IL_007e: call instance void [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetException(class [mscorlib]System.Exception) -IL_0083: leave.s IL_0098 -} // end handler -IL_0085: ldarg.0 -IL_0086: ldc.i4.s -2 -IL_0088: stfld int32 valuetype GenericClass`1/'d__0'::'<>1__state' -IL_008d: ldarg.0 -IL_008e: ldflda valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder valuetype GenericClass`1/'d__0'::'<>t__builder' -IL_0093: call instance void [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetResult() -IL_0098: ret -} -.method private hidebysig newslot virtual final -instance void SetStateMachine(class [mscorlib]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed -{ -.override [mscorlib]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine -.maxstack 8 -IL_0000: ldarg.0 -IL_0001: ldflda valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder valuetype GenericClass`1/'d__0'::'<>t__builder' -IL_0006: ldarg.1 -IL_0007: call instance void [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetStateMachine(class [mscorlib]System.Runtime.CompilerServices.IAsyncStateMachine) -IL_000c: ret -} -} -.method public hidebysig instance class [mscorlib]System.Threading.Tasks.Task -Method(class [mscorlib]System.Threading.Tasks.Task`1 itemTask) cil managed -{ -.custom instance void System.Runtime.CompilerServices.NullableContextAttribute::.ctor(uint8) = ( 01 00 01 00 00 ) -31 2B 3C 4D 65 74 68 6F 64 3E 64 5F 5F 30 00 00 ) // 1+d__0.. -.maxstack 2 -.locals init (valuetype GenericClass`1/'d__0' V_0) -IL_0000: ldloca.s V_0 -IL_0002: call valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Create() -IL_0007: stfld valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder valuetype GenericClass`1/'d__0'::'<>t__builder' -IL_000c: ldloca.s V_0 -IL_000e: ldarg.1 -IL_000f: stfld class [mscorlib]System.Threading.Tasks.Task`1 valuetype GenericClass`1/'d__0'::itemTask -IL_0014: ldloca.s V_0 -IL_0016: ldc.i4.m1 -IL_0017: stfld int32 valuetype GenericClass`1/'d__0'::'<>1__state' -IL_001c: ldloca.s V_0 -IL_001e: ldflda valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder valuetype GenericClass`1/'d__0'::'<>t__builder' -IL_0023: ldloca.s V_0 -IL_0025: call instance void [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Startd__0'>(!!0&) -IL_002a: ldloca.s V_0 -IL_002c: ldflda valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder valuetype GenericClass`1/'d__0'::'<>t__builder' -IL_0031: call instance class [mscorlib]System.Threading.Tasks.Task [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::get_Task() -IL_0036: ret -} -.method public hidebysig specialname rtspecialname -instance void .ctor() cil managed -{ -.maxstack 8 -IL_0000: ldarg.0 -IL_0001: call instance void [mscorlib]System.Object::.ctor() -IL_0006: ret -} -} diff --git a/Tests/ModuleWeaverTests.DecompileGenericClass.Release.DotNet.verified.txt b/Tests/ModuleWeaverTests.DecompileGenericClass.Release.DotNet.verified.txt deleted file mode 100644 index 3a3b749..0000000 --- a/Tests/ModuleWeaverTests.DecompileGenericClass.Release.DotNet.verified.txt +++ /dev/null @@ -1,143 +0,0 @@ -.class private auto ansi sealed beforefieldinit GenericClass`1 -extends [System.Runtime]System.Object -{ -.param type TItem -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 02 00 00 ) -.class auto ansi sealed nested private beforefieldinit 'd__0' -extends [System.Runtime]System.ValueType -implements [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine -{ -.param type TItem -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 02 00 00 ) -.field public int32 '<>1__state' -.field public valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder '<>t__builder' -.field public class [System.Runtime]System.Threading.Tasks.Task`1 itemTask -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8[]) = ( 01 00 02 00 00 00 00 01 00 00 ) -.field private valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter '<>u__1' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8[]) = ( 01 00 02 00 00 00 00 01 00 00 ) -.method private hidebysig newslot virtual final -instance void MoveNext() cil managed -{ -.override [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext -.maxstack 3 -.locals init (int32 V_0, -valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter V_1, -valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1 V_2, -class [System.Runtime]System.Exception V_3) -IL_0000: ldarg.0 -IL_0001: ldfld int32 valuetype GenericClass`1/'d__0'::'<>1__state' -IL_0006: stloc.0 -.try -{ -IL_0007: ldloc.0 -IL_0008: brfalse.s IL_0048 -IL_000a: ldarg.0 -IL_000b: ldfld class [System.Runtime]System.Threading.Tasks.Task`1 valuetype GenericClass`1/'d__0'::itemTask -IL_0010: ldc.i4.0 -IL_0011: callvirt instance valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1 class [System.Private.CoreLib]System.Threading.Tasks.Task`1::ConfigureAwait(bool) -IL_0016: stloc.2 -IL_0017: ldloca.s V_2 -IL_0019: call instance valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1::GetAwaiter() -IL_001e: stloc.1 -IL_001f: ldloca.s V_1 -IL_0021: call instance bool valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter::get_IsCompleted() -IL_0026: brtrue.s IL_0064 -IL_0028: ldarg.0 -IL_0029: ldc.i4.0 -IL_002a: dup -IL_002b: stloc.0 -IL_002c: stfld int32 valuetype GenericClass`1/'d__0'::'<>1__state' -IL_0031: ldarg.0 -IL_0032: ldloc.1 -IL_0033: stfld valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter valuetype GenericClass`1/'d__0'::'<>u__1' -IL_0038: ldarg.0 -IL_0039: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder valuetype GenericClass`1/'d__0'::'<>t__builder' -IL_003e: ldloca.s V_1 -IL_0040: ldarg.0 -IL_0041: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::AwaitUnsafeOnCompleted,valuetype GenericClass`1/'d__0'>(!!0&, -!!1&) -IL_0046: leave.s IL_0098 -IL_0048: ldarg.0 -IL_0049: ldfld valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter valuetype GenericClass`1/'d__0'::'<>u__1' -IL_004e: stloc.1 -IL_004f: ldarg.0 -IL_0050: ldflda valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter valuetype GenericClass`1/'d__0'::'<>u__1' -IL_0055: initobj valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter -IL_005b: ldarg.0 -IL_005c: ldc.i4.m1 -IL_005d: dup -IL_005e: stloc.0 -IL_005f: stfld int32 valuetype GenericClass`1/'d__0'::'<>1__state' -IL_0064: ldloca.s V_1 -IL_0066: call instance !0 valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter::GetResult() -IL_006b: pop -IL_006c: leave.s IL_0085 -} // end .try -catch [System.Runtime]System.Exception -{ -IL_006e: stloc.3 -IL_006f: ldarg.0 -IL_0070: ldc.i4.s -2 -IL_0072: stfld int32 valuetype GenericClass`1/'d__0'::'<>1__state' -IL_0077: ldarg.0 -IL_0078: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder valuetype GenericClass`1/'d__0'::'<>t__builder' -IL_007d: ldloc.3 -IL_007e: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetException(class [System.Runtime]System.Exception) -IL_0083: leave.s IL_0098 -} // end handler -IL_0085: ldarg.0 -IL_0086: ldc.i4.s -2 -IL_0088: stfld int32 valuetype GenericClass`1/'d__0'::'<>1__state' -IL_008d: ldarg.0 -IL_008e: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder valuetype GenericClass`1/'d__0'::'<>t__builder' -IL_0093: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetResult() -IL_0098: ret -} -.method private hidebysig newslot virtual final -instance void SetStateMachine(class [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed -{ -.param [1] -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 01 00 00 ) -.override [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine -.maxstack 8 -IL_0000: ldarg.0 -IL_0001: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder valuetype GenericClass`1/'d__0'::'<>t__builder' -IL_0006: ldarg.1 -IL_0007: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetStateMachine(class [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine) -IL_000c: ret -} -} -.method public hidebysig instance class [System.Runtime]System.Threading.Tasks.Task -Method(class [System.Runtime]System.Threading.Tasks.Task`1 itemTask) cil managed -{ -.custom instance void System.Runtime.CompilerServices.NullableContextAttribute::.ctor(uint8) = ( 01 00 01 00 00 ) -31 2B 3C 4D 65 74 68 6F 64 3E 64 5F 5F 30 00 00 ) // 1+d__0.. -.maxstack 2 -.locals init (valuetype GenericClass`1/'d__0' V_0) -IL_0000: ldloca.s V_0 -IL_0002: call valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Create() -IL_0007: stfld valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder valuetype GenericClass`1/'d__0'::'<>t__builder' -IL_000c: ldloca.s V_0 -IL_000e: ldarg.1 -IL_000f: stfld class [System.Runtime]System.Threading.Tasks.Task`1 valuetype GenericClass`1/'d__0'::itemTask -IL_0014: ldloca.s V_0 -IL_0016: ldc.i4.m1 -IL_0017: stfld int32 valuetype GenericClass`1/'d__0'::'<>1__state' -IL_001c: ldloca.s V_0 -IL_001e: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder valuetype GenericClass`1/'d__0'::'<>t__builder' -IL_0023: ldloca.s V_0 -IL_0025: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Startd__0'>(!!0&) -IL_002a: ldloca.s V_0 -IL_002c: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder valuetype GenericClass`1/'d__0'::'<>t__builder' -IL_0031: call instance class [System.Runtime]System.Threading.Tasks.Task [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::get_Task() -IL_0036: ret -} -.method public hidebysig specialname rtspecialname -instance void .ctor() cil managed -{ -.maxstack 8 -IL_0000: ldarg.0 -IL_0001: call instance void [System.Runtime]System.Object::.ctor() -IL_0006: ret -} -} diff --git a/Tests/ModuleWeaverTests.DecompileGenericClass.Release.Core.verified.txt b/Tests/ModuleWeaverTests.DecompileGenericClass.Release.DotNet10_0.verified.txt similarity index 55% rename from Tests/ModuleWeaverTests.DecompileGenericClass.Release.Core.verified.txt rename to Tests/ModuleWeaverTests.DecompileGenericClass.Release.DotNet10_0.verified.txt index d36944a..f912e8b 100644 --- a/Tests/ModuleWeaverTests.DecompileGenericClass.Release.Core.verified.txt +++ b/Tests/ModuleWeaverTests.DecompileGenericClass.Release.DotNet10_0.verified.txt @@ -1,28 +1,21 @@ .class private auto ansi sealed beforefieldinit GenericClass`1 extends [System.Runtime]System.Object { -.custom instance void System.Runtime.CompilerServices.NullableContextAttribute::.ctor(uint8) = ( 01 00 01 00 00 ) -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) .param type TItem -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 02 00 00 ) .class auto ansi sealed nested private beforefieldinit 'd__0' extends [System.Runtime]System.ValueType -implements [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine +implements [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine { -.interfaceimpl type [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) +.interfaceimpl type [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine .param type TItem -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 02 00 00 ) .field public int32 '<>1__state' -.field public valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder '<>t__builder' +.field public valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder '<>t__builder' .field public class [System.Runtime]System.Threading.Tasks.Task`1 itemTask -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8[]) = ( 01 00 02 00 00 00 00 01 00 00 ) .field private valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter '<>u__1' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8[]) = ( 01 00 02 00 00 00 00 01 00 00 ) .method private hidebysig newslot virtual final instance void MoveNext() cil managed { -.override [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext +.override [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext .maxstack 3 .locals init (int32 V_0, valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter V_1, @@ -55,10 +48,10 @@ IL_0031: ldarg.0 IL_0032: ldloc.1 IL_0033: stfld valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter valuetype GenericClass`1/'d__0'::'<>u__1' IL_0038: ldarg.0 -IL_0039: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder valuetype GenericClass`1/'d__0'::'<>t__builder' +IL_0039: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder valuetype GenericClass`1/'d__0'::'<>t__builder' IL_003e: ldloca.s V_1 IL_0040: ldarg.0 -IL_0041: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::AwaitUnsafeOnCompleted,valuetype GenericClass`1/'d__0'>(!!0&, +IL_0041: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::AwaitUnsafeOnCompleted,valuetype GenericClass`1/'d__0'>(!!0&, !!1&) IL_0046: leave.s IL_0098 IL_0048: ldarg.0 @@ -84,56 +77,50 @@ IL_006f: ldarg.0 IL_0070: ldc.i4.s -2 IL_0072: stfld int32 valuetype GenericClass`1/'d__0'::'<>1__state' IL_0077: ldarg.0 -IL_0078: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder valuetype GenericClass`1/'d__0'::'<>t__builder' +IL_0078: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder valuetype GenericClass`1/'d__0'::'<>t__builder' IL_007d: ldloc.3 -IL_007e: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetException(class [System.Runtime]System.Exception) +IL_007e: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetException(class [System.Runtime]System.Exception) IL_0083: leave.s IL_0098 } // end handler IL_0085: ldarg.0 IL_0086: ldc.i4.s -2 IL_0088: stfld int32 valuetype GenericClass`1/'d__0'::'<>1__state' IL_008d: ldarg.0 -IL_008e: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder valuetype GenericClass`1/'d__0'::'<>t__builder' -IL_0093: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetResult() +IL_008e: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder valuetype GenericClass`1/'d__0'::'<>t__builder' +IL_0093: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetResult() IL_0098: ret } .method private hidebysig newslot virtual final -instance void SetStateMachine(class [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed +instance void SetStateMachine(class [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed { -.param [1] -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.override [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine +.override [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine .maxstack 8 IL_0000: ldarg.0 -IL_0001: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder valuetype GenericClass`1/'d__0'::'<>t__builder' +IL_0001: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder valuetype GenericClass`1/'d__0'::'<>t__builder' IL_0006: ldarg.1 -IL_0007: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetStateMachine(class [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine) +IL_0007: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetStateMachine(class [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine) IL_000c: ret } } .class auto ansi sealed nested private beforefieldinit 'd__1' extends [System.Runtime]System.ValueType -implements [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine +implements [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine { -.interfaceimpl type [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) +.interfaceimpl type [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine .param type TItem -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 02 00 00 ) .field public int32 '<>1__state' -.field public valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder '<>t__builder' +.field public valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder '<>t__builder' .field public class [System.Runtime]System.Threading.Tasks.Task`1 itemTask -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8[]) = ( 01 00 02 00 00 00 00 01 00 00 ) .field private valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1/ConfiguredValueTaskAwaiter '<>u__1' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8[]) = ( 01 00 02 00 00 00 00 01 00 00 ) .method private hidebysig newslot virtual final instance void MoveNext() cil managed { -.override [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext +.override [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext .maxstack 3 .locals init (int32 V_0, valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1/ConfiguredValueTaskAwaiter V_1, valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1 V_2, -valuetype [System.Threading.Tasks.Extensions]System.Threading.Tasks.ValueTask`1 V_3, +valuetype [System.Runtime]System.Threading.Tasks.ValueTask`1 V_3, class [System.Runtime]System.Exception V_4) IL_0000: ldarg.0 IL_0001: ldfld int32 valuetype GenericClass`1/'d__1'::'<>1__state' @@ -144,7 +131,7 @@ IL_0007: ldloc.0 IL_0008: brfalse.s IL_0050 IL_000a: ldarg.0 IL_000b: ldfld class [System.Runtime]System.Threading.Tasks.Task`1 valuetype GenericClass`1/'d__1'::itemTask -IL_0010: call instance void valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1::.ctor(valuetype [System.Private.CoreLib]System.Threading.Tasks.ValueTask`1&) +IL_0010: newobj instance void valuetype [System.Runtime]System.Threading.Tasks.ValueTask`1::.ctor(class [System.Runtime]System.Threading.Tasks.Task`1) IL_0015: stloc.3 IL_0016: ldloca.s V_3 IL_0018: ldc.i4.0 @@ -165,10 +152,10 @@ IL_0039: ldarg.0 IL_003a: ldloc.1 IL_003b: stfld valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1/ConfiguredValueTaskAwaiter valuetype GenericClass`1/'d__1'::'<>u__1' IL_0040: ldarg.0 -IL_0041: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder valuetype GenericClass`1/'d__1'::'<>t__builder' +IL_0041: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder valuetype GenericClass`1/'d__1'::'<>t__builder' IL_0046: ldloca.s V_1 IL_0048: ldarg.0 -IL_0049: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::AwaitUnsafeOnCompleted,valuetype GenericClass`1/'d__1'>(!!0&, +IL_0049: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::AwaitUnsafeOnCompleted,valuetype GenericClass`1/'d__1'>(!!0&, !!1&) IL_004e: leave.s IL_00a2 IL_0050: ldarg.0 @@ -194,30 +181,28 @@ IL_0078: ldarg.0 IL_0079: ldc.i4.s -2 IL_007b: stfld int32 valuetype GenericClass`1/'d__1'::'<>1__state' IL_0080: ldarg.0 -IL_0081: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder valuetype GenericClass`1/'d__1'::'<>t__builder' +IL_0081: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder valuetype GenericClass`1/'d__1'::'<>t__builder' IL_0086: ldloc.s V_4 -IL_0088: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetException(class [System.Runtime]System.Exception) +IL_0088: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetException(class [System.Runtime]System.Exception) IL_008d: leave.s IL_00a2 } // end handler IL_008f: ldarg.0 IL_0090: ldc.i4.s -2 IL_0092: stfld int32 valuetype GenericClass`1/'d__1'::'<>1__state' IL_0097: ldarg.0 -IL_0098: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder valuetype GenericClass`1/'d__1'::'<>t__builder' -IL_009d: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetResult() +IL_0098: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder valuetype GenericClass`1/'d__1'::'<>t__builder' +IL_009d: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetResult() IL_00a2: ret } .method private hidebysig newslot virtual final -instance void SetStateMachine(class [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed +instance void SetStateMachine(class [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed { -.param [1] -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.override [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine +.override [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine .maxstack 8 IL_0000: ldarg.0 -IL_0001: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder valuetype GenericClass`1/'d__1'::'<>t__builder' +IL_0001: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder valuetype GenericClass`1/'d__1'::'<>t__builder' IL_0006: ldarg.1 -IL_0007: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetStateMachine(class [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine) +IL_0007: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetStateMachine(class [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine) IL_000c: ret } } @@ -228,8 +213,8 @@ Method(class [System.Runtime]System.Threading.Tasks.Task`1 itemTask) cil .maxstack 2 .locals init (valuetype GenericClass`1/'d__0' V_0) IL_0000: ldloca.s V_0 -IL_0002: call valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Create() -IL_0007: stfld valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder valuetype GenericClass`1/'d__0'::'<>t__builder' +IL_0002: call valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Create() +IL_0007: stfld valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder valuetype GenericClass`1/'d__0'::'<>t__builder' IL_000c: ldloca.s V_0 IL_000e: ldarg.1 IL_000f: stfld class [System.Runtime]System.Threading.Tasks.Task`1 valuetype GenericClass`1/'d__0'::itemTask @@ -237,12 +222,12 @@ IL_0014: ldloca.s V_0 IL_0016: ldc.i4.m1 IL_0017: stfld int32 valuetype GenericClass`1/'d__0'::'<>1__state' IL_001c: ldloca.s V_0 -IL_001e: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder valuetype GenericClass`1/'d__0'::'<>t__builder' +IL_001e: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder valuetype GenericClass`1/'d__0'::'<>t__builder' IL_0023: ldloca.s V_0 -IL_0025: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Startd__0'>(!!0&) +IL_0025: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Startd__0'>(!!0&) IL_002a: ldloca.s V_0 -IL_002c: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder valuetype GenericClass`1/'d__0'::'<>t__builder' -IL_0031: call instance class [System.Runtime]System.Threading.Tasks.Task [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::get_Task() +IL_002c: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder valuetype GenericClass`1/'d__0'::'<>t__builder' +IL_0031: call instance class [System.Runtime]System.Threading.Tasks.Task [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::get_Task() IL_0036: ret } .method public hidebysig instance class [System.Runtime]System.Threading.Tasks.Task @@ -253,8 +238,8 @@ Method_WithValueTask(class [System.Runtime]System.Threading.Tasks.Task`1 .maxstack 2 .locals init (valuetype GenericClass`1/'d__1' V_0) IL_0000: ldloca.s V_0 -IL_0002: call valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Create() -IL_0007: stfld valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder valuetype GenericClass`1/'d__1'::'<>t__builder' +IL_0002: call valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Create() +IL_0007: stfld valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder valuetype GenericClass`1/'d__1'::'<>t__builder' IL_000c: ldloca.s V_0 IL_000e: ldarg.1 IL_000f: stfld class [System.Runtime]System.Threading.Tasks.Task`1 valuetype GenericClass`1/'d__1'::itemTask @@ -262,12 +247,12 @@ IL_0014: ldloca.s V_0 IL_0016: ldc.i4.m1 IL_0017: stfld int32 valuetype GenericClass`1/'d__1'::'<>1__state' IL_001c: ldloca.s V_0 -IL_001e: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder valuetype GenericClass`1/'d__1'::'<>t__builder' +IL_001e: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder valuetype GenericClass`1/'d__1'::'<>t__builder' IL_0023: ldloca.s V_0 -IL_0025: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Startd__1'>(!!0&) +IL_0025: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Startd__1'>(!!0&) IL_002a: ldloca.s V_0 -IL_002c: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder valuetype GenericClass`1/'d__1'::'<>t__builder' -IL_0031: call instance class [System.Runtime]System.Threading.Tasks.Task [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::get_Task() +IL_002c: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder valuetype GenericClass`1/'d__1'::'<>t__builder' +IL_0031: call instance class [System.Runtime]System.Threading.Tasks.Task [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::get_Task() IL_0036: ret } .method public hidebysig specialname rtspecialname diff --git a/Tests/ModuleWeaverTests.DecompileGenericClass.Release.DotNet11_0.verified.txt b/Tests/ModuleWeaverTests.DecompileGenericClass.Release.DotNet11_0.verified.txt new file mode 100644 index 0000000..142e27b --- /dev/null +++ b/Tests/ModuleWeaverTests.DecompileGenericClass.Release.DotNet11_0.verified.txt @@ -0,0 +1,39 @@ +.class private auto ansi sealed beforefieldinit GenericClass`1 +extends [System.Runtime]System.Object +{ +.param type TItem +.method public hidebysig instance class [System.Runtime]System.Threading.Tasks.Task +Method(class [System.Runtime]System.Threading.Tasks.Task`1 itemTask) cil managed +{ +.maxstack 8 +IL_0000: ldarg.1 +IL_0001: ldc.i4.0 +IL_0002: callvirt instance valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1 class [System.Private.CoreLib]System.Threading.Tasks.Task`1::ConfigureAwait(bool) +IL_0007: call !!0 [System.Private.CoreLib]System.Runtime.CompilerServices.AsyncHelpers::Await(valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1) +IL_000c: pop +IL_000d: ret +} +.method public hidebysig instance class [System.Runtime]System.Threading.Tasks.Task +Method_WithValueTask(class [System.Runtime]System.Threading.Tasks.Task`1 itemTask) cil managed +{ +.maxstack 2 +.locals (valuetype [System.Private.CoreLib]System.Threading.Tasks.ValueTask`1 V_0) +IL_0000: ldarg.1 +IL_0001: newobj instance void valuetype [System.Runtime]System.Threading.Tasks.ValueTask`1::.ctor(class [System.Runtime]System.Threading.Tasks.Task`1) +IL_0006: stloc.0 +IL_0007: ldloca.s V_0 +IL_0009: ldc.i4.0 +IL_000a: call instance valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1 valuetype [System.Private.CoreLib]System.Threading.Tasks.ValueTask`1::ConfigureAwait(bool) +IL_000f: call !!0 [System.Private.CoreLib]System.Runtime.CompilerServices.AsyncHelpers::Await(valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1) +IL_0014: pop +IL_0015: ret +} +.method public hidebysig specialname rtspecialname +instance void .ctor() cil managed +{ +.maxstack 8 +IL_0000: ldarg.0 +IL_0001: call instance void [System.Runtime]System.Object::.ctor() +IL_0006: ret +} +} diff --git a/Tests/ModuleWeaverTests.DecompileGenericClass.Release.Net.verified.txt b/Tests/ModuleWeaverTests.DecompileGenericClass.Release.Net4_7.verified.txt similarity index 100% rename from Tests/ModuleWeaverTests.DecompileGenericClass.Release.Net.verified.txt rename to Tests/ModuleWeaverTests.DecompileGenericClass.Release.Net4_7.verified.txt diff --git a/Tests/ModuleWeaverTests.DecompileGenericMethod.Core.Release.verified.txt b/Tests/ModuleWeaverTests.DecompileGenericMethod.Core.Release.verified.txt deleted file mode 100644 index 6234b4f..0000000 --- a/Tests/ModuleWeaverTests.DecompileGenericMethod.Core.Release.verified.txt +++ /dev/null @@ -1,280 +0,0 @@ -.class private auto ansi sealed beforefieldinit GenericMethod -extends [System.Runtime]System.Object -{ -.custom instance void System.Runtime.CompilerServices.NullableContextAttribute::.ctor(uint8) = ( 01 00 01 00 00 ) -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.class auto ansi sealed nested private beforefieldinit 'd__0`1' -extends [System.Runtime]System.ValueType -implements [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine -{ -.interfaceimpl type [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field public int32 '<>1__state' -.field public valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder '<>t__builder' -.field public class [System.Runtime]System.Threading.Tasks.Task`1 itemTask -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field private valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter '<>u__1' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.method private hidebysig newslot virtual final -instance void MoveNext() cil managed -{ -.override [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext -.maxstack 3 -.locals init (int32 V_0, -valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter V_1, -valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1 V_2, -class [System.Runtime]System.Exception V_3) -IL_0000: ldarg.0 -IL_0001: ldfld int32 valuetype GenericMethod/'d__0`1'::'<>1__state' -IL_0006: stloc.0 -.try -{ -IL_0007: ldloc.0 -IL_0008: brfalse.s IL_0048 -IL_000a: ldarg.0 -IL_000b: ldfld class [System.Runtime]System.Threading.Tasks.Task`1 valuetype GenericMethod/'d__0`1'::itemTask -IL_0010: ldc.i4.0 -IL_0011: callvirt instance valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1 class [System.Private.CoreLib]System.Threading.Tasks.Task`1::ConfigureAwait(bool) -IL_0016: stloc.2 -IL_0017: ldloca.s V_2 -IL_0019: call instance valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1::GetAwaiter() -IL_001e: stloc.1 -IL_001f: ldloca.s V_1 -IL_0021: call instance bool valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter::get_IsCompleted() -IL_0026: brtrue.s IL_0064 -IL_0028: ldarg.0 -IL_0029: ldc.i4.0 -IL_002a: dup -IL_002b: stloc.0 -IL_002c: stfld int32 valuetype GenericMethod/'d__0`1'::'<>1__state' -IL_0031: ldarg.0 -IL_0032: ldloc.1 -IL_0033: stfld valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter valuetype GenericMethod/'d__0`1'::'<>u__1' -IL_0038: ldarg.0 -IL_0039: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder valuetype GenericMethod/'d__0`1'::'<>t__builder' -IL_003e: ldloca.s V_1 -IL_0040: ldarg.0 -IL_0041: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::AwaitUnsafeOnCompleted,valuetype GenericMethod/'d__0`1'>(!!0&, -!!1&) -IL_0046: leave.s IL_0098 -IL_0048: ldarg.0 -IL_0049: ldfld valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter valuetype GenericMethod/'d__0`1'::'<>u__1' -IL_004e: stloc.1 -IL_004f: ldarg.0 -IL_0050: ldflda valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter valuetype GenericMethod/'d__0`1'::'<>u__1' -IL_0055: initobj valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter -IL_005b: ldarg.0 -IL_005c: ldc.i4.m1 -IL_005d: dup -IL_005e: stloc.0 -IL_005f: stfld int32 valuetype GenericMethod/'d__0`1'::'<>1__state' -IL_0064: ldloca.s V_1 -IL_0066: call instance !0 valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter::GetResult() -IL_006b: pop -IL_006c: leave.s IL_0085 -} // end .try -catch [System.Runtime]System.Exception -{ -IL_006e: stloc.3 -IL_006f: ldarg.0 -IL_0070: ldc.i4.s -2 -IL_0072: stfld int32 valuetype GenericMethod/'d__0`1'::'<>1__state' -IL_0077: ldarg.0 -IL_0078: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder valuetype GenericMethod/'d__0`1'::'<>t__builder' -IL_007d: ldloc.3 -IL_007e: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetException(class [System.Runtime]System.Exception) -IL_0083: leave.s IL_0098 -} // end handler -IL_0085: ldarg.0 -IL_0086: ldc.i4.s -2 -IL_0088: stfld int32 valuetype GenericMethod/'d__0`1'::'<>1__state' -IL_008d: ldarg.0 -IL_008e: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder valuetype GenericMethod/'d__0`1'::'<>t__builder' -IL_0093: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetResult() -IL_0098: ret -} -.method private hidebysig newslot virtual final -instance void SetStateMachine(class [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed -{ -.param [1] -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.override [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine -.maxstack 8 -IL_0000: ldarg.0 -IL_0001: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder valuetype GenericMethod/'d__0`1'::'<>t__builder' -IL_0006: ldarg.1 -IL_0007: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetStateMachine(class [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine) -IL_000c: ret -} -} -.class auto ansi sealed nested private beforefieldinit 'd__1`1' -extends [System.Runtime]System.ValueType -implements [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine -{ -.interfaceimpl type [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field public int32 '<>1__state' -.field public valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder '<>t__builder' -.field public class [System.Runtime]System.Threading.Tasks.Task`1 itemTask -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field private valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1/ConfiguredValueTaskAwaiter '<>u__1' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.method private hidebysig newslot virtual final -instance void MoveNext() cil managed -{ -.override [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext -.maxstack 3 -.locals init (int32 V_0, -valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1/ConfiguredValueTaskAwaiter V_1, -valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1 V_2, -valuetype [System.Threading.Tasks.Extensions]System.Threading.Tasks.ValueTask`1 V_3, -class [System.Runtime]System.Exception V_4) -IL_0000: ldarg.0 -IL_0001: ldfld int32 valuetype GenericMethod/'d__1`1'::'<>1__state' -IL_0006: stloc.0 -.try -{ -IL_0007: ldloc.0 -IL_0008: brfalse.s IL_0050 -IL_000a: ldarg.0 -IL_000b: ldfld class [System.Runtime]System.Threading.Tasks.Task`1 valuetype GenericMethod/'d__1`1'::itemTask -IL_0010: call instance void valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1::.ctor(valuetype [System.Private.CoreLib]System.Threading.Tasks.ValueTask`1&) -IL_0015: stloc.3 -IL_0016: ldloca.s V_3 -IL_0018: ldc.i4.0 -IL_0019: callvirt instance valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1 valuetype [System.Private.CoreLib]System.Threading.Tasks.ValueTask`1::ConfigureAwait(bool) -IL_001e: stloc.2 -IL_001f: ldloca.s V_2 -IL_0021: call instance valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1/ConfiguredValueTaskAwaiter valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1::GetAwaiter() -IL_0026: stloc.1 -IL_0027: ldloca.s V_1 -IL_0029: call instance bool valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1/ConfiguredValueTaskAwaiter::get_IsCompleted() -IL_002e: brtrue.s IL_006c -IL_0030: ldarg.0 -IL_0031: ldc.i4.0 -IL_0032: dup -IL_0033: stloc.0 -IL_0034: stfld int32 valuetype GenericMethod/'d__1`1'::'<>1__state' -IL_0039: ldarg.0 -IL_003a: ldloc.1 -IL_003b: stfld valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1/ConfiguredValueTaskAwaiter valuetype GenericMethod/'d__1`1'::'<>u__1' -IL_0040: ldarg.0 -IL_0041: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder valuetype GenericMethod/'d__1`1'::'<>t__builder' -IL_0046: ldloca.s V_1 -IL_0048: ldarg.0 -IL_0049: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::AwaitUnsafeOnCompleted,valuetype GenericMethod/'d__1`1'>(!!0&, -!!1&) -IL_004e: leave.s IL_00a2 -IL_0050: ldarg.0 -IL_0051: ldfld valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1/ConfiguredValueTaskAwaiter valuetype GenericMethod/'d__1`1'::'<>u__1' -IL_0056: stloc.1 -IL_0057: ldarg.0 -IL_0058: ldflda valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1/ConfiguredValueTaskAwaiter valuetype GenericMethod/'d__1`1'::'<>u__1' -IL_005d: initobj valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1/ConfiguredValueTaskAwaiter -IL_0063: ldarg.0 -IL_0064: ldc.i4.m1 -IL_0065: dup -IL_0066: stloc.0 -IL_0067: stfld int32 valuetype GenericMethod/'d__1`1'::'<>1__state' -IL_006c: ldloca.s V_1 -IL_006e: call instance !0 valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1/ConfiguredValueTaskAwaiter::GetResult() -IL_0073: pop -IL_0074: leave.s IL_008f -} // end .try -catch [System.Runtime]System.Exception -{ -IL_0076: stloc.s V_4 -IL_0078: ldarg.0 -IL_0079: ldc.i4.s -2 -IL_007b: stfld int32 valuetype GenericMethod/'d__1`1'::'<>1__state' -IL_0080: ldarg.0 -IL_0081: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder valuetype GenericMethod/'d__1`1'::'<>t__builder' -IL_0086: ldloc.s V_4 -IL_0088: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetException(class [System.Runtime]System.Exception) -IL_008d: leave.s IL_00a2 -} // end handler -IL_008f: ldarg.0 -IL_0090: ldc.i4.s -2 -IL_0092: stfld int32 valuetype GenericMethod/'d__1`1'::'<>1__state' -IL_0097: ldarg.0 -IL_0098: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder valuetype GenericMethod/'d__1`1'::'<>t__builder' -IL_009d: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetResult() -IL_00a2: ret -} -.method private hidebysig newslot virtual final -instance void SetStateMachine(class [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed -{ -.param [1] -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.override [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine -.maxstack 8 -IL_0000: ldarg.0 -IL_0001: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder valuetype GenericMethod/'d__1`1'::'<>t__builder' -IL_0006: ldarg.1 -IL_0007: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetStateMachine(class [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine) -IL_000c: ret -} -} -.method public hidebysig instance class [System.Runtime]System.Threading.Tasks.Task -Method(class [System.Runtime]System.Threading.Tasks.Task`1 itemTask) cil managed -{ -2B 3C 4D 65 74 68 6F 64 3E 64 5F 5F 30 60 31 00 // +d__0`1. -00 ) -.param type TItem -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 02 00 00 ) -.maxstack 2 -.locals init (valuetype GenericMethod/'d__0`1' V_0) -IL_0000: ldloca.s V_0 -IL_0002: call valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Create() -IL_0007: stfld valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder valuetype GenericMethod/'d__0`1'::'<>t__builder' -IL_000c: ldloca.s V_0 -IL_000e: ldarg.1 -IL_000f: stfld class [System.Runtime]System.Threading.Tasks.Task`1 valuetype GenericMethod/'d__0`1'::itemTask -IL_0014: ldloca.s V_0 -IL_0016: ldc.i4.m1 -IL_0017: stfld int32 valuetype GenericMethod/'d__0`1'::'<>1__state' -IL_001c: ldloca.s V_0 -IL_001e: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder valuetype GenericMethod/'d__0`1'::'<>t__builder' -IL_0023: ldloca.s V_0 -IL_0025: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Startd__0`1'>(!!0&) -IL_002a: ldloca.s V_0 -IL_002c: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder valuetype GenericMethod/'d__0`1'::'<>t__builder' -IL_0031: call instance class [System.Runtime]System.Threading.Tasks.Task [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::get_Task() -IL_0036: ret -} -.method public hidebysig instance class [System.Runtime]System.Threading.Tasks.Task -Method_WithValueTask(class [System.Runtime]System.Threading.Tasks.Task`1 itemTask) cil managed -{ -2B 3C 4D 65 74 68 6F 64 5F 57 69 74 68 56 61 6C // +d__1`1.. -.param type TItem -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 02 00 00 ) -.maxstack 2 -.locals init (valuetype GenericMethod/'d__1`1' V_0) -IL_0000: ldloca.s V_0 -IL_0002: call valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Create() -IL_0007: stfld valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder valuetype GenericMethod/'d__1`1'::'<>t__builder' -IL_000c: ldloca.s V_0 -IL_000e: ldarg.1 -IL_000f: stfld class [System.Runtime]System.Threading.Tasks.Task`1 valuetype GenericMethod/'d__1`1'::itemTask -IL_0014: ldloca.s V_0 -IL_0016: ldc.i4.m1 -IL_0017: stfld int32 valuetype GenericMethod/'d__1`1'::'<>1__state' -IL_001c: ldloca.s V_0 -IL_001e: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder valuetype GenericMethod/'d__1`1'::'<>t__builder' -IL_0023: ldloca.s V_0 -IL_0025: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Startd__1`1'>(!!0&) -IL_002a: ldloca.s V_0 -IL_002c: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder valuetype GenericMethod/'d__1`1'::'<>t__builder' -IL_0031: call instance class [System.Runtime]System.Threading.Tasks.Task [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::get_Task() -IL_0036: ret -} -.method public hidebysig specialname rtspecialname -instance void .ctor() cil managed -{ -.maxstack 8 -IL_0000: ldarg.0 -IL_0001: call instance void [System.Runtime]System.Object::.ctor() -IL_0006: ret -} -} diff --git a/Tests/ModuleWeaverTests.DecompileGenericMethod.Debug.Core.verified.txt b/Tests/ModuleWeaverTests.DecompileGenericMethod.Debug.Core.verified.txt deleted file mode 100644 index a3efb20..0000000 --- a/Tests/ModuleWeaverTests.DecompileGenericMethod.Debug.Core.verified.txt +++ /dev/null @@ -1,359 +0,0 @@ -.class private auto ansi sealed beforefieldinit GenericMethod -extends [System.Runtime]System.Object -{ -.custom instance void System.Runtime.CompilerServices.NullableContextAttribute::.ctor(uint8) = ( 01 00 01 00 00 ) -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.class auto ansi sealed nested private beforefieldinit 'd__0`1' -extends [System.Runtime]System.Object -implements [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine -{ -.interfaceimpl type [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field public int32 '<>1__state' -.field public valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder '<>t__builder' -.field public class [System.Runtime]System.Threading.Tasks.Task`1 itemTask -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field public class GenericMethod '<>4__this' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field private !TItem '5__1' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field private !TItem '<>s__2' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field private valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter '<>u__1' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.method public hidebysig specialname rtspecialname -instance void .ctor() cil managed -{ -.maxstack 8 -IL_0000: ldarg.0 -IL_0001: call instance void [System.Runtime]System.Object::.ctor() -IL_0006: nop -IL_0007: ret -} -.method private hidebysig newslot virtual final -instance void MoveNext() cil managed -{ -.override [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext -.maxstack 3 -.locals init (int32 V_0, -valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter V_1, -valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1 V_2, -class GenericMethod/'d__0`1' V_3, -class [System.Runtime]System.Exception V_4) -IL_0000: ldarg.0 -IL_0001: ldfld int32 class GenericMethod/'d__0`1'::'<>1__state' -IL_0006: stloc.0 -.try -{ -IL_0007: ldloc.0 -IL_0008: brfalse.s IL_000c -IL_000a: br.s IL_000e -IL_000c: br.s IL_0054 -IL_000e: nop -IL_000f: ldarg.0 -IL_0010: ldfld class [System.Runtime]System.Threading.Tasks.Task`1 class GenericMethod/'d__0`1'::itemTask -IL_0015: ldc.i4.0 -IL_0016: callvirt instance valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1 class [System.Private.CoreLib]System.Threading.Tasks.Task`1::ConfigureAwait(bool) -IL_001b: stloc.2 -IL_001c: ldloca.s V_2 -IL_001e: call instance valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1::GetAwaiter() -IL_0023: stloc.1 -IL_0024: ldloca.s V_1 -IL_0026: call instance bool valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter::get_IsCompleted() -IL_002b: brtrue.s IL_0070 -IL_002d: ldarg.0 -IL_002e: ldc.i4.0 -IL_002f: dup -IL_0030: stloc.0 -IL_0031: stfld int32 class GenericMethod/'d__0`1'::'<>1__state' -IL_0036: ldarg.0 -IL_0037: ldloc.1 -IL_0038: stfld valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter class GenericMethod/'d__0`1'::'<>u__1' -IL_003d: ldarg.0 -IL_003e: stloc.3 -IL_003f: ldarg.0 -IL_0040: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder class GenericMethod/'d__0`1'::'<>t__builder' -IL_0045: ldloca.s V_1 -IL_0047: ldloca.s V_3 -IL_0049: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::AwaitUnsafeOnCompleted,class GenericMethod/'d__0`1'>(!!0&, -!!1&) -IL_004e: nop -IL_004f: leave IL_00dd -IL_0054: ldarg.0 -IL_0055: ldfld valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter class GenericMethod/'d__0`1'::'<>u__1' -IL_005a: stloc.1 -IL_005b: ldarg.0 -IL_005c: ldflda valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter class GenericMethod/'d__0`1'::'<>u__1' -IL_0061: initobj valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter -IL_0067: ldarg.0 -IL_0068: ldc.i4.m1 -IL_0069: dup -IL_006a: stloc.0 -IL_006b: stfld int32 class GenericMethod/'d__0`1'::'<>1__state' -IL_0070: ldarg.0 -IL_0071: ldloca.s V_1 -IL_0073: call instance !0 valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter::GetResult() -IL_0078: stfld !0 class GenericMethod/'d__0`1'::'<>s__2' -IL_007d: ldarg.0 -IL_007e: ldarg.0 -IL_007f: ldfld !0 class GenericMethod/'d__0`1'::'<>s__2' -IL_0084: stfld !0 class GenericMethod/'d__0`1'::'5__1' -IL_0089: ldarg.0 -IL_008a: ldflda !0 class GenericMethod/'d__0`1'::'<>s__2' -IL_008f: initobj !TItem -IL_0095: leave.s IL_00bd -} // end .try -catch [System.Runtime]System.Exception -{ -IL_0097: stloc.s V_4 -IL_0099: ldarg.0 -IL_009a: ldc.i4.s -2 -IL_009c: stfld int32 class GenericMethod/'d__0`1'::'<>1__state' -IL_00a1: ldarg.0 -IL_00a2: ldflda !0 class GenericMethod/'d__0`1'::'5__1' -IL_00a7: initobj !TItem -IL_00ad: ldarg.0 -IL_00ae: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder class GenericMethod/'d__0`1'::'<>t__builder' -IL_00b3: ldloc.s V_4 -IL_00b5: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetException(class [System.Runtime]System.Exception) -IL_00ba: nop -IL_00bb: leave.s IL_00dd -} // end handler -IL_00bd: ldarg.0 -IL_00be: ldc.i4.s -2 -IL_00c0: stfld int32 class GenericMethod/'d__0`1'::'<>1__state' -IL_00c5: ldarg.0 -IL_00c6: ldflda !0 class GenericMethod/'d__0`1'::'5__1' -IL_00cb: initobj !TItem -IL_00d1: ldarg.0 -IL_00d2: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder class GenericMethod/'d__0`1'::'<>t__builder' -IL_00d7: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetResult() -IL_00dc: nop -IL_00dd: ret -} -.method private hidebysig newslot virtual final -instance void SetStateMachine(class [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed -{ -.param [1] -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.override [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine -.maxstack 8 -IL_0000: ret -} -} -.class auto ansi sealed nested private beforefieldinit 'd__1`1' -extends [System.Runtime]System.Object -implements [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine -{ -.interfaceimpl type [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field public int32 '<>1__state' -.field public valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder '<>t__builder' -.field public class [System.Runtime]System.Threading.Tasks.Task`1 itemTask -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field public class GenericMethod '<>4__this' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field private !TItem '5__1' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field private !TItem '<>s__2' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field private valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1/ConfiguredValueTaskAwaiter '<>u__1' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.method public hidebysig specialname rtspecialname -instance void .ctor() cil managed -{ -.maxstack 8 -IL_0000: ldarg.0 -IL_0001: call instance void [System.Runtime]System.Object::.ctor() -IL_0006: nop -IL_0007: ret -} -.method private hidebysig newslot virtual final -instance void MoveNext() cil managed -{ -.override [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext -.maxstack 3 -.locals init (int32 V_0, -valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1/ConfiguredValueTaskAwaiter V_1, -valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1 V_2, -valuetype [System.Threading.Tasks.Extensions]System.Threading.Tasks.ValueTask`1 V_3, -class GenericMethod/'d__1`1' V_4, -class [System.Runtime]System.Exception V_5) -IL_0000: ldarg.0 -IL_0001: ldfld int32 class GenericMethod/'d__1`1'::'<>1__state' -IL_0006: stloc.0 -.try -{ -IL_0007: ldloc.0 -IL_0008: brfalse.s IL_000c -IL_000a: br.s IL_000e -IL_000c: br.s IL_005d -IL_000e: nop -IL_000f: ldarg.0 -IL_0010: ldfld class [System.Runtime]System.Threading.Tasks.Task`1 class GenericMethod/'d__1`1'::itemTask -IL_0015: call instance void valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1::.ctor(valuetype [System.Private.CoreLib]System.Threading.Tasks.ValueTask`1&) -IL_001a: stloc.3 -IL_001b: ldloca.s V_3 -IL_001d: ldc.i4.0 -IL_001e: callvirt instance valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1 valuetype [System.Private.CoreLib]System.Threading.Tasks.ValueTask`1::ConfigureAwait(bool) -IL_0023: stloc.2 -IL_0024: ldloca.s V_2 -IL_0026: call instance valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1/ConfiguredValueTaskAwaiter valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1::GetAwaiter() -IL_002b: stloc.1 -IL_002c: ldloca.s V_1 -IL_002e: call instance bool valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1/ConfiguredValueTaskAwaiter::get_IsCompleted() -IL_0033: brtrue.s IL_0079 -IL_0035: ldarg.0 -IL_0036: ldc.i4.0 -IL_0037: dup -IL_0038: stloc.0 -IL_0039: stfld int32 class GenericMethod/'d__1`1'::'<>1__state' -IL_003e: ldarg.0 -IL_003f: ldloc.1 -IL_0040: stfld valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1/ConfiguredValueTaskAwaiter class GenericMethod/'d__1`1'::'<>u__1' -IL_0045: ldarg.0 -IL_0046: stloc.s V_4 -IL_0048: ldarg.0 -IL_0049: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder class GenericMethod/'d__1`1'::'<>t__builder' -IL_004e: ldloca.s V_1 -IL_0050: ldloca.s V_4 -IL_0052: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::AwaitUnsafeOnCompleted,class GenericMethod/'d__1`1'>(!!0&, -!!1&) -IL_0057: nop -IL_0058: leave IL_00e6 -IL_005d: ldarg.0 -IL_005e: ldfld valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1/ConfiguredValueTaskAwaiter class GenericMethod/'d__1`1'::'<>u__1' -IL_0063: stloc.1 -IL_0064: ldarg.0 -IL_0065: ldflda valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1/ConfiguredValueTaskAwaiter class GenericMethod/'d__1`1'::'<>u__1' -IL_006a: initobj valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1/ConfiguredValueTaskAwaiter -IL_0070: ldarg.0 -IL_0071: ldc.i4.m1 -IL_0072: dup -IL_0073: stloc.0 -IL_0074: stfld int32 class GenericMethod/'d__1`1'::'<>1__state' -IL_0079: ldarg.0 -IL_007a: ldloca.s V_1 -IL_007c: call instance !0 valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1/ConfiguredValueTaskAwaiter::GetResult() -IL_0081: stfld !0 class GenericMethod/'d__1`1'::'<>s__2' -IL_0086: ldarg.0 -IL_0087: ldarg.0 -IL_0088: ldfld !0 class GenericMethod/'d__1`1'::'<>s__2' -IL_008d: stfld !0 class GenericMethod/'d__1`1'::'5__1' -IL_0092: ldarg.0 -IL_0093: ldflda !0 class GenericMethod/'d__1`1'::'<>s__2' -IL_0098: initobj !TItem -IL_009e: leave.s IL_00c6 -} // end .try -catch [System.Runtime]System.Exception -{ -IL_00a0: stloc.s V_5 -IL_00a2: ldarg.0 -IL_00a3: ldc.i4.s -2 -IL_00a5: stfld int32 class GenericMethod/'d__1`1'::'<>1__state' -IL_00aa: ldarg.0 -IL_00ab: ldflda !0 class GenericMethod/'d__1`1'::'5__1' -IL_00b0: initobj !TItem -IL_00b6: ldarg.0 -IL_00b7: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder class GenericMethod/'d__1`1'::'<>t__builder' -IL_00bc: ldloc.s V_5 -IL_00be: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetException(class [System.Runtime]System.Exception) -IL_00c3: nop -IL_00c4: leave.s IL_00e6 -} // end handler -IL_00c6: ldarg.0 -IL_00c7: ldc.i4.s -2 -IL_00c9: stfld int32 class GenericMethod/'d__1`1'::'<>1__state' -IL_00ce: ldarg.0 -IL_00cf: ldflda !0 class GenericMethod/'d__1`1'::'5__1' -IL_00d4: initobj !TItem -IL_00da: ldarg.0 -IL_00db: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder class GenericMethod/'d__1`1'::'<>t__builder' -IL_00e0: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetResult() -IL_00e5: nop -IL_00e6: ret -} -.method private hidebysig newslot virtual final -instance void SetStateMachine(class [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed -{ -.param [1] -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.override [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine -.maxstack 8 -IL_0000: ret -} -} -.method public hidebysig instance class [System.Runtime]System.Threading.Tasks.Task -Method(class [System.Runtime]System.Threading.Tasks.Task`1 itemTask) cil managed -{ -2B 3C 4D 65 74 68 6F 64 3E 64 5F 5F 30 60 31 00 // +d__0`1. -00 ) -.param type TItem -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 02 00 00 ) -.maxstack 2 -.locals init (class GenericMethod/'d__0`1' V_0) -IL_0000: newobj instance void class GenericMethod/'d__0`1'::.ctor() -IL_0005: stloc.0 -IL_0006: ldloc.0 -IL_0007: call valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Create() -IL_000c: stfld valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder class GenericMethod/'d__0`1'::'<>t__builder' -IL_0011: ldloc.0 -IL_0012: ldarg.0 -IL_0013: stfld class GenericMethod class GenericMethod/'d__0`1'::'<>4__this' -IL_0018: ldloc.0 -IL_0019: ldarg.1 -IL_001a: stfld class [System.Runtime]System.Threading.Tasks.Task`1 class GenericMethod/'d__0`1'::itemTask -IL_001f: ldloc.0 -IL_0020: ldc.i4.m1 -IL_0021: stfld int32 class GenericMethod/'d__0`1'::'<>1__state' -IL_0026: ldloc.0 -IL_0027: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder class GenericMethod/'d__0`1'::'<>t__builder' -IL_002c: ldloca.s V_0 -IL_002e: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Startd__0`1'>(!!0&) -IL_0033: ldloc.0 -IL_0034: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder class GenericMethod/'d__0`1'::'<>t__builder' -IL_0039: call instance class [System.Runtime]System.Threading.Tasks.Task [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::get_Task() -IL_003e: ret -} -.method public hidebysig instance class [System.Runtime]System.Threading.Tasks.Task -Method_WithValueTask(class [System.Runtime]System.Threading.Tasks.Task`1 itemTask) cil managed -{ -2B 3C 4D 65 74 68 6F 64 5F 57 69 74 68 56 61 6C // +d__1`1.. -.param type TItem -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 02 00 00 ) -.maxstack 2 -.locals init (class GenericMethod/'d__1`1' V_0) -IL_0000: newobj instance void class GenericMethod/'d__1`1'::.ctor() -IL_0005: stloc.0 -IL_0006: ldloc.0 -IL_0007: call valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Create() -IL_000c: stfld valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder class GenericMethod/'d__1`1'::'<>t__builder' -IL_0011: ldloc.0 -IL_0012: ldarg.0 -IL_0013: stfld class GenericMethod class GenericMethod/'d__1`1'::'<>4__this' -IL_0018: ldloc.0 -IL_0019: ldarg.1 -IL_001a: stfld class [System.Runtime]System.Threading.Tasks.Task`1 class GenericMethod/'d__1`1'::itemTask -IL_001f: ldloc.0 -IL_0020: ldc.i4.m1 -IL_0021: stfld int32 class GenericMethod/'d__1`1'::'<>1__state' -IL_0026: ldloc.0 -IL_0027: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder class GenericMethod/'d__1`1'::'<>t__builder' -IL_002c: ldloca.s V_0 -IL_002e: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Startd__1`1'>(!!0&) -IL_0033: ldloc.0 -IL_0034: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder class GenericMethod/'d__1`1'::'<>t__builder' -IL_0039: call instance class [System.Runtime]System.Threading.Tasks.Task [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::get_Task() -IL_003e: ret -} -.method public hidebysig specialname rtspecialname -instance void .ctor() cil managed -{ -.maxstack 8 -IL_0000: ldarg.0 -IL_0001: call instance void [System.Runtime]System.Object::.ctor() -IL_0006: nop -IL_0007: ret -} -} diff --git a/Tests/ModuleWeaverTests.DecompileGenericMethod.Debug.DotNet.verified.txt b/Tests/ModuleWeaverTests.DecompileGenericMethod.Debug.DotNet.verified.txt deleted file mode 100644 index 949658f..0000000 --- a/Tests/ModuleWeaverTests.DecompileGenericMethod.Debug.DotNet.verified.txt +++ /dev/null @@ -1,177 +0,0 @@ -.class private auto ansi sealed beforefieldinit GenericMethod -extends [System.Runtime]System.Object -{ -.class auto ansi sealed nested private beforefieldinit 'd__0`1' -extends [System.Runtime]System.Object -implements [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine -{ -.field public int32 '<>1__state' -.field public valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder '<>t__builder' -.field public class [System.Runtime]System.Threading.Tasks.Task`1 itemTask -.field public class GenericMethod '<>4__this' -.field private !TItem '5__1' -.field private !TItem '<>s__2' -.field private valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter '<>u__1' -.method public hidebysig specialname rtspecialname -instance void .ctor() cil managed -{ -.maxstack 8 -IL_0000: ldarg.0 -IL_0001: call instance void [System.Runtime]System.Object::.ctor() -IL_0006: nop -IL_0007: ret -} -.method private hidebysig newslot virtual final -instance void MoveNext() cil managed -{ -.override [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext -.maxstack 3 -.locals init (int32 V_0, -valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter V_1, -valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1 V_2, -class GenericMethod/'d__0`1' V_3, -class [System.Runtime]System.Exception V_4) -IL_0000: ldarg.0 -IL_0001: ldfld int32 class GenericMethod/'d__0`1'::'<>1__state' -IL_0006: stloc.0 -.try -{ -IL_0007: ldloc.0 -IL_0008: brfalse.s IL_000c -IL_000a: br.s IL_000e -IL_000c: br.s IL_0054 -IL_000e: nop -IL_000f: ldarg.0 -IL_0010: ldfld class [System.Runtime]System.Threading.Tasks.Task`1 class GenericMethod/'d__0`1'::itemTask -IL_0015: ldc.i4.0 -IL_0016: callvirt instance valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1 class [System.Private.CoreLib]System.Threading.Tasks.Task`1::ConfigureAwait(bool) -IL_001b: stloc.2 -IL_001c: ldloca.s V_2 -IL_001e: call instance valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1::GetAwaiter() -IL_0023: stloc.1 -IL_0024: ldloca.s V_1 -IL_0026: call instance bool valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter::get_IsCompleted() -IL_002b: brtrue.s IL_0070 -IL_002d: ldarg.0 -IL_002e: ldc.i4.0 -IL_002f: dup -IL_0030: stloc.0 -IL_0031: stfld int32 class GenericMethod/'d__0`1'::'<>1__state' -IL_0036: ldarg.0 -IL_0037: ldloc.1 -IL_0038: stfld valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter class GenericMethod/'d__0`1'::'<>u__1' -IL_003d: ldarg.0 -IL_003e: stloc.3 -IL_003f: ldarg.0 -IL_0040: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder class GenericMethod/'d__0`1'::'<>t__builder' -IL_0045: ldloca.s V_1 -IL_0047: ldloca.s V_3 -IL_0049: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::AwaitUnsafeOnCompleted,class GenericMethod/'d__0`1'>(!!0&, -!!1&) -IL_004e: nop -IL_004f: leave IL_00dd -IL_0054: ldarg.0 -IL_0055: ldfld valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter class GenericMethod/'d__0`1'::'<>u__1' -IL_005a: stloc.1 -IL_005b: ldarg.0 -IL_005c: ldflda valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter class GenericMethod/'d__0`1'::'<>u__1' -IL_0061: initobj valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter -IL_0067: ldarg.0 -IL_0068: ldc.i4.m1 -IL_0069: dup -IL_006a: stloc.0 -IL_006b: stfld int32 class GenericMethod/'d__0`1'::'<>1__state' -IL_0070: ldarg.0 -IL_0071: ldloca.s V_1 -IL_0073: call instance !0 valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter::GetResult() -IL_0078: stfld !0 class GenericMethod/'d__0`1'::'<>s__2' -IL_007d: ldarg.0 -IL_007e: ldarg.0 -IL_007f: ldfld !0 class GenericMethod/'d__0`1'::'<>s__2' -IL_0084: stfld !0 class GenericMethod/'d__0`1'::'5__1' -IL_0089: ldarg.0 -IL_008a: ldflda !0 class GenericMethod/'d__0`1'::'<>s__2' -IL_008f: initobj !TItem -IL_0095: leave.s IL_00bd -} // end .try -catch [System.Runtime]System.Exception -{ -IL_0097: stloc.s V_4 -IL_0099: ldarg.0 -IL_009a: ldc.i4.s -2 -IL_009c: stfld int32 class GenericMethod/'d__0`1'::'<>1__state' -IL_00a1: ldarg.0 -IL_00a2: ldflda !0 class GenericMethod/'d__0`1'::'5__1' -IL_00a7: initobj !TItem -IL_00ad: ldarg.0 -IL_00ae: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder class GenericMethod/'d__0`1'::'<>t__builder' -IL_00b3: ldloc.s V_4 -IL_00b5: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetException(class [System.Runtime]System.Exception) -IL_00ba: nop -IL_00bb: leave.s IL_00dd -} // end handler -IL_00bd: ldarg.0 -IL_00be: ldc.i4.s -2 -IL_00c0: stfld int32 class GenericMethod/'d__0`1'::'<>1__state' -IL_00c5: ldarg.0 -IL_00c6: ldflda !0 class GenericMethod/'d__0`1'::'5__1' -IL_00cb: initobj !TItem -IL_00d1: ldarg.0 -IL_00d2: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder class GenericMethod/'d__0`1'::'<>t__builder' -IL_00d7: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetResult() -IL_00dc: nop -IL_00dd: ret -} -.method private hidebysig newslot virtual final -instance void SetStateMachine(class [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed -{ -.param [1] -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 01 00 00 ) -.override [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine -.maxstack 8 -IL_0000: ret -} -} -.method public hidebysig instance class [System.Runtime]System.Threading.Tasks.Task -Method(class [System.Runtime]System.Threading.Tasks.Task`1 itemTask) cil managed -{ -.custom instance void System.Runtime.CompilerServices.NullableContextAttribute::.ctor(uint8) = ( 01 00 01 00 00 ) -2B 3C 4D 65 74 68 6F 64 3E 64 5F 5F 30 60 31 00 // +d__0`1. -00 ) -.param type TItem -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 02 00 00 ) -.maxstack 2 -.locals init (class GenericMethod/'d__0`1' V_0) -IL_0000: newobj instance void class GenericMethod/'d__0`1'::.ctor() -IL_0005: stloc.0 -IL_0006: ldloc.0 -IL_0007: call valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Create() -IL_000c: stfld valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder class GenericMethod/'d__0`1'::'<>t__builder' -IL_0011: ldloc.0 -IL_0012: ldarg.0 -IL_0013: stfld class GenericMethod class GenericMethod/'d__0`1'::'<>4__this' -IL_0018: ldloc.0 -IL_0019: ldarg.1 -IL_001a: stfld class [System.Runtime]System.Threading.Tasks.Task`1 class GenericMethod/'d__0`1'::itemTask -IL_001f: ldloc.0 -IL_0020: ldc.i4.m1 -IL_0021: stfld int32 class GenericMethod/'d__0`1'::'<>1__state' -IL_0026: ldloc.0 -IL_0027: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder class GenericMethod/'d__0`1'::'<>t__builder' -IL_002c: ldloca.s V_0 -IL_002e: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Startd__0`1'>(!!0&) -IL_0033: ldloc.0 -IL_0034: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder class GenericMethod/'d__0`1'::'<>t__builder' -IL_0039: call instance class [System.Runtime]System.Threading.Tasks.Task [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::get_Task() -IL_003e: ret -} -.method public hidebysig specialname rtspecialname -instance void .ctor() cil managed -{ -.maxstack 8 -IL_0000: ldarg.0 -IL_0001: call instance void [System.Runtime]System.Object::.ctor() -IL_0006: nop -IL_0007: ret -} -} diff --git a/Tests/ModuleWeaverTests.DecompileGenericMethod.Core.Debug.verified.txt b/Tests/ModuleWeaverTests.DecompileGenericMethod.Debug.DotNet10_0.verified.txt similarity index 62% rename from Tests/ModuleWeaverTests.DecompileGenericMethod.Core.Debug.verified.txt rename to Tests/ModuleWeaverTests.DecompileGenericMethod.Debug.DotNet10_0.verified.txt index a3efb20..4444d41 100644 --- a/Tests/ModuleWeaverTests.DecompileGenericMethod.Core.Debug.verified.txt +++ b/Tests/ModuleWeaverTests.DecompileGenericMethod.Debug.DotNet10_0.verified.txt @@ -1,26 +1,18 @@ .class private auto ansi sealed beforefieldinit GenericMethod extends [System.Runtime]System.Object { -.custom instance void System.Runtime.CompilerServices.NullableContextAttribute::.ctor(uint8) = ( 01 00 01 00 00 ) -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) .class auto ansi sealed nested private beforefieldinit 'd__0`1' extends [System.Runtime]System.Object -implements [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine +implements [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine { -.interfaceimpl type [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) +.interfaceimpl type [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine .field public int32 '<>1__state' -.field public valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder '<>t__builder' +.field public valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder '<>t__builder' .field public class [System.Runtime]System.Threading.Tasks.Task`1 itemTask -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) .field public class GenericMethod '<>4__this' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) .field private !TItem '5__1' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) .field private !TItem '<>s__2' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) .field private valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter '<>u__1' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) .method public hidebysig specialname rtspecialname instance void .ctor() cil managed { @@ -33,7 +25,7 @@ IL_0007: ret .method private hidebysig newslot virtual final instance void MoveNext() cil managed { -.override [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext +.override [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext .maxstack 3 .locals init (int32 V_0, valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter V_1, @@ -72,10 +64,10 @@ IL_0038: stfld valuetype [System.Private.CoreLib]System.Runtime.CompilerSe IL_003d: ldarg.0 IL_003e: stloc.3 IL_003f: ldarg.0 -IL_0040: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder class GenericMethod/'d__0`1'::'<>t__builder' +IL_0040: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder class GenericMethod/'d__0`1'::'<>t__builder' IL_0045: ldloca.s V_1 IL_0047: ldloca.s V_3 -IL_0049: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::AwaitUnsafeOnCompleted,class GenericMethod/'d__0`1'>(!!0&, +IL_0049: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::AwaitUnsafeOnCompleted,class GenericMethod/'d__0`1'>(!!0&, !!1&) IL_004e: nop IL_004f: leave IL_00dd @@ -113,9 +105,9 @@ IL_00a1: ldarg.0 IL_00a2: ldflda !0 class GenericMethod/'d__0`1'::'5__1' IL_00a7: initobj !TItem IL_00ad: ldarg.0 -IL_00ae: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder class GenericMethod/'d__0`1'::'<>t__builder' +IL_00ae: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder class GenericMethod/'d__0`1'::'<>t__builder' IL_00b3: ldloc.s V_4 -IL_00b5: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetException(class [System.Runtime]System.Exception) +IL_00b5: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetException(class [System.Runtime]System.Exception) IL_00ba: nop IL_00bb: leave.s IL_00dd } // end handler @@ -126,39 +118,31 @@ IL_00c5: ldarg.0 IL_00c6: ldflda !0 class GenericMethod/'d__0`1'::'5__1' IL_00cb: initobj !TItem IL_00d1: ldarg.0 -IL_00d2: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder class GenericMethod/'d__0`1'::'<>t__builder' -IL_00d7: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetResult() +IL_00d2: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder class GenericMethod/'d__0`1'::'<>t__builder' +IL_00d7: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetResult() IL_00dc: nop IL_00dd: ret } .method private hidebysig newslot virtual final -instance void SetStateMachine(class [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed +instance void SetStateMachine(class [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed { -.param [1] -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.override [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine +.override [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine .maxstack 8 IL_0000: ret } } .class auto ansi sealed nested private beforefieldinit 'd__1`1' extends [System.Runtime]System.Object -implements [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine +implements [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine { -.interfaceimpl type [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) +.interfaceimpl type [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine .field public int32 '<>1__state' -.field public valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder '<>t__builder' +.field public valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder '<>t__builder' .field public class [System.Runtime]System.Threading.Tasks.Task`1 itemTask -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) .field public class GenericMethod '<>4__this' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) .field private !TItem '5__1' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) .field private !TItem '<>s__2' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) .field private valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1/ConfiguredValueTaskAwaiter '<>u__1' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) .method public hidebysig specialname rtspecialname instance void .ctor() cil managed { @@ -171,12 +155,12 @@ IL_0007: ret .method private hidebysig newslot virtual final instance void MoveNext() cil managed { -.override [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext +.override [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext .maxstack 3 .locals init (int32 V_0, valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1/ConfiguredValueTaskAwaiter V_1, valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1 V_2, -valuetype [System.Threading.Tasks.Extensions]System.Threading.Tasks.ValueTask`1 V_3, +valuetype [System.Runtime]System.Threading.Tasks.ValueTask`1 V_3, class GenericMethod/'d__1`1' V_4, class [System.Runtime]System.Exception V_5) IL_0000: ldarg.0 @@ -191,7 +175,7 @@ IL_000c: br.s IL_005d IL_000e: nop IL_000f: ldarg.0 IL_0010: ldfld class [System.Runtime]System.Threading.Tasks.Task`1 class GenericMethod/'d__1`1'::itemTask -IL_0015: call instance void valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1::.ctor(valuetype [System.Private.CoreLib]System.Threading.Tasks.ValueTask`1&) +IL_0015: newobj instance void valuetype [System.Runtime]System.Threading.Tasks.ValueTask`1::.ctor(class [System.Runtime]System.Threading.Tasks.Task`1) IL_001a: stloc.3 IL_001b: ldloca.s V_3 IL_001d: ldc.i4.0 @@ -214,10 +198,10 @@ IL_0040: stfld valuetype [System.Private.CoreLib]System.Runtime.CompilerSe IL_0045: ldarg.0 IL_0046: stloc.s V_4 IL_0048: ldarg.0 -IL_0049: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder class GenericMethod/'d__1`1'::'<>t__builder' +IL_0049: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder class GenericMethod/'d__1`1'::'<>t__builder' IL_004e: ldloca.s V_1 IL_0050: ldloca.s V_4 -IL_0052: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::AwaitUnsafeOnCompleted,class GenericMethod/'d__1`1'>(!!0&, +IL_0052: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::AwaitUnsafeOnCompleted,class GenericMethod/'d__1`1'>(!!0&, !!1&) IL_0057: nop IL_0058: leave IL_00e6 @@ -255,9 +239,9 @@ IL_00aa: ldarg.0 IL_00ab: ldflda !0 class GenericMethod/'d__1`1'::'5__1' IL_00b0: initobj !TItem IL_00b6: ldarg.0 -IL_00b7: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder class GenericMethod/'d__1`1'::'<>t__builder' +IL_00b7: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder class GenericMethod/'d__1`1'::'<>t__builder' IL_00bc: ldloc.s V_5 -IL_00be: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetException(class [System.Runtime]System.Exception) +IL_00be: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetException(class [System.Runtime]System.Exception) IL_00c3: nop IL_00c4: leave.s IL_00e6 } // end handler @@ -268,17 +252,15 @@ IL_00ce: ldarg.0 IL_00cf: ldflda !0 class GenericMethod/'d__1`1'::'5__1' IL_00d4: initobj !TItem IL_00da: ldarg.0 -IL_00db: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder class GenericMethod/'d__1`1'::'<>t__builder' -IL_00e0: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetResult() +IL_00db: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder class GenericMethod/'d__1`1'::'<>t__builder' +IL_00e0: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetResult() IL_00e5: nop IL_00e6: ret } .method private hidebysig newslot virtual final -instance void SetStateMachine(class [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed +instance void SetStateMachine(class [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed { -.param [1] -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.override [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine +.override [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine .maxstack 8 IL_0000: ret } @@ -289,14 +271,13 @@ Method(class [System.Runtime]System.Threading.Tasks.Task`1 itemT 2B 3C 4D 65 74 68 6F 64 3E 64 5F 5F 30 60 31 00 // +d__0`1. 00 ) .param type TItem -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 02 00 00 ) .maxstack 2 .locals init (class GenericMethod/'d__0`1' V_0) IL_0000: newobj instance void class GenericMethod/'d__0`1'::.ctor() IL_0005: stloc.0 IL_0006: ldloc.0 -IL_0007: call valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Create() -IL_000c: stfld valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder class GenericMethod/'d__0`1'::'<>t__builder' +IL_0007: call valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Create() +IL_000c: stfld valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder class GenericMethod/'d__0`1'::'<>t__builder' IL_0011: ldloc.0 IL_0012: ldarg.0 IL_0013: stfld class GenericMethod class GenericMethod/'d__0`1'::'<>4__this' @@ -307,12 +288,12 @@ IL_001f: ldloc.0 IL_0020: ldc.i4.m1 IL_0021: stfld int32 class GenericMethod/'d__0`1'::'<>1__state' IL_0026: ldloc.0 -IL_0027: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder class GenericMethod/'d__0`1'::'<>t__builder' +IL_0027: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder class GenericMethod/'d__0`1'::'<>t__builder' IL_002c: ldloca.s V_0 -IL_002e: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Startd__0`1'>(!!0&) +IL_002e: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Startd__0`1'>(!!0&) IL_0033: ldloc.0 -IL_0034: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder class GenericMethod/'d__0`1'::'<>t__builder' -IL_0039: call instance class [System.Runtime]System.Threading.Tasks.Task [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::get_Task() +IL_0034: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder class GenericMethod/'d__0`1'::'<>t__builder' +IL_0039: call instance class [System.Runtime]System.Threading.Tasks.Task [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::get_Task() IL_003e: ret } .method public hidebysig instance class [System.Runtime]System.Threading.Tasks.Task @@ -321,14 +302,13 @@ Method_WithValueTask(class [System.Runtime]System.Threading.Tasks.Task`1< 2B 3C 4D 65 74 68 6F 64 5F 57 69 74 68 56 61 6C // +d__1`1.. .param type TItem -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 02 00 00 ) .maxstack 2 .locals init (class GenericMethod/'d__1`1' V_0) IL_0000: newobj instance void class GenericMethod/'d__1`1'::.ctor() IL_0005: stloc.0 IL_0006: ldloc.0 -IL_0007: call valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Create() -IL_000c: stfld valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder class GenericMethod/'d__1`1'::'<>t__builder' +IL_0007: call valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Create() +IL_000c: stfld valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder class GenericMethod/'d__1`1'::'<>t__builder' IL_0011: ldloc.0 IL_0012: ldarg.0 IL_0013: stfld class GenericMethod class GenericMethod/'d__1`1'::'<>4__this' @@ -339,12 +319,12 @@ IL_001f: ldloc.0 IL_0020: ldc.i4.m1 IL_0021: stfld int32 class GenericMethod/'d__1`1'::'<>1__state' IL_0026: ldloc.0 -IL_0027: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder class GenericMethod/'d__1`1'::'<>t__builder' +IL_0027: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder class GenericMethod/'d__1`1'::'<>t__builder' IL_002c: ldloca.s V_0 -IL_002e: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Startd__1`1'>(!!0&) +IL_002e: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Startd__1`1'>(!!0&) IL_0033: ldloc.0 -IL_0034: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder class GenericMethod/'d__1`1'::'<>t__builder' -IL_0039: call instance class [System.Runtime]System.Threading.Tasks.Task [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::get_Task() +IL_0034: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder class GenericMethod/'d__1`1'::'<>t__builder' +IL_0039: call instance class [System.Runtime]System.Threading.Tasks.Task [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::get_Task() IL_003e: ret } .method public hidebysig specialname rtspecialname diff --git a/Tests/ModuleWeaverTests.DecompileGenericMethod.Debug.DotNet11_0.verified.txt b/Tests/ModuleWeaverTests.DecompileGenericMethod.Debug.DotNet11_0.verified.txt new file mode 100644 index 0000000..e315ea4 --- /dev/null +++ b/Tests/ModuleWeaverTests.DecompileGenericMethod.Debug.DotNet11_0.verified.txt @@ -0,0 +1,51 @@ +.class private auto ansi sealed beforefieldinit GenericMethod +extends [System.Runtime]System.Object +{ +.method public hidebysig instance class [System.Runtime]System.Threading.Tasks.Task +Method(class [System.Runtime]System.Threading.Tasks.Task`1 itemTask) cil managed +{ +.param type TItem +.maxstack 2 +.locals init (!!TItem V_0, +!!TItem V_1) +IL_0000: nop +IL_0001: ldarg.1 +IL_0002: ldc.i4.0 +IL_0003: callvirt instance valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1 class [System.Private.CoreLib]System.Threading.Tasks.Task`1::ConfigureAwait(bool) +IL_0008: call !!0 [System.Private.CoreLib]System.Runtime.CompilerServices.AsyncHelpers::Await(valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1) +IL_000d: stloc.1 +IL_000e: ldloc.1 +IL_000f: stloc.0 +IL_0010: ret +} +.method public hidebysig instance class [System.Runtime]System.Threading.Tasks.Task +Method_WithValueTask(class [System.Runtime]System.Threading.Tasks.Task`1 itemTask) cil managed +{ +.param type TItem +.maxstack 2 +.locals init (!!TItem V_0, +!!TItem V_1, +valuetype [System.Private.CoreLib]System.Threading.Tasks.ValueTask`1 V_2) +IL_0000: nop +IL_0001: ldarg.1 +IL_0002: newobj instance void valuetype [System.Runtime]System.Threading.Tasks.ValueTask`1::.ctor(class [System.Runtime]System.Threading.Tasks.Task`1) +IL_0007: stloc.2 +IL_0008: ldloca.s V_2 +IL_000a: ldc.i4.0 +IL_000b: call instance valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1 valuetype [System.Private.CoreLib]System.Threading.Tasks.ValueTask`1::ConfigureAwait(bool) +IL_0010: call !!0 [System.Private.CoreLib]System.Runtime.CompilerServices.AsyncHelpers::Await(valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1) +IL_0015: stloc.1 +IL_0016: ldloc.1 +IL_0017: stloc.0 +IL_0018: ret +} +.method public hidebysig specialname rtspecialname +instance void .ctor() cil managed +{ +.maxstack 8 +IL_0000: ldarg.0 +IL_0001: call instance void [System.Runtime]System.Object::.ctor() +IL_0006: nop +IL_0007: ret +} +} diff --git a/Tests/ModuleWeaverTests.DecompileGenericMethod.Debug.Net.verified.txt b/Tests/ModuleWeaverTests.DecompileGenericMethod.Debug.Net4_7.verified.txt similarity index 100% rename from Tests/ModuleWeaverTests.DecompileGenericMethod.Debug.Net.verified.txt rename to Tests/ModuleWeaverTests.DecompileGenericMethod.Debug.Net4_7.verified.txt diff --git a/Tests/ModuleWeaverTests.DecompileGenericMethod.DotNet.Debug.verified.txt b/Tests/ModuleWeaverTests.DecompileGenericMethod.DotNet.Debug.verified.txt deleted file mode 100644 index 949658f..0000000 --- a/Tests/ModuleWeaverTests.DecompileGenericMethod.DotNet.Debug.verified.txt +++ /dev/null @@ -1,177 +0,0 @@ -.class private auto ansi sealed beforefieldinit GenericMethod -extends [System.Runtime]System.Object -{ -.class auto ansi sealed nested private beforefieldinit 'd__0`1' -extends [System.Runtime]System.Object -implements [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine -{ -.field public int32 '<>1__state' -.field public valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder '<>t__builder' -.field public class [System.Runtime]System.Threading.Tasks.Task`1 itemTask -.field public class GenericMethod '<>4__this' -.field private !TItem '5__1' -.field private !TItem '<>s__2' -.field private valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter '<>u__1' -.method public hidebysig specialname rtspecialname -instance void .ctor() cil managed -{ -.maxstack 8 -IL_0000: ldarg.0 -IL_0001: call instance void [System.Runtime]System.Object::.ctor() -IL_0006: nop -IL_0007: ret -} -.method private hidebysig newslot virtual final -instance void MoveNext() cil managed -{ -.override [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext -.maxstack 3 -.locals init (int32 V_0, -valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter V_1, -valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1 V_2, -class GenericMethod/'d__0`1' V_3, -class [System.Runtime]System.Exception V_4) -IL_0000: ldarg.0 -IL_0001: ldfld int32 class GenericMethod/'d__0`1'::'<>1__state' -IL_0006: stloc.0 -.try -{ -IL_0007: ldloc.0 -IL_0008: brfalse.s IL_000c -IL_000a: br.s IL_000e -IL_000c: br.s IL_0054 -IL_000e: nop -IL_000f: ldarg.0 -IL_0010: ldfld class [System.Runtime]System.Threading.Tasks.Task`1 class GenericMethod/'d__0`1'::itemTask -IL_0015: ldc.i4.0 -IL_0016: callvirt instance valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1 class [System.Private.CoreLib]System.Threading.Tasks.Task`1::ConfigureAwait(bool) -IL_001b: stloc.2 -IL_001c: ldloca.s V_2 -IL_001e: call instance valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1::GetAwaiter() -IL_0023: stloc.1 -IL_0024: ldloca.s V_1 -IL_0026: call instance bool valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter::get_IsCompleted() -IL_002b: brtrue.s IL_0070 -IL_002d: ldarg.0 -IL_002e: ldc.i4.0 -IL_002f: dup -IL_0030: stloc.0 -IL_0031: stfld int32 class GenericMethod/'d__0`1'::'<>1__state' -IL_0036: ldarg.0 -IL_0037: ldloc.1 -IL_0038: stfld valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter class GenericMethod/'d__0`1'::'<>u__1' -IL_003d: ldarg.0 -IL_003e: stloc.3 -IL_003f: ldarg.0 -IL_0040: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder class GenericMethod/'d__0`1'::'<>t__builder' -IL_0045: ldloca.s V_1 -IL_0047: ldloca.s V_3 -IL_0049: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::AwaitUnsafeOnCompleted,class GenericMethod/'d__0`1'>(!!0&, -!!1&) -IL_004e: nop -IL_004f: leave IL_00dd -IL_0054: ldarg.0 -IL_0055: ldfld valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter class GenericMethod/'d__0`1'::'<>u__1' -IL_005a: stloc.1 -IL_005b: ldarg.0 -IL_005c: ldflda valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter class GenericMethod/'d__0`1'::'<>u__1' -IL_0061: initobj valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter -IL_0067: ldarg.0 -IL_0068: ldc.i4.m1 -IL_0069: dup -IL_006a: stloc.0 -IL_006b: stfld int32 class GenericMethod/'d__0`1'::'<>1__state' -IL_0070: ldarg.0 -IL_0071: ldloca.s V_1 -IL_0073: call instance !0 valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter::GetResult() -IL_0078: stfld !0 class GenericMethod/'d__0`1'::'<>s__2' -IL_007d: ldarg.0 -IL_007e: ldarg.0 -IL_007f: ldfld !0 class GenericMethod/'d__0`1'::'<>s__2' -IL_0084: stfld !0 class GenericMethod/'d__0`1'::'5__1' -IL_0089: ldarg.0 -IL_008a: ldflda !0 class GenericMethod/'d__0`1'::'<>s__2' -IL_008f: initobj !TItem -IL_0095: leave.s IL_00bd -} // end .try -catch [System.Runtime]System.Exception -{ -IL_0097: stloc.s V_4 -IL_0099: ldarg.0 -IL_009a: ldc.i4.s -2 -IL_009c: stfld int32 class GenericMethod/'d__0`1'::'<>1__state' -IL_00a1: ldarg.0 -IL_00a2: ldflda !0 class GenericMethod/'d__0`1'::'5__1' -IL_00a7: initobj !TItem -IL_00ad: ldarg.0 -IL_00ae: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder class GenericMethod/'d__0`1'::'<>t__builder' -IL_00b3: ldloc.s V_4 -IL_00b5: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetException(class [System.Runtime]System.Exception) -IL_00ba: nop -IL_00bb: leave.s IL_00dd -} // end handler -IL_00bd: ldarg.0 -IL_00be: ldc.i4.s -2 -IL_00c0: stfld int32 class GenericMethod/'d__0`1'::'<>1__state' -IL_00c5: ldarg.0 -IL_00c6: ldflda !0 class GenericMethod/'d__0`1'::'5__1' -IL_00cb: initobj !TItem -IL_00d1: ldarg.0 -IL_00d2: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder class GenericMethod/'d__0`1'::'<>t__builder' -IL_00d7: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetResult() -IL_00dc: nop -IL_00dd: ret -} -.method private hidebysig newslot virtual final -instance void SetStateMachine(class [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed -{ -.param [1] -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 01 00 00 ) -.override [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine -.maxstack 8 -IL_0000: ret -} -} -.method public hidebysig instance class [System.Runtime]System.Threading.Tasks.Task -Method(class [System.Runtime]System.Threading.Tasks.Task`1 itemTask) cil managed -{ -.custom instance void System.Runtime.CompilerServices.NullableContextAttribute::.ctor(uint8) = ( 01 00 01 00 00 ) -2B 3C 4D 65 74 68 6F 64 3E 64 5F 5F 30 60 31 00 // +d__0`1. -00 ) -.param type TItem -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 02 00 00 ) -.maxstack 2 -.locals init (class GenericMethod/'d__0`1' V_0) -IL_0000: newobj instance void class GenericMethod/'d__0`1'::.ctor() -IL_0005: stloc.0 -IL_0006: ldloc.0 -IL_0007: call valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Create() -IL_000c: stfld valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder class GenericMethod/'d__0`1'::'<>t__builder' -IL_0011: ldloc.0 -IL_0012: ldarg.0 -IL_0013: stfld class GenericMethod class GenericMethod/'d__0`1'::'<>4__this' -IL_0018: ldloc.0 -IL_0019: ldarg.1 -IL_001a: stfld class [System.Runtime]System.Threading.Tasks.Task`1 class GenericMethod/'d__0`1'::itemTask -IL_001f: ldloc.0 -IL_0020: ldc.i4.m1 -IL_0021: stfld int32 class GenericMethod/'d__0`1'::'<>1__state' -IL_0026: ldloc.0 -IL_0027: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder class GenericMethod/'d__0`1'::'<>t__builder' -IL_002c: ldloca.s V_0 -IL_002e: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Startd__0`1'>(!!0&) -IL_0033: ldloc.0 -IL_0034: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder class GenericMethod/'d__0`1'::'<>t__builder' -IL_0039: call instance class [System.Runtime]System.Threading.Tasks.Task [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::get_Task() -IL_003e: ret -} -.method public hidebysig specialname rtspecialname -instance void .ctor() cil managed -{ -.maxstack 8 -IL_0000: ldarg.0 -IL_0001: call instance void [System.Runtime]System.Object::.ctor() -IL_0006: nop -IL_0007: ret -} -} diff --git a/Tests/ModuleWeaverTests.DecompileGenericMethod.DotNet.Release.verified.txt b/Tests/ModuleWeaverTests.DecompileGenericMethod.DotNet.Release.verified.txt deleted file mode 100644 index f24758e..0000000 --- a/Tests/ModuleWeaverTests.DecompileGenericMethod.DotNet.Release.verified.txt +++ /dev/null @@ -1,140 +0,0 @@ -.class private auto ansi sealed beforefieldinit GenericMethod -extends [System.Runtime]System.Object -{ -.class auto ansi sealed nested private beforefieldinit 'd__0`1' -extends [System.Runtime]System.ValueType -implements [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine -{ -.field public int32 '<>1__state' -.field public valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder '<>t__builder' -.field public class [System.Runtime]System.Threading.Tasks.Task`1 itemTask -.field private valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter '<>u__1' -.method private hidebysig newslot virtual final -instance void MoveNext() cil managed -{ -.override [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext -.maxstack 3 -.locals init (int32 V_0, -valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter V_1, -valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1 V_2, -class [System.Runtime]System.Exception V_3) -IL_0000: ldarg.0 -IL_0001: ldfld int32 valuetype GenericMethod/'d__0`1'::'<>1__state' -IL_0006: stloc.0 -.try -{ -IL_0007: ldloc.0 -IL_0008: brfalse.s IL_0048 -IL_000a: ldarg.0 -IL_000b: ldfld class [System.Runtime]System.Threading.Tasks.Task`1 valuetype GenericMethod/'d__0`1'::itemTask -IL_0010: ldc.i4.0 -IL_0011: callvirt instance valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1 class [System.Private.CoreLib]System.Threading.Tasks.Task`1::ConfigureAwait(bool) -IL_0016: stloc.2 -IL_0017: ldloca.s V_2 -IL_0019: call instance valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1::GetAwaiter() -IL_001e: stloc.1 -IL_001f: ldloca.s V_1 -IL_0021: call instance bool valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter::get_IsCompleted() -IL_0026: brtrue.s IL_0064 -IL_0028: ldarg.0 -IL_0029: ldc.i4.0 -IL_002a: dup -IL_002b: stloc.0 -IL_002c: stfld int32 valuetype GenericMethod/'d__0`1'::'<>1__state' -IL_0031: ldarg.0 -IL_0032: ldloc.1 -IL_0033: stfld valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter valuetype GenericMethod/'d__0`1'::'<>u__1' -IL_0038: ldarg.0 -IL_0039: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder valuetype GenericMethod/'d__0`1'::'<>t__builder' -IL_003e: ldloca.s V_1 -IL_0040: ldarg.0 -IL_0041: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::AwaitUnsafeOnCompleted,valuetype GenericMethod/'d__0`1'>(!!0&, -!!1&) -IL_0046: leave.s IL_0098 -IL_0048: ldarg.0 -IL_0049: ldfld valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter valuetype GenericMethod/'d__0`1'::'<>u__1' -IL_004e: stloc.1 -IL_004f: ldarg.0 -IL_0050: ldflda valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter valuetype GenericMethod/'d__0`1'::'<>u__1' -IL_0055: initobj valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter -IL_005b: ldarg.0 -IL_005c: ldc.i4.m1 -IL_005d: dup -IL_005e: stloc.0 -IL_005f: stfld int32 valuetype GenericMethod/'d__0`1'::'<>1__state' -IL_0064: ldloca.s V_1 -IL_0066: call instance !0 valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter::GetResult() -IL_006b: pop -IL_006c: leave.s IL_0085 -} // end .try -catch [System.Runtime]System.Exception -{ -IL_006e: stloc.3 -IL_006f: ldarg.0 -IL_0070: ldc.i4.s -2 -IL_0072: stfld int32 valuetype GenericMethod/'d__0`1'::'<>1__state' -IL_0077: ldarg.0 -IL_0078: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder valuetype GenericMethod/'d__0`1'::'<>t__builder' -IL_007d: ldloc.3 -IL_007e: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetException(class [System.Runtime]System.Exception) -IL_0083: leave.s IL_0098 -} // end handler -IL_0085: ldarg.0 -IL_0086: ldc.i4.s -2 -IL_0088: stfld int32 valuetype GenericMethod/'d__0`1'::'<>1__state' -IL_008d: ldarg.0 -IL_008e: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder valuetype GenericMethod/'d__0`1'::'<>t__builder' -IL_0093: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetResult() -IL_0098: ret -} -.method private hidebysig newslot virtual final -instance void SetStateMachine(class [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed -{ -.param [1] -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 01 00 00 ) -.override [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine -.maxstack 8 -IL_0000: ldarg.0 -IL_0001: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder valuetype GenericMethod/'d__0`1'::'<>t__builder' -IL_0006: ldarg.1 -IL_0007: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetStateMachine(class [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine) -IL_000c: ret -} -} -.method public hidebysig instance class [System.Runtime]System.Threading.Tasks.Task -Method(class [System.Runtime]System.Threading.Tasks.Task`1 itemTask) cil managed -{ -.custom instance void System.Runtime.CompilerServices.NullableContextAttribute::.ctor(uint8) = ( 01 00 01 00 00 ) -2B 3C 4D 65 74 68 6F 64 3E 64 5F 5F 30 60 31 00 // +d__0`1. -00 ) -.param type TItem -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 02 00 00 ) -.maxstack 2 -.locals init (valuetype GenericMethod/'d__0`1' V_0) -IL_0000: ldloca.s V_0 -IL_0002: call valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Create() -IL_0007: stfld valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder valuetype GenericMethod/'d__0`1'::'<>t__builder' -IL_000c: ldloca.s V_0 -IL_000e: ldarg.1 -IL_000f: stfld class [System.Runtime]System.Threading.Tasks.Task`1 valuetype GenericMethod/'d__0`1'::itemTask -IL_0014: ldloca.s V_0 -IL_0016: ldc.i4.m1 -IL_0017: stfld int32 valuetype GenericMethod/'d__0`1'::'<>1__state' -IL_001c: ldloca.s V_0 -IL_001e: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder valuetype GenericMethod/'d__0`1'::'<>t__builder' -IL_0023: ldloca.s V_0 -IL_0025: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Startd__0`1'>(!!0&) -IL_002a: ldloca.s V_0 -IL_002c: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder valuetype GenericMethod/'d__0`1'::'<>t__builder' -IL_0031: call instance class [System.Runtime]System.Threading.Tasks.Task [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::get_Task() -IL_0036: ret -} -.method public hidebysig specialname rtspecialname -instance void .ctor() cil managed -{ -.maxstack 8 -IL_0000: ldarg.0 -IL_0001: call instance void [System.Runtime]System.Object::.ctor() -IL_0006: ret -} -} diff --git a/Tests/ModuleWeaverTests.DecompileGenericMethod.Net.Debug.verified.txt b/Tests/ModuleWeaverTests.DecompileGenericMethod.Net.Debug.verified.txt deleted file mode 100644 index 6dedca7..0000000 --- a/Tests/ModuleWeaverTests.DecompileGenericMethod.Net.Debug.verified.txt +++ /dev/null @@ -1,175 +0,0 @@ -.class private auto ansi sealed beforefieldinit GenericMethod -extends [mscorlib]System.Object -{ -.class auto ansi sealed nested private beforefieldinit 'd__0`1' -extends [mscorlib]System.Object -implements [mscorlib]System.Runtime.CompilerServices.IAsyncStateMachine -{ -.field public int32 '<>1__state' -.field public valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder '<>t__builder' -.field public class [mscorlib]System.Threading.Tasks.Task`1 itemTask -.field public class GenericMethod '<>4__this' -.field private !TItem '5__1' -.field private !TItem '<>s__2' -.field private valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter '<>u__1' -.method public hidebysig specialname rtspecialname -instance void .ctor() cil managed -{ -.maxstack 8 -IL_0000: ldarg.0 -IL_0001: call instance void [mscorlib]System.Object::.ctor() -IL_0006: nop -IL_0007: ret -} -.method private hidebysig newslot virtual final -instance void MoveNext() cil managed -{ -.override [mscorlib]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext -.maxstack 3 -.locals init (int32 V_0, -valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter V_1, -valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1 V_2, -class GenericMethod/'d__0`1' V_3, -class [mscorlib]System.Exception V_4) -IL_0000: ldarg.0 -IL_0001: ldfld int32 class GenericMethod/'d__0`1'::'<>1__state' -IL_0006: stloc.0 -.try -{ -IL_0007: ldloc.0 -IL_0008: brfalse.s IL_000c -IL_000a: br.s IL_000e -IL_000c: br.s IL_0054 -IL_000e: nop -IL_000f: ldarg.0 -IL_0010: ldfld class [mscorlib]System.Threading.Tasks.Task`1 class GenericMethod/'d__0`1'::itemTask -IL_0015: ldc.i4.0 -IL_0016: callvirt instance valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1 class [mscorlib]System.Threading.Tasks.Task`1::ConfigureAwait(bool) -IL_001b: stloc.2 -IL_001c: ldloca.s V_2 -IL_001e: call instance valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1::GetAwaiter() -IL_0023: stloc.1 -IL_0024: ldloca.s V_1 -IL_0026: call instance bool valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter::get_IsCompleted() -IL_002b: brtrue.s IL_0070 -IL_002d: ldarg.0 -IL_002e: ldc.i4.0 -IL_002f: dup -IL_0030: stloc.0 -IL_0031: stfld int32 class GenericMethod/'d__0`1'::'<>1__state' -IL_0036: ldarg.0 -IL_0037: ldloc.1 -IL_0038: stfld valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter class GenericMethod/'d__0`1'::'<>u__1' -IL_003d: ldarg.0 -IL_003e: stloc.3 -IL_003f: ldarg.0 -IL_0040: ldflda valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder class GenericMethod/'d__0`1'::'<>t__builder' -IL_0045: ldloca.s V_1 -IL_0047: ldloca.s V_3 -IL_0049: call instance void [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::AwaitUnsafeOnCompleted,class GenericMethod/'d__0`1'>(!!0&, -!!1&) -IL_004e: nop -IL_004f: leave IL_00dd -IL_0054: ldarg.0 -IL_0055: ldfld valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter class GenericMethod/'d__0`1'::'<>u__1' -IL_005a: stloc.1 -IL_005b: ldarg.0 -IL_005c: ldflda valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter class GenericMethod/'d__0`1'::'<>u__1' -IL_0061: initobj valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter -IL_0067: ldarg.0 -IL_0068: ldc.i4.m1 -IL_0069: dup -IL_006a: stloc.0 -IL_006b: stfld int32 class GenericMethod/'d__0`1'::'<>1__state' -IL_0070: ldarg.0 -IL_0071: ldloca.s V_1 -IL_0073: call instance !0 valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter::GetResult() -IL_0078: stfld !0 class GenericMethod/'d__0`1'::'<>s__2' -IL_007d: ldarg.0 -IL_007e: ldarg.0 -IL_007f: ldfld !0 class GenericMethod/'d__0`1'::'<>s__2' -IL_0084: stfld !0 class GenericMethod/'d__0`1'::'5__1' -IL_0089: ldarg.0 -IL_008a: ldflda !0 class GenericMethod/'d__0`1'::'<>s__2' -IL_008f: initobj !TItem -IL_0095: leave.s IL_00bd -} // end .try -catch [mscorlib]System.Exception -{ -IL_0097: stloc.s V_4 -IL_0099: ldarg.0 -IL_009a: ldc.i4.s -2 -IL_009c: stfld int32 class GenericMethod/'d__0`1'::'<>1__state' -IL_00a1: ldarg.0 -IL_00a2: ldflda !0 class GenericMethod/'d__0`1'::'5__1' -IL_00a7: initobj !TItem -IL_00ad: ldarg.0 -IL_00ae: ldflda valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder class GenericMethod/'d__0`1'::'<>t__builder' -IL_00b3: ldloc.s V_4 -IL_00b5: call instance void [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetException(class [mscorlib]System.Exception) -IL_00ba: nop -IL_00bb: leave.s IL_00dd -} // end handler -IL_00bd: ldarg.0 -IL_00be: ldc.i4.s -2 -IL_00c0: stfld int32 class GenericMethod/'d__0`1'::'<>1__state' -IL_00c5: ldarg.0 -IL_00c6: ldflda !0 class GenericMethod/'d__0`1'::'5__1' -IL_00cb: initobj !TItem -IL_00d1: ldarg.0 -IL_00d2: ldflda valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder class GenericMethod/'d__0`1'::'<>t__builder' -IL_00d7: call instance void [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetResult() -IL_00dc: nop -IL_00dd: ret -} -.method private hidebysig newslot virtual final -instance void SetStateMachine(class [mscorlib]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed -{ -.override [mscorlib]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine -.maxstack 8 -IL_0000: ret -} -} -.method public hidebysig instance class [mscorlib]System.Threading.Tasks.Task -Method(class [mscorlib]System.Threading.Tasks.Task`1 itemTask) cil managed -{ -.custom instance void System.Runtime.CompilerServices.NullableContextAttribute::.ctor(uint8) = ( 01 00 01 00 00 ) -2B 3C 4D 65 74 68 6F 64 3E 64 5F 5F 30 60 31 00 // +d__0`1. -00 ) -.param type TItem -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 02 00 00 ) -.maxstack 2 -.locals init (class GenericMethod/'d__0`1' V_0) -IL_0000: newobj instance void class GenericMethod/'d__0`1'::.ctor() -IL_0005: stloc.0 -IL_0006: ldloc.0 -IL_0007: call valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Create() -IL_000c: stfld valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder class GenericMethod/'d__0`1'::'<>t__builder' -IL_0011: ldloc.0 -IL_0012: ldarg.0 -IL_0013: stfld class GenericMethod class GenericMethod/'d__0`1'::'<>4__this' -IL_0018: ldloc.0 -IL_0019: ldarg.1 -IL_001a: stfld class [mscorlib]System.Threading.Tasks.Task`1 class GenericMethod/'d__0`1'::itemTask -IL_001f: ldloc.0 -IL_0020: ldc.i4.m1 -IL_0021: stfld int32 class GenericMethod/'d__0`1'::'<>1__state' -IL_0026: ldloc.0 -IL_0027: ldflda valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder class GenericMethod/'d__0`1'::'<>t__builder' -IL_002c: ldloca.s V_0 -IL_002e: call instance void [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Startd__0`1'>(!!0&) -IL_0033: ldloc.0 -IL_0034: ldflda valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder class GenericMethod/'d__0`1'::'<>t__builder' -IL_0039: call instance class [mscorlib]System.Threading.Tasks.Task [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::get_Task() -IL_003e: ret -} -.method public hidebysig specialname rtspecialname -instance void .ctor() cil managed -{ -.maxstack 8 -IL_0000: ldarg.0 -IL_0001: call instance void [mscorlib]System.Object::.ctor() -IL_0006: nop -IL_0007: ret -} -} diff --git a/Tests/ModuleWeaverTests.DecompileGenericMethod.Net.Release.verified.txt b/Tests/ModuleWeaverTests.DecompileGenericMethod.Net.Release.verified.txt deleted file mode 100644 index ec97bf6..0000000 --- a/Tests/ModuleWeaverTests.DecompileGenericMethod.Net.Release.verified.txt +++ /dev/null @@ -1,138 +0,0 @@ -.class private auto ansi sealed beforefieldinit GenericMethod -extends [mscorlib]System.Object -{ -.class auto ansi sealed nested private beforefieldinit 'd__0`1' -extends [mscorlib]System.ValueType -implements [mscorlib]System.Runtime.CompilerServices.IAsyncStateMachine -{ -.field public int32 '<>1__state' -.field public valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder '<>t__builder' -.field public class [mscorlib]System.Threading.Tasks.Task`1 itemTask -.field private valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter '<>u__1' -.method private hidebysig newslot virtual final -instance void MoveNext() cil managed -{ -.override [mscorlib]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext -.maxstack 3 -.locals init (int32 V_0, -valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter V_1, -valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1 V_2, -class [mscorlib]System.Exception V_3) -IL_0000: ldarg.0 -IL_0001: ldfld int32 valuetype GenericMethod/'d__0`1'::'<>1__state' -IL_0006: stloc.0 -.try -{ -IL_0007: ldloc.0 -IL_0008: brfalse.s IL_0048 -IL_000a: ldarg.0 -IL_000b: ldfld class [mscorlib]System.Threading.Tasks.Task`1 valuetype GenericMethod/'d__0`1'::itemTask -IL_0010: ldc.i4.0 -IL_0011: callvirt instance valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1 class [mscorlib]System.Threading.Tasks.Task`1::ConfigureAwait(bool) -IL_0016: stloc.2 -IL_0017: ldloca.s V_2 -IL_0019: call instance valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1::GetAwaiter() -IL_001e: stloc.1 -IL_001f: ldloca.s V_1 -IL_0021: call instance bool valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter::get_IsCompleted() -IL_0026: brtrue.s IL_0064 -IL_0028: ldarg.0 -IL_0029: ldc.i4.0 -IL_002a: dup -IL_002b: stloc.0 -IL_002c: stfld int32 valuetype GenericMethod/'d__0`1'::'<>1__state' -IL_0031: ldarg.0 -IL_0032: ldloc.1 -IL_0033: stfld valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter valuetype GenericMethod/'d__0`1'::'<>u__1' -IL_0038: ldarg.0 -IL_0039: ldflda valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder valuetype GenericMethod/'d__0`1'::'<>t__builder' -IL_003e: ldloca.s V_1 -IL_0040: ldarg.0 -IL_0041: call instance void [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::AwaitUnsafeOnCompleted,valuetype GenericMethod/'d__0`1'>(!!0&, -!!1&) -IL_0046: leave.s IL_0098 -IL_0048: ldarg.0 -IL_0049: ldfld valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter valuetype GenericMethod/'d__0`1'::'<>u__1' -IL_004e: stloc.1 -IL_004f: ldarg.0 -IL_0050: ldflda valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter valuetype GenericMethod/'d__0`1'::'<>u__1' -IL_0055: initobj valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter -IL_005b: ldarg.0 -IL_005c: ldc.i4.m1 -IL_005d: dup -IL_005e: stloc.0 -IL_005f: stfld int32 valuetype GenericMethod/'d__0`1'::'<>1__state' -IL_0064: ldloca.s V_1 -IL_0066: call instance !0 valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter::GetResult() -IL_006b: pop -IL_006c: leave.s IL_0085 -} // end .try -catch [mscorlib]System.Exception -{ -IL_006e: stloc.3 -IL_006f: ldarg.0 -IL_0070: ldc.i4.s -2 -IL_0072: stfld int32 valuetype GenericMethod/'d__0`1'::'<>1__state' -IL_0077: ldarg.0 -IL_0078: ldflda valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder valuetype GenericMethod/'d__0`1'::'<>t__builder' -IL_007d: ldloc.3 -IL_007e: call instance void [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetException(class [mscorlib]System.Exception) -IL_0083: leave.s IL_0098 -} // end handler -IL_0085: ldarg.0 -IL_0086: ldc.i4.s -2 -IL_0088: stfld int32 valuetype GenericMethod/'d__0`1'::'<>1__state' -IL_008d: ldarg.0 -IL_008e: ldflda valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder valuetype GenericMethod/'d__0`1'::'<>t__builder' -IL_0093: call instance void [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetResult() -IL_0098: ret -} -.method private hidebysig newslot virtual final -instance void SetStateMachine(class [mscorlib]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed -{ -.override [mscorlib]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine -.maxstack 8 -IL_0000: ldarg.0 -IL_0001: ldflda valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder valuetype GenericMethod/'d__0`1'::'<>t__builder' -IL_0006: ldarg.1 -IL_0007: call instance void [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetStateMachine(class [mscorlib]System.Runtime.CompilerServices.IAsyncStateMachine) -IL_000c: ret -} -} -.method public hidebysig instance class [mscorlib]System.Threading.Tasks.Task -Method(class [mscorlib]System.Threading.Tasks.Task`1 itemTask) cil managed -{ -.custom instance void System.Runtime.CompilerServices.NullableContextAttribute::.ctor(uint8) = ( 01 00 01 00 00 ) -2B 3C 4D 65 74 68 6F 64 3E 64 5F 5F 30 60 31 00 // +d__0`1. -00 ) -.param type TItem -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 02 00 00 ) -.maxstack 2 -.locals init (valuetype GenericMethod/'d__0`1' V_0) -IL_0000: ldloca.s V_0 -IL_0002: call valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Create() -IL_0007: stfld valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder valuetype GenericMethod/'d__0`1'::'<>t__builder' -IL_000c: ldloca.s V_0 -IL_000e: ldarg.1 -IL_000f: stfld class [mscorlib]System.Threading.Tasks.Task`1 valuetype GenericMethod/'d__0`1'::itemTask -IL_0014: ldloca.s V_0 -IL_0016: ldc.i4.m1 -IL_0017: stfld int32 valuetype GenericMethod/'d__0`1'::'<>1__state' -IL_001c: ldloca.s V_0 -IL_001e: ldflda valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder valuetype GenericMethod/'d__0`1'::'<>t__builder' -IL_0023: ldloca.s V_0 -IL_0025: call instance void [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Startd__0`1'>(!!0&) -IL_002a: ldloca.s V_0 -IL_002c: ldflda valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder valuetype GenericMethod/'d__0`1'::'<>t__builder' -IL_0031: call instance class [mscorlib]System.Threading.Tasks.Task [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::get_Task() -IL_0036: ret -} -.method public hidebysig specialname rtspecialname -instance void .ctor() cil managed -{ -.maxstack 8 -IL_0000: ldarg.0 -IL_0001: call instance void [mscorlib]System.Object::.ctor() -IL_0006: ret -} -} diff --git a/Tests/ModuleWeaverTests.DecompileGenericMethod.Release.DotNet.verified.txt b/Tests/ModuleWeaverTests.DecompileGenericMethod.Release.DotNet.verified.txt deleted file mode 100644 index f24758e..0000000 --- a/Tests/ModuleWeaverTests.DecompileGenericMethod.Release.DotNet.verified.txt +++ /dev/null @@ -1,140 +0,0 @@ -.class private auto ansi sealed beforefieldinit GenericMethod -extends [System.Runtime]System.Object -{ -.class auto ansi sealed nested private beforefieldinit 'd__0`1' -extends [System.Runtime]System.ValueType -implements [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine -{ -.field public int32 '<>1__state' -.field public valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder '<>t__builder' -.field public class [System.Runtime]System.Threading.Tasks.Task`1 itemTask -.field private valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter '<>u__1' -.method private hidebysig newslot virtual final -instance void MoveNext() cil managed -{ -.override [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext -.maxstack 3 -.locals init (int32 V_0, -valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter V_1, -valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1 V_2, -class [System.Runtime]System.Exception V_3) -IL_0000: ldarg.0 -IL_0001: ldfld int32 valuetype GenericMethod/'d__0`1'::'<>1__state' -IL_0006: stloc.0 -.try -{ -IL_0007: ldloc.0 -IL_0008: brfalse.s IL_0048 -IL_000a: ldarg.0 -IL_000b: ldfld class [System.Runtime]System.Threading.Tasks.Task`1 valuetype GenericMethod/'d__0`1'::itemTask -IL_0010: ldc.i4.0 -IL_0011: callvirt instance valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1 class [System.Private.CoreLib]System.Threading.Tasks.Task`1::ConfigureAwait(bool) -IL_0016: stloc.2 -IL_0017: ldloca.s V_2 -IL_0019: call instance valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1::GetAwaiter() -IL_001e: stloc.1 -IL_001f: ldloca.s V_1 -IL_0021: call instance bool valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter::get_IsCompleted() -IL_0026: brtrue.s IL_0064 -IL_0028: ldarg.0 -IL_0029: ldc.i4.0 -IL_002a: dup -IL_002b: stloc.0 -IL_002c: stfld int32 valuetype GenericMethod/'d__0`1'::'<>1__state' -IL_0031: ldarg.0 -IL_0032: ldloc.1 -IL_0033: stfld valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter valuetype GenericMethod/'d__0`1'::'<>u__1' -IL_0038: ldarg.0 -IL_0039: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder valuetype GenericMethod/'d__0`1'::'<>t__builder' -IL_003e: ldloca.s V_1 -IL_0040: ldarg.0 -IL_0041: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::AwaitUnsafeOnCompleted,valuetype GenericMethod/'d__0`1'>(!!0&, -!!1&) -IL_0046: leave.s IL_0098 -IL_0048: ldarg.0 -IL_0049: ldfld valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter valuetype GenericMethod/'d__0`1'::'<>u__1' -IL_004e: stloc.1 -IL_004f: ldarg.0 -IL_0050: ldflda valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter valuetype GenericMethod/'d__0`1'::'<>u__1' -IL_0055: initobj valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter -IL_005b: ldarg.0 -IL_005c: ldc.i4.m1 -IL_005d: dup -IL_005e: stloc.0 -IL_005f: stfld int32 valuetype GenericMethod/'d__0`1'::'<>1__state' -IL_0064: ldloca.s V_1 -IL_0066: call instance !0 valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter::GetResult() -IL_006b: pop -IL_006c: leave.s IL_0085 -} // end .try -catch [System.Runtime]System.Exception -{ -IL_006e: stloc.3 -IL_006f: ldarg.0 -IL_0070: ldc.i4.s -2 -IL_0072: stfld int32 valuetype GenericMethod/'d__0`1'::'<>1__state' -IL_0077: ldarg.0 -IL_0078: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder valuetype GenericMethod/'d__0`1'::'<>t__builder' -IL_007d: ldloc.3 -IL_007e: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetException(class [System.Runtime]System.Exception) -IL_0083: leave.s IL_0098 -} // end handler -IL_0085: ldarg.0 -IL_0086: ldc.i4.s -2 -IL_0088: stfld int32 valuetype GenericMethod/'d__0`1'::'<>1__state' -IL_008d: ldarg.0 -IL_008e: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder valuetype GenericMethod/'d__0`1'::'<>t__builder' -IL_0093: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetResult() -IL_0098: ret -} -.method private hidebysig newslot virtual final -instance void SetStateMachine(class [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed -{ -.param [1] -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 01 00 00 ) -.override [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine -.maxstack 8 -IL_0000: ldarg.0 -IL_0001: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder valuetype GenericMethod/'d__0`1'::'<>t__builder' -IL_0006: ldarg.1 -IL_0007: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetStateMachine(class [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine) -IL_000c: ret -} -} -.method public hidebysig instance class [System.Runtime]System.Threading.Tasks.Task -Method(class [System.Runtime]System.Threading.Tasks.Task`1 itemTask) cil managed -{ -.custom instance void System.Runtime.CompilerServices.NullableContextAttribute::.ctor(uint8) = ( 01 00 01 00 00 ) -2B 3C 4D 65 74 68 6F 64 3E 64 5F 5F 30 60 31 00 // +d__0`1. -00 ) -.param type TItem -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 02 00 00 ) -.maxstack 2 -.locals init (valuetype GenericMethod/'d__0`1' V_0) -IL_0000: ldloca.s V_0 -IL_0002: call valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Create() -IL_0007: stfld valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder valuetype GenericMethod/'d__0`1'::'<>t__builder' -IL_000c: ldloca.s V_0 -IL_000e: ldarg.1 -IL_000f: stfld class [System.Runtime]System.Threading.Tasks.Task`1 valuetype GenericMethod/'d__0`1'::itemTask -IL_0014: ldloca.s V_0 -IL_0016: ldc.i4.m1 -IL_0017: stfld int32 valuetype GenericMethod/'d__0`1'::'<>1__state' -IL_001c: ldloca.s V_0 -IL_001e: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder valuetype GenericMethod/'d__0`1'::'<>t__builder' -IL_0023: ldloca.s V_0 -IL_0025: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Startd__0`1'>(!!0&) -IL_002a: ldloca.s V_0 -IL_002c: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder valuetype GenericMethod/'d__0`1'::'<>t__builder' -IL_0031: call instance class [System.Runtime]System.Threading.Tasks.Task [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::get_Task() -IL_0036: ret -} -.method public hidebysig specialname rtspecialname -instance void .ctor() cil managed -{ -.maxstack 8 -IL_0000: ldarg.0 -IL_0001: call instance void [System.Runtime]System.Object::.ctor() -IL_0006: ret -} -} diff --git a/Tests/ModuleWeaverTests.DecompileGenericMethod.Release.Core.verified.txt b/Tests/ModuleWeaverTests.DecompileGenericMethod.Release.DotNet10_0.verified.txt similarity index 56% rename from Tests/ModuleWeaverTests.DecompileGenericMethod.Release.Core.verified.txt rename to Tests/ModuleWeaverTests.DecompileGenericMethod.Release.DotNet10_0.verified.txt index 6234b4f..3c684b8 100644 --- a/Tests/ModuleWeaverTests.DecompileGenericMethod.Release.Core.verified.txt +++ b/Tests/ModuleWeaverTests.DecompileGenericMethod.Release.DotNet10_0.verified.txt @@ -1,24 +1,19 @@ .class private auto ansi sealed beforefieldinit GenericMethod extends [System.Runtime]System.Object { -.custom instance void System.Runtime.CompilerServices.NullableContextAttribute::.ctor(uint8) = ( 01 00 01 00 00 ) -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) .class auto ansi sealed nested private beforefieldinit 'd__0`1' extends [System.Runtime]System.ValueType -implements [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine +implements [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine { -.interfaceimpl type [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) +.interfaceimpl type [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine .field public int32 '<>1__state' -.field public valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder '<>t__builder' +.field public valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder '<>t__builder' .field public class [System.Runtime]System.Threading.Tasks.Task`1 itemTask -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) .field private valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter '<>u__1' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) .method private hidebysig newslot virtual final instance void MoveNext() cil managed { -.override [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext +.override [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext .maxstack 3 .locals init (int32 V_0, valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter V_1, @@ -51,10 +46,10 @@ IL_0031: ldarg.0 IL_0032: ldloc.1 IL_0033: stfld valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter valuetype GenericMethod/'d__0`1'::'<>u__1' IL_0038: ldarg.0 -IL_0039: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder valuetype GenericMethod/'d__0`1'::'<>t__builder' +IL_0039: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder valuetype GenericMethod/'d__0`1'::'<>t__builder' IL_003e: ldloca.s V_1 IL_0040: ldarg.0 -IL_0041: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::AwaitUnsafeOnCompleted,valuetype GenericMethod/'d__0`1'>(!!0&, +IL_0041: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::AwaitUnsafeOnCompleted,valuetype GenericMethod/'d__0`1'>(!!0&, !!1&) IL_0046: leave.s IL_0098 IL_0048: ldarg.0 @@ -80,54 +75,49 @@ IL_006f: ldarg.0 IL_0070: ldc.i4.s -2 IL_0072: stfld int32 valuetype GenericMethod/'d__0`1'::'<>1__state' IL_0077: ldarg.0 -IL_0078: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder valuetype GenericMethod/'d__0`1'::'<>t__builder' +IL_0078: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder valuetype GenericMethod/'d__0`1'::'<>t__builder' IL_007d: ldloc.3 -IL_007e: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetException(class [System.Runtime]System.Exception) +IL_007e: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetException(class [System.Runtime]System.Exception) IL_0083: leave.s IL_0098 } // end handler IL_0085: ldarg.0 IL_0086: ldc.i4.s -2 IL_0088: stfld int32 valuetype GenericMethod/'d__0`1'::'<>1__state' IL_008d: ldarg.0 -IL_008e: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder valuetype GenericMethod/'d__0`1'::'<>t__builder' -IL_0093: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetResult() +IL_008e: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder valuetype GenericMethod/'d__0`1'::'<>t__builder' +IL_0093: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetResult() IL_0098: ret } .method private hidebysig newslot virtual final -instance void SetStateMachine(class [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed +instance void SetStateMachine(class [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed { -.param [1] -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.override [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine +.override [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine .maxstack 8 IL_0000: ldarg.0 -IL_0001: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder valuetype GenericMethod/'d__0`1'::'<>t__builder' +IL_0001: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder valuetype GenericMethod/'d__0`1'::'<>t__builder' IL_0006: ldarg.1 -IL_0007: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetStateMachine(class [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine) +IL_0007: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetStateMachine(class [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine) IL_000c: ret } } .class auto ansi sealed nested private beforefieldinit 'd__1`1' extends [System.Runtime]System.ValueType -implements [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine +implements [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine { -.interfaceimpl type [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) +.interfaceimpl type [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine .field public int32 '<>1__state' -.field public valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder '<>t__builder' +.field public valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder '<>t__builder' .field public class [System.Runtime]System.Threading.Tasks.Task`1 itemTask -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) .field private valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1/ConfiguredValueTaskAwaiter '<>u__1' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) .method private hidebysig newslot virtual final instance void MoveNext() cil managed { -.override [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext +.override [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext .maxstack 3 .locals init (int32 V_0, valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1/ConfiguredValueTaskAwaiter V_1, valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1 V_2, -valuetype [System.Threading.Tasks.Extensions]System.Threading.Tasks.ValueTask`1 V_3, +valuetype [System.Runtime]System.Threading.Tasks.ValueTask`1 V_3, class [System.Runtime]System.Exception V_4) IL_0000: ldarg.0 IL_0001: ldfld int32 valuetype GenericMethod/'d__1`1'::'<>1__state' @@ -138,7 +128,7 @@ IL_0007: ldloc.0 IL_0008: brfalse.s IL_0050 IL_000a: ldarg.0 IL_000b: ldfld class [System.Runtime]System.Threading.Tasks.Task`1 valuetype GenericMethod/'d__1`1'::itemTask -IL_0010: call instance void valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1::.ctor(valuetype [System.Private.CoreLib]System.Threading.Tasks.ValueTask`1&) +IL_0010: newobj instance void valuetype [System.Runtime]System.Threading.Tasks.ValueTask`1::.ctor(class [System.Runtime]System.Threading.Tasks.Task`1) IL_0015: stloc.3 IL_0016: ldloca.s V_3 IL_0018: ldc.i4.0 @@ -159,10 +149,10 @@ IL_0039: ldarg.0 IL_003a: ldloc.1 IL_003b: stfld valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1/ConfiguredValueTaskAwaiter valuetype GenericMethod/'d__1`1'::'<>u__1' IL_0040: ldarg.0 -IL_0041: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder valuetype GenericMethod/'d__1`1'::'<>t__builder' +IL_0041: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder valuetype GenericMethod/'d__1`1'::'<>t__builder' IL_0046: ldloca.s V_1 IL_0048: ldarg.0 -IL_0049: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::AwaitUnsafeOnCompleted,valuetype GenericMethod/'d__1`1'>(!!0&, +IL_0049: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::AwaitUnsafeOnCompleted,valuetype GenericMethod/'d__1`1'>(!!0&, !!1&) IL_004e: leave.s IL_00a2 IL_0050: ldarg.0 @@ -188,30 +178,28 @@ IL_0078: ldarg.0 IL_0079: ldc.i4.s -2 IL_007b: stfld int32 valuetype GenericMethod/'d__1`1'::'<>1__state' IL_0080: ldarg.0 -IL_0081: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder valuetype GenericMethod/'d__1`1'::'<>t__builder' +IL_0081: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder valuetype GenericMethod/'d__1`1'::'<>t__builder' IL_0086: ldloc.s V_4 -IL_0088: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetException(class [System.Runtime]System.Exception) +IL_0088: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetException(class [System.Runtime]System.Exception) IL_008d: leave.s IL_00a2 } // end handler IL_008f: ldarg.0 IL_0090: ldc.i4.s -2 IL_0092: stfld int32 valuetype GenericMethod/'d__1`1'::'<>1__state' IL_0097: ldarg.0 -IL_0098: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder valuetype GenericMethod/'d__1`1'::'<>t__builder' -IL_009d: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetResult() +IL_0098: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder valuetype GenericMethod/'d__1`1'::'<>t__builder' +IL_009d: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetResult() IL_00a2: ret } .method private hidebysig newslot virtual final -instance void SetStateMachine(class [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed +instance void SetStateMachine(class [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed { -.param [1] -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.override [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine +.override [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine .maxstack 8 IL_0000: ldarg.0 -IL_0001: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder valuetype GenericMethod/'d__1`1'::'<>t__builder' +IL_0001: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder valuetype GenericMethod/'d__1`1'::'<>t__builder' IL_0006: ldarg.1 -IL_0007: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetStateMachine(class [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine) +IL_0007: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetStateMachine(class [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine) IL_000c: ret } } @@ -221,12 +209,11 @@ Method(class [System.Runtime]System.Threading.Tasks.Task`1 itemT 2B 3C 4D 65 74 68 6F 64 3E 64 5F 5F 30 60 31 00 // +d__0`1. 00 ) .param type TItem -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 02 00 00 ) .maxstack 2 .locals init (valuetype GenericMethod/'d__0`1' V_0) IL_0000: ldloca.s V_0 -IL_0002: call valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Create() -IL_0007: stfld valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder valuetype GenericMethod/'d__0`1'::'<>t__builder' +IL_0002: call valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Create() +IL_0007: stfld valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder valuetype GenericMethod/'d__0`1'::'<>t__builder' IL_000c: ldloca.s V_0 IL_000e: ldarg.1 IL_000f: stfld class [System.Runtime]System.Threading.Tasks.Task`1 valuetype GenericMethod/'d__0`1'::itemTask @@ -234,12 +221,12 @@ IL_0014: ldloca.s V_0 IL_0016: ldc.i4.m1 IL_0017: stfld int32 valuetype GenericMethod/'d__0`1'::'<>1__state' IL_001c: ldloca.s V_0 -IL_001e: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder valuetype GenericMethod/'d__0`1'::'<>t__builder' +IL_001e: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder valuetype GenericMethod/'d__0`1'::'<>t__builder' IL_0023: ldloca.s V_0 -IL_0025: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Startd__0`1'>(!!0&) +IL_0025: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Startd__0`1'>(!!0&) IL_002a: ldloca.s V_0 -IL_002c: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder valuetype GenericMethod/'d__0`1'::'<>t__builder' -IL_0031: call instance class [System.Runtime]System.Threading.Tasks.Task [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::get_Task() +IL_002c: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder valuetype GenericMethod/'d__0`1'::'<>t__builder' +IL_0031: call instance class [System.Runtime]System.Threading.Tasks.Task [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::get_Task() IL_0036: ret } .method public hidebysig instance class [System.Runtime]System.Threading.Tasks.Task @@ -248,12 +235,11 @@ Method_WithValueTask(class [System.Runtime]System.Threading.Tasks.Task`1< 2B 3C 4D 65 74 68 6F 64 5F 57 69 74 68 56 61 6C // +d__1`1.. .param type TItem -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 02 00 00 ) .maxstack 2 .locals init (valuetype GenericMethod/'d__1`1' V_0) IL_0000: ldloca.s V_0 -IL_0002: call valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Create() -IL_0007: stfld valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder valuetype GenericMethod/'d__1`1'::'<>t__builder' +IL_0002: call valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Create() +IL_0007: stfld valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder valuetype GenericMethod/'d__1`1'::'<>t__builder' IL_000c: ldloca.s V_0 IL_000e: ldarg.1 IL_000f: stfld class [System.Runtime]System.Threading.Tasks.Task`1 valuetype GenericMethod/'d__1`1'::itemTask @@ -261,12 +247,12 @@ IL_0014: ldloca.s V_0 IL_0016: ldc.i4.m1 IL_0017: stfld int32 valuetype GenericMethod/'d__1`1'::'<>1__state' IL_001c: ldloca.s V_0 -IL_001e: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder valuetype GenericMethod/'d__1`1'::'<>t__builder' +IL_001e: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder valuetype GenericMethod/'d__1`1'::'<>t__builder' IL_0023: ldloca.s V_0 -IL_0025: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Startd__1`1'>(!!0&) +IL_0025: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Startd__1`1'>(!!0&) IL_002a: ldloca.s V_0 -IL_002c: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder valuetype GenericMethod/'d__1`1'::'<>t__builder' -IL_0031: call instance class [System.Runtime]System.Threading.Tasks.Task [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::get_Task() +IL_002c: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder valuetype GenericMethod/'d__1`1'::'<>t__builder' +IL_0031: call instance class [System.Runtime]System.Threading.Tasks.Task [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::get_Task() IL_0036: ret } .method public hidebysig specialname rtspecialname diff --git a/Tests/ModuleWeaverTests.DecompileGenericMethod.Release.DotNet11_0.verified.txt b/Tests/ModuleWeaverTests.DecompileGenericMethod.Release.DotNet11_0.verified.txt new file mode 100644 index 0000000..63451ee --- /dev/null +++ b/Tests/ModuleWeaverTests.DecompileGenericMethod.Release.DotNet11_0.verified.txt @@ -0,0 +1,40 @@ +.class private auto ansi sealed beforefieldinit GenericMethod +extends [System.Runtime]System.Object +{ +.method public hidebysig instance class [System.Runtime]System.Threading.Tasks.Task +Method(class [System.Runtime]System.Threading.Tasks.Task`1 itemTask) cil managed +{ +.param type TItem +.maxstack 8 +IL_0000: ldarg.1 +IL_0001: ldc.i4.0 +IL_0002: callvirt instance valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1 class [System.Private.CoreLib]System.Threading.Tasks.Task`1::ConfigureAwait(bool) +IL_0007: call !!0 [System.Private.CoreLib]System.Runtime.CompilerServices.AsyncHelpers::Await(valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1) +IL_000c: pop +IL_000d: ret +} +.method public hidebysig instance class [System.Runtime]System.Threading.Tasks.Task +Method_WithValueTask(class [System.Runtime]System.Threading.Tasks.Task`1 itemTask) cil managed +{ +.param type TItem +.maxstack 2 +.locals (valuetype [System.Private.CoreLib]System.Threading.Tasks.ValueTask`1 V_0) +IL_0000: ldarg.1 +IL_0001: newobj instance void valuetype [System.Runtime]System.Threading.Tasks.ValueTask`1::.ctor(class [System.Runtime]System.Threading.Tasks.Task`1) +IL_0006: stloc.0 +IL_0007: ldloca.s V_0 +IL_0009: ldc.i4.0 +IL_000a: call instance valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1 valuetype [System.Private.CoreLib]System.Threading.Tasks.ValueTask`1::ConfigureAwait(bool) +IL_000f: call !!0 [System.Private.CoreLib]System.Runtime.CompilerServices.AsyncHelpers::Await(valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1) +IL_0014: pop +IL_0015: ret +} +.method public hidebysig specialname rtspecialname +instance void .ctor() cil managed +{ +.maxstack 8 +IL_0000: ldarg.0 +IL_0001: call instance void [System.Runtime]System.Object::.ctor() +IL_0006: ret +} +} diff --git a/Tests/ModuleWeaverTests.DecompileGenericMethod.Release.Net.verified.txt b/Tests/ModuleWeaverTests.DecompileGenericMethod.Release.Net4_7.verified.txt similarity index 100% rename from Tests/ModuleWeaverTests.DecompileGenericMethod.Release.Net.verified.txt rename to Tests/ModuleWeaverTests.DecompileGenericMethod.Release.Net4_7.verified.txt diff --git a/Tests/ModuleWeaverTests.DecompileIssue1.Core.Debug.verified.txt b/Tests/ModuleWeaverTests.DecompileIssue1.Core.Debug.verified.txt deleted file mode 100644 index 5ed9724..0000000 --- a/Tests/ModuleWeaverTests.DecompileIssue1.Core.Debug.verified.txt +++ /dev/null @@ -1,500 +0,0 @@ -.class private auto ansi beforefieldinit Issue1 -extends [System.Runtime]System.Object -{ -.custom instance void System.Runtime.CompilerServices.NullableContextAttribute::.ctor(uint8) = ( 01 00 01 00 00 ) -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.class auto ansi sealed nested private beforefieldinit 'd__0' -extends [System.Runtime]System.Object -implements [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine -{ -.interfaceimpl type [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field public int32 '<>1__state' -.field public valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder '<>t__builder' -.field public class [System.Runtime.Extensions]System.IO.TextWriter writer -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field public class [System.Runtime.Extensions]System.IO.StreamReader reader -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field public class Issue1 '<>4__this' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field private string '5__1' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field private string '<>s__2' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field private valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter '<>u__1' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field private valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter '<>u__2' -.method public hidebysig specialname rtspecialname -instance void .ctor() cil managed -{ -.maxstack 8 -IL_0000: ldarg.0 -IL_0001: call instance void [System.Runtime]System.Object::.ctor() -IL_0006: nop -IL_0007: ret -} -.method private hidebysig newslot virtual final -instance void MoveNext() cil managed -{ -.override [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext -.maxstack 3 -.locals init (int32 V_0, -bool V_1, -valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter V_2, -valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1 V_3, -class Issue1/'d__0' V_4, -valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable V_5, -valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter V_6, -class [System.Runtime]System.Exception V_7) -IL_0000: ldarg.0 -IL_0001: ldfld int32 Issue1/'d__0'::'<>1__state' -IL_0006: stloc.0 -.try -{ -IL_0007: ldloc.0 -IL_0008: brfalse.s IL_0012 -IL_000a: br.s IL_000c -IL_000c: ldloc.0 -IL_000d: ldc.i4.1 -IL_000e: beq.s IL_0014 -IL_0010: br.s IL_0019 -IL_0012: br.s IL_0065 -IL_0014: br IL_0103 -IL_0019: nop -IL_001a: ldarg.0 -IL_001b: ldfld class [System.Runtime.Extensions]System.IO.StreamReader Issue1/'d__0'::reader -IL_0020: callvirt instance class [System.Runtime]System.Threading.Tasks.Task`1 [System.Runtime.Extensions]System.IO.TextReader::ReadLineAsync() -IL_0025: ldc.i4.0 -IL_0026: callvirt instance valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1 class [System.Private.CoreLib]System.Threading.Tasks.Task`1::ConfigureAwait(bool) -IL_002b: stloc.3 -IL_002c: ldloca.s V_3 -IL_002e: call instance valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1::GetAwaiter() -IL_0033: stloc.2 -IL_0034: ldloca.s V_2 -IL_0036: call instance bool valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter::get_IsCompleted() -IL_003b: brtrue.s IL_0081 -IL_003d: ldarg.0 -IL_003e: ldc.i4.0 -IL_003f: dup -IL_0040: stloc.0 -IL_0041: stfld int32 Issue1/'d__0'::'<>1__state' -IL_0046: ldarg.0 -IL_0047: ldloc.2 -IL_0048: stfld valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter Issue1/'d__0'::'<>u__1' -IL_004d: ldarg.0 -IL_004e: stloc.s V_4 -IL_0050: ldarg.0 -IL_0051: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Issue1/'d__0'::'<>t__builder' -IL_0056: ldloca.s V_2 -IL_0058: ldloca.s V_4 -IL_005a: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::AwaitUnsafeOnCompleted,class Issue1/'d__0'>(!!0&, -!!1&) -IL_005f: nop -IL_0060: leave IL_015e -IL_0065: ldarg.0 -IL_0066: ldfld valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter Issue1/'d__0'::'<>u__1' -IL_006b: stloc.2 -IL_006c: ldarg.0 -IL_006d: ldflda valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter Issue1/'d__0'::'<>u__1' -IL_0072: initobj valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter -IL_0078: ldarg.0 -IL_0079: ldc.i4.m1 -IL_007a: dup -IL_007b: stloc.0 -IL_007c: stfld int32 Issue1/'d__0'::'<>1__state' -IL_0081: ldarg.0 -IL_0082: ldloca.s V_2 -IL_0084: call instance !0 valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter::GetResult() -IL_0089: stfld string Issue1/'d__0'::'<>s__2' -IL_008e: ldarg.0 -IL_008f: ldarg.0 -IL_0090: ldfld string Issue1/'d__0'::'<>s__2' -IL_0095: stfld string Issue1/'d__0'::'5__1' -IL_009a: ldarg.0 -IL_009b: ldfld string Issue1/'d__0'::'5__1' -IL_00a0: ldnull -IL_00a1: cgt.un -IL_00a3: stloc.1 -IL_00a4: ldloc.1 -IL_00a5: brfalse IL_012e -IL_00aa: ldarg.0 -IL_00ab: ldnull -IL_00ac: stfld string Issue1/'d__0'::'<>s__2' -IL_00b1: nop -IL_00b2: ldarg.0 -IL_00b3: ldfld class [System.Runtime.Extensions]System.IO.TextWriter Issue1/'d__0'::writer -IL_00b8: ldarg.0 -IL_00b9: ldfld string Issue1/'d__0'::'5__1' -IL_00be: callvirt instance class [System.Runtime]System.Threading.Tasks.Task [System.Runtime.Extensions]System.IO.TextWriter::WriteLineAsync(string) -IL_00c3: ldc.i4.0 -IL_00c4: callvirt instance valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable [System.Private.CoreLib]System.Threading.Tasks.Task::ConfigureAwait(bool) -IL_00c9: stloc.s V_5 -IL_00cb: ldloca.s V_5 -IL_00cd: call instance valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable::GetAwaiter() -IL_00d2: stloc.s V_6 -IL_00d4: ldloca.s V_6 -IL_00d6: call instance bool [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter::get_IsCompleted() -IL_00db: brtrue.s IL_0120 -IL_00dd: ldarg.0 -IL_00de: ldc.i4.1 -IL_00df: dup -IL_00e0: stloc.0 -IL_00e1: stfld int32 Issue1/'d__0'::'<>1__state' -IL_00e6: ldarg.0 -IL_00e7: ldloc.s V_6 -IL_00e9: stfld valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter Issue1/'d__0'::'<>u__2' -IL_00ee: ldarg.0 -IL_00ef: stloc.s V_4 -IL_00f1: ldarg.0 -IL_00f2: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Issue1/'d__0'::'<>t__builder' -IL_00f7: ldloca.s V_6 -IL_00f9: ldloca.s V_4 -IL_00fb: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::AwaitUnsafeOnCompletedd__0'>(!!0&, -!!1&) -IL_0100: nop -IL_0101: leave.s IL_015e -IL_0103: ldarg.0 -IL_0104: ldfld valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter Issue1/'d__0'::'<>u__2' -IL_0109: stloc.s V_6 -IL_010b: ldarg.0 -IL_010c: ldflda valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter Issue1/'d__0'::'<>u__2' -IL_0111: initobj [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter -IL_0117: ldarg.0 -IL_0118: ldc.i4.m1 -IL_0119: dup -IL_011a: stloc.0 -IL_011b: stfld int32 Issue1/'d__0'::'<>1__state' -IL_0120: ldloca.s V_6 -IL_0122: call instance void [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter::GetResult() -IL_0127: nop -IL_0128: nop -IL_0129: br IL_001a -IL_012e: leave.s IL_014a -} // end .try -catch [System.Runtime]System.Exception -{ -IL_0130: stloc.s V_7 -IL_0132: ldarg.0 -IL_0133: ldc.i4.s -2 -IL_0135: stfld int32 Issue1/'d__0'::'<>1__state' -IL_013a: ldarg.0 -IL_013b: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Issue1/'d__0'::'<>t__builder' -IL_0140: ldloc.s V_7 -IL_0142: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetException(class [System.Runtime]System.Exception) -IL_0147: nop -IL_0148: leave.s IL_015e -} // end handler -IL_014a: ldarg.0 -IL_014b: ldc.i4.s -2 -IL_014d: stfld int32 Issue1/'d__0'::'<>1__state' -IL_0152: ldarg.0 -IL_0153: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Issue1/'d__0'::'<>t__builder' -IL_0158: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetResult() -IL_015d: nop -IL_015e: ret -} -.method private hidebysig newslot virtual final -instance void SetStateMachine(class [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed -{ -.param [1] -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.override [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine -.maxstack 8 -IL_0000: ret -} -} -.class auto ansi sealed nested private beforefieldinit 'd__1' -extends [System.Runtime]System.Object -implements [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine -{ -.interfaceimpl type [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field public int32 '<>1__state' -.field public valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder '<>t__builder' -.field public class [System.Runtime.Extensions]System.IO.TextWriter writer -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field public class [System.Runtime.Extensions]System.IO.StreamReader reader -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field public class Issue1 '<>4__this' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field private string '5__1' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field private string '<>s__2' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field private valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter '<>u__1' -.field private valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1/ConfiguredValueTaskAwaiter '<>u__2' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8[]) = ( 01 00 02 00 00 00 00 01 00 00 ) -.method public hidebysig specialname rtspecialname -instance void .ctor() cil managed -{ -.maxstack 8 -IL_0000: ldarg.0 -IL_0001: call instance void [System.Runtime]System.Object::.ctor() -IL_0006: nop -IL_0007: ret -} -.method private hidebysig newslot virtual final -instance void MoveNext() cil managed -{ -.override [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext -.maxstack 3 -.locals init (int32 V_0, -valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter V_1, -valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable V_2, -valuetype [System.Threading.Tasks.Extensions]System.Threading.Tasks.ValueTask V_3, -class Issue1/'d__1' V_4, -bool V_5, -valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1 V_6, -valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1/ConfiguredValueTaskAwaiter V_7, -valuetype [System.Threading.Tasks.Extensions]System.Threading.Tasks.ValueTask`1 V_8, -string V_9, -class [System.Runtime]System.Exception V_10) -IL_0000: ldarg.0 -IL_0001: ldfld int32 Issue1/'d__1'::'<>1__state' -IL_0006: stloc.0 -.try -{ -IL_0007: ldloc.0 -IL_0008: brfalse.s IL_0012 -IL_000a: br.s IL_000c -IL_000c: ldloc.0 -IL_000d: ldc.i4.1 -IL_000e: beq.s IL_0014 -IL_0010: br.s IL_0019 -IL_0012: br.s IL_0079 -IL_0014: br IL_00f5 -IL_0019: nop -IL_001a: br IL_009e -IL_001f: nop -IL_0020: ldarg.0 -IL_0021: ldfld class [System.Runtime.Extensions]System.IO.TextWriter Issue1/'d__1'::writer -IL_0026: ldarg.0 -IL_0027: ldfld string Issue1/'d__1'::'5__1' -IL_002c: callvirt instance class [System.Runtime]System.Threading.Tasks.Task [System.Runtime.Extensions]System.IO.TextWriter::WriteLineAsync(string) -IL_0031: call instance void [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable::.ctor(valuetype [System.Private.CoreLib]System.Threading.Tasks.ValueTask&) -IL_0036: stloc.3 -IL_0037: ldloca.s V_3 -IL_0039: ldc.i4.0 -IL_003a: callvirt instance valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable [System.Private.CoreLib]System.Threading.Tasks.ValueTask::ConfigureAwait(bool) -IL_003f: stloc.2 -IL_0040: ldloca.s V_2 -IL_0042: call instance valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable::GetAwaiter() -IL_0047: stloc.1 -IL_0048: ldloca.s V_1 -IL_004a: call instance bool [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter::get_IsCompleted() -IL_004f: brtrue.s IL_0095 -IL_0051: ldarg.0 -IL_0052: ldc.i4.0 -IL_0053: dup -IL_0054: stloc.0 -IL_0055: stfld int32 Issue1/'d__1'::'<>1__state' -IL_005a: ldarg.0 -IL_005b: ldloc.1 -IL_005c: stfld valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter Issue1/'d__1'::'<>u__1' -IL_0061: ldarg.0 -IL_0062: stloc.s V_4 -IL_0064: ldarg.0 -IL_0065: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Issue1/'d__1'::'<>t__builder' -IL_006a: ldloca.s V_1 -IL_006c: ldloca.s V_4 -IL_006e: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::AwaitUnsafeOnCompletedd__1'>(!!0&, -!!1&) -IL_0073: nop -IL_0074: leave IL_0181 -IL_0079: ldarg.0 -IL_007a: ldfld valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter Issue1/'d__1'::'<>u__1' -IL_007f: stloc.1 -IL_0080: ldarg.0 -IL_0081: ldflda valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter Issue1/'d__1'::'<>u__1' -IL_0086: initobj [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter -IL_008c: ldarg.0 -IL_008d: ldc.i4.m1 -IL_008e: dup -IL_008f: stloc.0 -IL_0090: stfld int32 Issue1/'d__1'::'<>1__state' -IL_0095: ldloca.s V_1 -IL_0097: call instance void [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter::GetResult() -IL_009c: nop -IL_009d: nop -IL_009e: ldarg.0 -IL_009f: ldfld class [System.Runtime.Extensions]System.IO.StreamReader Issue1/'d__1'::reader -IL_00a4: callvirt instance class [System.Runtime]System.Threading.Tasks.Task`1 [System.Runtime.Extensions]System.IO.TextReader::ReadLineAsync() -IL_00a9: call instance void valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1::.ctor(valuetype [System.Private.CoreLib]System.Threading.Tasks.ValueTask`1&) -IL_00ae: stloc.s V_8 -IL_00b0: ldloca.s V_8 -IL_00b2: ldc.i4.0 -IL_00b3: callvirt instance valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1 valuetype [System.Private.CoreLib]System.Threading.Tasks.ValueTask`1::ConfigureAwait(bool) -IL_00b8: stloc.s V_6 -IL_00ba: ldloca.s V_6 -IL_00bc: call instance valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1/ConfiguredValueTaskAwaiter valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1::GetAwaiter() -IL_00c1: stloc.s V_7 -IL_00c3: ldloca.s V_7 -IL_00c5: call instance bool valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1/ConfiguredValueTaskAwaiter::get_IsCompleted() -IL_00ca: brtrue.s IL_0112 -IL_00cc: ldarg.0 -IL_00cd: ldc.i4.1 -IL_00ce: dup -IL_00cf: stloc.0 -IL_00d0: stfld int32 Issue1/'d__1'::'<>1__state' -IL_00d5: ldarg.0 -IL_00d6: ldloc.s V_7 -IL_00d8: stfld valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1/ConfiguredValueTaskAwaiter Issue1/'d__1'::'<>u__2' -IL_00dd: ldarg.0 -IL_00de: stloc.s V_4 -IL_00e0: ldarg.0 -IL_00e1: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Issue1/'d__1'::'<>t__builder' -IL_00e6: ldloca.s V_7 -IL_00e8: ldloca.s V_4 -IL_00ea: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::AwaitUnsafeOnCompleted,class Issue1/'d__1'>(!!0&, -!!1&) -IL_00ef: nop -IL_00f0: leave IL_0181 -IL_00f5: ldarg.0 -IL_00f6: ldfld valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1/ConfiguredValueTaskAwaiter Issue1/'d__1'::'<>u__2' -IL_00fb: stloc.s V_7 -IL_00fd: ldarg.0 -IL_00fe: ldflda valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1/ConfiguredValueTaskAwaiter Issue1/'d__1'::'<>u__2' -IL_0103: initobj valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1/ConfiguredValueTaskAwaiter -IL_0109: ldarg.0 -IL_010a: ldc.i4.m1 -IL_010b: dup -IL_010c: stloc.0 -IL_010d: stfld int32 Issue1/'d__1'::'<>1__state' -IL_0112: ldarg.0 -IL_0113: ldloca.s V_7 -IL_0115: call instance !0 valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1/ConfiguredValueTaskAwaiter::GetResult() -IL_011a: stfld string Issue1/'d__1'::'<>s__2' -IL_011f: ldarg.0 -IL_0120: ldarg.0 -IL_0121: ldfld string Issue1/'d__1'::'<>s__2' -IL_0126: dup -IL_0127: stloc.s V_9 -IL_0129: stfld string Issue1/'d__1'::'5__1' -IL_012e: ldloc.s V_9 -IL_0130: ldnull -IL_0131: cgt.un -IL_0133: stloc.s V_5 -IL_0135: ldloc.s V_5 -IL_0137: brtrue IL_001f -IL_013c: ldarg.0 -IL_013d: ldnull -IL_013e: stfld string Issue1/'d__1'::'<>s__2' -IL_0143: leave.s IL_0166 -} // end .try -catch [System.Runtime]System.Exception -{ -IL_0145: stloc.s V_10 -IL_0147: ldarg.0 -IL_0148: ldc.i4.s -2 -IL_014a: stfld int32 Issue1/'d__1'::'<>1__state' -IL_014f: ldarg.0 -IL_0150: ldnull -IL_0151: stfld string Issue1/'d__1'::'5__1' -IL_0156: ldarg.0 -IL_0157: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Issue1/'d__1'::'<>t__builder' -IL_015c: ldloc.s V_10 -IL_015e: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetException(class [System.Runtime]System.Exception) -IL_0163: nop -IL_0164: leave.s IL_0181 -} // end handler -IL_0166: ldarg.0 -IL_0167: ldc.i4.s -2 -IL_0169: stfld int32 Issue1/'d__1'::'<>1__state' -IL_016e: ldarg.0 -IL_016f: ldnull -IL_0170: stfld string Issue1/'d__1'::'5__1' -IL_0175: ldarg.0 -IL_0176: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Issue1/'d__1'::'<>t__builder' -IL_017b: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetResult() -IL_0180: nop -IL_0181: ret -} -.method private hidebysig newslot virtual final -instance void SetStateMachine(class [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed -{ -.param [1] -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.override [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine -.maxstack 8 -IL_0000: ret -} -} -.method private hidebysig instance class [System.Runtime]System.Threading.Tasks.Task -WithReaderAndWriter(class [System.Runtime.Extensions]System.IO.TextWriter writer, -class [System.Runtime.Extensions]System.IO.StreamReader reader) cil managed -{ -65 61 64 65 72 41 6E 64 57 72 69 74 65 72 3E 64 // eaderAndWriter>d -5F 5F 30 00 00 ) // __0.. -.maxstack 2 -.locals init (class Issue1/'d__0' V_0) -IL_0000: newobj instance void Issue1/'d__0'::.ctor() -IL_0005: stloc.0 -IL_0006: ldloc.0 -IL_0007: call valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Create() -IL_000c: stfld valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Issue1/'d__0'::'<>t__builder' -IL_0011: ldloc.0 -IL_0012: ldarg.0 -IL_0013: stfld class Issue1 Issue1/'d__0'::'<>4__this' -IL_0018: ldloc.0 -IL_0019: ldarg.1 -IL_001a: stfld class [System.Runtime.Extensions]System.IO.TextWriter Issue1/'d__0'::writer -IL_001f: ldloc.0 -IL_0020: ldarg.2 -IL_0021: stfld class [System.Runtime.Extensions]System.IO.StreamReader Issue1/'d__0'::reader -IL_0026: ldloc.0 -IL_0027: ldc.i4.m1 -IL_0028: stfld int32 Issue1/'d__0'::'<>1__state' -IL_002d: ldloc.0 -IL_002e: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Issue1/'d__0'::'<>t__builder' -IL_0033: ldloca.s V_0 -IL_0035: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Startd__0'>(!!0&) -IL_003a: ldloc.0 -IL_003b: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Issue1/'d__0'::'<>t__builder' -IL_0040: call instance class [System.Runtime]System.Threading.Tasks.Task [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::get_Task() -IL_0045: ret -} -.method private hidebysig instance class [System.Runtime]System.Threading.Tasks.Task -WithReaderAndWriter_WithValueTask(class [System.Runtime.Extensions]System.IO.TextWriter writer, -class [System.Runtime.Extensions]System.IO.StreamReader reader) cil managed -{ -65 61 64 65 72 41 6E 64 57 72 69 74 65 72 5F 57 // eaderAndWriter_W -69 74 68 56 61 6C 75 65 54 61 73 6B 3E 64 5F 5F // ithValueTask>d__ -31 00 00 ) // 1.. -.maxstack 2 -.locals init (class Issue1/'d__1' V_0) -IL_0000: newobj instance void Issue1/'d__1'::.ctor() -IL_0005: stloc.0 -IL_0006: ldloc.0 -IL_0007: call valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Create() -IL_000c: stfld valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Issue1/'d__1'::'<>t__builder' -IL_0011: ldloc.0 -IL_0012: ldarg.0 -IL_0013: stfld class Issue1 Issue1/'d__1'::'<>4__this' -IL_0018: ldloc.0 -IL_0019: ldarg.1 -IL_001a: stfld class [System.Runtime.Extensions]System.IO.TextWriter Issue1/'d__1'::writer -IL_001f: ldloc.0 -IL_0020: ldarg.2 -IL_0021: stfld class [System.Runtime.Extensions]System.IO.StreamReader Issue1/'d__1'::reader -IL_0026: ldloc.0 -IL_0027: ldc.i4.m1 -IL_0028: stfld int32 Issue1/'d__1'::'<>1__state' -IL_002d: ldloc.0 -IL_002e: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Issue1/'d__1'::'<>t__builder' -IL_0033: ldloca.s V_0 -IL_0035: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Startd__1'>(!!0&) -IL_003a: ldloc.0 -IL_003b: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Issue1/'d__1'::'<>t__builder' -IL_0040: call instance class [System.Runtime]System.Threading.Tasks.Task [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::get_Task() -IL_0045: ret -} -.method public hidebysig specialname rtspecialname -instance void .ctor() cil managed -{ -.maxstack 8 -IL_0000: ldarg.0 -IL_0001: call instance void [System.Runtime]System.Object::.ctor() -IL_0006: nop -IL_0007: ret -} -} diff --git a/Tests/ModuleWeaverTests.DecompileIssue1.Core.Release.verified.txt b/Tests/ModuleWeaverTests.DecompileIssue1.Core.Release.verified.txt deleted file mode 100644 index 9fe608f..0000000 --- a/Tests/ModuleWeaverTests.DecompileIssue1.Core.Release.verified.txt +++ /dev/null @@ -1,397 +0,0 @@ -.class private auto ansi beforefieldinit Issue1 -extends [System.Runtime]System.Object -{ -.custom instance void System.Runtime.CompilerServices.NullableContextAttribute::.ctor(uint8) = ( 01 00 01 00 00 ) -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.class auto ansi sealed nested private beforefieldinit 'd__0' -extends [System.Runtime]System.ValueType -implements [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine -{ -.interfaceimpl type [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field public int32 '<>1__state' -.field public valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder '<>t__builder' -.field public class [System.Runtime.Extensions]System.IO.TextWriter writer -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field public class [System.Runtime.Extensions]System.IO.StreamReader reader -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field private valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter '<>u__1' -.field private valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter '<>u__2' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.method private hidebysig newslot virtual final -instance void MoveNext() cil managed -{ -.override [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext -.maxstack 3 -.locals init (int32 V_0, -string V_1, -valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter V_2, -valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable V_3, -valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1 V_4, -valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter V_5, -class [System.Runtime]System.Exception V_6) -IL_0000: ldarg.0 -IL_0001: ldfld int32 Issue1/'d__0'::'<>1__state' -IL_0006: stloc.0 -.try -{ -IL_0007: ldloc.0 -IL_0008: brfalse.s IL_005a -IL_000a: ldloc.0 -IL_000b: ldc.i4.1 -IL_000c: beq IL_00c3 -IL_0011: br.s IL_007d -IL_0013: ldarg.0 -IL_0014: ldfld class [System.Runtime.Extensions]System.IO.TextWriter Issue1/'d__0'::writer -IL_0019: ldloc.1 -IL_001a: callvirt instance class [System.Runtime]System.Threading.Tasks.Task [System.Runtime.Extensions]System.IO.TextWriter::WriteLineAsync(string) -IL_001f: ldc.i4.0 -IL_0020: callvirt instance valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable [System.Private.CoreLib]System.Threading.Tasks.Task::ConfigureAwait(bool) -IL_0025: stloc.3 -IL_0026: ldloca.s V_3 -IL_0028: call instance valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable::GetAwaiter() -IL_002d: stloc.2 -IL_002e: ldloca.s V_2 -IL_0030: call instance bool [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter::get_IsCompleted() -IL_0035: brtrue.s IL_0076 -IL_0037: ldarg.0 -IL_0038: ldc.i4.0 -IL_0039: dup -IL_003a: stloc.0 -IL_003b: stfld int32 Issue1/'d__0'::'<>1__state' -IL_0040: ldarg.0 -IL_0041: ldloc.2 -IL_0042: stfld valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter Issue1/'d__0'::'<>u__1' -IL_0047: ldarg.0 -IL_0048: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Issue1/'d__0'::'<>t__builder' -IL_004d: ldloca.s V_2 -IL_004f: ldarg.0 -IL_0050: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::AwaitUnsafeOnCompletedd__0'>(!!0&, -!!1&) -IL_0055: leave IL_011c -IL_005a: ldarg.0 -IL_005b: ldfld valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter Issue1/'d__0'::'<>u__1' -IL_0060: stloc.2 -IL_0061: ldarg.0 -IL_0062: ldflda valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter Issue1/'d__0'::'<>u__1' -IL_0067: initobj [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter -IL_006d: ldarg.0 -IL_006e: ldc.i4.m1 -IL_006f: dup -IL_0070: stloc.0 -IL_0071: stfld int32 Issue1/'d__0'::'<>1__state' -IL_0076: ldloca.s V_2 -IL_0078: call instance void [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter::GetResult() -IL_007d: ldarg.0 -IL_007e: ldfld class [System.Runtime.Extensions]System.IO.StreamReader Issue1/'d__0'::reader -IL_0083: callvirt instance class [System.Runtime]System.Threading.Tasks.Task`1 [System.Runtime.Extensions]System.IO.TextReader::ReadLineAsync() -IL_0088: ldc.i4.0 -IL_0089: callvirt instance valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1 class [System.Private.CoreLib]System.Threading.Tasks.Task`1::ConfigureAwait(bool) -IL_008e: stloc.s V_4 -IL_0090: ldloca.s V_4 -IL_0092: call instance valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1::GetAwaiter() -IL_0097: stloc.s V_5 -IL_0099: ldloca.s V_5 -IL_009b: call instance bool valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter::get_IsCompleted() -IL_00a0: brtrue.s IL_00e0 -IL_00a2: ldarg.0 -IL_00a3: ldc.i4.1 -IL_00a4: dup -IL_00a5: stloc.0 -IL_00a6: stfld int32 Issue1/'d__0'::'<>1__state' -IL_00ab: ldarg.0 -IL_00ac: ldloc.s V_5 -IL_00ae: stfld valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter Issue1/'d__0'::'<>u__2' -IL_00b3: ldarg.0 -IL_00b4: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Issue1/'d__0'::'<>t__builder' -IL_00b9: ldloca.s V_5 -IL_00bb: ldarg.0 -IL_00bc: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::AwaitUnsafeOnCompleted,valuetype Issue1/'d__0'>(!!0&, -!!1&) -IL_00c1: leave.s IL_011c -IL_00c3: ldarg.0 -IL_00c4: ldfld valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter Issue1/'d__0'::'<>u__2' -IL_00c9: stloc.s V_5 -IL_00cb: ldarg.0 -IL_00cc: ldflda valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter Issue1/'d__0'::'<>u__2' -IL_00d1: initobj valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter -IL_00d7: ldarg.0 -IL_00d8: ldc.i4.m1 -IL_00d9: dup -IL_00da: stloc.0 -IL_00db: stfld int32 Issue1/'d__0'::'<>1__state' -IL_00e0: ldloca.s V_5 -IL_00e2: call instance !0 valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter::GetResult() -IL_00e7: dup -IL_00e8: stloc.1 -IL_00e9: brtrue IL_0013 -IL_00ee: leave.s IL_0109 -} // end .try -catch [System.Runtime]System.Exception -{ -IL_00f0: stloc.s V_6 -IL_00f2: ldarg.0 -IL_00f3: ldc.i4.s -2 -IL_00f5: stfld int32 Issue1/'d__0'::'<>1__state' -IL_00fa: ldarg.0 -IL_00fb: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Issue1/'d__0'::'<>t__builder' -IL_0100: ldloc.s V_6 -IL_0102: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetException(class [System.Runtime]System.Exception) -IL_0107: leave.s IL_011c -} // end handler -IL_0109: ldarg.0 -IL_010a: ldc.i4.s -2 -IL_010c: stfld int32 Issue1/'d__0'::'<>1__state' -IL_0111: ldarg.0 -IL_0112: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Issue1/'d__0'::'<>t__builder' -IL_0117: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetResult() -IL_011c: ret -} -.method private hidebysig newslot virtual final -instance void SetStateMachine(class [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed -{ -.param [1] -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.override [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine -.maxstack 8 -IL_0000: ldarg.0 -IL_0001: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Issue1/'d__0'::'<>t__builder' -IL_0006: ldarg.1 -IL_0007: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetStateMachine(class [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine) -IL_000c: ret -} -} -.class auto ansi sealed nested private beforefieldinit 'd__1' -extends [System.Runtime]System.ValueType -implements [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine -{ -.interfaceimpl type [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field public int32 '<>1__state' -.field public valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder '<>t__builder' -.field public class [System.Runtime.Extensions]System.IO.TextWriter writer -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field public class [System.Runtime.Extensions]System.IO.StreamReader reader -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field private valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter '<>u__1' -.field private valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1/ConfiguredValueTaskAwaiter '<>u__2' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8[]) = ( 01 00 02 00 00 00 00 01 00 00 ) -.method private hidebysig newslot virtual final -instance void MoveNext() cil managed -{ -.override [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext -.maxstack 3 -.locals init (int32 V_0, -string V_1, -valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter V_2, -valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable V_3, -valuetype [System.Threading.Tasks.Extensions]System.Threading.Tasks.ValueTask V_4, -valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1 V_5, -valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1/ConfiguredValueTaskAwaiter V_6, -valuetype [System.Threading.Tasks.Extensions]System.Threading.Tasks.ValueTask`1 V_7, -class [System.Runtime]System.Exception V_8) -IL_0000: ldarg.0 -IL_0001: ldfld int32 Issue1/'d__1'::'<>1__state' -IL_0006: stloc.0 -.try -{ -IL_0007: ldloc.0 -IL_0008: brfalse.s IL_0063 -IL_000a: ldloc.0 -IL_000b: ldc.i4.1 -IL_000c: beq IL_00d5 -IL_0011: br.s IL_0086 -IL_0013: ldarg.0 -IL_0014: ldfld class [System.Runtime.Extensions]System.IO.TextWriter Issue1/'d__1'::writer -IL_0019: ldloc.1 -IL_001a: callvirt instance class [System.Runtime]System.Threading.Tasks.Task [System.Runtime.Extensions]System.IO.TextWriter::WriteLineAsync(string) -IL_001f: call instance void [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable::.ctor(valuetype [System.Private.CoreLib]System.Threading.Tasks.ValueTask&) -IL_0024: stloc.s V_4 -IL_0026: ldloca.s V_4 -IL_0028: ldc.i4.0 -IL_0029: callvirt instance valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable [System.Private.CoreLib]System.Threading.Tasks.ValueTask::ConfigureAwait(bool) -IL_002e: stloc.3 -IL_002f: ldloca.s V_3 -IL_0031: call instance valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable::GetAwaiter() -IL_0036: stloc.2 -IL_0037: ldloca.s V_2 -IL_0039: call instance bool [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter::get_IsCompleted() -IL_003e: brtrue.s IL_007f -IL_0040: ldarg.0 -IL_0041: ldc.i4.0 -IL_0042: dup -IL_0043: stloc.0 -IL_0044: stfld int32 Issue1/'d__1'::'<>1__state' -IL_0049: ldarg.0 -IL_004a: ldloc.2 -IL_004b: stfld valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter Issue1/'d__1'::'<>u__1' -IL_0050: ldarg.0 -IL_0051: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Issue1/'d__1'::'<>t__builder' -IL_0056: ldloca.s V_2 -IL_0058: ldarg.0 -IL_0059: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::AwaitUnsafeOnCompletedd__1'>(!!0&, -!!1&) -IL_005e: leave IL_012e -IL_0063: ldarg.0 -IL_0064: ldfld valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter Issue1/'d__1'::'<>u__1' -IL_0069: stloc.2 -IL_006a: ldarg.0 -IL_006b: ldflda valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter Issue1/'d__1'::'<>u__1' -IL_0070: initobj [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter -IL_0076: ldarg.0 -IL_0077: ldc.i4.m1 -IL_0078: dup -IL_0079: stloc.0 -IL_007a: stfld int32 Issue1/'d__1'::'<>1__state' -IL_007f: ldloca.s V_2 -IL_0081: call instance void [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter::GetResult() -IL_0086: ldarg.0 -IL_0087: ldfld class [System.Runtime.Extensions]System.IO.StreamReader Issue1/'d__1'::reader -IL_008c: callvirt instance class [System.Runtime]System.Threading.Tasks.Task`1 [System.Runtime.Extensions]System.IO.TextReader::ReadLineAsync() -IL_0091: call instance void valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1::.ctor(valuetype [System.Private.CoreLib]System.Threading.Tasks.ValueTask`1&) -IL_0096: stloc.s V_7 -IL_0098: ldloca.s V_7 -IL_009a: ldc.i4.0 -IL_009b: callvirt instance valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1 valuetype [System.Private.CoreLib]System.Threading.Tasks.ValueTask`1::ConfigureAwait(bool) -IL_00a0: stloc.s V_5 -IL_00a2: ldloca.s V_5 -IL_00a4: call instance valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1/ConfiguredValueTaskAwaiter valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1::GetAwaiter() -IL_00a9: stloc.s V_6 -IL_00ab: ldloca.s V_6 -IL_00ad: call instance bool valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1/ConfiguredValueTaskAwaiter::get_IsCompleted() -IL_00b2: brtrue.s IL_00f2 -IL_00b4: ldarg.0 -IL_00b5: ldc.i4.1 -IL_00b6: dup -IL_00b7: stloc.0 -IL_00b8: stfld int32 Issue1/'d__1'::'<>1__state' -IL_00bd: ldarg.0 -IL_00be: ldloc.s V_6 -IL_00c0: stfld valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1/ConfiguredValueTaskAwaiter Issue1/'d__1'::'<>u__2' -IL_00c5: ldarg.0 -IL_00c6: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Issue1/'d__1'::'<>t__builder' -IL_00cb: ldloca.s V_6 -IL_00cd: ldarg.0 -IL_00ce: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::AwaitUnsafeOnCompleted,valuetype Issue1/'d__1'>(!!0&, -!!1&) -IL_00d3: leave.s IL_012e -IL_00d5: ldarg.0 -IL_00d6: ldfld valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1/ConfiguredValueTaskAwaiter Issue1/'d__1'::'<>u__2' -IL_00db: stloc.s V_6 -IL_00dd: ldarg.0 -IL_00de: ldflda valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1/ConfiguredValueTaskAwaiter Issue1/'d__1'::'<>u__2' -IL_00e3: initobj valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1/ConfiguredValueTaskAwaiter -IL_00e9: ldarg.0 -IL_00ea: ldc.i4.m1 -IL_00eb: dup -IL_00ec: stloc.0 -IL_00ed: stfld int32 Issue1/'d__1'::'<>1__state' -IL_00f2: ldloca.s V_6 -IL_00f4: call instance !0 valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1/ConfiguredValueTaskAwaiter::GetResult() -IL_00f9: dup -IL_00fa: stloc.1 -IL_00fb: brtrue IL_0013 -IL_0100: leave.s IL_011b -} // end .try -catch [System.Runtime]System.Exception -{ -IL_0102: stloc.s V_8 -IL_0104: ldarg.0 -IL_0105: ldc.i4.s -2 -IL_0107: stfld int32 Issue1/'d__1'::'<>1__state' -IL_010c: ldarg.0 -IL_010d: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Issue1/'d__1'::'<>t__builder' -IL_0112: ldloc.s V_8 -IL_0114: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetException(class [System.Runtime]System.Exception) -IL_0119: leave.s IL_012e -} // end handler -IL_011b: ldarg.0 -IL_011c: ldc.i4.s -2 -IL_011e: stfld int32 Issue1/'d__1'::'<>1__state' -IL_0123: ldarg.0 -IL_0124: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Issue1/'d__1'::'<>t__builder' -IL_0129: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetResult() -IL_012e: ret -} -.method private hidebysig newslot virtual final -instance void SetStateMachine(class [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed -{ -.param [1] -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.override [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine -.maxstack 8 -IL_0000: ldarg.0 -IL_0001: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Issue1/'d__1'::'<>t__builder' -IL_0006: ldarg.1 -IL_0007: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetStateMachine(class [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine) -IL_000c: ret -} -} -.method private hidebysig instance class [System.Runtime]System.Threading.Tasks.Task -WithReaderAndWriter(class [System.Runtime.Extensions]System.IO.TextWriter writer, -class [System.Runtime.Extensions]System.IO.StreamReader reader) cil managed -{ -65 61 64 65 72 41 6E 64 57 72 69 74 65 72 3E 64 // eaderAndWriter>d -5F 5F 30 00 00 ) // __0.. -.maxstack 2 -.locals init (valuetype Issue1/'d__0' V_0) -IL_0000: ldloca.s V_0 -IL_0002: call valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Create() -IL_0007: stfld valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Issue1/'d__0'::'<>t__builder' -IL_000c: ldloca.s V_0 -IL_000e: ldarg.1 -IL_000f: stfld class [System.Runtime.Extensions]System.IO.TextWriter Issue1/'d__0'::writer -IL_0014: ldloca.s V_0 -IL_0016: ldarg.2 -IL_0017: stfld class [System.Runtime.Extensions]System.IO.StreamReader Issue1/'d__0'::reader -IL_001c: ldloca.s V_0 -IL_001e: ldc.i4.m1 -IL_001f: stfld int32 Issue1/'d__0'::'<>1__state' -IL_0024: ldloca.s V_0 -IL_0026: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Issue1/'d__0'::'<>t__builder' -IL_002b: ldloca.s V_0 -IL_002d: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Startd__0'>(!!0&) -IL_0032: ldloca.s V_0 -IL_0034: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Issue1/'d__0'::'<>t__builder' -IL_0039: call instance class [System.Runtime]System.Threading.Tasks.Task [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::get_Task() -IL_003e: ret -} -.method private hidebysig instance class [System.Runtime]System.Threading.Tasks.Task -WithReaderAndWriter_WithValueTask(class [System.Runtime.Extensions]System.IO.TextWriter writer, -class [System.Runtime.Extensions]System.IO.StreamReader reader) cil managed -{ -65 61 64 65 72 41 6E 64 57 72 69 74 65 72 5F 57 // eaderAndWriter_W -69 74 68 56 61 6C 75 65 54 61 73 6B 3E 64 5F 5F // ithValueTask>d__ -31 00 00 ) // 1.. -.maxstack 2 -.locals init (valuetype Issue1/'d__1' V_0) -IL_0000: ldloca.s V_0 -IL_0002: call valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Create() -IL_0007: stfld valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Issue1/'d__1'::'<>t__builder' -IL_000c: ldloca.s V_0 -IL_000e: ldarg.1 -IL_000f: stfld class [System.Runtime.Extensions]System.IO.TextWriter Issue1/'d__1'::writer -IL_0014: ldloca.s V_0 -IL_0016: ldarg.2 -IL_0017: stfld class [System.Runtime.Extensions]System.IO.StreamReader Issue1/'d__1'::reader -IL_001c: ldloca.s V_0 -IL_001e: ldc.i4.m1 -IL_001f: stfld int32 Issue1/'d__1'::'<>1__state' -IL_0024: ldloca.s V_0 -IL_0026: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Issue1/'d__1'::'<>t__builder' -IL_002b: ldloca.s V_0 -IL_002d: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Startd__1'>(!!0&) -IL_0032: ldloca.s V_0 -IL_0034: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Issue1/'d__1'::'<>t__builder' -IL_0039: call instance class [System.Runtime]System.Threading.Tasks.Task [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::get_Task() -IL_003e: ret -} -.method public hidebysig specialname rtspecialname -instance void .ctor() cil managed -{ -.maxstack 8 -IL_0000: ldarg.0 -IL_0001: call instance void [System.Runtime]System.Object::.ctor() -IL_0006: ret -} -} diff --git a/Tests/ModuleWeaverTests.DecompileIssue1.Debug.DotNet.verified.txt b/Tests/ModuleWeaverTests.DecompileIssue1.Debug.DotNet.verified.txt deleted file mode 100644 index bd1dad4..0000000 --- a/Tests/ModuleWeaverTests.DecompileIssue1.Debug.DotNet.verified.txt +++ /dev/null @@ -1,241 +0,0 @@ -.class private auto ansi beforefieldinit Issue1 -extends [System.Runtime]System.Object -{ -.class auto ansi sealed nested private beforefieldinit 'd__0' -extends [System.Runtime]System.Object -implements [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine -{ -.field public int32 '<>1__state' -.field public valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder '<>t__builder' -.field public class [System.Runtime]System.IO.TextWriter writer -.field public class [System.Runtime]System.IO.StreamReader reader -.field public class Issue1 '<>4__this' -.field private string '5__1' -.field private string '<>s__2' -.field private valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter '<>u__1' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8[]) = ( 01 00 02 00 00 00 00 02 00 00 ) -.field private valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter '<>u__2' -.method public hidebysig specialname rtspecialname -instance void .ctor() cil managed -{ -.maxstack 8 -IL_0000: ldarg.0 -IL_0001: call instance void [System.Runtime]System.Object::.ctor() -IL_0006: nop -IL_0007: ret -} -.method private hidebysig newslot virtual final -instance void MoveNext() cil managed -{ -.override [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext -.maxstack 3 -.locals init (int32 V_0, -bool V_1, -valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter V_2, -valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1 V_3, -class Issue1/'d__0' V_4, -valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable V_5, -valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter V_6, -class [System.Runtime]System.Exception V_7) -IL_0000: ldarg.0 -IL_0001: ldfld int32 Issue1/'d__0'::'<>1__state' -IL_0006: stloc.0 -.try -{ -IL_0007: ldloc.0 -IL_0008: brfalse.s IL_0012 -IL_000a: br.s IL_000c -IL_000c: ldloc.0 -IL_000d: ldc.i4.1 -IL_000e: beq.s IL_0014 -IL_0010: br.s IL_0019 -IL_0012: br.s IL_0065 -IL_0014: br IL_0103 -IL_0019: nop -IL_001a: ldarg.0 -IL_001b: ldfld class [System.Runtime]System.IO.StreamReader Issue1/'d__0'::reader -IL_0020: callvirt instance class [System.Runtime]System.Threading.Tasks.Task`1 [System.Runtime]System.IO.TextReader::ReadLineAsync() -IL_0025: ldc.i4.0 -IL_0026: callvirt instance valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1 class [System.Private.CoreLib]System.Threading.Tasks.Task`1::ConfigureAwait(bool) -IL_002b: stloc.3 -IL_002c: ldloca.s V_3 -IL_002e: call instance valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1::GetAwaiter() -IL_0033: stloc.2 -IL_0034: ldloca.s V_2 -IL_0036: call instance bool valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter::get_IsCompleted() -IL_003b: brtrue.s IL_0081 -IL_003d: ldarg.0 -IL_003e: ldc.i4.0 -IL_003f: dup -IL_0040: stloc.0 -IL_0041: stfld int32 Issue1/'d__0'::'<>1__state' -IL_0046: ldarg.0 -IL_0047: ldloc.2 -IL_0048: stfld valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter Issue1/'d__0'::'<>u__1' -IL_004d: ldarg.0 -IL_004e: stloc.s V_4 -IL_0050: ldarg.0 -IL_0051: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Issue1/'d__0'::'<>t__builder' -IL_0056: ldloca.s V_2 -IL_0058: ldloca.s V_4 -IL_005a: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::AwaitUnsafeOnCompleted,class Issue1/'d__0'>(!!0&, -!!1&) -IL_005f: nop -IL_0060: leave IL_015e -IL_0065: ldarg.0 -IL_0066: ldfld valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter Issue1/'d__0'::'<>u__1' -IL_006b: stloc.2 -IL_006c: ldarg.0 -IL_006d: ldflda valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter Issue1/'d__0'::'<>u__1' -IL_0072: initobj valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter -IL_0078: ldarg.0 -IL_0079: ldc.i4.m1 -IL_007a: dup -IL_007b: stloc.0 -IL_007c: stfld int32 Issue1/'d__0'::'<>1__state' -IL_0081: ldarg.0 -IL_0082: ldloca.s V_2 -IL_0084: call instance !0 valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter::GetResult() -IL_0089: stfld string Issue1/'d__0'::'<>s__2' -IL_008e: ldarg.0 -IL_008f: ldarg.0 -IL_0090: ldfld string Issue1/'d__0'::'<>s__2' -IL_0095: stfld string Issue1/'d__0'::'5__1' -IL_009a: ldarg.0 -IL_009b: ldfld string Issue1/'d__0'::'5__1' -IL_00a0: ldnull -IL_00a1: cgt.un -IL_00a3: stloc.1 -IL_00a4: ldloc.1 -IL_00a5: brfalse IL_012e -IL_00aa: ldarg.0 -IL_00ab: ldnull -IL_00ac: stfld string Issue1/'d__0'::'<>s__2' -IL_00b1: nop -IL_00b2: ldarg.0 -IL_00b3: ldfld class [System.Runtime]System.IO.TextWriter Issue1/'d__0'::writer -IL_00b8: ldarg.0 -IL_00b9: ldfld string Issue1/'d__0'::'5__1' -IL_00be: callvirt instance class [System.Runtime]System.Threading.Tasks.Task [System.Runtime]System.IO.TextWriter::WriteLineAsync(string) -IL_00c3: ldc.i4.0 -IL_00c4: callvirt instance valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable [System.Private.CoreLib]System.Threading.Tasks.Task::ConfigureAwait(bool) -IL_00c9: stloc.s V_5 -IL_00cb: ldloca.s V_5 -IL_00cd: call instance valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable::GetAwaiter() -IL_00d2: stloc.s V_6 -IL_00d4: ldloca.s V_6 -IL_00d6: call instance bool [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter::get_IsCompleted() -IL_00db: brtrue.s IL_0120 -IL_00dd: ldarg.0 -IL_00de: ldc.i4.1 -IL_00df: dup -IL_00e0: stloc.0 -IL_00e1: stfld int32 Issue1/'d__0'::'<>1__state' -IL_00e6: ldarg.0 -IL_00e7: ldloc.s V_6 -IL_00e9: stfld valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter Issue1/'d__0'::'<>u__2' -IL_00ee: ldarg.0 -IL_00ef: stloc.s V_4 -IL_00f1: ldarg.0 -IL_00f2: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Issue1/'d__0'::'<>t__builder' -IL_00f7: ldloca.s V_6 -IL_00f9: ldloca.s V_4 -IL_00fb: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::AwaitUnsafeOnCompletedd__0'>(!!0&, -!!1&) -IL_0100: nop -IL_0101: leave.s IL_015e -IL_0103: ldarg.0 -IL_0104: ldfld valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter Issue1/'d__0'::'<>u__2' -IL_0109: stloc.s V_6 -IL_010b: ldarg.0 -IL_010c: ldflda valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter Issue1/'d__0'::'<>u__2' -IL_0111: initobj [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter -IL_0117: ldarg.0 -IL_0118: ldc.i4.m1 -IL_0119: dup -IL_011a: stloc.0 -IL_011b: stfld int32 Issue1/'d__0'::'<>1__state' -IL_0120: ldloca.s V_6 -IL_0122: call instance void [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter::GetResult() -IL_0127: nop -IL_0128: nop -IL_0129: br IL_001a -IL_012e: leave.s IL_014a -} // end .try -catch [System.Runtime]System.Exception -{ -IL_0130: stloc.s V_7 -IL_0132: ldarg.0 -IL_0133: ldc.i4.s -2 -IL_0135: stfld int32 Issue1/'d__0'::'<>1__state' -IL_013a: ldarg.0 -IL_013b: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Issue1/'d__0'::'<>t__builder' -IL_0140: ldloc.s V_7 -IL_0142: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetException(class [System.Runtime]System.Exception) -IL_0147: nop -IL_0148: leave.s IL_015e -} // end handler -IL_014a: ldarg.0 -IL_014b: ldc.i4.s -2 -IL_014d: stfld int32 Issue1/'d__0'::'<>1__state' -IL_0152: ldarg.0 -IL_0153: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Issue1/'d__0'::'<>t__builder' -IL_0158: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetResult() -IL_015d: nop -IL_015e: ret -} -.method private hidebysig newslot virtual final -instance void SetStateMachine(class [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed -{ -.param [1] -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 01 00 00 ) -.override [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine -.maxstack 8 -IL_0000: ret -} -} -.method private hidebysig instance class [System.Runtime]System.Threading.Tasks.Task -WithReaderAndWriter(class [System.Runtime]System.IO.TextWriter writer, -class [System.Runtime]System.IO.StreamReader reader) cil managed -{ -.custom instance void System.Runtime.CompilerServices.NullableContextAttribute::.ctor(uint8) = ( 01 00 01 00 00 ) -65 61 64 65 72 41 6E 64 57 72 69 74 65 72 3E 64 // eaderAndWriter>d -5F 5F 30 00 00 ) // __0.. -.maxstack 2 -.locals init (class Issue1/'d__0' V_0) -IL_0000: newobj instance void Issue1/'d__0'::.ctor() -IL_0005: stloc.0 -IL_0006: ldloc.0 -IL_0007: call valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Create() -IL_000c: stfld valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Issue1/'d__0'::'<>t__builder' -IL_0011: ldloc.0 -IL_0012: ldarg.0 -IL_0013: stfld class Issue1 Issue1/'d__0'::'<>4__this' -IL_0018: ldloc.0 -IL_0019: ldarg.1 -IL_001a: stfld class [System.Runtime]System.IO.TextWriter Issue1/'d__0'::writer -IL_001f: ldloc.0 -IL_0020: ldarg.2 -IL_0021: stfld class [System.Runtime]System.IO.StreamReader Issue1/'d__0'::reader -IL_0026: ldloc.0 -IL_0027: ldc.i4.m1 -IL_0028: stfld int32 Issue1/'d__0'::'<>1__state' -IL_002d: ldloc.0 -IL_002e: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Issue1/'d__0'::'<>t__builder' -IL_0033: ldloca.s V_0 -IL_0035: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Startd__0'>(!!0&) -IL_003a: ldloc.0 -IL_003b: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Issue1/'d__0'::'<>t__builder' -IL_0040: call instance class [System.Runtime]System.Threading.Tasks.Task [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::get_Task() -IL_0045: ret -} -.method public hidebysig specialname rtspecialname -instance void .ctor() cil managed -{ -.maxstack 8 -IL_0000: ldarg.0 -IL_0001: call instance void [System.Runtime]System.Object::.ctor() -IL_0006: nop -IL_0007: ret -} -} diff --git a/Tests/ModuleWeaverTests.DecompileIssue1.Debug.Core.verified.txt b/Tests/ModuleWeaverTests.DecompileIssue1.Debug.DotNet10_0.verified.txt similarity index 62% rename from Tests/ModuleWeaverTests.DecompileIssue1.Debug.Core.verified.txt rename to Tests/ModuleWeaverTests.DecompileIssue1.Debug.DotNet10_0.verified.txt index 982be61..39a5233 100644 --- a/Tests/ModuleWeaverTests.DecompileIssue1.Debug.Core.verified.txt +++ b/Tests/ModuleWeaverTests.DecompileIssue1.Debug.DotNet10_0.verified.txt @@ -1,28 +1,19 @@ .class private auto ansi beforefieldinit Issue1 extends [System.Runtime]System.Object { -.custom instance void System.Runtime.CompilerServices.NullableContextAttribute::.ctor(uint8) = ( 01 00 01 00 00 ) -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) .class auto ansi sealed nested private beforefieldinit 'd__0' extends [System.Runtime]System.Object -implements [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine +implements [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine { -.interfaceimpl type [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) +.interfaceimpl type [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine .field public int32 '<>1__state' -.field public valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder '<>t__builder' -.field public class [System.Runtime.Extensions]System.IO.TextWriter writer -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field public class [System.Runtime.Extensions]System.IO.StreamReader reader -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) +.field public valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder '<>t__builder' +.field public class [System.Runtime]System.IO.TextWriter writer +.field public class [System.Runtime]System.IO.StreamReader reader .field public class Issue1 '<>4__this' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) .field private string '5__1' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) .field private string '<>s__2' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) .field private valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter '<>u__1' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) .field private valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter '<>u__2' .method public hidebysig specialname rtspecialname instance void .ctor() cil managed @@ -36,7 +27,7 @@ IL_0007: ret .method private hidebysig newslot virtual final instance void MoveNext() cil managed { -.override [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext +.override [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext .maxstack 3 .locals init (int32 V_0, bool V_1, @@ -62,8 +53,8 @@ IL_0012: br.s IL_0065 IL_0014: br IL_0103 IL_0019: nop IL_001a: ldarg.0 -IL_001b: ldfld class [System.Runtime.Extensions]System.IO.StreamReader Issue1/'d__0'::reader -IL_0020: callvirt instance class [System.Runtime]System.Threading.Tasks.Task`1 [System.Runtime.Extensions]System.IO.TextReader::ReadLineAsync() +IL_001b: ldfld class [System.Runtime]System.IO.StreamReader Issue1/'d__0'::reader +IL_0020: callvirt instance class [System.Runtime]System.Threading.Tasks.Task`1 [System.Runtime]System.IO.TextReader::ReadLineAsync() IL_0025: ldc.i4.0 IL_0026: callvirt instance valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1 class [System.Private.CoreLib]System.Threading.Tasks.Task`1::ConfigureAwait(bool) IL_002b: stloc.3 @@ -84,10 +75,10 @@ IL_0048: stfld valuetype [System.Private.CoreLib]System.Runtime.CompilerSe IL_004d: ldarg.0 IL_004e: stloc.s V_4 IL_0050: ldarg.0 -IL_0051: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Issue1/'d__0'::'<>t__builder' +IL_0051: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Issue1/'d__0'::'<>t__builder' IL_0056: ldloca.s V_2 IL_0058: ldloca.s V_4 -IL_005a: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::AwaitUnsafeOnCompleted,class Issue1/'d__0'>(!!0&, +IL_005a: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::AwaitUnsafeOnCompleted,class Issue1/'d__0'>(!!0&, !!1&) IL_005f: nop IL_0060: leave IL_015e @@ -122,10 +113,10 @@ IL_00ab: ldnull IL_00ac: stfld string Issue1/'d__0'::'<>s__2' IL_00b1: nop IL_00b2: ldarg.0 -IL_00b3: ldfld class [System.Runtime.Extensions]System.IO.TextWriter Issue1/'d__0'::writer +IL_00b3: ldfld class [System.Runtime]System.IO.TextWriter Issue1/'d__0'::writer IL_00b8: ldarg.0 IL_00b9: ldfld string Issue1/'d__0'::'5__1' -IL_00be: callvirt instance class [System.Runtime]System.Threading.Tasks.Task [System.Runtime.Extensions]System.IO.TextWriter::WriteLineAsync(string) +IL_00be: callvirt instance class [System.Runtime]System.Threading.Tasks.Task [System.Runtime]System.IO.TextWriter::WriteLineAsync(string) IL_00c3: ldc.i4.0 IL_00c4: callvirt instance valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable [System.Private.CoreLib]System.Threading.Tasks.Task::ConfigureAwait(bool) IL_00c9: stloc.s V_5 @@ -146,10 +137,10 @@ IL_00e9: stfld valuetype [System.Private.CoreLib]System.Runtime.CompilerSe IL_00ee: ldarg.0 IL_00ef: stloc.s V_4 IL_00f1: ldarg.0 -IL_00f2: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Issue1/'d__0'::'<>t__builder' +IL_00f2: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Issue1/'d__0'::'<>t__builder' IL_00f7: ldloca.s V_6 IL_00f9: ldloca.s V_4 -IL_00fb: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::AwaitUnsafeOnCompletedd__0'>(!!0&, +IL_00fb: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::AwaitUnsafeOnCompletedd__0'>(!!0&, !!1&) IL_0100: nop IL_0101: leave.s IL_015e @@ -178,9 +169,9 @@ IL_0132: ldarg.0 IL_0133: ldc.i4.s -2 IL_0135: stfld int32 Issue1/'d__0'::'<>1__state' IL_013a: ldarg.0 -IL_013b: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Issue1/'d__0'::'<>t__builder' +IL_013b: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Issue1/'d__0'::'<>t__builder' IL_0140: ldloc.s V_7 -IL_0142: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetException(class [System.Runtime]System.Exception) +IL_0142: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetException(class [System.Runtime]System.Exception) IL_0147: nop IL_0148: leave.s IL_015e } // end handler @@ -188,41 +179,32 @@ IL_014a: ldarg.0 IL_014b: ldc.i4.s -2 IL_014d: stfld int32 Issue1/'d__0'::'<>1__state' IL_0152: ldarg.0 -IL_0153: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Issue1/'d__0'::'<>t__builder' -IL_0158: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetResult() +IL_0153: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Issue1/'d__0'::'<>t__builder' +IL_0158: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetResult() IL_015d: nop IL_015e: ret } .method private hidebysig newslot virtual final -instance void SetStateMachine(class [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed +instance void SetStateMachine(class [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed { -.param [1] -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.override [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine +.override [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine .maxstack 8 IL_0000: ret } } .class auto ansi sealed nested private beforefieldinit 'd__1' extends [System.Runtime]System.Object -implements [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine +implements [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine { -.interfaceimpl type [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) +.interfaceimpl type [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine .field public int32 '<>1__state' -.field public valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder '<>t__builder' -.field public class [System.Runtime.Extensions]System.IO.TextWriter writer -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field public class [System.Runtime.Extensions]System.IO.StreamReader reader -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) +.field public valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder '<>t__builder' +.field public class [System.Runtime]System.IO.TextWriter writer +.field public class [System.Runtime]System.IO.StreamReader reader .field public class Issue1 '<>4__this' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) .field private string '5__1' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) .field private string '<>s__2' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) .field private valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1/ConfiguredValueTaskAwaiter '<>u__1' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8[]) = ( 01 00 02 00 00 00 00 01 00 00 ) .field private valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter '<>u__2' .method public hidebysig specialname rtspecialname instance void .ctor() cil managed @@ -236,17 +218,17 @@ IL_0007: ret .method private hidebysig newslot virtual final instance void MoveNext() cil managed { -.override [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext +.override [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext .maxstack 3 .locals init (int32 V_0, bool V_1, valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1/ConfiguredValueTaskAwaiter V_2, valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1 V_3, -valuetype [System.Threading.Tasks.Extensions]System.Threading.Tasks.ValueTask`1 V_4, +valuetype [System.Runtime]System.Threading.Tasks.ValueTask`1 V_4, class Issue1/'d__1' V_5, valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable V_6, valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter V_7, -valuetype [System.Threading.Tasks.Extensions]System.Threading.Tasks.ValueTask V_8, +valuetype [System.Runtime]System.Threading.Tasks.ValueTask V_8, class [System.Runtime]System.Exception V_9) IL_0000: ldarg.0 IL_0001: ldfld int32 Issue1/'d__1'::'<>1__state' @@ -264,9 +246,9 @@ IL_0012: br.s IL_006e IL_0014: br IL_0115 IL_0019: nop IL_001a: ldarg.0 -IL_001b: ldfld class [System.Runtime.Extensions]System.IO.StreamReader Issue1/'d__1'::reader -IL_0020: callvirt instance class [System.Runtime]System.Threading.Tasks.Task`1 [System.Runtime.Extensions]System.IO.TextReader::ReadLineAsync() -IL_0025: call instance void valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1::.ctor(valuetype [System.Private.CoreLib]System.Threading.Tasks.ValueTask`1&) +IL_001b: ldfld class [System.Runtime]System.IO.StreamReader Issue1/'d__1'::reader +IL_0020: callvirt instance class [System.Runtime]System.Threading.Tasks.Task`1 [System.Runtime]System.IO.TextReader::ReadLineAsync() +IL_0025: newobj instance void valuetype [System.Runtime]System.Threading.Tasks.ValueTask`1::.ctor(class [System.Runtime]System.Threading.Tasks.Task`1) IL_002a: stloc.s V_4 IL_002c: ldloca.s V_4 IL_002e: ldc.i4.0 @@ -289,10 +271,10 @@ IL_0051: stfld valuetype [System.Private.CoreLib]System.Runtime.CompilerSe IL_0056: ldarg.0 IL_0057: stloc.s V_5 IL_0059: ldarg.0 -IL_005a: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Issue1/'d__1'::'<>t__builder' +IL_005a: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Issue1/'d__1'::'<>t__builder' IL_005f: ldloca.s V_2 IL_0061: ldloca.s V_5 -IL_0063: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::AwaitUnsafeOnCompleted,class Issue1/'d__1'>(!!0&, +IL_0063: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::AwaitUnsafeOnCompleted,class Issue1/'d__1'>(!!0&, !!1&) IL_0068: nop IL_0069: leave IL_0170 @@ -327,11 +309,11 @@ IL_00b4: ldnull IL_00b5: stfld string Issue1/'d__1'::'<>s__2' IL_00ba: nop IL_00bb: ldarg.0 -IL_00bc: ldfld class [System.Runtime.Extensions]System.IO.TextWriter Issue1/'d__1'::writer +IL_00bc: ldfld class [System.Runtime]System.IO.TextWriter Issue1/'d__1'::writer IL_00c1: ldarg.0 IL_00c2: ldfld string Issue1/'d__1'::'5__1' -IL_00c7: callvirt instance class [System.Runtime]System.Threading.Tasks.Task [System.Runtime.Extensions]System.IO.TextWriter::WriteLineAsync(string) -IL_00cc: call instance void [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable::.ctor(valuetype [System.Private.CoreLib]System.Threading.Tasks.ValueTask&) +IL_00c7: callvirt instance class [System.Runtime]System.Threading.Tasks.Task [System.Runtime]System.IO.TextWriter::WriteLineAsync(string) +IL_00cc: newobj instance void [System.Runtime]System.Threading.Tasks.ValueTask::.ctor(class [System.Runtime]System.Threading.Tasks.Task) IL_00d1: stloc.s V_8 IL_00d3: ldloca.s V_8 IL_00d5: ldc.i4.0 @@ -354,10 +336,10 @@ IL_00fb: stfld valuetype [System.Private.CoreLib]System.Runtime.CompilerSe IL_0100: ldarg.0 IL_0101: stloc.s V_5 IL_0103: ldarg.0 -IL_0104: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Issue1/'d__1'::'<>t__builder' +IL_0104: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Issue1/'d__1'::'<>t__builder' IL_0109: ldloca.s V_7 IL_010b: ldloca.s V_5 -IL_010d: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::AwaitUnsafeOnCompletedd__1'>(!!0&, +IL_010d: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::AwaitUnsafeOnCompletedd__1'>(!!0&, !!1&) IL_0112: nop IL_0113: leave.s IL_0170 @@ -386,9 +368,9 @@ IL_0144: ldarg.0 IL_0145: ldc.i4.s -2 IL_0147: stfld int32 Issue1/'d__1'::'<>1__state' IL_014c: ldarg.0 -IL_014d: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Issue1/'d__1'::'<>t__builder' +IL_014d: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Issue1/'d__1'::'<>t__builder' IL_0152: ldloc.s V_9 -IL_0154: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetException(class [System.Runtime]System.Exception) +IL_0154: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetException(class [System.Runtime]System.Exception) IL_0159: nop IL_015a: leave.s IL_0170 } // end handler @@ -396,24 +378,22 @@ IL_015c: ldarg.0 IL_015d: ldc.i4.s -2 IL_015f: stfld int32 Issue1/'d__1'::'<>1__state' IL_0164: ldarg.0 -IL_0165: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Issue1/'d__1'::'<>t__builder' -IL_016a: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetResult() +IL_0165: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Issue1/'d__1'::'<>t__builder' +IL_016a: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetResult() IL_016f: nop IL_0170: ret } .method private hidebysig newslot virtual final -instance void SetStateMachine(class [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed +instance void SetStateMachine(class [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed { -.param [1] -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.override [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine +.override [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine .maxstack 8 IL_0000: ret } } .method private hidebysig instance class [System.Runtime]System.Threading.Tasks.Task -WithReaderAndWriter(class [System.Runtime.Extensions]System.IO.TextWriter writer, -class [System.Runtime.Extensions]System.IO.StreamReader reader) cil managed +WithReaderAndWriter(class [System.Runtime]System.IO.TextWriter writer, +class [System.Runtime]System.IO.StreamReader reader) cil managed { 65 61 64 65 72 41 6E 64 57 72 69 74 65 72 3E 64 // eaderAndWriter>d 5F 5F 30 00 00 ) // __0.. @@ -422,32 +402,32 @@ class [System.Runtime.Extensions]System.IO.StreamReader reader) cil managed IL_0000: newobj instance void Issue1/'d__0'::.ctor() IL_0005: stloc.0 IL_0006: ldloc.0 -IL_0007: call valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Create() -IL_000c: stfld valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Issue1/'d__0'::'<>t__builder' +IL_0007: call valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Create() +IL_000c: stfld valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Issue1/'d__0'::'<>t__builder' IL_0011: ldloc.0 IL_0012: ldarg.0 IL_0013: stfld class Issue1 Issue1/'d__0'::'<>4__this' IL_0018: ldloc.0 IL_0019: ldarg.1 -IL_001a: stfld class [System.Runtime.Extensions]System.IO.TextWriter Issue1/'d__0'::writer +IL_001a: stfld class [System.Runtime]System.IO.TextWriter Issue1/'d__0'::writer IL_001f: ldloc.0 IL_0020: ldarg.2 -IL_0021: stfld class [System.Runtime.Extensions]System.IO.StreamReader Issue1/'d__0'::reader +IL_0021: stfld class [System.Runtime]System.IO.StreamReader Issue1/'d__0'::reader IL_0026: ldloc.0 IL_0027: ldc.i4.m1 IL_0028: stfld int32 Issue1/'d__0'::'<>1__state' IL_002d: ldloc.0 -IL_002e: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Issue1/'d__0'::'<>t__builder' +IL_002e: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Issue1/'d__0'::'<>t__builder' IL_0033: ldloca.s V_0 -IL_0035: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Startd__0'>(!!0&) +IL_0035: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Startd__0'>(!!0&) IL_003a: ldloc.0 -IL_003b: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Issue1/'d__0'::'<>t__builder' -IL_0040: call instance class [System.Runtime]System.Threading.Tasks.Task [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::get_Task() +IL_003b: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Issue1/'d__0'::'<>t__builder' +IL_0040: call instance class [System.Runtime]System.Threading.Tasks.Task [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::get_Task() IL_0045: ret } .method private hidebysig instance class [System.Runtime]System.Threading.Tasks.Task -WithReaderAndWriter_WithValueTask(class [System.Runtime.Extensions]System.IO.TextWriter writer, -class [System.Runtime.Extensions]System.IO.StreamReader reader) cil managed +WithReaderAndWriter_WithValueTask(class [System.Runtime]System.IO.TextWriter writer, +class [System.Runtime]System.IO.StreamReader reader) cil managed { 65 61 64 65 72 41 6E 64 57 72 69 74 65 72 5F 57 // eaderAndWriter_W 69 74 68 56 61 6C 75 65 54 61 73 6B 3E 64 5F 5F // ithValueTask>d__ @@ -457,27 +437,27 @@ class [System.Runtime.Extensions]System.IO.StreamReader reader) cil managed IL_0000: newobj instance void Issue1/'d__1'::.ctor() IL_0005: stloc.0 IL_0006: ldloc.0 -IL_0007: call valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Create() -IL_000c: stfld valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Issue1/'d__1'::'<>t__builder' +IL_0007: call valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Create() +IL_000c: stfld valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Issue1/'d__1'::'<>t__builder' IL_0011: ldloc.0 IL_0012: ldarg.0 IL_0013: stfld class Issue1 Issue1/'d__1'::'<>4__this' IL_0018: ldloc.0 IL_0019: ldarg.1 -IL_001a: stfld class [System.Runtime.Extensions]System.IO.TextWriter Issue1/'d__1'::writer +IL_001a: stfld class [System.Runtime]System.IO.TextWriter Issue1/'d__1'::writer IL_001f: ldloc.0 IL_0020: ldarg.2 -IL_0021: stfld class [System.Runtime.Extensions]System.IO.StreamReader Issue1/'d__1'::reader +IL_0021: stfld class [System.Runtime]System.IO.StreamReader Issue1/'d__1'::reader IL_0026: ldloc.0 IL_0027: ldc.i4.m1 IL_0028: stfld int32 Issue1/'d__1'::'<>1__state' IL_002d: ldloc.0 -IL_002e: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Issue1/'d__1'::'<>t__builder' +IL_002e: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Issue1/'d__1'::'<>t__builder' IL_0033: ldloca.s V_0 -IL_0035: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Startd__1'>(!!0&) +IL_0035: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Startd__1'>(!!0&) IL_003a: ldloc.0 -IL_003b: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Issue1/'d__1'::'<>t__builder' -IL_0040: call instance class [System.Runtime]System.Threading.Tasks.Task [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::get_Task() +IL_003b: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Issue1/'d__1'::'<>t__builder' +IL_0040: call instance class [System.Runtime]System.Threading.Tasks.Task [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::get_Task() IL_0045: ret } .method public hidebysig specialname rtspecialname diff --git a/Tests/ModuleWeaverTests.DecompileIssue1.Debug.DotNet11_0.verified.txt b/Tests/ModuleWeaverTests.DecompileIssue1.Debug.DotNet11_0.verified.txt new file mode 100644 index 0000000..2ec9935 --- /dev/null +++ b/Tests/ModuleWeaverTests.DecompileIssue1.Debug.DotNet11_0.verified.txt @@ -0,0 +1,91 @@ +.class private auto ansi beforefieldinit Issue1 +extends [System.Runtime]System.Object +{ +.method private hidebysig instance class [System.Runtime]System.Threading.Tasks.Task +WithReaderAndWriter(class [System.Runtime]System.IO.TextWriter writer, +class [System.Runtime]System.IO.StreamReader reader) cil managed +{ +.maxstack 2 +.locals init (string V_0, +string V_1, +bool V_2) +IL_0000: nop +IL_0001: ldarg.2 +IL_0002: callvirt instance class [System.Runtime]System.Threading.Tasks.Task`1 [System.Runtime]System.IO.TextReader::ReadLineAsync() +IL_0007: ldc.i4.0 +IL_0008: callvirt instance valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1 class [System.Private.CoreLib]System.Threading.Tasks.Task`1::ConfigureAwait(bool) +IL_000d: call !!0 [System.Private.CoreLib]System.Runtime.CompilerServices.AsyncHelpers::Await(valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1) +IL_0012: stloc.1 +IL_0013: ldloc.1 +IL_0014: stloc.0 +IL_0015: ldloc.0 +IL_0016: ldnull +IL_0017: cgt.un +IL_0019: stloc.2 +IL_001a: ldloc.2 +IL_001b: brfalse.s IL_0034 +IL_001d: nop +IL_001e: ldarg.1 +IL_001f: ldloc.0 +IL_0020: callvirt instance class [System.Runtime]System.Threading.Tasks.Task [System.Runtime]System.IO.TextWriter::WriteLineAsync(string) +IL_0025: ldc.i4.0 +IL_0026: callvirt instance valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable [System.Private.CoreLib]System.Threading.Tasks.Task::ConfigureAwait(bool) +IL_002b: call void [System.Private.CoreLib]System.Runtime.CompilerServices.AsyncHelpers::Await(valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable) +IL_0030: nop +IL_0031: nop +IL_0032: br.s IL_0001 +IL_0034: ret +} +.method private hidebysig instance class [System.Runtime]System.Threading.Tasks.Task +WithReaderAndWriter_WithValueTask(class [System.Runtime]System.IO.TextWriter writer, +class [System.Runtime]System.IO.StreamReader reader) cil managed +{ +.maxstack 2 +.locals init (string V_0, +string V_1, +bool V_2, +valuetype [System.Private.CoreLib]System.Threading.Tasks.ValueTask`1 V_3, +valuetype [System.Private.CoreLib]System.Threading.Tasks.ValueTask V_4) +IL_0000: nop +IL_0001: ldarg.2 +IL_0002: callvirt instance class [System.Runtime]System.Threading.Tasks.Task`1 [System.Runtime]System.IO.TextReader::ReadLineAsync() +IL_0007: newobj instance void valuetype [System.Runtime]System.Threading.Tasks.ValueTask`1::.ctor(class [System.Runtime]System.Threading.Tasks.Task`1) +IL_000c: stloc.3 +IL_000d: ldloca.s V_3 +IL_000f: ldc.i4.0 +IL_0010: call instance valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1 valuetype [System.Private.CoreLib]System.Threading.Tasks.ValueTask`1::ConfigureAwait(bool) +IL_0015: call !!0 [System.Private.CoreLib]System.Runtime.CompilerServices.AsyncHelpers::Await(valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1) +IL_001a: stloc.1 +IL_001b: ldloc.1 +IL_001c: stloc.0 +IL_001d: ldloc.0 +IL_001e: ldnull +IL_001f: cgt.un +IL_0021: stloc.2 +IL_0022: ldloc.2 +IL_0023: brfalse.s IL_0045 +IL_0025: nop +IL_0026: ldarg.1 +IL_0027: ldloc.0 +IL_0028: callvirt instance class [System.Runtime]System.Threading.Tasks.Task [System.Runtime]System.IO.TextWriter::WriteLineAsync(string) +IL_002d: newobj instance void [System.Runtime]System.Threading.Tasks.ValueTask::.ctor(class [System.Runtime]System.Threading.Tasks.Task) +IL_0032: stloc.s V_4 +IL_0034: ldloca.s V_4 +IL_0036: ldc.i4.0 +IL_0037: call instance valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable [System.Private.CoreLib]System.Threading.Tasks.ValueTask::ConfigureAwait(bool) +IL_003c: call void [System.Private.CoreLib]System.Runtime.CompilerServices.AsyncHelpers::Await(valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable) +IL_0041: nop +IL_0042: nop +IL_0043: br.s IL_0001 +IL_0045: ret +} +.method public hidebysig specialname rtspecialname +instance void .ctor() cil managed +{ +.maxstack 8 +IL_0000: ldarg.0 +IL_0001: call instance void [System.Runtime]System.Object::.ctor() +IL_0006: nop +IL_0007: ret +} +} diff --git a/Tests/ModuleWeaverTests.DecompileIssue1.Debug.Net.verified.txt b/Tests/ModuleWeaverTests.DecompileIssue1.Debug.Net4_7.verified.txt similarity index 100% rename from Tests/ModuleWeaverTests.DecompileIssue1.Debug.Net.verified.txt rename to Tests/ModuleWeaverTests.DecompileIssue1.Debug.Net4_7.verified.txt diff --git a/Tests/ModuleWeaverTests.DecompileIssue1.DotNet.Debug.verified.txt b/Tests/ModuleWeaverTests.DecompileIssue1.DotNet.Debug.verified.txt deleted file mode 100644 index bd1dad4..0000000 --- a/Tests/ModuleWeaverTests.DecompileIssue1.DotNet.Debug.verified.txt +++ /dev/null @@ -1,241 +0,0 @@ -.class private auto ansi beforefieldinit Issue1 -extends [System.Runtime]System.Object -{ -.class auto ansi sealed nested private beforefieldinit 'd__0' -extends [System.Runtime]System.Object -implements [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine -{ -.field public int32 '<>1__state' -.field public valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder '<>t__builder' -.field public class [System.Runtime]System.IO.TextWriter writer -.field public class [System.Runtime]System.IO.StreamReader reader -.field public class Issue1 '<>4__this' -.field private string '5__1' -.field private string '<>s__2' -.field private valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter '<>u__1' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8[]) = ( 01 00 02 00 00 00 00 02 00 00 ) -.field private valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter '<>u__2' -.method public hidebysig specialname rtspecialname -instance void .ctor() cil managed -{ -.maxstack 8 -IL_0000: ldarg.0 -IL_0001: call instance void [System.Runtime]System.Object::.ctor() -IL_0006: nop -IL_0007: ret -} -.method private hidebysig newslot virtual final -instance void MoveNext() cil managed -{ -.override [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext -.maxstack 3 -.locals init (int32 V_0, -bool V_1, -valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter V_2, -valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1 V_3, -class Issue1/'d__0' V_4, -valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable V_5, -valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter V_6, -class [System.Runtime]System.Exception V_7) -IL_0000: ldarg.0 -IL_0001: ldfld int32 Issue1/'d__0'::'<>1__state' -IL_0006: stloc.0 -.try -{ -IL_0007: ldloc.0 -IL_0008: brfalse.s IL_0012 -IL_000a: br.s IL_000c -IL_000c: ldloc.0 -IL_000d: ldc.i4.1 -IL_000e: beq.s IL_0014 -IL_0010: br.s IL_0019 -IL_0012: br.s IL_0065 -IL_0014: br IL_0103 -IL_0019: nop -IL_001a: ldarg.0 -IL_001b: ldfld class [System.Runtime]System.IO.StreamReader Issue1/'d__0'::reader -IL_0020: callvirt instance class [System.Runtime]System.Threading.Tasks.Task`1 [System.Runtime]System.IO.TextReader::ReadLineAsync() -IL_0025: ldc.i4.0 -IL_0026: callvirt instance valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1 class [System.Private.CoreLib]System.Threading.Tasks.Task`1::ConfigureAwait(bool) -IL_002b: stloc.3 -IL_002c: ldloca.s V_3 -IL_002e: call instance valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1::GetAwaiter() -IL_0033: stloc.2 -IL_0034: ldloca.s V_2 -IL_0036: call instance bool valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter::get_IsCompleted() -IL_003b: brtrue.s IL_0081 -IL_003d: ldarg.0 -IL_003e: ldc.i4.0 -IL_003f: dup -IL_0040: stloc.0 -IL_0041: stfld int32 Issue1/'d__0'::'<>1__state' -IL_0046: ldarg.0 -IL_0047: ldloc.2 -IL_0048: stfld valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter Issue1/'d__0'::'<>u__1' -IL_004d: ldarg.0 -IL_004e: stloc.s V_4 -IL_0050: ldarg.0 -IL_0051: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Issue1/'d__0'::'<>t__builder' -IL_0056: ldloca.s V_2 -IL_0058: ldloca.s V_4 -IL_005a: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::AwaitUnsafeOnCompleted,class Issue1/'d__0'>(!!0&, -!!1&) -IL_005f: nop -IL_0060: leave IL_015e -IL_0065: ldarg.0 -IL_0066: ldfld valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter Issue1/'d__0'::'<>u__1' -IL_006b: stloc.2 -IL_006c: ldarg.0 -IL_006d: ldflda valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter Issue1/'d__0'::'<>u__1' -IL_0072: initobj valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter -IL_0078: ldarg.0 -IL_0079: ldc.i4.m1 -IL_007a: dup -IL_007b: stloc.0 -IL_007c: stfld int32 Issue1/'d__0'::'<>1__state' -IL_0081: ldarg.0 -IL_0082: ldloca.s V_2 -IL_0084: call instance !0 valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter::GetResult() -IL_0089: stfld string Issue1/'d__0'::'<>s__2' -IL_008e: ldarg.0 -IL_008f: ldarg.0 -IL_0090: ldfld string Issue1/'d__0'::'<>s__2' -IL_0095: stfld string Issue1/'d__0'::'5__1' -IL_009a: ldarg.0 -IL_009b: ldfld string Issue1/'d__0'::'5__1' -IL_00a0: ldnull -IL_00a1: cgt.un -IL_00a3: stloc.1 -IL_00a4: ldloc.1 -IL_00a5: brfalse IL_012e -IL_00aa: ldarg.0 -IL_00ab: ldnull -IL_00ac: stfld string Issue1/'d__0'::'<>s__2' -IL_00b1: nop -IL_00b2: ldarg.0 -IL_00b3: ldfld class [System.Runtime]System.IO.TextWriter Issue1/'d__0'::writer -IL_00b8: ldarg.0 -IL_00b9: ldfld string Issue1/'d__0'::'5__1' -IL_00be: callvirt instance class [System.Runtime]System.Threading.Tasks.Task [System.Runtime]System.IO.TextWriter::WriteLineAsync(string) -IL_00c3: ldc.i4.0 -IL_00c4: callvirt instance valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable [System.Private.CoreLib]System.Threading.Tasks.Task::ConfigureAwait(bool) -IL_00c9: stloc.s V_5 -IL_00cb: ldloca.s V_5 -IL_00cd: call instance valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable::GetAwaiter() -IL_00d2: stloc.s V_6 -IL_00d4: ldloca.s V_6 -IL_00d6: call instance bool [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter::get_IsCompleted() -IL_00db: brtrue.s IL_0120 -IL_00dd: ldarg.0 -IL_00de: ldc.i4.1 -IL_00df: dup -IL_00e0: stloc.0 -IL_00e1: stfld int32 Issue1/'d__0'::'<>1__state' -IL_00e6: ldarg.0 -IL_00e7: ldloc.s V_6 -IL_00e9: stfld valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter Issue1/'d__0'::'<>u__2' -IL_00ee: ldarg.0 -IL_00ef: stloc.s V_4 -IL_00f1: ldarg.0 -IL_00f2: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Issue1/'d__0'::'<>t__builder' -IL_00f7: ldloca.s V_6 -IL_00f9: ldloca.s V_4 -IL_00fb: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::AwaitUnsafeOnCompletedd__0'>(!!0&, -!!1&) -IL_0100: nop -IL_0101: leave.s IL_015e -IL_0103: ldarg.0 -IL_0104: ldfld valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter Issue1/'d__0'::'<>u__2' -IL_0109: stloc.s V_6 -IL_010b: ldarg.0 -IL_010c: ldflda valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter Issue1/'d__0'::'<>u__2' -IL_0111: initobj [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter -IL_0117: ldarg.0 -IL_0118: ldc.i4.m1 -IL_0119: dup -IL_011a: stloc.0 -IL_011b: stfld int32 Issue1/'d__0'::'<>1__state' -IL_0120: ldloca.s V_6 -IL_0122: call instance void [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter::GetResult() -IL_0127: nop -IL_0128: nop -IL_0129: br IL_001a -IL_012e: leave.s IL_014a -} // end .try -catch [System.Runtime]System.Exception -{ -IL_0130: stloc.s V_7 -IL_0132: ldarg.0 -IL_0133: ldc.i4.s -2 -IL_0135: stfld int32 Issue1/'d__0'::'<>1__state' -IL_013a: ldarg.0 -IL_013b: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Issue1/'d__0'::'<>t__builder' -IL_0140: ldloc.s V_7 -IL_0142: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetException(class [System.Runtime]System.Exception) -IL_0147: nop -IL_0148: leave.s IL_015e -} // end handler -IL_014a: ldarg.0 -IL_014b: ldc.i4.s -2 -IL_014d: stfld int32 Issue1/'d__0'::'<>1__state' -IL_0152: ldarg.0 -IL_0153: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Issue1/'d__0'::'<>t__builder' -IL_0158: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetResult() -IL_015d: nop -IL_015e: ret -} -.method private hidebysig newslot virtual final -instance void SetStateMachine(class [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed -{ -.param [1] -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 01 00 00 ) -.override [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine -.maxstack 8 -IL_0000: ret -} -} -.method private hidebysig instance class [System.Runtime]System.Threading.Tasks.Task -WithReaderAndWriter(class [System.Runtime]System.IO.TextWriter writer, -class [System.Runtime]System.IO.StreamReader reader) cil managed -{ -.custom instance void System.Runtime.CompilerServices.NullableContextAttribute::.ctor(uint8) = ( 01 00 01 00 00 ) -65 61 64 65 72 41 6E 64 57 72 69 74 65 72 3E 64 // eaderAndWriter>d -5F 5F 30 00 00 ) // __0.. -.maxstack 2 -.locals init (class Issue1/'d__0' V_0) -IL_0000: newobj instance void Issue1/'d__0'::.ctor() -IL_0005: stloc.0 -IL_0006: ldloc.0 -IL_0007: call valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Create() -IL_000c: stfld valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Issue1/'d__0'::'<>t__builder' -IL_0011: ldloc.0 -IL_0012: ldarg.0 -IL_0013: stfld class Issue1 Issue1/'d__0'::'<>4__this' -IL_0018: ldloc.0 -IL_0019: ldarg.1 -IL_001a: stfld class [System.Runtime]System.IO.TextWriter Issue1/'d__0'::writer -IL_001f: ldloc.0 -IL_0020: ldarg.2 -IL_0021: stfld class [System.Runtime]System.IO.StreamReader Issue1/'d__0'::reader -IL_0026: ldloc.0 -IL_0027: ldc.i4.m1 -IL_0028: stfld int32 Issue1/'d__0'::'<>1__state' -IL_002d: ldloc.0 -IL_002e: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Issue1/'d__0'::'<>t__builder' -IL_0033: ldloca.s V_0 -IL_0035: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Startd__0'>(!!0&) -IL_003a: ldloc.0 -IL_003b: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Issue1/'d__0'::'<>t__builder' -IL_0040: call instance class [System.Runtime]System.Threading.Tasks.Task [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::get_Task() -IL_0045: ret -} -.method public hidebysig specialname rtspecialname -instance void .ctor() cil managed -{ -.maxstack 8 -IL_0000: ldarg.0 -IL_0001: call instance void [System.Runtime]System.Object::.ctor() -IL_0006: nop -IL_0007: ret -} -} diff --git a/Tests/ModuleWeaverTests.DecompileIssue1.DotNet.Release.verified.txt b/Tests/ModuleWeaverTests.DecompileIssue1.DotNet.Release.verified.txt deleted file mode 100644 index b3c4576..0000000 --- a/Tests/ModuleWeaverTests.DecompileIssue1.DotNet.Release.verified.txt +++ /dev/null @@ -1,196 +0,0 @@ -.class private auto ansi beforefieldinit Issue1 -extends [System.Runtime]System.Object -{ -.class auto ansi sealed nested private beforefieldinit 'd__0' -extends [System.Runtime]System.ValueType -implements [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine -{ -.field public int32 '<>1__state' -.field public valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder '<>t__builder' -.field public class [System.Runtime]System.IO.TextWriter writer -.field public class [System.Runtime]System.IO.StreamReader reader -.field private valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter '<>u__1' -.field private valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter '<>u__2' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8[]) = ( 01 00 02 00 00 00 00 02 00 00 ) -.method private hidebysig newslot virtual final -instance void MoveNext() cil managed -{ -.override [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext -.maxstack 3 -.locals init (int32 V_0, -string V_1, -valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter V_2, -valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable V_3, -valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1 V_4, -valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter V_5, -class [System.Runtime]System.Exception V_6) -IL_0000: ldarg.0 -IL_0001: ldfld int32 Issue1/'d__0'::'<>1__state' -IL_0006: stloc.0 -.try -{ -IL_0007: ldloc.0 -IL_0008: brfalse.s IL_005a -IL_000a: ldloc.0 -IL_000b: ldc.i4.1 -IL_000c: beq IL_00c3 -IL_0011: br.s IL_007d -IL_0013: ldarg.0 -IL_0014: ldfld class [System.Runtime]System.IO.TextWriter Issue1/'d__0'::writer -IL_0019: ldloc.1 -IL_001a: callvirt instance class [System.Runtime]System.Threading.Tasks.Task [System.Runtime]System.IO.TextWriter::WriteLineAsync(string) -IL_001f: ldc.i4.0 -IL_0020: callvirt instance valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable [System.Private.CoreLib]System.Threading.Tasks.Task::ConfigureAwait(bool) -IL_0025: stloc.3 -IL_0026: ldloca.s V_3 -IL_0028: call instance valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable::GetAwaiter() -IL_002d: stloc.2 -IL_002e: ldloca.s V_2 -IL_0030: call instance bool [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter::get_IsCompleted() -IL_0035: brtrue.s IL_0076 -IL_0037: ldarg.0 -IL_0038: ldc.i4.0 -IL_0039: dup -IL_003a: stloc.0 -IL_003b: stfld int32 Issue1/'d__0'::'<>1__state' -IL_0040: ldarg.0 -IL_0041: ldloc.2 -IL_0042: stfld valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter Issue1/'d__0'::'<>u__1' -IL_0047: ldarg.0 -IL_0048: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Issue1/'d__0'::'<>t__builder' -IL_004d: ldloca.s V_2 -IL_004f: ldarg.0 -IL_0050: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::AwaitUnsafeOnCompletedd__0'>(!!0&, -!!1&) -IL_0055: leave IL_011c -IL_005a: ldarg.0 -IL_005b: ldfld valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter Issue1/'d__0'::'<>u__1' -IL_0060: stloc.2 -IL_0061: ldarg.0 -IL_0062: ldflda valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter Issue1/'d__0'::'<>u__1' -IL_0067: initobj [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter -IL_006d: ldarg.0 -IL_006e: ldc.i4.m1 -IL_006f: dup -IL_0070: stloc.0 -IL_0071: stfld int32 Issue1/'d__0'::'<>1__state' -IL_0076: ldloca.s V_2 -IL_0078: call instance void [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter::GetResult() -IL_007d: ldarg.0 -IL_007e: ldfld class [System.Runtime]System.IO.StreamReader Issue1/'d__0'::reader -IL_0083: callvirt instance class [System.Runtime]System.Threading.Tasks.Task`1 [System.Runtime]System.IO.TextReader::ReadLineAsync() -IL_0088: ldc.i4.0 -IL_0089: callvirt instance valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1 class [System.Private.CoreLib]System.Threading.Tasks.Task`1::ConfigureAwait(bool) -IL_008e: stloc.s V_4 -IL_0090: ldloca.s V_4 -IL_0092: call instance valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1::GetAwaiter() -IL_0097: stloc.s V_5 -IL_0099: ldloca.s V_5 -IL_009b: call instance bool valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter::get_IsCompleted() -IL_00a0: brtrue.s IL_00e0 -IL_00a2: ldarg.0 -IL_00a3: ldc.i4.1 -IL_00a4: dup -IL_00a5: stloc.0 -IL_00a6: stfld int32 Issue1/'d__0'::'<>1__state' -IL_00ab: ldarg.0 -IL_00ac: ldloc.s V_5 -IL_00ae: stfld valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter Issue1/'d__0'::'<>u__2' -IL_00b3: ldarg.0 -IL_00b4: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Issue1/'d__0'::'<>t__builder' -IL_00b9: ldloca.s V_5 -IL_00bb: ldarg.0 -IL_00bc: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::AwaitUnsafeOnCompleted,valuetype Issue1/'d__0'>(!!0&, -!!1&) -IL_00c1: leave.s IL_011c -IL_00c3: ldarg.0 -IL_00c4: ldfld valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter Issue1/'d__0'::'<>u__2' -IL_00c9: stloc.s V_5 -IL_00cb: ldarg.0 -IL_00cc: ldflda valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter Issue1/'d__0'::'<>u__2' -IL_00d1: initobj valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter -IL_00d7: ldarg.0 -IL_00d8: ldc.i4.m1 -IL_00d9: dup -IL_00da: stloc.0 -IL_00db: stfld int32 Issue1/'d__0'::'<>1__state' -IL_00e0: ldloca.s V_5 -IL_00e2: call instance !0 valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter::GetResult() -IL_00e7: dup -IL_00e8: stloc.1 -IL_00e9: brtrue IL_0013 -IL_00ee: leave.s IL_0109 -} // end .try -catch [System.Runtime]System.Exception -{ -IL_00f0: stloc.s V_6 -IL_00f2: ldarg.0 -IL_00f3: ldc.i4.s -2 -IL_00f5: stfld int32 Issue1/'d__0'::'<>1__state' -IL_00fa: ldarg.0 -IL_00fb: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Issue1/'d__0'::'<>t__builder' -IL_0100: ldloc.s V_6 -IL_0102: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetException(class [System.Runtime]System.Exception) -IL_0107: leave.s IL_011c -} // end handler -IL_0109: ldarg.0 -IL_010a: ldc.i4.s -2 -IL_010c: stfld int32 Issue1/'d__0'::'<>1__state' -IL_0111: ldarg.0 -IL_0112: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Issue1/'d__0'::'<>t__builder' -IL_0117: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetResult() -IL_011c: ret -} -.method private hidebysig newslot virtual final -instance void SetStateMachine(class [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed -{ -.param [1] -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 01 00 00 ) -.override [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine -.maxstack 8 -IL_0000: ldarg.0 -IL_0001: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Issue1/'d__0'::'<>t__builder' -IL_0006: ldarg.1 -IL_0007: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetStateMachine(class [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine) -IL_000c: ret -} -} -.method private hidebysig instance class [System.Runtime]System.Threading.Tasks.Task -WithReaderAndWriter(class [System.Runtime]System.IO.TextWriter writer, -class [System.Runtime]System.IO.StreamReader reader) cil managed -{ -.custom instance void System.Runtime.CompilerServices.NullableContextAttribute::.ctor(uint8) = ( 01 00 01 00 00 ) -65 61 64 65 72 41 6E 64 57 72 69 74 65 72 3E 64 // eaderAndWriter>d -5F 5F 30 00 00 ) // __0.. -.maxstack 2 -.locals init (valuetype Issue1/'d__0' V_0) -IL_0000: ldloca.s V_0 -IL_0002: call valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Create() -IL_0007: stfld valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Issue1/'d__0'::'<>t__builder' -IL_000c: ldloca.s V_0 -IL_000e: ldarg.1 -IL_000f: stfld class [System.Runtime]System.IO.TextWriter Issue1/'d__0'::writer -IL_0014: ldloca.s V_0 -IL_0016: ldarg.2 -IL_0017: stfld class [System.Runtime]System.IO.StreamReader Issue1/'d__0'::reader -IL_001c: ldloca.s V_0 -IL_001e: ldc.i4.m1 -IL_001f: stfld int32 Issue1/'d__0'::'<>1__state' -IL_0024: ldloca.s V_0 -IL_0026: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Issue1/'d__0'::'<>t__builder' -IL_002b: ldloca.s V_0 -IL_002d: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Startd__0'>(!!0&) -IL_0032: ldloca.s V_0 -IL_0034: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Issue1/'d__0'::'<>t__builder' -IL_0039: call instance class [System.Runtime]System.Threading.Tasks.Task [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::get_Task() -IL_003e: ret -} -.method public hidebysig specialname rtspecialname -instance void .ctor() cil managed -{ -.maxstack 8 -IL_0000: ldarg.0 -IL_0001: call instance void [System.Runtime]System.Object::.ctor() -IL_0006: ret -} -} diff --git a/Tests/ModuleWeaverTests.DecompileIssue1.Net.Debug.verified.txt b/Tests/ModuleWeaverTests.DecompileIssue1.Net.Debug.verified.txt deleted file mode 100644 index b8c0f49..0000000 --- a/Tests/ModuleWeaverTests.DecompileIssue1.Net.Debug.verified.txt +++ /dev/null @@ -1,238 +0,0 @@ -.class private auto ansi beforefieldinit Issue1 -extends [mscorlib]System.Object -{ -.class auto ansi sealed nested private beforefieldinit 'd__0' -extends [mscorlib]System.Object -implements [mscorlib]System.Runtime.CompilerServices.IAsyncStateMachine -{ -.field public int32 '<>1__state' -.field public valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder '<>t__builder' -.field public class [mscorlib]System.IO.TextWriter writer -.field public class [mscorlib]System.IO.StreamReader reader -.field public class Issue1 '<>4__this' -.field private string '5__1' -.field private string '<>s__2' -.field private valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter '<>u__1' -.field private valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter '<>u__2' -.method public hidebysig specialname rtspecialname -instance void .ctor() cil managed -{ -.maxstack 8 -IL_0000: ldarg.0 -IL_0001: call instance void [mscorlib]System.Object::.ctor() -IL_0006: nop -IL_0007: ret -} -.method private hidebysig newslot virtual final -instance void MoveNext() cil managed -{ -.override [mscorlib]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext -.maxstack 3 -.locals init (int32 V_0, -bool V_1, -valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter V_2, -valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1 V_3, -class Issue1/'d__0' V_4, -valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable V_5, -valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter V_6, -class [mscorlib]System.Exception V_7) -IL_0000: ldarg.0 -IL_0001: ldfld int32 Issue1/'d__0'::'<>1__state' -IL_0006: stloc.0 -.try -{ -IL_0007: ldloc.0 -IL_0008: brfalse.s IL_0012 -IL_000a: br.s IL_000c -IL_000c: ldloc.0 -IL_000d: ldc.i4.1 -IL_000e: beq.s IL_0014 -IL_0010: br.s IL_0019 -IL_0012: br.s IL_0065 -IL_0014: br IL_0103 -IL_0019: nop -IL_001a: ldarg.0 -IL_001b: ldfld class [mscorlib]System.IO.StreamReader Issue1/'d__0'::reader -IL_0020: callvirt instance class [mscorlib]System.Threading.Tasks.Task`1 [mscorlib]System.IO.TextReader::ReadLineAsync() -IL_0025: ldc.i4.0 -IL_0026: callvirt instance valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1 class [mscorlib]System.Threading.Tasks.Task`1::ConfigureAwait(bool) -IL_002b: stloc.3 -IL_002c: ldloca.s V_3 -IL_002e: call instance valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1::GetAwaiter() -IL_0033: stloc.2 -IL_0034: ldloca.s V_2 -IL_0036: call instance bool valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter::get_IsCompleted() -IL_003b: brtrue.s IL_0081 -IL_003d: ldarg.0 -IL_003e: ldc.i4.0 -IL_003f: dup -IL_0040: stloc.0 -IL_0041: stfld int32 Issue1/'d__0'::'<>1__state' -IL_0046: ldarg.0 -IL_0047: ldloc.2 -IL_0048: stfld valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter Issue1/'d__0'::'<>u__1' -IL_004d: ldarg.0 -IL_004e: stloc.s V_4 -IL_0050: ldarg.0 -IL_0051: ldflda valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Issue1/'d__0'::'<>t__builder' -IL_0056: ldloca.s V_2 -IL_0058: ldloca.s V_4 -IL_005a: call instance void [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::AwaitUnsafeOnCompleted,class Issue1/'d__0'>(!!0&, -!!1&) -IL_005f: nop -IL_0060: leave IL_015e -IL_0065: ldarg.0 -IL_0066: ldfld valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter Issue1/'d__0'::'<>u__1' -IL_006b: stloc.2 -IL_006c: ldarg.0 -IL_006d: ldflda valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter Issue1/'d__0'::'<>u__1' -IL_0072: initobj valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter -IL_0078: ldarg.0 -IL_0079: ldc.i4.m1 -IL_007a: dup -IL_007b: stloc.0 -IL_007c: stfld int32 Issue1/'d__0'::'<>1__state' -IL_0081: ldarg.0 -IL_0082: ldloca.s V_2 -IL_0084: call instance !0 valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter::GetResult() -IL_0089: stfld string Issue1/'d__0'::'<>s__2' -IL_008e: ldarg.0 -IL_008f: ldarg.0 -IL_0090: ldfld string Issue1/'d__0'::'<>s__2' -IL_0095: stfld string Issue1/'d__0'::'5__1' -IL_009a: ldarg.0 -IL_009b: ldfld string Issue1/'d__0'::'5__1' -IL_00a0: ldnull -IL_00a1: cgt.un -IL_00a3: stloc.1 -IL_00a4: ldloc.1 -IL_00a5: brfalse IL_012e -IL_00aa: ldarg.0 -IL_00ab: ldnull -IL_00ac: stfld string Issue1/'d__0'::'<>s__2' -IL_00b1: nop -IL_00b2: ldarg.0 -IL_00b3: ldfld class [mscorlib]System.IO.TextWriter Issue1/'d__0'::writer -IL_00b8: ldarg.0 -IL_00b9: ldfld string Issue1/'d__0'::'5__1' -IL_00be: callvirt instance class [mscorlib]System.Threading.Tasks.Task [mscorlib]System.IO.TextWriter::WriteLineAsync(string) -IL_00c3: ldc.i4.0 -IL_00c4: callvirt instance valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable [mscorlib]System.Threading.Tasks.Task::ConfigureAwait(bool) -IL_00c9: stloc.s V_5 -IL_00cb: ldloca.s V_5 -IL_00cd: call instance valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable::GetAwaiter() -IL_00d2: stloc.s V_6 -IL_00d4: ldloca.s V_6 -IL_00d6: call instance bool [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter::get_IsCompleted() -IL_00db: brtrue.s IL_0120 -IL_00dd: ldarg.0 -IL_00de: ldc.i4.1 -IL_00df: dup -IL_00e0: stloc.0 -IL_00e1: stfld int32 Issue1/'d__0'::'<>1__state' -IL_00e6: ldarg.0 -IL_00e7: ldloc.s V_6 -IL_00e9: stfld valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter Issue1/'d__0'::'<>u__2' -IL_00ee: ldarg.0 -IL_00ef: stloc.s V_4 -IL_00f1: ldarg.0 -IL_00f2: ldflda valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Issue1/'d__0'::'<>t__builder' -IL_00f7: ldloca.s V_6 -IL_00f9: ldloca.s V_4 -IL_00fb: call instance void [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::AwaitUnsafeOnCompletedd__0'>(!!0&, -!!1&) -IL_0100: nop -IL_0101: leave.s IL_015e -IL_0103: ldarg.0 -IL_0104: ldfld valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter Issue1/'d__0'::'<>u__2' -IL_0109: stloc.s V_6 -IL_010b: ldarg.0 -IL_010c: ldflda valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter Issue1/'d__0'::'<>u__2' -IL_0111: initobj [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter -IL_0117: ldarg.0 -IL_0118: ldc.i4.m1 -IL_0119: dup -IL_011a: stloc.0 -IL_011b: stfld int32 Issue1/'d__0'::'<>1__state' -IL_0120: ldloca.s V_6 -IL_0122: call instance void [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter::GetResult() -IL_0127: nop -IL_0128: nop -IL_0129: br IL_001a -IL_012e: leave.s IL_014a -} // end .try -catch [mscorlib]System.Exception -{ -IL_0130: stloc.s V_7 -IL_0132: ldarg.0 -IL_0133: ldc.i4.s -2 -IL_0135: stfld int32 Issue1/'d__0'::'<>1__state' -IL_013a: ldarg.0 -IL_013b: ldflda valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Issue1/'d__0'::'<>t__builder' -IL_0140: ldloc.s V_7 -IL_0142: call instance void [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetException(class [mscorlib]System.Exception) -IL_0147: nop -IL_0148: leave.s IL_015e -} // end handler -IL_014a: ldarg.0 -IL_014b: ldc.i4.s -2 -IL_014d: stfld int32 Issue1/'d__0'::'<>1__state' -IL_0152: ldarg.0 -IL_0153: ldflda valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Issue1/'d__0'::'<>t__builder' -IL_0158: call instance void [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetResult() -IL_015d: nop -IL_015e: ret -} -.method private hidebysig newslot virtual final -instance void SetStateMachine(class [mscorlib]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed -{ -.override [mscorlib]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine -.maxstack 8 -IL_0000: ret -} -} -.method private hidebysig instance class [mscorlib]System.Threading.Tasks.Task -WithReaderAndWriter(class [mscorlib]System.IO.TextWriter writer, -class [mscorlib]System.IO.StreamReader reader) cil managed -{ -.custom instance void System.Runtime.CompilerServices.NullableContextAttribute::.ctor(uint8) = ( 01 00 01 00 00 ) -65 61 64 65 72 41 6E 64 57 72 69 74 65 72 3E 64 // eaderAndWriter>d -5F 5F 30 00 00 ) // __0.. -.maxstack 2 -.locals init (class Issue1/'d__0' V_0) -IL_0000: newobj instance void Issue1/'d__0'::.ctor() -IL_0005: stloc.0 -IL_0006: ldloc.0 -IL_0007: call valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Create() -IL_000c: stfld valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Issue1/'d__0'::'<>t__builder' -IL_0011: ldloc.0 -IL_0012: ldarg.0 -IL_0013: stfld class Issue1 Issue1/'d__0'::'<>4__this' -IL_0018: ldloc.0 -IL_0019: ldarg.1 -IL_001a: stfld class [mscorlib]System.IO.TextWriter Issue1/'d__0'::writer -IL_001f: ldloc.0 -IL_0020: ldarg.2 -IL_0021: stfld class [mscorlib]System.IO.StreamReader Issue1/'d__0'::reader -IL_0026: ldloc.0 -IL_0027: ldc.i4.m1 -IL_0028: stfld int32 Issue1/'d__0'::'<>1__state' -IL_002d: ldloc.0 -IL_002e: ldflda valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Issue1/'d__0'::'<>t__builder' -IL_0033: ldloca.s V_0 -IL_0035: call instance void [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Startd__0'>(!!0&) -IL_003a: ldloc.0 -IL_003b: ldflda valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Issue1/'d__0'::'<>t__builder' -IL_0040: call instance class [mscorlib]System.Threading.Tasks.Task [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::get_Task() -IL_0045: ret -} -.method public hidebysig specialname rtspecialname -instance void .ctor() cil managed -{ -.maxstack 8 -IL_0000: ldarg.0 -IL_0001: call instance void [mscorlib]System.Object::.ctor() -IL_0006: nop -IL_0007: ret -} -} diff --git a/Tests/ModuleWeaverTests.DecompileIssue1.Net.Release.verified.txt b/Tests/ModuleWeaverTests.DecompileIssue1.Net.Release.verified.txt deleted file mode 100644 index a1c674c..0000000 --- a/Tests/ModuleWeaverTests.DecompileIssue1.Net.Release.verified.txt +++ /dev/null @@ -1,193 +0,0 @@ -.class private auto ansi beforefieldinit Issue1 -extends [mscorlib]System.Object -{ -.class auto ansi sealed nested private beforefieldinit 'd__0' -extends [mscorlib]System.ValueType -implements [mscorlib]System.Runtime.CompilerServices.IAsyncStateMachine -{ -.field public int32 '<>1__state' -.field public valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder '<>t__builder' -.field public class [mscorlib]System.IO.TextWriter writer -.field public class [mscorlib]System.IO.StreamReader reader -.field private valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter '<>u__1' -.field private valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter '<>u__2' -.method private hidebysig newslot virtual final -instance void MoveNext() cil managed -{ -.override [mscorlib]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext -.maxstack 3 -.locals init (int32 V_0, -string V_1, -valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter V_2, -valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable V_3, -valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1 V_4, -valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter V_5, -class [mscorlib]System.Exception V_6) -IL_0000: ldarg.0 -IL_0001: ldfld int32 Issue1/'d__0'::'<>1__state' -IL_0006: stloc.0 -.try -{ -IL_0007: ldloc.0 -IL_0008: brfalse.s IL_005a -IL_000a: ldloc.0 -IL_000b: ldc.i4.1 -IL_000c: beq IL_00c3 -IL_0011: br.s IL_007d -IL_0013: ldarg.0 -IL_0014: ldfld class [mscorlib]System.IO.TextWriter Issue1/'d__0'::writer -IL_0019: ldloc.1 -IL_001a: callvirt instance class [mscorlib]System.Threading.Tasks.Task [mscorlib]System.IO.TextWriter::WriteLineAsync(string) -IL_001f: ldc.i4.0 -IL_0020: callvirt instance valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable [mscorlib]System.Threading.Tasks.Task::ConfigureAwait(bool) -IL_0025: stloc.3 -IL_0026: ldloca.s V_3 -IL_0028: call instance valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable::GetAwaiter() -IL_002d: stloc.2 -IL_002e: ldloca.s V_2 -IL_0030: call instance bool [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter::get_IsCompleted() -IL_0035: brtrue.s IL_0076 -IL_0037: ldarg.0 -IL_0038: ldc.i4.0 -IL_0039: dup -IL_003a: stloc.0 -IL_003b: stfld int32 Issue1/'d__0'::'<>1__state' -IL_0040: ldarg.0 -IL_0041: ldloc.2 -IL_0042: stfld valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter Issue1/'d__0'::'<>u__1' -IL_0047: ldarg.0 -IL_0048: ldflda valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Issue1/'d__0'::'<>t__builder' -IL_004d: ldloca.s V_2 -IL_004f: ldarg.0 -IL_0050: call instance void [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::AwaitUnsafeOnCompletedd__0'>(!!0&, -!!1&) -IL_0055: leave IL_011c -IL_005a: ldarg.0 -IL_005b: ldfld valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter Issue1/'d__0'::'<>u__1' -IL_0060: stloc.2 -IL_0061: ldarg.0 -IL_0062: ldflda valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter Issue1/'d__0'::'<>u__1' -IL_0067: initobj [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter -IL_006d: ldarg.0 -IL_006e: ldc.i4.m1 -IL_006f: dup -IL_0070: stloc.0 -IL_0071: stfld int32 Issue1/'d__0'::'<>1__state' -IL_0076: ldloca.s V_2 -IL_0078: call instance void [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter::GetResult() -IL_007d: ldarg.0 -IL_007e: ldfld class [mscorlib]System.IO.StreamReader Issue1/'d__0'::reader -IL_0083: callvirt instance class [mscorlib]System.Threading.Tasks.Task`1 [mscorlib]System.IO.TextReader::ReadLineAsync() -IL_0088: ldc.i4.0 -IL_0089: callvirt instance valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1 class [mscorlib]System.Threading.Tasks.Task`1::ConfigureAwait(bool) -IL_008e: stloc.s V_4 -IL_0090: ldloca.s V_4 -IL_0092: call instance valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1::GetAwaiter() -IL_0097: stloc.s V_5 -IL_0099: ldloca.s V_5 -IL_009b: call instance bool valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter::get_IsCompleted() -IL_00a0: brtrue.s IL_00e0 -IL_00a2: ldarg.0 -IL_00a3: ldc.i4.1 -IL_00a4: dup -IL_00a5: stloc.0 -IL_00a6: stfld int32 Issue1/'d__0'::'<>1__state' -IL_00ab: ldarg.0 -IL_00ac: ldloc.s V_5 -IL_00ae: stfld valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter Issue1/'d__0'::'<>u__2' -IL_00b3: ldarg.0 -IL_00b4: ldflda valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Issue1/'d__0'::'<>t__builder' -IL_00b9: ldloca.s V_5 -IL_00bb: ldarg.0 -IL_00bc: call instance void [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::AwaitUnsafeOnCompleted,valuetype Issue1/'d__0'>(!!0&, -!!1&) -IL_00c1: leave.s IL_011c -IL_00c3: ldarg.0 -IL_00c4: ldfld valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter Issue1/'d__0'::'<>u__2' -IL_00c9: stloc.s V_5 -IL_00cb: ldarg.0 -IL_00cc: ldflda valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter Issue1/'d__0'::'<>u__2' -IL_00d1: initobj valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter -IL_00d7: ldarg.0 -IL_00d8: ldc.i4.m1 -IL_00d9: dup -IL_00da: stloc.0 -IL_00db: stfld int32 Issue1/'d__0'::'<>1__state' -IL_00e0: ldloca.s V_5 -IL_00e2: call instance !0 valuetype [mscorlib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter::GetResult() -IL_00e7: dup -IL_00e8: stloc.1 -IL_00e9: brtrue IL_0013 -IL_00ee: leave.s IL_0109 -} // end .try -catch [mscorlib]System.Exception -{ -IL_00f0: stloc.s V_6 -IL_00f2: ldarg.0 -IL_00f3: ldc.i4.s -2 -IL_00f5: stfld int32 Issue1/'d__0'::'<>1__state' -IL_00fa: ldarg.0 -IL_00fb: ldflda valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Issue1/'d__0'::'<>t__builder' -IL_0100: ldloc.s V_6 -IL_0102: call instance void [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetException(class [mscorlib]System.Exception) -IL_0107: leave.s IL_011c -} // end handler -IL_0109: ldarg.0 -IL_010a: ldc.i4.s -2 -IL_010c: stfld int32 Issue1/'d__0'::'<>1__state' -IL_0111: ldarg.0 -IL_0112: ldflda valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Issue1/'d__0'::'<>t__builder' -IL_0117: call instance void [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetResult() -IL_011c: ret -} -.method private hidebysig newslot virtual final -instance void SetStateMachine(class [mscorlib]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed -{ -.override [mscorlib]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine -.maxstack 8 -IL_0000: ldarg.0 -IL_0001: ldflda valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Issue1/'d__0'::'<>t__builder' -IL_0006: ldarg.1 -IL_0007: call instance void [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetStateMachine(class [mscorlib]System.Runtime.CompilerServices.IAsyncStateMachine) -IL_000c: ret -} -} -.method private hidebysig instance class [mscorlib]System.Threading.Tasks.Task -WithReaderAndWriter(class [mscorlib]System.IO.TextWriter writer, -class [mscorlib]System.IO.StreamReader reader) cil managed -{ -.custom instance void System.Runtime.CompilerServices.NullableContextAttribute::.ctor(uint8) = ( 01 00 01 00 00 ) -65 61 64 65 72 41 6E 64 57 72 69 74 65 72 3E 64 // eaderAndWriter>d -5F 5F 30 00 00 ) // __0.. -.maxstack 2 -.locals init (valuetype Issue1/'d__0' V_0) -IL_0000: ldloca.s V_0 -IL_0002: call valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Create() -IL_0007: stfld valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Issue1/'d__0'::'<>t__builder' -IL_000c: ldloca.s V_0 -IL_000e: ldarg.1 -IL_000f: stfld class [mscorlib]System.IO.TextWriter Issue1/'d__0'::writer -IL_0014: ldloca.s V_0 -IL_0016: ldarg.2 -IL_0017: stfld class [mscorlib]System.IO.StreamReader Issue1/'d__0'::reader -IL_001c: ldloca.s V_0 -IL_001e: ldc.i4.m1 -IL_001f: stfld int32 Issue1/'d__0'::'<>1__state' -IL_0024: ldloca.s V_0 -IL_0026: ldflda valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Issue1/'d__0'::'<>t__builder' -IL_002b: ldloca.s V_0 -IL_002d: call instance void [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Startd__0'>(!!0&) -IL_0032: ldloca.s V_0 -IL_0034: ldflda valuetype [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Issue1/'d__0'::'<>t__builder' -IL_0039: call instance class [mscorlib]System.Threading.Tasks.Task [mscorlib]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::get_Task() -IL_003e: ret -} -.method public hidebysig specialname rtspecialname -instance void .ctor() cil managed -{ -.maxstack 8 -IL_0000: ldarg.0 -IL_0001: call instance void [mscorlib]System.Object::.ctor() -IL_0006: ret -} -} diff --git a/Tests/ModuleWeaverTests.DecompileIssue1.Release.DotNet.verified.txt b/Tests/ModuleWeaverTests.DecompileIssue1.Release.DotNet.verified.txt deleted file mode 100644 index 132d440..0000000 --- a/Tests/ModuleWeaverTests.DecompileIssue1.Release.DotNet.verified.txt +++ /dev/null @@ -1,196 +0,0 @@ -.class private auto ansi beforefieldinit Issue1 -extends [System.Runtime]System.Object -{ -.class auto ansi sealed nested private beforefieldinit 'd__0' -extends [System.Runtime]System.ValueType -implements [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine -{ -.field public int32 '<>1__state' -.field public valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder '<>t__builder' -.field public class [System.Runtime]System.IO.StreamReader reader -.field public class [System.Runtime]System.IO.TextWriter writer -.field private valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter '<>u__1' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8[]) = ( 01 00 02 00 00 00 00 02 00 00 ) -.field private valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter '<>u__2' -.method private hidebysig newslot virtual final -instance void MoveNext() cil managed -{ -.override [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext -.maxstack 3 -.locals init (int32 V_0, -string V_1, -valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter V_2, -valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1 V_3, -valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable V_4, -valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter V_5, -class [System.Runtime]System.Exception V_6) -IL_0000: ldarg.0 -IL_0001: ldfld int32 Issue1/'d__0'::'<>1__state' -IL_0006: stloc.0 -.try -{ -IL_0007: ldloc.0 -IL_0008: brfalse.s IL_0057 -IL_000a: ldloc.0 -IL_000b: ldc.i4.1 -IL_000c: beq IL_00c5 -IL_0011: ldarg.0 -IL_0012: ldfld class [System.Runtime]System.IO.StreamReader Issue1/'d__0'::reader -IL_0017: callvirt instance class [System.Runtime]System.Threading.Tasks.Task`1 [System.Runtime]System.IO.TextReader::ReadLineAsync() -IL_001c: ldc.i4.0 -IL_001d: callvirt instance valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1 class [System.Private.CoreLib]System.Threading.Tasks.Task`1::ConfigureAwait(bool) -IL_0022: stloc.3 -IL_0023: ldloca.s V_3 -IL_0025: call instance valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1::GetAwaiter() -IL_002a: stloc.2 -IL_002b: ldloca.s V_2 -IL_002d: call instance bool valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter::get_IsCompleted() -IL_0032: brtrue.s IL_0073 -IL_0034: ldarg.0 -IL_0035: ldc.i4.0 -IL_0036: dup -IL_0037: stloc.0 -IL_0038: stfld int32 Issue1/'d__0'::'<>1__state' -IL_003d: ldarg.0 -IL_003e: ldloc.2 -IL_003f: stfld valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter Issue1/'d__0'::'<>u__1' -IL_0044: ldarg.0 -IL_0045: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Issue1/'d__0'::'<>t__builder' -IL_004a: ldloca.s V_2 -IL_004c: ldarg.0 -IL_004d: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::AwaitUnsafeOnCompleted,valuetype Issue1/'d__0'>(!!0&, -!!1&) -IL_0052: leave IL_011c -IL_0057: ldarg.0 -IL_0058: ldfld valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter Issue1/'d__0'::'<>u__1' -IL_005d: stloc.2 -IL_005e: ldarg.0 -IL_005f: ldflda valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter Issue1/'d__0'::'<>u__1' -IL_0064: initobj valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter -IL_006a: ldarg.0 -IL_006b: ldc.i4.m1 -IL_006c: dup -IL_006d: stloc.0 -IL_006e: stfld int32 Issue1/'d__0'::'<>1__state' -IL_0073: ldloca.s V_2 -IL_0075: call instance !0 valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter::GetResult() -IL_007a: stloc.1 -IL_007b: ldloc.1 -IL_007c: brfalse.s IL_00ee -IL_007e: ldarg.0 -IL_007f: ldfld class [System.Runtime]System.IO.TextWriter Issue1/'d__0'::writer -IL_0084: ldloc.1 -IL_0085: callvirt instance class [System.Runtime]System.Threading.Tasks.Task [System.Runtime]System.IO.TextWriter::WriteLineAsync(string) -IL_008a: ldc.i4.0 -IL_008b: callvirt instance valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable [System.Private.CoreLib]System.Threading.Tasks.Task::ConfigureAwait(bool) -IL_0090: stloc.s V_4 -IL_0092: ldloca.s V_4 -IL_0094: call instance valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable::GetAwaiter() -IL_0099: stloc.s V_5 -IL_009b: ldloca.s V_5 -IL_009d: call instance bool [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter::get_IsCompleted() -IL_00a2: brtrue.s IL_00e2 -IL_00a4: ldarg.0 -IL_00a5: ldc.i4.1 -IL_00a6: dup -IL_00a7: stloc.0 -IL_00a8: stfld int32 Issue1/'d__0'::'<>1__state' -IL_00ad: ldarg.0 -IL_00ae: ldloc.s V_5 -IL_00b0: stfld valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter Issue1/'d__0'::'<>u__2' -IL_00b5: ldarg.0 -IL_00b6: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Issue1/'d__0'::'<>t__builder' -IL_00bb: ldloca.s V_5 -IL_00bd: ldarg.0 -IL_00be: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::AwaitUnsafeOnCompletedd__0'>(!!0&, -!!1&) -IL_00c3: leave.s IL_011c -IL_00c5: ldarg.0 -IL_00c6: ldfld valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter Issue1/'d__0'::'<>u__2' -IL_00cb: stloc.s V_5 -IL_00cd: ldarg.0 -IL_00ce: ldflda valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter Issue1/'d__0'::'<>u__2' -IL_00d3: initobj [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter -IL_00d9: ldarg.0 -IL_00da: ldc.i4.m1 -IL_00db: dup -IL_00dc: stloc.0 -IL_00dd: stfld int32 Issue1/'d__0'::'<>1__state' -IL_00e2: ldloca.s V_5 -IL_00e4: call instance void [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter::GetResult() -IL_00e9: br IL_0011 -IL_00ee: leave.s IL_0109 -} // end .try -catch [System.Runtime]System.Exception -{ -IL_00f0: stloc.s V_6 -IL_00f2: ldarg.0 -IL_00f3: ldc.i4.s -2 -IL_00f5: stfld int32 Issue1/'d__0'::'<>1__state' -IL_00fa: ldarg.0 -IL_00fb: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Issue1/'d__0'::'<>t__builder' -IL_0100: ldloc.s V_6 -IL_0102: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetException(class [System.Runtime]System.Exception) -IL_0107: leave.s IL_011c -} // end handler -IL_0109: ldarg.0 -IL_010a: ldc.i4.s -2 -IL_010c: stfld int32 Issue1/'d__0'::'<>1__state' -IL_0111: ldarg.0 -IL_0112: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Issue1/'d__0'::'<>t__builder' -IL_0117: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetResult() -IL_011c: ret -} -.method private hidebysig newslot virtual final -instance void SetStateMachine(class [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed -{ -.param [1] -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 01 00 00 ) -.override [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine -.maxstack 8 -IL_0000: ldarg.0 -IL_0001: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Issue1/'d__0'::'<>t__builder' -IL_0006: ldarg.1 -IL_0007: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetStateMachine(class [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine) -IL_000c: ret -} -} -.method private hidebysig instance class [System.Runtime]System.Threading.Tasks.Task -WithReaderAndWriter(class [System.Runtime]System.IO.TextWriter writer, -class [System.Runtime]System.IO.StreamReader reader) cil managed -{ -.custom instance void System.Runtime.CompilerServices.NullableContextAttribute::.ctor(uint8) = ( 01 00 01 00 00 ) -65 61 64 65 72 41 6E 64 57 72 69 74 65 72 3E 64 // eaderAndWriter>d -5F 5F 30 00 00 ) // __0.. -.maxstack 2 -.locals init (valuetype Issue1/'d__0' V_0) -IL_0000: ldloca.s V_0 -IL_0002: call valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Create() -IL_0007: stfld valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Issue1/'d__0'::'<>t__builder' -IL_000c: ldloca.s V_0 -IL_000e: ldarg.1 -IL_000f: stfld class [System.Runtime]System.IO.TextWriter Issue1/'d__0'::writer -IL_0014: ldloca.s V_0 -IL_0016: ldarg.2 -IL_0017: stfld class [System.Runtime]System.IO.StreamReader Issue1/'d__0'::reader -IL_001c: ldloca.s V_0 -IL_001e: ldc.i4.m1 -IL_001f: stfld int32 Issue1/'d__0'::'<>1__state' -IL_0024: ldloca.s V_0 -IL_0026: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Issue1/'d__0'::'<>t__builder' -IL_002b: ldloca.s V_0 -IL_002d: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Startd__0'>(!!0&) -IL_0032: ldloca.s V_0 -IL_0034: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Issue1/'d__0'::'<>t__builder' -IL_0039: call instance class [System.Runtime]System.Threading.Tasks.Task [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::get_Task() -IL_003e: ret -} -.method public hidebysig specialname rtspecialname -instance void .ctor() cil managed -{ -.maxstack 8 -IL_0000: ldarg.0 -IL_0001: call instance void [System.Runtime]System.Object::.ctor() -IL_0006: ret -} -} diff --git a/Tests/ModuleWeaverTests.DecompileIssue1.Release.Core.verified.txt b/Tests/ModuleWeaverTests.DecompileIssue1.Release.DotNet10_0.verified.txt similarity index 57% rename from Tests/ModuleWeaverTests.DecompileIssue1.Release.Core.verified.txt rename to Tests/ModuleWeaverTests.DecompileIssue1.Release.DotNet10_0.verified.txt index 79f60c2..9a0debb 100644 --- a/Tests/ModuleWeaverTests.DecompileIssue1.Release.Core.verified.txt +++ b/Tests/ModuleWeaverTests.DecompileIssue1.Release.DotNet10_0.verified.txt @@ -1,27 +1,21 @@ .class private auto ansi beforefieldinit Issue1 extends [System.Runtime]System.Object { -.custom instance void System.Runtime.CompilerServices.NullableContextAttribute::.ctor(uint8) = ( 01 00 01 00 00 ) -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) .class auto ansi sealed nested private beforefieldinit 'd__0' extends [System.Runtime]System.ValueType -implements [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine +implements [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine { -.interfaceimpl type [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) +.interfaceimpl type [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine .field public int32 '<>1__state' -.field public valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder '<>t__builder' -.field public class [System.Runtime.Extensions]System.IO.StreamReader reader -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field public class [System.Runtime.Extensions]System.IO.TextWriter writer -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) +.field public valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder '<>t__builder' +.field public class [System.Runtime]System.IO.StreamReader reader +.field public class [System.Runtime]System.IO.TextWriter writer .field private valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter '<>u__1' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) .field private valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter '<>u__2' .method private hidebysig newslot virtual final instance void MoveNext() cil managed { -.override [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext +.override [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext .maxstack 3 .locals init (int32 V_0, string V_1, @@ -41,8 +35,8 @@ IL_000a: ldloc.0 IL_000b: ldc.i4.1 IL_000c: beq IL_00c5 IL_0011: ldarg.0 -IL_0012: ldfld class [System.Runtime.Extensions]System.IO.StreamReader Issue1/'d__0'::reader -IL_0017: callvirt instance class [System.Runtime]System.Threading.Tasks.Task`1 [System.Runtime.Extensions]System.IO.TextReader::ReadLineAsync() +IL_0012: ldfld class [System.Runtime]System.IO.StreamReader Issue1/'d__0'::reader +IL_0017: callvirt instance class [System.Runtime]System.Threading.Tasks.Task`1 [System.Runtime]System.IO.TextReader::ReadLineAsync() IL_001c: ldc.i4.0 IL_001d: callvirt instance valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1 class [System.Private.CoreLib]System.Threading.Tasks.Task`1::ConfigureAwait(bool) IL_0022: stloc.3 @@ -61,10 +55,10 @@ IL_003d: ldarg.0 IL_003e: ldloc.2 IL_003f: stfld valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter Issue1/'d__0'::'<>u__1' IL_0044: ldarg.0 -IL_0045: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Issue1/'d__0'::'<>t__builder' +IL_0045: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Issue1/'d__0'::'<>t__builder' IL_004a: ldloca.s V_2 IL_004c: ldarg.0 -IL_004d: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::AwaitUnsafeOnCompleted,valuetype Issue1/'d__0'>(!!0&, +IL_004d: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::AwaitUnsafeOnCompleted,valuetype Issue1/'d__0'>(!!0&, !!1&) IL_0052: leave IL_011c IL_0057: ldarg.0 @@ -84,9 +78,9 @@ IL_007a: stloc.1 IL_007b: ldloc.1 IL_007c: brfalse.s IL_00ee IL_007e: ldarg.0 -IL_007f: ldfld class [System.Runtime.Extensions]System.IO.TextWriter Issue1/'d__0'::writer +IL_007f: ldfld class [System.Runtime]System.IO.TextWriter Issue1/'d__0'::writer IL_0084: ldloc.1 -IL_0085: callvirt instance class [System.Runtime]System.Threading.Tasks.Task [System.Runtime.Extensions]System.IO.TextWriter::WriteLineAsync(string) +IL_0085: callvirt instance class [System.Runtime]System.Threading.Tasks.Task [System.Runtime]System.IO.TextWriter::WriteLineAsync(string) IL_008a: ldc.i4.0 IL_008b: callvirt instance valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable [System.Private.CoreLib]System.Threading.Tasks.Task::ConfigureAwait(bool) IL_0090: stloc.s V_4 @@ -105,10 +99,10 @@ IL_00ad: ldarg.0 IL_00ae: ldloc.s V_5 IL_00b0: stfld valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter Issue1/'d__0'::'<>u__2' IL_00b5: ldarg.0 -IL_00b6: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Issue1/'d__0'::'<>t__builder' +IL_00b6: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Issue1/'d__0'::'<>t__builder' IL_00bb: ldloca.s V_5 IL_00bd: ldarg.0 -IL_00be: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::AwaitUnsafeOnCompletedd__0'>(!!0&, +IL_00be: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::AwaitUnsafeOnCompletedd__0'>(!!0&, !!1&) IL_00c3: leave.s IL_011c IL_00c5: ldarg.0 @@ -134,61 +128,55 @@ IL_00f2: ldarg.0 IL_00f3: ldc.i4.s -2 IL_00f5: stfld int32 Issue1/'d__0'::'<>1__state' IL_00fa: ldarg.0 -IL_00fb: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Issue1/'d__0'::'<>t__builder' +IL_00fb: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Issue1/'d__0'::'<>t__builder' IL_0100: ldloc.s V_6 -IL_0102: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetException(class [System.Runtime]System.Exception) +IL_0102: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetException(class [System.Runtime]System.Exception) IL_0107: leave.s IL_011c } // end handler IL_0109: ldarg.0 IL_010a: ldc.i4.s -2 IL_010c: stfld int32 Issue1/'d__0'::'<>1__state' IL_0111: ldarg.0 -IL_0112: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Issue1/'d__0'::'<>t__builder' -IL_0117: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetResult() +IL_0112: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Issue1/'d__0'::'<>t__builder' +IL_0117: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetResult() IL_011c: ret } .method private hidebysig newslot virtual final -instance void SetStateMachine(class [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed +instance void SetStateMachine(class [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed { -.param [1] -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.override [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine +.override [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine .maxstack 8 IL_0000: ldarg.0 -IL_0001: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Issue1/'d__0'::'<>t__builder' +IL_0001: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Issue1/'d__0'::'<>t__builder' IL_0006: ldarg.1 -IL_0007: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetStateMachine(class [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine) +IL_0007: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetStateMachine(class [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine) IL_000c: ret } } .class auto ansi sealed nested private beforefieldinit 'd__1' extends [System.Runtime]System.ValueType -implements [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine +implements [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine { -.interfaceimpl type [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) +.interfaceimpl type [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine .field public int32 '<>1__state' -.field public valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder '<>t__builder' -.field public class [System.Runtime.Extensions]System.IO.StreamReader reader -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.field public class [System.Runtime.Extensions]System.IO.TextWriter writer -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) +.field public valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder '<>t__builder' +.field public class [System.Runtime]System.IO.StreamReader reader +.field public class [System.Runtime]System.IO.TextWriter writer .field private valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1/ConfiguredValueTaskAwaiter '<>u__1' -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8[]) = ( 01 00 02 00 00 00 00 01 00 00 ) .field private valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter '<>u__2' .method private hidebysig newslot virtual final instance void MoveNext() cil managed { -.override [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext +.override [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine::MoveNext .maxstack 3 .locals init (int32 V_0, string V_1, valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1/ConfiguredValueTaskAwaiter V_2, valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1 V_3, -valuetype [System.Threading.Tasks.Extensions]System.Threading.Tasks.ValueTask`1 V_4, +valuetype [System.Runtime]System.Threading.Tasks.ValueTask`1 V_4, valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable V_5, valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter V_6, -valuetype [System.Threading.Tasks.Extensions]System.Threading.Tasks.ValueTask V_7, +valuetype [System.Runtime]System.Threading.Tasks.ValueTask V_7, class [System.Runtime]System.Exception V_8) IL_0000: ldarg.0 IL_0001: ldfld int32 Issue1/'d__1'::'<>1__state' @@ -201,9 +189,9 @@ IL_000a: ldloc.0 IL_000b: ldc.i4.1 IL_000c: beq IL_00d7 IL_0011: ldarg.0 -IL_0012: ldfld class [System.Runtime.Extensions]System.IO.StreamReader Issue1/'d__1'::reader -IL_0017: callvirt instance class [System.Runtime]System.Threading.Tasks.Task`1 [System.Runtime.Extensions]System.IO.TextReader::ReadLineAsync() -IL_001c: call instance void valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1::.ctor(valuetype [System.Private.CoreLib]System.Threading.Tasks.ValueTask`1&) +IL_0012: ldfld class [System.Runtime]System.IO.StreamReader Issue1/'d__1'::reader +IL_0017: callvirt instance class [System.Runtime]System.Threading.Tasks.Task`1 [System.Runtime]System.IO.TextReader::ReadLineAsync() +IL_001c: newobj instance void valuetype [System.Runtime]System.Threading.Tasks.ValueTask`1::.ctor(class [System.Runtime]System.Threading.Tasks.Task`1) IL_0021: stloc.s V_4 IL_0023: ldloca.s V_4 IL_0025: ldc.i4.0 @@ -224,10 +212,10 @@ IL_0046: ldarg.0 IL_0047: ldloc.2 IL_0048: stfld valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1/ConfiguredValueTaskAwaiter Issue1/'d__1'::'<>u__1' IL_004d: ldarg.0 -IL_004e: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Issue1/'d__1'::'<>t__builder' +IL_004e: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Issue1/'d__1'::'<>t__builder' IL_0053: ldloca.s V_2 IL_0055: ldarg.0 -IL_0056: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::AwaitUnsafeOnCompleted,valuetype Issue1/'d__1'>(!!0&, +IL_0056: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::AwaitUnsafeOnCompleted,valuetype Issue1/'d__1'>(!!0&, !!1&) IL_005b: leave IL_012e IL_0060: ldarg.0 @@ -247,10 +235,10 @@ IL_0083: stloc.1 IL_0084: ldloc.1 IL_0085: brfalse.s IL_0100 IL_0087: ldarg.0 -IL_0088: ldfld class [System.Runtime.Extensions]System.IO.TextWriter Issue1/'d__1'::writer +IL_0088: ldfld class [System.Runtime]System.IO.TextWriter Issue1/'d__1'::writer IL_008d: ldloc.1 -IL_008e: callvirt instance class [System.Runtime]System.Threading.Tasks.Task [System.Runtime.Extensions]System.IO.TextWriter::WriteLineAsync(string) -IL_0093: call instance void [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable::.ctor(valuetype [System.Private.CoreLib]System.Threading.Tasks.ValueTask&) +IL_008e: callvirt instance class [System.Runtime]System.Threading.Tasks.Task [System.Runtime]System.IO.TextWriter::WriteLineAsync(string) +IL_0093: newobj instance void [System.Runtime]System.Threading.Tasks.ValueTask::.ctor(class [System.Runtime]System.Threading.Tasks.Task) IL_0098: stloc.s V_7 IL_009a: ldloca.s V_7 IL_009c: ldc.i4.0 @@ -271,10 +259,10 @@ IL_00bf: ldarg.0 IL_00c0: ldloc.s V_6 IL_00c2: stfld valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter Issue1/'d__1'::'<>u__2' IL_00c7: ldarg.0 -IL_00c8: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Issue1/'d__1'::'<>t__builder' +IL_00c8: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Issue1/'d__1'::'<>t__builder' IL_00cd: ldloca.s V_6 IL_00cf: ldarg.0 -IL_00d0: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::AwaitUnsafeOnCompletedd__1'>(!!0&, +IL_00d0: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::AwaitUnsafeOnCompletedd__1'>(!!0&, !!1&) IL_00d5: leave.s IL_012e IL_00d7: ldarg.0 @@ -300,65 +288,63 @@ IL_0104: ldarg.0 IL_0105: ldc.i4.s -2 IL_0107: stfld int32 Issue1/'d__1'::'<>1__state' IL_010c: ldarg.0 -IL_010d: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Issue1/'d__1'::'<>t__builder' +IL_010d: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Issue1/'d__1'::'<>t__builder' IL_0112: ldloc.s V_8 -IL_0114: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetException(class [System.Runtime]System.Exception) +IL_0114: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetException(class [System.Runtime]System.Exception) IL_0119: leave.s IL_012e } // end handler IL_011b: ldarg.0 IL_011c: ldc.i4.s -2 IL_011e: stfld int32 Issue1/'d__1'::'<>1__state' IL_0123: ldarg.0 -IL_0124: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Issue1/'d__1'::'<>t__builder' -IL_0129: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetResult() +IL_0124: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Issue1/'d__1'::'<>t__builder' +IL_0129: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetResult() IL_012e: ret } .method private hidebysig newslot virtual final -instance void SetStateMachine(class [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed +instance void SetStateMachine(class [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) cil managed { -.param [1] -.custom instance void System.Runtime.CompilerServices.NullableAttribute::.ctor(uint8) = ( 01 00 00 00 00 ) -.override [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine +.override [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine::SetStateMachine .maxstack 8 IL_0000: ldarg.0 -IL_0001: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Issue1/'d__1'::'<>t__builder' +IL_0001: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Issue1/'d__1'::'<>t__builder' IL_0006: ldarg.1 -IL_0007: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetStateMachine(class [System.Threading.Tasks]System.Runtime.CompilerServices.IAsyncStateMachine) +IL_0007: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::SetStateMachine(class [System.Runtime]System.Runtime.CompilerServices.IAsyncStateMachine) IL_000c: ret } } .method private hidebysig instance class [System.Runtime]System.Threading.Tasks.Task -WithReaderAndWriter(class [System.Runtime.Extensions]System.IO.TextWriter writer, -class [System.Runtime.Extensions]System.IO.StreamReader reader) cil managed +WithReaderAndWriter(class [System.Runtime]System.IO.TextWriter writer, +class [System.Runtime]System.IO.StreamReader reader) cil managed { 65 61 64 65 72 41 6E 64 57 72 69 74 65 72 3E 64 // eaderAndWriter>d 5F 5F 30 00 00 ) // __0.. .maxstack 2 .locals init (valuetype Issue1/'d__0' V_0) IL_0000: ldloca.s V_0 -IL_0002: call valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Create() -IL_0007: stfld valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Issue1/'d__0'::'<>t__builder' +IL_0002: call valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Create() +IL_0007: stfld valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Issue1/'d__0'::'<>t__builder' IL_000c: ldloca.s V_0 IL_000e: ldarg.1 -IL_000f: stfld class [System.Runtime.Extensions]System.IO.TextWriter Issue1/'d__0'::writer +IL_000f: stfld class [System.Runtime]System.IO.TextWriter Issue1/'d__0'::writer IL_0014: ldloca.s V_0 IL_0016: ldarg.2 -IL_0017: stfld class [System.Runtime.Extensions]System.IO.StreamReader Issue1/'d__0'::reader +IL_0017: stfld class [System.Runtime]System.IO.StreamReader Issue1/'d__0'::reader IL_001c: ldloca.s V_0 IL_001e: ldc.i4.m1 IL_001f: stfld int32 Issue1/'d__0'::'<>1__state' IL_0024: ldloca.s V_0 -IL_0026: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Issue1/'d__0'::'<>t__builder' +IL_0026: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Issue1/'d__0'::'<>t__builder' IL_002b: ldloca.s V_0 -IL_002d: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Startd__0'>(!!0&) +IL_002d: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Startd__0'>(!!0&) IL_0032: ldloca.s V_0 -IL_0034: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Issue1/'d__0'::'<>t__builder' -IL_0039: call instance class [System.Runtime]System.Threading.Tasks.Task [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::get_Task() +IL_0034: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Issue1/'d__0'::'<>t__builder' +IL_0039: call instance class [System.Runtime]System.Threading.Tasks.Task [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::get_Task() IL_003e: ret } .method private hidebysig instance class [System.Runtime]System.Threading.Tasks.Task -WithReaderAndWriter_WithValueTask(class [System.Runtime.Extensions]System.IO.TextWriter writer, -class [System.Runtime.Extensions]System.IO.StreamReader reader) cil managed +WithReaderAndWriter_WithValueTask(class [System.Runtime]System.IO.TextWriter writer, +class [System.Runtime]System.IO.StreamReader reader) cil managed { 65 61 64 65 72 41 6E 64 57 72 69 74 65 72 5F 57 // eaderAndWriter_W 69 74 68 56 61 6C 75 65 54 61 73 6B 3E 64 5F 5F // ithValueTask>d__ @@ -366,24 +352,24 @@ class [System.Runtime.Extensions]System.IO.StreamReader reader) cil managed .maxstack 2 .locals init (valuetype Issue1/'d__1' V_0) IL_0000: ldloca.s V_0 -IL_0002: call valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Create() -IL_0007: stfld valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Issue1/'d__1'::'<>t__builder' +IL_0002: call valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Create() +IL_0007: stfld valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Issue1/'d__1'::'<>t__builder' IL_000c: ldloca.s V_0 IL_000e: ldarg.1 -IL_000f: stfld class [System.Runtime.Extensions]System.IO.TextWriter Issue1/'d__1'::writer +IL_000f: stfld class [System.Runtime]System.IO.TextWriter Issue1/'d__1'::writer IL_0014: ldloca.s V_0 IL_0016: ldarg.2 -IL_0017: stfld class [System.Runtime.Extensions]System.IO.StreamReader Issue1/'d__1'::reader +IL_0017: stfld class [System.Runtime]System.IO.StreamReader Issue1/'d__1'::reader IL_001c: ldloca.s V_0 IL_001e: ldc.i4.m1 IL_001f: stfld int32 Issue1/'d__1'::'<>1__state' IL_0024: ldloca.s V_0 -IL_0026: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Issue1/'d__1'::'<>t__builder' +IL_0026: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Issue1/'d__1'::'<>t__builder' IL_002b: ldloca.s V_0 -IL_002d: call instance void [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Startd__1'>(!!0&) +IL_002d: call instance void [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::Startd__1'>(!!0&) IL_0032: ldloca.s V_0 -IL_0034: ldflda valuetype [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Issue1/'d__1'::'<>t__builder' -IL_0039: call instance class [System.Runtime]System.Threading.Tasks.Task [System.Threading.Tasks]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::get_Task() +IL_0034: ldflda valuetype [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder Issue1/'d__1'::'<>t__builder' +IL_0039: call instance class [System.Runtime]System.Threading.Tasks.Task [System.Runtime]System.Runtime.CompilerServices.AsyncTaskMethodBuilder::get_Task() IL_003e: ret } .method public hidebysig specialname rtspecialname diff --git a/Tests/ModuleWeaverTests.DecompileIssue1.Release.DotNet11_0.verified.txt b/Tests/ModuleWeaverTests.DecompileIssue1.Release.DotNet11_0.verified.txt new file mode 100644 index 0000000..36fd5e8 --- /dev/null +++ b/Tests/ModuleWeaverTests.DecompileIssue1.Release.DotNet11_0.verified.txt @@ -0,0 +1,66 @@ +.class private auto ansi beforefieldinit Issue1 +extends [System.Runtime]System.Object +{ +.method private hidebysig instance class [System.Runtime]System.Threading.Tasks.Task +WithReaderAndWriter(class [System.Runtime]System.IO.TextWriter writer, +class [System.Runtime]System.IO.StreamReader reader) cil managed +{ +.maxstack 2 +.locals init (string V_0) +IL_0000: ldarg.2 +IL_0001: callvirt instance class [System.Runtime]System.Threading.Tasks.Task`1 [System.Runtime]System.IO.TextReader::ReadLineAsync() +IL_0006: ldc.i4.0 +IL_0007: callvirt instance valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1 class [System.Private.CoreLib]System.Threading.Tasks.Task`1::ConfigureAwait(bool) +IL_000c: call !!0 [System.Private.CoreLib]System.Runtime.CompilerServices.AsyncHelpers::Await(valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1) +IL_0011: stloc.0 +IL_0012: ldloc.0 +IL_0013: brfalse.s IL_0029 +IL_0015: ldarg.1 +IL_0016: ldloc.0 +IL_0017: callvirt instance class [System.Runtime]System.Threading.Tasks.Task [System.Runtime]System.IO.TextWriter::WriteLineAsync(string) +IL_001c: ldc.i4.0 +IL_001d: callvirt instance valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable [System.Private.CoreLib]System.Threading.Tasks.Task::ConfigureAwait(bool) +IL_0022: call void [System.Private.CoreLib]System.Runtime.CompilerServices.AsyncHelpers::Await(valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredTaskAwaitable) +IL_0027: br.s IL_0000 +IL_0029: ret +} +.method private hidebysig instance class [System.Runtime]System.Threading.Tasks.Task +WithReaderAndWriter_WithValueTask(class [System.Runtime]System.IO.TextWriter writer, +class [System.Runtime]System.IO.StreamReader reader) cil managed +{ +.maxstack 2 +.locals init (string V_0, +valuetype [System.Private.CoreLib]System.Threading.Tasks.ValueTask`1 V_1, +valuetype [System.Private.CoreLib]System.Threading.Tasks.ValueTask V_2) +IL_0000: ldarg.2 +IL_0001: callvirt instance class [System.Runtime]System.Threading.Tasks.Task`1 [System.Runtime]System.IO.TextReader::ReadLineAsync() +IL_0006: newobj instance void valuetype [System.Runtime]System.Threading.Tasks.ValueTask`1::.ctor(class [System.Runtime]System.Threading.Tasks.Task`1) +IL_000b: stloc.1 +IL_000c: ldloca.s V_1 +IL_000e: ldc.i4.0 +IL_000f: call instance valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1 valuetype [System.Private.CoreLib]System.Threading.Tasks.ValueTask`1::ConfigureAwait(bool) +IL_0014: call !!0 [System.Private.CoreLib]System.Runtime.CompilerServices.AsyncHelpers::Await(valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1) +IL_0019: stloc.0 +IL_001a: ldloc.0 +IL_001b: brfalse.s IL_0039 +IL_001d: ldarg.1 +IL_001e: ldloc.0 +IL_001f: callvirt instance class [System.Runtime]System.Threading.Tasks.Task [System.Runtime]System.IO.TextWriter::WriteLineAsync(string) +IL_0024: newobj instance void [System.Runtime]System.Threading.Tasks.ValueTask::.ctor(class [System.Runtime]System.Threading.Tasks.Task) +IL_0029: stloc.2 +IL_002a: ldloca.s V_2 +IL_002c: ldc.i4.0 +IL_002d: call instance valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable [System.Private.CoreLib]System.Threading.Tasks.ValueTask::ConfigureAwait(bool) +IL_0032: call void [System.Private.CoreLib]System.Runtime.CompilerServices.AsyncHelpers::Await(valuetype [System.Private.CoreLib]System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable) +IL_0037: br.s IL_0000 +IL_0039: ret +} +.method public hidebysig specialname rtspecialname +instance void .ctor() cil managed +{ +.maxstack 8 +IL_0000: ldarg.0 +IL_0001: call instance void [System.Runtime]System.Object::.ctor() +IL_0006: ret +} +} diff --git a/Tests/ModuleWeaverTests.DecompileIssue1.Release.Net.verified.txt b/Tests/ModuleWeaverTests.DecompileIssue1.Release.Net4_7.verified.txt similarity index 100% rename from Tests/ModuleWeaverTests.DecompileIssue1.Release.Net.verified.txt rename to Tests/ModuleWeaverTests.DecompileIssue1.Release.Net4_7.verified.txt diff --git a/Tests/ModuleWeaverTests.ErrorMessages.Core.Debug.verified.txt b/Tests/ModuleWeaverTests.ErrorMessages.Core.Debug.verified.txt deleted file mode 100644 index 0637a08..0000000 --- a/Tests/ModuleWeaverTests.ErrorMessages.Core.Debug.verified.txt +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/Tests/ModuleWeaverTests.ErrorMessages.Core.Release.verified.txt b/Tests/ModuleWeaverTests.ErrorMessages.Core.Release.verified.txt deleted file mode 100644 index 0637a08..0000000 --- a/Tests/ModuleWeaverTests.ErrorMessages.Core.Release.verified.txt +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/Tests/ModuleWeaverTests.ErrorMessages.Debug.Core.verified.txt b/Tests/ModuleWeaverTests.ErrorMessages.Debug.DotNet10_0.verified.txt similarity index 100% rename from Tests/ModuleWeaverTests.ErrorMessages.Debug.Core.verified.txt rename to Tests/ModuleWeaverTests.ErrorMessages.Debug.DotNet10_0.verified.txt diff --git a/Tests/ModuleWeaverTests.ErrorMessages.Debug.DotNet.verified.txt b/Tests/ModuleWeaverTests.ErrorMessages.Debug.DotNet11_0.verified.txt similarity index 100% rename from Tests/ModuleWeaverTests.ErrorMessages.Debug.DotNet.verified.txt rename to Tests/ModuleWeaverTests.ErrorMessages.Debug.DotNet11_0.verified.txt diff --git a/Tests/ModuleWeaverTests.ErrorMessages.Debug.Net.verified.txt b/Tests/ModuleWeaverTests.ErrorMessages.Debug.Net4_7.verified.txt similarity index 100% rename from Tests/ModuleWeaverTests.ErrorMessages.Debug.Net.verified.txt rename to Tests/ModuleWeaverTests.ErrorMessages.Debug.Net4_7.verified.txt diff --git a/Tests/ModuleWeaverTests.ErrorMessages.Net.Debug.verified.txt b/Tests/ModuleWeaverTests.ErrorMessages.Net.Debug.verified.txt deleted file mode 100644 index 0637a08..0000000 --- a/Tests/ModuleWeaverTests.ErrorMessages.Net.Debug.verified.txt +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/Tests/ModuleWeaverTests.ErrorMessages.Net.Release.verified.txt b/Tests/ModuleWeaverTests.ErrorMessages.Net.Release.verified.txt deleted file mode 100644 index 0637a08..0000000 --- a/Tests/ModuleWeaverTests.ErrorMessages.Net.Release.verified.txt +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/Tests/ModuleWeaverTests.ErrorMessages.Release.DotNet.verified.txt b/Tests/ModuleWeaverTests.ErrorMessages.Release.DotNet.verified.txt deleted file mode 100644 index ad47dbb..0000000 --- a/Tests/ModuleWeaverTests.ErrorMessages.Release.DotNet.verified.txt +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/Tests/ModuleWeaverTests.ErrorMessages.DotNet.Debug.verified.txt b/Tests/ModuleWeaverTests.ErrorMessages.Release.DotNet10_0.verified.txt similarity index 100% rename from Tests/ModuleWeaverTests.ErrorMessages.DotNet.Debug.verified.txt rename to Tests/ModuleWeaverTests.ErrorMessages.Release.DotNet10_0.verified.txt diff --git a/Tests/ModuleWeaverTests.ErrorMessages.DotNet.Release.verified.txt b/Tests/ModuleWeaverTests.ErrorMessages.Release.DotNet11_0.verified.txt similarity index 100% rename from Tests/ModuleWeaverTests.ErrorMessages.DotNet.Release.verified.txt rename to Tests/ModuleWeaverTests.ErrorMessages.Release.DotNet11_0.verified.txt diff --git a/Tests/ModuleWeaverTests.ErrorMessages.Release.Net.verified.txt b/Tests/ModuleWeaverTests.ErrorMessages.Release.Net.verified.txt deleted file mode 100644 index ad47dbb..0000000 --- a/Tests/ModuleWeaverTests.ErrorMessages.Release.Net.verified.txt +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/Tests/ModuleWeaverTests.ErrorMessages.Release.Core.verified.txt b/Tests/ModuleWeaverTests.ErrorMessages.Release.Net4_7.verified.txt similarity index 100% rename from Tests/ModuleWeaverTests.ErrorMessages.Release.Core.verified.txt rename to Tests/ModuleWeaverTests.ErrorMessages.Release.Net4_7.verified.txt diff --git a/Tests/ModuleWeaverTests.InfoMessages.Core.Debug.verified.txt b/Tests/ModuleWeaverTests.InfoMessages.Debug.DotNet10_0.verified.txt similarity index 100% rename from Tests/ModuleWeaverTests.InfoMessages.Core.Debug.verified.txt rename to Tests/ModuleWeaverTests.InfoMessages.Debug.DotNet10_0.verified.txt diff --git a/Tests/ModuleWeaverTests.InfoMessages.Core.Release.verified.txt b/Tests/ModuleWeaverTests.InfoMessages.Debug.DotNet11_0.verified.txt similarity index 100% rename from Tests/ModuleWeaverTests.InfoMessages.Core.Release.verified.txt rename to Tests/ModuleWeaverTests.InfoMessages.Debug.DotNet11_0.verified.txt diff --git a/Tests/ModuleWeaverTests.InfoMessages.Debug.Core.verified.txt b/Tests/ModuleWeaverTests.InfoMessages.Debug.Net4_7.verified.txt similarity index 100% rename from Tests/ModuleWeaverTests.InfoMessages.Debug.Core.verified.txt rename to Tests/ModuleWeaverTests.InfoMessages.Debug.Net4_7.verified.txt diff --git a/Tests/ModuleWeaverTests.InfoMessages.DotNet.Release.verified.txt b/Tests/ModuleWeaverTests.InfoMessages.DotNet.Release.verified.txt deleted file mode 100644 index 55042a1..0000000 --- a/Tests/ModuleWeaverTests.InfoMessages.DotNet.Release.verified.txt +++ /dev/null @@ -1,3 +0,0 @@ -[ - Removing reference to 'ConfigureAwait'. -] \ No newline at end of file diff --git a/Tests/ModuleWeaverTests.InfoMessages.Net.Debug.verified.txt b/Tests/ModuleWeaverTests.InfoMessages.Net.Debug.verified.txt deleted file mode 100644 index 294f770..0000000 --- a/Tests/ModuleWeaverTests.InfoMessages.Net.Debug.verified.txt +++ /dev/null @@ -1,3 +0,0 @@ -[ - Removing reference to 'ConfigureAwait'. -] \ No newline at end of file diff --git a/Tests/ModuleWeaverTests.InfoMessages.Net.Release.verified.txt b/Tests/ModuleWeaverTests.InfoMessages.Net.Release.verified.txt deleted file mode 100644 index 294f770..0000000 --- a/Tests/ModuleWeaverTests.InfoMessages.Net.Release.verified.txt +++ /dev/null @@ -1,3 +0,0 @@ -[ - Removing reference to 'ConfigureAwait'. -] \ No newline at end of file diff --git a/Tests/ModuleWeaverTests.InfoMessages.Release.Core.verified.txt b/Tests/ModuleWeaverTests.InfoMessages.Release.Core.verified.txt deleted file mode 100644 index 55042a1..0000000 --- a/Tests/ModuleWeaverTests.InfoMessages.Release.Core.verified.txt +++ /dev/null @@ -1,3 +0,0 @@ -[ - Removing reference to 'ConfigureAwait'. -] \ No newline at end of file diff --git a/Tests/ModuleWeaverTests.InfoMessages.Release.DotNet.verified.txt b/Tests/ModuleWeaverTests.InfoMessages.Release.DotNet.verified.txt deleted file mode 100644 index 55042a1..0000000 --- a/Tests/ModuleWeaverTests.InfoMessages.Release.DotNet.verified.txt +++ /dev/null @@ -1,3 +0,0 @@ -[ - Removing reference to 'ConfigureAwait'. -] \ No newline at end of file diff --git a/Tests/ModuleWeaverTests.InfoMessages.Debug.DotNet.verified.txt b/Tests/ModuleWeaverTests.InfoMessages.Release.DotNet10_0.verified.txt similarity index 100% rename from Tests/ModuleWeaverTests.InfoMessages.Debug.DotNet.verified.txt rename to Tests/ModuleWeaverTests.InfoMessages.Release.DotNet10_0.verified.txt diff --git a/Tests/ModuleWeaverTests.InfoMessages.Debug.Net.verified.txt b/Tests/ModuleWeaverTests.InfoMessages.Release.DotNet11_0.verified.txt similarity index 100% rename from Tests/ModuleWeaverTests.InfoMessages.Debug.Net.verified.txt rename to Tests/ModuleWeaverTests.InfoMessages.Release.DotNet11_0.verified.txt diff --git a/Tests/ModuleWeaverTests.InfoMessages.Release.Net.verified.txt b/Tests/ModuleWeaverTests.InfoMessages.Release.Net.verified.txt deleted file mode 100644 index 55042a1..0000000 --- a/Tests/ModuleWeaverTests.InfoMessages.Release.Net.verified.txt +++ /dev/null @@ -1,3 +0,0 @@ -[ - Removing reference to 'ConfigureAwait'. -] \ No newline at end of file diff --git a/Tests/ModuleWeaverTests.InfoMessages.DotNet.Debug.verified.txt b/Tests/ModuleWeaverTests.InfoMessages.Release.Net4_7.verified.txt similarity index 100% rename from Tests/ModuleWeaverTests.InfoMessages.DotNet.Debug.verified.txt rename to Tests/ModuleWeaverTests.InfoMessages.Release.Net4_7.verified.txt diff --git a/Tests/ModuleWeaverTests.cs b/Tests/ModuleWeaverTests.cs index 7a9f876..e43bcb7 100644 --- a/Tests/ModuleWeaverTests.cs +++ b/Tests/ModuleWeaverTests.cs @@ -1,5 +1,5 @@ -using System.Reflection; using Fody; +using TestResult = Fody.TestResult; public partial class ModuleWeaverTests { @@ -7,10 +7,9 @@ public partial class ModuleWeaverTests static ModuleWeaverTests() { - Assembly.Load("xunit.assert"); var weaver = new ModuleWeaver(); testResult = weaver.ExecuteTestRun("AssemblyToProcess.dll"); - VerifierSettings.UniqueForRuntime(); + VerifierSettings.UniqueForRuntimeAndVersion(); VerifierSettings.UniqueForAssemblyConfiguration(); } } \ No newline at end of file diff --git a/Tests/Tests.csproj b/Tests/Tests.csproj index a1e6df4..367119e 100644 --- a/Tests/Tests.csproj +++ b/Tests/Tests.csproj @@ -1,17 +1,24 @@ - net472;net9.0 + net472;net10.0;net11.0 true + Exe + + $(DefineConstants);NET11_0 + + + + - - - - - + + + + + diff --git a/Tests/VerifyTest.cs b/Tests/VerifyTest.cs index 43223f3..78431ab 100644 --- a/Tests/VerifyTest.cs +++ b/Tests/VerifyTest.cs @@ -7,44 +7,42 @@ public partial class ModuleWeaverTests public Task DecompileExample() { var decompile = Ildasm.Decompile(testResult.AssemblyPath, "Example"); - var settings = new VerifySettings(); - settings.AutoVerify(); - return Verify(decompile, settings); + return Verify(decompile, GetSettings()); } [Fact] public Task DecompileIssue1() { var decompile = Ildasm.Decompile(testResult.AssemblyPath, "Issue1"); - var settings = new VerifySettings(); - settings.AutoVerify(); - return Verify(decompile, settings); + return Verify(decompile, GetSettings()); } [Fact] public Task DecompileGenericClass() { var decompile = Ildasm.Decompile(testResult.AssemblyPath, "GenericClass`1"); - var settings = new VerifySettings(); - settings.AutoVerify(); - return Verify(decompile, settings); + return Verify(decompile, GetSettings()); } [Fact] public Task DecompileGenericMethod() { var decompile = Ildasm.Decompile(testResult.AssemblyPath, "GenericMethod"); - var settings = new VerifySettings(); - settings.AutoVerify(); - return Verify(decompile, settings); + return Verify(decompile, GetSettings()); } [Fact] public Task DecompileCatchAndFinally() { var decompile = Ildasm.Decompile(testResult.AssemblyPath, "CatchAndFinally"); + return Verify(decompile, GetSettings()); + } + + VerifySettings GetSettings() + { var settings = new VerifySettings(); settings.AutoVerify(); - return Verify(decompile, settings); + settings.UniqueForRuntimeAndVersion(); + return settings; } } \ No newline at end of file diff --git a/Tests/xunit.runner.json b/Tests/xunit.runner.json new file mode 100644 index 0000000..c315589 --- /dev/null +++ b/Tests/xunit.runner.json @@ -0,0 +1,6 @@ +{ + "$schema": "https://xunit.net/schema/current/xunit.runner.schema.json", + "parallelizeAssembly": false, + "parallelizeTestCollections": false, + "maxParallelThreads": 1 +} diff --git a/appveyor.yml b/appveyor.yml index 95e5acd..a27976e 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -6,10 +6,11 @@ environment: build_script: - pwsh: | Invoke-WebRequest "https://dot.net/v1/dotnet-install.ps1" -OutFile "./dotnet-install.ps1" - ./dotnet-install.ps1 -JSonFile global.json -Architecture x64 -InstallDir 'C:\Program Files\dotnet' + ./dotnet-install.ps1 -Channel 10.0 -Architecture x64 -InstallDir 'C:\Program Files\dotnet' + ./dotnet-install.ps1 -Channel 11.0 -Quality preview -Architecture x64 -InstallDir 'C:\Program Files\dotnet' - dotnet build --configuration Release - dotnet test --configuration Release --no-build --no-restore -test: off +test: false artifacts: - path: nugets\*.nupkg on_failure: diff --git a/global.json b/global.json deleted file mode 100644 index 8b3ffb3..0000000 --- a/global.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "sdk": { - "version": "9.0.200", - "allowPrerelease": true, - "rollForward": "latestFeature" - } -} \ No newline at end of file