WithExpression(ExpressionSyntax) Method

// .NET Standard 2.0 + Platform Extensions
// Microsoft.CodeAnalysis.CSharp, Version=2.3.0.0, PublicKeyToken=31bf3856ad364e35

namespace Microsoft.CodeAnalysis.CSharp.Syntax
{
    public sealed class ConstantPatternSyntax : PatternSyntax
    {
        public ConstantPatternSyntax WithExpression(ExpressionSyntax expression);
    }
}

Usage

Metadata

ID
M:Microsoft.CodeAnalysis.CSharp.Syntax.ConstantPatternSyntax.WithExpression(Microsoft.CodeAnalysis.CSharp.Syntax.ExpressionSyntax)

Declarations

Platform Version Assembly
.NET Core + Platform Extensions 2.0 Microsoft.CodeAnalysis.CSharp, Version=2.3.0.0, PublicKeyToken=31bf3856ad364e35
2.1 Microsoft.CodeAnalysis.CSharp, Version=2.8.0.0, PublicKeyToken=31bf3856ad364e35
2.2 Microsoft.CodeAnalysis.CSharp, Version=2.8.0.0, PublicKeyToken=31bf3856ad364e35
.NET Standard + Platform Extensions 1.6 Microsoft.CodeAnalysis.CSharp, Version=2.0.0.0, PublicKeyToken=31bf3856ad364e35
2.0 Microsoft.CodeAnalysis.CSharp, Version=2.3.0.0, PublicKeyToken=31bf3856ad364e35
ASP.NET Core 2.0 Microsoft.CodeAnalysis.CSharp, Version=2.3.0.0, PublicKeyToken=31bf3856ad364e35