protected override FieldDeclarationSyntax Organize( FieldDeclarationSyntax syntax, CancellationToken cancellationToken) { return(syntax.Update(syntax.AttributeLists, ModifiersOrganizer.Organize(syntax.Modifiers), syntax.Declaration, syntax.EosToken)); }
protected override OperatorDeclarationSyntax Organize( OperatorDeclarationSyntax syntax, CancellationToken cancellationToken) { return(syntax.Update(syntax.AttributeLists, ModifiersOrganizer.Organize(syntax.Modifiers), syntax.ReturnType, syntax.OperatorKeyword, syntax.OperatorToken, syntax.ParameterList, syntax.Body, syntax.EosToken)); }
protected override ConstructorDeclarationSyntax Organize( ConstructorDeclarationSyntax syntax, CancellationToken cancellationToken) { return(syntax.Update(syntax.AttributeLists, ModifiersOrganizer.Organize(syntax.Modifiers), syntax.ConstructorKeyword, syntax.ParameterList, syntax.Initializer, syntax.ContractClauses, syntax.Body, syntax.EosToken)); }
protected override EventDeclarationSyntax Organize( EventDeclarationSyntax syntax, CancellationToken cancellationToken) { return(syntax.Update(syntax.AttributeLists, ModifiersOrganizer.Organize(syntax.Modifiers), syntax.EventKeyword, syntax.Type, syntax.ExplicitInterfaceSpecifier, syntax.Identifier, syntax.ContractClauses, syntax.AccessorList)); }
protected override DestructorDeclarationSyntax Organize( DestructorDeclarationSyntax syntax, CancellationToken cancellationToken) { return(syntax.Update(syntax.AttributeLists, ModifiersOrganizer.Organize(syntax.Modifiers), syntax.TildeToken, syntax.Identifier, syntax.ParameterList, syntax.ContractClauses, syntax.Body, syntax.EosToken)); }
protected override EnumDeclarationSyntax Organize( EnumDeclarationSyntax syntax, CancellationToken cancellationToken) { return(syntax.Update( syntax.AttributeLists, ModifiersOrganizer.Organize(syntax.Modifiers), syntax.EnumKeyword, syntax.Identifier, syntax.ExtendList, syntax.ImplementList, syntax.OpenBraceToken, syntax.Members, syntax.CloseBraceToken, syntax.EosToken)); }
protected override IndexerDeclarationSyntax Organize( IndexerDeclarationSyntax syntax, CancellationToken cancellationToken) { return(syntax.Update( attributeLists: syntax.AttributeLists, modifiers: ModifiersOrganizer.Organize(syntax.Modifiers), returnToken: syntax.ReturnToken, type: syntax.Type, explicitInterfaceSpecifier: syntax.ExplicitInterfaceSpecifier, funcKeyword: syntax.FuncKeyword, operatorKeyword: syntax.OperatorKeyword, parameterList: syntax.ParameterList, accessorList: syntax.AccessorList, expressionBody: syntax.ExpressionBody, contractClauses: syntax.ContractClauses, eosToken: syntax.EosToken)); }
protected override StructDeclarationSyntax Organize( StructDeclarationSyntax syntax, CancellationToken cancellationToken) { return(syntax.Update( syntax.AttributeLists, ModifiersOrganizer.Organize(syntax.Modifiers), syntax.Keyword, syntax.Identifier, syntax.TypeParameterList, syntax.ExtendList, syntax.ImplementList, syntax.ConstraintClauses, syntax.OpenBraceToken, MemberDeclarationsOrganizer.Organize(syntax.Members, cancellationToken), syntax.CloseBraceToken, syntax.EosToken)); }
protected override MethodDeclarationSyntax Organize( MethodDeclarationSyntax syntax, CancellationToken cancellationToken) { return(syntax.Update( attributeLists: syntax.AttributeLists, modifiers: ModifiersOrganizer.Organize(syntax.Modifiers), funcKeyword: syntax.FuncKeyword, returnToken: syntax.ReturnToken, returnType: syntax.ReturnType, explicitInterfaceSpecifier: syntax.ExplicitInterfaceSpecifier, identifier: syntax.Identifier, typeParameterList: syntax.TypeParameterList, parameterList: syntax.ParameterList, constraintClauses: syntax.ConstraintClauses, contractClauses: syntax.ContractClauses, throwsList: syntax.ThrowsList, body: syntax.Body, expressionBody: syntax.ExpressionBody, eosToken: syntax.EosToken)); }
protected override PropertyDeclarationSyntax Organize( PropertyDeclarationSyntax syntax, CancellationToken cancellationToken) { return(syntax.WithModifiers(ModifiersOrganizer.Organize(syntax.Modifiers))); }