Skip to content
David Mitchell edited this page Mar 2, 2019 · 15 revisions

Faithlife.Analyzers contains the C# Roslyn analyzers used at Faithlife.

Currently available analyzers

  • FL0001 AsyncWorkItem.Current must only be used in methods that return IEnumerable
  • FL0002 Optional StringComparison arguments must always be specified
  • FL0003 UntilCanceled() may only be used in methods that return IEnumerable<AsyncAction>
  • FL0004 Use operator== or a non-ordinal StringComparison
  • FL0005 Avoid ToReadOnlyCollection in constructors
  • FL0006 Optional IComparer<string> arguments must always be specified
  • FL0007 Avoid $ in interpolated strings
  • FL0008 WorkState.None and WorkState.ToDo must not be used when an IWorkState is available.
Clone this wiki locally