     result = builder.take()
   }
 
-  public static func _conditionallyBridgeFromObjectiveC(x: NSSet, inout result: _Set?) -> Bool {
-    let anySet = x as _Set<NSObject>
+  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

///
/// The cast can fail if bridging fails.  The actual checks and bridging can be
/// deferred.
public func _convertNSSetToSet<T: Hashable>(s: NSSet) -> _Set<T> {
  var result: _Set<T>?
  _Set._forceBridgeFromObjectiveC(s, result: &result)
  return result!
}

// Set<T> is conditionally bridged to NSSet
extension _Set : _ObjectiveCBridgeable {
  public static func _getObjectiveCType() -> Any.Type {
    return NSSet.self
  }

    return unsafeBitCast(_bridgeToObjectiveCImpl(), NSSet.self)
  }

  public static func _forceBridgeFromObjectiveC(s: NSSet, inout result: Set?) {
    if let native = Set<T>._bridgeFromObjectiveCAdoptingNativeStorage(s as AnyObject) {
      result = native
      return
    }

    if _isBridgedVerbatimToObjectiveC(T.self) {
      result = Set<T>(_cocoaSet: unsafeBitCast(s, _NSSetType.self))
      return
    }

