SyntaxFactory.DefaultConstraint Method

Definition

Overloads

DefaultConstraint()

Creates a new DefaultConstraintSyntax instance.

DefaultConstraint(SyntaxToken)

Creates a new DefaultConstraintSyntax instance.

DefaultConstraint()

Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs

Creates a new DefaultConstraintSyntax instance.

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

Returns

Applies to

DefaultConstraint(SyntaxToken)

Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs

Creates a new DefaultConstraintSyntax instance.

public static Microsoft.CodeAnalysis.CSharp.Syntax.DefaultConstraintSyntax DefaultConstraint (Microsoft.CodeAnalysis.SyntaxToken defaultKeyword);
static member DefaultConstraint : Microsoft.CodeAnalysis.SyntaxToken -> Microsoft.CodeAnalysis.CSharp.Syntax.DefaultConstraintSyntax
Public Shared Function DefaultConstraint (defaultKeyword As SyntaxToken) As DefaultConstraintSyntax

Parameters

defaultKeyword
SyntaxToken

Returns

Applies to