private void WriteExceptionInfo(AsExceptionInfo exc) { WriteU30(exc.From); WriteU30(exc.To); WriteU30(exc.Target); WriteU30(exc.ExceptionType); WriteU30(exc.VariableName); }
private AsExceptionInfo[] ReadMultipleExceptions() { var res = new AsExceptionInfo[ReadU30()]; for (var i = 0; i < res.Length; i++) { res[i] = ReadExceptionInfo(); } return(res); }
private AbcExceptionBlock GetExceptionBlock(AsExceptionInfo info) { return new AbcExceptionBlock { From = info.From, To = info.To, Target = info.Target, ExceptionType = GetMultiname(info.ExceptionType, AbcMultiname.Any), VariableName = GetMultiname(info.VariableName, AbcMultiname.Void) }; }
private AsExceptionInfo[] ReadMultipleExceptions() { var res = new AsExceptionInfo[ReadU30()]; for (var i = 0; i < res.Length; i++) { res[i] = ReadExceptionInfo(); } return res; }
private void WriteExceptionInfo(AsExceptionInfo exc) { WriteU30(exc.From); WriteU30(exc.To); WriteU30(exc.Target); WriteU30(exc.ExceptionType); WriteU30(exc.VariableName); }
private void WriteMultipleExceptions(AsExceptionInfo[] exceptions) { WriteU30((uint)exceptions.Length); foreach (var exc in exceptions) { WriteExceptionInfo(exc); } }