I have identified my problem, it is in ModuleDefinition.cs,  
GetFullyQualifiedName(), for some reason, the SILVERLIGHT constant was 
defined, when I stepped through the code, it went to the last line, return 
string.Empty.  I did a rebuild all, and the problem is gone.  I checked the 
projects, only Mono.Cecil-SL has the constant defined, how did it managed to 
affect Mono.Cecil, I have no idea.  The silverlight version has the same 
name, but it is in a different directory, DebugSL, so I don't think I was 
using the wrong version of Mono.Cecil.dll.
 
 
public static string GetFullyQualifiedName (this Stream self)

{

#if !SILVERLIGHT

  var file_stream = self as FileStream;...

#else

   return string.Empty;#endif}

-- 
--
mono-cecil

Reply via email to