2 overrides of WithType
Microsoft.CodeAnalysis.CSharp.Workspaces (1)
CodeGeneration\CSharpSyntaxGenerator.cs (1)
2146public 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
2 references to WithType
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(