Roslyn-based replacement for JetBrains.Annotations + ReSharper?

Discussion in 'Hosting Services / Control Panel' started by Johnlarry, Apr 8, 2019.

  1. I'd like to move away from ReSharper, but the JetBrains.Annotations package is pretty awesome. Since it doesn't come with any analyzers, though, it's useless without ReSharper. Are there any decent Roslyn analyzers that could replace it?

    C# 8.0 adds nullable reference types, which mitigate the need for all the nullability-related attributes, but others such as the following are still handy:

    • PathReference

    • InstantHandle

    • LinqTunnel

    • Pure

    • MustUseReturnValue

    • UsedImplicitly

    • MeansImplicitUse

    • PublicAPI

    • ContractAnnotation

    • CollectionAccess

    • InvokerParameterName

    • NoEnumeration
    If nothing like this exists, I might have a go at making it myself.
     

  2. ANy Updates????
     


  3. any updates 2?
     

Share This Page