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

Unified Diff: experimental/visual_studio_plugin/third_party/Microsoft.VisualStudio.Project/Automation/OANullProperty.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: experimental/visual_studio_plugin/third_party/Microsoft.VisualStudio.Project/Automation/OANullProperty.cs
diff --git a/experimental/visual_studio_plugin/third_party/Microsoft.VisualStudio.Project/Automation/OANullProperty.cs b/experimental/visual_studio_plugin/third_party/Microsoft.VisualStudio.Project/Automation/OANullProperty.cs
deleted file mode 100644
index d04e3efd805e973040b165c768c8db0392c2435c..0000000000000000000000000000000000000000
--- a/experimental/visual_studio_plugin/third_party/Microsoft.VisualStudio.Project/Automation/OANullProperty.cs
+++ /dev/null
@@ -1,92 +0,0 @@
-/// Copyright (c) Microsoft Corporation. All rights reserved.
-
-using System;
-using System.Runtime.InteropServices;
-
-namespace Microsoft.VisualStudio.Project.Automation
-{
- /// <summary>
- /// This object defines a so called null object that is returned as instead of null. This is because callers in VSCore usually crash if a null propery is returned for them.
- /// </summary>
- [CLSCompliant(false), ComVisible(true)]
- public class OANullProperty : EnvDTE.Property
- {
- #region fields
- private OAProperties parent;
- #endregion
-
- #region ctors
-
- public OANullProperty(OAProperties parent)
- {
- this.parent = parent;
- }
- #endregion
-
- #region EnvDTE.Property
-
- public object Application
- {
- get { return String.Empty; }
- }
-
- public EnvDTE.Properties Collection
- {
- get
- {
- //todo: EnvDTE.Property.Collection
- return this.parent;
- }
- }
-
- public EnvDTE.DTE DTE
- {
- get { return null; }
- }
-
- public object get_IndexedValue(object index1, object index2, object index3, object index4)
- {
- return String.Empty;
- }
-
- public void let_Value(object value)
- {
- //todo: let_Value
- }
-
- public string Name
- {
- get { return String.Empty; }
- }
-
- public short NumIndices
- {
- get { return 0; }
- }
-
- public object Object
- {
- get { return this.parent.Target; }
- set
- {
- }
- }
-
- public EnvDTE.Properties Parent
- {
- get { return this.parent; }
- }
-
- public void set_IndexedValue(object index1, object index2, object index3, object index4, object value)
- {
-
- }
-
- public object Value
- {
- get { return String.Empty; }
- set { }
- }
- #endregion
- }
-}

Powered by Google App Engine
This is Rietveld 408576698