internal static FieldManager <T> Compute <T, T1>(FieldManager <T> field, T1 value, OpCode code) { field.Output(); field.EmitValue(value); field.Emit(code); field.Input(); return(field); }
internal static FieldBoolean Comparer <T>(FieldManager <T> field, T value, params OpCode[] codes) { var res = field.NewBoolean(); field.Output(); foreach (var code in codes) { field.EmitValue(value); field.Emit(code); } field.Emit(OpCodes.Stloc_S, res); return(res); }