Beispiel #1
0
 // Token: 0x06000053 RID: 83 RVA: 0x000023FE File Offset: 0x000005FE
 public static IExtension GetExtensionObject(ref IExtension extensionObject, bool createIfMissing)
 {
     if (createIfMissing && extensionObject == null)
     {
         extensionObject = new BufferExtension();
     }
     return(extensionObject);
 }
Beispiel #2
0
 static public int constructor(IntPtr l)
 {
     try {
         ProtoBuf.BufferExtension o;
         o = new ProtoBuf.BufferExtension();
         pushValue(l, true);
         pushValue(l, o);
         return(2);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }