private int HandleNotKnownManOptPos(string firstTokenString, int dependencyType) { if (dependencyType != 0) { if (firstTokenString.Contains("NOT")) { dependencyType |= DependencyType.GetNot(); } if (firstTokenString.Contains("KNOWN")) { dependencyType |= DependencyType.GetKnown(); } if (firstTokenString.Contains("MANDATORY")) { dependencyType |= DependencyType.GetMandatory(); } if (firstTokenString.Contains("OPTIONALLY")) { dependencyType |= DependencyType.GetOptional(); } if (firstTokenString.Contains("POSSIBLY")) { dependencyType |= DependencyType.GetPossible(); } } return(dependencyType); }