Skip to content

Commit a0d8b33

Browse files
nits
1 parent 75bf555 commit a0d8b33

File tree

1 file changed

+12
-4
lines changed

1 file changed

+12
-4
lines changed

Rubberduck.VBEEditor/ComManagement/TypeLibs/TypeLibs.cs

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,17 @@
1717
/// For usage examples, please see VBETypeLibsAPI
1818
/// </summary>
1919
/// <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
2331
/// </remarks>
2432

2533
namespace Rubberduck.VBEditor.ComManagement.TypeLibs
@@ -1544,7 +1552,7 @@ void ComTypes.ITypeLib.ReleaseTLibAttr(IntPtr pTLibAttr)
15441552
/// <summary>
15451553
/// An enumerable class for iterating over the double linked list of ITypeLibs provided by the VBE
15461554
/// </summary>
1547-
public class VBETypeLibsIterator : IEnumerable<TypeLibWrapper>, IEnumerator<TypeLibWrapper>, IDisposable
1555+
public class VBETypeLibsIterator : IEnumerable<TypeLibWrapper>, IEnumerator<TypeLibWrapper>
15481556
{
15491557
private IntPtr _currentTypeLibPtr;
15501558
private VBETypeLibObj _currentTypeLibStruct;

0 commit comments

Comments
 (0)