Delete unused Diagnostics files (dotnet/coreclr#8754)
authorJames Ko <jamesqko@gmail.com>
Mon, 2 Jan 2017 04:25:45 +0000 (23:25 -0500)
committerJan Kotas <jkotas@microsoft.com>
Mon, 2 Jan 2017 04:25:45 +0000 (20:25 -0800)
Commit migrated from https://github.com/dotnet/coreclr/commit/4a5c304b5115ddcd8ac7838a1ce87c5d4ad03ccf

src/coreclr/src/mscorlib/mscorlib.shared.sources.props
src/coreclr/src/mscorlib/src/System/Diagnostics/DebuggerAttributes.cs

index 0ff31ea..ff01324 100644 (file)
     <DiagnosticsSources Include="$(BclSourcesRoot)\System\Diagnostics\Eventing\TraceLogging\EventFieldFormat.cs" />
     <DiagnosticsSources Include="$(BclSourcesRoot)\System\Diagnostics\Eventing\TraceLogging\EventIgnoreAttribute.cs" />
     <DiagnosticsSources Include="$(BclSourcesRoot)\System\Diagnostics\Eventing\TraceLogging\EventPayload.cs" />
-    <DiagnosticsSources Include="$(BclSourcesRoot)\System\Diagnostics\Eventing\TraceLogging\EventSourceActivity.cs" />
     <DiagnosticsSources Include="$(BclSourcesRoot)\System\Diagnostics\Eventing\TraceLogging\EventSourceOptions.cs" />
     <DiagnosticsSources Include="$(BclSourcesRoot)\System\Diagnostics\Eventing\TraceLogging\FieldMetadata.cs" />
     <DiagnosticsSources Include="$(BclSourcesRoot)\System\Diagnostics\Eventing\TraceLogging\InvokeTypeInfo.cs" />
index e75b653..6f8bf7a 100644 (file)
@@ -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 {
     
         }
     }
-
-
-    /// <summary>
-    /// Signifies that the attributed type has a visualizer which is pointed
-    /// to by the parameter type name strings.
-    /// </summary>
-    [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; }
-        }
-    }
 }