NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

Compiler Error CS0126

An object of a type convertable to 'type' required

A return statement is present, but the statement does not return a value of the expected type.

The following sample generates CS0126:

// CS0126
namespace x
{
   public class a 
   {
      public int i
      {
         set 
         {
         }
         virtual get
         {
            return;   // CS0126, specify a value to return
         }
      }
   }
}