diff --git a/src/AddIns/Analysis/UnitTesting/Model/ITest.cs b/src/AddIns/Analysis/UnitTesting/Model/ITest.cs index 42e3cd66b7..742ed7c2bb 100644 --- a/src/AddIns/Analysis/UnitTesting/Model/ITest.cs +++ b/src/AddIns/Analysis/UnitTesting/Model/ITest.cs @@ -22,7 +22,7 @@ namespace ICSharpCode.UnitTesting /// /// Gets whether this test allows expanding the list of nested tests. - /// If possible, this property should return the same value as NestedTests.Count. + /// If possible, this property should return the same value as NestedTests.Count > 0. /// However, when doing so is expensive (e.g. due to lazy initialization), this /// property may return true even if there are no nested tests. /// diff --git a/src/Main/Base/Project/Src/Project/AbstractProject.cs b/src/Main/Base/Project/Src/Project/AbstractProject.cs index 4fad40883e..f6862515a9 100644 --- a/src/Main/Base/Project/Src/Project/AbstractProject.cs +++ b/src/Main/Base/Project/Src/Project/AbstractProject.cs @@ -302,11 +302,6 @@ namespace ICSharpCode.SharpDevelop.Project } } - /// - /// Gets the list of items in the project. This member is thread-safe. - /// The returned collection is guaranteed not to change - adding new items or removing existing items - /// will create a new collection. - /// [Browsable(false)] public virtual IMutableModelCollection Items { get { diff --git a/src/Main/Base/Project/Src/Project/IProject.cs b/src/Main/Base/Project/Src/Project/IProject.cs index f5ce7ba3c2..62d36c4309 100644 --- a/src/Main/Base/Project/Src/Project/IProject.cs +++ b/src/Main/Base/Project/Src/Project/IProject.cs @@ -37,8 +37,8 @@ namespace ICSharpCode.SharpDevelop.Project /// /// Gets the list of items in the project. This member is thread-safe. - /// The returned collection is guaranteed not to change - adding new items or removing existing items - /// will create a new collection. + /// The returned collection is thread-safe; any accesses will synchronize with the project's . + /// Enumerating the items collection will create a snapshot of the collection. /// IMutableModelCollection Items { get; } diff --git a/src/Main/Base/Test/Dom/CSharpModelTestBase.cs b/src/Main/Base/Test/Dom/CSharpModelTestBase.cs index d8928e1268..a95431f86e 100644 --- a/src/Main/Base/Test/Dom/CSharpModelTestBase.cs +++ b/src/Main/Base/Test/Dom/CSharpModelTestBase.cs @@ -15,7 +15,6 @@ using Rhino.Mocks; namespace ICSharpCode.SharpDevelop.Dom { - [TestFixture] public class CSharpModelTestBase { protected IProject project; diff --git a/src/Main/Core/Project/Src/Util/AbstractCommand.cs b/src/Main/Core/Project/Src/Util/AbstractCommand.cs index 24aeddf440..b90043ea1b 100644 --- a/src/Main/Core/Project/Src/Util/AbstractCommand.cs +++ b/src/Main/Core/Project/Src/Util/AbstractCommand.cs @@ -8,6 +8,7 @@ namespace ICSharpCode.Core { /// /// For compatibility with SD 4.x. + /// New code should use SimpleCommand instead. /// /// TODO: make obsolete /// @@ -36,6 +37,7 @@ namespace ICSharpCode.Core /// /// For compatibility with SD 4.x. + /// New code should use SimpleCommand instead. /// /// TODO: make obsolete ///