Activity log for bug #1051847

Date Who What changed Old value New value Message
2012-09-17 08:30:04 Christian Marrocco bug added bug
2012-09-17 10:01:59 Simone Busoli nunitv2: assignee Simone Busoli (simone.busoli)
2012-09-17 10:05:15 Simone Busoli nunitv2: status New Confirmed
2012-09-24 21:42:47 Charlie Poole nunitv2: importance Undecided Low
2012-09-24 21:42:56 Charlie Poole nunitv2: status Confirmed In Progress
2012-11-03 05:02:23 Charlie Poole nunitv2: milestone 2.6.3
2013-10-05 18:51:24 Charlie Poole nunitv2: milestone 2.6.3
2013-10-05 23:27:50 Charlie Poole affects nunitv2 nunit-3.0
2013-11-03 14:29:12 Charlie Poole nunit-3.0: assignee Simone Busoli (simone.busoli) Charlie Poole (charlie.poole)
2013-11-03 14:34:08 Charlie Poole description using System.Collections; using System.Collections.Generic; using NUnit.Framework; [TestFixture] public class Reproduction { class SelfContainer : IEnumerable { public IEnumerator GetEnumerator() { yield return this; } } [Test] public void SelfContainedItemFoundInArray() { var item = new SelfContainer(); var items = new SelfContainer[] { new SelfContainer(), item }; // work around Assert.True(((ICollection<SelfContainer>)items).Contains(item)); // causes StackOverflowException Assert.Contains(item, items); } } Reproduced in NUnit 2.6.1 See also bug #491300 [Bug now tracked at https://github.com/nunit/nunit-framework/issues/52] using System.Collections; using System.Collections.Generic; using NUnit.Framework; [TestFixture] public class Reproduction {  class SelfContainer : IEnumerable { public IEnumerator GetEnumerator() { yield return this; } }  [Test]  public void SelfContainedItemFoundInArray() {   var item = new SelfContainer();   var items = new SelfContainer[] { new SelfContainer(), item };   // work around   Assert.True(((ICollection<SelfContainer>)items).Contains(item));   // causes StackOverflowException   Assert.Contains(item, items);  } } Reproduced in NUnit 2.6.1 See also bug #491300
2013-11-03 14:34:20 Charlie Poole tags framework framework github