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:
authorMarek Safar <masafa@microsoft.com>2016-08-08 19:30:44 +0300
committerMarek Safar <masafa@microsoft.com>2016-08-09 19:07:14 +0300
commitb6a30059db8319348ebb454cc303633dfabd6a29 (patch)
treedfaa5b26537a6d5d0fbea0f13da9573b16d37f3e /mcs/class/System.Runtime.Caching
parentf34c0223fce6b42ebfbe82ddc257095e5c490d10 (diff)
[bcl] Update Reference Source to .NET Framework 4.6.2
Diffstat (limited to 'mcs/class/System.Runtime.Caching')
-rw-r--r--mcs/class/System.Runtime.Caching/ReferenceSources/SRef.cs31
-rw-r--r--mcs/class/System.Runtime.Caching/System.Runtime.Caching.dll.sources2
2 files changed, 1 insertions, 32 deletions
diff --git a/mcs/class/System.Runtime.Caching/ReferenceSources/SRef.cs b/mcs/class/System.Runtime.Caching/ReferenceSources/SRef.cs
deleted file mode 100644
index 644a2fc0b22..00000000000
--- a/mcs/class/System.Runtime.Caching/ReferenceSources/SRef.cs
+++ /dev/null
@@ -1,31 +0,0 @@
-using System;
-using System.Runtime.InteropServices;
-
-namespace System.Runtime.Caching {
- /*
- * This class is used to retrieve the size of an object graph.
- * Although Mono has not a way of computing this.
- * Known problems:
- * - CacheMemoryMonitor does not trim the cache when it reaches its memory size limit.
- * - IMemoryCacheManager.UpdateCacheSize is called with incorrect size.
- */
- internal class SRef {
-
-// private Object _sizedRef;
-
- internal SRef (Object target) {
-// _sizedRef = target;
- }
-
- internal long ApproximateSize {
- get {
- // TODO: .net uses System.SizedReference which contains approximate size after Gen 2 collection
- return 16;
- }
- }
-
- internal void Dispose() {
-
- }
- }
-} \ No newline at end of file
diff --git a/mcs/class/System.Runtime.Caching/System.Runtime.Caching.dll.sources b/mcs/class/System.Runtime.Caching/System.Runtime.Caching.dll.sources
index c10ee4fb406..46aa74c47c0 100644
--- a/mcs/class/System.Runtime.Caching/System.Runtime.Caching.dll.sources
+++ b/mcs/class/System.Runtime.Caching/System.Runtime.Caching.dll.sources
@@ -8,7 +8,6 @@ ReferenceSources/CacheEntryCollection.cs
ReferenceSources/CacheExpires.cs
ReferenceSources/CacheUsage.cs
ReferenceSources/R.Designer.cs
-ReferenceSources/SRef.cs
../referencesource/System.Runtime.Caching/Resources/RH.cs
../referencesource/System.Runtime.Caching/System/Caching/CacheEntryChangeMonitor.cs
../referencesource/System.Runtime.Caching/System/Caching/CacheEntryRemovedArguments.cs
@@ -51,3 +50,4 @@ ReferenceSources/SRef.cs
../referencesource/System.Runtime.Caching/System/Caching/SafeBitVector32.cs
../referencesource/System.Runtime.Caching/System/Caching/SafeRegistryHandle.cs
../referencesource/System.Runtime.Caching/System/Caching/SqlChangeMonitor.cs
+../referencesource/System.Runtime.Caching/System/Caching/SRef.cs