roslynator

Roslynator is a set of code analysis tools for C#, powered by Roslyn.

OTHER License

Stars
3K
Committers
42

Bot releases are visible (Hide)

roslynator -

Published by JosefPihrt over 7 years ago

Analyzers

New Analyzers
  • ParameterNameDiffersFromBase
  • OverridingMemberCannotChangeAccessModifiers
  • ValueTypeCheckedForNull
  • UnconstrainedTypeParameterCheckedForNull
  • UnusedTypeParameter
  • UnusedParameter
roslynator -

Published by JosefPihrt over 7 years ago

Analyzers

New Analyzers
  • SortEnumMembers
  • UseStringComparison
  • UseStringLengthInsteadOfComparisonWithEmptyString
  • CompositeEnumValueContainsUndefinedFlag
  • AvoidStaticMembersInGenericTypes
  • UseGenericEventHandler
  • AbstractTypeShouldNotHavePublicConstructors
  • EnumMemberShouldDeclareExplicitValue
  • AvoidChainOfAssginments

Refactorings

New Refactorings
  • ReplaceExpressionWithConstantValue
roslynator -

Published by JosefPihrt over 7 years ago

Analyzers

New Analyzers
  • SimplifyCoalesceExpression
  • MarkContainingClassAsAbstract
  • RemoveRedundantAsOperator
  • UseConditionalAccess
  • RemoveInapplicableModifier
  • RemoveUnreachableCode
  • RemoveImplementationFromAbstractMember
  • CallStringConcatInsteadOfStringJoin
  • RemoveRedundantCast
  • MemberTypeMustMatchOverriddenMemberType
  • AddEmptyLineAfterClosingBrace

Refactorings

New Refactorings
  • SortMemberDeclarations
  • ReplaceWhileWithFor
  • GenerateEnumValues
  • GenerateEnumMember
  • GenerateCombinedEnumMember
roslynator -

Published by JosefPihrt over 7 years ago

Analyzers

New Analyzers
  • BitwiseOperatorOnEnumWithoutFlagsAttribute
  • ReplaceReturnWithYieldReturn
  • RemoveRedundantOverridenMember
  • RemoveRedundantDisposeOrCloseCall
  • RemoveRedundantContinueStatement
  • DeclareEnumMemberWithZeroValue
  • MergeSwitchSectionsWithEquivalentContent
  • AddDocumentationComment
  • AddSummaryToDocumentationComment
  • AddSummaryElementToDocumentationComment
  • AddExceptionToDocumentationComment
  • AddParameterToDocumentationComment
  • AddTypeParameterToDocumentationComment
roslynator -

Published by JosefPihrt over 7 years ago

Analyzers

New Analyzers
  • ReplaceReturnStatementWithExpressionStatement
  • AddBreakStatementToSwitchSection
  • AddReturnStatementThatReturnsDefaultValue
  • MarkLocalVariableAsConst
  • CallFindMethodInsteadOfFirstOrDefaultMethod
  • UseElementAccessInsteadOfElementAt
  • UseElementAccessInsteadOfFirst
  • AddMissingSemicolon
  • AddParenthesesAccordingToOperatorPrecedence
  • InlineLocalVariable
  • MarkMemberAsStatic
  • AvoidEmbeddedStatementInIfElse
  • MergeLocalDeclarationWithInitialization
  • UseCoalesceExpression
  • RemoveRedundantFieldInitialization
roslynator -

Published by JosefPihrt almost 8 years ago

  • Release of package Roslynator.Analyzers 1.2.0
  • Release of package CSharpAnalyzers 1.2.0
roslynator -

Published by JosefPihrt almost 8 years ago

  • Initial release of Roslynator 2017 and Roslynator Refactorings 2017
roslynator -

Published by JosefPihrt almost 8 years ago

Refactorings

New Refactorings
  • MergeStringExpressions
  • ReplaceForWithWhile
  • MarkContainingClassAsAbstract
  • MakeMemberVirtual
roslynator -

Published by JosefPihrt almost 8 years ago

Refactorings

New Refactorings
  • ReplaceStatementWithIfStatement
  • NegateIsExpression
  • ReplaceCastWithAs
  • SplitSwitchLabels
  • CheckExpressionForNull
roslynator -

Published by JosefPihrt almost 8 years ago

Refactorings

New Refactorings
  • CallExtensionMethodAsInstanceMethod
  • ReplaceMethodGroupWithLambda
  • ReplaceIfStatementWithReturnStatement
  • IntroduceLocalFromExpressionStatementThatReturnsValue
roslynator -

Published by JosefPihrt almost 8 years ago

Analyzers

New Analyzers
  • CombineEnumerableWhereMethodChain
  • UseStringIsNullOrEmptyMethod
  • RemoveRedundantDelegateCreation

Refactorings

New Refactorings
  • AddExceptionToDocumentationComment
  • ReplaceNullLiteralExpressionWithDefaultExpression
roslynator -

Published by JosefPihrt almost 8 years ago

Analyzers

New Analyzers
  • RemoveEmptyDestructor
  • RemoveRedundantStringToCharArrayCall
  • AddStaticModifierToAllPartialClassDeclarations
  • UseCastMethodInsteadOfSelectMethod
  • DeclareTypeInsideNamespace
  • AddBracesToSwitchSectionWithMultipleStatements

Refactorings

New Refactorings
  • ReplaceEqualsExpressionWithStringIsNullOrEmpty
  • ReplaceEqualsExpressionWithStringIsNullOrWhiteSpace
roslynator -

Published by JosefPihrt almost 8 years ago

Analyzers

New Analyzers
  • FormatDocumentationSummaryOnSingleLine
  • FormatDocumentationSummaryOnMultipleLines
  • MarkClassAsStatic
  • SimplifyIfElseStatement
  • SimplifyConditionalExpression
  • MergeInterpolationIntoInterpolatedString

Refactorings

New Refactorings
  • MergeInterpolationIntoInterpolatedString
roslynator -

Published by JosefPihrt almost 8 years ago

Analyzers

New Analyzers
  • RemoveRedundantToStringCall
  • AvoidNullLiteralExpressionOnLeftSideOfBinaryExpression
  • DefaultLabelShouldBeLastLabelInSwitchSection

Refactorings

New Refactorings
  • IntroduceFieldToLockOn
roslynator -

Published by JosefPihrt almost 8 years ago

Analyzers

New Analyzers
  • UseCSharp6DictionaryInitializer
  • UseBitwiseOperationInsteadOfHasFlagMethod

Refactorings

New Refactorings
  • CopyDocumentationCommentFromBaseMember
roslynator -

Published by JosefPihrt almost 8 years ago

Analyzers

New Analyzers
  • RemoveFileWithNoCode
  • DeclareUsingDirectiveOnTopLevel

Refactorings

New Refactorings
  • RemoveRegion
roslynator -

Published by JosefPihrt almost 8 years ago

Refactorings

New Refactorings
  • ReplaceAsWithCast
  • ReplaceEqualsExpressionWithStringEquals
roslynator -

Published by JosefPihrt almost 8 years ago

Refactorings

New Refactorings
  • RemoveUsingAliasDirective
  • ReplaceInterpolatedStringWithInterpolationExpression
roslynator -

Published by JosefPihrt almost 8 years ago

Analyzers

New Analyzers
  • AddEmptyLineAfterLastStatementInDoStatement

Refactorings

New Refactorings
  • ReplaceIfElseWithSwitch
roslynator -

Published by JosefPihrt almost 8 years ago

Refactorings

New Refactorings
  • RemoveAllPreprocessorDirectives
  • AddToMethodInvocation