** Changed in: nunitv2
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of NUnit
Developers, which is subscribed to NUnit V2.
https://bugs.launchpad.net/bugs/984040

Title:
  Has.Attribute error

Status in NUnit V2 Test Framework:
  Fix Released

Bug description:
  NUnit 2.5.10 with gui

  The following line does not work:
  Assert.That(GetType(), Has.Attribute<Attr1>() | Has.Attribute<Attr2>());

  Compiler gives an error like "cannot use operator | with two 
ResolvableConstraintExpressions".
  Would be nice if this will compile in future.

  But this works:
  Assert.That(GetType(), Has.Attribute<Attr1>().Or.Attribute<Attr2>());

To manage notifications about this bug go to:
https://bugs.launchpad.net/nunitv2/+bug/984040/+subscriptions

_______________________________________________
Mailing list: https://launchpad.net/~nunit-core
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~nunit-core
More help   : https://help.launchpad.net/ListHelp

Reply via email to