(int start, int length, string description)
| 220 | } |
| 221 | |
| 222 | private static int GetLineEnd (int start, int length, string description) |
| 223 | { |
| 224 | int end = System.Math.Min (start + length, description.Length); |
| 225 | int sep = -1; |
| 226 | for (int i = start; i < end; ++i) { |
| 227 | if (description [i] == '\n') |
| 228 | return i+1; |
| 229 | if (IsEolChar (description [i])) |
| 230 | sep = i+1; |
| 231 | } |
| 232 | if (sep == -1 || end == description.Length) |
| 233 | return end; |
| 234 | return sep; |
| 235 | } |
| 236 | } |
| 237 | |
| 238 | public class OptionValueCollection : IList, IList<string> { |
nothing calls this directly
no outgoing calls
no test coverage detected