Skip to content

Releases: k94ll13nn3/AutoConstructor

5.6.0

Choose a tag to compare

@k94ll13nn3 k94ll13nn3 released this 22 Sep 16:22
ac4af23

Changed

  • Add support for required and init properties

5.5.0

Choose a tag to compare

@k94ll13nn3 k94ll13nn3 released this 26 Jun 18:33
2b8d9b5

Added

  • Add new argument to AutoConstructorAttribute (matchBaseParameterOnName) that controls whether constructor parameters from base class are matched on type and name or only name

Changed

  • Generated code now include full qualifier for types

5.4.1

Choose a tag to compare

@k94ll13nn3 k94ll13nn3 released this 22 Jun 19:37
1f8323d

Changed

  • Code fixes are now in their own assembly

Fixed

  • Fix generated constructor when parent and child have same parameters but in different order
  • Fix generated constructor when base and child classes have same parameter name with different types

5.4.0

Choose a tag to compare

@k94ll13nn3 k94ll13nn3 released this 23 May 17:26
fb060ba

Changed

  • Add option to generate a parameterless constructor (by @DomasM)

5.3.0

Choose a tag to compare

@k94ll13nn3 k94ll13nn3 released this 16 Mar 14:56
6787bdc

Changed

  • Add XML documentation to generated attributes
  • Replace AutoConstructor_DisableNullChecking with AutoConstructor_GenerateArgumentNullException
  • Add option to configure base calls behavior
  • Add option to configure this calls behavior

5.2.1

Choose a tag to compare

@k94ll13nn3 k94ll13nn3 released this 04 Mar 21:44
2d209c1

Fixed

  • Fix detection of base constructor if parent class defined in another assembly and is using AutoConstructor

5.2.0

Choose a tag to compare

@k94ll13nn3 k94ll13nn3 released this 19 Dec 18:39
8d03b38

Changed

  • Add a diagnostic suppression on CS0436 (diagnostic reported when using InternalsVisibleTo)

5.1.0

Choose a tag to compare

@k94ll13nn3 k94ll13nn3 released this 23 Nov 18:24
f2514af

Changed

  • Add support for struct types and different type kind nesting (by @Sergio0694)

5.0.1

Choose a tag to compare

@k94ll13nn3 k94ll13nn3 released this 22 Nov 22:00
96fa21c

Fixed

  • Fix call to static initializer method
  • Fix generation when a reserved keyword is used (directly or indirectly)
  • Fix edge cases on MismatchTypesRule diagnostic

5.0.0

Choose a tag to compare

@k94ll13nn3 k94ll13nn3 released this 07 Nov 14:13
6360b27

Added

  • Add new argument to AutoConstructorAttribute for specifying constructor accessibility
  • Add AutoConstructorInitializer used to add a call to a method at the end of the constructor

Changed

  • [Breaking] Update Roslyn dependencies. Visual Studio 17.6+ and .NET SDK 7.0.302+ are now required
  • Rework code generation

Fixed

  • Fix incrementability of generator