diff --git a/src/Features/Core/Portable/AddImport/CodeActions/PackageReference.InstallPackageAndAddImportCodeAction.cs b/src/Features/Core/Portable/AddImport/CodeActions/PackageReference.InstallPackageAndAddImportCodeAction.cs
index 75d8f249993faf19225607633e1428e301c8e7e6..56a8ce044b9597ce97b400a454b70196567b7334 100644
--- a/src/Features/Core/Portable/AddImport/CodeActions/PackageReference.InstallPackageAndAddImportCodeAction.cs
+++ b/src/Features/Core/Portable/AddImport/CodeActions/PackageReference.InstallPackageAndAddImportCodeAction.cs
@@ -28,17 +28,17 @@ private class InstallPackageAndAddImportCodeAction : CodeAction
/// The document before we added the import. Used so we can roll back if installing
/// the package failed.
///
- public readonly Document OldDocument;
+ private readonly Document OldDocument;
///
/// The document after the import has been added.
///
- public readonly Document NewDocument;
+ private readonly Document NewDocument;
///
/// The operation that will actually install the nuget package.
///
- public readonly InstallPackageDirectlyCodeActionOperation InstallOperation;
+ private readonly InstallPackageDirectlyCodeActionOperation InstallOperation;
public InstallPackageAndAddImportCodeAction(
string title,