49 references to Type
Microsoft.CodeAnalysis.CSharp (13)
Binder\Binder_Expressions.cs (3)
3172typeSyntax = refType.Type; 3216typeSyntax = refType.Type; 3267typeSyntax = refType.Type;
Binder\Binder_Symbols.cs (1)
505return BindNamespaceOrTypeOrAliasSymbol(refTypeSyntax.Type, diagnostics, basesBeingResolved, suppressUseSiteDiagnostics);
Binder\ForEachLoopBinder.cs (1)
302typeSyntax = refType.Type;
Syntax.xml.Main.Generated.cs (1)
1561=> node.Update(VisitToken(node.RefKeyword), VisitToken(node.ReadOnlyKeyword), (TypeSyntax?)Visit(node.Type) ?? throw new ArgumentNullException("type"));
Syntax.xml.Syntax.Generated.cs (3)
1023if (refKeyword != this.RefKeyword || readOnlyKeyword != this.ReadOnlyKeyword || type != this.Type) 1033public RefTypeSyntax WithRefKeyword(SyntaxToken refKeyword) => Update(refKeyword, this.ReadOnlyKeyword, this.Type); 1034public RefTypeSyntax WithReadOnlyKeyword(SyntaxToken readOnlyKeyword) => Update(this.RefKeyword, readOnlyKeyword, this.Type);
Syntax\SyntaxExtensions.cs (1)
456stack.Push(refTypeSyntax.Type);
Syntax\SyntaxFacts.cs (1)
154return ((RefTypeSyntax)parent).Type == node;
Syntax\SyntaxNodeExtensions.cs (2)
280return refType.Type; 303if (parentNode is RefTypeSyntax refType && refType.Type == syntax)
Microsoft.CodeAnalysis.CSharp.CodeStyle (1)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\TypeSyntaxExtensions.cs (1)
53=> type is RefTypeSyntax refType ? refType.Type : type;
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (1)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\LanguageServices\CSharpTypeInferenceService.TypeInferrer.cs (1)
97return GetTypes(refType.Type);
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (3)
CodeGen\CodeGenRefLocalTests.cs (3)
4046var type = refVar.Type; 4083var type = refVar.Type; 4117var type = refInt.Type;
Microsoft.CodeAnalysis.CSharp.Features (1)
SolutionExplorer\CSharpSolutionExplorerSymbolTreeItemProvider.cs (1)
414AppendType(refType.Type, builder);
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (22)
Semantics\RefFieldTests.cs (21)
12156type = refType.Type; 12220type = refType.Type; 12290type = refType.Type; 12479type = refType.Type; 12511type = refType.Type; 12659type = refType.Type; 12687type = refType.Type; 12890type = refType.Type; 12924type = refType.Type; 13066type = refType.Type; 13094type = refType.Type; 13532type = refType.Type; 13596type = refType.Type; 13673type = refType.Type; 13743type = refType.Type; 14690type = refType.Type; 14934type = refType.Type; 14962type = refType.Type; 15225type = refType.Type; 27689type = refType.Type; 27779type = refType.Type;
Semantics\RefLocalsAndReturnsTests.cs (1)
5221type = refType.Type;
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (3)
Generated\Syntax.Test.xml.Generated.cs (2)
11316Assert.NotNull(node.Type); 11317var newNode = node.WithRefKeyword(node.RefKeyword).WithReadOnlyKeyword(node.ReadOnlyKeyword).WithType(node.Type);
Parsing\DeclarationParsingTests.cs (1)
2864Assert.Equal("int", rt.Type.ToString());
Microsoft.CodeAnalysis.CSharp.Workspaces (3)
Classification\SyntaxClassification\NameSyntaxClassifier.cs (1)
275name.CheckParent<RefTypeSyntax>(v => v.Type == name) ||
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\TypeSyntaxExtensions.cs (1)
53=> type is RefTypeSyntax refType ? refType.Type : type;
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\LanguageServices\CSharpTypeInferenceService.TypeInferrer.cs (1)
97return GetTypes(refType.Type);
Roslyn.Diagnostics.CSharp.Analyzers (2)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\TypeSyntaxExtensions.cs (1)
53=> type is RefTypeSyntax refType ? refType.Type : type;
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\LanguageServices\CSharpTypeInferenceService.TypeInferrer.cs (1)
97return GetTypes(refType.Type);