2 overrides of WithType
Microsoft.CodeAnalysis.CSharp.Workspaces (1)
CodeGeneration\CSharpSyntaxGenerator.cs (1)
2154public override SyntaxNode WithType(SyntaxNode declaration, SyntaxNode type)
Microsoft.CodeAnalysis.VisualBasic.Workspaces (1)
CodeGeneration\VisualBasicSyntaxGenerator.vb (1)
2080Public Overrides Function WithType(declaration As SyntaxNode, type As SyntaxNode) As SyntaxNode
3 references to WithType
Microsoft.CodeAnalysis.NetAnalyzers (1)
Microsoft.NetCore.Analyzers\Performance\PreferReadOnlySpanOverSpan.Fixer.cs (1)
81editor.ReplaceNode(node, (currentNode, gen) => gen.WithType(currentNode, newTypeNode));
Microsoft.CodeAnalysis.Workspaces (1)
Editing\SyntaxEditorExtensions.cs (1)
30=> editor.ReplaceNode(declaration, (d, g) => g.WithType(d, type));
Microsoft.Interop.LibraryImportGenerator (1)
Analyzers\ConvertToLibraryImportFixer.cs (1)
261generatedDeclaration = editor.Generator.WithType(