-
Notifications
You must be signed in to change notification settings - Fork 11
Home
Ed Ball edited this page Oct 23, 2021
·
15 revisions
Faithlife.Analyzers contains the C# Roslyn analyzers used at Faithlife.
-
FL0001
AsyncWorkItem.Current
must only be used in methods that returnIEnumerable
-
FL0002 Optional
StringComparison
arguments must always be specified -
FL0003
UntilCanceled()
may only be used in methods that returnIEnumerable<AsyncAction>
-
FL0004 Use
operator==
or a non-ordinalStringComparison
-
FL0005 Avoid
ToReadOnlyCollection
in constructors -
FL0006 Optional
IComparer<string>
arguments must always be specified -
FL0007 Avoid
$
in interpolated strings -
FL0008
WorkState.None
andWorkState.ToDo
must not be used when anIWorkState
is available. -
FL0009 Prefer
""
overstring.Empty
. -
FL0010 Prefer modern language features over
IfNotNull
. -
FL0011
GetOrAddValue
should not be used withConcurrentDictionary
. -
FL0012
DbConnector.Command
should not be used with an interpolated string.