[svn] r7070: vs-plugin/trunk/Nemerle.VsIntegration/Project/ProjectInfo.cs

VladD2 svnadmin at nemerle.org
Thu Dec 7 07:16:59 CET 2006


Log:
Fix AddSource(NemerleSource source). It fails if try open source more than twice.

Author: VladD2
Date: Thu Dec  7 07:16:54 2006
New Revision: 7070

Modified:
   vs-plugin/trunk/Nemerle.VsIntegration/Project/ProjectInfo.cs

Modified: vs-plugin/trunk/Nemerle.VsIntegration/Project/ProjectInfo.cs
==============================================================================
--- vs-plugin/trunk/Nemerle.VsIntegration/Project/ProjectInfo.cs	(original)
+++ vs-plugin/trunk/Nemerle.VsIntegration/Project/ProjectInfo.cs	Thu Dec  7 07:16:54 2006
@@ -144,7 +144,7 @@
 		internal void AddSource(NemerleSource source)
 		{
 			string path = source.GetFilePath();
-			_sourceMap.Add(path, source);
+			_sourceMap[path] = source;
 		}
 
 		internal void RemoveSource(NemerleSource source)



More information about the svn mailing list