(Assembly assembly, string winRTNamespace)
| 97 | } |
| 98 | |
| 99 | public static IList<Type> GetTypesForNamespace(Assembly assembly, string winRTNamespace) |
| 100 | { |
| 101 | IList<Type> types = (from t in assembly.ExportedTypes where t.Namespace.Equals(winRTNamespace, StringComparison.InvariantCultureIgnoreCase) && !t.IsValueType && !t.IsGenericType && t.BaseType != typeof(Delegate) && t.BaseType != typeof(MulticastDelegate) select t).ToList(); |
| 102 | |
| 103 | IList<TypeInfo> hiddenTypes = GetHiddenTypesForNamespace(assembly, winRTNamespace); |
| 104 | |
| 105 | foreach (var t in hiddenTypes) |
| 106 | { |
| 107 | types.Add(t); |
| 108 | } |
| 109 | |
| 110 | return types; |
| 111 | } |
| 112 | |
| 113 | private static bool VerifyNamespaceInAssembly(Assembly assembly, string winRTNamespace) |
| 114 | { |
nothing calls this directly
no outgoing calls
no test coverage detected