Unified · Split
| @@ -36,6 +36,9 @@ · 35 unmodified lines | ||
| 36 | 36 | // Updated LoadImplementations() method to add support for attributes. |
| 37 | 37 | // 12/14/2012 - Starlynn Danyelle Gilliam |
| 38 | 38 | // Modified Header. |
| 39 | +// 06/30/2009 - Pinal C. Patel | |
| 40 | +// Update LoadImplementations to use FQN when checking if a Type implements a specific interface | |
| 41 | +// to avoid namespace collisions. | |
| 39 | 42 | // |
| 40 | 43 | //****************************************************************************************************** |
| 41 | 44 | |
| @@ -190,7 +193,7 @@ namespace GSF · 148 unmodified lines | ||
| 190 | 193 | types.Add(asmType); |
| 191 | 194 | } |
| 192 | 195 | |
| 193 | − if (type.IsInterface && (object)asmType.GetInterface(type.Name) != null) | |
| 196 | + if (type.IsInterface && (object)asmType.GetInterface(type.FullName) != null) | |
| 194 | 197 | { |
| 195 | 198 | // The type being tested is an interface and current type implements it. |
| 196 | 199 | types.Add(asmType); |