C# Class Shaolinq.AsyncRewriter.MethodInvocationAsyncRewriter

Inheritance: MethodInvocationInspector
Mostra file Open project: tumtumtum/Shaolinq Class Usage Examples

Public Methods

Method Description
Rewrite ( IAsyncRewriterLogger log, CompilationLookup extensionMethodLookup, Microsoft.CodeAnalysis.SemanticModel semanticModel, HashSet excludeTypes, ITypeSymbol cancellationTokenSymbol, Microsoft.CodeAnalysis.CSharp.Syntax.MethodDeclarationSyntax methodSyntax ) : Microsoft.CodeAnalysis.CSharp.Syntax.MethodDeclarationSyntax
VisitConditionalAccessExpression ( ConditionalAccessExpressionSyntax node ) : Microsoft.CodeAnalysis.SyntaxNode
VisitExpressionStatement ( Microsoft.CodeAnalysis.CSharp.Syntax.ExpressionStatementSyntax node ) : Microsoft.CodeAnalysis.SyntaxNode

Protected Methods

Method Description
InspectExpression ( InvocationExpressionSyntax node, int cancellationTokenPos, IMethodSymbol candidate, bool explicitExtensionMethodCall ) : ExpressionSyntax
MethodInvocationAsyncRewriter ( IAsyncRewriterLogger log, CompilationLookup extensionMethodLookup, Microsoft.CodeAnalysis.SemanticModel semanticModel, HashSet excludeTypes, ITypeSymbol cancellationTokenSymbol, Microsoft.CodeAnalysis.CSharp.Syntax.MethodDeclarationSyntax methodSyntax ) : System

Method Details

InspectExpression() protected method

protected InspectExpression ( InvocationExpressionSyntax node, int cancellationTokenPos, IMethodSymbol candidate, bool explicitExtensionMethodCall ) : ExpressionSyntax
node InvocationExpressionSyntax
cancellationTokenPos int
candidate IMethodSymbol
explicitExtensionMethodCall bool
return ExpressionSyntax

MethodInvocationAsyncRewriter() protected method

protected MethodInvocationAsyncRewriter ( IAsyncRewriterLogger log, CompilationLookup extensionMethodLookup, Microsoft.CodeAnalysis.SemanticModel semanticModel, HashSet excludeTypes, ITypeSymbol cancellationTokenSymbol, Microsoft.CodeAnalysis.CSharp.Syntax.MethodDeclarationSyntax methodSyntax ) : System
log IAsyncRewriterLogger
extensionMethodLookup CompilationLookup
semanticModel Microsoft.CodeAnalysis.SemanticModel
excludeTypes HashSet
cancellationTokenSymbol ITypeSymbol
methodSyntax Microsoft.CodeAnalysis.CSharp.Syntax.MethodDeclarationSyntax
return System

Rewrite() public static method

public static Rewrite ( IAsyncRewriterLogger log, CompilationLookup extensionMethodLookup, Microsoft.CodeAnalysis.SemanticModel semanticModel, HashSet excludeTypes, ITypeSymbol cancellationTokenSymbol, Microsoft.CodeAnalysis.CSharp.Syntax.MethodDeclarationSyntax methodSyntax ) : Microsoft.CodeAnalysis.CSharp.Syntax.MethodDeclarationSyntax
log IAsyncRewriterLogger
extensionMethodLookup CompilationLookup
semanticModel Microsoft.CodeAnalysis.SemanticModel
excludeTypes HashSet
cancellationTokenSymbol ITypeSymbol
methodSyntax Microsoft.CodeAnalysis.CSharp.Syntax.MethodDeclarationSyntax
return Microsoft.CodeAnalysis.CSharp.Syntax.MethodDeclarationSyntax

VisitConditionalAccessExpression() public method

public VisitConditionalAccessExpression ( ConditionalAccessExpressionSyntax node ) : Microsoft.CodeAnalysis.SyntaxNode
node ConditionalAccessExpressionSyntax
return Microsoft.CodeAnalysis.SyntaxNode

VisitExpressionStatement() public method

public VisitExpressionStatement ( Microsoft.CodeAnalysis.CSharp.Syntax.ExpressionStatementSyntax node ) : Microsoft.CodeAnalysis.SyntaxNode
node Microsoft.CodeAnalysis.CSharp.Syntax.ExpressionStatementSyntax
return Microsoft.CodeAnalysis.SyntaxNode