Browse Source

Allow recursive synchronization (e.g. for calling GetTypes() on a single project content while a composite project content is synchronized)

newNRvisualizers
Daniel Grunwald 14 years ago
parent
commit
bb0311375c
  1. 2
      ICSharpCode.NRefactory/TypeSystem/Implementation/SimpleProjectContent.cs

2
ICSharpCode.NRefactory/TypeSystem/Implementation/SimpleProjectContent.cs

@ -38,7 +38,7 @@ namespace ICSharpCode.NRefactory.TypeSystem.Implementation @@ -38,7 +38,7 @@ namespace ICSharpCode.NRefactory.TypeSystem.Implementation
public class SimpleProjectContent : AbstractAnnotatable, IProjectContent, ISerializable, IDeserializationCallback
{
readonly TypeStorage types = new TypeStorage();
readonly ReaderWriterLockSlim readerWriterLock = new ReaderWriterLockSlim();
readonly ReaderWriterLockSlim readerWriterLock = new ReaderWriterLockSlim(LockRecursionPolicy.SupportsRecursion);
readonly Dictionary<string, IParsedFile> fileDict = new Dictionary<string, IParsedFile>(Platform.FileNameComparer);
#region Constructor

Loading…
Cancel
Save