SyntaxFactory.RefType 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
RefType(SyntaxToken, SyntaxToken, SyntaxToken, TypeSyntax) |
Creates a new RefTypeSyntax instance. |
RefType(SyntaxToken, SyntaxToken, TypeSyntax) |
Creates a new RefTypeSyntax instance. |
RefType(SyntaxToken, TypeSyntax) |
Creates a new RefTypeSyntax instance. |
RefType(TypeSyntax) |
Creates a new RefTypeSyntax instance. |
RefType(SyntaxToken, SyntaxToken, SyntaxToken, TypeSyntax)
- Source:
- Syntax.xml.Main.Generated.cs
Creates a new RefTypeSyntax instance.
public static Microsoft.CodeAnalysis.CSharp.Syntax.RefTypeSyntax RefType (Microsoft.CodeAnalysis.SyntaxToken refKeyword, Microsoft.CodeAnalysis.SyntaxToken readOnlyKeyword, Microsoft.CodeAnalysis.SyntaxToken scopedKeyword, Microsoft.CodeAnalysis.CSharp.Syntax.TypeSyntax type);
static member RefType : Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.CSharp.Syntax.TypeSyntax -> Microsoft.CodeAnalysis.CSharp.Syntax.RefTypeSyntax
Public Shared Function RefType (refKeyword As SyntaxToken, readOnlyKeyword As SyntaxToken, scopedKeyword As SyntaxToken, type As TypeSyntax) As RefTypeSyntax
Parameters
- refKeyword
- SyntaxToken
- readOnlyKeyword
- SyntaxToken
- scopedKeyword
- SyntaxToken
- type
- TypeSyntax
Returns
Applies to
RefType(SyntaxToken, SyntaxToken, TypeSyntax)
- 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
- 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:
- RefTypeSyntax.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 RefTypeSyntax instance.
public:
static Microsoft::CodeAnalysis::CSharp::Syntax::RefTypeSyntax ^ RefType(Microsoft::CodeAnalysis::SyntaxToken refKeyword, Microsoft::CodeAnalysis::SyntaxToken readOnlyKeyword, Microsoft::CodeAnalysis::CSharp::Syntax::TypeSyntax ^ type);
public static Microsoft.CodeAnalysis.CSharp.Syntax.RefTypeSyntax RefType (Microsoft.CodeAnalysis.SyntaxToken refKeyword, Microsoft.CodeAnalysis.SyntaxToken readOnlyKeyword, Microsoft.CodeAnalysis.CSharp.Syntax.TypeSyntax type);
static member RefType : Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.CSharp.Syntax.TypeSyntax -> Microsoft.CodeAnalysis.CSharp.Syntax.RefTypeSyntax
Public Shared Function RefType (refKeyword As SyntaxToken, readOnlyKeyword As SyntaxToken, type As TypeSyntax) As RefTypeSyntax
Parameters
- refKeyword
- SyntaxToken
- readOnlyKeyword
- SyntaxToken
- type
- TypeSyntax
Returns
Applies to
RefType(SyntaxToken, TypeSyntax)
- Source:
- RefTypeSyntax.cs
- Source:
- RefTypeSyntax.cs
- Source:
- RefTypeSyntax.cs
- Source:
- RefTypeSyntax.cs
- Source:
- RefTypeSyntax.cs
- Source:
- RefTypeSyntax.cs
- Source:
- RefTypeSyntax.cs
- Source:
- RefTypeSyntax.cs
- Source:
- RefTypeSyntax.cs
- Source:
- RefTypeSyntax.cs
- Source:
- RefTypeSyntax.cs
- Source:
- RefTypeSyntax.cs
- Source:
- RefTypeSyntax.cs
- Source:
- RefTypeSyntax.cs
- Source:
- RefTypeSyntax.cs
- Source:
- RefTypeSyntax.cs
- Source:
- RefTypeSyntax.cs
- Source:
- RefTypeSyntax.cs
- Source:
- RefTypeSyntax.cs
- Source:
- RefTypeSyntax.cs
- Source:
- RefTypeSyntax.cs
- Source:
- RefTypeSyntax.cs
- Source:
- RefTypeSyntax.cs
Creates a new RefTypeSyntax instance.
public:
static Microsoft::CodeAnalysis::CSharp::Syntax::RefTypeSyntax ^ RefType(Microsoft::CodeAnalysis::SyntaxToken refKeyword, Microsoft::CodeAnalysis::CSharp::Syntax::TypeSyntax ^ type);
public static Microsoft.CodeAnalysis.CSharp.Syntax.RefTypeSyntax RefType (Microsoft.CodeAnalysis.SyntaxToken refKeyword, Microsoft.CodeAnalysis.CSharp.Syntax.TypeSyntax type);
static member RefType : Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.CSharp.Syntax.TypeSyntax -> Microsoft.CodeAnalysis.CSharp.Syntax.RefTypeSyntax
Public Shared Function RefType (refKeyword As SyntaxToken, type As TypeSyntax) As RefTypeSyntax
Parameters
- refKeyword
- SyntaxToken
- type
- TypeSyntax
Returns
Applies to
RefType(TypeSyntax)
- 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
- 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
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
Creates a new RefTypeSyntax instance.
public:
static Microsoft::CodeAnalysis::CSharp::Syntax::RefTypeSyntax ^ RefType(Microsoft::CodeAnalysis::CSharp::Syntax::TypeSyntax ^ type);
public static Microsoft.CodeAnalysis.CSharp.Syntax.RefTypeSyntax RefType (Microsoft.CodeAnalysis.CSharp.Syntax.TypeSyntax type);
static member RefType : Microsoft.CodeAnalysis.CSharp.Syntax.TypeSyntax -> Microsoft.CodeAnalysis.CSharp.Syntax.RefTypeSyntax
Public Shared Function RefType (type As TypeSyntax) As RefTypeSyntax
Parameters
- type
- TypeSyntax
Returns
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.