Skip to content

v0.1.378-beta

Pre-release
Pre-release
Compare
Choose a tag to compare
@AArnott AArnott released this 24 Feb 04:04
c78d5d3

Changes:

Fixes:

  • #64: [In, Out] char* parameter MUST NOT generate string as a friendly overload
  • #126: GetIconInfo throws "Pointers cannot reference marshaled structures. Use ByRef instead."
  • #62: Source Generator not installed for packages.config projects
  • #43: Types are not generated when referenced project already defines them, even though they are inaccessible
  • #75: Add global:: in front of all using directives
  • #68: Source is not generated for .NET Framework 3.5
  • #72: FreeLibrarySafeHandle.Null uses the wrong pointer value
  • #48: Tolerate leading/trailing whitespace in NativeMethods.txt

Enhancements:

See More
  • #119: Enhance HRESULT and NTStatus with helper functions
  • #129: Make optional SafeHandle parameters accept null
  • #121: Update to metadata that fixes the char* as ushort* problem
  • #74: Unify CloseHandleSafeHandle with SafeFileHandle
  • #9: Produce SafeHandle-derived types and accept SafeHandle base type
  • #99: Map LARGE_INTEGER structs to 64-bit int types on .NET
  • #98: Add support for packages.config-based projects
  • #97: Add HRESULT struct members: Succeeded and Failed
  • #78: Add “partial” modifier to generated members
  • #53: A single pragma disabling multiple warnings can be used

Others:

  • #145: Declare HRESULT.ThrowOnFailure() method
  • #143: Make SafeHandle parameters accept null
  • #139: Generate partials when the project already defines partials
  • #133: Structs are not generated when partials intended to add to them exist in the project
  • #136: Update to metadata v10.0.19041.5-preview.20
  • #54: README animated gif should demo default internal visibility
  • #128: Prefix Guid with global::
  • #124: Incompatiblity with WinUI Preview 4 (using daily)
  • #59: Can't work in WinUI 3 project
  • #127: Avoid generating bool as struct field
  • #123: Add SpellChecker sample
  • #104: Prefer bool over BOOL in method signatures
  • #100: Reuse SafeFileHandle from BCL instead of creating CloseHandleSafeHandle
  • #101: Return specific SafeHandle types and accept base types
  • #69: LARGE_INTEGER/ULARGE_INTEGER should map to Int64/UInt64
  • #92: Add IsSuccess to the generated HRESULT struct
  • #96: Generate structs with the partial modifier
  • #95: Secure nuget source feeds
  • #94: Suppress SafeHandle generation when a referencing project already declares it
  • #89: Add NuGet prerelease badge to the readme to make navigation easier
  • #70: Arrange for msbuild import to apply to pre-net40 projects
  • #88: Update metadata to 10.0.19041.5-preview.5 and docs to tip
  • #87: Generate types when referenced projects declare them internally
  • #76: Bump Microsoft.CodeAnalysis.CSharp.CodeFix.Testing.XUnit from 1.0.1-beta1.21064.2 to 1.0.1-beta1.21080.1
  • #77: Bump coverlet.msbuild from 3.0.1 to 3.0.2
  • #73: Fix SafeHandle.Null to actually have a null value
  • #66: Added comment parsing check for NativeMethods.txt
  • #67: Make docs links locale agnostic
  • #58: Generated files now have a '.g.cs' extension
  • #55: Put all warning suppressions on one line
  • #45: Structs and constants are not generated

This list of changes was auto generated.