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

Unified Diff: experimental/visual_studio_plugin/third_party/Microsoft.VisualStudio.Project/Attributes.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/Attributes.cs
diff --git a/experimental/visual_studio_plugin/third_party/Microsoft.VisualStudio.Project/Attributes.cs b/experimental/visual_studio_plugin/third_party/Microsoft.VisualStudio.Project/Attributes.cs
deleted file mode 100644
index 30d79f08d728da7bbac121b69fa5f3fca5b2c849..0000000000000000000000000000000000000000
--- a/experimental/visual_studio_plugin/third_party/Microsoft.VisualStudio.Project/Attributes.cs
+++ /dev/null
@@ -1,70 +0,0 @@
-/// Copyright (c) Microsoft Corporation. All rights reserved.
-
-using System;
-using System.ComponentModel;
-using System.Diagnostics;
-using System.Globalization;
-
-namespace Microsoft.VisualStudio.Project
-{
- /// <summary>
- /// Defines a type converter.
- /// </summary>
- /// <remarks>This is needed to get rid of the type TypeConverter type that could not give back the Type we were passing to him.
- /// We do not want to use reflection to get the type back from the ConverterTypeName. Also the GetType methos does not spwan converters from other assemblies.</remarks>
- [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1019:DefineAccessorsForAttributeArguments"), AttributeUsage(AttributeTargets.Class | AttributeTargets.Enum | AttributeTargets.Property | AttributeTargets.Field)]
- public sealed class PropertyPageTypeConverterAttribute : Attribute
- {
- #region fields
- Type converterType;
- #endregion
-
- #region ctors
- public PropertyPageTypeConverterAttribute(Type type)
- {
- this.converterType = type;
- }
- #endregion
-
- #region properties
- public Type ConverterType
- {
- get
- {
- return this.converterType;
- }
- }
- #endregion
- }
-
- [AttributeUsage(AttributeTargets.Class | AttributeTargets.Property | AttributeTargets.Field, Inherited = false, AllowMultiple = false)]
- internal sealed class LocDisplayNameAttribute : DisplayNameAttribute
- {
- #region fields
- string name;
- #endregion
-
- #region ctors
- public LocDisplayNameAttribute(string name)
- {
- this.name = name;
- }
- #endregion
-
- #region properties
- public override string DisplayName
- {
- get
- {
- string result = SR.GetString(this.name, CultureInfo.CurrentUICulture);
- if(result == null)
- {
- Debug.Assert(false, "String resource '" + this.name + "' is missing");
- result = this.name;
- }
- return result;
- }
- }
- #endregion
- }
-}

Powered by Google App Engine
This is Rietveld 408576698