From dec6db7aafab8ea8fd35a6cedbace462a050c6ba Mon Sep 17 00:00:00 2001 From: John Hurliman Date: Thu, 21 Aug 2008 01:56:48 +0000 Subject: [PATCH] Marking InternalDictionary.Dictionary as public. Yes, this goes against the whole point of InternalDictionary, but without doing this InternalDictionary can't be used outside of libomv. A documentation comment has been added to warn users about locking git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2127 52acb1d6-8a22-11de-b505-999d5b087335 --- OpenMetaverse/InternalDictionary.cs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/OpenMetaverse/InternalDictionary.cs b/OpenMetaverse/InternalDictionary.cs index 2fc11d23..77e2cdcb 100644 --- a/OpenMetaverse/InternalDictionary.cs +++ b/OpenMetaverse/InternalDictionary.cs @@ -40,7 +40,9 @@ namespace OpenMetaverse /// Value public class InternalDictionary { - internal Dictionary Dictionary; + /// Internal dictionary that this class wraps around. Do not + /// modify or enumerate the contents of this dictionary without locking + public Dictionary Dictionary; /// /// Gets the number of Key/Value pairs contained in the