I guess it has something to do with naming in some .net language

http://msdn.microsoft.com/en-us/library/yfsftwz6(VS.71).aspx

Use the backslash (\) as an escape character to separate the following
tokens when used as part of IDENTIFIER.
  Token Meaning \, Assembly separator. \+ Nested type separator. \& Reference
type. \* Pointer type. \[ Array dimension delimiter. \] Array dimension
delimiter. \. Use the backslash before a period only if the period is used
in an array specification. Periods in NamespaceSpec do not take the
backslash. \\ Backslash when needed as a string literal.




Tuna Toksöz
Eternal sunshine of the open source mind.

http://devlicio.us/blogs/tuna_toksoz
http://tunatoksoz.com
http://twitter.com/tehlike




On Thu, Apr 16, 2009 at 10:49 PM, Fabio Maulo <[email protected]> wrote:

> To be clearI'm passing tests parsing something like this
>
> NHibernate.Test.UtilityTest.TypeNameParserFixture+MyComplexClass`3[[NHibernate.Test.UtilityTest.TypeNameParserFixture+MyGClass`1[[System.Int32,
>  mscorlib, Version=2.0.0.0, Culture=neutral, 
> PublicKeyToken=b77a5c561934e089]], NHibernate.Test, Version=2.1.0.1003, 
> Culture=neutral, 
> PublicKeyToken=null],[System.Collections.Generic.IDictionary`2[[System.String,
>  mscorlib, Version=2.0.0.0, Culture=neutral, 
> PublicKeyToken=b77a5c561934e089],[NHibernate.Test.UtilityTest.TypeNameParserFixture+MyGClass`1[[System.String,
>  mscorlib, Version=2.0.0.0, Culture=neutral, 
> PublicKeyToken=b77a5c561934e089]], NHibernate.Test, Version=2.1.0.1003, 
> Culture=neutral, PublicKeyToken=null]], mscorlib, Version=2.0.0.0, 
> Culture=neutral, PublicKeyToken=b77a5c561934e089],[System.String, mscorlib, 
> Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]], 
> NHibernate.Test, Version=2.1.0.1003, Culture=neutral, PublicKeyToken=null
>
> but I would like to know what mean one of our tests trying to parse 
> "Some\\,Type,
> SomeAssembly\\," as a type name.
>
> 2009/4/16 Tuna Toksoz <[email protected]>
>
> I didn't get the question but are you asking
>>
>> ConsoleApplication5.MyComplexClass`3[[ConsoleApplication5.MyGClass`1[[System.Int32]],
>> ConsoleApplication5],[System.Collections.Generic.IDictionary`2[[System.String,
>> mscorlib],[ConsoleApplication5.MyGClass`1[[System.String, mscorlib]],
>> ConsoleApplication5]], mscorlib],[System.String, mscorlib]]
>>
>> kind of thing?
>>
>>
>> Tuna Toksöz
>> Eternal sunshine of the open source mind.
>>
>> http://devlicio.us/blogs/tuna_toksoz
>> http://tunatoksoz.com
>> http://twitter.com/tehlike
>>
>>
>>
>>
>>
>> On Thu, Apr 16, 2009 at 10:37 PM, Fabio Maulo <[email protected]>wrote:
>>
>>> MyComplexClass<MyGClass<int>, IDictionary<string, MyGClass<string>>,
>>> string>
>>>
>>
>>
>
>
> --
> Fabio Maulo
>

Reply via email to