Beispiel #1
0
 protected void ThrowNotImplementedException(string aMessage)
 {
     XS.Push(LdStr.GetContentsArrayName(aMessage));
     new CPU.Call {
         DestinationLabel = LabelName.Get(typeof(ExceptionHelper).GetMethod("ThrowNotImplemented", BindingFlags.Static | BindingFlags.Public))
     };
 }
Beispiel #2
0
 protected void ThrowNotImplementedException(string aMessage)
 {
     new CPU.Push {
         DestinationRef = Cosmos.Assembler.ElementReference.New(LdStr.GetContentsArrayName(aMessage))
     };
     new CPU.Call {
         DestinationLabel = LabelName.Get(typeof(ExceptionHelper).GetMethod("ThrowNotImplemented", BindingFlags.Static | BindingFlags.Public))
     };
 }