119 references to AliasQualifiedNameSyntax
ConfigurationSchemaGenerator (1)
RuntimeSource\Roslyn\GetBestTypeByMetadataName.cs (1)
181AliasQualifiedNameSyntax alias => alias.Name,
ILLink.RoslynAnalyzer (1)
CompilationExtensions.cs (1)
158 AliasQualifiedNameSyntax alias => alias.Name,
Microsoft.CodeAnalysis.CSharp (29)
Binder\Binder.IdentifierUsedAsValueFinder.cs (1)
137case AliasQualifiedNameSyntax:
Binder\Binder_Invocation.cs (2)
2300var syntax = (AliasQualifiedNameSyntax)argument;
Binder\Binder_Symbols.cs (3)
576var node = (AliasQualifiedNameSyntax)syntax; 2291aliasOpt = ((AliasQualifiedNameSyntax)node).Alias.Identifier.ValueText;
Binder\TypeofBinder.cs (1)
103public override void VisitAliasQualifiedName(AliasQualifiedNameSyntax node)
Binder\WithCrefTypeParametersBinder.cs (1)
83AddTypeParameters(((AliasQualifiedNameSyntax)typeSyntax).Name, map);
Compilation\SyntaxTreeSemanticModel.cs (2)
1736var an = (AliasQualifiedNameSyntax)name;
Compiler\MethodCompiler.cs (1)
2049case AliasQualifiedNameSyntax:
Declarations\DeclarationTreeBuilder.cs (1)
647return ContainsGeneric(((AliasQualifiedNameSyntax)name).Name);
Parser\LanguageParser_Patterns.cs (1)
44case AliasQualifiedNameSyntax a:
Syntax\NameSyntax.cs (3)
25/// If called on an instance of <see cref="AliasQualifiedNameSyntax"/> returns the value of the <see cref="AliasQualifiedNameSyntax.Name"/> property. 52return ((AliasQualifiedNameSyntax)name).Alias.Identifier.ValueText;
Syntax\SyntaxExtensions.cs (2)
475var aliasQualifiedNameSyntax = (AliasQualifiedNameSyntax)type;
Syntax\SyntaxFactory.cs (5)
2082var aliasQualifiedName = (AliasQualifiedNameSyntax)parent; 2158if (((AliasQualifiedNameSyntax)parent).Name == node) 2299var an = (AliasQualifiedNameSyntax)expression;
Syntax\SyntaxFacts.cs (6)
24var p = node.Parent as AliasQualifiedNameSyntax; 43var an = (AliasQualifiedNameSyntax)parent; 73var parent = node.Parent as AliasQualifiedNameSyntax;
Microsoft.CodeAnalysis.CSharp.CodeStyle (7)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\ExpressionSyntaxExtensions.cs (2)
67=> expression?.Parent is AliasQualifiedNameSyntax aliasName && aliasName.Name == expression; 685if (node is AliasQualifiedNameSyntax aliasQualifiedName && aliasQualifiedName.Name != null)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\SemanticModelExtensions.cs (2)
77var aq = (AliasQualifiedNameSyntax)expression;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Services\SyntaxFacts\CSharpSyntaxFacts.cs (1)
1025if (parent is AliasQualifiedNameSyntax aliasQualifiedName)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Utilities\NameSyntaxComparer.cs (2)
92var aliasedName = (AliasQualifiedNameSyntax)name;
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (2)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Extensions\ContextQuery\SyntaxTreeExtensions.cs (1)
2918return ((AliasQualifiedNameSyntax)name.Parent).Name == name;
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Extensions\NameSyntaxExtensions.cs (1)
43nameSyntax = ((AliasQualifiedNameSyntax)nameSyntax).Name;
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (1)
Semantics\PatternMatchingTests2.cs (1)
2036public override SyntaxNode VisitAliasQualifiedName(AliasQualifiedNameSyntax node)
Microsoft.CodeAnalysis.CSharp.Features (9)
AddImport\CSharpAddImportFeatureService.cs (4)
494var aliasQualifiedName = nameSyntax.DescendantNodesAndSelf() 495.OfType<AliasQualifiedNameSyntax>() 548var aliasName = nameSyntax as AliasQualifiedNameSyntax;
CodeRefactorings\SyncNamespace\CSharpChangeNamespaceService.cs (2)
185newNode = TypeCref((AliasQualifiedNameSyntax)newNode!); 406case AliasQualifiedNameSyntax aliasQualifiedNameNode:
Diagnostics\Analyzers\TypeSyntaxSimplifierWalker.cs (1)
159public override void VisitAliasQualifiedName(AliasQualifiedNameSyntax node)
ExtractMethod\CSharpMethodExtractor.CSharpCodeGenerator.ExpressionCodeGenerator.cs (1)
73unqualifiedName = ((AliasQualifiedNameSyntax)expression).Name;
GenerateType\CSharpGenerateTypeService.cs (1)
612if (namespaceDecl.Name is AliasQualifiedNameSyntax)
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (12)
Compilation\SemanticModelAPITests.cs (7)
821var cBase = (cDecl.BaseList.Types[0].Type as AliasQualifiedNameSyntax).Name; 1278var aliasQualifiedSyntax = tree.GetCompilationUnitRoot().DescendantNodes().OfType<AliasQualifiedNameSyntax>().Single(); 1311var aliasQualifiedSyntax = tree.GetCompilationUnitRoot().DescendantNodes().OfType<AliasQualifiedNameSyntax>().Single(); 3846var syntax = tree.GetRoot().DescendantNodes().OfType<AliasQualifiedNameSyntax>().Single();
Compilation\SemanticModelGetSemanticInfoTests.cs (1)
10137var semanticInfo = GetSemanticInfoForTest<AliasQualifiedNameSyntax>(sourceCode);
Symbols\Source\ExternAliasTests.cs (4)
359var left = base1.Left as AliasQualifiedNameSyntax; 482var aliasQualifiedNameSyntax = (AliasQualifiedNameSyntax)usingTargetSyntax.Left;
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (12)
Generated\Syntax.Test.xml.Generated.cs (5)
10241private static AliasQualifiedNameSyntax GenerateAliasQualifiedName() 11011var node = GenerateAliasQualifiedName(); 11016var newNode = node.WithAlias(node.Alias).WithColonColonToken(node.ColonColonToken).WithName(node.Name); 14203var oldNode = GenerateAliasQualifiedName(); 14219var oldNode = GenerateAliasQualifiedName();
IncrementalParsing\NodeValidators.cs (3)
45Assert.IsType<AliasQualifiedNameSyntax>(nameTree); 46var aliasName = nameTree as AliasQualifiedNameSyntax;
Parsing\NameParsingTests.cs (2)
136var an = (AliasQualifiedNameSyntax)name;
Syntax\SyntaxNodeTests.cs (2)
1853var alias = SyntaxFactory.AliasQualifiedName(externAlias, cc, goo); 1858var aliasGeneric = SyntaxFactory.AliasQualifiedName(externAlias, cc, generic);
Microsoft.CodeAnalysis.CSharp.Workspaces (29)
CodeGeneration\CSharpSyntaxGenerator.cs (2)
3409var aname = (AliasQualifiedNameSyntax)expression;
FindSymbols\CSharpDeclaredSymbolInfoFactoryService.cs (2)
651else if (type is AliasQualifiedNameSyntax aliasName) 723case AliasQualifiedNameSyntax aliasQualifiedNameNode:
Recommendations\CSharpRecommendationServiceRunner.cs (2)
134if (node is not (QualifiedNameSyntax or AliasQualifiedNameSyntax)) 166AliasQualifiedNameSyntax aliasName => GetSymbolsOffOfAlias(aliasName.Alias),
Rename\CSharpRenameRewriterLanguageService.cs (1)
457identifierToken = ((AliasQualifiedNameSyntax)expressionOfInvocation).Name.Identifier;
Simplification\CSharpSimplificationService.Expander.cs (2)
496var aliasQualifiedReplacement = (AliasQualifiedNameSyntax)replacement;
Simplification\Reducers\CSharpNameReducer.Rewriter.cs (1)
42public override SyntaxNode VisitAliasQualifiedName(AliasQualifiedNameSyntax node)
Simplification\Reducers\CSharpVarReducer.Rewriter.cs (1)
52public override SyntaxNode VisitAliasQualifiedName(AliasQualifiedNameSyntax node) => ProcessTypeSyntax(node);
Simplification\Simplifiers\AbstractCSharpSimplifier.cs (3)
100if (node is QualifiedNameSyntax or AliasQualifiedNameSyntax) 114if (node is AliasQualifiedNameSyntax aliasQualifiedNameNode) 165if (node is AliasQualifiedNameSyntax aliasQualifiedNameSyntax)
Simplification\Simplifiers\NameSimplifier.cs (6)
222if (name is AliasQualifiedNameSyntax aliasQualifiedName) 312var simpleName = ((AliasQualifiedNameSyntax)name).Name 316((AliasQualifiedNameSyntax)name).Name.Identifier.CopyAnnotationsTo( 318((AliasQualifiedNameSyntax)name).Alias.Identifier.LeadingTrivia))); 322issueSpan = ((AliasQualifiedNameSyntax)name).Alias.Span; 711return name is AliasQualifiedNameSyntax aliasName &&
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\ExpressionSyntaxExtensions.cs (2)
67=> expression?.Parent is AliasQualifiedNameSyntax aliasName && aliasName.Name == expression; 685if (node is AliasQualifiedNameSyntax aliasQualifiedName && aliasQualifiedName.Name != null)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\SemanticModelExtensions.cs (2)
77var aq = (AliasQualifiedNameSyntax)expression;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Services\SyntaxFacts\CSharpSyntaxFacts.cs (1)
1025if (parent is AliasQualifiedNameSyntax aliasQualifiedName)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Utilities\NameSyntaxComparer.cs (2)
92var aliasedName = (AliasQualifiedNameSyntax)name;
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Extensions\ContextQuery\SyntaxTreeExtensions.cs (1)
2918return ((AliasQualifiedNameSyntax)name.Parent).Name == name;
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Extensions\NameSyntaxExtensions.cs (1)
43nameSyntax = ((AliasQualifiedNameSyntax)nameSyntax).Name;
Microsoft.Extensions.Logging.Generators (1)
src\libraries\Common\src\Roslyn\GetBestTypeByMetadataName.cs (1)
181AliasQualifiedNameSyntax alias => alias.Name,
Microsoft.Extensions.Options.SourceGeneration (1)
src\libraries\Common\src\Roslyn\GetBestTypeByMetadataName.cs (1)
181AliasQualifiedNameSyntax alias => alias.Name,
Microsoft.Gen.Logging (1)
src\Generators\Shared\RoslynExtensions.cs (1)
136AliasQualifiedNameSyntax alias => alias.Name,
Microsoft.Gen.Metrics (1)
src\Generators\Shared\RoslynExtensions.cs (1)
136AliasQualifiedNameSyntax alias => alias.Name,
Microsoft.Interop.ComInterfaceGenerator (1)
src\libraries\Common\src\Roslyn\GetBestTypeByMetadataName.cs (1)
181AliasQualifiedNameSyntax alias => alias.Name,
Microsoft.Interop.LibraryImportGenerator (1)
src\libraries\Common\src\Roslyn\GetBestTypeByMetadataName.cs (1)
181AliasQualifiedNameSyntax alias => alias.Name,
Microsoft.Interop.LibraryImportGenerator.Downlevel (1)
src\libraries\Common\src\Roslyn\GetBestTypeByMetadataName.cs (1)
181AliasQualifiedNameSyntax alias => alias.Name,
Microsoft.Interop.SourceGeneration (1)
src\libraries\Common\src\Roslyn\GetBestTypeByMetadataName.cs (1)
181AliasQualifiedNameSyntax alias => alias.Name,
Microsoft.VisualStudio.LanguageServices.CSharp (6)
CodeModel\CSharpCodeModelService.CodeModelEventCollector.cs (4)
763var oldAliasQualifiedName = (AliasQualifiedNameSyntax)oldName; 764var newAliasQualifiedName = (AliasQualifiedNameSyntax)newName;
CodeModel\CSharpCodeModelService.NodeNameGenerator.cs (2)
48var aliasQualifiedName = (AliasQualifiedNameSyntax)name;
System.Text.Json.SourceGeneration (1)
src\libraries\Common\src\Roslyn\GetBestTypeByMetadataName.cs (1)
181AliasQualifiedNameSyntax alias => alias.Name,
System.Text.RegularExpressions.Generator (1)
src\libraries\Common\src\Roslyn\GetBestTypeByMetadataName.cs (1)
181AliasQualifiedNameSyntax alias => alias.Name,