SyntaxFactory.RefStructConstraint 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.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.