// using System.Collections.Generic; using System.Reflection; using mROA.Abstract; using mROA.Implementation; using System; using System.Collections; using System.Threading; namespace mROA.Codegen { public class GeneratedInvokersCollection : IReadOnlyList { private readonly List _invokers = new() { , new mROA.Implementation.AsyncMethodInvoker { IsVoid = , IsTrusted = , ReturnType = typeof(), ParameterTypes = new Type[] { }, SuitableType = typeof(), Invoking = (i, parameters, special, post) => , } new mROA.Implementation.MethodInvoker { IsVoid = , IsTrusted = , ReturnType = typeof(), ParameterTypes = new Type[] { }, SuitableType = typeof(), Invoking = (i, parameters, special) => , } }; public IEnumerator GetEnumerator() { return _invokers.GetEnumerator(); } IEnumerator IEnumerable.GetEnumerator() { return GetEnumerator(); } public int Count => _invokers.Count; public IMethodInvoker this[int index] => _invokers[index]; } }