Share via


SyntaxFactory.Subpattern Method

Definition

Overloads

Subpattern(PatternSyntax)

Creates a new SubpatternSyntax instance.

Subpattern(BaseExpressionColonSyntax, PatternSyntax)

Creates a new SubpatternSyntax instance.

Subpattern(NameColonSyntax, PatternSyntax)

Creates a new SubpatternSyntax instance.

Subpattern(PatternSyntax)

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
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 SubpatternSyntax instance.

public static Microsoft.CodeAnalysis.CSharp.Syntax.SubpatternSyntax Subpattern (Microsoft.CodeAnalysis.CSharp.Syntax.PatternSyntax pattern);
static member Subpattern : Microsoft.CodeAnalysis.CSharp.Syntax.PatternSyntax -> Microsoft.CodeAnalysis.CSharp.Syntax.SubpatternSyntax
Public Shared Function Subpattern (pattern As PatternSyntax) As SubpatternSyntax

Parameters

pattern
PatternSyntax

Returns

Applies to

Subpattern(BaseExpressionColonSyntax, PatternSyntax)

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 SubpatternSyntax instance.

public static Microsoft.CodeAnalysis.CSharp.Syntax.SubpatternSyntax Subpattern (Microsoft.CodeAnalysis.CSharp.Syntax.BaseExpressionColonSyntax? expressionColon, Microsoft.CodeAnalysis.CSharp.Syntax.PatternSyntax pattern);
static member Subpattern : Microsoft.CodeAnalysis.CSharp.Syntax.BaseExpressionColonSyntax * Microsoft.CodeAnalysis.CSharp.Syntax.PatternSyntax -> Microsoft.CodeAnalysis.CSharp.Syntax.SubpatternSyntax
Public Shared Function Subpattern (expressionColon As BaseExpressionColonSyntax, pattern As PatternSyntax) As SubpatternSyntax

Parameters

expressionColon
BaseExpressionColonSyntax
pattern
PatternSyntax

Returns

Applies to

Subpattern(NameColonSyntax, PatternSyntax)

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:
SubpatternSyntax.cs
Source:
SubpatternSyntax.cs
Source:
SubpatternSyntax.cs
Source:
SubpatternSyntax.cs
Source:
SubpatternSyntax.cs
Source:
SubpatternSyntax.cs
Source:
SubpatternSyntax.cs
Source:
SubpatternSyntax.cs
Source:
SubpatternSyntax.cs
Source:
SubpatternSyntax.cs

Creates a new SubpatternSyntax instance.

public static Microsoft.CodeAnalysis.CSharp.Syntax.SubpatternSyntax Subpattern (Microsoft.CodeAnalysis.CSharp.Syntax.NameColonSyntax nameColon, Microsoft.CodeAnalysis.CSharp.Syntax.PatternSyntax pattern);
public static Microsoft.CodeAnalysis.CSharp.Syntax.SubpatternSyntax Subpattern (Microsoft.CodeAnalysis.CSharp.Syntax.NameColonSyntax? nameColon, Microsoft.CodeAnalysis.CSharp.Syntax.PatternSyntax pattern);
static member Subpattern : Microsoft.CodeAnalysis.CSharp.Syntax.NameColonSyntax * Microsoft.CodeAnalysis.CSharp.Syntax.PatternSyntax -> Microsoft.CodeAnalysis.CSharp.Syntax.SubpatternSyntax
Public Shared Function Subpattern (nameColon As NameColonSyntax, pattern As PatternSyntax) As SubpatternSyntax

Parameters

nameColon
NameColonSyntax
pattern
PatternSyntax

Returns

Applies to