+2003-11-14 Miguel de Icaza <miguel@ximian.com>
+
+ * StreamReader.cs, TextReader, StreamReader (Read): Add [Out]
+
2003-11-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* Directory.cs: allow directory names without wildcards in the pattern.
return -1;
}
- public override int Read (char[] buffer, int index, int count)
+ public override int Read ([In, Out] char[] buffer, int index, int count)
{
return 0;
}
return decoded_buffer [pos++];
}
- public override int Read ([In] char[] dest_buffer, int index, int count)
+ public override int Read ([In, Out] char[] dest_buffer, int index, int count)
{
if (base_stream == null)
throw new ObjectDisposedException ("StreamReader", "Cannot read from a closed StreamReader");
// the actual number of characters read, or zero if the end of the string
// has been reached and no characters are read.
- public override int Read ([In] char [] buffer, int index, int count)
+ public override int Read ([In, Out] char[] buffer, int index, int count )
{
-
CheckObjectDisposedException ();
if( buffer == null ) {
return -1;\r
}\r
\r
- public virtual int Read ([In] char[] buffer, int index, int count)\r
+
+ public virtual int Read ([In, Out] char[] buffer, int index, int count)\r
{\r
int c, i;\r
\r
+2003-11-14 Miguel de Icaza <miguel@ximian.com>
+
+ * ContextProperty.cs: Add implementaion bits.
+
2003-07-28 Duncan Mak <duncan@ximian.com>
* ContextAttribute.cs: Removed constructor.
public class Context
{
- public int domain_id;
+ internal int domain_id;
int context_id;
int process_id;
public class ContextProperty
{
- [MonoTODO]
+ string name;
+ object prop;
+
+ private ContextProperty (string name, object prop)
+ {
+ this.name = name;
+ this.prop = prop;
+ }
+
public virtual string Name {
- get { throw new NotImplementedException (); }
+ get { return name; }
}
- [MonoTODO]
public virtual object Property {
- get { throw new NotImplementedException (); }
+ get { return prop; }
}
}
}