All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- Individual diagnostics have been created for each sort order issue.
- Individual comparer classes:
MultiComparer
class which can run comparers in sequenceHasQuality<TCompared>
abstract base classIndexedComparer<TCompared, TQuality>
abstract base classAccessibilityComparer
FieldDeclarationMutabilityComparer
HasExplicitInterfaceSpecifierComparer
IdentifierComparer
IdentifierComparer.OperatorComparer
IsStaticComparer
KindComparer
ParametersComparerBase
ParameterArityComparer
ParameterNameComparer
ParameterTypeComparer
ArityOrder
enum which provides more clarity when sorting arity.DeclarationComparerOptions
ToCSharpComparer()
to create a new comparer chain from options.- Additional properties to match new comparers.
- Second code fix provider to fix all members of a container at once.
- Moved enums into
RoslynMemberSorter.Enums
namespace and matching folder. FieldMutability
comment documentation to use keyword references.Order
comment documentation to remove mention ofDeclarationComparerOptions
and changed 'detail' to 'quality'.- Change the analyzer and code fix provider to use
DeclarationComparerOptions.ToCSharpComparer()
- Updated unit tests to use moved enums and comparers.
DeclarationComparerOptions
- Property
Order SingleLineEvents
has changed tobool MergeEvents
- Property
Order LowArity
has changed toArityOrder ArityOrder
- Property
NameOrder
enum renamed toIdentifierOrder
- Moved options to
dotnet_diagnostic.rms####.
where #### is the diagnostic number relevant to the sorting method. SortOrders
is now optiondotnet_diagnostic.rms_shared.sort_orders
.- Moved README Usage to separate docs folder items.
- Diagnostic
RMS0001
which was reported on the namespace or type that declared the member out of order.
- Changelog date from "month-name day, year" to "year-month-day".
RoslynMemberSorter.Accessibility
enum in favor of usingMicrosoft.CodeAnalysis.Accessibility
.DeclarationComparer
class in favor of new comparers.ParameterSortStyle
enum in favor of new comparers.
Initial release