internal string GetString(Int16 stringId) { string result; lock (_syncObject) { if (stringId >= 0 && stringId < _bamlString.Count) { result = _bamlString[stringId]; } else { result = KnownTypes.GetKnownString(stringId); } } if (result == null) { throw new KeyNotFoundException(); } return(result); }