1 write to _project
Microsoft.CodeAnalysis.LanguageServer (1)
HostWorkspace\WorkspaceProject.cs (1)
23_project = project;
32 references to _project
Microsoft.CodeAnalysis.LanguageServer (32)
HostWorkspace\WorkspaceProject.cs (32)
24_optionsProcessor = new ProjectSystemProjectOptionsProcessor(_project, solutionServices); 35_project.AddAdditionalFile(additionalFilePath); 44_project.AddAdditionalFile(additionalFile.FilePath, folders: [.. additionalFile.FolderNames]); 53_project.AddAnalyzerConfigFile(analyzerConfigPath); 62_project.AddAnalyzerReference(analyzerPath); 71_project.AddDynamicSourceFile(dynamicFilePath, folders: []); 80_project.AddMetadataReference(metadataReference.FilePath, metadataReference.CreateProperties()); 89_project.AddSourceFile(sourceFile.FilePath, folders: [.. sourceFile.FolderNames]); 95_project.RemoveFromWorkspace(); 103_project.RemoveAdditionalFile(additionalFilePath); 112_project.RemoveAnalyzerConfigFile(analyzerConfigPath); 121_project.RemoveAnalyzerReference(analyzerPath); 130_project.RemoveDynamicSourceFile(dynamicFilePath); 139_project.RemoveMetadataReference(metadataReference.FilePath, metadataReference.CreateProperties()); 148_project.RemoveSourceFile(sourceFile); 164case "AssemblyName": _project.AssemblyName = value; break; 165case "IntermediateAssembly": _project.CompilationOutputAssemblyFilePath = GetFullyQualifiedPath(valueOrNull); break; 166case "MaxSupportedLangVersion": _project.MaxLangVersion = value; break; 167case "RootNamespace": _project.DefaultNamespace = valueOrNull; break; 168case "RunAnalyzers": _project.RunAnalyzers = bool.Parse(valueOrNull ?? bool.TrueString); break; 169case "RunAnalyzersDuringLiveAnalysis": _project.RunAnalyzersDuringLiveAnalysis = bool.Parse(valueOrNull ?? bool.TrueString); break; 170case "TargetPath": _project.OutputFilePath = GetFullyQualifiedPath(valueOrNull); break; 171case "TargetRefPath": _project.OutputRefFilePath = GetFullyQualifiedPath(valueOrNull); break; 172case "CompilerGeneratedFilesOutputPath": _project.GeneratedFilesOutputDirectory = GetFullyQualifiedPath(valueOrNull); break; 173case "TargetFrameworkIdentifier": _targetFrameworkManager.UpdateIdentifierForProject(_project.Id, valueOrNull); break; 179Contract.ThrowIfNull(_project.FilePath, "We don't have a project path at this point."); 184fileDirectory ??= Path.GetDirectoryName(_project.FilePath); 202return RunAndReportNFWAsync(() => _project.DisplayName = displayName, cancellationToken); 207return RunAndReportNFWAsync(() => _project.HasAllInformation = hasAllInformation, cancellationToken); 213var disposableBatchScope = await _project.CreateBatchScopeAsync(cancellationToken).ConfigureAwait(false); 216return new WorkspaceProjectBatch(_project.CreateBatchScope(), _logger); 223var disposableBatchScope = await _project.CreateBatchScopeAsync(cancellationToken).ConfigureAwait(false);