public VenusAdapterAdapterHack()
        {
            if (roslynType == null)
            {
                return;
            }
            var e = WebEditor.ExportProvider.GetExports(roslynType, typeof(object), null).SingleOrDefault();

            if (e == null)
            {
                Logger.Log("Roslyn's Venus exports have changed.  Please email Schabse ([email protected]) and mention your installed Roslyn version");
                return;
            }
            innerWpf = e.Value as IWpfTextViewCreationListener;
            innerVs  = e.Value as IVsTextViewCreationListener;

            if (innerWpf == null || innerVs == null)
            {
                Logger.Log("Roslyn's Venus base types have changed.  Please email Schabse ([email protected]) and mention your installed Roslyn version");
            }
        }
        public VenusAdapterAdapterHack()
        {
            if (roslynType == null)
                return;
            var e = WebEditor.ExportProvider.GetExports(roslynType, typeof(object), null).SingleOrDefault();
            if (e == null)
            {
                Logger.Log("Roslyn's Venus exports have changed.  Please email Schabse ([email protected]) and mention your installed Roslyn version");
                return;
            }
            innerWpf = e.Value as IWpfTextViewCreationListener;
            innerVs = e.Value as IVsTextViewCreationListener;

            if (innerWpf == null || innerVs == null)
                Logger.Log("Roslyn's Venus base types have changed.  Please email Schabse ([email protected]) and mention your installed Roslyn version");
        }