30 references to DottedName
ILLink.CodeFixProvider (1)
DynamicallyAccessedMembersCodeFixProvider.cs (1)
135 var attributeArguments = new[] { generator.AttributeArgument (generator.MemberAccessExpression (generator.DottedName ("System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes"), stringArguments)) };
Microsoft.CodeAnalysis.CSharp.Workspaces (4)
CodeGeneration\CSharpSyntaxGenerator.cs (4)
1940BaseNamespaceDeclarationSyntax namespaceDeclaration => ReplaceWithTrivia(declaration, namespaceDeclaration.Name, this.DottedName(name)), 1941UsingDirectiveSyntax usingDeclaration => ReplaceWithTrivia(declaration, usingDeclaration.NamespaceOrType, this.DottedName(name)), 1950ReplaceWithTrivia(declaration, attributeList.Attributes[0].Name, this.DottedName(name)), 1952AttributeSyntax attribute => ReplaceWithTrivia(declaration, attribute.Name, this.DottedName(name)),
Microsoft.CodeAnalysis.CSharp.Workspaces.UnitTests (4)
CodeGeneration\SyntaxGeneratorTests.cs (4)
242VerifySyntax<QualifiedNameSyntax>(Generator.DottedName("x.y"), "x.y"); 251VerifySyntax<QualifiedNameSyntax>(Generator.WithTypeArguments(Generator.DottedName("x.y"), Generator.IdentifierName("z")), "x.y<z>"); 268VerifySyntax<TypeSyntax>(Generator.DottedName("x.y"), "x.y"); 2628AssertNamesEqual(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)
2072Return ReplaceWithTrivia(declaration, DirectCast(declaration, NamespaceBlockSyntax).NamespaceStatement.Name, Me.DottedName(name)) 2084Return ReplaceWithTrivia(declaration, DirectCast(declaration, AttributeSyntax).Name, Me.DottedName(name)) 2088Return ReplaceWithTrivia(declaration, al.Attributes(0).Name, Me.DottedName(name)) 2096Return 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)
950=> NamespaceDeclaration(DottedName(name), declarations); 958=> NamespaceDeclaration(DottedName(name), (IEnumerable<SyntaxNode>)declarations); 984=> NamespaceImportDeclaration(DottedName(name)); 1010=> Attribute(DottedName(name), attributeArguments);
Microsoft.CodeAnalysis.Workspaces.UnitTests (3)
Editing\SyntaxEditorTests.cs (3)
228var args = new[] { syntaxGenerator.AttributeArgument(syntaxGenerator.MemberAccessExpression(syntaxGenerator.DottedName("Sample"), "Attribute")) }; 272var args = new[] { syntaxGenerator.AttributeArgument(syntaxGenerator.MemberAccessExpression(syntaxGenerator.DottedName("Sample"), "Attribute")) }; 315var args = new[] { syntaxGenerator.AttributeArgument(syntaxGenerator.MemberAccessExpression(syntaxGenerator.DottedName("Sample"), "Attribute")) };
Microsoft.Interop.ComInterfaceGenerator (4)
Analyzers\AddMarshalAsToElementFixer.cs (1)
55gen.DottedName(TypeNames.System_Runtime_InteropServices_UnmanagedType),
Analyzers\ConvertComImportToGeneratedComInterfaceFixer.cs (1)
86gen.AttributeArgument("StringMarshalling", gen.MemberAccessExpression(gen.DottedName(TypeNames.StringMarshalling), gen.IdentifierName(nameof(StringMarshalling.Custom)))),
src\libraries\System.Runtime.InteropServices\gen\Common\ConvertToSourceGeneratedInteropFixer.cs (2)
267generator.DottedName(TypeNames.System_Runtime_InteropServices_UnmanagedType), 296generator.DottedName(TypeNames.System_Runtime_InteropServices_UnmanagedType),
Microsoft.Interop.LibraryImportGenerator (3)
Analyzers\AddDisableRuntimeMarshallingAttributeFixer.cs (1)
66editor.Generator.Attribute(editor.Generator.DottedName(TypeNames.System_Runtime_CompilerServices_DisableRuntimeMarshallingAttribute))));
src\libraries\System.Runtime.InteropServices\gen\Common\ConvertToSourceGeneratedInteropFixer.cs (2)
267generator.DottedName(TypeNames.System_Runtime_InteropServices_UnmanagedType), 296generator.DottedName(TypeNames.System_Runtime_InteropServices_UnmanagedType),