System.Web.Compilation.TagAttributes.MakeHash C# (CSharp) Method

MakeHash() private method

private MakeHash ( ) : void
return void
		void MakeHash ()
		{
#if NET_2_0
			atts_hash = new Hashtable (StringComparer.InvariantCultureIgnoreCase);
#else
			atts_hash = new Hashtable (CaseInsensitiveHashCodeProvider.DefaultInvariant,
						   CaseInsensitiveComparer.DefaultInvariant);
#endif
			for (int i = 0; i < keys.Count; i++) {
				CheckServerKey (keys [i]);
				atts_hash.Add (keys [i], values [i]);
			}
			got_hashed = true;
			keys = null;
			values = null;
		}