SyntaxFactory.GetNonGenericExpression(ExpressionSyntax) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Converts a generic name expression into one without the generic arguments.
public:
static Microsoft::CodeAnalysis::CSharp::Syntax::ExpressionSyntax ^ GetNonGenericExpression(Microsoft::CodeAnalysis::CSharp::Syntax::ExpressionSyntax ^ expression);
public static Microsoft.CodeAnalysis.CSharp.Syntax.ExpressionSyntax GetNonGenericExpression (Microsoft.CodeAnalysis.CSharp.Syntax.ExpressionSyntax expression);
public static Microsoft.CodeAnalysis.CSharp.Syntax.ExpressionSyntax? GetNonGenericExpression (Microsoft.CodeAnalysis.CSharp.Syntax.ExpressionSyntax expression);
static member GetNonGenericExpression : Microsoft.CodeAnalysis.CSharp.Syntax.ExpressionSyntax -> Microsoft.CodeAnalysis.CSharp.Syntax.ExpressionSyntax
Public Shared Function GetNonGenericExpression (expression As ExpressionSyntax) As ExpressionSyntax
Parameters
- expression
- ExpressionSyntax