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

Unified Diff: obsolete/Microsoft.VisualStudio.Project/Automation/OAProjectReference.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/OAProjectReference.cs
diff --git a/obsolete/Microsoft.VisualStudio.Project/Automation/OAProjectReference.cs b/obsolete/Microsoft.VisualStudio.Project/Automation/OAProjectReference.cs
deleted file mode 100644
index 88f81df7bdc36db4afebe797c798454f071b1fba..0000000000000000000000000000000000000000
--- a/obsolete/Microsoft.VisualStudio.Project/Automation/OAProjectReference.cs
+++ /dev/null
@@ -1,81 +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;
-using Microsoft.VisualStudio.Shell.Interop;
-using VSLangProj;
-
-namespace Microsoft.VisualStudio.Project.Automation
-{
- /// <summary>
- /// Represents a project reference of the solution
- /// </summary>
- [SuppressMessage("Microsoft.Interoperability", "CA1405:ComVisibleTypeBaseTypesShouldBeComVisible")]
- [ComVisible(true)]
- public class OAProjectReference : OAReferenceBase<ProjectReferenceNode>
- {
- public OAProjectReference(ProjectReferenceNode projectReference) :
- base(projectReference)
- {
- }
-
- #region Reference override
- public override string Culture
- {
- get { return string.Empty; }
- }
- public override string Name
- {
- get { return BaseReferenceNode.ReferencedProjectName; }
- }
- public override string Identity
- {
- get
- {
- return BaseReferenceNode.Caption;
- }
- }
- public override string Path
- {
- get
- {
- return BaseReferenceNode.ReferencedProjectOutputPath;
- }
- }
- public override EnvDTE.Project SourceProject
- {
- get
- {
- if(Guid.Empty == BaseReferenceNode.ReferencedProjectGuid)
- {
- return null;
- }
- IVsHierarchy hierarchy = VsShellUtilities.GetHierarchy(BaseReferenceNode.ProjectMgr.Site, BaseReferenceNode.ReferencedProjectGuid);
- if(null == hierarchy)
- {
- return null;
- }
- object extObject;
- if(Microsoft.VisualStudio.ErrorHandler.Succeeded(
- hierarchy.GetProperty(VSConstants.VSITEMID_ROOT, (int)__VSHPROPID.VSHPROPID_ExtObject, out extObject)))
- {
- return extObject as EnvDTE.Project;
- }
- return null;
- }
- }
- public override prjReferenceType Type
- {
- // TODO: Write the code that finds out the type of the output of the source project.
- get { return prjReferenceType.prjReferenceTypeAssembly; }
- }
- public override string Version
- {
- get { return string.Empty; }
- }
- #endregion
- }
-}

Powered by Google App Engine
This is Rietveld 408576698