Skip to content

Releases: mykolav/require-named-args-fs

Support implicit object creation syntax and an attribute's constructors

19 Feb 23:22

Choose a tag to compare

Add support for requiring named arguments on

  • the implicit object creation syntax
  • an attribute's constructors

Support constructors

19 Feb 23:20

Choose a tag to compare

Support constructors Pre-release
Pre-release

Jeff Ward (@fuzzybinary) contributed support for constructors.

Add support for [RequireNamedArgs] on extension methods

23 Aug 16:53

Choose a tag to compare

@kkkmail investigated and contributed code necessary to support [RequireNamedArgs] on extension methods.
See the corresponding issue for details.

Look for method definitions marked with a `[RequireNamedArgs]` attribute instead of a special comment

22 Dec 14:46

Choose a tag to compare

Look for method definitions marked with a [RequireNamedArgs] attribute instead of a special comment

With the exception of XML Documentation Comments, C# comments don't get emitted into the assembly's metadata.
As a result if a method marked // [RequireNamedArgs] from AssemblyA is invoked with positional arguments from AssemblyB
the analyzer doesn't emit any diagnostics for such an invocation. But it should!
Using an attribute seems to be the most reliable approach with regards to the above.

Initial release

16 Aug 16:27
bb8689e

Choose a tag to compare

Initial release Pre-release
Pre-release
0.0.1

Update README.md