<PackageReference Include="System.Linq.Async" Version="4.1.1" />

System.Collections.Generic.AsyncEnumerableHelpers

static class AsyncEnumerableHelpers
/* Error decompiling System.Threading.Tasks.Task`1> System.Collections.Generic.AsyncEnumerableHelpers::ToSet(System.Collections.Generic.IAsyncEnumerable`1,System.Collections.Generic.IEqualityComparer`1,System.Threading.CancellationToken) ---> System.InvalidOperationException: Operations that change non-concurrent collections must have exclusive access. A concurrent update was performed on this collection and corrupted its state. The collection's state is no longer correct. at System.ThrowHelper.ThrowInvalidOperationException_ConcurrentOperationsNotSupported() in offset 10 at System.Collections.Generic.Dictionary`2.TryInsert(TKey key, TValue value, InsertionBehavior behavior) in offset 341 at ICSharpCode.Decompiler.IL.ControlFlow.AsyncAwaitDecompiler.MatchTaskCreationPattern(ILFunction function) in offset 1256 at ICSharpCode.Decompiler.IL.ControlFlow.AsyncAwaitDecompiler.Run(ILFunction function, ILTransformContext context) in offset 65 at ICSharpCode.Decompiler.CSharp.CSharpDecompiler.DecompileBody(MethodDefinition methodDefinition, IMethod method, EntityDeclaration entityDecl, DecompileRun decompileRun, ITypeResolveContext decompilationContext) in offset 366 -- continuing with outer exception (ICSharpCode.Decompiler.DecompilerException) -- at ICSharpCode.Decompiler.CSharp.CSharpDecompiler.DecompileBody(MethodDefinition methodDefinition, IMethod method, EntityDeclaration entityDecl, DecompileRun decompileRun, ITypeResolveContext decompilationContext) in offset 835 at ICSharpCode.Decompiler.CSharp.CSharpDecompiler.DoDecompile(MethodDefinition methodDefinition, IMethod method, DecompileRun decompileRun, ITypeResolveContext decompilationContext) in offset 78 at ICSharpCode.Decompiler.CSharp.CSharpDecompiler.DoDecompile(ITypeDefinition typeDef, DecompileRun decompileRun, ITypeResolveContext decompilationContext) in offset 567 at ICSharpCode.Decompiler.CSharp.CSharpDecompiler.DecompileType(FullTypeName fullTypeName) in offset 0 at Relativity.APIReference.TypeDocumentation.b__30_0() in TypeDocumentation.cs:line 270 */