public ShellSettings Match(HostString host, PathString path, bool fallbackToDefault = true) { V_0 = host.get_Host(); if (this.TryMatchInternal(StringSegment.op_Implicit(host.get_Value()), StringSegment.op_Implicit(V_0), StringSegment.op_Implicit(path.get_Value()), out V_1)) { return(V_1); } if (this._hasStarMapping && this.TryMatchStarMapping(StringSegment.op_Implicit(host.get_Value()), StringSegment.op_Implicit(V_0), StringSegment.op_Implicit(path.get_Value()), out V_1)) { return(V_1); } if (fallbackToDefault && this.DefaultIsCatchAll()) { return(this._default); } if (fallbackToDefault && this.TryMatchInternal(StringSegment.op_Implicit(""), StringSegment.op_Implicit(""), StringSegment.op_Implicit("/"), out V_1)) { return(V_1); } return(null); }