|
From: Charlie P. <ch...@po...> - 2007-10-13 17:24:14
|
Hi All,
> I used Will(Set.Parameter("foo").To("bar")), but this, of
> course, will have problems in VB where Set is a keyword.
FWIW, I have been dealing with a similar issue in NUnit after
introducing a new syntax similar to NMock's. There are language
problems with VB, C++ and probably others I don't know about.
What I'm thinking of doing is putting the C# syntax into a
separate namespace and having one or more other assemblies
that provide a syntax tailored for other languages.
That way, other folks can provide alternative syntax layers
without colliding with the names used for C#.
Charlie
|