Property | Type | Description | |
---|---|---|---|
cancellationTokenSymbol | ITypeSymbol | ||
displacement | int | ||
excludeTypes | HashSet |
||
extensionMethodLookup | |||
lambdaStack | Stack |
||
log | IAsyncRewriterLogger | ||
semanticModel | Microsoft.CodeAnalysis.SemanticModel |
Method | Description | |
---|---|---|
VisitAnonymousMethodExpression ( Microsoft.CodeAnalysis.CSharp.Syntax.AnonymousMethodExpressionSyntax node ) : Microsoft.CodeAnalysis.SyntaxNode | ||
VisitInvocationExpression ( InvocationExpressionSyntax node ) : Microsoft.CodeAnalysis.SyntaxNode | ||
VisitParenthesizedLambdaExpression ( Microsoft.CodeAnalysis.CSharp.Syntax.ParenthesizedLambdaExpressionSyntax node ) : Microsoft.CodeAnalysis.SyntaxNode | ||
VisitSimpleLambdaExpression ( Microsoft.CodeAnalysis.CSharp.Syntax.SimpleLambdaExpressionSyntax node ) : Microsoft.CodeAnalysis.SyntaxNode |
Method | Description | |
---|---|---|
GetArgumentType ( Microsoft.CodeAnalysis.CSharp.Syntax.ArgumentSyntax syntax ) : ITypeSymbol | ||
InspectExpression ( InvocationExpressionSyntax node, int cancellationTokenPos, IMethodSymbol candidate, bool explicitExtensionMethodCall ) : ExpressionSyntax | ||
MethodInvocationInspector ( IAsyncRewriterLogger log, |
Method | Description | |
---|---|---|
GetInvocationTargetType ( int pos, InvocationExpressionSyntax node, IMethodSymbol methodSymbol ) : ITypeSymbol |
protected GetArgumentType ( Microsoft.CodeAnalysis.CSharp.Syntax.ArgumentSyntax syntax ) : ITypeSymbol | ||
syntax | Microsoft.CodeAnalysis.CSharp.Syntax.ArgumentSyntax | |
return | ITypeSymbol |
protected abstract InspectExpression ( InvocationExpressionSyntax node, int cancellationTokenPos, IMethodSymbol candidate, bool explicitExtensionMethodCall ) : ExpressionSyntax | ||
node | InvocationExpressionSyntax | |
cancellationTokenPos | int | |
candidate | IMethodSymbol | |
explicitExtensionMethodCall | bool | |
return | ExpressionSyntax |
protected MethodInvocationInspector ( IAsyncRewriterLogger log, |
||
log | IAsyncRewriterLogger | |
extensionMethodLookup | ||
semanticModel | Microsoft.CodeAnalysis.SemanticModel | |
excludeTypes | HashSet |
|
cancellationTokenSymbol | ITypeSymbol | |
methodSyntax | Microsoft.CodeAnalysis.CSharp.Syntax.MethodDeclarationSyntax | |
return | System |
public VisitAnonymousMethodExpression ( Microsoft.CodeAnalysis.CSharp.Syntax.AnonymousMethodExpressionSyntax node ) : Microsoft.CodeAnalysis.SyntaxNode | ||
node | Microsoft.CodeAnalysis.CSharp.Syntax.AnonymousMethodExpressionSyntax | |
return | Microsoft.CodeAnalysis.SyntaxNode |
public VisitInvocationExpression ( InvocationExpressionSyntax node ) : Microsoft.CodeAnalysis.SyntaxNode | ||
node | InvocationExpressionSyntax | |
return | Microsoft.CodeAnalysis.SyntaxNode |
public VisitParenthesizedLambdaExpression ( Microsoft.CodeAnalysis.CSharp.Syntax.ParenthesizedLambdaExpressionSyntax node ) : Microsoft.CodeAnalysis.SyntaxNode | ||
node | Microsoft.CodeAnalysis.CSharp.Syntax.ParenthesizedLambdaExpressionSyntax | |
return | Microsoft.CodeAnalysis.SyntaxNode |
public VisitSimpleLambdaExpression ( Microsoft.CodeAnalysis.CSharp.Syntax.SimpleLambdaExpressionSyntax node ) : Microsoft.CodeAnalysis.SyntaxNode | ||
node | Microsoft.CodeAnalysis.CSharp.Syntax.SimpleLambdaExpressionSyntax | |
return | Microsoft.CodeAnalysis.SyntaxNode |
protected ITypeSymbol cancellationTokenSymbol | ||
return | ITypeSymbol |
protected CompilationLookup,Shaolinq.AsyncRewriter extensionMethodLookup | ||
return |