public static IFSharpReferenceOwner GetByQualifier([CanBeNull] IFSharpReferenceOwner param) => ReferenceExprNavigator.GetByQualifier(param as ISynExpr) ?? (IFSharpReferenceOwner)ReferenceNameNavigator.GetByQualifier(param as IReferenceName) ?? TypeExtensionDeclarationNavigator.GetByQualifierReferenceName(param as IReferenceName);
public static IFSharpReferenceOwner GetByIdentifier([CanBeNull] IFSharpIdentifier identifier) => ReferenceExprNavigator.GetByIdentifier(identifier) ?? (IFSharpReferenceOwner)ReferenceNameNavigator.GetByIdentifier(identifier) ?? TypeExtensionDeclarationNavigator.GetByIdentifier(identifier);