22 references to DottedName
Microsoft.CodeAnalysis.CSharp.Workspaces (4)
CodeGeneration\CSharpSyntaxGenerator.cs (4)
1925BaseNamespaceDeclarationSyntax namespaceDeclaration => ReplaceWithTrivia(declaration, namespaceDeclaration.Name, this.DottedName(name)), 1926UsingDirectiveSyntax usingDeclaration => ReplaceWithTrivia(declaration, usingDeclaration.NamespaceOrType, this.DottedName(name)), 1935ReplaceWithTrivia(declaration, attributeList.Attributes[0].Name, this.DottedName(name)), 1937AttributeSyntax attribute => ReplaceWithTrivia(declaration, attribute.Name, this.DottedName(name)),
Microsoft.CodeAnalysis.CSharp.Workspaces.UnitTests (4)
CodeGeneration\SyntaxGeneratorTests.cs (4)
243VerifySyntax<QualifiedNameSyntax>(Generator.DottedName("x.y"), "x.y"); 252VerifySyntax<QualifiedNameSyntax>(Generator.WithTypeArguments(Generator.DottedName("x.y"), Generator.IdentifierName("z")), "x.y<z>"); 269VerifySyntax<TypeSyntax>(Generator.DottedName("x.y"), "x.y"); 2595AssertNamesEqual(new[] { "x", "y.z" }, Generator.GetNamespaceImports(Generator.AddNamespaceImports(Generator.CompilationUnit(Generator.IdentifierName("x")), Generator.DottedName("y.z"))));
Microsoft.CodeAnalysis.VisualBasic.Workspaces (4)
CodeGeneration\VisualBasicSyntaxGenerator.vb (4)
2204Return ReplaceWithTrivia(declaration, DirectCast(declaration, NamespaceBlockSyntax).NamespaceStatement.Name, Me.DottedName(name)) 2216Return ReplaceWithTrivia(declaration, DirectCast(declaration, AttributeSyntax).Name, Me.DottedName(name)) 2220Return ReplaceWithTrivia(declaration, al.Attributes(0).Name, Me.DottedName(name)) 2228Return ReplaceWithTrivia(declaration, DirectCast(clause, SimpleImportsClauseSyntax).Name, Me.DottedName(name))
Microsoft.CodeAnalysis.VisualBasic.Workspaces.UnitTests (3)
CodeGeneration\SyntaxGeneratorTests.vb (3)
220VerifySyntax(Of QualifiedNameSyntax)(Generator.DottedName("x.y"), "x.y") 229VerifySyntax(Of QualifiedNameSyntax)(Generator.WithTypeArguments(Generator.DottedName("x.y"), Generator.IdentifierName("z")), "x.y(Of z)") 245VerifySyntax(Of TypeSyntax)(Generator.DottedName("x.y"), "x.y")
Microsoft.CodeAnalysis.Workspaces (4)
Editing\SyntaxGenerator.cs (4)
954=> NamespaceDeclaration(DottedName(name), declarations); 962=> NamespaceDeclaration(DottedName(name), (IEnumerable<SyntaxNode>)declarations); 988=> NamespaceImportDeclaration(DottedName(name)); 1014=> Attribute(DottedName(name), attributeArguments);
Microsoft.CodeAnalysis.Workspaces.UnitTests (3)
Editing\SyntaxEditorTests.cs (3)
232var args = new[] { syntaxGenerator.AttributeArgument(syntaxGenerator.MemberAccessExpression(syntaxGenerator.DottedName("Sample"), "Attribute")) }; 276var args = new[] { syntaxGenerator.AttributeArgument(syntaxGenerator.MemberAccessExpression(syntaxGenerator.DottedName("Sample"), "Attribute")) }; 319var args = new[] { syntaxGenerator.AttributeArgument(syntaxGenerator.MemberAccessExpression(syntaxGenerator.DottedName("Sample"), "Attribute")) };