Releases: k94ll13nn3/AutoConstructor
Releases · k94ll13nn3/AutoConstructor
5.6.0
5.5.0
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
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
5.3.0
Changed
- Add XML documentation to generated attributes
- Replace
AutoConstructor_DisableNullChecking
withAutoConstructor_GenerateArgumentNullException
- Add option to configure
base
calls behavior - Add option to configure
this
calls behavior
5.2.1
Fixed
- Fix detection of base constructor if parent class defined in another assembly and is using
AutoConstructor
5.2.0
Changed
- Add a diagnostic suppression on
CS0436
(diagnostic reported when usingInternalsVisibleTo
)
5.1.0
Changed
- Add support for struct types and different type kind nesting (by @Sergio0694)
5.0.1
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
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