| 
17 | 17 | /// For usage examples, please see VBETypeLibsAPI  | 
18 | 18 | /// </summary>  | 
19 | 19 | /// <remarks>  | 
20 |  | -/// CURRENT LIMITATIONS:  | 
21 |  | -/// At the moment, enums and UDTs are not exposed through the type libraries  | 
22 |  | -/// In addition, constants names are not available  | 
 | 20 | +/// TypeInfos from a VBA hosted project, and obtained through VBETypeLibsAccessor will have the following behaviours:  | 
 | 21 | +///   | 
 | 22 | +///   will expose both public and private prcoedures and fields  | 
 | 23 | +///   will expose constants values, but they are unnamed (their member IDs will be MEMBERID_NIL)  | 
 | 24 | +///   enumerations are not exposed directly in the type library  | 
 | 25 | +///   enumerations may be referenced by field/argument datatypes, and the ITypeInfos for them are then accessible that way  | 
 | 26 | +///   UDTs are not exposed directly in the type library  | 
 | 27 | +///   UDTs may be referenced by field/argument datatypes, and as such the ITypeInfos for them are then accessible that way  | 
 | 28 | +///     | 
 | 29 | +/// TypeInfos obtained by other means (such as the IDispatch::GetTypeInfo method) usually expose more restricted  | 
 | 30 | +/// versions of ITypeInfo which may not expose private members  | 
23 | 31 | /// </remarks>  | 
24 | 32 | 
 
  | 
25 | 33 | namespace Rubberduck.VBEditor.ComManagement.TypeLibs  | 
@@ -1544,7 +1552,7 @@ void ComTypes.ITypeLib.ReleaseTLibAttr(IntPtr pTLibAttr)  | 
1544 | 1552 |     /// <summary>  | 
1545 | 1553 |     /// An enumerable class for iterating over the double linked list of ITypeLibs provided by the VBE   | 
1546 | 1554 |     /// </summary>  | 
1547 |  | -    public class VBETypeLibsIterator : IEnumerable<TypeLibWrapper>, IEnumerator<TypeLibWrapper>, IDisposable  | 
 | 1555 | +    public class VBETypeLibsIterator : IEnumerable<TypeLibWrapper>, IEnumerator<TypeLibWrapper>  | 
1548 | 1556 |     {  | 
1549 | 1557 |         private IntPtr _currentTypeLibPtr;  | 
1550 | 1558 |         private VBETypeLibObj _currentTypeLibStruct;  | 
 | 
0 commit comments