zompinc/sync-method-generator

1.3.17 lost FQN

Closed this issue · 2 comments

        [Zomp.SyncMethodGenerator.CreateSyncVersion]
        public virtual async Task<bool> SomeMethodAsync(
            object a
            )
        {
            await Task.Delay(0).ConfigureAwait(false);

            return a is not DBNull;
        }

the result:

image

out parameters is not processed too:

        [Zomp.SyncMethodGenerator.CreateSyncVersion]
        public async Task MyMethodAsync()
        {
            Dictionary<int, XmlArrayAttribute> q = null;
            q.TryGetValue(0, out XmlArrayAttribute a);
            await Task.Delay(0);

image

Available in 1.3.18