예제 #1
0
파일: Parser.cs 프로젝트: mpivko/01-quality
 private void OpenMarker(MarkerType type, int position)
 {
     if (IsMarkerOpened(type))
         throw new Exception("Trying to open opened marker");
     openedMarkers[type] = new Marker(position, -1, type);
 }
예제 #2
0
파일: Marker.cs 프로젝트: mpivko/01-quality
 public bool Equals(Marker other)
 {
     return l == other.l && r == other.r && type.Equals(other.type);
 }