diff --git a/src/EditorFeatures/Test2/Rename/CSharp/AliasTests.vb b/src/EditorFeatures/Test2/Rename/CSharp/AliasTests.vb index 3f3a75670cc9c..3ea6cffbcd53d 100644 --- a/src/EditorFeatures/Test2/Rename/CSharp/AliasTests.vb +++ b/src/EditorFeatures/Test2/Rename/CSharp/AliasTests.vb @@ -17,7 +17,7 @@ Namespace Microsoft.CodeAnalysis.Editor.UnitTests.Rename.CSharp - Public Sub RenameNamespaceAlias(host As TestHost) + Public Sub RenameNamespaceAlias(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -37,7 +37,7 @@ Namespace Microsoft.CodeAnalysis.Editor.UnitTests.Rename.CSharp - Public Sub RenameNamespaceAndAlias(host As TestHost) + Public Sub RenameNamespaceAndAlias(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -58,7 +58,7 @@ Namespace Microsoft.CodeAnalysis.Editor.UnitTests.Rename.CSharp - Public Sub RenameNamespaceButNotDifferentlyNamedAlias(host As TestHost) + Public Sub RenameNamespaceButNotDifferentlyNamedAlias(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -79,7 +79,7 @@ Namespace Microsoft.CodeAnalysis.Editor.UnitTests.Rename.CSharp - Public Sub RenameConstructedTypeAliasFromUse(host As TestHost) + Public Sub RenameConstructedTypeAliasFromUse(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -102,7 +102,7 @@ Namespace Microsoft.CodeAnalysis.Editor.UnitTests.Rename.CSharp - Public Sub RenameConstructedTypeAliasFromDeclaration(host As TestHost) + Public Sub RenameConstructedTypeAliasFromDeclaration(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -124,7 +124,7 @@ Namespace Microsoft.CodeAnalysis.Editor.UnitTests.Rename.CSharp - Public Sub RenameConstructedTypeAliasFromDeclaration2(host As TestHost) + Public Sub RenameConstructedTypeAliasFromDeclaration2(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -146,7 +146,7 @@ Namespace Microsoft.CodeAnalysis.Editor.UnitTests.Rename.CSharp - Public Sub RenameSimpleTypeAliasFromUse(host As TestHost) + Public Sub RenameSimpleTypeAliasFromUse(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -168,7 +168,7 @@ Namespace Microsoft.CodeAnalysis.Editor.UnitTests.Rename.CSharp - Public Sub RenameSimpleTypeAliasFromDeclaration(host As TestHost) + Public Sub RenameSimpleTypeAliasFromDeclaration(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -190,7 +190,7 @@ Namespace Microsoft.CodeAnalysis.Editor.UnitTests.Rename.CSharp - Public Sub RenameSimpleSpecialTypeAliasVariable(host As TestHost) + Public Sub RenameSimpleSpecialTypeAliasVariable(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -212,7 +212,7 @@ Namespace Microsoft.CodeAnalysis.Editor.UnitTests.Rename.CSharp - Public Sub RenameSimpleSpecialTypeDoubleAliasVariable(host As TestHost) + Public Sub RenameSimpleSpecialTypeDoubleAliasVariable(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -235,7 +235,7 @@ Namespace Microsoft.CodeAnalysis.Editor.UnitTests.Rename.CSharp - Public Sub RenameSimpleTypeAliasVariable(host As TestHost) + Public Sub RenameSimpleTypeAliasVariable(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -257,7 +257,7 @@ Namespace Microsoft.CodeAnalysis.Editor.UnitTests.Rename.CSharp - Public Sub RenameAliasNoConflict(host As TestHost) + Public Sub RenameAliasNoConflict(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -290,7 +290,7 @@ public class C3 - Public Sub RenameAliasToSameNameNoConflict(host As TestHost) + Public Sub RenameAliasToSameNameNoConflict(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -318,7 +318,7 @@ public class C3 - Public Sub RenameOneDuplicateAliasToNoConflict(host As TestHost) + Public Sub RenameOneDuplicateAliasToNoConflict(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -345,7 +345,7 @@ public class C3 - Public Sub RenameOuterAliasWithNestedAlias(host As TestHost) + Public Sub RenameOuterAliasWithNestedAlias(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -371,7 +371,7 @@ namespace N - Public Sub RenameConflictWithAlias(host As TestHost) + Public Sub RenameConflictWithAlias(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -401,7 +401,7 @@ class C1 - Public Sub Bug579200_RenameNestedAliasTarget(host As TestHost) + Public Sub Bug579200_RenameNestedAliasTarget(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -429,7 +429,7 @@ namespace N - Public Sub Bug579214_RenameAttributeNamedDynamic(host As TestHost) + Public Sub Bug579214_RenameAttributeNamedDynamic(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -446,7 +446,7 @@ class C : [|$$dynamic|]::Object { } - Public Sub Bug629695_DetectConflictWithAliasInSameBlockCompUnit(host As TestHost) + Public Sub Bug629695_DetectConflictWithAliasInSameBlockCompUnit(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -491,7 +491,7 @@ class Program - Public Sub Bug629695_DetectConflictWithAliasInSameBlockNSDecl(host As TestHost) + Public Sub Bug629695_DetectConflictWithAliasInSameBlockNSDecl(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -539,7 +539,7 @@ namespace X - Public Sub Bug629695_DetectConflictWithAliasInSameBlockWithEscaping(host As TestHost) + Public Sub Bug629695_DetectConflictWithAliasInSameBlockWithEscaping(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -587,7 +587,7 @@ namespace X - Public Sub Bug603365_RenameAliasToClassNameOnlyFixesAliasUsages_1(host As TestHost) + Public Sub Bug603365_RenameAliasToClassNameOnlyFixesAliasUsages_1(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -615,7 +615,7 @@ namespace N - Public Sub Bug603365_RenameAliasToClassNameOnlyFixesAliasUsages_2(host As TestHost) + Public Sub Bug603365_RenameAliasToClassNameOnlyFixesAliasUsages_2(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -645,7 +645,7 @@ namespace N - Public Sub RenameAliasToAttributeAndEndingWithAttributeAttribute(host As TestHost) + Public Sub RenameAliasToAttributeAndEndingWithAttributeAttribute(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -680,7 +680,7 @@ class Program - Public Sub RenameAliasToAttributeAndEndingWithAttributeAttributeWithResolvedConflict(host As TestHost) + Public Sub RenameAliasToAttributeAndEndingWithAttributeAttributeWithResolvedConflict(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -717,7 +717,7 @@ class Program - Public Sub RenameAliasToNullableWithResolvedConflict(host As TestHost) + Public Sub RenameAliasToNullableWithResolvedConflict(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, diff --git a/src/EditorFeatures/Test2/Rename/CSharp/DeclarationConflictTests.vb b/src/EditorFeatures/Test2/Rename/CSharp/DeclarationConflictTests.vb index 34ed41dc888ea..e27b867d55e95 100644 --- a/src/EditorFeatures/Test2/Rename/CSharp/DeclarationConflictTests.vb +++ b/src/EditorFeatures/Test2/Rename/CSharp/DeclarationConflictTests.vb @@ -17,7 +17,7 @@ Namespace Microsoft.CodeAnalysis.Editor.UnitTests.Rename.CSharp - Public Sub NoConflictForDelegate(host As TestHost) + Public Sub NoConflictForDelegate(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -39,7 +39,7 @@ class C - Public Sub NoConflictForIsolatedScopes(host As TestHost) + Public Sub NoConflictForIsolatedScopes(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -62,7 +62,7 @@ class C - Public Sub ConflictBetweenFields(host As TestHost) + Public Sub ConflictBetweenFields(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -82,7 +82,7 @@ class Goo - Public Sub ConflictBetweenFieldAndMethodDeclaration(host As TestHost) + Public Sub ConflictBetweenFieldAndMethodDeclaration(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -102,7 +102,7 @@ class Goo - Public Sub ConflictBetweenPropertyAndFieldDeclaration(host As TestHost) + Public Sub ConflictBetweenPropertyAndFieldDeclaration(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -122,7 +122,7 @@ class Program - Public Sub ConflictBetweenMethodDeclarations(host As TestHost) + Public Sub ConflictBetweenMethodDeclarations(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -142,7 +142,7 @@ class Goo - Public Sub ConflictBetweenParameterDeclarations(host As TestHost) + Public Sub ConflictBetweenParameterDeclarations(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -161,7 +161,7 @@ class Goo - Public Sub NoConflictBetweenMethodsOfDifferentSignature(host As TestHost) + Public Sub NoConflictBetweenMethodsOfDifferentSignature(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -180,7 +180,7 @@ class Goo - Public Sub ConflictBetweenMemberDeclarationsWithOutOrRefDifferenceOnly(host As TestHost) + Public Sub ConflictBetweenMemberDeclarationsWithOutOrRefDifferenceOnly(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -200,7 +200,7 @@ class Goo - Public Sub NoConflictBetweenMethodsDifferingByArity(host As TestHost) + Public Sub NoConflictBetweenMethodsDifferingByArity(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -220,7 +220,7 @@ class Goo - Public Sub NoConflictWithNamespaceDefinedInMetadata(host As TestHost) + Public Sub NoConflictWithNamespaceDefinedInMetadata(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -235,7 +235,7 @@ namespace [|$$Goo|] { } - Public Sub NoConflictWithEquallyNamedNamespaces(host As TestHost) + Public Sub NoConflictWithEquallyNamedNamespaces(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -252,7 +252,7 @@ namespace N1 { } - Public Sub CS_ConflictInFieldInitializerOfFieldAndModuleNameResolvedThroughFullQualification(host As TestHost) + Public Sub CS_ConflictInFieldInitializerOfFieldAndModuleNameResolvedThroughFullQualification(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -283,7 +283,7 @@ class [|$$C|] - Public Sub CS_NoConflictBetweenLambdaParameterAndField(host As TestHost) + Public Sub CS_NoConflictBetweenLambdaParameterAndField(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -303,7 +303,7 @@ class Program - Public Sub CS_ConflictBetweenTypeParametersInTypeDeclaration(host As TestHost) + Public Sub CS_ConflictBetweenTypeParametersInTypeDeclaration(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -324,7 +324,7 @@ class Program<{|declconflict:A|}, [|$$B|]> - Public Sub CS_ConflictBetweenTypeParametersInMethodDeclaration(host As TestHost) + Public Sub CS_ConflictBetweenTypeParametersInMethodDeclaration(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -347,7 +347,7 @@ class Program - Public Sub CS_ConflictBetweenTypeParametersInMethodDeclaration_2(host As TestHost) + Public Sub CS_ConflictBetweenTypeParametersInMethodDeclaration_2(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -370,7 +370,7 @@ class Program - Public Sub CS_ConflictBetweenTypeParameterAndMember_1(host As TestHost) + Public Sub CS_ConflictBetweenTypeParameterAndMember_1(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -393,7 +393,7 @@ class Program<{|declconflict:@a|}> - Public Sub CS_ConflictBetweenTypeParameterAndMember_2(host As TestHost) + Public Sub CS_ConflictBetweenTypeParameterAndMember_2(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -415,7 +415,7 @@ class Program<{|declconflict:@a|}> - Public Sub CS_OverridingImplicitlyUsedMethod(host As TestHost) + Public Sub CS_OverridingImplicitlyUsedMethod(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -456,7 +456,7 @@ class C : A - Public Sub CS_OverridingImplicitlyUsedMethod_1(host As TestHost) + Public Sub CS_OverridingImplicitlyUsedMethod_1(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -496,7 +496,7 @@ class C : A - Public Sub CS_OverridingImplicitlyUsedMethod_2(host As TestHost) + Public Sub CS_OverridingImplicitlyUsedMethod_2(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -534,7 +534,7 @@ class C : A - Public Sub ConflictInsideAttributeArgument(host As TestHost) + Public Sub ConflictInsideAttributeArgument(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -557,7 +557,7 @@ class C - Public Sub ResolveConflictInAnonymousTypeProperty(host As TestHost) + Public Sub ResolveConflictInAnonymousTypeProperty(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -581,7 +581,7 @@ class C - Public Sub ResolveConflictWhenAnonymousTypeIsUsedAsGenericArgument(host As TestHost) + Public Sub ResolveConflictWhenAnonymousTypeIsUsedAsGenericArgument(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -608,7 +608,7 @@ class C - Public Sub ParameterInPartialMethodDefinitionConflictingWithLocalInPartialMethodImplementation(host As TestHost) + Public Sub ParameterInPartialMethodDefinitionConflictingWithLocalInPartialMethodImplementation(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, diff --git a/src/EditorFeatures/Test2/Rename/CSharp/EscapingTests.vb b/src/EditorFeatures/Test2/Rename/CSharp/EscapingTests.vb index c7e26710e071a..d0165e6da9765 100644 --- a/src/EditorFeatures/Test2/Rename/CSharp/EscapingTests.vb +++ b/src/EditorFeatures/Test2/Rename/CSharp/EscapingTests.vb @@ -16,7 +16,7 @@ Namespace Microsoft.CodeAnalysis.Editor.UnitTests.Rename.CSharp - Public Sub EscapeWhenRenamingToEscapedKeyword1(host As TestHost) + Public Sub EscapeWhenRenamingToEscapedKeyword1(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -34,7 +34,7 @@ class [|$$Goo|] - Public Sub EscapeWhenRenamingToEscapedKeyword2(host As TestHost) + Public Sub EscapeWhenRenamingToEscapedKeyword2(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -53,7 +53,7 @@ class {|escaped:$$Goo|} - Public Sub UseFullAttributeNameWhenShortNameIsKeyword(host As TestHost) + Public Sub UseFullAttributeNameWhenShortNameIsKeyword(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -79,7 +79,7 @@ class [|$$MainAttribute|] : System.Attribute - Public Sub EscapeAttributeIfKeyword(host As TestHost) + Public Sub EscapeAttributeIfKeyword(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -106,7 +106,7 @@ class {|escaped:$$MainAttribute|} : System.Attribute - Public Sub DoNotStickTokensTogetherForRefParameter_1(host As TestHost) + Public Sub DoNotStickTokensTogetherForRefParameter_1(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -126,7 +126,7 @@ class {|escaped:$$MainAttribute|} : System.Attribute - Public Sub DoNotStickTokensTogetherForRefParameter_2(host As TestHost) + Public Sub DoNotStickTokensTogetherForRefParameter_2(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -145,7 +145,7 @@ class {|escaped:$$MainAttribute|} : System.Attribute - Public Sub RenameEscapedIdentifierUnescapes(host As TestHost) + Public Sub RenameEscapedIdentifierUnescapes(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -166,7 +166,7 @@ class {|escaped:$$MainAttribute|} : System.Attribute - Public Sub RenameEscapedIdentifierUnescapes_2(host As TestHost) + Public Sub RenameEscapedIdentifierUnescapes_2(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -188,7 +188,7 @@ class {|escaped:$$MainAttribute|} : System.Attribute - Public Sub RenameEscapedIdentifierUnescapes_3(host As TestHost) + Public Sub RenameEscapedIdentifierUnescapes_3(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, diff --git a/src/EditorFeatures/Test2/Rename/CSharp/GenericTypeParameterTests.vb b/src/EditorFeatures/Test2/Rename/CSharp/GenericTypeParameterTests.vb index 34f27c05007d3..4af4155f8c7ed 100644 --- a/src/EditorFeatures/Test2/Rename/CSharp/GenericTypeParameterTests.vb +++ b/src/EditorFeatures/Test2/Rename/CSharp/GenericTypeParameterTests.vb @@ -15,7 +15,7 @@ Namespace Microsoft.CodeAnalysis.Editor.UnitTests.Rename.CSharp - Public Sub CustomerReported_ErrorTolerance(host As TestHost) + Public Sub CustomerReported_ErrorTolerance(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, diff --git a/src/EditorFeatures/Test2/Rename/CSharp/ImplicitReferenceConflictTests.vb b/src/EditorFeatures/Test2/Rename/CSharp/ImplicitReferenceConflictTests.vb index 574a77fbc7750..cd7e1d6056f75 100644 --- a/src/EditorFeatures/Test2/Rename/CSharp/ImplicitReferenceConflictTests.vb +++ b/src/EditorFeatures/Test2/Rename/CSharp/ImplicitReferenceConflictTests.vb @@ -17,7 +17,7 @@ Namespace Microsoft.CodeAnalysis.Editor.UnitTests.Rename.CSharp - Public Sub RenameMoveNextCausesConflictInForEach(host As TestHost) + Public Sub RenameMoveNextCausesConflictInForEach(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -53,7 +53,7 @@ class C End Sub - Public Sub RenameDeconstructCausesConflictInDeconstructionAssignment(host As TestHost) + Public Sub RenameDeconstructCausesConflictInDeconstructionAssignment(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -76,7 +76,7 @@ class C End Sub - Public Sub RenameDeconstructCausesConflictInDeconstructionForEach(host As TestHost) + Public Sub RenameDeconstructCausesConflictInDeconstructionForEach(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -101,7 +101,7 @@ class C End Sub - Public Sub RenameGetAwaiterCausesConflict(host As TestHost) + Public Sub RenameGetAwaiterCausesConflict(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -127,7 +127,7 @@ public class C - Public Sub RenameMoveNextInVBCausesConflictInForEach(host As TestHost) + Public Sub RenameMoveNextInVBCausesConflictInForEach(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -171,7 +171,7 @@ class D - Public Sub RenameMoveNextInVBToUpperCaseOnlyCausesConflictInCSForEach(host As TestHost) + Public Sub RenameMoveNextInVBToUpperCaseOnlyCausesConflictInCSForEach(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, diff --git a/src/EditorFeatures/Test2/Rename/CSharp/InteractiveTests.vb b/src/EditorFeatures/Test2/Rename/CSharp/InteractiveTests.vb index a16b2da4ee452..2f95aa72a1022 100644 --- a/src/EditorFeatures/Test2/Rename/CSharp/InteractiveTests.vb +++ b/src/EditorFeatures/Test2/Rename/CSharp/InteractiveTests.vb @@ -15,7 +15,7 @@ Namespace Microsoft.CodeAnalysis.Editor.UnitTests.Rename.CSharp - Public Sub RenamingTopLevelMethodsSupported(host As TestHost) + Public Sub RenamingTopLevelMethodsSupported(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, diff --git a/src/EditorFeatures/Test2/Rename/CSharp/InterfaceTests.vb b/src/EditorFeatures/Test2/Rename/CSharp/InterfaceTests.vb index 640586b3c1c4a..62a8d389ffc7a 100644 --- a/src/EditorFeatures/Test2/Rename/CSharp/InterfaceTests.vb +++ b/src/EditorFeatures/Test2/Rename/CSharp/InterfaceTests.vb @@ -15,7 +15,7 @@ Namespace Microsoft.CodeAnalysis.Editor.UnitTests.Rename.CSharp - Public Sub RenameExplicitlyImplementedInterfaceMemberFromDefinition(host As TestHost) + Public Sub RenameExplicitlyImplementedInterfaceMemberFromDefinition(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -38,7 +38,7 @@ class C : I - Public Sub RenameExplicitlyImplementedInterfaceMemberFromImplementation(host As TestHost) + Public Sub RenameExplicitlyImplementedInterfaceMemberFromImplementation(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -61,7 +61,7 @@ class C : I - Public Sub RenameExplicitlyImplementedInterfaceMemberWithInterfaceInNamespace(host As TestHost) + Public Sub RenameExplicitlyImplementedInterfaceMemberWithInterfaceInNamespace(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -86,7 +86,7 @@ class C : N.I End Sub - Public Sub RenameInterfaceForExplicitlyImplementedInterfaceMemberWithInterfaceInNamespace(host As TestHost) + Public Sub RenameInterfaceForExplicitlyImplementedInterfaceMemberWithInterfaceInNamespace(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, diff --git a/src/EditorFeatures/Test2/Rename/CSharp/LocalConflictTests.vb b/src/EditorFeatures/Test2/Rename/CSharp/LocalConflictTests.vb index a13996b321339..df88264bb6f76 100644 --- a/src/EditorFeatures/Test2/Rename/CSharp/LocalConflictTests.vb +++ b/src/EditorFeatures/Test2/Rename/CSharp/LocalConflictTests.vb @@ -17,7 +17,7 @@ Namespace Microsoft.CodeAnalysis.Editor.UnitTests.Rename.CSharp - Public Sub ConflictingLocalWithLocal(host As TestHost) + Public Sub ConflictingLocalWithLocal(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -42,7 +42,7 @@ class Program - Public Sub ConflictingLocalWithParameter(host As TestHost) + Public Sub ConflictingLocalWithParameter(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -65,7 +65,7 @@ class Program - Public Sub ConflictingLocalWithForEachRangeVariable(host As TestHost) + Public Sub ConflictingLocalWithForEachRangeVariable(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -90,7 +90,7 @@ class Program - Public Sub ConflictingLocalWithForLoopVariable(host As TestHost) + Public Sub ConflictingLocalWithForLoopVariable(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -115,7 +115,7 @@ class Program - Public Sub ConflictingLocalWithUsingBlockVariable(host As TestHost) + Public Sub ConflictingLocalWithUsingBlockVariable(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -140,7 +140,7 @@ class Program : IDisposable - Public Sub ConflictingLocalWithSimpleLambdaParameter(host As TestHost) + Public Sub ConflictingLocalWithSimpleLambdaParameter(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -166,7 +166,7 @@ class Program - Public Sub ConflictingLocalWithParenthesizedLambdaParameter(host As TestHost) + Public Sub ConflictingLocalWithParenthesizedLambdaParameter(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -192,7 +192,7 @@ class Program - Public Sub ConflictingFromClauseWithLetClause(host As TestHost) + Public Sub ConflictingFromClauseWithLetClause(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -223,7 +223,7 @@ class C - Public Sub ConflictBetweenLabelsInSameMethod(host As TestHost) + Public Sub ConflictBetweenLabelsInSameMethod(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -251,7 +251,7 @@ public class C - Public Sub ConflictBetweenLabelInMethodAndLambda(host As TestHost) + Public Sub ConflictBetweenLabelInMethodAndLambda(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -279,7 +279,7 @@ public class C - Public Sub ConflictBetweenLabelsInLambda(host As TestHost) + Public Sub ConflictBetweenLabelsInLambda(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -306,7 +306,7 @@ public class C - Public Sub NoConflictBetweenLabelsInTwoNonNestedLambdas(host As TestHost) + Public Sub NoConflictBetweenLabelsInTwoNonNestedLambdas(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -332,7 +332,7 @@ public class C - Public Sub NoConflictsWithCatchBlockWithoutExceptionVariable(host As TestHost) + Public Sub NoConflictsWithCatchBlockWithoutExceptionVariable(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -361,7 +361,7 @@ class Test - Public Sub NoConflictsBetweenCatchClauses(host As TestHost) + Public Sub NoConflictsBetweenCatchClauses(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -386,7 +386,7 @@ class Test - Public Sub ConflictsWithinCatchClause(host As TestHost) + Public Sub ConflictsWithinCatchClause(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -412,7 +412,7 @@ class Test - Public Sub NoConflictsWithCatchExceptionWithoutDeclaration(host As TestHost) + Public Sub NoConflictsWithCatchExceptionWithoutDeclaration(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -441,7 +441,7 @@ class Test - Public Sub ConflictingLocalWithFieldWithExtensionMethodInvolved(host As TestHost) + Public Sub ConflictingLocalWithFieldWithExtensionMethodInvolved(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -473,7 +473,7 @@ namespace ConsoleApplication1 - Public Sub ConflictsBetweenSwitchCaseStatementsWithoutBlocks(host As TestHost) + Public Sub ConflictsBetweenSwitchCaseStatementsWithoutBlocks(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -505,7 +505,7 @@ class Test - Public Sub NoConflictsBetweenSwitchCaseStatementsWithBlocks(host As TestHost) + Public Sub NoConflictsBetweenSwitchCaseStatementsWithBlocks(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -540,7 +540,7 @@ class Test - Public Sub NoConflictsBetweenSwitchCaseStatementFirstStatementWithBlock(host As TestHost) + Public Sub NoConflictsBetweenSwitchCaseStatementFirstStatementWithBlock(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -574,7 +574,7 @@ class Test - Public Sub NoConflictsBetweenSwitchCaseStatementSecondStatementWithBlock(host As TestHost) + Public Sub NoConflictsBetweenSwitchCaseStatementSecondStatementWithBlock(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, diff --git a/src/EditorFeatures/Test2/Rename/CSharp/OverrideTests.vb b/src/EditorFeatures/Test2/Rename/CSharp/OverrideTests.vb index e98a41bb0542d..c4eca4162fdb5 100644 --- a/src/EditorFeatures/Test2/Rename/CSharp/OverrideTests.vb +++ b/src/EditorFeatures/Test2/Rename/CSharp/OverrideTests.vb @@ -14,7 +14,7 @@ Namespace Microsoft.CodeAnalysis.Editor.UnitTests.Rename.CSharp End Sub - Public Sub RenameOverrideMemberFromDerivedClass(host As TestHost) + Public Sub RenameOverrideMemberFromDerivedClass(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -47,7 +47,7 @@ namespace ClassLibrary2 - Public Sub RenameOverrideMemberFromDerivedClassWhenMemberIsPrivate(host As TestHost) + Public Sub RenameOverrideMemberFromDerivedClassWhenMemberIsPrivate(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -79,7 +79,7 @@ namespace ClassLibrary2 End Sub - Public Sub RenameOverrideMemberFromDerivedClass_abstract_virtual(host As TestHost) + Public Sub RenameOverrideMemberFromDerivedClass_abstract_virtual(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -111,7 +111,7 @@ namespace ClassLibrary2 End Sub - Public Sub RenameOverrideMemberFromDerivedClass_abstract_override(host As TestHost) + Public Sub RenameOverrideMemberFromDerivedClass_abstract_override(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, diff --git a/src/EditorFeatures/Test2/Rename/DashboardTests.vb b/src/EditorFeatures/Test2/Rename/DashboardTests.vb index 21ad5dbf012cb..a65fb68345e1a 100644 --- a/src/EditorFeatures/Test2/Rename/DashboardTests.vb +++ b/src/EditorFeatures/Test2/Rename/DashboardTests.vb @@ -14,7 +14,7 @@ Namespace Microsoft.CodeAnalysis.Editor.UnitTests.Rename Public Class DashboardTests - Public Async Function RenameWithNoOverload(host As TestHost) As Task + Public Async Function RenameWithNoOverload(host As RenameTestHost) As Task Dim changingOptions = New Dictionary(Of OptionKey, Object)() changingOptions.Add(RenameOptions.RenameOverloads, True) Await VerifyDashboard( @@ -42,7 +42,7 @@ Namespace Microsoft.CodeAnalysis.Editor.UnitTests.Rename - Public Async Function RenameWithOverload(host As TestHost) As Task + Public Async Function RenameWithOverload(host As RenameTestHost) As Task Dim changingOptions = New Dictionary(Of OptionKey, Object)() changingOptions.Add(RenameOptions.RenameOverloads, True) Await VerifyDashboard( @@ -76,7 +76,7 @@ Namespace Microsoft.CodeAnalysis.Editor.UnitTests.Rename - Public Async Function RenameWithInvalidOverload(host As TestHost) As Task + Public Async Function RenameWithInvalidOverload(host As RenameTestHost) As Task Dim changingOptions = New Dictionary(Of OptionKey, Object)() changingOptions.Add(RenameOptions.RenameOverloads, True) Await VerifyDashboard( @@ -108,7 +108,7 @@ class Program - Public Async Function RenameAttributeAlias(host As TestHost) As Task + Public Async Function RenameAttributeAlias(host As RenameTestHost) As Task Await VerifyDashboard( ( @@ -128,7 +128,7 @@ class AttributeAttribute : System.Attribute { } - Public Async Function RenameWithOverloadAndInStringsAndComments(host As TestHost) As Task + Public Async Function RenameWithOverloadAndInStringsAndComments(host As RenameTestHost) As Task Dim changingOptions = New Dictionary(Of OptionKey, Object)() changingOptions.Add(RenameOptions.RenameOverloads, True) changingOptions.Add(RenameOptions.RenameInStrings, True) @@ -167,7 +167,7 @@ class AttributeAttribute : System.Attribute { } - Public Async Function RenameInComments(host As TestHost) As Task + Public Async Function RenameInComments(host As RenameTestHost) As Task Dim changingOptions = New Dictionary(Of OptionKey, Object)() changingOptions.Add(RenameOptions.RenameInComments, True) Await VerifyDashboard( @@ -207,7 +207,7 @@ class $$Program - Public Async Function RenameInStrings(host As TestHost) As Task + Public Async Function RenameInStrings(host As RenameTestHost) As Task Dim changingOptions = New Dictionary(Of OptionKey, Object)() changingOptions.Add(RenameOptions.RenameInStrings, True) Await VerifyDashboard( @@ -247,7 +247,7 @@ class $$Program - Public Async Function RenameInCommentsAndStrings(host As TestHost) As Task + Public Async Function RenameInCommentsAndStrings(host As RenameTestHost) As Task Dim changingOptions = New Dictionary(Of OptionKey, Object)() changingOptions.Add(RenameOptions.RenameInComments, True) changingOptions.Add(RenameOptions.RenameInStrings, True) @@ -287,7 +287,7 @@ class $$Program - Public Async Function NonConflictingEditWithMultipleLocations(host As TestHost) As Task + Public Async Function NonConflictingEditWithMultipleLocations(host As RenameTestHost) As Task Await VerifyDashboard( ( @@ -308,7 +308,7 @@ class $$Program - Public Async Function NonConflictingEditWithSingleLocation(host As TestHost) As Task + Public Async Function NonConflictingEditWithSingleLocation(host As RenameTestHost) As Task Await VerifyDashboard( ( @@ -329,7 +329,7 @@ class $$Program - Public Async Function ParameterConflictingWithInstanceField(host As TestHost) As Task + Public Async Function ParameterConflictingWithInstanceField(host As RenameTestHost) As Task Await VerifyDashboard( ( @@ -354,7 +354,7 @@ class $$Program - Public Async Function ParameterConflictingWithInstanceFieldMoreThanOnce(host As TestHost) As Task + Public Async Function ParameterConflictingWithInstanceFieldMoreThanOnce(host As RenameTestHost) As Task Await VerifyDashboard( ( @@ -378,7 +378,7 @@ class $$Program - Public Async Function ParameterConflictingWithLocal_Unresolvable(host As TestHost) As Task + Public Async Function ParameterConflictingWithLocal_Unresolvable(host As RenameTestHost) As Task Await VerifyDashboard( ( @@ -401,7 +401,7 @@ class $$Program - Public Async Function MoreThanOneUnresolvableConflicts(host As TestHost) As Task + Public Async Function MoreThanOneUnresolvableConflicts(host As RenameTestHost) As Task Await VerifyDashboard( ( @@ -426,7 +426,7 @@ class $$Program - Public Async Function ConflictsAcrossLanguages_Resolvable(host As TestHost) As Task + Public Async Function ConflictsAcrossLanguages_Resolvable(host As RenameTestHost) As Task Await VerifyDashboard( ( @@ -463,7 +463,7 @@ class $$Program - Public Async Function RenameWithNameof_FromDefinition_DoesNotForceRenameOverloadsOption(host As TestHost) As Task + Public Async Function RenameWithNameof_FromDefinition_DoesNotForceRenameOverloadsOption(host As RenameTestHost) As Task Await VerifyDashboard( ( @@ -487,7 +487,7 @@ class C - Public Async Function RenameWithNameof_FromReference_DoesForceRenameOverloadsOption(host As TestHost) As Task + Public Async Function RenameWithNameof_FromReference_DoesForceRenameOverloadsOption(host As RenameTestHost) As Task Await VerifyDashboard( ( @@ -511,7 +511,7 @@ class C - Public Async Function RenameWithNameof_FromDefinition_WithRenameOverloads_Cascading(host As TestHost) As Task + Public Async Function RenameWithNameof_FromDefinition_WithRenameOverloads_Cascading(host As RenameTestHost) As Task Dim changingOptions = New Dictionary(Of OptionKey, Object)() changingOptions.Add(RenameOptions.RenameOverloads, True) Await VerifyDashboard( @@ -550,7 +550,7 @@ class D : B test As XElement, newName As String, searchResultText As String, - host As TestHost, + host As RenameTestHost, Optional hasRenameOverload As Boolean = False, Optional isRenameOverloadsEditable As Boolean = True, Optional changedOptionSet As Dictionary(Of OptionKey, Object) = Nothing, @@ -636,7 +636,7 @@ class D : B - Public Async Function RenameWithReferenceInUnchangeableDocument(host As TestHost) As Task + Public Async Function RenameWithReferenceInUnchangeableDocument(host As RenameTestHost) As Task Dim changingOptions = New Dictionary(Of OptionKey, Object)() changingOptions.Add(RenameOptions.RenameOverloads, True) Await VerifyDashboard( diff --git a/src/EditorFeatures/Test2/Rename/InlineRenameTests.vb b/src/EditorFeatures/Test2/Rename/InlineRenameTests.vb index 440f70f6d1eed..4993a4b6d1441 100644 --- a/src/EditorFeatures/Test2/Rename/InlineRenameTests.vb +++ b/src/EditorFeatures/Test2/Rename/InlineRenameTests.vb @@ -28,7 +28,7 @@ Namespace Microsoft.CodeAnalysis.Editor.UnitTests.Rename - Public Async Function SimpleEditAndCommit(host As TestHost) As Task + Public Async Function SimpleEditAndCommit(host As RenameTestHost) As Task Using workspace = CreateWorkspaceWithWaiter( @@ -61,7 +61,7 @@ Namespace Microsoft.CodeAnalysis.Editor.UnitTests.Rename - Public Async Function RenameLocalVariableInTopLevelStatement(host As TestHost) As Task + Public Async Function RenameLocalVariableInTopLevelStatement(host As RenameTestHost) As Task Using workspace = CreateWorkspaceWithWaiter( @@ -88,7 +88,7 @@ Namespace Microsoft.CodeAnalysis.Editor.UnitTests.Rename - Public Async Function RenameLambdaDiscard(host As TestHost) As Task + Public Async Function RenameLambdaDiscard(host As RenameTestHost) As Task Using workspace = CreateWorkspaceWithWaiter( @@ -113,7 +113,7 @@ class C - Public Async Function RenameDeconstructionForeachCollection(host As TestHost) As Task + Public Async Function RenameDeconstructionForeachCollection(host As RenameTestHost) As Task Using workspace = CreateWorkspaceWithWaiter( @@ -140,7 +140,7 @@ class Deconstructable - Public Async Function RenameDeconstructMethodInDeconstructionForeach(host As TestHost) As Task + Public Async Function RenameDeconstructMethodInDeconstructionForeach(host As RenameTestHost) As Task Using workspace = CreateWorkspaceWithWaiter( @@ -170,7 +170,7 @@ class Deconstructable - Public Async Function SimpleEditAndVerifyTagsPropagatedAndCommit(host As TestHost) As Task + Public Async Function SimpleEditAndVerifyTagsPropagatedAndCommit(host As RenameTestHost) As Task Using workspace = CreateWorkspaceWithWaiter( @@ -247,7 +247,7 @@ class Deconstructable - Public Async Function RenameOverloadsCSharp(host As TestHost) As Task + Public Async Function RenameOverloadsCSharp(host As RenameTestHost) As Task Using workspace = CreateWorkspaceWithWaiter( @@ -281,7 +281,7 @@ class Program - Public Async Function RenameOverloadsVisualBasic(host As TestHost) As Task + Public Async Function RenameOverloadsVisualBasic(host As RenameTestHost) As Task Using workspace = CreateWorkspaceWithWaiter( @@ -323,7 +323,7 @@ End Class - Public Async Function RenameParameterShouldNotAffectCommentsInOtherDocuments(host As TestHost) As Task + Public Async Function RenameParameterShouldNotAffectCommentsInOtherDocuments(host As RenameTestHost) As Task Using workspace = CreateWorkspaceWithWaiter( @@ -349,7 +349,7 @@ End Class - Public Async Function RenameInLinkedFilesDoesNotCrash(host As TestHost) As Task + Public Async Function RenameInLinkedFilesDoesNotCrash(host As RenameTestHost) As Task Using workspace = CreateWorkspaceWithWaiter( @@ -372,7 +372,7 @@ End Class - Public Async Function RenameInLinkedFilesHandlesBothProjects(host As TestHost) As Task + Public Async Function RenameInLinkedFilesHandlesBothProjects(host As RenameTestHost) As Task Using workspace = CreateWorkspaceWithWaiter( @@ -399,7 +399,7 @@ public partial class C { } - Public Async Function RenameInLinkedFilesWithPrivateAccessibility(host As TestHost) As Task + Public Async Function RenameInLinkedFilesWithPrivateAccessibility(host As RenameTestHost) As Task Using workspace = CreateWorkspaceWithWaiter( @@ -431,7 +431,7 @@ public partial class C { } - Public Async Function RenameInLinkedFilesWithPublicAccessibility(host As TestHost) As Task + Public Async Function RenameInLinkedFilesWithPublicAccessibility(host As RenameTestHost) As Task Using workspace = CreateWorkspaceWithWaiter( @@ -463,7 +463,7 @@ public partial class C { } - Public Async Function RenameTypeInLinkedFiles(host As TestHost) As Task + Public Async Function RenameTypeInLinkedFiles(host As RenameTestHost) As Task Using workspace = CreateWorkspaceWithWaiter( @@ -486,7 +486,7 @@ public class [|$$C|] { } - Public Async Function RenameInCommentsAndStringsCSharp(host As TestHost) As Task + Public Async Function RenameInCommentsAndStringsCSharp(host As RenameTestHost) As Task Using workspace = CreateWorkspaceWithWaiter( @@ -594,7 +594,7 @@ class Program - Public Async Function RenameInCommentsAndStringsVisualBasic(host As TestHost) As Task + Public Async Function RenameInCommentsAndStringsVisualBasic(host As RenameTestHost) As Task Using workspace = CreateWorkspaceWithWaiter( @@ -694,7 +694,7 @@ End Class - Public Sub SimpleEditAndCancel(host As TestHost) + Public Sub SimpleEditAndCancel(host As RenameTestHost) Using workspace = CreateWorkspaceWithWaiter( @@ -732,7 +732,7 @@ End Class - Public Async Function CanRenameTypeNamedDynamic(host As TestHost) As Task + Public Async Function CanRenameTypeNamedDynamic(host As RenameTestHost) As Task Using workspace = CreateWorkspaceWithWaiter( @@ -763,7 +763,7 @@ End Class - Public Sub ReadOnlyRegionsCreated(host As TestHost) + Public Sub ReadOnlyRegionsCreated(host As RenameTestHost) Using workspace = CreateWorkspaceWithWaiter( @@ -800,7 +800,7 @@ End Class - Public Sub ReadOnlyRegionsCreatedWhichHandleBeginningOfFileEdgeCase(host As TestHost) + Public Sub ReadOnlyRegionsCreatedWhichHandleBeginningOfFileEdgeCase(host As RenameTestHost) Using workspace = CreateWorkspaceWithWaiter( @@ -826,7 +826,7 @@ End Class - Public Sub RenameWithInheritenceCascadingWithClass(host As TestHost) + Public Sub RenameWithInheritenceCascadingWithClass(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -859,7 +859,7 @@ End Class - Public Async Function VerifyNoRenameTrackingAfterInlineRenameTyping(host As TestHost) As Task + Public Async Function VerifyNoRenameTrackingAfterInlineRenameTyping(host As RenameTestHost) As Task Using workspace = CreateWorkspaceWithWaiter( @@ -896,7 +896,7 @@ End Class - Public Async Function VerifyNoRenameTrackingAfterInlineRenameTyping2(host As TestHost) As Task + Public Async Function VerifyNoRenameTrackingAfterInlineRenameTyping2(host As RenameTestHost) As Task Using workspace = CreateWorkspaceWithWaiter( @@ -931,7 +931,7 @@ End Class - Public Async Function VerifyNoRenameTrackingAfterInlineRenameCommit(host As TestHost) As Task + Public Async Function VerifyNoRenameTrackingAfterInlineRenameCommit(host As RenameTestHost) As Task Using workspace = CreateWorkspaceWithWaiter( @@ -969,7 +969,7 @@ End Class - Public Async Function VerifyNoRenameTrackingAfterInlineRenameCancel(host As TestHost) As Task + Public Async Function VerifyNoRenameTrackingAfterInlineRenameCancel(host As RenameTestHost) As Task Using workspace = CreateWorkspaceWithWaiter( @@ -1006,7 +1006,7 @@ End Class - Public Async Function VerifyRenameTrackingWorksAfterInlineRenameCommit(host As TestHost) As Task + Public Async Function VerifyRenameTrackingWorksAfterInlineRenameCommit(host As RenameTestHost) As Task Using workspace = CreateWorkspaceWithWaiter( @@ -1046,7 +1046,7 @@ End Class - Public Async Function VerifyPreviewChangesCalled(host As TestHost) As Task + Public Async Function VerifyPreviewChangesCalled(host As RenameTestHost) As Task Using workspace = CreateWorkspaceWithWaiter( @@ -1086,7 +1086,7 @@ End Class - Public Async Function VerifyPreviewChangesCancellation(host As TestHost) As Task + Public Async Function VerifyPreviewChangesCancellation(host As RenameTestHost) As Task Using workspace = CreateWorkspaceWithWaiter( @@ -1133,7 +1133,7 @@ End Class - Public Async Function VerifyLinkedFiles_MethodWithReferences(host As TestHost) As Task + Public Async Function VerifyLinkedFiles_MethodWithReferences(host As RenameTestHost) As Task Using workspace = CreateWorkspaceWithWaiter( @@ -1179,7 +1179,7 @@ End Class - Public Async Function VerifyLinkedFiles_FieldWithReferences(host As TestHost) As Task + Public Async Function VerifyLinkedFiles_FieldWithReferences(host As RenameTestHost) As Task Using workspace = CreateWorkspaceWithWaiter( @@ -1226,7 +1226,7 @@ End Class - Public Async Function CodeActionCannotCommitDuringInlineRename(host As TestHost) As Task + Public Async Function CodeActionCannotCommitDuringInlineRename(host As RenameTestHost) As Task Using workspace = CreateWorkspaceWithWaiter( @@ -1304,7 +1304,7 @@ class C - Public Async Function RenameMethodWithNameof_FromDefinition_NoOverloads(host As TestHost) As Task + Public Async Function RenameMethodWithNameof_FromDefinition_NoOverloads(host As RenameTestHost) As Task Using workspace = CreateWorkspaceWithWaiter( @@ -1336,7 +1336,7 @@ class C - Public Async Function RenameMethodWithNameof_FromReference_NoOverloads(host As TestHost) As Task + Public Async Function RenameMethodWithNameof_FromReference_NoOverloads(host As RenameTestHost) As Task Using workspace = CreateWorkspaceWithWaiter( @@ -1368,7 +1368,7 @@ class C - Public Async Function RenameMethodWithNameof_FromDefinition_WithOverloads(host As TestHost) As Task + Public Async Function RenameMethodWithNameof_FromDefinition_WithOverloads(host As RenameTestHost) As Task Using workspace = CreateWorkspaceWithWaiter( @@ -1402,7 +1402,7 @@ class C - Public Async Function RenameMethodWithNameof_FromReference_WithOverloads(host As TestHost) As Task + Public Async Function RenameMethodWithNameof_FromReference_WithOverloads(host As RenameTestHost) As Task Using workspace = CreateWorkspaceWithWaiter( @@ -1436,7 +1436,7 @@ class C - Public Async Function RenameMethodWithNameof_FromDefinition_WithOverloads_WithRenameOverloadsOption(host As TestHost) As Task + Public Async Function RenameMethodWithNameof_FromDefinition_WithOverloads_WithRenameOverloadsOption(host As RenameTestHost) As Task Using workspace = CreateWorkspaceWithWaiter( @@ -1462,7 +1462,7 @@ class C - Public Async Function RenameCommitsWhenDebuggingStarts(host As TestHost) As Task + Public Async Function RenameCommitsWhenDebuggingStarts(host As RenameTestHost) As Task Using workspace = CreateWorkspaceWithWaiter( @@ -1505,7 +1505,7 @@ class C - Public Async Function RenameCommitsWhenExitingDebuggingBreakMode(host As TestHost) As Task + Public Async Function RenameCommitsWhenExitingDebuggingBreakMode(host As RenameTestHost) As Task Using workspace = CreateWorkspaceWithWaiter( @@ -1548,7 +1548,7 @@ class C - Public Async Function InvalidInvocationExpression(host As TestHost) As Task + Public Async Function InvalidInvocationExpression(host As RenameTestHost) As Task ' Everything on the last line of main is parsed as a single invocation expression ' with CType(...) as the receiver and everything else as arguments. ' Rename doesn't expect to see CType as the receiver of an invocation. @@ -1583,7 +1583,7 @@ End Module - Public Async Function InvalidExpansionTarget(host As TestHost) As Task + Public Async Function InvalidExpansionTarget(host As RenameTestHost) As Task Using workspace = CreateWorkspaceWithWaiter( @@ -1613,7 +1613,7 @@ End Module - Public Async Function VerifyVBRenameCrashDoesNotRepro(host As TestHost) As Task + Public Async Function VerifyVBRenameCrashDoesNotRepro(host As RenameTestHost) As Task Using workspace = CreateWorkspaceWithWaiter( @@ -1657,7 +1657,7 @@ End Class - Public Sub VerifyVBRenameDoesNotCrashOnAsNewClause(host As TestHost) + Public Sub VerifyVBRenameDoesNotCrashOnAsNewClause(host As RenameTestHost) Using workspace = CreateWorkspaceWithWaiter( @@ -1697,7 +1697,7 @@ End Class - Public Sub VerifyNoFileRenameAllowedForPartialType(host As TestHost) + Public Sub VerifyNoFileRenameAllowedForPartialType(host As RenameTestHost) Using workspace = CreateWorkspaceWithWaiter( @@ -1728,7 +1728,7 @@ End Class - Public Sub VerifyFileRenameAllowedForPartialTypeWithSingleLocation(host As TestHost) + Public Sub VerifyFileRenameAllowedForPartialTypeWithSingleLocation(host As RenameTestHost) Using workspace = CreateWorkspaceWithWaiter( @@ -1751,7 +1751,7 @@ End Class - Public Sub VerifyFileRenameAllowedWithMultipleTypesOnMatchingName(host As TestHost) + Public Sub VerifyFileRenameAllowedWithMultipleTypesOnMatchingName(host As RenameTestHost) Using workspace = CreateWorkspaceWithWaiter( @@ -1778,7 +1778,7 @@ End Class - Public Sub VerifyNoFileRenameAllowedWithMultipleTypes(host As TestHost) + Public Sub VerifyNoFileRenameAllowedWithMultipleTypes(host As RenameTestHost) Using workspace = CreateWorkspaceWithWaiter( @@ -1805,7 +1805,7 @@ End Class - Public Sub VerifyEnumKindSupportsFileRename(host As TestHost) + Public Sub VerifyEnumKindSupportsFileRename(host As RenameTestHost) Using workspace = CreateWorkspaceWithWaiter( @@ -1828,7 +1828,7 @@ End Class - Public Sub VerifyInterfaceKindSupportsFileRename(host As TestHost) + Public Sub VerifyInterfaceKindSupportsFileRename(host As RenameTestHost) Using workspace = CreateWorkspaceWithWaiter( @@ -1849,7 +1849,7 @@ End Class - Public Sub VerifyUnsupportedFileRename(host As TestHost) + Public Sub VerifyUnsupportedFileRename(host As RenameTestHost) Using workspace = CreateWorkspaceWithWaiter( @@ -1870,7 +1870,7 @@ End Class - Public Sub VerifyFileRenameNotAllowedForLinkedFiles(host As TestHost) + Public Sub VerifyFileRenameNotAllowedForLinkedFiles(host As RenameTestHost) Using workspace = CreateWorkspaceWithWaiter( @@ -1895,7 +1895,7 @@ End Class - Public Sub VerifyFileRenamesCorrectlyWhenCaseChanges(host As TestHost) + Public Sub VerifyFileRenamesCorrectlyWhenCaseChanges(host As RenameTestHost) Using workspace = CreateWorkspaceWithWaiter( @@ -1923,7 +1923,7 @@ class [|$$Test1|] - Public Async Function EditBackToOriginalNameThenCommit(host As TestHost) As Task + Public Async Function EditBackToOriginalNameThenCommit(host As RenameTestHost) As Task Using workspace = CreateWorkspaceWithWaiter( @@ -1957,7 +1957,7 @@ class [|$$Test1|] - Public Async Function RenameFromOtherFile(host As TestHost) As Task + Public Async Function RenameFromOtherFile(host As RenameTestHost) As Task Using workspace = CreateWorkspaceWithWaiter( @@ -1986,7 +1986,7 @@ class [|$$Test1|] - Public Async Function RenameConstructorReferencedInGlobalSuppression(host As TestHost) As Task + Public Async Function RenameConstructorReferencedInGlobalSuppression(host As RenameTestHost) As Task Using workspace = CreateWorkspaceWithWaiter( diff --git a/src/EditorFeatures/Test2/Rename/RenameCommandHandlerTests.vb b/src/EditorFeatures/Test2/Rename/RenameCommandHandlerTests.vb index 93ab04dfae493..448a6bd9f7ae6 100644 --- a/src/EditorFeatures/Test2/Rename/RenameCommandHandlerTests.vb +++ b/src/EditorFeatures/Test2/Rename/RenameCommandHandlerTests.vb @@ -26,7 +26,7 @@ Namespace Microsoft.CodeAnalysis.Editor.UnitTests.Rename - Public Sub RenameCommandInvokesInlineRename(host As TestHost) + Public Sub RenameCommandInvokesInlineRename(host As RenameTestHost) Using workspace = CreateWorkspaceWithWaiter( @@ -51,7 +51,7 @@ Namespace Microsoft.CodeAnalysis.Editor.UnitTests.Rename - Public Sub RenameCommandDisabledInSubmission(host As TestHost) + Public Sub RenameCommandDisabledInSubmission(host As RenameTestHost) Dim exportProvider = ExportProviderCache _ .GetOrCreateExportProviderFactory(TestExportProvider.EntireAssemblyCatalogWithCSharpAndVisualBasic.WithParts(GetType(InteractiveSupportsFeatureService.InteractiveTextBufferSupportsFeatureService))) _ .CreateExportProvider() @@ -86,7 +86,7 @@ Namespace Microsoft.CodeAnalysis.Editor.UnitTests.Rename - Public Sub RenameCommandWithSelectionDoesNotSelect(host As TestHost) + Public Sub RenameCommandWithSelectionDoesNotSelect(host As RenameTestHost) Using workspace = CreateWorkspaceWithWaiter( @@ -112,7 +112,7 @@ Namespace Microsoft.CodeAnalysis.Editor.UnitTests.Rename - Public Async Function RenameCommandWithReversedSelectionDoesNotSelectOrCrash(host As TestHost) As System.Threading.Tasks.Task + Public Async Function RenameCommandWithReversedSelectionDoesNotSelectOrCrash(host As RenameTestHost) As System.Threading.Tasks.Task Using workspace = CreateWorkspaceWithWaiter( @@ -138,7 +138,7 @@ Namespace Microsoft.CodeAnalysis.Editor.UnitTests.Rename - Public Sub TypingOutsideRenameSpanCommitsAndPreservesVirtualSelection(host As TestHost) + Public Sub TypingOutsideRenameSpanCommitsAndPreservesVirtualSelection(host As RenameTestHost) Using workspace = CreateWorkspaceWithWaiter( @@ -170,7 +170,7 @@ End Class - Public Sub RenameCommandNotActiveWhenNotTouchingIdentifier(host As TestHost) + Public Sub RenameCommandNotActiveWhenNotTouchingIdentifier(host As RenameTestHost) Using workspace = CreateWorkspaceWithWaiter( @@ -195,7 +195,7 @@ End Class - Public Sub TypingSpaceDuringRename(host As TestHost) + Public Sub TypingSpaceDuringRename(host As RenameTestHost) Using workspace = CreateWorkspaceWithWaiter( @@ -227,7 +227,7 @@ End Class - Public Async Function TypingTabDuringRename(host As TestHost) As Task + Public Async Function TypingTabDuringRename(host As RenameTestHost) As Task Using workspace = CreateWorkspaceWithWaiter( @@ -269,7 +269,7 @@ End Class - Public Async Function SelectAllDuringRename(host As TestHost) As Task + Public Async Function SelectAllDuringRename(host As RenameTestHost) As Task Using workspace = CreateWorkspaceWithWaiter( @@ -318,7 +318,7 @@ Goo f; - Public Async Function WordDeleteDuringRename(host As TestHost) As Task + Public Async Function WordDeleteDuringRename(host As RenameTestHost) As Task Using workspace = CreateWorkspaceWithWaiter( @@ -367,7 +367,7 @@ class [|$$Goo|] // comment - Public Async Function NavigationDuringRename(host As TestHost) As Task + Public Async Function NavigationDuringRename(host As RenameTestHost) As Task Using workspace = CreateWorkspaceWithWaiter( @@ -471,7 +471,7 @@ Goo f; - Public Async Function TypingTypeCharacterDuringRename(host As TestHost) As Task + Public Async Function TypingTypeCharacterDuringRename(host As RenameTestHost) As Task Using workspace = CreateWorkspaceWithWaiter( @@ -504,7 +504,7 @@ Goo f; - Public Async Function TypingInOtherPartsOfFileTriggersCommit(host As TestHost) As Task + Public Async Function TypingInOtherPartsOfFileTriggersCommit(host As RenameTestHost) As Task Using workspace = CreateWorkspaceWithWaiter( @@ -557,7 +557,7 @@ Goo f; - Public Async Function DeletingInEditSpanPropagatesEdit(host As TestHost) As Task + Public Async Function DeletingInEditSpanPropagatesEdit(host As RenameTestHost) As Task Using workspace = CreateWorkspaceWithWaiter( @@ -597,7 +597,7 @@ Goo f; - Public Async Function BackspacingInEditSpanPropagatesEdit(host As TestHost) As Task + Public Async Function BackspacingInEditSpanPropagatesEdit(host As RenameTestHost) As Task Using workspace = CreateWorkspaceWithWaiter( @@ -636,7 +636,7 @@ Goo f; - Public Async Function DeletingInOtherPartsOfFileTriggersCommit(host As TestHost) As Task + Public Async Function DeletingInOtherPartsOfFileTriggersCommit(host As RenameTestHost) As Task Using workspace = CreateWorkspaceWithWaiter( @@ -686,7 +686,7 @@ Goo f; - Public Async Function TypingInOtherFileTriggersCommit(host As TestHost) As Task + Public Async Function TypingInOtherFileTriggersCommit(host As RenameTestHost) As Task Using workspace = CreateWorkspaceWithWaiter( @@ -746,7 +746,7 @@ Goo f; - Public Async Function TypingInOtherFileWithConflictTriggersCommit(host As TestHost) As Task + Public Async Function TypingInOtherFileWithConflictTriggersCommit(host As RenameTestHost) As Task Using workspace = CreateWorkspaceWithWaiter( @@ -812,7 +812,7 @@ Goo f; - Public Async Function RenameMemberFromCref(host As TestHost) As Task + Public Async Function RenameMemberFromCref(host As RenameTestHost) As Task Using workspace = CreateWorkspaceWithWaiter( @@ -847,7 +847,7 @@ class Program End Function - Public Async Function RenameInDocumentsWithoutOpenTextViews(host As TestHost) As Task + Public Async Function RenameInDocumentsWithoutOpenTextViews(host As RenameTestHost) As Task Using workspace = CreateWorkspaceWithWaiter( @@ -892,7 +892,7 @@ partial class [|Program|] - Public Sub TypingCtrlEnterDuringRenameCSharp(host As TestHost) + Public Sub TypingCtrlEnterDuringRenameCSharp(host As RenameTestHost) Using workspace = CreateWorkspaceWithWaiter( @@ -932,7 +932,7 @@ partial class [|Program|] - Public Sub TypingCtrlEnterOutsideSpansDuringRenameCSharp(host As TestHost) + Public Sub TypingCtrlEnterOutsideSpansDuringRenameCSharp(host As RenameTestHost) Using workspace = CreateWorkspaceWithWaiter( @@ -975,7 +975,7 @@ partial class [|Program|] - Public Sub TypingCtrlShiftEnterDuringRenameCSharp(host As TestHost) + Public Sub TypingCtrlShiftEnterDuringRenameCSharp(host As RenameTestHost) Using workspace = CreateWorkspaceWithWaiter( @@ -1015,7 +1015,7 @@ partial class [|Program|] - Public Sub TypingCtrlEnterDuringRenameBasic(host As TestHost) + Public Sub TypingCtrlEnterDuringRenameBasic(host As RenameTestHost) Using workspace = CreateWorkspaceWithWaiter( @@ -1052,7 +1052,7 @@ partial class [|Program|] - Public Sub TypingCtrlShiftEnterDuringRenameBasic(host As TestHost) + Public Sub TypingCtrlShiftEnterDuringRenameBasic(host As RenameTestHost) Using workspace = CreateWorkspaceWithWaiter( @@ -1089,7 +1089,7 @@ partial class [|Program|] - Public Async Function SaveDuringRenameCommits(host As TestHost) As Task + Public Async Function SaveDuringRenameCommits(host As RenameTestHost) As Task Using workspace = CreateWorkspaceWithWaiter( @@ -1131,7 +1131,7 @@ partial class [|Program|] - Public Sub MoveSelectedLinesUpDuringRename(host As TestHost) + Public Sub MoveSelectedLinesUpDuringRename(host As RenameTestHost) VerifyCommandCommitsRenameSessionAndExecutesCommand( host, Sub(commandHandler As RenameCommandHandler, view As IWpfTextView, nextHandler As Action) @@ -1142,7 +1142,7 @@ partial class [|Program|] - Public Sub MoveSelectedLinesDownDuringRename(host As TestHost) + Public Sub MoveSelectedLinesDownDuringRename(host As RenameTestHost) VerifyCommandCommitsRenameSessionAndExecutesCommand( host, Sub(commandHandler As RenameCommandHandler, view As IWpfTextView, nextHandler As Action) @@ -1153,7 +1153,7 @@ partial class [|Program|] - Public Sub ReorderParametersDuringRename(host As TestHost) + Public Sub ReorderParametersDuringRename(host As RenameTestHost) VerifyCommandCommitsRenameSessionAndExecutesCommand( host, Sub(commandHandler As RenameCommandHandler, view As IWpfTextView, nextHandler As Action) @@ -1164,7 +1164,7 @@ partial class [|Program|] - Public Sub RemoveParametersDuringRename(host As TestHost) + Public Sub RemoveParametersDuringRename(host As RenameTestHost) VerifyCommandCommitsRenameSessionAndExecutesCommand( host, Sub(commandHandler As RenameCommandHandler, view As IWpfTextView, nextHandler As Action) @@ -1175,7 +1175,7 @@ partial class [|Program|] - Public Sub ExtractInterfaceDuringRename(host As TestHost) + Public Sub ExtractInterfaceDuringRename(host As RenameTestHost) VerifyCommandCommitsRenameSessionAndExecutesCommand( host, Sub(commandHandler As RenameCommandHandler, view As IWpfTextView, nextHandler As Action) @@ -1186,7 +1186,7 @@ partial class [|Program|] - Public Sub EncapsulateFieldDuringRename(host As TestHost) + Public Sub EncapsulateFieldDuringRename(host As RenameTestHost) VerifyCommandCommitsRenameSessionAndExecutesCommand( host, Sub(commandHandler As RenameCommandHandler, view As IWpfTextView, nextHandler As Action) @@ -1196,7 +1196,7 @@ partial class [|Program|] - Public Async Function CutDuringRename_InsideIdentifier(host As TestHost) As Task + Public Async Function CutDuringRename_InsideIdentifier(host As RenameTestHost) As Task Await VerifySessionActiveAfterCutPasteInsideIdentifier( host, Sub(commandHandler As RenameCommandHandler, view As IWpfTextView, nextHandler As Action) @@ -1206,7 +1206,7 @@ partial class [|Program|] - Public Async Function PasteDuringRename_InsideIdentifier(host As TestHost) As Task + Public Async Function PasteDuringRename_InsideIdentifier(host As RenameTestHost) As Task Await VerifySessionActiveAfterCutPasteInsideIdentifier( host, Sub(commandHandler As RenameCommandHandler, view As IWpfTextView, nextHandler As Action) @@ -1216,7 +1216,7 @@ partial class [|Program|] - Public Sub CutDuringRename_OutsideIdentifier(host As TestHost) + Public Sub CutDuringRename_OutsideIdentifier(host As RenameTestHost) VerifySessionCommittedAfterCutPasteOutsideIdentifier( host, Sub(commandHandler As RenameCommandHandler, view As IWpfTextView, nextHandler As Action) @@ -1226,7 +1226,7 @@ partial class [|Program|] - Public Sub PasteDuringRename_OutsideIdentifier(host As TestHost) + Public Sub PasteDuringRename_OutsideIdentifier(host As RenameTestHost) VerifySessionCommittedAfterCutPasteOutsideIdentifier( host, Sub(commandHandler As RenameCommandHandler, view As IWpfTextView, nextHandler As Action) @@ -1234,7 +1234,7 @@ partial class [|Program|] End Sub) End Sub - Private Shared Sub VerifyCommandCommitsRenameSessionAndExecutesCommand(host As TestHost, executeCommand As Action(Of RenameCommandHandler, IWpfTextView, Action)) + Private Shared Sub VerifyCommandCommitsRenameSessionAndExecutesCommand(host As RenameTestHost, executeCommand As Action(Of RenameCommandHandler, IWpfTextView, Action)) Using workspace = CreateWorkspaceWithWaiter( @@ -1279,7 +1279,7 @@ class [|C$$|] End Using End Sub - Private Shared Async Function VerifySessionActiveAfterCutPasteInsideIdentifier(host As TestHost, executeCommand As Action(Of RenameCommandHandler, IWpfTextView, Action)) As Task + Private Shared Async Function VerifySessionActiveAfterCutPasteInsideIdentifier(host As RenameTestHost, executeCommand As Action(Of RenameCommandHandler, IWpfTextView, Action)) As Task Using workspace = CreateWorkspaceWithWaiter( @@ -1314,7 +1314,7 @@ class [|C$$|] End Using End Function - Private Shared Sub VerifySessionCommittedAfterCutPasteOutsideIdentifier(host As TestHost, executeCommand As Action(Of RenameCommandHandler, IWpfTextView, Action)) + Private Shared Sub VerifySessionCommittedAfterCutPasteOutsideIdentifier(host As RenameTestHost, executeCommand As Action(Of RenameCommandHandler, IWpfTextView, Action)) Using workspace = CreateWorkspaceWithWaiter( diff --git a/src/EditorFeatures/Test2/Rename/RenameEngineResult.vb b/src/EditorFeatures/Test2/Rename/RenameEngineResult.vb index a2233ca127d26..4564b3b43872c 100644 --- a/src/EditorFeatures/Test2/Rename/RenameEngineResult.vb +++ b/src/EditorFeatures/Test2/Rename/RenameEngineResult.vb @@ -50,14 +50,14 @@ Namespace Microsoft.CodeAnalysis.Editor.UnitTests.Rename helper As ITestOutputHelper, workspaceXml As XElement, renameTo As String, - host As TestHost, + host As RenameTestHost, Optional changedOptionSet As Dictionary(Of OptionKey, Object) = Nothing, Optional expectFailure As Boolean = False) As RenameEngineResult Dim workspace = TestWorkspace.CreateWorkspace(workspaceXml) workspace.SetTestLogger(AddressOf helper.WriteLine) workspace.TryApplyChanges(workspace.CurrentSolution.WithOptions( - workspace.Options.WithChangedOption(RemoteHostOptions.RemoteHostTest, host <> TestHost.InProcess))) + workspace.Options.WithChangedOption(RemoteHostOptions.RemoteHostTest, host <> RenameTestHost.InProcess))) Dim engineResult As RenameEngineResult = Nothing Try @@ -112,11 +112,11 @@ Namespace Microsoft.CodeAnalysis.Editor.UnitTests.Rename solution As Solution, symbol As ISymbol, optionSet As OptionSet, - host As TestHost) As ConflictResolution + host As RenameTestHost) As ConflictResolution Dim renameOptions = RenameOptionSet.From(solution, optionSet) - If host = TestHost.OutOfProcess Then + If host = RenameTestHost.OutOfProcess_SplitCall Then ' This tests that each portion of rename can properly marshal to/from the OOP process. It validates ' features that need to call each part independently and operate on the intermediary values. diff --git a/src/EditorFeatures/Test2/Rename/RenameEngineTests.CSharpConflicts.vb b/src/EditorFeatures/Test2/Rename/RenameEngineTests.CSharpConflicts.vb index bfc7cf06e4ded..2696e60d78ed2 100644 --- a/src/EditorFeatures/Test2/Rename/RenameEngineTests.CSharpConflicts.vb +++ b/src/EditorFeatures/Test2/Rename/RenameEngineTests.CSharpConflicts.vb @@ -18,7 +18,7 @@ Namespace Microsoft.CodeAnalysis.Editor.UnitTests.Rename - Public Sub BreakingRenameWithRollBacksInsideLambdas_2(host As TestHost) + Public Sub BreakingRenameWithRollBacksInsideLambdas_2(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -46,7 +46,7 @@ class C - Public Sub BreakingRenameWithRollBacksInsideLambdas_1(host As TestHost) + Public Sub BreakingRenameWithRollBacksInsideLambdas_1(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -78,7 +78,7 @@ class C - Public Sub BreakingRenameWithInvocationOnDelegateInstance(host As TestHost) + Public Sub BreakingRenameWithInvocationOnDelegateInstance(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -109,7 +109,7 @@ class C - Public Sub BreakingRenameWithSameClassInOneNamespace(host As TestHost) + Public Sub BreakingRenameWithSameClassInOneNamespace(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -137,7 +137,7 @@ namespace N - Public Sub BreakingRenameCrossAssembly(host As TestHost) + Public Sub BreakingRenameCrossAssembly(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -169,7 +169,7 @@ public class [|C|] - Public Sub ConflictResolutionInsideLambdaBody(host As TestHost) + Public Sub ConflictResolutionInsideLambdaBody(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -216,7 +216,7 @@ class Proaasgram - Public Sub ConflictResolutionInsideExpressionBodiedLambda(host As TestHost) + Public Sub ConflictResolutionInsideExpressionBodiedLambda(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -242,7 +242,7 @@ public class B - Public Sub ConflictResolutionInsideExpressionBodiedLambda2(host As TestHost) + Public Sub ConflictResolutionInsideExpressionBodiedLambda2(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -267,7 +267,7 @@ public class B - Public Sub ConflictResolutionInsideMethodBody(host As TestHost) + Public Sub ConflictResolutionInsideMethodBody(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -295,7 +295,7 @@ public class B - Public Sub ConflictResolutionInInvocationWithLambda_1(host As TestHost) + Public Sub ConflictResolutionInInvocationWithLambda_1(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -345,7 +345,7 @@ static class E - Public Sub ConflictResolutionInInvocationWithLambda_2(host As TestHost) + Public Sub ConflictResolutionInInvocationWithLambda_2(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -395,7 +395,7 @@ static class E - Public Sub ConflictResolutionInInvocationWithLambda_3(host As TestHost) + Public Sub ConflictResolutionInInvocationWithLambda_3(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -445,7 +445,7 @@ static class E - Public Sub ConflictResolutionInInvocationWithLambda_4(host As TestHost) + Public Sub ConflictResolutionInInvocationWithLambda_4(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -495,7 +495,7 @@ static class E - Public Sub ConflictResolutionInInvocationWithLambda_5(host As TestHost) + Public Sub ConflictResolutionInInvocationWithLambda_5(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -545,7 +545,7 @@ static class E - Public Sub ParameterConflictingWithInstanceField1(host As TestHost) + Public Sub ParameterConflictingWithInstanceField1(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -569,7 +569,7 @@ class Foo - Public Sub ParameterConflictingWithInstanceField2(host As TestHost) + Public Sub ParameterConflictingWithInstanceField2(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -595,7 +595,7 @@ class Foo - Public Sub ParameterConflictingWithInstanceFieldRenamingToKeyword(host As TestHost) + Public Sub ParameterConflictingWithInstanceFieldRenamingToKeyword(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -622,7 +622,7 @@ class Foo - Public Sub ParameterConflictingWithStaticField(host As TestHost) + Public Sub ParameterConflictingWithStaticField(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -648,7 +648,7 @@ class Foo - Public Sub ParameterConflictingWithFieldFromAnotherLanguage(host As TestHost) + Public Sub ParameterConflictingWithFieldFromAnotherLanguage(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -679,7 +679,7 @@ End Class - Public Sub ConflictingTypeDeclaration(host As TestHost) + Public Sub ConflictingTypeDeclaration(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -725,7 +725,7 @@ static class C - Public Sub RenamingToInvalidIdentifier(host As TestHost) + Public Sub RenamingToInvalidIdentifier(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -745,7 +745,7 @@ class {|Invalid:$$Foo|} - Public Sub RenamingToInvalidIdentifier2(host As TestHost) + Public Sub RenamingToInvalidIdentifier2(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -767,7 +767,7 @@ class {|Invalid:$$Foo|} - Public Sub RenamingToConflictingMethodInvocation(host As TestHost) + Public Sub RenamingToConflictingMethodInvocation(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -796,7 +796,7 @@ class Program - Public Sub RenamingToConflictingMethodInvocation2(host As TestHost) + Public Sub RenamingToConflictingMethodInvocation2(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -824,7 +824,7 @@ class Program - Public Sub RenamingTypeToConflictingMemberAndParentTypeName(host As TestHost) + Public Sub RenamingTypeToConflictingMemberAndParentTypeName(host As RenameTestHost) ' It's important that we see conflicts for both simultaneously, so I do a single ' test for both cases. Using result = RenameEngineResult.Create(_outputHelper, @@ -849,7 +849,7 @@ class {|Conflict:Foo|} - Public Sub RenamingMemberToNameConflictingWithParent(host As TestHost) + Public Sub RenamingMemberToNameConflictingWithParent(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -869,7 +869,7 @@ class {|Conflict:Foo|} - Public Sub RenamingMemberToInvalidIdentifierName(host As TestHost) + Public Sub RenamingMemberToInvalidIdentifierName(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -888,7 +888,7 @@ class {|Invalid:$$Foo|} - Public Sub MinimalQualificationOfBaseType1(host As TestHost) + Public Sub MinimalQualificationOfBaseType1(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -913,7 +913,7 @@ class Y : X - Public Sub MinimalQualificationOfBaseType2(host As TestHost) + Public Sub MinimalQualificationOfBaseType2(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -939,7 +939,7 @@ class Y : X - Public Sub EscapeIfKeywordWhenDoingTypeNameQualification(host As TestHost) + Public Sub EscapeIfKeywordWhenDoingTypeNameQualification(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -966,7 +966,7 @@ static class Foo - Public Sub EscapeUnboundGenericTypesInTypeOfContext(host As TestHost) + Public Sub EscapeUnboundGenericTypesInTypeOfContext(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -1000,7 +1000,7 @@ class Program - Public Sub EscapeUnboundGenericTypesInTypeOfContext2(host As TestHost) + Public Sub EscapeUnboundGenericTypesInTypeOfContext2(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -1035,7 +1035,7 @@ class Program - Public Sub EscapeUnboundGenericTypesInTypeOfContext3(host As TestHost) + Public Sub EscapeUnboundGenericTypesInTypeOfContext3(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -1077,7 +1077,7 @@ class Program - Public Sub ReplaceAliasWithGenericTypeThatIncludesArrays(host As TestHost) + Public Sub ReplaceAliasWithGenericTypeThatIncludesArrays(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -1104,7 +1104,7 @@ class Program - Public Sub ReplaceAliasWithGenericTypeThatIncludesPointers(host As TestHost) + Public Sub ReplaceAliasWithGenericTypeThatIncludesPointers(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -1131,7 +1131,7 @@ class Program - Public Sub ReplaceAliasWithNestedGenericType(host As TestHost) + Public Sub ReplaceAliasWithNestedGenericType(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -1162,7 +1162,7 @@ class B - Public Sub RewriteConflictingExtensionMethodCallSite(host As TestHost) + Public Sub RewriteConflictingExtensionMethodCallSite(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -1193,7 +1193,7 @@ static class E - Public Sub RewriteConflictingExtensionMethodCallSiteWithReturnTypeChange(host As TestHost) + Public Sub RewriteConflictingExtensionMethodCallSiteWithReturnTypeChange(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -1222,7 +1222,7 @@ static class E - Public Sub RewriteConflictingExtensionMethodCallSiteRequiringTypeArguments(host As TestHost) + Public Sub RewriteConflictingExtensionMethodCallSiteRequiringTypeArguments(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -1253,7 +1253,7 @@ static class E - Public Sub RewriteConflictingExtensionMethodCallSiteInferredTypeArguments(host As TestHost) + Public Sub RewriteConflictingExtensionMethodCallSiteInferredTypeArguments(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -1282,7 +1282,7 @@ static class E - Public Sub DoNotDetectQueryContinuationNamedTheSame(host As TestHost) + Public Sub DoNotDetectQueryContinuationNamedTheSame(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -1311,7 +1311,7 @@ class C - Public Sub RenameHandlesUsingWithoutDeclaration(host As TestHost) + Public Sub RenameHandlesUsingWithoutDeclaration(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -1340,7 +1340,7 @@ class Program - Public Sub RenameHandlesForWithoutDeclaration(host As TestHost) + Public Sub RenameHandlesForWithoutDeclaration(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -1367,7 +1367,7 @@ class Program - Public Sub RenameAttributeSuffix(host As TestHost) + Public Sub RenameAttributeSuffix(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -1391,7 +1391,7 @@ public class [|$$SomethingAttribute|] : Attribute - Public Sub RenameAddAttributeSuffix(host As TestHost) + Public Sub RenameAddAttributeSuffix(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -1414,7 +1414,7 @@ public class [|$$SomethingAttribute|] : Attribute - Public Sub RenameKeepAttributeSuffixOnUsages(host As TestHost) + Public Sub RenameKeepAttributeSuffixOnUsages(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -1437,7 +1437,7 @@ public class [|$$SomethingAttribute|] : Attribute - Public Sub RenameToConflictWithValue(host As TestHost) + Public Sub RenameToConflictWithValue(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -1466,7 +1466,7 @@ class C - Public Sub RenameAttributeWithConflictingUse(host As TestHost) + Public Sub RenameAttributeWithConflictingUse(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -1493,7 +1493,7 @@ class [|$$Main|] : System.Attribute - Public Sub QualifyTypeWithGlobalWhenConflicting(host As TestHost) + Public Sub QualifyTypeWithGlobalWhenConflicting(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -1516,7 +1516,7 @@ class B End Class - Public Sub RenameSymbolDoesNotConflictWithNestedLocals(host As TestHost) + Public Sub RenameSymbolDoesNotConflictWithNestedLocals(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -1541,7 +1541,7 @@ class C End Sub - Public Sub RenameSymbolConflictWithLocals(host As TestHost) + Public Sub RenameSymbolConflictWithLocals(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -1567,7 +1567,7 @@ class C - Public Sub RenameAliasToCatchConflict(host As TestHost) + Public Sub RenameAliasToCatchConflict(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -1589,7 +1589,7 @@ namespace X End Sub - Public Sub RenameAttributeToCreateConflict(host As TestHost) + Public Sub RenameAttributeToCreateConflict(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -1614,7 +1614,7 @@ class [|$$Main|] : Attribute // Rename 'Main' to 'Special' End Sub - Public Sub RenameUsingToKeyword(host As TestHost) + Public Sub RenameUsingToKeyword(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -1640,7 +1640,7 @@ class B - Public Sub RenameInNestedClasses(host As TestHost) + Public Sub RenameInNestedClasses(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -1676,7 +1676,7 @@ namespace N - Public Sub RenameAndEscapeContextualKeywordsInCSharp(host As TestHost) + Public Sub RenameAndEscapeContextualKeywordsInCSharp(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -1697,7 +1697,7 @@ class [|t$$o|] // Rename 'to' to 'from' - Public Sub RenameCrefWithConflict(host As TestHost) + Public Sub RenameCrefWithConflict(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -1733,7 +1733,7 @@ class C End Sub - Public Sub RenameClassContainingAlias(host As TestHost) + Public Sub RenameClassContainingAlias(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -1759,7 +1759,7 @@ class [|$$B|] End Sub - Public Sub RenameFunctionWithOverloadConflict(host As TestHost) + Public Sub RenameFunctionWithOverloadConflict(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -1783,7 +1783,7 @@ class Bar End Sub - Public Sub RenameActionWithFunctionConflict(host As TestHost) + Public Sub RenameActionWithFunctionConflict(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -1812,7 +1812,7 @@ class Program - Public Sub RenameFunctionNameToDelegateTypeConflict1(host As TestHost) + Public Sub RenameFunctionNameToDelegateTypeConflict1(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -1842,7 +1842,7 @@ class A - Public Sub RenameFunctionNameToDelegateTypeConflict2(host As TestHost) + Public Sub RenameFunctionNameToDelegateTypeConflict2(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -1870,7 +1870,7 @@ class A End Sub - Public Sub RenameFunctionNameToDelegateTypeConflict3(host As TestHost) + Public Sub RenameFunctionNameToDelegateTypeConflict3(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -1902,7 +1902,7 @@ class A - Public Sub RenameFunctionNameToDelegateTypeConflict4(host As TestHost) + Public Sub RenameFunctionNameToDelegateTypeConflict4(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -1934,7 +1934,7 @@ class A - Public Sub RenameActionTypeConflict(host As TestHost) + Public Sub RenameActionTypeConflict(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -1962,7 +1962,7 @@ class A - Public Sub RenameConflictAttribute1(host As TestHost) + Public Sub RenameConflictAttribute1(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -1983,7 +1983,7 @@ class [|$$FooAttribute|] : System.Attribute End Sub - Public Sub RenameConflictAttribute2(host As TestHost) + Public Sub RenameConflictAttribute2(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -2006,7 +2006,7 @@ class AAttributeAttribute : Attribute - Public Sub Bug576573_ConflictAttributeWithNamespace(host As TestHost) + Public Sub Bug576573_ConflictAttributeWithNamespace(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -2036,7 +2036,7 @@ namespace X - Public Sub Bug579602_RenameFunctionWithDynamicParameter(host As TestHost) + Public Sub Bug579602_RenameFunctionWithDynamicParameter(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -2066,7 +2066,7 @@ class A End Sub - Public Sub IdentifyConflictsWithVar(host As TestHost) + Public Sub IdentifyConflictsWithVar(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -2093,7 +2093,7 @@ class [|$$vor|] - Public Sub CS_DetectOverLoadResolutionChangesInEnclosingInvocations(host As TestHost) + Public Sub CS_DetectOverLoadResolutionChangesInEnclosingInvocations(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -2132,7 +2132,7 @@ static class E - Public Sub ExpandingDynamicAddsObjectCast(host As TestHost) + Public Sub ExpandingDynamicAddsObjectCast(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -2161,7 +2161,7 @@ class C - Public Sub RenameNamespaceConflictsAndResolves(host As TestHost) + Public Sub RenameNamespaceConflictsAndResolves(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -2195,7 +2195,7 @@ namespace N - Public Sub RenameUnnecessaryExpansion(host As TestHost) + Public Sub RenameUnnecessaryExpansion(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -2226,7 +2226,7 @@ namespace N - Public Sub RenameInCrefPreservesWhitespaceTrivia(host As TestHost) + Public Sub RenameInCrefPreservesWhitespaceTrivia(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -2264,7 +2264,7 @@ public class A #Region "Type Argument Expand/Reduce for Generic Method Calls - 639136" - Public Sub GenericNameTypeInferenceExpansion(host As TestHost) + Public Sub GenericNameTypeInferenceExpansion(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -2292,7 +2292,7 @@ class C - Public Sub GenericNameTypeInferenceExpansion_This(host As TestHost) + Public Sub GenericNameTypeInferenceExpansion_This(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -2320,7 +2320,7 @@ class C - Public Sub GenericNameTypeInferenceExpansion_Nested(host As TestHost) + Public Sub GenericNameTypeInferenceExpansion_Nested(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -2349,7 +2349,7 @@ class C End Sub - Public Sub GenericNameTypeInferenceExpansion_ReferenceType(host As TestHost) + Public Sub GenericNameTypeInferenceExpansion_ReferenceType(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -2375,7 +2375,7 @@ class C - Public Sub GenericNameTypeInferenceExpansion_ConstructedTypeArgumentNonGenericContainer(host As TestHost) + Public Sub GenericNameTypeInferenceExpansion_ConstructedTypeArgumentNonGenericContainer(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -2404,7 +2404,7 @@ class D - Public Sub GenericNameTypeInferenceExpansion_SameTypeParameter(host As TestHost) + Public Sub GenericNameTypeInferenceExpansion_SameTypeParameter(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -2431,7 +2431,7 @@ class C - Public Sub GenericNameTypeInferenceExpansion_ArrayTypeParameter(host As TestHost) + Public Sub GenericNameTypeInferenceExpansion_ArrayTypeParameter(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -2457,7 +2457,7 @@ class C - Public Sub GenericNameTypeInferenceExpansion_MultiDArrayTypeParameter(host As TestHost) + Public Sub GenericNameTypeInferenceExpansion_MultiDArrayTypeParameter(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -2483,7 +2483,7 @@ class C - Public Sub GenericNameTypeInferenceExpansion_UsedAsArgument(host As TestHost) + Public Sub GenericNameTypeInferenceExpansion_UsedAsArgument(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -2509,7 +2509,7 @@ class C - Public Sub GenericNameTypeInferenceExpansion_UsedInConstructorInitialization(host As TestHost) + Public Sub GenericNameTypeInferenceExpansion_UsedInConstructorInitialization(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -2535,7 +2535,7 @@ class C - Public Sub GenericNameTypeInferenceExpansion_CalledOnObject(host As TestHost) + Public Sub GenericNameTypeInferenceExpansion_CalledOnObject(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -2561,7 +2561,7 @@ class C - Public Sub GenericNameTypeInferenceExpansion_UsedInGenericDelegate(host As TestHost) + Public Sub GenericNameTypeInferenceExpansion_UsedInGenericDelegate(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -2587,7 +2587,7 @@ class C - Public Sub GenericNameTypeInferenceExpansion_UsedInNonGenericDelegate(host As TestHost) + Public Sub GenericNameTypeInferenceExpansion_UsedInNonGenericDelegate(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -2613,7 +2613,7 @@ class C - Public Sub GenericNameTypeInferenceExpansion_MultipleTypeParameters(host As TestHost) + Public Sub GenericNameTypeInferenceExpansion_MultipleTypeParameters(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -2640,7 +2640,7 @@ class C - Public Sub GenericNameTypeInferenceExpansion_ConflictInDerived(host As TestHost) + Public Sub GenericNameTypeInferenceExpansion_ConflictInDerived(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -2668,7 +2668,7 @@ class D : C - Public Sub RenameGenericInvocationWithDynamicArgument(host As TestHost) + Public Sub RenameGenericInvocationWithDynamicArgument(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -2694,7 +2694,7 @@ class C - Public Sub ExpandInvocationInStaticMemberAccess(host As TestHost) + Public Sub ExpandInvocationInStaticMemberAccess(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -2727,7 +2727,7 @@ class D - Public Sub RecursiveTypeParameterExpansionFail(host As TestHost) + Public Sub RecursiveTypeParameterExpansionFail(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -2754,7 +2754,7 @@ class C - Public Sub RenameCrefWithProperBracesForTypeInferenceAdditionToMethod(host As TestHost) + Public Sub RenameCrefWithProperBracesForTypeInferenceAdditionToMethod(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -2779,7 +2779,7 @@ class C - Public Sub GenericNameTypeInferenceExpansion_GenericBase(host As TestHost) + Public Sub GenericNameTypeInferenceExpansion_GenericBase(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -2808,7 +2808,7 @@ class D : C - Public Sub GenericNameTypeInferenceExpansion_InErrorCode(host As TestHost) + Public Sub GenericNameTypeInferenceExpansion_InErrorCode(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -2844,7 +2844,7 @@ class C - Public Sub CS_ConflictBetweenTypeNamesInTypeConstraintSyntax(host As TestHost) + Public Sub CS_ConflictBetweenTypeNamesInTypeConstraintSyntax(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -2874,7 +2874,7 @@ internal abstract partial class AbstractReferenceFinder : IReferenceFin - Public Sub MemberQualificationInNameOfUsesTypeName_StaticReferencingInstance(host As TestHost) + Public Sub MemberQualificationInNameOfUsesTypeName_StaticReferencingInstance(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -2899,7 +2899,7 @@ class C - Public Sub MemberQualificationInNameOfUsesTypeName_InstanceReferencingStatic(host As TestHost) + Public Sub MemberQualificationInNameOfUsesTypeName_InstanceReferencingStatic(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -2924,7 +2924,7 @@ class C - Public Sub MemberQualificationInNameOfUsesTypeName_InstanceReferencingInstance(host As TestHost) + Public Sub MemberQualificationInNameOfUsesTypeName_InstanceReferencingInstance(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -2949,7 +2949,7 @@ class C - Public Sub MemberQualificationInNameOfMethodInvocationUsesThisDot(host As TestHost) + Public Sub MemberQualificationInNameOfMethodInvocationUsesThisDot(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -2976,7 +2976,7 @@ class C - Public Sub RenameComplexifiesInLambdaBodyExpression(host As TestHost) + Public Sub RenameComplexifiesInLambdaBodyExpression(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -2998,7 +2998,7 @@ class C - Public Sub RenameComplexifiesInExpressionBodiedMembers(host As TestHost) + Public Sub RenameComplexifiesInExpressionBodiedMembers(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -3021,7 +3021,7 @@ class C - Public Sub TestConflictBetweenClassAndInterface1(host As TestHost) + Public Sub TestConflictBetweenClassAndInterface1(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -3039,7 +3039,7 @@ interface [|$$I|] { } - Public Sub TestConflictBetweenClassAndInterface2(host As TestHost) + Public Sub TestConflictBetweenClassAndInterface2(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -3057,7 +3057,7 @@ interface {|conflict:I|} { } - Public Sub TestConflictBetweenClassAndNamespace1(host As TestHost) + Public Sub TestConflictBetweenClassAndNamespace1(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -3075,7 +3075,7 @@ namespace N { } - Public Sub TestConflictBetweenClassAndNamespace2(host As TestHost) + Public Sub TestConflictBetweenClassAndNamespace2(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -3093,7 +3093,7 @@ namespace [|$$N|] { } - Public Sub TestNoConflictBetweenTwoNamespaces(host As TestHost) + Public Sub TestNoConflictBetweenTwoNamespaces(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -3109,7 +3109,7 @@ namespace N2 { } - Public Sub TestNoConflictWithParametersOrLocalsOfDelegateType(host As TestHost) + Public Sub TestNoConflictWithParametersOrLocalsOfDelegateType(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -3142,7 +3142,7 @@ class C - Public Sub TestConflictWithLocalsOfDelegateTypeWhenBindingChangesToNonDelegateLocal(host As TestHost) + Public Sub TestConflictWithLocalsOfDelegateTypeWhenBindingChangesToNonDelegateLocal(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -3169,7 +3169,7 @@ class C - Public Sub NoCrashOrConflictOnRenameWithNameOfInAttribute(host As TestHost) + Public Sub NoCrashOrConflictOnRenameWithNameOfInAttribute(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -3190,7 +3190,7 @@ class C - Public Sub ConflictWhenNameOfReferenceDoesNotBindToAnyOriginalSymbols(host As TestHost) + Public Sub ConflictWhenNameOfReferenceDoesNotBindToAnyOriginalSymbols(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -3214,7 +3214,7 @@ class C - Public Sub NoConflictWhenNameOfReferenceDoesNotBindToSomeOriginalSymbols(host As TestHost) + Public Sub NoConflictWhenNameOfReferenceDoesNotBindToSomeOriginalSymbols(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -3233,7 +3233,7 @@ class Program - Public Sub NoConflictWhenNameOfReferenceBindsToSymbolForFirstTime(host As TestHost) + Public Sub NoConflictWhenNameOfReferenceBindsToSymbolForFirstTime(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -3252,7 +3252,7 @@ class Program - Public Sub ConflictWhenNameOfReferenceChangesBindingFromMetadataToSource(host As TestHost) + Public Sub ConflictWhenNameOfReferenceChangesBindingFromMetadataToSource(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -3278,7 +3278,7 @@ class Program - Public Sub InvalidNamesDoNotCauseCrash_IntroduceQualifiedName(host As TestHost) + Public Sub InvalidNamesDoNotCauseCrash_IntroduceQualifiedName(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -3296,7 +3296,7 @@ class {|conflict:C$$|} { } - Public Sub InvalidNamesDoNotCauseCrash_AccidentallyPasteLotsOfCode(host As TestHost) + Public Sub InvalidNamesDoNotCauseCrash_AccidentallyPasteLotsOfCode(host As RenameTestHost) Dim renameTo = "class C { public void M() { for (int i = 0; i < 10; i++) { System.Console.Writeline(""This is a test""); } } }" Using result = RenameEngineResult.Create(_outputHelper, @@ -3316,7 +3316,7 @@ class {|conflict:C$$|} { } - Public Sub DeclarationConflictInFileWithoutReferences_SameProject(host As TestHost) + Public Sub DeclarationConflictInFileWithoutReferences_SameProject(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -3348,7 +3348,7 @@ class Program2 - Public Sub DeclarationConflictInFileWithoutReferences_DifferentProjects(host As TestHost) + Public Sub DeclarationConflictInFileWithoutReferences_DifferentProjects(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -3384,7 +3384,7 @@ class Program2 - Public Sub DeclarationConflictInFileWithoutReferences_PartialTypes(host As TestHost) + Public Sub DeclarationConflictInFileWithoutReferences_PartialTypes(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -3414,7 +3414,7 @@ partial class C - Public Sub RenameInsideNameOf1(host As TestHost) + Public Sub RenameInsideNameOf1(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -3441,7 +3441,7 @@ class Program - Public Sub RenameInsideNameOf2(host As TestHost) + Public Sub RenameInsideNameOf2(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -3468,7 +3468,7 @@ class Program - Public Sub RenameInsideNameOf3(host As TestHost) + Public Sub RenameInsideNameOf3(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -3498,7 +3498,7 @@ class Program - Public Sub RenameTypeParameterInPartialClass(host As TestHost) + Public Sub RenameTypeParameterInPartialClass(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -3514,7 +3514,7 @@ partial class C<[|T|]> {} - Public Sub RenameMethodToConflictWithTypeParameter(host As TestHost) + Public Sub RenameMethodToConflictWithTypeParameter(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -3532,7 +3532,7 @@ partial class C<{|Conflict:T|}> {} - Public Sub RenameTypeToCurrent(host As TestHost) + Public Sub RenameTypeToCurrent(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -3549,7 +3549,7 @@ partial class {|current:$$C|} { } - Public Sub RenameMethodToFinalizeWithDestructorPresent(host As TestHost) + Public Sub RenameMethodToFinalizeWithDestructorPresent(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -3574,7 +3574,7 @@ class C - Public Sub CannotRenameToVar(host As TestHost) + Public Sub CannotRenameToVar(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, diff --git a/src/EditorFeatures/Test2/Rename/RenameEngineTests.VisualBasicConflicts.vb b/src/EditorFeatures/Test2/Rename/RenameEngineTests.VisualBasicConflicts.vb index e40453365db93..88632c857121f 100644 --- a/src/EditorFeatures/Test2/Rename/RenameEngineTests.VisualBasicConflicts.vb +++ b/src/EditorFeatures/Test2/Rename/RenameEngineTests.VisualBasicConflicts.vb @@ -20,7 +20,7 @@ Namespace Microsoft.CodeAnalysis.Editor.UnitTests.Rename - Public Sub BreakingRenameWithRollBacksInsideLambdas_2(host As TestHost) + Public Sub BreakingRenameWithRollBacksInsideLambdas_2(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -48,7 +48,7 @@ End Class - Public Sub BreakingRenameWithRollBacksInsideLambdas(host As TestHost) + Public Sub BreakingRenameWithRollBacksInsideLambdas(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -78,7 +78,7 @@ End Class - Public Sub HandleInvocationExpressions(host As TestHost) + Public Sub HandleInvocationExpressions(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -98,7 +98,7 @@ End Module - Public Sub BreakingRenameWithInvocationOnDelegateInstance(host As TestHost) + Public Sub BreakingRenameWithInvocationOnDelegateInstance(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -124,7 +124,7 @@ End Class - Public Sub BreakingRenameWithSameClassInOneNamespace(host As TestHost) + Public Sub BreakingRenameWithSameClassInOneNamespace(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -149,7 +149,7 @@ End Namespace End Sub - Public Sub OverloadResolutionConflictResolve_1(host As TestHost) + Public Sub OverloadResolutionConflictResolve_1(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -205,7 +205,7 @@ End Module End Sub - Public Sub OverloadResolutionConflictResolve_2(host As TestHost) + Public Sub OverloadResolutionConflictResolve_2(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -266,7 +266,7 @@ End Module End Sub - Public Sub OverloadResolutionConflictResolve_3(host As TestHost) + Public Sub OverloadResolutionConflictResolve_3(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -332,7 +332,7 @@ End Module End Sub - Public Sub OverloadResolutionConflictResolve_4(host As TestHost) + Public Sub OverloadResolutionConflictResolve_4(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -398,7 +398,7 @@ End Module End Sub - Public Sub RenameStatementWithResolvingAndUnresolvingConflictInSameStatement_VB(host As TestHost) + Public Sub RenameStatementWithResolvingAndUnresolvingConflictInSameStatement_VB(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -437,7 +437,7 @@ End Module - Public Sub IntroduceWhitespaceTriviaToInvocationIfCallKeywordIsIntroduced(host As TestHost) + Public Sub IntroduceWhitespaceTriviaToInvocationIfCallKeywordIsIntroduced(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -468,7 +468,7 @@ End Class - Public Sub ExpandInvocationInStaticMemberAccess(host As TestHost) + Public Sub ExpandInvocationInStaticMemberAccess(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -505,7 +505,7 @@ End Class - Public Sub ConflictResolutionWithTypeInference_Me(host As TestHost) + Public Sub ConflictResolutionWithTypeInference_Me(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -538,7 +538,7 @@ End Class - Public Sub ConflictResolutionWithTypeInference(host As TestHost) + Public Sub ConflictResolutionWithTypeInference(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -570,7 +570,7 @@ End Class - Public Sub ConflictResolutionWithTypeInference_Nested(host As TestHost) + Public Sub ConflictResolutionWithTypeInference_Nested(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -604,7 +604,7 @@ End Class - Public Sub ConflictResolutionWithTypeInference_ReferenceType(host As TestHost) + Public Sub ConflictResolutionWithTypeInference_ReferenceType(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -631,7 +631,7 @@ End Module - Public Sub ConflictResolutionWithTypeInference_Cref(host As TestHost) + Public Sub ConflictResolutionWithTypeInference_Cref(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -658,7 +658,7 @@ End Class - Public Sub ConflictResolutionWithTypeInference_DifferentScope1(host As TestHost) + Public Sub ConflictResolutionWithTypeInference_DifferentScope1(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -692,7 +692,7 @@ End Class - Public Sub ConflictResolutionWithTypeInference_ConstructedTypeArgumentGenericContainer(host As TestHost) + Public Sub ConflictResolutionWithTypeInference_ConstructedTypeArgumentGenericContainer(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -719,7 +719,7 @@ End Class - Public Sub ConflictResolutionWithTypeInference_ConstructedTypeArgumentNonGenericContainer(host As TestHost) + Public Sub ConflictResolutionWithTypeInference_ConstructedTypeArgumentNonGenericContainer(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -748,7 +748,7 @@ End Class - Public Sub ConflictResolutionWithTypeInference_ObjectType(host As TestHost) + Public Sub ConflictResolutionWithTypeInference_ObjectType(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -775,7 +775,7 @@ End Class - Public Sub ConflictResolutionWithTypeInference_SameTypeParameter(host As TestHost) + Public Sub ConflictResolutionWithTypeInference_SameTypeParameter(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -803,7 +803,7 @@ End Class - Public Sub ConflictResolutionWithTypeInference_MultiDArrayTypeParameter(host As TestHost) + Public Sub ConflictResolutionWithTypeInference_MultiDArrayTypeParameter(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -831,7 +831,7 @@ End Class - Public Sub ConflictResolutionWithTypeInference_UsedAsArgument(host As TestHost) + Public Sub ConflictResolutionWithTypeInference_UsedAsArgument(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -860,7 +860,7 @@ End Class - Public Sub ConflictResolutionWithTypeInference_UsedInConstructorInitialization(host As TestHost) + Public Sub ConflictResolutionWithTypeInference_UsedInConstructorInitialization(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -889,7 +889,7 @@ End Class - Public Sub ConflictResolutionWithTypeInference_CalledOnObject(host As TestHost) + Public Sub ConflictResolutionWithTypeInference_CalledOnObject(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -916,7 +916,7 @@ End Class - Public Sub ConflictResolutionWithTypeInference_UsedInGenericDelegate(host As TestHost) + Public Sub ConflictResolutionWithTypeInference_UsedInGenericDelegate(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -943,7 +943,7 @@ End Class - Public Sub ConflictResolutionWithTypeInference_UsedInNonGenericDelegate(host As TestHost) + Public Sub ConflictResolutionWithTypeInference_UsedInNonGenericDelegate(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -970,7 +970,7 @@ End Class - Public Sub ConflictResolutionWithTypeInference_MultipleTypeParameters(host As TestHost) + Public Sub ConflictResolutionWithTypeInference_MultipleTypeParameters(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -998,7 +998,7 @@ End Class - Public Sub ConflictResolutionWithTypeInference_ConflictInDerived(host As TestHost) + Public Sub ConflictResolutionWithTypeInference_ConflictInDerived(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -1034,7 +1034,7 @@ End Class - Public Sub ParameterConflictingWithInstanceField(host As TestHost) + Public Sub ParameterConflictingWithInstanceField(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -1057,7 +1057,7 @@ End Class - Public Sub ParameterConflictingWithInstanceFieldRenamingToKeyword(host As TestHost) + Public Sub ParameterConflictingWithInstanceFieldRenamingToKeyword(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -1083,7 +1083,7 @@ End Class - Public Sub ParameterConflictingWithInstanceFieldRenamingToKeyword2(host As TestHost) + Public Sub ParameterConflictingWithInstanceFieldRenamingToKeyword2(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -1106,7 +1106,7 @@ End Class - Public Sub ParameterConflictingWithSharedField(host As TestHost) + Public Sub ParameterConflictingWithSharedField(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -1129,7 +1129,7 @@ End Class - Public Sub ParameterConflictingWithFieldInModule(host As TestHost) + Public Sub ParameterConflictingWithFieldInModule(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -1152,7 +1152,7 @@ End Module - Public Sub MinimalQualificationOfBaseType1(host As TestHost) + Public Sub MinimalQualificationOfBaseType1(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -1182,7 +1182,7 @@ End Module - Public Sub MinimalQualificationOfBaseType2(host As TestHost) + Public Sub MinimalQualificationOfBaseType2(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -1212,7 +1212,7 @@ End Module - Public Sub PreserveTypeCharactersForKeywordsAsIdentifiers(host As TestHost) + Public Sub PreserveTypeCharactersForKeywordsAsIdentifiers(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -1241,7 +1241,7 @@ End Class - Public Sub RenameDoesNotBreakQuery(host As TestHost) + Public Sub RenameDoesNotBreakQuery(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -1274,7 +1274,7 @@ End Class - Public Sub ProperlyEscapeNewKeywordWithTypeCharacters(host As TestHost) + Public Sub ProperlyEscapeNewKeywordWithTypeCharacters(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -1301,7 +1301,7 @@ End Class - Public Sub AvoidDoubleEscapeAttempt(host As TestHost) + Public Sub AvoidDoubleEscapeAttempt(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -1320,7 +1320,7 @@ End Class - Public Sub ReplaceAliasWithNestedGenericType(host As TestHost) + Public Sub ReplaceAliasWithNestedGenericType(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -1353,7 +1353,7 @@ End Class - Public Sub RenamingFunctionWithFunctionVariableFromFunction(host As TestHost) + Public Sub RenamingFunctionWithFunctionVariableFromFunction(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -1374,7 +1374,7 @@ End Module - Public Sub RenamingFunctionWithFunctionVariableFromFunctionVariable(host As TestHost) + Public Sub RenamingFunctionWithFunctionVariableFromFunctionVariable(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -1396,7 +1396,7 @@ End Module - Public Sub ResolveConflictingTypeIncludedThroughModule1(host As TestHost) + Public Sub ResolveConflictingTypeIncludedThroughModule1(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -1426,7 +1426,7 @@ End Namespace - Public Sub ResolveConflictingTypeIncludedThroughModule2(host As TestHost) + Public Sub ResolveConflictingTypeIncludedThroughModule2(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -1456,7 +1456,7 @@ End Namespace - Public Sub ResolveConflictingTypeImportedFromMultipleTypes(host As TestHost) + Public Sub ResolveConflictingTypeImportedFromMultipleTypes(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -1488,7 +1488,7 @@ End Class - Public Sub ConflictWithImplicitlyDeclaredLocal(host As TestHost) + Public Sub ConflictWithImplicitlyDeclaredLocal(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -1510,7 +1510,7 @@ End Module - Public Sub RenameForRangeVariableUsedInLambda(host As TestHost) + Public Sub RenameForRangeVariableUsedInLambda(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -1535,7 +1535,7 @@ End Module - Public Sub ShouldNotCascadeToExplicitlyImplementedInterfaceMethodOfDifferentName(host As TestHost) + Public Sub ShouldNotCascadeToExplicitlyImplementedInterfaceMethodOfDifferentName(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -1560,7 +1560,7 @@ End Structure - Public Sub ShouldNotCascadeToImplementingMethodOfDifferentName(host As TestHost) + Public Sub ShouldNotCascadeToImplementingMethodOfDifferentName(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -1584,7 +1584,7 @@ End Structure - Public Sub RenameAttributeSuffix(host As TestHost) + Public Sub RenameAttributeSuffix(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -1607,7 +1607,7 @@ End Class]]> - Public Sub RenameAttributeFromUsage(host As TestHost) + Public Sub RenameAttributeFromUsage(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -1630,7 +1630,7 @@ End Class]]> - Public Sub RenameFunctionCallAfterElse(host As TestHost) + Public Sub RenameFunctionCallAfterElse(host As RenameTestHost) ' This is a simple scenario but it has a somewhat strange tree in VB. The ' BeginTerminator of the ElseBlockSyntax is missing, and just so happens to land at ' the same location as the NewMethod invocation that follows the Else. @@ -1657,7 +1657,7 @@ End Module - Public Sub RenameImplicitlyDeclaredLocal(host As TestHost) + Public Sub RenameImplicitlyDeclaredLocal(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -1681,7 +1681,7 @@ End Module - Public Sub RenameFieldToConflictWithImplicitlyDeclaredLocal(host As TestHost) + Public Sub RenameFieldToConflictWithImplicitlyDeclaredLocal(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -1709,7 +1709,7 @@ End Module - Public Sub RenameParameterOfEvent(host As TestHost) + Public Sub RenameParameterOfEvent(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -1728,7 +1728,7 @@ End Class - Public Sub RenameLocalInMethodMissingParameterList(host As TestHost) + Public Sub RenameLocalInMethodMissingParameterList(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -1750,7 +1750,7 @@ End Module - Public Sub QualifyTypeWithGlobalWhenConflicting(host As TestHost) + Public Sub QualifyTypeWithGlobalWhenConflicting(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -1774,7 +1774,7 @@ End Class - Public Sub QualifyFieldInReDimStatement(host As TestHost) + Public Sub QualifyFieldInReDimStatement(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -1798,7 +1798,7 @@ End Module - Public Sub QualifyTypeNameInImports(host As TestHost) + Public Sub QualifyTypeNameInImports(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -1823,7 +1823,7 @@ End Module End Sub - Public Sub RenameNewOverload(host As TestHost) + Public Sub RenameNewOverload(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -1858,7 +1858,7 @@ End Class End Sub - Public Sub RenameAttributeRequiringReducedNameToResolveConflict(host As TestHost) + Public Sub RenameAttributeRequiringReducedNameToResolveConflict(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -1887,7 +1887,7 @@ End Class End Sub - Public Sub RenameEvent(host As TestHost) + Public Sub RenameEvent(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -1921,7 +1921,7 @@ class C : I End Sub - Public Sub RenameInterfaceImplementation(host As TestHost) + Public Sub RenameInterfaceImplementation(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -1947,7 +1947,7 @@ End Class End Sub - Public Sub RenameAttributeConflictWithNamespace(host As TestHost) + Public Sub RenameAttributeConflictWithNamespace(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -1973,7 +1973,7 @@ End Namespace End Sub - Public Sub RenameREMToUnicodeREM(host As TestHost) + Public Sub RenameREMToUnicodeREM(host As RenameTestHost) Dim text = ChrW(82) & ChrW(69) & ChrW(77) Dim compareText = "[" & text & "]" Using result = RenameEngineResult.Create(_outputHelper, @@ -1991,7 +1991,7 @@ End Module End Sub - Public Sub RenameImports(host As TestHost) + Public Sub RenameImports(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -2020,7 +2020,7 @@ End Module - Public Sub Bug578105_VBRenamingPartialMethodDifferentCasing(host As TestHost) + Public Sub Bug578105_VBRenamingPartialMethodDifferentCasing(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -2042,7 +2042,7 @@ End Class - Public Sub Bug588142_SimplifyAttributeUsageCanAlwaysEscapeInVB(host As TestHost) + Public Sub Bug588142_SimplifyAttributeUsageCanAlwaysEscapeInVB(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -2064,7 +2064,7 @@ End Class - Public Sub Bug588142_RenameAttributeToAttribute(host As TestHost) + Public Sub Bug588142_RenameAttributeToAttribute(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -2087,7 +2087,7 @@ End Class - Public Sub Bug576573_ConflictAttributeWithNamespace(host As TestHost) + Public Sub Bug576573_ConflictAttributeWithNamespace(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -2115,7 +2115,7 @@ End Namespace - Public Sub Bug603368_ConflictAttributeWithNamespaceCaseInsensitive(host As TestHost) + Public Sub Bug603368_ConflictAttributeWithNamespaceCaseInsensitive(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -2143,7 +2143,7 @@ End Namespace - Public Sub Bug603367_ConflictAttributeWithNamespaceCaseInsensitive2(host As TestHost) + Public Sub Bug603367_ConflictAttributeWithNamespaceCaseInsensitive2(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -2170,7 +2170,7 @@ End Class - Public Sub Bug603276_ConflictAttributeWithNamespaceCaseInsensitive3(host As TestHost) + Public Sub Bug603276_ConflictAttributeWithNamespaceCaseInsensitive3(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -2192,7 +2192,7 @@ End Class - Public Sub Bug529712_ConflictNamespaceWithModuleName_1(host As TestHost) + Public Sub Bug529712_ConflictNamespaceWithModuleName_1(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -2222,7 +2222,7 @@ End Namespace - Public Sub Bug529837_ResolveConflictByOmittingModuleName(host As TestHost) + Public Sub Bug529837_ResolveConflictByOmittingModuleName(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -2255,7 +2255,7 @@ End Namespace - Public Sub Bug529989_RenameCSharpIdentifierToInvalidVBIdentifier(host As TestHost) + Public Sub Bug529989_RenameCSharpIdentifierToInvalidVBIdentifier(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -2283,7 +2283,7 @@ End Namespace End Sub - Public Sub RenameModuleBetweenAssembly(host As TestHost) + Public Sub RenameModuleBetweenAssembly(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -2316,7 +2316,7 @@ End Module End Sub - Public Sub RenameModuleClassConflict(host As TestHost) + Public Sub RenameModuleClassConflict(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -2354,7 +2354,7 @@ End Namespace End Sub - Public Sub RenameModuleNamespaceNested(host As TestHost) + Public Sub RenameModuleNamespaceNested(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -2390,7 +2390,7 @@ End Module End Sub - Public Sub RenameModuleConflictWithInterface(host As TestHost) + Public Sub RenameModuleConflictWithInterface(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -2421,7 +2421,7 @@ End Namespace - Public Sub RenameModuleConflictWithLocal(host As TestHost) + Public Sub RenameModuleConflictWithLocal(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -2451,7 +2451,7 @@ End Namespace - Public Sub VB_DetectOverLoadResolutionChangesInEnclosingInvocations(host As TestHost) + Public Sub VB_DetectOverLoadResolutionChangesInEnclosingInvocations(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -2501,7 +2501,7 @@ End Module - Public Sub RenameNamespaceConflictsAndResolves(host As TestHost) + Public Sub RenameNamespaceConflictsAndResolves(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -2529,7 +2529,7 @@ End Namespace - Public Sub RenameUnnecessaryExpansion(host As TestHost) + Public Sub RenameUnnecessaryExpansion(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -2555,7 +2555,7 @@ End Namespace - Public Sub AdjustTriviaForExtensionMethodRewrite(host As TestHost) + Public Sub AdjustTriviaForExtensionMethodRewrite(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -2584,7 +2584,7 @@ End Module - Public Sub RenameCrefWithConflict(host As TestHost) + Public Sub RenameCrefWithConflict(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -2618,7 +2618,7 @@ End Class - Public Sub RenameInCrefPreservesWhitespaceTrivia(host As TestHost) + Public Sub RenameInCrefPreservesWhitespaceTrivia(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -2650,7 +2650,7 @@ End Class - Public Sub VB_ConflictBetweenTypeNamesInTypeConstraintSyntax(host As TestHost) + Public Sub VB_ConflictBetweenTypeNamesInTypeConstraintSyntax(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -2683,7 +2683,7 @@ End Class - Public Sub RenamingCompilerGeneratedPropertyBackingField_InvokeFromProperty(host As TestHost) + Public Sub RenamingCompilerGeneratedPropertyBackingField_InvokeFromProperty(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -2706,7 +2706,7 @@ End Class - Public Sub RenamingCompilerGeneratedPropertyBackingField_IntroduceConflict(host As TestHost) + Public Sub RenamingCompilerGeneratedPropertyBackingField_IntroduceConflict(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -2731,7 +2731,7 @@ End Class - Public Sub RenamingCompilerGeneratedPropertyBackingField_InvokableFromBackingFieldReference(host As TestHost) + Public Sub RenamingCompilerGeneratedPropertyBackingField_InvokableFromBackingFieldReference(host As RenameTestHost) Using workspace = CreateWorkspaceWithWaiter( @@ -2753,7 +2753,7 @@ End Class - Public Sub MemberQualificationInNameOfUsesTypeName_StaticReferencingInstance(host As TestHost) + Public Sub MemberQualificationInNameOfUsesTypeName_StaticReferencingInstance(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -2775,7 +2775,7 @@ End Class - Public Sub MemberQualificationInNameOfUsesTypeName_InstanceReferencingStatic(host As TestHost) + Public Sub MemberQualificationInNameOfUsesTypeName_InstanceReferencingStatic(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -2797,7 +2797,7 @@ End Class - Public Sub MemberQualificationInNameOfUsesTypeName_InstanceReferencingInstance(host As TestHost) + Public Sub MemberQualificationInNameOfUsesTypeName_InstanceReferencingInstance(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -2819,7 +2819,7 @@ End Class - Public Sub TestConflictBetweenClassAndInterface1(host As TestHost) + Public Sub TestConflictBetweenClassAndInterface1(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -2839,7 +2839,7 @@ End Interface - Public Sub TestConflictBetweenClassAndInterface2(host As TestHost) + Public Sub TestConflictBetweenClassAndInterface2(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -2859,7 +2859,7 @@ End Interface - Public Sub TestConflictBetweenClassAndNamespace1(host As TestHost) + Public Sub TestConflictBetweenClassAndNamespace1(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -2879,7 +2879,7 @@ End Namespace - Public Sub TestConflictBetweenClassAndNamespace2(host As TestHost) + Public Sub TestConflictBetweenClassAndNamespace2(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -2899,7 +2899,7 @@ End Namespace - Public Sub TestNoConflictBetweenTwoNamespaces(host As TestHost) + Public Sub TestNoConflictBetweenTwoNamespaces(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -2917,7 +2917,7 @@ End Namespace - Public Sub NameOfReferenceNoConflict(host As TestHost) + Public Sub NameOfReferenceNoConflict(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -2939,7 +2939,7 @@ End Class - Public Sub NameOfReferenceWithConflict(host As TestHost) + Public Sub NameOfReferenceWithConflict(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -2962,7 +2962,7 @@ End Class - Public Sub InvalidNamesDoNotCauseCrash_IntroduceQualifiedName(host As TestHost) + Public Sub InvalidNamesDoNotCauseCrash_IntroduceQualifiedName(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -2982,7 +2982,7 @@ End Class - Public Sub InvalidNamesDoNotCauseCrash_AccidentallyPasteLotsOfCode(host As TestHost) + Public Sub InvalidNamesDoNotCauseCrash_AccidentallyPasteLotsOfCode(host As RenameTestHost) Dim renameTo = " Class C Sub M() @@ -3008,7 +3008,7 @@ End Class - Public Sub RenameTypeParameterInPartialClass(host As TestHost) + Public Sub RenameTypeParameterInPartialClass(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -3028,7 +3028,7 @@ End Class - Public Sub RenameMethodToConflictWithTypeParameter(host As TestHost) + Public Sub RenameMethodToConflictWithTypeParameter(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -3052,7 +3052,7 @@ End Class - Public Sub RenameParameterizedPropertyResolvedConflict(host As TestHost) + Public Sub RenameParameterizedPropertyResolvedConflict(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -3081,7 +3081,7 @@ End Class - Public Sub RenameParameterizedPropertyUnresolvedConflict(host As TestHost) + Public Sub RenameParameterizedPropertyUnresolvedConflict(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -3110,7 +3110,7 @@ End Class - Public Sub RenameTypeToCurrent(host As TestHost) + Public Sub RenameTypeToCurrent(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -3128,7 +3128,7 @@ End Class - Public Sub InvalidControlVariableInForLoopDoNotCrash(host As TestHost) + Public Sub InvalidControlVariableInForLoopDoNotCrash(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, diff --git a/src/EditorFeatures/Test2/Rename/RenameEngineTests.vb b/src/EditorFeatures/Test2/Rename/RenameEngineTests.vb index 59374f97f9f45..25fad47dada4d 100644 --- a/src/EditorFeatures/Test2/Rename/RenameEngineTests.vb +++ b/src/EditorFeatures/Test2/Rename/RenameEngineTests.vb @@ -25,7 +25,7 @@ Namespace Microsoft.CodeAnalysis.Editor.UnitTests.Rename - Public Sub CannotRenameNamespaceAlias(host As TestHost) + Public Sub CannotRenameNamespaceAlias(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -46,7 +46,7 @@ Namespace Microsoft.CodeAnalysis.Editor.UnitTests.Rename - Public Sub RenameInaccessibleMember1(host As TestHost) + Public Sub RenameInaccessibleMember1(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -70,7 +70,7 @@ class D - Public Sub RenameInaccessibleMember2(host As TestHost) + Public Sub RenameInaccessibleMember2(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -94,7 +94,7 @@ class D - Public Sub RenameNonAttribute1(host As TestHost) + Public Sub RenameNonAttribute1(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -114,7 +114,7 @@ class [|$$NotAnAttribute|] - Public Sub RenameNonAttribute2(host As TestHost) + Public Sub RenameNonAttribute2(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -134,7 +134,7 @@ class [|NotAnAttribute|] - Public Sub RenameWrongArity1(host As TestHost) + Public Sub RenameWrongArity1(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -154,7 +154,7 @@ class C - Public Sub RenameWrongArity2(host As TestHost) + Public Sub RenameWrongArity2(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -174,7 +174,7 @@ class C - Public Sub RenameNotCreatable1(host As TestHost) + Public Sub RenameNotCreatable1(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -197,7 +197,7 @@ class C - Public Sub RenameNotCreatable2(host As TestHost) + Public Sub RenameNotCreatable2(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -220,7 +220,7 @@ class C - Public Sub RenameInvocable1(host As TestHost) + Public Sub RenameInvocable1(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -242,7 +242,7 @@ class C - Public Sub RenameInvocable2(host As TestHost) + Public Sub RenameInvocable2(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -264,7 +264,7 @@ class C - Public Sub RenameStaticInstance1(host As TestHost) + Public Sub RenameStaticInstance1(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -285,7 +285,7 @@ class C - Public Sub RenameStaticInstance2(host As TestHost) + Public Sub RenameStaticInstance2(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -306,7 +306,7 @@ class C - Public Sub RenameTypeDoesNotRenameGeneratedConstructorCalls(host As TestHost) + Public Sub RenameTypeDoesNotRenameGeneratedConstructorCalls(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -325,7 +325,7 @@ struct [|$$Type|] - Public Sub UnmodifiedDocumentsAreNotCheckedOutBySourceControl(host As TestHost) + Public Sub UnmodifiedDocumentsAreNotCheckedOutBySourceControl(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -353,7 +353,7 @@ class C2 - Public Sub ReferenceConflictInsideDelegateLocalNotRenamed(host As TestHost) + Public Sub ReferenceConflictInsideDelegateLocalNotRenamed(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -383,7 +383,7 @@ class C - Public Sub RenameMoreThanOneTokenInUnResolvedStatement(host As TestHost) + Public Sub RenameMoreThanOneTokenInUnResolvedStatement(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -411,7 +411,7 @@ class {|unresolve3:$$D|} // Rename to C End Sub - Public Sub RenameInvocationExpressionAcrossProjects(host As TestHost) + Public Sub RenameInvocationExpressionAcrossProjects(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -442,7 +442,7 @@ class {|unresolve3:$$D|} // Rename to C End Sub - Public Sub RenameInvocationExpressionAcrossProjectsWithPartialClass(host As TestHost) + Public Sub RenameInvocationExpressionAcrossProjectsWithPartialClass(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -478,7 +478,7 @@ class {|unresolve3:$$D|} // Rename to C End Sub - Public Sub RenameInvocationExpressionAcrossProjectsWithConflictResolve(host As TestHost) + Public Sub RenameInvocationExpressionAcrossProjectsWithConflictResolve(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -522,7 +522,7 @@ class {|unresolve3:$$D|} // Rename to C End Sub - Public Sub RollBackExpandedConflicts_WithinInvocationExpression(host As TestHost) + Public Sub RollBackExpandedConflicts_WithinInvocationExpression(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -551,7 +551,7 @@ class {|unresolve3:$$D|} // Rename to C End Sub - Public Sub RollBackExpandedConflicts_WithinQuery(host As TestHost) + Public Sub RollBackExpandedConflicts_WithinQuery(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -570,7 +570,7 @@ class {|unresolve3:$$D|} // Rename to C End Sub - Public Sub RenameOverloadCSharp(host As TestHost) + Public Sub RenameOverloadCSharp(host As RenameTestHost) Dim changingOptions = New Dictionary(Of OptionKey, Object)() changingOptions.Add(RenameOptions.RenameOverloads, True) Using result = RenameEngineResult.Create(_outputHelper, @@ -607,7 +607,7 @@ class {|unresolve3:$$D|} // Rename to C End Sub - Public Sub RenameOverloadVisualBasic(host As TestHost) + Public Sub RenameOverloadVisualBasic(host As RenameTestHost) Dim changingOptions = New Dictionary(Of OptionKey, Object)() changingOptions.Add(RenameOptions.RenameOverloads, True) Using result = RenameEngineResult.Create(_outputHelper, @@ -647,7 +647,7 @@ class {|unresolve3:$$D|} // Rename to C End Sub - Public Sub ConflictCheckInInvocationCSharp(host As TestHost) + Public Sub ConflictCheckInInvocationCSharp(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -679,7 +679,7 @@ class {|unresolve3:$$D|} // Rename to C End Sub - Public Sub ConflictCheckInInvocationVisualBasic(host As TestHost) + Public Sub ConflictCheckInInvocationVisualBasic(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -704,7 +704,7 @@ class {|unresolve3:$$D|} // Rename to C End Sub - Public Sub RenameType(host As TestHost) + Public Sub RenameType(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -727,7 +727,7 @@ class {|unresolve3:$$D|} // Rename to C End Sub - Public Sub RenameTypeAcrossFiles(host As TestHost) + Public Sub RenameTypeAcrossFiles(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -758,7 +758,7 @@ class {|unresolve3:$$D|} // Rename to C End Sub - Public Sub RenameTypeAcrossProjectsAndLanguages(host As TestHost) + Public Sub RenameTypeAcrossProjectsAndLanguages(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -794,7 +794,7 @@ class {|unresolve3:$$D|} // Rename to C End Sub - Public Sub RenameCSharpTypeFromConstructorDefinition(host As TestHost) + Public Sub RenameCSharpTypeFromConstructorDefinition(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -819,7 +819,7 @@ class {|unresolve3:$$D|} // Rename to C End Sub - Public Sub RenameCSharpTypeFromConstructorUse(host As TestHost) + Public Sub RenameCSharpTypeFromConstructorUse(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -844,7 +844,7 @@ class {|unresolve3:$$D|} // Rename to C End Sub - Public Sub RenameCSharpTypeFromDestructor(host As TestHost) + Public Sub RenameCSharpTypeFromDestructor(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -863,7 +863,7 @@ class {|unresolve3:$$D|} // Rename to C End Sub - Public Sub RenameCSharpTypeFromSynthesizedConstructorUse(host As TestHost) + Public Sub RenameCSharpTypeFromSynthesizedConstructorUse(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -884,7 +884,7 @@ class {|unresolve3:$$D|} // Rename to C End Sub - Public Sub RenameCSharpPredefinedTypeVariables1(host As TestHost) + Public Sub RenameCSharpPredefinedTypeVariables1(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -907,7 +907,7 @@ class {|unresolve3:$$D|} // Rename to C End Sub - Public Sub RenameCSharpPredefinedTypeVariables2(host As TestHost) + Public Sub RenameCSharpPredefinedTypeVariables2(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -930,7 +930,7 @@ class {|unresolve3:$$D|} // Rename to C End Sub - Public Sub RenameCSharpPredefinedTypeVariables3(host As TestHost) + Public Sub RenameCSharpPredefinedTypeVariables3(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -953,7 +953,7 @@ class {|unresolve3:$$D|} // Rename to C End Sub - Public Sub RenameVisualBasicPredefinedTypeVariables1(host As TestHost) + Public Sub RenameVisualBasicPredefinedTypeVariables1(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -972,7 +972,7 @@ class {|unresolve3:$$D|} // Rename to C End Sub - Public Sub RenameVisualBasicPredefinedTypeVariables2(host As TestHost) + Public Sub RenameVisualBasicPredefinedTypeVariables2(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -991,7 +991,7 @@ class {|unresolve3:$$D|} // Rename to C End Sub - Public Sub RenameVisualBasicPredefinedTypeVariables3(host As TestHost) + Public Sub RenameVisualBasicPredefinedTypeVariables3(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -1011,7 +1011,7 @@ class {|unresolve3:$$D|} // Rename to C - Public Sub RenameCSharpEnumMemberToContainingEnumName(host As TestHost) + Public Sub RenameCSharpEnumMemberToContainingEnumName(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -1030,7 +1030,7 @@ class {|unresolve3:$$D|} // Rename to C - Public Sub RenameCSharpEnumToEnumMemberName(host As TestHost) + Public Sub RenameCSharpEnumToEnumMemberName(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -1047,7 +1047,7 @@ class {|unresolve3:$$D|} // Rename to C End Sub - Public Sub RenameVisualBasicTypeFromConstructorUse(host As TestHost) + Public Sub RenameVisualBasicTypeFromConstructorUse(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -1069,7 +1069,7 @@ class {|unresolve3:$$D|} // Rename to C End Sub - Public Sub RenameVisualBasicTypeFromSynthesizedConstructorUse(host As TestHost) + Public Sub RenameVisualBasicTypeFromSynthesizedConstructorUse(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -1088,7 +1088,7 @@ class {|unresolve3:$$D|} // Rename to C End Sub - Public Sub RenameNamespace(host As TestHost) + Public Sub RenameNamespace(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -1107,7 +1107,7 @@ class {|unresolve3:$$D|} // Rename to C - Public Sub RenameVisualBasicEnum(host As TestHost) + Public Sub RenameVisualBasicEnum(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -1125,7 +1125,7 @@ class {|unresolve3:$$D|} // Rename to C - Public Sub RenameVisualBasicEnumMember(host As TestHost) + Public Sub RenameVisualBasicEnumMember(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -1143,7 +1143,7 @@ class {|unresolve3:$$D|} // Rename to C - Public Sub DoNothingRename(host As TestHost) + Public Sub DoNothingRename(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -1163,7 +1163,7 @@ class {|unresolve3:$$D|} // Rename to C - Public Sub CSharpBugfix553631(host As TestHost) + Public Sub CSharpBugfix553631(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -1190,7 +1190,7 @@ class Program - Public Sub VisualBasicBugfix553631(host As TestHost) + Public Sub VisualBasicBugfix553631(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -1221,7 +1221,7 @@ End Class - Public Sub RenameExtensionMethod(host As TestHost) + Public Sub RenameExtensionMethod(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -1248,7 +1248,7 @@ End Class - Public Sub RenameCSharpIndexerNamedArgument1(host As TestHost) + Public Sub RenameCSharpIndexerNamedArgument1(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -1272,7 +1272,7 @@ End Class - Public Sub RenameCSharpIndexerNamedArgument2(host As TestHost) + Public Sub RenameCSharpIndexerNamedArgument2(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -1296,7 +1296,7 @@ End Class - Public Sub RenameRangeVariable(host As TestHost) + Public Sub RenameRangeVariable(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -1322,7 +1322,7 @@ End Class - Public Sub RenameVisualBasicParameterizedPropertyNamedArgument(host As TestHost) + Public Sub RenameVisualBasicParameterizedPropertyNamedArgument(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -1350,7 +1350,7 @@ End Class - Public Sub RenameIndexerParameterFromDeclaration(host As TestHost) + Public Sub RenameIndexerParameterFromDeclaration(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -1373,7 +1373,7 @@ class Program - Public Sub RenameIndexerParameterFromUseInsideGetAccessor(host As TestHost) + Public Sub RenameIndexerParameterFromUseInsideGetAccessor(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -1396,7 +1396,7 @@ class Program - Public Sub RenameIndexerParameterFromUseInsideSetAccessor(host As TestHost) + Public Sub RenameIndexerParameterFromUseInsideSetAccessor(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -1419,7 +1419,7 @@ class Program - Public Sub RenamePartialMethodParameter(host As TestHost) + Public Sub RenamePartialMethodParameter(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -1448,7 +1448,7 @@ partial class Test - Public Sub RenameVisualBasicAnonymousKey(host As TestHost) + Public Sub RenameVisualBasicAnonymousKey(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -1472,7 +1472,7 @@ partial class Test - Public Sub RenameIncludesPreviouslyInvalidReference(host As TestHost) + Public Sub RenameIncludesPreviouslyInvalidReference(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -1498,7 +1498,7 @@ partial class Test - Public Sub RenameVariableInQueryAsUsingStatement(host As TestHost) + Public Sub RenameVariableInQueryAsUsingStatement(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -1535,7 +1535,7 @@ class MyManagedType : System.IDisposable - Public Sub LambdaWithOutParameter(host As TestHost) + Public Sub LambdaWithOutParameter(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -1565,7 +1565,7 @@ class D - Public Sub CascadeBetweenOverridingProperties(host As TestHost) + Public Sub CascadeBetweenOverridingProperties(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -1602,7 +1602,7 @@ End Class - Public Sub CascadeBetweenImplementedInterfaceEvent(host As TestHost) + Public Sub CascadeBetweenImplementedInterfaceEvent(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -1626,7 +1626,7 @@ End Class - Public Sub CascadeBetweenEventParameters(host As TestHost) + Public Sub CascadeBetweenEventParameters(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -1652,7 +1652,7 @@ class Bar : IGoo - Public Sub DoNotCascadeToMetadataSymbols(host As TestHost) + Public Sub DoNotCascadeToMetadataSymbols(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -1672,7 +1672,7 @@ class Bar : IGoo - Public Sub RenamePartialTypeParameter_CSharp1(host As TestHost) + Public Sub RenamePartialTypeParameter_CSharp1(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -1692,7 +1692,7 @@ partial class Class1 - Public Sub RenamePartialTypeParameter_CSharp2(host As TestHost) + Public Sub RenamePartialTypeParameter_CSharp2(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -1712,7 +1712,7 @@ partial class Class1 - Public Sub RenamePartialTypeParameter_VB1(host As TestHost) + Public Sub RenamePartialTypeParameter_VB1(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -1732,7 +1732,7 @@ End Module - Public Sub RenamePartialTypeParameter_VB2(host As TestHost) + Public Sub RenamePartialTypeParameter_VB2(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -1752,7 +1752,7 @@ End Module - Public Sub AmbiguousBeforeRenameHandledCorrectly_Bug11516(host As TestHost) + Public Sub AmbiguousBeforeRenameHandledCorrectly_Bug11516(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -1772,7 +1772,7 @@ End Module - Public Sub AmbiguousBeforeRenameHandledCorrectly_Bug11516_2(host As TestHost) + Public Sub AmbiguousBeforeRenameHandledCorrectly_Bug11516_2(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -1794,7 +1794,7 @@ End Module - Public Sub RenamePartialMethods_1_CS(host As TestHost) + Public Sub RenamePartialMethods_1_CS(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -1819,7 +1819,7 @@ End Module - Public Sub RenamePartialMethods_2_CS(host As TestHost) + Public Sub RenamePartialMethods_2_CS(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -1844,7 +1844,7 @@ End Module - Public Sub RenamePartialMethods_1_VB(host As TestHost) + Public Sub RenamePartialMethods_1_VB(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -1866,7 +1866,7 @@ End Module - Public Sub RenamePartialMethods_2_VB(host As TestHost) + Public Sub RenamePartialMethods_2_VB(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -1888,7 +1888,7 @@ End Module - Public Sub Bug530740(host As TestHost) + Public Sub Bug530740(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -1925,7 +1925,7 @@ End Module - Public Sub RenameMethodThatImplementsInterfaceMethod(host As TestHost) + Public Sub RenameMethodThatImplementsInterfaceMethod(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -1956,7 +1956,7 @@ End Module - Public Sub DoNotRemoveAttributeSuffixOn__Attribute(host As TestHost) + Public Sub DoNotRemoveAttributeSuffixOn__Attribute(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -1977,7 +1977,7 @@ End Module - Public Sub RenameEventParameterOnUsage(host As TestHost) + Public Sub RenameEventParameterOnUsage(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -1999,7 +1999,7 @@ End Module - Public Sub RenameCompilerGeneratedBackingFieldForNonCustomEvent(host As TestHost) + Public Sub RenameCompilerGeneratedBackingFieldForNonCustomEvent(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -2022,7 +2022,7 @@ End Module - Public Sub RenameCompilerGeneratedEventHandlerForNonCustomEvent(host As TestHost) + Public Sub RenameCompilerGeneratedEventHandlerForNonCustomEvent(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -2047,7 +2047,7 @@ End Module - Public Sub CSharpRenameParenthesizedFunctionName(host As TestHost) + Public Sub CSharpRenameParenthesizedFunctionName(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -2070,7 +2070,7 @@ End Module - Public Sub VisualBasicAwaitAsIdentifierInAsyncShouldBeEscaped(host As TestHost) + Public Sub VisualBasicAwaitAsIdentifierInAsyncShouldBeEscaped(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -2095,7 +2095,7 @@ End Module - Public Sub CSharpAwaitAsIdentifierInAsyncMethodShouldBeEscaped0(host As TestHost) + Public Sub CSharpAwaitAsIdentifierInAsyncMethodShouldBeEscaped0(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -2129,7 +2129,7 @@ class M - Public Sub CSharpAwaitAsIdentifierInAsyncLambdaShouldBeEscaped(host As TestHost) + Public Sub CSharpAwaitAsIdentifierInAsyncLambdaShouldBeEscaped(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -2162,7 +2162,7 @@ class s - Public Sub CSharpAwaitAsIdentifierInAsyncLambdaShouldBeEscaped1(host As TestHost) + Public Sub CSharpAwaitAsIdentifierInAsyncLambdaShouldBeEscaped1(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -2195,7 +2195,7 @@ class s - Public Sub CSharpAwaitAsIdentifierInAsyncLambdaShouldNotBeEscaped(host As TestHost) + Public Sub CSharpAwaitAsIdentifierInAsyncLambdaShouldNotBeEscaped(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -2227,7 +2227,7 @@ class s - Public Sub VBRoundTripMissingModuleName_1(host As TestHost) + Public Sub VBRoundTripMissingModuleName_1(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -2257,7 +2257,7 @@ class s - Public Sub VBRoundTripMissingModuleName_2(host As TestHost) + Public Sub VBRoundTripMissingModuleName_2(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -2287,7 +2287,7 @@ class s - Public Sub Bug603767_RenamePartialAttributeDeclarationWithDifferentCasingAndCSharpUsage(host As TestHost) + Public Sub Bug603767_RenamePartialAttributeDeclarationWithDifferentCasingAndCSharpUsage(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -2318,7 +2318,7 @@ class s - Public Sub Bug603371_VisualBasicRenameAttributeToGlobal(host As TestHost) + Public Sub Bug603371_VisualBasicRenameAttributeToGlobal(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -2339,7 +2339,7 @@ class s - Public Sub Bug603371_VisualBasicRenameAttributeToGlobal_2(host As TestHost) + Public Sub Bug603371_VisualBasicRenameAttributeToGlobal_2(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -2360,7 +2360,7 @@ class s - Public Sub Bug602494_RenameOverrideWithNoOverriddenMember(host As TestHost) + Public Sub Bug602494_RenameOverrideWithNoOverriddenMember(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -2378,7 +2378,7 @@ class s - Public Sub Bug576607(host As TestHost) + Public Sub Bug576607(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -2402,7 +2402,7 @@ End Class - Public Sub Bug529765_VisualBasicOverrideImplicitPropertyAccessor(host As TestHost) + Public Sub Bug529765_VisualBasicOverrideImplicitPropertyAccessor(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -2432,7 +2432,7 @@ End Class - Public Sub Bug529765_VisualBasicOverrideImplicitPropertyAccessor_2(host As TestHost) + Public Sub Bug529765_VisualBasicOverrideImplicitPropertyAccessor_2(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -2462,7 +2462,7 @@ End Class - Public Sub Bug529765_VisualBasicOverrideImplicitPropertyAccessor_3(host As TestHost) + Public Sub Bug529765_VisualBasicOverrideImplicitPropertyAccessor_3(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -2501,7 +2501,7 @@ End Class - Public Sub Bug529765_CrossLanguageOverrideImplicitPropertyAccessor_1(host As TestHost) + Public Sub Bug529765_CrossLanguageOverrideImplicitPropertyAccessor_1(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -2545,7 +2545,7 @@ End Class - Public Sub Bug529765_CrossLanguageOverrideImplicitPropertyAccessor_2(host As TestHost) + Public Sub Bug529765_CrossLanguageOverrideImplicitPropertyAccessor_2(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -2593,7 +2593,7 @@ End Class - Public Sub Bug529765_CrossLanguageOverrideImplicitPropertyAccessor_3(host As TestHost) + Public Sub Bug529765_CrossLanguageOverrideImplicitPropertyAccessor_3(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -2641,7 +2641,7 @@ End Class - Public Sub Bug529765_CrossLanguageOverrideImplicitPropertyAccessor_4(host As TestHost) + Public Sub Bug529765_CrossLanguageOverrideImplicitPropertyAccessor_4(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -2706,7 +2706,7 @@ End Class - Public Sub Bug529765_CrossLanguageOverrideImplicitPropertyAccessor_5(host As TestHost) + Public Sub Bug529765_CrossLanguageOverrideImplicitPropertyAccessor_5(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -2764,7 +2764,7 @@ End Class - Public Sub Bug610120_CrossLanguageOverrideImplicitPropertyAccessorConflictWithVBProperty(host As TestHost) + Public Sub Bug610120_CrossLanguageOverrideImplicitPropertyAccessorConflictWithVBProperty(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -2827,7 +2827,7 @@ End Class - Public Sub Bug612380_CrossLanguageOverrideImplicitPropertyAccessorCascadesToInterface(host As TestHost) + Public Sub Bug612380_CrossLanguageOverrideImplicitPropertyAccessorCascadesToInterface(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -2884,7 +2884,7 @@ End Class - Public Sub Bug866094(host As TestHost) + Public Sub Bug866094(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -2912,7 +2912,7 @@ End Class End Sub - Public Sub RenameDynamicallyBoundFunction(host As TestHost) + Public Sub RenameDynamicallyBoundFunction(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -2941,7 +2941,7 @@ class A - Public Sub CSharp_RenameToIdentifierWithUnicodeEscaping(host As TestHost) + Public Sub CSharp_RenameToIdentifierWithUnicodeEscaping(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -2963,7 +2963,7 @@ public class A - Public Sub CSharp_RenameParenthesizedMethodNames(host As TestHost) + Public Sub CSharp_RenameParenthesizedMethodNames(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -2985,7 +2985,7 @@ class C - Public Sub CSharp_RenameParameterUsedInObjectInitializer(host As TestHost) + Public Sub CSharp_RenameParameterUsedInObjectInitializer(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -3014,7 +3014,7 @@ class C - Public Sub LocationsIssue(host As TestHost) + Public Sub LocationsIssue(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -3051,7 +3051,7 @@ End Module End Sub - Public Sub RenameParam1(host As TestHost) + Public Sub RenameParam1(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -3077,7 +3077,7 @@ class Program - Public Sub RenameParam1_VisualBasic(host As TestHost) + Public Sub RenameParam1_VisualBasic(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -3098,7 +3098,7 @@ End Class]]> End Sub - Public Sub RenameParam2(host As TestHost) + Public Sub RenameParam2(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -3127,7 +3127,7 @@ End Class]]> - Public Sub RenameParam2_VisualBasic(host As TestHost) + Public Sub RenameParam2_VisualBasic(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -3149,7 +3149,7 @@ End Class]]> End Sub - Public Sub RenameTypeParam1(host As TestHost) + Public Sub RenameTypeParam1(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -3178,7 +3178,7 @@ class B<[|T|]> - Public Sub RenameTypeParam1_VisualBasic(host As TestHost) + Public Sub RenameTypeParam1_VisualBasic(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -3208,7 +3208,7 @@ End Class]]> - Public Sub Bug624310_VBCascadeLambdaParameterInFieldInitializer(host As TestHost) + Public Sub Bug624310_VBCascadeLambdaParameterInFieldInitializer(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -3232,7 +3232,7 @@ End Class]]> - Public Sub Bug624310_CSNoCascadeLambdaParameterInFieldInitializer(host As TestHost) + Public Sub Bug624310_CSNoCascadeLambdaParameterInFieldInitializer(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -3253,7 +3253,7 @@ class Program - Public Sub Bug633582_CSDoNotAddParenthesesInExpansionForParenthesizedBinaryExpression(host As TestHost) + Public Sub Bug633582_CSDoNotAddParenthesesInExpansionForParenthesizedBinaryExpression(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -3283,7 +3283,7 @@ class Program - Public Sub Bug622086_CSRenameExplicitInterfaceImplementation(host As TestHost) + Public Sub Bug622086_CSRenameExplicitInterfaceImplementation(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -3312,7 +3312,7 @@ namespace X - Public Sub RenameExplicitInterfaceImplementationFromDifferentProject(host As TestHost) + Public Sub RenameExplicitInterfaceImplementationFromDifferentProject(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -3351,7 +3351,7 @@ public interface IInterface - Public Sub RenamingEventCascadesToCSUsingEventHandlerDelegate(host As TestHost) + Public Sub RenamingEventCascadesToCSUsingEventHandlerDelegate(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -3397,7 +3397,7 @@ class Program : IA - Public Sub RenamingCompilerGeneratedDelegateTypeForEventCascadesBackToEvent_1(host As TestHost) + Public Sub RenamingCompilerGeneratedDelegateTypeForEventCascadesBackToEvent_1(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -3443,7 +3443,7 @@ class Program : IA - Public Sub RenamingCompilerGeneratedDelegateTypeForEventCascadesBackToEvent_2(host As TestHost) + Public Sub RenamingCompilerGeneratedDelegateTypeForEventCascadesBackToEvent_2(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -3489,7 +3489,7 @@ class Program : IA - Public Sub RenamingCompilerGeneratedDelegateTypeForEventCascadesBackToEvent_3(host As TestHost) + Public Sub RenamingCompilerGeneratedDelegateTypeForEventCascadesBackToEvent_3(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -3517,7 +3517,7 @@ class C - Public Sub RenamingCompilerGeneratedDelegateTypeForEventCascadesBackToEvent_4(host As TestHost) + Public Sub RenamingCompilerGeneratedDelegateTypeForEventCascadesBackToEvent_4(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -3545,7 +3545,7 @@ class C - Public Sub RenamingCompilerGeneratedDelegateTypeForEventCascadesBackToEvent_5(host As TestHost) + Public Sub RenamingCompilerGeneratedDelegateTypeForEventCascadesBackToEvent_5(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -3572,7 +3572,7 @@ Class C - Public Sub Bug622086_CSRenameVarNotSupported(host As TestHost) + Public Sub Bug622086_CSRenameVarNotSupported(host As RenameTestHost) Dim result = RenameEngineResult.Create(_outputHelper, @@ -3597,7 +3597,7 @@ namespace X - Public Sub Bug622086_CSRenameCustomTypeNamedVarSupported(host As TestHost) + Public Sub Bug622086_CSRenameCustomTypeNamedVarSupported(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -3628,7 +3628,7 @@ namespace X - Public Sub Bug622086_CSRenameDynamicNotSupported(host As TestHost) + Public Sub Bug622086_CSRenameDynamicNotSupported(host As RenameTestHost) Dim result = RenameEngineResult.Create(_outputHelper, @@ -3653,7 +3653,7 @@ namespace X - Public Sub Bug622086_CSRenameToVarNotSupportedNoConflictsWithOtherVar(host As TestHost) + Public Sub Bug622086_CSRenameToVarNotSupportedNoConflictsWithOtherVar(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -3677,7 +3677,7 @@ class {|Conflict:Program|} - Public Sub Bug622086_CSRenameToDynamicNotSupported(host As TestHost) + Public Sub Bug622086_CSRenameToDynamicNotSupported(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -3700,7 +3700,7 @@ class {|Conflict:Program|} - Public Sub Bug622086_CSRenameToDynamicNotSupported2(host As TestHost) + Public Sub Bug622086_CSRenameToDynamicNotSupported2(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -3724,7 +3724,7 @@ class {|Conflict:Program|} - Public Sub Bug622086_CSRenameToDynamicSupportedButConflictsWithOtherDynamic_2(host As TestHost) + Public Sub Bug622086_CSRenameToDynamicSupportedButConflictsWithOtherDynamic_2(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -3749,7 +3749,7 @@ class {|Conflict:Program|} - Public Sub RenameNamespaceInVbFromCSharReference(host As TestHost) + Public Sub RenameNamespaceInVbFromCSharReference(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -3774,7 +3774,7 @@ class Y : [|$$N|].X { } #Region "Cref" - Public Sub RenameTypeFromCref(host As TestHost) + Public Sub RenameTypeFromCref(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -3797,7 +3797,7 @@ class [|Program|] - Public Sub RenameTypeFromCref_VisualBasic(host As TestHost) + Public Sub RenameTypeFromCref_VisualBasic(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -3817,7 +3817,7 @@ End Class End Sub - Public Sub RenameMemberFromCref(host As TestHost) + Public Sub RenameMemberFromCref(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -3840,7 +3840,7 @@ class Program - Public Sub RenameMemberFromCref_VisualBasic(host As TestHost) + Public Sub RenameMemberFromCref_VisualBasic(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -3860,7 +3860,7 @@ End Class End Sub - Public Sub RenameCrefFromMember(host As TestHost) + Public Sub RenameCrefFromMember(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -3883,7 +3883,7 @@ class Program - Public Sub RenameCrefFromMember_VisualBasic(host As TestHost) + Public Sub RenameCrefFromMember_VisualBasic(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -3904,7 +3904,7 @@ End Class - Public Sub RenameIncludingCrefContainingAttribute(host As TestHost) + Public Sub RenameIncludingCrefContainingAttribute(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -3932,7 +3932,7 @@ class {|yAttribute:G$$ooAttribute|} : Attribute - Public Sub RenameIncludingCrefContainingAttribute_VisualBasic(host As TestHost) + Public Sub RenameIncludingCrefContainingAttribute_VisualBasic(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -3957,7 +3957,7 @@ End Class - Public Sub RenameFromCrefContainingAttribute(host As TestHost) + Public Sub RenameFromCrefContainingAttribute(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -3984,7 +3984,7 @@ class {|yAttribute:GooAttribute|} : Attribute - Public Sub RenameFromCrefContainingAttribute_VisualBasic(host As TestHost) + Public Sub RenameFromCrefContainingAttribute_VisualBasic(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -4009,7 +4009,7 @@ End Class - Public Sub RenameCrefTypeParameter(host As TestHost) + Public Sub RenameCrefTypeParameter(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -4027,7 +4027,7 @@ class C { } - Public Sub RenameCref1(host As TestHost) + Public Sub RenameCref1(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -4062,7 +4062,7 @@ class Tester - Public Sub RenameCref1_VisualBasic(host As TestHost) + Public Sub RenameCref1_VisualBasic(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -4093,7 +4093,7 @@ End Class]]> End Sub - Public Sub RenameCref2(host As TestHost) + Public Sub RenameCref2(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -4128,7 +4128,7 @@ class Tester End Sub - Public Sub RenameCref2_VisualBasic(host As TestHost) + Public Sub RenameCref2_VisualBasic(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -4160,7 +4160,7 @@ End Class]]> End Sub - Public Sub RenameCref3(host As TestHost) + Public Sub RenameCref3(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -4181,7 +4181,7 @@ class C<[|$$T|]> End Sub - Public Sub RenameCref3_VisualBasic(host As TestHost) + Public Sub RenameCref3_VisualBasic(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -4202,7 +4202,7 @@ End Class]]> End Sub - Public Sub RenameCref4(host As TestHost) + Public Sub RenameCref4(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -4224,7 +4224,7 @@ class C End Sub - Public Sub RenameCref4_VisualBasic(host As TestHost) + Public Sub RenameCref4_VisualBasic(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -4248,7 +4248,7 @@ End Class]]> End Sub - Public Sub RenameCref5(host As TestHost) + Public Sub RenameCref5(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -4270,7 +4270,7 @@ class {|Resolve:C|} End Sub - Public Sub RenameCref5_VisualBasic(host As TestHost) + Public Sub RenameCref5_VisualBasic(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -4292,7 +4292,7 @@ End Class]]> End Sub - Public Sub RenameCref6(host As TestHost) + Public Sub RenameCref6(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -4319,7 +4319,7 @@ class [|C|] End Sub - Public Sub RenameCref6_VisualBasic(host As TestHost) + Public Sub RenameCref6_VisualBasic(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -4344,7 +4344,7 @@ End Class]]> End Sub - Public Sub RenameCref7(host As TestHost) + Public Sub RenameCref7(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -4388,7 +4388,7 @@ namespace Test End Sub - Public Sub RenameCref7_VisualBasic(host As TestHost) + Public Sub RenameCref7_VisualBasic(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -4425,7 +4425,7 @@ End Namespace]]> End Sub - Public Sub RenameCref8(host As TestHost) + Public Sub RenameCref8(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -4458,7 +4458,7 @@ class B : C, I End Sub - Public Sub RenameCref8_VisualBasic(host As TestHost) + Public Sub RenameCref8_VisualBasic(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -4488,7 +4488,7 @@ End Class]]> End Sub - Public Sub RenameCref9(host As TestHost) + Public Sub RenameCref9(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -4522,7 +4522,7 @@ class B : C, I End Sub - Public Sub RenameCref9_VisualBasic(host As TestHost) + Public Sub RenameCref9_VisualBasic(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -4554,7 +4554,7 @@ End Class]]> End Sub - Public Sub RenameCref10(host As TestHost) + Public Sub RenameCref10(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -4587,7 +4587,7 @@ class C End Sub - Public Sub RenameCref10_VisualBasic(host As TestHost) + Public Sub RenameCref10_VisualBasic(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -4617,7 +4617,7 @@ End Class]]> End Sub - Public Sub RenameCref11(host As TestHost) + Public Sub RenameCref11(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -4643,7 +4643,7 @@ class Test End Sub - Public Sub RenameCref11_VisualBasic(host As TestHost) + Public Sub RenameCref11_VisualBasic(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -4665,7 +4665,7 @@ End Class]]> End Sub - Public Sub RenameCref12(host As TestHost) + Public Sub RenameCref12(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -4699,7 +4699,7 @@ class Bar End Sub - Public Sub RenameCref12_VisualBasic(host As TestHost) + Public Sub RenameCref12_VisualBasic(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -4729,7 +4729,7 @@ End Class]]> End Sub - Public Sub RenameCref13(host As TestHost) + Public Sub RenameCref13(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -4763,7 +4763,7 @@ public class Bar End Sub - Public Sub RenameCref13_VisualBasic(host As TestHost) + Public Sub RenameCref13_VisualBasic(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -4792,7 +4792,7 @@ End Class]]> End Sub - Public Sub RenameCref14(host As TestHost) + Public Sub RenameCref14(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -4828,7 +4828,7 @@ public class A End Sub - Public Sub RenameCref14_VisualBasic(host As TestHost) + Public Sub RenameCref14_VisualBasic(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -4856,7 +4856,7 @@ End Class]]> - Public Sub RenameCref15(host As TestHost) + Public Sub RenameCref15(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -4887,7 +4887,7 @@ namespace N - Public Sub RenameCref15_VisualBasic(host As TestHost) + Public Sub RenameCref15_VisualBasic(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -4915,7 +4915,7 @@ End Namespace]]> - Public Sub RenameCref17(host As TestHost) + Public Sub RenameCref17(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -4947,7 +4947,7 @@ class P - Public Sub RenameCref17_VisualBasic(host As TestHost) + Public Sub RenameCref17_VisualBasic(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -4977,7 +4977,7 @@ End Class]]> - Public Sub RenameCref18(host As TestHost) + Public Sub RenameCref18(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -5009,7 +5009,7 @@ namespace N End Sub - Public Sub RenameCrefWithUsing1(host As TestHost) + Public Sub RenameCrefWithUsing1(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -5042,7 +5042,7 @@ namespace N1 - Public Sub RenameCrefWithUsing1_VisualBasic(host As TestHost) + Public Sub RenameCrefWithUsing1_VisualBasic(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -5074,7 +5074,7 @@ End Namespace End Sub - Public Sub RenameCrefWithUsing2(host As TestHost) + Public Sub RenameCrefWithUsing2(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -5112,7 +5112,7 @@ namespace N2 - Public Sub RenameCrefWithUsing2_VisualBasic(host As TestHost) + Public Sub RenameCrefWithUsing2_VisualBasic(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -5147,7 +5147,7 @@ End Namespace End Sub - Public Sub RenameCrefWithInterface(host As TestHost) + Public Sub RenameCrefWithInterface(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -5181,7 +5181,7 @@ namespace N - Public Sub RenameCrefWithInterface_VisualBasic(host As TestHost) + Public Sub RenameCrefWithInterface_VisualBasic(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -5210,7 +5210,7 @@ End Namespace]]> End Sub - Public Sub RenameCrefCrossAssembly(host As TestHost) + Public Sub RenameCrefCrossAssembly(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -5255,7 +5255,7 @@ End Namespace - Public Sub RenameCrefCrossAssembly_VisualBasic(host As TestHost) + Public Sub RenameCrefCrossAssembly_VisualBasic(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -5297,7 +5297,7 @@ namespace [|$$N|] - Public Sub RenameStaticConstructorInsideCref1(host As TestHost) + Public Sub RenameStaticConstructorInsideCref1(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -5325,7 +5325,7 @@ class [|P|] - Public Sub RenameStaticConstructorInsideCref1_VisualBasic(host As TestHost) + Public Sub RenameStaticConstructorInsideCref1_VisualBasic(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -5350,7 +5350,7 @@ End Class]]> End Sub - Public Sub RenameStaticConstructorInsideCref2(host As TestHost) + Public Sub RenameStaticConstructorInsideCref2(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -5378,7 +5378,7 @@ class [|P|] - Public Sub RenameStaticConstructorInsideCref2_VisualBasic(host As TestHost) + Public Sub RenameStaticConstructorInsideCref2_VisualBasic(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -5403,7 +5403,7 @@ End Class]]> End Sub - Public Sub RenameInheritanceCref1(host As TestHost) + Public Sub RenameInheritanceCref1(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -5431,7 +5431,7 @@ class Q : P End Sub - Public Sub RenameInheritanceCref1_VisualBasic(host As TestHost) + Public Sub RenameInheritanceCref1_VisualBasic(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -5457,7 +5457,7 @@ End Class]]> - Public Sub RenameGenericTypeCrefWithConflict(host As TestHost) + Public Sub RenameGenericTypeCrefWithConflict(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -5497,7 +5497,7 @@ namespace N - Public Sub RenameGenericTypeCrefWithConflict_VisualBasic(host As TestHost) + Public Sub RenameGenericTypeCrefWithConflict_VisualBasic(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -5533,7 +5533,7 @@ End Namespace]]> #End Region - Public Sub RenameNestedNamespaceToParent1(host As TestHost) + Public Sub RenameNestedNamespaceToParent1(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -5554,7 +5554,7 @@ namespace N - Public Sub RenameNestedNamespaceToParent2(host As TestHost) + Public Sub RenameNestedNamespaceToParent2(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -5583,7 +5583,7 @@ namespace N - Public Sub RenameStaticConstructor(host As TestHost) + Public Sub RenameStaticConstructor(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -5607,7 +5607,7 @@ class [|Simple|] - Public Sub SingleOnlyLocalDeclarationInsideLambdaRecurseInfinitely(host As TestHost) + Public Sub SingleOnlyLocalDeclarationInsideLambdaRecurseInfinitely(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -5631,7 +5631,7 @@ End Module - Public Sub RenameDontReplaceBaseConstructorToken_CSharp(host As TestHost) + Public Sub RenameDontReplaceBaseConstructorToken_CSharp(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -5661,7 +5661,7 @@ class Program - Public Sub RenameDontReplaceBaseConstructorToken_VisualBasic(host As TestHost) + Public Sub RenameDontReplaceBaseConstructorToken_VisualBasic(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -5692,7 +5692,7 @@ End Class - Public Sub RenameMergedNamespaceAcrossProjects(host As TestHost) + Public Sub RenameMergedNamespaceAcrossProjects(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -5718,7 +5718,7 @@ namespace [|N|] { } - Public Sub RenameMergedNamespaceAcrossProjects_1(host As TestHost) + Public Sub RenameMergedNamespaceAcrossProjects_1(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -5744,7 +5744,7 @@ namespace [|N|] { } - Public Sub RenameMainWithoutAssertFailureVB(host As TestHost) + Public Sub RenameMainWithoutAssertFailureVB(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -5768,7 +5768,7 @@ End Module - Public Sub RenameMainWithoutAssertFailureCSharp(host As TestHost) + Public Sub RenameMainWithoutAssertFailureCSharp(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -5794,7 +5794,7 @@ class Program - Public Sub RenameEscapedIdentifierToUnescapedIdentifier(host As TestHost) + Public Sub RenameEscapedIdentifierToUnescapedIdentifier(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -5818,7 +5818,7 @@ End Module - Public Sub RenameEscapedIdentifierToUnescapedIdentifierKeyword(host As TestHost) + Public Sub RenameEscapedIdentifierToUnescapedIdentifierKeyword(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -5843,7 +5843,7 @@ End Module - Public Sub RenameEscapedTypeNew(host As TestHost) + Public Sub RenameEscapedTypeNew(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -5865,7 +5865,7 @@ End Class - Public Sub RenameConstructorInCref(host As TestHost) + Public Sub RenameConstructorInCref(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -5884,7 +5884,7 @@ class [|C|] - Public Sub RenameWithTryCatchBlock1(host As TestHost) + Public Sub RenameWithTryCatchBlock1(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -5907,7 +5907,7 @@ End Class - Public Sub RenameWithTryCatchBlock2(host As TestHost) + Public Sub RenameWithTryCatchBlock2(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -5930,7 +5930,7 @@ End Class - Public Sub RenameVBClassNamedNew(host As TestHost) + Public Sub RenameVBClassNamedNew(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -5948,7 +5948,7 @@ End Class - Public Sub RenameClassWithNoCompilationProjectReferencingProject(host As TestHost) + Public Sub RenameClassWithNoCompilationProjectReferencingProject(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -5975,7 +5975,7 @@ End Class - Public Sub RenameInStrings(host As TestHost) + Public Sub RenameInStrings(host As RenameTestHost) Dim renamingOptions = New Dictionary(Of OptionKey, Object)() renamingOptions.Add(RenameOptions.RenameInStrings, True) renamingOptions.Add(RenameOptions.RenameInComments, False) @@ -6005,7 +6005,7 @@ End Module - Public Sub RenameInStrings_CSharp(host As TestHost) + Public Sub RenameInStrings_CSharp(host As RenameTestHost) Dim renamingOptions = New Dictionary(Of OptionKey, Object)() renamingOptions.Add(RenameOptions.RenameInStrings, True) renamingOptions.Add(RenameOptions.RenameInComments, False) @@ -6037,7 +6037,7 @@ public class [|$$Program|] - Public Sub RenameInComments(host As TestHost) + Public Sub RenameInComments(host As RenameTestHost) Dim renamingOptions = New Dictionary(Of OptionKey, Object)() renamingOptions.Add(RenameOptions.RenameInStrings, False) renamingOptions.Add(RenameOptions.RenameInComments, True) @@ -6069,7 +6069,7 @@ End Module - Public Sub RenameInComments_CSharp(host As TestHost) + Public Sub RenameInComments_CSharp(host As RenameTestHost) Dim renamingOptions = New Dictionary(Of OptionKey, Object)() renamingOptions.Add(RenameOptions.RenameInStrings, False) renamingOptions.Add(RenameOptions.RenameInComments, True) @@ -6101,7 +6101,7 @@ public class [|$$Program|] - Public Sub RenameInComments_XmlName(host As TestHost) + Public Sub RenameInComments_XmlName(host As RenameTestHost) Dim renamingOptions = New Dictionary(Of OptionKey, Object)() renamingOptions.Add(RenameOptions.RenameInStrings, False) renamingOptions.Add(RenameOptions.RenameInComments, True) @@ -6125,7 +6125,7 @@ End Class - Public Sub RenameInComments_XmlName2(host As TestHost) + Public Sub RenameInComments_XmlName2(host As RenameTestHost) Dim renamingOptions = New Dictionary(Of OptionKey, Object)() renamingOptions.Add(RenameOptions.RenameInStrings, False) renamingOptions.Add(RenameOptions.RenameInComments, False) @@ -6151,7 +6151,7 @@ End Class - Public Sub RenameInComments_XmlName_CSharp(host As TestHost) + Public Sub RenameInComments_XmlName_CSharp(host As RenameTestHost) Dim renamingOptions = New Dictionary(Of OptionKey, Object)() renamingOptions.Add(RenameOptions.RenameInStrings, False) renamingOptions.Add(RenameOptions.RenameInComments, True) @@ -6176,7 +6176,7 @@ public class [|$$Program|] - Public Sub RenameInComments_XmlName_CSharp2(host As TestHost) + Public Sub RenameInComments_XmlName_CSharp2(host As RenameTestHost) Dim renamingOptions = New Dictionary(Of OptionKey, Object)() renamingOptions.Add(RenameOptions.RenameInStrings, False) renamingOptions.Add(RenameOptions.RenameInComments, False) @@ -6204,7 +6204,7 @@ public class [|$$Program|] - Public Sub RenameInStringsAndComments(host As TestHost) + Public Sub RenameInStringsAndComments(host As RenameTestHost) Dim renamingOptions = New Dictionary(Of OptionKey, Object)() renamingOptions.Add(RenameOptions.RenameInStrings, True) renamingOptions.Add(RenameOptions.RenameInComments, True) @@ -6238,7 +6238,7 @@ End Module - Public Sub RenameInStringsAndComments_CSharp(host As TestHost) + Public Sub RenameInStringsAndComments_CSharp(host As RenameTestHost) Dim renamingOptions = New Dictionary(Of OptionKey, Object)() renamingOptions.Add(RenameOptions.RenameInStrings, True) renamingOptions.Add(RenameOptions.RenameInComments, True) @@ -6271,7 +6271,7 @@ public class [|$$Program|] - Public Sub RenameInStringsAndComments_SmallerReplacementString(host As TestHost) + Public Sub RenameInStringsAndComments_SmallerReplacementString(host As RenameTestHost) Dim renamingOptions = New Dictionary(Of OptionKey, Object)() renamingOptions.Add(RenameOptions.RenameInStrings, True) renamingOptions.Add(RenameOptions.RenameInComments, True) @@ -6304,7 +6304,7 @@ End Module - Public Sub RenameInStringsAndComments_SmallerReplacementString_CSharp(host As TestHost) + Public Sub RenameInStringsAndComments_SmallerReplacementString_CSharp(host As RenameTestHost) Dim renamingOptions = New Dictionary(Of OptionKey, Object)() renamingOptions.Add(RenameOptions.RenameInStrings, True) renamingOptions.Add(RenameOptions.RenameInComments, True) @@ -6337,7 +6337,7 @@ public class [|$$Program|] - Public Sub RenameInStringsAndComments_AnotherSourceFile(host As TestHost) + Public Sub RenameInStringsAndComments_AnotherSourceFile(host As RenameTestHost) Dim renamingOptions = New Dictionary(Of OptionKey, Object)() renamingOptions.Add(RenameOptions.RenameInStrings, True) renamingOptions.Add(RenameOptions.RenameInComments, True) @@ -6375,7 +6375,7 @@ End Class - Public Sub RenameInStringsAndComments_AnotherSourceFile_CSharp(host As TestHost) + Public Sub RenameInStringsAndComments_AnotherSourceFile_CSharp(host As RenameTestHost) Dim renamingOptions = New Dictionary(Of OptionKey, Object)() renamingOptions.Add(RenameOptions.RenameInStrings, True) renamingOptions.Add(RenameOptions.RenameInComments, True) @@ -6414,7 +6414,7 @@ public class AnotherFile - Public Sub RenameInStringsAndComments_AnotherProject(host As TestHost) + Public Sub RenameInStringsAndComments_AnotherProject(host As RenameTestHost) Dim renamingOptions = New Dictionary(Of OptionKey, Object)() renamingOptions.Add(RenameOptions.RenameInStrings, True) renamingOptions.Add(RenameOptions.RenameInComments, True) @@ -6458,7 +6458,7 @@ End Class - Public Sub RenameInStringsAndComments_AnotherProject_CSharp(host As TestHost) + Public Sub RenameInStringsAndComments_AnotherProject_CSharp(host As RenameTestHost) Dim renamingOptions = New Dictionary(Of OptionKey, Object)() renamingOptions.Add(RenameOptions.RenameInStrings, True) renamingOptions.Add(RenameOptions.RenameInComments, True) @@ -6502,7 +6502,7 @@ public class AnotherFile - Public Sub RenameInStringsAndComments_AnotherProject2(host As TestHost) + Public Sub RenameInStringsAndComments_AnotherProject2(host As RenameTestHost) Dim renamingOptions = New Dictionary(Of OptionKey, Object)() renamingOptions.Add(RenameOptions.RenameInStrings, True) renamingOptions.Add(RenameOptions.RenameInComments, True) @@ -6571,7 +6571,7 @@ End Class - Public Sub RenameInStringsAndComments_AnotherProject_CSharp2(host As TestHost) + Public Sub RenameInStringsAndComments_AnotherProject_CSharp2(host As RenameTestHost) Dim renamingOptions = New Dictionary(Of OptionKey, Object)() renamingOptions.Add(RenameOptions.RenameInStrings, True) renamingOptions.Add(RenameOptions.RenameInComments, True) @@ -6639,7 +6639,7 @@ public class NotReferencingProject - Public Sub RenameInStringsAndComments_WithResolvableConflict(host As TestHost) + Public Sub RenameInStringsAndComments_WithResolvableConflict(host As RenameTestHost) Dim renamingOptions = New Dictionary(Of OptionKey, Object)() renamingOptions.Add(RenameOptions.RenameInStrings, True) renamingOptions.Add(RenameOptions.RenameInComments, True) @@ -6682,7 +6682,7 @@ End Class - Public Sub RenameInStringsAndComments_WithResolvableConflict_CSharp(host As TestHost) + Public Sub RenameInStringsAndComments_WithResolvableConflict_CSharp(host As RenameTestHost) Dim renamingOptions = New Dictionary(Of OptionKey, Object)() renamingOptions.Add(RenameOptions.RenameInStrings, True) renamingOptions.Add(RenameOptions.RenameInComments, True) @@ -6718,7 +6718,7 @@ End Class - Public Sub RenameInStringsAndComments_WithUnresolvableConflict(host As TestHost) + Public Sub RenameInStringsAndComments_WithUnresolvableConflict(host As RenameTestHost) Dim renamingOptions = New Dictionary(Of OptionKey, Object)() renamingOptions.Add(RenameOptions.RenameInStrings, True) renamingOptions.Add(RenameOptions.RenameInComments, True) @@ -6750,7 +6750,7 @@ End Module - Public Sub RenameInStringsAndComments_WithUnresolvableConflict_CSharp(host As TestHost) + Public Sub RenameInStringsAndComments_WithUnresolvableConflict_CSharp(host As RenameTestHost) Dim renamingOptions = New Dictionary(Of OptionKey, Object)() renamingOptions.Add(RenameOptions.RenameInStrings, True) renamingOptions.Add(RenameOptions.RenameInComments, True) @@ -6783,7 +6783,7 @@ class {|Conflict:goo|} #Region "Rename In NameOf" - Public Sub RenameMethodWithNameof_NoOverloads_CSharp(host As TestHost) + Public Sub RenameMethodWithNameof_NoOverloads_CSharp(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -6804,7 +6804,7 @@ class C End Sub - Public Sub RenameMethodWithNameof_WithOverloads_CSharp(host As TestHost) + Public Sub RenameMethodWithNameof_WithOverloads_CSharp(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -6829,7 +6829,7 @@ class C End Sub - Public Sub RenameMethodWithNameof_WithOverloads_WithRenameOverloadsOption_CSharp(host As TestHost) + Public Sub RenameMethodWithNameof_WithOverloads_WithRenameOverloadsOption_CSharp(host As RenameTestHost) Dim renamingOptions = New Dictionary(Of OptionKey, Object)() renamingOptions.Add(RenameOptions.RenameOverloads, True) Using result = RenameEngineResult.Create(_outputHelper, @@ -6859,7 +6859,7 @@ class C - Public Sub HandleProjectsWithoutCompilations(host As TestHost) + Public Sub HandleProjectsWithoutCompilations(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -6886,7 +6886,7 @@ class C - Public Sub RenameTypeParameterFromCRef(host As TestHost) + Public Sub RenameTypeParameterFromCRef(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, diff --git a/src/EditorFeatures/Test2/Rename/RenameNonRenameableSymbols.vb b/src/EditorFeatures/Test2/Rename/RenameNonRenameableSymbols.vb index ad8e6284885e7..bfc0c8f50d256 100644 --- a/src/EditorFeatures/Test2/Rename/RenameNonRenameableSymbols.vb +++ b/src/EditorFeatures/Test2/Rename/RenameNonRenameableSymbols.vb @@ -19,7 +19,7 @@ Namespace Microsoft.CodeAnalysis.Editor.UnitTests.Rename - Public Sub CannotRenameInheritedMetadataButRenameCascade(host As TestHost) + Public Sub CannotRenameInheritedMetadataButRenameCascade(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -55,7 +55,7 @@ Namespace Microsoft.CodeAnalysis.Editor.UnitTests.Rename - Public Sub RenameEventWithInvalidNames(host As TestHost) + Public Sub RenameEventWithInvalidNames(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -76,7 +76,7 @@ Namespace Microsoft.CodeAnalysis.Editor.UnitTests.Rename - Public Sub CannotRenameSpecialNames(host As TestHost) + Public Sub CannotRenameSpecialNames(host As RenameTestHost) Using workspace = CreateWorkspaceWithWaiter( @@ -98,7 +98,7 @@ Namespace Microsoft.CodeAnalysis.Editor.UnitTests.Rename - Public Sub CannotRenameTrivia(host As TestHost) + Public Sub CannotRenameTrivia(host As RenameTestHost) Using workspace = CreateWorkspaceWithWaiter( @@ -116,7 +116,7 @@ Namespace Microsoft.CodeAnalysis.Editor.UnitTests.Rename - Public Sub CannotRenameCandidateSymbol(host As TestHost) + Public Sub CannotRenameCandidateSymbol(host As RenameTestHost) Using workspace = CreateWorkspaceWithWaiter( @@ -138,7 +138,7 @@ class Program - Public Sub CannotRenameSyntheticDefinition(host As TestHost) + Public Sub CannotRenameSyntheticDefinition(host As RenameTestHost) Using workspace = CreateWorkspaceWithWaiter( @@ -160,7 +160,7 @@ class Program - Public Sub CannotRenameXmlLiteralProperty(host As TestHost) + Public Sub CannotRenameXmlLiteralProperty(host As RenameTestHost) Using workspace = CreateWorkspaceWithWaiter( @@ -178,7 +178,7 @@ class Program - Public Sub CannotRenameSymbolDefinedInMetaData(host As TestHost) + Public Sub CannotRenameSymbolDefinedInMetaData(host As RenameTestHost) Using workspace = CreateWorkspaceWithWaiter( @@ -200,7 +200,7 @@ class Program - Public Sub CannotRenameSymbolInReadOnlyBuffer(host As TestHost) + Public Sub CannotRenameSymbolInReadOnlyBuffer(host As RenameTestHost) Using workspace = CreateWorkspaceWithWaiter( @@ -229,7 +229,7 @@ class Program - Public Sub CannotRenameSymbolThatBindsToErrorType(host As TestHost) + Public Sub CannotRenameSymbolThatBindsToErrorType(host As RenameTestHost) Using workspace = CreateWorkspaceWithWaiter( @@ -252,7 +252,7 @@ class Program - Public Sub CannotRenameSynthesizedParameters(host As TestHost) + Public Sub CannotRenameSynthesizedParameters(host As RenameTestHost) Using workspace = CreateWorkspaceWithWaiter( @@ -276,7 +276,7 @@ class Program - Public Sub CannotRenamePredefinedType(host As TestHost) + Public Sub CannotRenamePredefinedType(host As RenameTestHost) Using workspace = CreateWorkspaceWithWaiter( @@ -295,7 +295,7 @@ class Program - Public Sub CannotRenameContextualKeyword(host As TestHost) + Public Sub CannotRenameContextualKeyword(host As RenameTestHost) Using workspace = CreateWorkspaceWithWaiter( @@ -323,7 +323,7 @@ class Program - Public Sub CannotRenameOperator(host As TestHost) + Public Sub CannotRenameOperator(host As RenameTestHost) Using workspace = CreateWorkspaceWithWaiter( @@ -351,7 +351,7 @@ class Program - Public Sub CannotRenameExternAlias(host As TestHost) + Public Sub CannotRenameExternAlias(host As RenameTestHost) Using workspace = CreateWorkspaceWithWaiter( @@ -373,7 +373,7 @@ class Program - Public Sub CannotRenameElementFromPreviousSubmission(host As TestHost) + Public Sub CannotRenameElementFromPreviousSubmission(host As RenameTestHost) Using workspace = CreateWorkspaceWithWaiter( @@ -391,7 +391,7 @@ class Program - Public Sub CannotRenameHiddenElement(host As TestHost) + Public Sub CannotRenameHiddenElement(host As RenameTestHost) Using workspace = CreateWorkspaceWithWaiter( @@ -412,7 +412,7 @@ End Class - Public Sub CannotRenameConstructorInVb(host As TestHost) + Public Sub CannotRenameConstructorInVb(host As RenameTestHost) Using workspace = CreateWorkspaceWithWaiter( @@ -441,7 +441,7 @@ End Class - Public Sub CannotRenameConstructorInVb2(host As TestHost) + Public Sub CannotRenameConstructorInVb2(host As RenameTestHost) Using workspace = CreateWorkspaceWithWaiter( @@ -464,7 +464,7 @@ End Class - Public Sub CannotRenameConstructorInVb3(host As TestHost) + Public Sub CannotRenameConstructorInVb3(host As RenameTestHost) Using workspace = CreateWorkspaceWithWaiter( @@ -493,7 +493,7 @@ End Class - Public Sub RenameTupleFiledInDeclaration(host As TestHost) + Public Sub RenameTupleFiledInDeclaration(host As RenameTestHost) Using workspace = CreateWorkspaceWithWaiter( @@ -546,7 +546,7 @@ namespace System - Public Sub RenameTupleFiledInLiteral(host As TestHost) + Public Sub RenameTupleFiledInLiteral(host As RenameTestHost) Using workspace = CreateWorkspaceWithWaiter( @@ -599,7 +599,7 @@ namespace System - Public Sub RenameTupleFiledInFieldAccess(host As TestHost) + Public Sub RenameTupleFiledInFieldAccess(host As RenameTestHost) Using workspace = CreateWorkspaceWithWaiter( @@ -650,7 +650,7 @@ namespace System - Public Sub RenameTupleFiledInLiteralRegress14600(host As TestHost) + Public Sub RenameTupleFiledInLiteralRegress14600(host As RenameTestHost) Using workspace = CreateWorkspaceWithWaiter( diff --git a/src/EditorFeatures/Test2/Rename/RenameTagProducerTests.vb b/src/EditorFeatures/Test2/Rename/RenameTagProducerTests.vb index fa80a6ffd9b56..1061b7ce4b930 100644 --- a/src/EditorFeatures/Test2/Rename/RenameTagProducerTests.vb +++ b/src/EditorFeatures/Test2/Rename/RenameTagProducerTests.vb @@ -109,7 +109,7 @@ Namespace Microsoft.CodeAnalysis.Editor.UnitTests.Rename - Public Async Function ValidTagsDuringSimpleRename(host As TestHost) As Task + Public Async Function ValidTagsDuringSimpleRename(host As RenameTestHost) As Task Using workspace = CreateWorkspaceWithWaiter( @@ -136,7 +136,7 @@ Namespace Microsoft.CodeAnalysis.Editor.UnitTests.Rename - Public Async Function UnresolvableConflictInModifiedDocument(host As TestHost) As System.Threading.Tasks.Task + Public Async Function UnresolvableConflictInModifiedDocument(host As RenameTestHost) As System.Threading.Tasks.Task Using workspace = CreateWorkspaceWithWaiter( @@ -193,7 +193,7 @@ class Program - Public Async Function VerifyLinkedFiles_InterleavedResolvedConflicts(host As TestHost) As System.Threading.Tasks.Task + Public Async Function VerifyLinkedFiles_InterleavedResolvedConflicts(host As RenameTestHost) As System.Threading.Tasks.Task Using workspace = CreateWorkspaceWithWaiter( @@ -302,7 +302,7 @@ public class Class1 - Public Async Function VerifyLinkedFiles_UnresolvableConflictComments(host As TestHost) As Task + Public Async Function VerifyLinkedFiles_UnresolvableConflictComments(host As RenameTestHost) As Task Dim originalDocument = " public class Class1 { @@ -376,7 +376,7 @@ public class Class1 - Public Async Function UnresolvableConflictInUnmodifiedDocument(host As TestHost) As Task + Public Async Function UnresolvableConflictInUnmodifiedDocument(host As RenameTestHost) As Task Using workspace = CreateWorkspaceWithWaiter( @@ -412,7 +412,7 @@ public class Class1 - Public Async Function ValidStateWithEmptyReplacementTextAfterConflictResolution(host As TestHost) As Task + Public Async Function ValidStateWithEmptyReplacementTextAfterConflictResolution(host As RenameTestHost) As Task Using workspace = CreateWorkspaceWithWaiter( @@ -484,7 +484,7 @@ public class Class1 - Public Async Function RenamingEscapedIdentifiers(host As TestHost) As Task + Public Async Function RenamingEscapedIdentifiers(host As RenameTestHost) As Task Using workspace = CreateWorkspaceWithWaiter( @@ -541,7 +541,7 @@ class C - Public Async Function BackspacingAfterConflictResolutionPreservesTrackingSpans(host As TestHost) As Task + Public Async Function BackspacingAfterConflictResolutionPreservesTrackingSpans(host As RenameTestHost) As Task Using workspace = CreateWorkspaceWithWaiter( @@ -623,7 +623,7 @@ class C - Public Async Function CSharp_FixupSpanDuringResolvableConflict_NonReferenceConflict(host As TestHost) As Task + Public Async Function CSharp_FixupSpanDuringResolvableConflict_NonReferenceConflict(host As RenameTestHost) As Task Using workspace = CreateWorkspaceWithWaiter( @@ -700,7 +700,7 @@ class C - Public Async Function VisualBasic_FixupSpanDuringResolvableConflict_NonReferenceConflict(host As TestHost) As Task + Public Async Function VisualBasic_FixupSpanDuringResolvableConflict_NonReferenceConflict(host As RenameTestHost) As Task Using workspace = CreateWorkspaceWithWaiter( @@ -771,7 +771,7 @@ class C - Public Async Function CSharp_FixupSpanDuringResolvableConflict_ReferenceConflict(host As TestHost) As Task + Public Async Function CSharp_FixupSpanDuringResolvableConflict_ReferenceConflict(host As RenameTestHost) As Task Using workspace = CreateWorkspaceWithWaiter( @@ -843,7 +843,7 @@ class Goo - Public Async Function VisualBasic_FixupSpanDuringResolvableConflict_ReferenceConflict(host As TestHost) As Task + Public Async Function VisualBasic_FixupSpanDuringResolvableConflict_ReferenceConflict(host As RenameTestHost) As Task Using workspace = CreateWorkspaceWithWaiter( @@ -910,7 +910,7 @@ End Class - Public Async Function CSharp_FixupSpanDuringResolvableConflict_NeedsEscaping(host As TestHost) As Task + Public Async Function CSharp_FixupSpanDuringResolvableConflict_NeedsEscaping(host As RenameTestHost) As Task Using workspace = CreateWorkspaceWithWaiter( @@ -987,7 +987,7 @@ class Goo - Public Async Function VisualBasic_FixupSpanDuringResolvableConflict_NeedsEscaping(host As TestHost) As Task + Public Async Function VisualBasic_FixupSpanDuringResolvableConflict_NeedsEscaping(host As RenameTestHost) As Task Using workspace = CreateWorkspaceWithWaiter( @@ -1058,7 +1058,7 @@ End Class - Public Async Function FixupSpanDuringResolvableConflict_VerifyCaret(host As TestHost) As Task + Public Async Function FixupSpanDuringResolvableConflict_VerifyCaret(host As RenameTestHost) As Task Using workspace = CreateWorkspaceWithWaiter( @@ -1142,7 +1142,7 @@ End Class - Public Async Function VerifyNoSelectionAfterCommit(host As TestHost) As Task + Public Async Function VerifyNoSelectionAfterCommit(host As RenameTestHost) As Task Using workspace = CreateWorkspaceWithWaiter( @@ -1187,7 +1187,7 @@ End Class - Public Async Function CSharp_FixupSpanDuringResolvableConflict_ComplexificationOutsideConflict(host As TestHost) As Task + Public Async Function CSharp_FixupSpanDuringResolvableConflict_ComplexificationOutsideConflict(host As RenameTestHost) As Task Using workspace = CreateWorkspaceWithWaiter( @@ -1287,7 +1287,7 @@ class Program - Public Async Function CSharp_FixupSpanDuringResolvableConflict_ContainedComplexifiedSpan(host As TestHost) As Task + Public Async Function CSharp_FixupSpanDuringResolvableConflict_ContainedComplexifiedSpan(host As RenameTestHost) As Task Using workspace = CreateWorkspaceWithWaiter( @@ -1357,7 +1357,7 @@ namespace N - Public Async Function CSharp_FixupSpanDuringResolvableConflict_ComplexificationReordersReferenceSpans(host As TestHost) As Task + Public Async Function CSharp_FixupSpanDuringResolvableConflict_ComplexificationReordersReferenceSpans(host As RenameTestHost) As Task Using workspace = CreateWorkspaceWithWaiter( @@ -1416,7 +1416,7 @@ class C - Public Async Function CSharp_FixupSpanDuringResolvableConflict_WithinCrefs(host As TestHost) As Task + Public Async Function CSharp_FixupSpanDuringResolvableConflict_WithinCrefs(host As RenameTestHost) As Task Using workspace = CreateWorkspaceWithWaiter( @@ -1503,7 +1503,7 @@ class C - Public Async Function CSharp_FixupSpanDuringResolvableConflict_OverLoadResolutionChangesInEnclosingInvocations(host As TestHost) As Task + Public Async Function CSharp_FixupSpanDuringResolvableConflict_OverLoadResolutionChangesInEnclosingInvocations(host As RenameTestHost) As Task Using workspace = CreateWorkspaceWithWaiter( @@ -1589,7 +1589,7 @@ static class E - Public Async Function CSharpShowDeclarationConflictsImmediately(host As TestHost) As Task + Public Async Function CSharpShowDeclarationConflictsImmediately(host As RenameTestHost) As Task Using workspace = CreateWorkspaceWithWaiter( @@ -1625,7 +1625,7 @@ static class E - Public Async Function VBShowDeclarationConflictsImmediately(host As TestHost) As Task + Public Async Function VBShowDeclarationConflictsImmediately(host As RenameTestHost) As Task Using workspace = CreateWorkspaceWithWaiter( @@ -1658,7 +1658,7 @@ static class E - Public Async Function ActiveSpanInSecondaryView(host As TestHost) As Task + Public Async Function ActiveSpanInSecondaryView(host As RenameTestHost) As Task Using workspace = CreateWorkspaceWithWaiter( diff --git a/src/EditorFeatures/Test2/Rename/RenameTestHelpers.vb b/src/EditorFeatures/Test2/Rename/RenameTestHelpers.vb index 46b76908f4fa7..9b520973a594c 100644 --- a/src/EditorFeatures/Test2/Rename/RenameTestHelpers.vb +++ b/src/EditorFeatures/Test2/Rename/RenameTestHelpers.vb @@ -112,7 +112,7 @@ Namespace Microsoft.CodeAnalysis.Editor.UnitTests.Rename End Sub #Disable Warning IDE0060 ' Remove unused parameter - https://github.com/dotnet/roslyn/issues/45890 - Public Function CreateWorkspaceWithWaiter(element As XElement, host As TestHost) As TestWorkspace + Public Function CreateWorkspaceWithWaiter(element As XElement, host As RenameTestHost) As TestWorkspace #Enable Warning IDE0060 ' Remove unused parameter Dim workspace = TestWorkspace.CreateWorkspace( element, diff --git a/src/EditorFeatures/Test2/Rename/RenameTestHost.vb b/src/EditorFeatures/Test2/Rename/RenameTestHost.vb new file mode 100644 index 0000000000000..bfe4afabde486 --- /dev/null +++ b/src/EditorFeatures/Test2/Rename/RenameTestHost.vb @@ -0,0 +1,13 @@ +' Licensed to the .NET Foundation under one or more agreements. +' The .NET Foundation licenses this file to you under the MIT license. +' See the LICENSE file in the project root for more information. + +Namespace Microsoft.CodeAnalysis.Editor.UnitTests.Rename + Public Enum RenameTestHost + InProcess + ' Work out of process, marshaling to/from RenameSymbolAsync + OutOfProcess_SingleCall + ' Work out of process, marshaling to/from FindRenameLocations, then marshaling to/from ResolveConflictsAsync + OutOfProcess_SplitCall + End Enum +End Namespace diff --git a/src/EditorFeatures/Test2/Rename/VisualBasic/AliasTests.vb b/src/EditorFeatures/Test2/Rename/VisualBasic/AliasTests.vb index 4d14a2b42e701..23474cfdef54c 100644 --- a/src/EditorFeatures/Test2/Rename/VisualBasic/AliasTests.vb +++ b/src/EditorFeatures/Test2/Rename/VisualBasic/AliasTests.vb @@ -16,7 +16,7 @@ Namespace Microsoft.CodeAnalysis.Editor.UnitTests.Rename.VisualBasic - Public Sub RenameSimpleSpecialTypeAliasVariable(host As TestHost) + Public Sub RenameSimpleSpecialTypeAliasVariable(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -36,7 +36,7 @@ Namespace Microsoft.CodeAnalysis.Editor.UnitTests.Rename.VisualBasic - Public Sub RenameSimpleSpecialTypeDoubleAliasVariable(host As TestHost) + Public Sub RenameSimpleSpecialTypeDoubleAliasVariable(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -57,7 +57,7 @@ Namespace Microsoft.CodeAnalysis.Editor.UnitTests.Rename.VisualBasic - Public Sub RenameSimpleTypeAliasVariable(host As TestHost) + Public Sub RenameSimpleTypeAliasVariable(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -77,7 +77,7 @@ Namespace Microsoft.CodeAnalysis.Editor.UnitTests.Rename.VisualBasic - Public Sub RenameAliasNoConflict(host As TestHost) + Public Sub RenameAliasNoConflict(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -106,7 +106,7 @@ Namespace Microsoft.CodeAnalysis.Editor.UnitTests.Rename.VisualBasic - Public Sub RenameAliasToSameNameNoConflict(host As TestHost) + Public Sub RenameAliasToSameNameNoConflict(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -131,7 +131,7 @@ Namespace Microsoft.CodeAnalysis.Editor.UnitTests.Rename.VisualBasic - Public Sub RenameOneDuplicateAliasToNoConflict(host As TestHost) + Public Sub RenameOneDuplicateAliasToNoConflict(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -154,7 +154,7 @@ Namespace Microsoft.CodeAnalysis.Editor.UnitTests.Rename.VisualBasic - Public Sub RenameNamespaceAlias(host As TestHost) + Public Sub RenameNamespaceAlias(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -177,7 +177,7 @@ Namespace Microsoft.CodeAnalysis.Editor.UnitTests.Rename.VisualBasic - Public Sub RenameConstructedTypeAliasFromUse(host As TestHost) + Public Sub RenameConstructedTypeAliasFromUse(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -200,7 +200,7 @@ End Module - Public Sub RenameConstructedTypeAliasFromDeclaration(host As TestHost) + Public Sub RenameConstructedTypeAliasFromDeclaration(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -223,7 +223,7 @@ End Module - Public Sub RenameSimpleTypeAliasFromUse(host As TestHost) + Public Sub RenameSimpleTypeAliasFromUse(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -246,7 +246,7 @@ End Module - Public Sub RenameSimpleTypeAliasFromDeclaration(host As TestHost) + Public Sub RenameSimpleTypeAliasFromDeclaration(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -268,7 +268,7 @@ End Module - Public Sub ConflictWhenRenamingAliasToSameAsGlobalTypeName(host As TestHost) + Public Sub ConflictWhenRenamingAliasToSameAsGlobalTypeName(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -296,7 +296,7 @@ End Class - Public Sub RenameAliasToAttributeAndEndingWithAttributeAttribute(host As TestHost) + Public Sub RenameAliasToAttributeAndEndingWithAttributeAttribute(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -331,7 +331,7 @@ end class - Public Sub RenameAliasToAttributeAndEndingWithAttributeAttributeNoConflict1(host As TestHost) + Public Sub RenameAliasToAttributeAndEndingWithAttributeAttributeNoConflict1(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -367,7 +367,7 @@ end class - Public Sub RenameAliasToAttributeAndEndingWithAttributeAttributeWithConflict1(host As TestHost) + Public Sub RenameAliasToAttributeAndEndingWithAttributeAttributeWithConflict1(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, diff --git a/src/EditorFeatures/Test2/Rename/VisualBasic/CallSiteConflictResolutionTests.vb b/src/EditorFeatures/Test2/Rename/VisualBasic/CallSiteConflictResolutionTests.vb index 897553859c748..ba6d789c75eae 100644 --- a/src/EditorFeatures/Test2/Rename/VisualBasic/CallSiteConflictResolutionTests.vb +++ b/src/EditorFeatures/Test2/Rename/VisualBasic/CallSiteConflictResolutionTests.vb @@ -18,7 +18,7 @@ Namespace Microsoft.CodeAnalysis.Editor.UnitTests.Rename.VisualBasic - Public Sub RewriteConflictingExtensionMethodCallSite(host As TestHost) + Public Sub RewriteConflictingExtensionMethodCallSite(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -50,7 +50,7 @@ End Module - Public Sub RewriteConflictingExtensionMethodCallSiteRequiringTypeArguments(host As TestHost) + Public Sub RewriteConflictingExtensionMethodCallSiteRequiringTypeArguments(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -82,7 +82,7 @@ End Module - Public Sub RewriteConflictingExtensionMethodCallSiteInferredTypeArguments(host As TestHost) + Public Sub RewriteConflictingExtensionMethodCallSiteInferredTypeArguments(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -113,7 +113,7 @@ End Module - Public Sub QualifyConflictingMethodInvocation(host As TestHost) + Public Sub QualifyConflictingMethodInvocation(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, diff --git a/src/EditorFeatures/Test2/Rename/VisualBasic/DeclarationConflictTests.vb b/src/EditorFeatures/Test2/Rename/VisualBasic/DeclarationConflictTests.vb index 104baed42414d..8c224d3c1d6b9 100644 --- a/src/EditorFeatures/Test2/Rename/VisualBasic/DeclarationConflictTests.vb +++ b/src/EditorFeatures/Test2/Rename/VisualBasic/DeclarationConflictTests.vb @@ -16,7 +16,7 @@ Namespace Microsoft.CodeAnalysis.Editor.UnitTests.Rename.VisualBasic - Public Sub ConflictBetweenFields(host As TestHost) + Public Sub ConflictBetweenFields(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -35,7 +35,7 @@ End Module - Public Sub ConflictBetweenFieldAndMethod(host As TestHost) + Public Sub ConflictBetweenFieldAndMethod(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -55,7 +55,7 @@ End Module - Public Sub ConflictBetweenTwoMethodsWithSameSignature(host As TestHost) + Public Sub ConflictBetweenTwoMethodsWithSameSignature(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -77,7 +77,7 @@ End Module - Public Sub ConflictBetweenTwoParameters(host As TestHost) + Public Sub ConflictBetweenTwoParameters(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -96,7 +96,7 @@ End Module - Public Sub NoConflictBetweenMethodsWithDifferentSignatures(host As TestHost) + Public Sub NoConflictBetweenMethodsWithDifferentSignatures(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -118,7 +118,7 @@ End Module - Public Sub ConflictBetweenTwoLocals(host As TestHost) + Public Sub ConflictBetweenTwoLocals(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -141,7 +141,7 @@ End Module - Public Sub ConflictBetweenLocalAndParameter(host As TestHost) + Public Sub ConflictBetweenLocalAndParameter(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -163,7 +163,7 @@ End Module - Public Sub ConflictBetweenQueryVariableAndParameter(host As TestHost) + Public Sub ConflictBetweenQueryVariableAndParameter(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -185,7 +185,7 @@ End Module - Public Sub ConflictBetweenTwoQueryVariables(host As TestHost) + Public Sub ConflictBetweenTwoQueryVariables(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -208,7 +208,7 @@ End Module - Public Sub ConflictBetweenLambdaParametersInsideMethod(host As TestHost) + Public Sub ConflictBetweenLambdaParametersInsideMethod(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -232,7 +232,7 @@ End Module - Public Sub ConflictBetweenLambdaParametersInFieldInitializer(host As TestHost) + Public Sub ConflictBetweenLambdaParametersInFieldInitializer(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -254,7 +254,7 @@ End Module - Public Sub NoConflictBetweenLambdaParameterAndField(host As TestHost) + Public Sub NoConflictBetweenLambdaParameterAndField(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -275,7 +275,7 @@ End Module - Public Sub ConflictBetweenLabels(host As TestHost) + Public Sub ConflictBetweenLabels(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -301,7 +301,7 @@ End Class - Public Sub ConflictBetweenMethodsDifferingByByRef(host As TestHost) + Public Sub ConflictBetweenMethodsDifferingByByRef(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -325,7 +325,7 @@ End Module - Public Sub ConflictBetweenMethodsDifferingByOptional(host As TestHost) + Public Sub ConflictBetweenMethodsDifferingByOptional(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -349,7 +349,7 @@ End Module - Public Sub NoConflictBetweenMethodsDifferingByArity(host As TestHost) + Public Sub NoConflictBetweenMethodsDifferingByArity(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -372,7 +372,7 @@ End Module - Public Sub ConflictBetweenImplicitlyDeclaredLocalAndNamespace(host As TestHost) + Public Sub ConflictBetweenImplicitlyDeclaredLocalAndNamespace(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -396,7 +396,7 @@ End Module - Public Sub ConflictBetweenImplicitlyDeclaredLocalAndAndGlobalFunction(host As TestHost) + Public Sub ConflictBetweenImplicitlyDeclaredLocalAndAndGlobalFunction(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -425,7 +425,7 @@ End Module - Public Sub ConflictBetweenAliases(host As TestHost) + Public Sub ConflictBetweenAliases(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -452,7 +452,7 @@ End Namespace - Public Sub ConflictBetweenImplicitVariableAndClass(host As TestHost) + Public Sub ConflictBetweenImplicitVariableAndClass(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -480,7 +480,7 @@ End Module - Public Sub ConflictBetweenEquallyNamedAlias(host As TestHost) + Public Sub ConflictBetweenEquallyNamedAlias(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -511,7 +511,7 @@ End Class - Public Sub ConflictBetweenEquallyNamedPropertyAndItsParameter_1(host As TestHost) + Public Sub ConflictBetweenEquallyNamedPropertyAndItsParameter_1(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -537,7 +537,7 @@ End Class - Public Sub ConflictBetweenEquallyNamedPropertyAndItsParameter_2(host As TestHost) + Public Sub ConflictBetweenEquallyNamedPropertyAndItsParameter_2(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -589,7 +589,7 @@ End Class - Public Sub ConflictBetweenEquallyNamedPropertyAndItsParameter_3(host As TestHost) + Public Sub ConflictBetweenEquallyNamedPropertyAndItsParameter_3(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -615,7 +615,7 @@ End Class - Public Sub VB_ConflictInFieldInitializerOfFieldAndModuleNameResolvedThroughFullQualification(host As TestHost) + Public Sub VB_ConflictInFieldInitializerOfFieldAndModuleNameResolvedThroughFullQualification(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -635,7 +635,7 @@ End Module - Public Sub VB_ConflictForForEachLoopVariableNotBindingToTypeAnyMore(host As TestHost) + Public Sub VB_ConflictForForEachLoopVariableNotBindingToTypeAnyMore(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -666,7 +666,7 @@ End Namespace - Public Sub VB_ConflictForForEachLoopVariableAndRangeVariable_1(host As TestHost) + Public Sub VB_ConflictForForEachLoopVariableAndRangeVariable_1(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -699,7 +699,7 @@ End Namespace - Public Sub VB_ConflictForForEachLoopVariableAndRangeVariable_2(host As TestHost) + Public Sub VB_ConflictForForEachLoopVariableAndRangeVariable_2(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -732,7 +732,7 @@ End Namespace - Public Sub VB_ConflictForForEachLoopVariableAndRangeVariable_3(host As TestHost) + Public Sub VB_ConflictForForEachLoopVariableAndRangeVariable_3(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -767,7 +767,7 @@ End Namespace - Public Sub VB_ConflictForForEachLoopVariableAndRangeVariable_4(host As TestHost) + Public Sub VB_ConflictForForEachLoopVariableAndRangeVariable_4(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -800,7 +800,7 @@ End Namespace - Public Sub VB_ConflictForUsingVariableAndRangeVariable_1(host As TestHost) + Public Sub VB_ConflictForUsingVariableAndRangeVariable_1(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -833,7 +833,7 @@ End Namespace - Public Sub VB_ConflictForUsingVariableAndRangeVariable_2(host As TestHost) + Public Sub VB_ConflictForUsingVariableAndRangeVariable_2(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -864,7 +864,7 @@ End Namespace - Public Sub VB_ConflictForUsingVariableAndRangeVariable_3(host As TestHost) + Public Sub VB_ConflictForUsingVariableAndRangeVariable_3(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -893,7 +893,7 @@ End Namespace - Public Sub VB_ConflictForCatchVariable_1(host As TestHost) + Public Sub VB_ConflictForCatchVariable_1(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -922,7 +922,7 @@ End Namespace - Public Sub VB_ConflictBetweenTypeParametersInTypeDeclaration(host As TestHost) + Public Sub VB_ConflictBetweenTypeParametersInTypeDeclaration(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -940,7 +940,7 @@ End Class - Public Sub VB_ConflictBetweenTypeParametersInMethodDeclaration_1(host As TestHost) + Public Sub VB_ConflictBetweenTypeParametersInMethodDeclaration_1(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -960,7 +960,7 @@ End Class - Public Sub VB_ConflictBetweenTypeParametersInMethodDeclaration_2(host As TestHost) + Public Sub VB_ConflictBetweenTypeParametersInMethodDeclaration_2(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -980,7 +980,7 @@ End Class - Public Sub VB_ConflictBetweenTypeParameterAndMember_1(host As TestHost) + Public Sub VB_ConflictBetweenTypeParameterAndMember_1(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -1000,7 +1000,7 @@ End Class - Public Sub VB_ConflictBetweenTypeParameterAndMember_2(host As TestHost) + Public Sub VB_ConflictBetweenTypeParameterAndMember_2(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -1019,7 +1019,7 @@ End Class - Public Sub VB_ConflictBetweenEscapedForEachControlVariableAndQueryRangeVariable(host As TestHost) + Public Sub VB_ConflictBetweenEscapedForEachControlVariableAndQueryRangeVariable(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -1050,7 +1050,7 @@ End Module - Public Sub VB_OverridingImplicitlyUsedMethod(host As TestHost) + Public Sub VB_OverridingImplicitlyUsedMethod(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -1093,7 +1093,7 @@ End Class - Public Sub VB_OverridingImplicitlyUsedMethod_1(host As TestHost) + Public Sub VB_OverridingImplicitlyUsedMethod_1(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -1135,7 +1135,7 @@ End Class - Public Sub VB_OverridingImplicitlyUsedMethod_2(host As TestHost) + Public Sub VB_OverridingImplicitlyUsedMethod_2(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -1174,7 +1174,7 @@ End Class - Public Sub ConflictInsideSimpleArgument(host As TestHost) + Public Sub ConflictInsideSimpleArgument(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -1197,7 +1197,7 @@ End Class - Public Sub ParameterInPartialMethodDefinitionConflictingWithLocalInPartialMethodImplementation(host As TestHost) + Public Sub ParameterInPartialMethodDefinitionConflictingWithLocalInPartialMethodImplementation(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -1226,7 +1226,7 @@ End Class - Public Sub AsNewClauseSpeculationResolvesConflicts(host As TestHost) + Public Sub AsNewClauseSpeculationResolvesConflicts(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, diff --git a/src/EditorFeatures/Test2/Rename/VisualBasic/EscapingTests.vb b/src/EditorFeatures/Test2/Rename/VisualBasic/EscapingTests.vb index e864d7cef54b1..093359d3ce17a 100644 --- a/src/EditorFeatures/Test2/Rename/VisualBasic/EscapingTests.vb +++ b/src/EditorFeatures/Test2/Rename/VisualBasic/EscapingTests.vb @@ -16,7 +16,7 @@ Namespace Microsoft.CodeAnalysis.Editor.UnitTests.Rename.VisualBasic - Public Sub EscapeTypeWhenRenamingToKeyword(host As TestHost) + Public Sub EscapeTypeWhenRenamingToKeyword(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -37,7 +37,7 @@ End Module - Public Sub DoNotEscapeMethodAfterDotWhenRenamingToKeyword(host As TestHost) + Public Sub DoNotEscapeMethodAfterDotWhenRenamingToKeyword(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -58,7 +58,7 @@ End Module - Public Sub EscapeAttributeWhenRenamingToRegularKeyword(host As TestHost) + Public Sub EscapeAttributeWhenRenamingToRegularKeyword(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -84,7 +84,7 @@ End Module - Public Sub EscapeAttributeUsageWhenRenamingToAssembly(host As TestHost) + Public Sub EscapeAttributeUsageWhenRenamingToAssembly(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -110,7 +110,7 @@ End Module - Public Sub EscapeAttributeUsageWhenRenamingToModule(host As TestHost) + Public Sub EscapeAttributeUsageWhenRenamingToModule(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -136,7 +136,7 @@ End Module - Public Sub EscapeWhenRenamingMethodToNew(host As TestHost) + Public Sub EscapeWhenRenamingMethodToNew(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -165,7 +165,7 @@ End Class - Public Sub EscapeWhenRenamingMethodToRem(host As TestHost) + Public Sub EscapeWhenRenamingMethodToRem(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -187,7 +187,7 @@ End Module - Public Sub EscapeWhenRenamingPropertyToMid(host As TestHost) + Public Sub EscapeWhenRenamingPropertyToMid(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -213,7 +213,7 @@ End Module - Public Sub EscapeWhenRenamingPropertyToStrangelyCasedMid(host As TestHost) + Public Sub EscapeWhenRenamingPropertyToStrangelyCasedMid(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -239,7 +239,7 @@ End Module - Public Sub EscapeWhenRenamingToMidWithTypeCharacters1(host As TestHost) + Public Sub EscapeWhenRenamingToMidWithTypeCharacters1(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -266,7 +266,7 @@ End Module - Public Sub EscapeWhenRenamingToMidWithTypeCharacters2(host As TestHost) + Public Sub EscapeWhenRenamingToMidWithTypeCharacters2(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -292,7 +292,7 @@ End Module - Public Sub EscapePreserveKeywordWhenRenamingWithRedim(host As TestHost) + Public Sub EscapePreserveKeywordWhenRenamingWithRedim(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -315,7 +315,7 @@ End Module - Public Sub EscapeRemKeywordWhenDoingTypeNameQualification(host As TestHost) + Public Sub EscapeRemKeywordWhenDoingTypeNameQualification(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -341,7 +341,7 @@ End Module - Public Sub EscapeNewKeywordWhenDoingTypeNameQualification(host As TestHost) + Public Sub EscapeNewKeywordWhenDoingTypeNameQualification(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -367,7 +367,7 @@ End Module - Public Sub EscapeRemKeywordWhenDoingMeQualification(host As TestHost) + Public Sub EscapeRemKeywordWhenDoingMeQualification(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -393,7 +393,7 @@ End Class - Public Sub DoNotEscapeIfKeywordWhenDoingMeQualification(host As TestHost) + Public Sub DoNotEscapeIfKeywordWhenDoingMeQualification(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -419,7 +419,7 @@ End Class - Public Sub EscapeIdentifierWhenRenamingToRemKeyword(host As TestHost) + Public Sub EscapeIdentifierWhenRenamingToRemKeyword(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -441,7 +441,7 @@ End Module - Public Sub EscapeIdentifierWhenRenamingToRemKeyword2(host As TestHost) + Public Sub EscapeIdentifierWhenRenamingToRemKeyword2(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -464,7 +464,7 @@ End Module - Public Sub RenamingToEscapedIdentifierWithFullwidthSquareBracket(host As TestHost) + Public Sub RenamingToEscapedIdentifierWithFullwidthSquareBracket(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -485,7 +485,7 @@ End Module - Public Sub EscapeContextualKeywordsInQuery1(host As TestHost) + Public Sub EscapeContextualKeywordsInQuery1(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -524,7 +524,7 @@ End Module - Public Sub EscapeMidIfNeeded(host As TestHost) + Public Sub EscapeMidIfNeeded(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -547,7 +547,7 @@ End Module - Public Sub RenamingToRemAndUsingTypeCharactersIsNotAllowed(host As TestHost) + Public Sub RenamingToRemAndUsingTypeCharactersIsNotAllowed(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -568,7 +568,7 @@ End Module End Sub - Public Sub RenameIdentifierBracketed(host As TestHost) + Public Sub RenameIdentifierBracketed(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -589,7 +589,7 @@ End Module End Sub - Public Sub RenameToIdentifierBracketed(host As TestHost) + Public Sub RenameToIdentifierBracketed(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -610,7 +610,7 @@ End Module End Sub - Public Sub RenameToIdentifierBracketed_2(host As TestHost) + Public Sub RenameToIdentifierBracketed_2(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, diff --git a/src/EditorFeatures/Test2/Rename/VisualBasic/ImplicitReferenceConflictTests.vb b/src/EditorFeatures/Test2/Rename/VisualBasic/ImplicitReferenceConflictTests.vb index badda6f9ed822..c3a7f5ba1ae36 100644 --- a/src/EditorFeatures/Test2/Rename/VisualBasic/ImplicitReferenceConflictTests.vb +++ b/src/EditorFeatures/Test2/Rename/VisualBasic/ImplicitReferenceConflictTests.vb @@ -17,7 +17,7 @@ Namespace Microsoft.CodeAnalysis.Editor.UnitTests.Rename.VisualBasic - Public Sub RenameMoveNextCausesConflictInForEach(host As TestHost) + Public Sub RenameMoveNextCausesConflictInForEach(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -54,7 +54,7 @@ End Class - Public Sub RenameMoveNextToChangeCasingDoesntCauseConflictInForEach(host As TestHost) + Public Sub RenameMoveNextToChangeCasingDoesntCauseConflictInForEach(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -90,7 +90,7 @@ End Class - Public Sub RenameMoveNextToChangeCasingInCSDoesntCauseConflictInForEach(host As TestHost) + Public Sub RenameMoveNextToChangeCasingInCSDoesntCauseConflictInForEach(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -137,7 +137,7 @@ End Class - Public Sub RenameMoveNextInCSCauseConflictInForEach(host As TestHost) + Public Sub RenameMoveNextInCSCauseConflictInForEach(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, diff --git a/src/EditorFeatures/Test2/Rename/VisualBasic/InvalidIdentifierTests.vb b/src/EditorFeatures/Test2/Rename/VisualBasic/InvalidIdentifierTests.vb index 462fd428154dc..5bf2c87887b48 100644 --- a/src/EditorFeatures/Test2/Rename/VisualBasic/InvalidIdentifierTests.vb +++ b/src/EditorFeatures/Test2/Rename/VisualBasic/InvalidIdentifierTests.vb @@ -16,7 +16,7 @@ Namespace Microsoft.CodeAnalysis.Editor.UnitTests.Rename.VisualBasic - Public Sub RenamingToInvalidIdentifier(host As TestHost) + Public Sub RenamingToInvalidIdentifier(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -35,7 +35,7 @@ End Class - Public Sub RenamingToInvalidIdentifier2(host As TestHost) + Public Sub RenamingToInvalidIdentifier2(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -54,7 +54,7 @@ End Class - Public Sub RenamingToUnderscoreAttribute(host As TestHost) + Public Sub RenamingToUnderscoreAttribute(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, diff --git a/src/EditorFeatures/Test2/Rename/VisualBasic/QualificationTests.vb b/src/EditorFeatures/Test2/Rename/VisualBasic/QualificationTests.vb index 6f5b2777703c2..1c664d0e32949 100644 --- a/src/EditorFeatures/Test2/Rename/VisualBasic/QualificationTests.vb +++ b/src/EditorFeatures/Test2/Rename/VisualBasic/QualificationTests.vb @@ -17,7 +17,7 @@ Namespace Microsoft.CodeAnalysis.Editor.UnitTests.Rename.VisualBasic - Public Sub QualifyBackingField(host As TestHost) + Public Sub QualifyBackingField(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, @@ -43,7 +43,7 @@ End Class - Public Sub ConflictingLocalWithFieldWithExtensionMethodInvolved(host As TestHost) + Public Sub ConflictingLocalWithFieldWithExtensionMethodInvolved(host As RenameTestHost) Using result = RenameEngineResult.Create(_outputHelper, diff --git a/src/Features/Core/Portable/MetadataAsSource/MetadataAsSourceWorkspace.cs b/src/Features/Core/Portable/MetadataAsSource/MetadataAsSourceWorkspace.cs index 92db103c2339e..dce4b643bce97 100644 --- a/src/Features/Core/Portable/MetadataAsSource/MetadataAsSourceWorkspace.cs +++ b/src/Features/Core/Portable/MetadataAsSource/MetadataAsSourceWorkspace.cs @@ -13,7 +13,7 @@ internal class MetadataAsSourceWorkspace : Workspace public readonly MetadataAsSourceFileService FileService; public MetadataAsSourceWorkspace(MetadataAsSourceFileService fileService, HostServices hostServices) - : base(hostServices, "MetadataAsSource") + : base(hostServices, WorkspaceKind.MetadataAsSource) { this.FileService = fileService; }