public virtual IReflectClass ForName(string className) { IReflectClass clazz = LookupByName(className); if (clazz != null) { return(clazz); } if (_stream == null) { return(null); } lock (_stream.Lock()) { if (_stream.ClassCollection() == null) { return(null); } int classID = _stream.ClassMetadataIdForName(className); if (classID <= 0) { return(null); } return(InitializeClass(classID, className)); } }