diff --git a/src/net45/WampSharp/WAMP2/V2/PCL/CodeGeneration/CalleeProxyCodeGenerator.cs b/src/net45/WampSharp/WAMP2/V2/PCL/CodeGeneration/CalleeProxyCodeGenerator.cs index c8713bbcb..6e5a77483 100644 --- a/src/net45/WampSharp/WAMP2/V2/PCL/CodeGeneration/CalleeProxyCodeGenerator.cs +++ b/src/net45/WampSharp/WAMP2/V2/PCL/CodeGeneration/CalleeProxyCodeGenerator.cs @@ -98,7 +98,7 @@ private IEnumerable GetTypesToExplore(Type interfaceType) { yield return interfaceType; - foreach (Type implementedInterface in interfaceType.GetTypeInfo().ImplementedInterfaces) + foreach (Type implementedInterface in interfaceType.GetInterfaces()) { yield return implementedInterface; }