Skip to content

v0.4.0

Latest

Choose a tag to compare

@ful-stackz ful-stackz released this 27 Jul 07:44
· 2 commits to main since this release
168a307

Added

  • New access modifier - AccessModifier.PrivateProtected - private protected
  • Support for setting the access modifier of a property' getter and setter individually via the PropertyBuilder.WithAccessModifier(AccessModifier getterAccessModifier, AccessModifier setterAccessModifier) overloaded method
  • Support for defining type parameters when building classes, structs, interfaces, fields and parameters
  • More validation added to fluent With...() and Code.Create...() methods that accept string parameters; empty or whitespace strings will now result in an ArgumentException

Changed

  • Code.cs, the entry point for creating a structure, has been modified to use the fluent APIs of each structure instead of using overridden constructors; this reduces duplicated validation code
  • The Roslyn packages were updated which results in a slightly different formatting in some places
    • constructor() : base() instead of constructor(): base()
    • Property { get; set; } and Property { get => _value; set => _value = value; } instead of the old multi-line version

Fixed

  • Removed the invalid access modifier AccessModifier.PrivateInternal - private internal