public JsonNode CreateKeyValuePair(TextRange textRange, KeyDeclaration key, ValueDeclaration value) { Assume.NotNull(textRange, nameof(textRange)); Assume.NotNull(key, nameof(key)); Assume.NotNull(value, nameof(value)); return(new KeyValueDeclaration(key, value, textRange)); }
public JsonNode CreateKeyValuePair(TextRange textRange, KeyDeclaration key, ValueDeclaration value) { Assume.NotNull(textRange, nameof(textRange)); Assume.NotNull(key, nameof(key)); Assume.NotNull(value, nameof(value)); return new KeyValueDeclaration(key, value, textRange); }