4 references to WithNamespaceOrType
Microsoft.CodeAnalysis.CSharp (1)
Syntax\UsingDirectiveSyntax.cs (1)
28
=>
WithNamespaceOrType
(name);
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (1)
src\Analyzers\CSharp\CodeFixes\MisplacedUsingDirectives\MisplacedUsingDirectivesCodeFixProvider.cs (1)
190
return usingDirective.
WithNamespaceOrType
(newType);
Microsoft.CodeAnalysis.CSharp.Features (1)
src\Analyzers\CSharp\CodeFixes\MisplacedUsingDirectives\MisplacedUsingDirectivesCodeFixProvider.cs (1)
190
return usingDirective.
WithNamespaceOrType
(newType);
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (1)
Generated\Syntax.Test.xml.Generated.cs (1)
12985
var newNode = node.WithGlobalKeyword(node.GlobalKeyword).WithUsingKeyword(node.UsingKeyword).WithStaticKeyword(node.StaticKeyword).WithUnsafeKeyword(node.UnsafeKeyword).WithAlias(node.Alias).
WithNamespaceOrType
(node.NamespaceOrType).WithSemicolonToken(node.SemicolonToken);