C# Class Shaolinq.AsyncRewriter.AsyncMethodValidator

Inheritance: MethodInvocationAsyncRewriter
ファイルを表示 Open project: tumtumtum/Shaolinq Class Usage Examples

Public Methods

Method Description
Validate ( Microsoft.CodeAnalysis.CSharp.Syntax.MethodDeclarationSyntax methodSyntax, IAsyncRewriterLogger log, CompilationLookup extensionMethodLookup, Microsoft.CodeAnalysis.SemanticModel semanticModel, HashSet excludeTypes, ITypeSymbol cancellationTokenSymbol ) : List

Protected Methods

Method Description
InspectExpression ( InvocationExpressionSyntax node, int cancellationTokenPos, IMethodSymbol candidate, bool explicitExtensionMethodCall ) : ExpressionSyntax

Private Methods

Method Description
AsyncMethodValidator ( IAsyncRewriterLogger log, CompilationLookup extensionMethodLookup, Microsoft.CodeAnalysis.SemanticModel semanticModel, HashSet excludeTypes, ITypeSymbol cancellationTokenSymbol, Microsoft.CodeAnalysis.CSharp.Syntax.MethodDeclarationSyntax methodSyntax ) : System.Collections.Generic

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

Validate() public static method

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