Here are a couple of curves that _Rebuild reverses one end’s tangent direction when Preserve end tangent directions is enabled.
RebuildRevsTanDir.3dm (28.0 KB)
This occurs in V6, V7, and with RhinoCommon’s Curve.Rebuild method with preserveTangents=True.