GenericSymbolWithSyntax Constructors - monkey0506/Monkeymoto.GeneratorUtils.GenericSymbolReferenceTree GitHub Wiki
Initializes a new instance of the GenericSymbolWithSyntax class with the specified symbol and syntax.
| GenericSymbolWithSyntax(IMethodSymbol, IdentifierNameSyntax) |
| GenericSymbolWithSyntax(IMethodSymbol, InvocationExpressionSyntax) |
| GenericSymbolWithSyntax(INamedTypeSymbol, GenericNameSyntax) |
public GenericSymbolWithSyntax(IMethodSymbol methodSymbol, IdentifierNameSyntax identifierNameSyntax)methodSymbol IMethodSymbol
The symbol to associate with identifierNameSyntax.
identifierNameSyntax IdentifierNameSyntax
The syntax to associate with methodSymbol.
ArgumentNullException
methodSymbol or identifierNameSyntax was null.
ArgumentException
methodSymbol was not a generic method.
public GenericSymbolWithSyntax(IMethodSymbol methodSymbol, InvocationExpressionSyntax invocationExpressionSyntax)methodSymbol IMethodSymbol
The symbol to associate with invocationExpressionSyntax.
invocationExpressionSyntax InvocationExpressionSyntax
The syntax to associate with methodSymbol.
ArgumentNullException
methodSymbol or invocationExpressionSyntax was null.
ArgumentException
methodSymbol was not a generic method.
public GenericSymbolWithSyntax(INamedTypeSymbol namedTypeSymbol, GenericNameSyntax genericNameSyntax)namedTypeSymbol INamedTypeSymbol
The symbol to associate with genericNameSyntax.
genericNameSyntax GenericNameSyntax
The syntax to associate with namedTypeSymbol.
ArgumentNullException
namedTypeSymbol or genericNameSyntax was null.
ArgumentException
namedTypeSymbol was not a generic named type.