From 4750facca329653f6f8c92ee23a3ad09e0ceffba Mon Sep 17 00:00:00 2001 From: James Ko Date: Sun, 1 Jan 2017 23:25:45 -0500 Subject: [PATCH] Delete unused Diagnostics files (dotnet/coreclr#8754) Commit migrated from https://github.com/dotnet/coreclr/commit/4a5c304b5115ddcd8ac7838a1ce87c5d4ad03ccf --- .../src/mscorlib/mscorlib.shared.sources.props | 1 - .../src/System/Diagnostics/DebuggerAttributes.cs | 107 --------------------- 2 files changed, 108 deletions(-) diff --git a/src/coreclr/src/mscorlib/mscorlib.shared.sources.props b/src/coreclr/src/mscorlib/mscorlib.shared.sources.props index 0ff31ea..ff01324 100644 --- a/src/coreclr/src/mscorlib/mscorlib.shared.sources.props +++ b/src/coreclr/src/mscorlib/mscorlib.shared.sources.props @@ -912,7 +912,6 @@ - diff --git a/src/coreclr/src/mscorlib/src/System/Diagnostics/DebuggerAttributes.cs b/src/coreclr/src/mscorlib/src/System/Diagnostics/DebuggerAttributes.cs index e75b653..6f8bf7a 100644 --- a/src/coreclr/src/mscorlib/src/System/Diagnostics/DebuggerAttributes.cs +++ b/src/coreclr/src/mscorlib/src/System/Diagnostics/DebuggerAttributes.cs @@ -26,14 +26,6 @@ namespace System.Diagnostics { } [Serializable] -[AttributeUsage(AttributeTargets.Method | AttributeTargets.Constructor, Inherited = false)] - [ComVisible(true)] - public sealed class DebuggerStepperBoundaryAttribute : Attribute - { - public DebuggerStepperBoundaryAttribute () {} - } - -[Serializable] [AttributeUsage(AttributeTargets.Method | AttributeTargets.Property | AttributeTargets.Constructor, Inherited = false)] [ComVisible(true)] public sealed class DebuggerHiddenAttribute : Attribute @@ -274,105 +266,6 @@ namespace System.Diagnostics { } } - - - /// - /// Signifies that the attributed type has a visualizer which is pointed - /// to by the parameter type name strings. - /// - [AttributeUsage(AttributeTargets.Struct | AttributeTargets.Class | AttributeTargets.Assembly, AllowMultiple = true)] - [ComVisible(true)] - public sealed class DebuggerVisualizerAttribute: Attribute - { - private string visualizerObjectSourceName; - private string visualizerName; - private string description; - private string targetName; - private Type target; - - public DebuggerVisualizerAttribute(string visualizerTypeName) - { - this.visualizerName = visualizerTypeName; - } - public DebuggerVisualizerAttribute(string visualizerTypeName, string visualizerObjectSourceTypeName) - { - this.visualizerName = visualizerTypeName; - this.visualizerObjectSourceName = visualizerObjectSourceTypeName; - } - public DebuggerVisualizerAttribute(string visualizerTypeName, Type visualizerObjectSource) - { - if (visualizerObjectSource == null) { - throw new ArgumentNullException(nameof(visualizerObjectSource)); - } - Contract.EndContractBlock(); - this.visualizerName = visualizerTypeName; - this.visualizerObjectSourceName = visualizerObjectSource.AssemblyQualifiedName; - } - public DebuggerVisualizerAttribute(Type visualizer) - { - if (visualizer == null) { - throw new ArgumentNullException(nameof(visualizer)); - } - Contract.EndContractBlock(); - this.visualizerName = visualizer.AssemblyQualifiedName; - } - public DebuggerVisualizerAttribute(Type visualizer, Type visualizerObjectSource) - { - if (visualizer == null) { - throw new ArgumentNullException(nameof(visualizer)); - } - if (visualizerObjectSource == null) { - throw new ArgumentNullException(nameof(visualizerObjectSource)); - } - Contract.EndContractBlock(); - this.visualizerName = visualizer.AssemblyQualifiedName; - this.visualizerObjectSourceName = visualizerObjectSource.AssemblyQualifiedName; - } - public DebuggerVisualizerAttribute(Type visualizer, string visualizerObjectSourceTypeName) - { - if (visualizer == null) { - throw new ArgumentNullException(nameof(visualizer)); - } - Contract.EndContractBlock(); - this.visualizerName = visualizer.AssemblyQualifiedName; - this.visualizerObjectSourceName = visualizerObjectSourceTypeName; - } - - public string VisualizerObjectSourceTypeName - { - get { return visualizerObjectSourceName; } - } - public string VisualizerTypeName - { - get { return visualizerName; } - } - public string Description - { - get { return description; } - set { description = value; } - } - - public Type Target - { - set { - if( value == null) { - throw new ArgumentNullException(nameof(value)); - } - Contract.EndContractBlock(); - - targetName = value.AssemblyQualifiedName; - target = value; - } - - get { return target; } - } - - public string TargetTypeName - { - set { targetName = value; } - get { return targetName; } - } - } } -- 2.7.4