SyntaxFactory.DefaultConstraint 方法

定义

重载

DefaultConstraint()

创建新的 DefaultConstraintSyntax 实例。

DefaultConstraint(SyntaxToken)

创建新的 DefaultConstraintSyntax 实例。

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

创建新的 DefaultConstraintSyntax 实例。

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

返回

适用于

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

创建新的 DefaultConstraintSyntax 实例。

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

参数

defaultKeyword
SyntaxToken

返回

适用于