Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAtsushi Eno <atsushieno@gmail.com>2007-08-06 09:40:47 +0400
committerAtsushi Eno <atsushieno@gmail.com>2007-08-06 09:40:47 +0400
commitbc1aba7e9412de8031ca20cc4c694855c5047df8 (patch)
tree5f9477a6fcf774384a679c7d031553050ca984ce /mcs/class/System/System.Diagnostics/InstanceDataCollection.cs
parent8bd82a1a193e218173bfb2beeafb050d9d59e9b6 (diff)
2007-08-06 Atsushi Enomoto <atsushi@ximian.com>
* PerformanceCounterInstanceLifetime.cs PerformanceCounterCategoryType.cs : new. * ICollectData.cs ProcessStartInfo.cs InstanceDataCollectionCollection.cs PerformanceCounter.cs InstanceDataCollection.cs Process.cs : cosmetic attributes cleanup. * System.dll.sources : added PerformanceCounterInstanceLifetime.cs and PerformanceCounterCategoryType.cs. svn path=/trunk/mcs/; revision=83517
Diffstat (limited to 'mcs/class/System/System.Diagnostics/InstanceDataCollection.cs')
-rw-r--r--mcs/class/System/System.Diagnostics/InstanceDataCollection.cs3
1 files changed, 3 insertions, 0 deletions
diff --git a/mcs/class/System/System.Diagnostics/InstanceDataCollection.cs b/mcs/class/System/System.Diagnostics/InstanceDataCollection.cs
index e57bb5da5b6..f50923f3819 100644
--- a/mcs/class/System/System.Diagnostics/InstanceDataCollection.cs
+++ b/mcs/class/System/System.Diagnostics/InstanceDataCollection.cs
@@ -45,6 +45,9 @@ namespace System.Diagnostics {
}
// may throw ArgumentNullException
+#if NET_2_0
+ [Obsolete ("Use InstanceDataCollectionCollection indexer instead.")]
+#endif
public InstanceDataCollection (string counterName)
{
CheckNull (counterName, "counterName");