text: public static java.nio.charset.CoderResult malformedForLength(int length_1){lock (typeof(CoderResult)){if (length_1 > 0){int key = Sharpen.Util.IntValueOf(length_1);lock (_malformedErrors){java.nio.charset.CoderResult r = _malformedErrors.get(key);if (r == null){r = new java.nio.charset.CoderResult(TYPE_MALFORMED_INPUT, length_1);_malformedErrors.put(key, r);}return r;}}throw new System.ArgumentException("Length must be greater than 0; was " + length_1);}}