Skip to content

Fix formatting issues around object initializers #673

@elachlan

Description

@elachlan

Actual behavior

Code generated with object initializers seem to be indented and formatted incorrectly.

Expected behavior

proper indentation

Repro steps

  1. NativeMethods.txt content:
SYSTEMTIME
  1. NativeMethods.json content (if present):
  1. Any of your own code that should be shared?

Context

  • CsWin32 version: [e.g. 0.4.422-beta]
  • Win32Metadata version (if explicitly set by project):
  • Target Framework: [e.g. netstandard2.0]
  • LangVersion (if explicitly set by project): [e.g. 9]

Related: #672, #648

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinghelp wantedExtra attention is needed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions