1 override of WithType
Microsoft.CodeAnalysis.CSharp.Workspaces (1)
CodeGeneration\CSharpSyntaxGenerator.cs (1)
2154
public override SyntaxNode
WithType
(SyntaxNode declaration, SyntaxNode type)
3 references to WithType
Microsoft.CodeAnalysis.NetAnalyzers (1)
Microsoft.NetCore.Analyzers\Performance\PreferReadOnlySpanOverSpan.Fixer.cs (1)
95
editor.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)
261
generatedDeclaration = editor.Generator.
WithType
(