private static CodeSpan GetSpan(TwoDimensionalString twoDString, OffsetSpan position) { CodePosition start = twoDString.GetTwoDimensionalCordinatesFor(position.StartOffset); CodePosition end = twoDString.GetTwoDimensionalCordinatesFor(position.EndOffset); return(new CodeSpan(start, end)); }
private static CodeSpan GetSpan(TwoDimensionalString twoDString, OffsetSpan position) { CodePosition start = twoDString.GetTwoDimensionalCordinatesFor(position.StartOffset); CodePosition end = twoDString.GetTwoDimensionalCordinatesFor(position.EndOffset); return new CodeSpan(start, end); }
private static CodeSpan GetSpan(TwoDimensionalString twoDString, OffsetSpan position) { stackVariable3 = twoDString.GetTwoDimensionalCordinatesFor(position.StartOffset); return(new CodeSpan(stackVariable3, twoDString.GetTwoDimensionalCordinatesFor(position.EndOffset))); }