1 write to _project
Microsoft.VisualStudio.LanguageServices (1)
ProjectSystem\BrokeredService\WorkspaceProject.cs (1)
24
_project
= project;
31 references to _project
Microsoft.VisualStudio.LanguageServices (31)
ProjectSystem\BrokeredService\WorkspaceProject.cs (31)
29
_project
.Dispose();
34
await using var batch =
_project
.CreateBatchScope().ConfigureAwait(false);
37
_project
.AddAdditionalFile(additionalFilePath);
42
await using var batch =
_project
.CreateBatchScope().ConfigureAwait(false);
45
_project
.RemoveAdditionalFile(additionalFilePath);
50
await using var batch =
_project
.CreateBatchScope().ConfigureAwait(false);
53
_project
.AddAnalyzerConfigFile(analyzerConfigPath);
57
await using var batch =
_project
.CreateBatchScope().ConfigureAwait(false);
60
_project
.RemoveAnalyzerConfigFile(analyzerConfigPath);
65
await using var batch =
_project
.CreateBatchScope().ConfigureAwait(false);
68
_project
.AddAnalyzerReference(analyzerPath);
73
await using var batch =
_project
.CreateBatchScope().ConfigureAwait(false);
76
_project
.RemoveAnalyzerReference(analyzerPath);
81
await using var batch =
_project
.CreateBatchScope().ConfigureAwait(false);
85
_project
.AddMetadataReference(
93
await using var batch =
_project
.CreateBatchScope().ConfigureAwait(false);
98
_project
.RemoveMetadataReference(metadataReference.FilePath);
103
await using var batch =
_project
.CreateBatchScope().ConfigureAwait(false);
107
_project
.AddSourceFile(
114
await using var batch =
_project
.CreateBatchScope().ConfigureAwait(false);
117
_project
.RemoveSourceFile(sourceFile);
122
await using var batch =
_project
.CreateBatchScope().ConfigureAwait(false);
125
_project
.AddDynamicFile(dynamicFilePath);
130
await using var batch =
_project
.CreateBatchScope().ConfigureAwait(false);
133
_project
.RemoveDynamicFile(dynamicFilePath);
138
await using var batch =
_project
.CreateBatchScope().ConfigureAwait(false);
141
_project
.SetProperty(property.Key, property.Value);
146
_project
.SetOptions(arguments.ToImmutableArray());
152
_project
.DisplayName = displayName;
158
_project
.LastDesignTimeBuildSucceeded = hasAllInformation;
164
return Task.FromResult<IWorkspaceProjectBatch>(new WorkspaceProjectBatch(
_project
.CreateBatchScope()));