Skip to main content
Home Forums Silverlight Programming Programming with .NET - General Implicit convertion
1 replies. Latest Post by Bigsby on August 29, 2008.
(0)
Bigsby
Member
262 points
81 Posts
08-29-2008 11:40 AM |
I was trying to implement an implicit conversion for a custom type in a Silverlight 2 Beta 2 application following this example:
http://msdn.microsoft.com/en-us/library/aa288476(VS.71).aspx
The error I get from the compiler is that instead of 'implicit' 'class', 'delegate', 'struct', or such is expected.
Is there any knowledge of this issue in Silverlight?
08-29-2008 11:58 AM |
My bad.
I was defining the implicit operator outside the class.