SyntaxFactory.RefStructConstraint Method

Definition

Overloads

RefStructConstraint(SyntaxToken, SyntaxToken)

Creates a new RefStructConstraintSyntax instance.

RefStructConstraint()

Creates a new RefStructConstraintSyntax instance.

RefStructConstraint(SyntaxToken, SyntaxToken)

Source:
Syntax.xml.Main.Generated.cs

Creates a new RefStructConstraintSyntax instance.

public static Microsoft.CodeAnalysis.CSharp.Syntax.RefStructConstraintSyntax RefStructConstraint (Microsoft.CodeAnalysis.SyntaxToken refKeyword, Microsoft.CodeAnalysis.SyntaxToken structKeyword);
static member RefStructConstraint : Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.SyntaxToken -> Microsoft.CodeAnalysis.CSharp.Syntax.RefStructConstraintSyntax
Public Shared Function RefStructConstraint (refKeyword As SyntaxToken, structKeyword As SyntaxToken) As RefStructConstraintSyntax

Parameters

refKeyword
SyntaxToken
structKeyword
SyntaxToken

Returns

Applies to

RefStructConstraint()

Source:
Syntax.xml.Main.Generated.cs

Creates a new RefStructConstraintSyntax instance.

public static Microsoft.CodeAnalysis.CSharp.Syntax.RefStructConstraintSyntax RefStructConstraint ();
static member RefStructConstraint : unit -> Microsoft.CodeAnalysis.CSharp.Syntax.RefStructConstraintSyntax
Public Shared Function RefStructConstraint () As RefStructConstraintSyntax

Returns

Applies to