public EcmaValue this[IStaticModifier staticModifier, PropertyDefinitionType type, EcmaPropertyKey key] { set { Guard.ArgumentNotNull(staticModifier, "staticModifier"); if (staticModifier.IsStatic) { EnsureBuilder(ref staticProperties).Add(new PropertyDefinition(type, key, value)); } else { this[type, key] = value; } } }
public EcmaValue this[IStaticModifier staticModifier, EcmaPropertyKey key] { set { Guard.ArgumentNotNull(staticModifier, "staticModifier"); if (staticModifier.IsStatic) { EnsureBuilder(ref staticProperties).Add(key, value); } else { this[key] = value; } } }