protected override void InsertStatement(SyntaxEditor editor, SyntaxNode functionDeclaration, bool returnsVoid, SyntaxNode?statementToAddAfter, StatementSyntax statement)
 => InitializeParameterHelpers.InsertStatement(editor, functionDeclaration, returnsVoid, statementToAddAfter, statement);
 protected override bool IsImplicitConversion(Compilation compilation, ITypeSymbol source, ITypeSymbol destination)
 => InitializeParameterHelpers.IsImplicitConversion(compilation, source, destination);
 protected override bool IsFunctionDeclaration(SyntaxNode node)
 => InitializeParameterHelpers.IsFunctionDeclaration(node);
 protected override SyntaxNode GetBody(SyntaxNode functionDeclaration)
 => InitializeParameterHelpers.GetBody(functionDeclaration);
Example #5
0
 protected override SyntaxNode TryGetLastStatement(IBlockOperation blockStatementOpt)
 => InitializeParameterHelpers.TryGetLastStatement(blockStatementOpt);
Example #6
0
 protected override void InsertStatement(SyntaxEditor editor, SyntaxNode functionDeclaration, IMethodSymbol method, SyntaxNode statementToAddAfterOpt, StatementSyntax statement)
 => InitializeParameterHelpers.InsertStatement(editor, functionDeclaration, method, statementToAddAfterOpt, statement);
 protected override void InsertStatement(SyntaxEditor editor, SyntaxNode body, SyntaxNode statementToAddAfterOpt, StatementSyntax statement)
 => InitializeParameterHelpers.InsertStatement(editor, body, statementToAddAfterOpt, statement);
 protected override SyntaxNode GetBody(BaseMethodDeclarationSyntax containingMember)
 => InitializeParameterHelpers.GetBody(containingMember);
 protected override SyntaxNode GetLastStatement(IBlockStatement blockStatement)
 => InitializeParameterHelpers.GetLastStatement(blockStatement);
 protected override void InsertStatement(SyntaxEditor editor, BaseMethodDeclarationSyntax methodDeclarationSyntax, SyntaxNode statementToAddAfterOpt, StatementSyntax statement)
 => InitializeParameterHelpers.InsertStatement(editor, methodDeclarationSyntax, statementToAddAfterOpt, statement);
Example #11
0
 protected override IBlockOperation GetBlockOperation(SyntaxNode functionDeclaration, SemanticModel semanticModel, CancellationToken cancellationToken)
 => InitializeParameterHelpers.GetBlockOperation(functionDeclaration, semanticModel, cancellationToken);