31 references to RefType
Microsoft.CodeAnalysis.CSharp (18)
_generated\1\Syntax.xml.Internal.Generated.cs (4)
28967var cached = CSharpSyntaxNodeCache.TryGetNode((int)SyntaxKind.RefType, refKeyword, readOnlyKeyword, type, this.context, out hash); 28970var result = new RefTypeSyntax(SyntaxKind.RefType, refKeyword, readOnlyKeyword, type, this.context); 34394var cached = SyntaxNodeCache.TryGetNode((int)SyntaxKind.RefType, refKeyword, readOnlyKeyword, type, out hash); 34397var result = new RefTypeSyntax(SyntaxKind.RefType, refKeyword, readOnlyKeyword, type);
_generated\2\Syntax.xml.Syntax.Generated.cs (1)
988/// <item><description><see cref="SyntaxKind.RefType"/></description></item>
Binder\Binder_Expressions.cs (1)
852case SyntaxKind.RefType:
Binder\Binder_Symbols.cs (1)
490case SyntaxKind.RefType:
Compilation\CSharpSemanticModel.cs (1)
103case SyntaxKind.RefType:
Compilation\MemberSemanticModel.cs (1)
2341case SyntaxKind.RefType:
Parser\LanguageParser.cs (5)
2771if ((!haveAttributes || !IsScript) && !haveModifiers && (type.Kind == SyntaxKind.RefType || !IsOperatorStart(out _, advanceParser: false))) 2863!type.IsMissing && type.Kind != SyntaxKind.RefType && 3077if (attributes.Count == 0 && modifiers.Count == 0 && type.IsMissing && type.Kind != SyntaxKind.RefType) 3167if (type.Kind != SyntaxKind.RefType && 3342if (type.Kind != SyntaxKind.RefType)
Syntax\InternalSyntax\TypeSyntax.cs (1)
19public bool IsRef => Kind == SyntaxKind.RefType;
Syntax\SyntaxExtensions.cs (1)
454case SyntaxKind.RefType:
Syntax\SyntaxFacts.cs (1)
153case RefType:
Syntax\SyntaxNodeExtensions.cs (1)
250if (syntax.Kind() == SyntaxKind.RefType)
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (2)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Extensions\ContextQuery\SyntaxTreeExtensions.cs (2)
602return incompleteMember.Type.IsKind(SyntaxKind.RefType); 1806if (parent is (kind: SyntaxKind.RefType or SyntaxKind.RefExpression or SyntaxKind.LocalDeclarationStatement))
Microsoft.CodeAnalysis.CSharp.Features (7)
CodeRefactorings\InlineTemporary\InlineTemporaryCodeRefactoringProvider.cs (1)
69if (variableDeclaration.Type.Kind() == SyntaxKind.RefType)
Completion\CompletionProviders\CompletionUtilities.cs (1)
341if (prevToken.Kind() is SyntaxKind.RefKeyword or SyntaxKind.ReadOnlyKeyword && prevToken.Parent.IsKind(SyntaxKind.RefType))
Completion\KeywordRecommenders\DynamicKeywordRecommender.cs (1)
73context.TargetToken.Parent.IsKind(SyntaxKind.RefType);
Completion\KeywordRecommenders\ReadOnlyKeywordRecommender.cs (1)
43(context.TargetToken.Parent.IsKind(SyntaxKind.RefType) ||
EditAndContinue\CSharpEditAndContinueAnalyzer.cs (2)
1914case SyntaxKind.RefType: 2240case SyntaxKind.RefType:
EditAndContinue\SyntaxComparer.cs (1)
516case SyntaxKind.RefType:
Microsoft.CodeAnalysis.CSharp.Workspaces (2)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Extensions\ContextQuery\SyntaxTreeExtensions.cs (2)
602return incompleteMember.Type.IsKind(SyntaxKind.RefType); 1806if (parent is (kind: SyntaxKind.RefType or SyntaxKind.RefExpression or SyntaxKind.LocalDeclarationStatement))
Roslyn.Diagnostics.CSharp.Analyzers (2)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Extensions\ContextQuery\SyntaxTreeExtensions.cs (2)
602return incompleteMember.Type.IsKind(SyntaxKind.RefType); 1806if (parent is (kind: SyntaxKind.RefType or SyntaxKind.RefExpression or SyntaxKind.LocalDeclarationStatement))