20 references to Type
Microsoft.CodeAnalysis.CSharp (6)
Binder\Binder_Symbols.cs (1)
701var argumentType = BindType(argumentSyntax.Type, diagnostics, basesBeingResolved);
Syntax.xml.Main.Generated.cs (1)
1555=> node.Update((TypeSyntax?)Visit(node.Type) ?? throw new ArgumentNullException("type"), VisitToken(node.Identifier));
Syntax.xml.Syntax.Generated.cs (2)
930if (type != this.Type || identifier != this.Identifier) 941public TupleElementSyntax WithIdentifier(SyntaxToken identifier) => Update(this.Type, identifier);
Syntax\SyntaxExtensions.cs (1)
451stack.Push(tupleTypeSyntax.Elements[i].Type);
Syntax\SyntaxFacts.cs (1)
219return ((TupleElementSyntax)parent).Type == node;
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (3)
src\Analyzers\CSharp\CodeFixes\Nullable\CSharpDeclareAsNullableCodeFixProvider.cs (2)
191return tupleElement.Type; 199return tupleElement.Type;
src\Analyzers\CSharp\CodeFixes\UseDeconstruction\CSharpUseDeconstructionCodeFixProvider.cs (1)
182node.Type,
Microsoft.CodeAnalysis.CSharp.Features (5)
Completion\CompletionProviders\DeclarationName\DeclarationNameInfo.cs (1)
100tupleElement => tupleElement.Type,
SolutionExplorer\CSharpSolutionExplorerSymbolTreeItemProvider.cs (1)
462AppendType(tupleElement.Type, builder);
src\Analyzers\CSharp\CodeFixes\Nullable\CSharpDeclareAsNullableCodeFixProvider.cs (2)
191return tupleElement.Type; 199return tupleElement.Type;
src\Analyzers\CSharp\CodeFixes\UseDeconstruction\CSharpUseDeconstructionCodeFixProvider.cs (1)
182node.Type,
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (6)
Generated\Syntax.Test.xml.Generated.cs (2)
11293Assert.NotNull(node.Type); 11295var newNode = node.WithType(node.Type).WithIdentifier(node.Identifier);
Parsing\StatementParsingTests.cs (4)
258Assert.Equal(SyntaxKind.PredefinedType, tt.Elements[0].Type.Kind()); 292Assert.Equal(SyntaxKind.IdentifierName, tt.Elements[0].Type.Kind()); 296tt = (TupleTypeSyntax)tt.Elements[1].Type; 299Assert.Equal(SyntaxKind.IdentifierName, tt.Elements[0].Type.Kind());