Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1)

Unified Diff: obsolete/Microsoft.VisualStudio.Project/Automation/OANestedProjectItem.cs

Issue 10928195: First round of dead file removal (Closed) Base URL: https://github.com/samclegg/nativeclient-sdk.git@master
Patch Set: Created 8 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: obsolete/Microsoft.VisualStudio.Project/Automation/OANestedProjectItem.cs
diff --git a/obsolete/Microsoft.VisualStudio.Project/Automation/OANestedProjectItem.cs b/obsolete/Microsoft.VisualStudio.Project/Automation/OANestedProjectItem.cs
deleted file mode 100644
index 6cb94874a2e7862c5de46fe8dce689a7ca46d726..0000000000000000000000000000000000000000
--- a/obsolete/Microsoft.VisualStudio.Project/Automation/OANestedProjectItem.cs
+++ /dev/null
@@ -1,60 +0,0 @@
-/// Copyright (c) Microsoft Corporation. All rights reserved.
-
-using System;
-using System.Diagnostics.CodeAnalysis;
-using System.Runtime.InteropServices;
-using Microsoft.VisualStudio;
-using Microsoft.VisualStudio.Shell.Interop;
-
-namespace Microsoft.VisualStudio.Project.Automation
-{
- [SuppressMessage("Microsoft.Interoperability", "CA1405:ComVisibleTypeBaseTypesShouldBeComVisible")]
- [ComVisible(true), CLSCompliant(false)]
- public class OANestedProjectItem : OAProjectItem<NestedProjectNode>
- {
- #region fields
- EnvDTE.Project nestedProject;
- #endregion
-
- #region ctors
- public OANestedProjectItem(OAProject project, NestedProjectNode node)
- : base(project, node)
- {
- object nestedproject = null;
- if(ErrorHandler.Succeeded(node.NestedHierarchy.GetProperty(VSConstants.VSITEMID_ROOT, (int)__VSHPROPID.VSHPROPID_ExtObject, out nestedproject)))
- {
- this.nestedProject = nestedproject as EnvDTE.Project;
- }
- }
-
- #endregion
-
- #region overridden methods
- /// <summary>
- /// Returns the collection of project items defined in the nested project
- /// </summary>
- public override EnvDTE.ProjectItems ProjectItems
- {
- get
- {
- if(this.nestedProject != null)
- {
- return this.nestedProject.ProjectItems;
- }
- return null;
- }
- }
-
- /// <summary>
- /// Returns the nested project.
- /// </summary>
- public override EnvDTE.Project SubProject
- {
- get
- {
- return this.nestedProject;
- }
- }
- #endregion
- }
-}

Powered by Google App Engine
This is Rietveld 408576698