public static Symbol GetSymbol(WellKnownSymbol symbol) { if ((int)symbol < 1 || (int)symbol > enumDict.Length) { throw new ArgumentException("Invalid symbol type.", "symbol"); } return(enumDict[(int)symbol - 1]); }
public IntrinsicMemberAttribute(WellKnownSymbol symbol, EcmaPropertyAttributes attributes) : this(attributes) { this.Symbol = symbol; }
public IntrinsicMemberAttribute(WellKnownSymbol symbol) : this() { this.Symbol = symbol; }
public RuntimeFunctionInjectionAttribute(WellKnownObject type, WellKnownSymbol property) { this.Type = type; this.Name = property; }
public EcmaPropertyKey(WellKnownSymbol value) : this(new EcmaValue(new EcmaValueHandle((long)value), WellKnownSymbolBinder.Default)) { }
public AliasOfAttribute(object objectType, WellKnownSymbol symbol) { Guard.ArgumentNotNull(objectType, "objectType"); this.ObjectType = objectType; this.Symbol = symbol; }
private Symbol(string description, WellKnownSymbol lookupValue) : this("Symbol." + description) { this.SymbolType = lookupValue; }