Assert.Throws Syntax
"Kelly Anderson" <[email protected]> Thu, 14 Aug 2008 10:18:33 -0600
| Newsgroups | gmane.comp.windows.dotnet.nunit.user |
|---|---|
| Message-ID | <[email protected]> |
This syntax comes from the documentation...
Assert.Throws<CommBrokerNotInjected>( { delegate Hardware.PhysicalHardware } );
Is this using C# 3.0 syntax? It doesn't compile on my 2.0 compiler, so
I just wondered if it's using a 2008 syntax.
-Kelly
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/