Skip to content

Handle directive inside a statement #85

@virzak

Description

@virzak

Handle directive inside statements aren't handled properly. First mentioned in #83

        [Zomp.SyncMethodGenerator.CreateSyncVersion(OmitNullableDirective = true)]
        public async Task FooAsync()
        {
            await Task.Delay(100);

            var bar =
#if DEBUG
                true;
#else
                false;
#endif
        }

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions