diff --git a/src/AddIns/BackendBindings/WixBinding/Test/Utils/MockViewContent.cs b/src/AddIns/BackendBindings/WixBinding/Test/Utils/MockViewContent.cs index 2f14ac0f2c..6a1fd4190a 100644 --- a/src/AddIns/BackendBindings/WixBinding/Test/Utils/MockViewContent.cs +++ b/src/AddIns/BackendBindings/WixBinding/Test/Utils/MockViewContent.cs @@ -39,7 +39,7 @@ namespace WixBinding.Tests.Utils #pragma warning disable 67 public event EventHandler TabPageTextChanged; - public event EventHandler ViewActivated; + public event EventHandler SwitchedTo; public event EventHandler Disposed; public event EventHandler IsDirtyChanged; public event EventHandler TitleNameChanged; @@ -144,7 +144,7 @@ namespace WixBinding.Tests.Utils } } - public void SwitchedTo() + public void OnSwitchedTo() { throw new NotImplementedException(); } diff --git a/src/AddIns/DisplayBindings/XmlEditor/Test/Tree/XmlTreeViewClipboardHandlerTestFixture.cs b/src/AddIns/DisplayBindings/XmlEditor/Test/Tree/XmlTreeViewClipboardHandlerTestFixture.cs index 3e67b73ea1..5d33521d9c 100644 --- a/src/AddIns/DisplayBindings/XmlEditor/Test/Tree/XmlTreeViewClipboardHandlerTestFixture.cs +++ b/src/AddIns/DisplayBindings/XmlEditor/Test/Tree/XmlTreeViewClipboardHandlerTestFixture.cs @@ -44,7 +44,7 @@ namespace XmlEditor.Tests.Tree clipboardHandler = view as IClipboardHandler; xmlView.XmlEditor.Text = "
"; - view.SwitchedTo(); + ((IViewContent)view).OnSwitchedTo(); htmlTreeNode = treeView.Nodes[0] as XmlElementTreeNode; htmlTreeNode.PerformInitialization(); diff --git a/src/Main/Base/Test/CSharpExpressionFinderTests.cs b/src/Main/Base/Test/CSharpExpressionFinderTests.cs index 96b6b77675..a61a5b0c54 100644 --- a/src/Main/Base/Test/CSharpExpressionFinderTests.cs +++ b/src/Main/Base/Test/CSharpExpressionFinderTests.cs @@ -139,7 +139,7 @@ class Main { [Test] public void NewException() { - FindFull(program2, "otFoundException", "NotFoundException()", ExpressionContext.TypeDerivingFrom(ParserService.DefaultProjectContentRegistry.Mscorlib.GetClass("System.Exception", 0), true)); + FindFull(program2, "otFoundException", "NotFoundException()", ExpressionContext.TypeDerivingFrom(ParserService.DefaultProjectContentRegistry.Mscorlib.SystemTypes.Exception, true)); } } }