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

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.ArgumentException: Variable already belongs to another scope at ICSharpCode.Decompiler.IL.ILVariableCollection.System.Collections.Generic.ICollection.Add(ILVariable item) in offset 0 at ICSharpCode.Decompiler.Util.CollectionExtensions.AddRange[T](ICollection`1 collection, IEnumerable`1 input) in offset 0 at ICSharpCode.Decompiler.IL.ControlFlow.AsyncAwaitDecompiler.InlineBodyOfMoveNext(ILFunction function) in offset 341 at ICSharpCode.Decompiler.IL.ControlFlow.AsyncAwaitDecompiler.Run(ILFunction function, ILTransformContext context) in offset 93 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.DoDecompileTypes(IEnumerable`1 types, DecompileRun decompileRun, ITypeResolveContext decompilationContext, SyntaxTree syntaxTree) in offset 154 at ICSharpCode.Decompiler.CSharp.CSharpDecompiler.DecompileType(FullTypeName fullTypeName) in offset 141 at Relativity.APIReference.TypeDocumentation.b__30_0() in TypeDocumentation.cs:line 270 */