Skip to content

Implicit usings and file scoped namespaces #1547

@lipchev

Description

@lipchev

Here's what I'm thinking:

  • file scoped namespaces : nothing controversial here (I hope)
  • implicit usings in UnitsNet - I'm thinking of System, System.Collections.Generic, System.Numerics (net8+) and our Units namespace
  • implicit usings in the test projects: same as above + System.Linq and Xunit
  • adding the JetBrains.Annotations package and annotating the tests with the [TestSubject(..)] annotation (not sure how useful this is in practice, but still better than nothing I guess).

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions