SyntaxFactory.SlicePattern 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
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
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
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