src/sys/dotnet/fanx/emit/FMethodEmit.cs
/// <summary>
/// Emit the method as a mixin interface
/// </summary>
Emit the method as a mixin interface
Emit the method as a mixin interface
public void emitMixinInterface()
    {
      if (isStatic || isCtor) return;
      code = null;
      isInternal = false;
      isPrivate  = false;
      isAbstract = true;
      isVirtual = true;
      doEmit();
      for (int i=0; i<method.m_paramCount; i++)
      {
        if (method.m_vars[i].def != null)
        {
          paramLen = i;
          doEmit();
        }
      }
    }
public void emitMixinInterface ( ) { if ( isStatic || isCtor ) return ; code = null ; isInternal = false ; isPrivate = false ; isAbstract = true ; isVirtual = true ; doEmit ( ) ; for ( int i = 0 ; i < method . m_paramCount ; i ++ ) { if ( method . m_vars [ i ] . def != null ) { paramLen = i ; doEmit ( ) ; } } }
Emit the method as a mixin interface
Emit the method as a mixin interface
// we only emit instance methods in the interface // set abstract flag and clear code // force public // force abstract virtual // emit main // emit a signature for each overload based on param defaults