static KeyFormat InjectGuidsInConstantIds(KeyFormat result) { return(result.Terms.All(x => x is LiteralText) ? new KeyFormat(result.Terms.Concat(new[] { new GuidKeyword() })) : result); }
protected bool Equals(KeyFormat other) { return(pattern.ToString().Equals(other.pattern.ToString())); }