You've already forked linux-packaging-mono
Imported Upstream version 4.0.0~alpha1
Former-commit-id: 806294f5ded97629b74c85c09952f2a74fe182d9
This commit is contained in:
22
external/referencesource/System.Runtime.Caching/System/Caching/MemoryCacheKey.cs
vendored
Normal file
22
external/referencesource/System.Runtime.Caching/System/Caching/MemoryCacheKey.cs
vendored
Normal file
@ -0,0 +1,22 @@
|
||||
// <copyright file="MemoryCacheKey.cs" company="Microsoft">
|
||||
// Copyright (c) 2009 Microsoft Corporation. All rights reserved.
|
||||
// </copyright>
|
||||
using System;
|
||||
using System.Collections;
|
||||
using System.Diagnostics.CodeAnalysis;
|
||||
|
||||
namespace System.Runtime.Caching {
|
||||
internal class MemoryCacheKey {
|
||||
private String _key;
|
||||
private int _hash;
|
||||
protected byte _bits;
|
||||
|
||||
internal int Hash { get { return _hash; } }
|
||||
internal String Key { get { return _key; } }
|
||||
|
||||
internal MemoryCacheKey(String key) {
|
||||
_key = key;
|
||||
_hash = key.GetHashCode();
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user