Extent.contains(geometry) Issue

Discussion created by tonylife on Jun 25, 2013
Latest reply on Jun 27, 2013 by tonylife
I have a case one big polygon includes a polyline, but the code extent.contains(geometry) returns false.
I checked Xmin, Xmax, Ymin, Ymax for both object. polyline is inside of the polygon.
I do notice that the polygon's Spatial Reference wkid is 102100, the polyline has two SR, wkid 102100 and latestwkid 3857.
Does extent.contains(geometry) check the SR?
If so, what should I do for the case?