When a (java) OutputStreamWriter is instantiated with a (java)
FileOutputStream

     Java.IO.FileOutputStream os = new
Java.IO.FileOutputStream("/sdcard/app.log");
  > Java.IO.OutputStreamWriter osw = new Java.IO.OutputStreamWriter(os);

I get the following compile-time error 

   cannot convert from 'Java.IO.FileOutputStream' to 'System.IO.Stream'

Even though I'm using absolute class names, it seems that the compiler is
still considering "os" a (.net) System.IO.Stream ?

=============================================================
Development Environment
=============================================================
Microsoft Visual Studio 2010
Version 10.0.40219.1 SP1Rel
Microsoft .NET Framework
Version 4.0.30319 SP1Rel
Xamarin.Android   4.6.07004 (95789e18)
=============================================================

Thank you.



--
View this message in context: 
http://mono-for-android.1047100.n5.nabble.com/System-IO-Java-IO-Reference-Inconsistencies-tp5713549.html
Sent from the Mono for Android mailing list archive at Nabble.com.
_______________________________________________
Monodroid mailing list
Monodroid@lists.ximian.com

UNSUBSCRIBE INFORMATION:
http://lists.ximian.com/mailman/listinfo/monodroid

Reply via email to