1 implementation of CreateSyntaxTree
Microsoft.CodeAnalysis.Workspaces (1)
Workspace\Host\SyntaxTreeFactory\AbstractSyntaxTreeFactoryService.cs (1)
20public abstract SyntaxTree CreateSyntaxTree(string filePath, ParseOptions options, SourceText text, Encoding encoding, SourceHashAlgorithm checksumAlgorithm, SyntaxNode root);
6 references to CreateSyntaxTree
Microsoft.CodeAnalysis.ExternalAccess.Copilot (1)
SemanticSearch\CopilotSemanticSearchUtilities.cs (1)
31=> services.GetRequiredLanguageService<ISyntaxTreeFactoryService>(language).CreateSyntaxTree(filePath, options, text, encoding, checksumAlgorithm, root);
Microsoft.CodeAnalysis.Workspaces (5)
Workspace\Solution\DocumentState.cs (2)
359newTree = treeFactory.CreateSyntaxTree(Attributes.SyntaxTreeFilePath, options, text: null, existingTree.Encoding, LoadTextOptions.ChecksumAlgorithm, existingRoot); 538var tree = factory.CreateSyntaxTree(attributes.SyntaxTreeFilePath, options, text: null, encoding, checksumAlgorithm, newRoot);
Workspace\Solution\DocumentState_LinkedFileReuse.cs (1)
155var newTree = treeFactory.CreateSyntaxTree(
Workspace\Solution\SourceGeneratedDocumentState.cs (2)
107var newTree = factory.CreateSyntaxTree(documentIdentity.FilePath, parseOptions, generatedSourceText, generatedSourceText.Encoding, generatedSourceText.ChecksumAlgorithm, syntaxNode); 239var newTree = factory.CreateSyntaxTree(Attributes.SyntaxTreeFilePath, ParseOptions, sourceText, sourceText.Encoding, sourceText.ChecksumAlgorithm, newRoot);