CrefParameterSyntax.WithRefOrOutKeyword(SyntaxToken) 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.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.