SyntaxFactory.SlicePattern Method

Definition

Overloads

SlicePattern(PatternSyntax)

Creates a new SlicePatternSyntax instance.

SlicePattern(SyntaxToken, PatternSyntax)

Creates a new SlicePatternSyntax instance.

SlicePattern(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 SlicePatternSyntax instance.

public static Microsoft.CodeAnalysis.CSharp.Syntax.SlicePatternSyntax SlicePattern (Microsoft.CodeAnalysis.CSharp.Syntax.PatternSyntax? pattern = default);
static member SlicePattern : Microsoft.CodeAnalysis.CSharp.Syntax.PatternSyntax -> Microsoft.CodeAnalysis.CSharp.Syntax.SlicePatternSyntax
Public Shared Function SlicePattern (Optional pattern As PatternSyntax = Nothing) As SlicePatternSyntax

Parameters

pattern
PatternSyntax

Returns

Applies to

SlicePattern(SyntaxToken, 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 SlicePatternSyntax instance.

public static Microsoft.CodeAnalysis.CSharp.Syntax.SlicePatternSyntax SlicePattern (Microsoft.CodeAnalysis.SyntaxToken dotDotToken, Microsoft.CodeAnalysis.CSharp.Syntax.PatternSyntax? pattern);
static member SlicePattern : Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.CSharp.Syntax.PatternSyntax -> Microsoft.CodeAnalysis.CSharp.Syntax.SlicePatternSyntax
Public Shared Function SlicePattern (dotDotToken As SyntaxToken, pattern As PatternSyntax) As SlicePatternSyntax

Parameters

dotDotToken
SyntaxToken
pattern
PatternSyntax

Returns

Applies to