 ///
 /// The cast can fail if bridging fails.  The actual checks and bridging can be
 /// deferred.
-public func _convertSetToNSSet<T>(s: Set<T>) -> NSSet {
+public func _convertSetToNSSet<T>(s: _Set<T>) -> NSSet {
   return s._bridgeToObjectiveC()
 }
 

  public init(_cocoaSet: _NSSetType) {
    let cfValue = unsafeBitCast(_cocoaSet, CFSet.self)
    let copy = CFSetCreateCopy(nil, cfValue)
    self = Set(_immutableCocoaSet: unsafeBitCast(copy, _NSSetType.self))
  }
}


    result = builder.take()
  }

  public static func _conditionallyBridgeFromObjectiveC(x: NSSet, inout result: _Set?) -> Bool {
    let anySet = x as _Set<NSObject>
    if _isBridgedVerbatimToObjectiveC(T.self) {
      result = Swift._setDownCastConditional(anySet)
      return result != nil
