23 references to SemanticSearchUtilities
Microsoft.CodeAnalysis.Features (23)
SemanticSearch\SemanticSearchDocumentSupportsFeatureService.cs (5)
18=> SemanticSearchUtilities.IsQueryDocument(document); 21=> SemanticSearchUtilities.IsQueryDocument(document); 24=> SemanticSearchUtilities.IsQueryDocument(document); 27=> SemanticSearchUtilities.IsQueryDocument(document); 30=> SemanticSearchUtilities.IsQueryDocument(document);
SemanticSearch\SemanticSearchUtilities.cs (1)
27private static readonly string s_thisAssemblyDirectory = Path.GetDirectoryName(typeof(SemanticSearchUtilities).Assembly.Location!)!;
SemanticSearch\SemanticSearchWorkspace.cs (17)
38newText = SemanticSearchUtilities.CreateSourceText(query); 39return oldSolution.WithDocumentText(SemanticSearchUtilities.GetQueryDocumentId(oldSolution), newText); 42newText = SemanticSearchUtilities.CreateSourceText(query ?? config.Query); 46.AddProject(name: SemanticSearchUtilities.QueryProjectName, assemblyName: SemanticSearchUtilities.QueryProjectName, config.Language) 49.AddMetadataReferences(SemanticSearchUtilities.GetMetadataReferences(metadataService, SemanticSearchUtilities.ReferenceAssembliesDirectory)) 50.AddDocument(name: SemanticSearchUtilities.QueryDocumentName, newText, filePath: SemanticSearchUtilities.GetDocumentFilePath(config.Language)).Project 51.AddDocument(name: SemanticSearchUtilities.GlobalUsingsDocumentName, SemanticSearchUtilities.CreateSourceText(config.GlobalUsings), filePath: null).Project 52.AddAnalyzerConfigDocument(name: SemanticSearchUtilities.ConfigDocumentName, SemanticSearchUtilities.CreateSourceText(config.EditorConfig), filePath: SemanticSearchUtilities.GetConfigDocumentFilePath()).Project.Solution; 56? (WorkspaceChangeKind.DocumentChanged, projectId: null, documentId: SemanticSearchUtilities.GetQueryDocumentId(newSolution)) 57: (WorkspaceChangeKind.ProjectAdded, projectId: SemanticSearchUtilities.GetQueryProjectId(newSolution), documentId: null), 62var queryDocument = SemanticSearchUtilities.GetQueryDocument(newSolution);