public static RubySymbol /*!*/ ToSymbol(RubyContext /*!*/ context, string /*!*/ self) { // Cannot convert a string that contains \0 to a symbol if (self.IndexOf('\0') >= 0) { throw RubyExceptions.CreateArgumentError("symbol string may not contain '\0'"); } return(context.CreateSymbol(self, RubyEncoding.UTF8)); }
public static RubySymbol/*!*/ ToSymbol(RubyContext/*!*/ context, MutableString/*!*/ self) { return context.CreateSymbol(self); }
public static object HasKey(RubyContext /*!*/ context, Thread /*!*/ self, [NotNull] MutableString /*!*/ key) { return(HasKey(self, context.CreateSymbol(key))); }
public static object SetElement(RubyContext /*!*/ context, Thread /*!*/ self, [NotNull] MutableString /*!*/ key, object value) { return(SetElement(self, context.CreateSymbol(key), value)); }
public static object SetElement(RubyContext/*!*/ context, Thread/*!*/ self, [NotNull]MutableString/*!*/ key, object value) { return SetElement(self, context.CreateSymbol(key), value); }
public static object HasKey(RubyContext/*!*/ context, Thread/*!*/ self, [NotNull]MutableString/*!*/ key) { return HasKey(self, context.CreateSymbol(key)); }
public static RubySymbol/*!*/ Succ(RubyContext/*!*/ context, RubySymbol/*!*/ self) { return context.CreateSymbol(MutableStringOps.Succ(self.String)); }
public static RubySymbol/*!*/ Capitalize(RubyContext/*!*/ context, RubySymbol/*!*/ self) { return context.CreateSymbol(MutableStringOps.Capitalize(self.String)); }
public static RubySymbol/*!*/ ToSymbol(RubyContext/*!*/ context, string/*!*/ self) { // Cannot convert a string that contains \0 to a symbol if (self.IndexOf('\0') >= 0) { throw RubyExceptions.CreateArgumentError("symbol string may not contain '\0'"); } return context.CreateSymbol(self, RubyEncoding.UTF8); }
public static RubySymbol /*!*/ Succ(RubyContext /*!*/ context, RubySymbol /*!*/ self) { return(context.CreateSymbol(MutableStringOps.Succ(self.String))); }
public static RubySymbol /*!*/ Capitalize(RubyContext /*!*/ context, RubySymbol /*!*/ self) { return(context.CreateSymbol(MutableStringOps.Capitalize(self.String))); }