Partilhar via


CrefParameterSyntax.WithRefOrOutKeyword(SyntaxToken) Method

Definition

Pre C# 7.2 back-compat overload, which simply calls the replacement method Update(SyntaxToken, TypeSyntax).

public:
 Microsoft::CodeAnalysis::CSharp::Syntax::CrefParameterSyntax ^ WithRefOrOutKeyword(Microsoft::CodeAnalysis::SyntaxToken refOrOutKeyword);
[System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
public Microsoft.CodeAnalysis.CSharp.Syntax.CrefParameterSyntax WithRefOrOutKeyword (Microsoft.CodeAnalysis.SyntaxToken refOrOutKeyword);
[<System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)>]
member this.WithRefOrOutKeyword : Microsoft.CodeAnalysis.SyntaxToken -> Microsoft.CodeAnalysis.CSharp.Syntax.CrefParameterSyntax
Public Function WithRefOrOutKeyword (refOrOutKeyword As SyntaxToken) As CrefParameterSyntax

Parameters

refOrOutKeyword
SyntaxToken

Returns

Attributes

Applies to