1514 references to TestHost
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (1102)
Classification\AbstractCSharpClassifierTests.cs (4)
17
string code, ParseOptions? options,
TestHost
testHost)
25
TestHost
testHost,
33
TestHost
testHost,
40
protected override async Task DefaultTestAsync(string code, string allCode,
TestHost
testHost, FormattedClassification[] expected)
Classification\SemanticClassifierTests.cs (190)
32
string code, ImmutableArray<TextSpan> spans, ParseOptions? options,
TestHost
testHost)
41
public Task GenericClassDeclaration(
TestHost
testHost)
50
public Task RefVar(
TestHost
testHost)
57
public Task UsingAlias1(
TestHost
testHost)
67
public Task DynamicAsTypeArgument(
TestHost
testHost)
76
public async Task UsingTypeAliases(
TestHost
testHost)
95
public Task DynamicTypeAlias(
TestHost
testHost)
113
public Task DynamicAsDelegateName(
TestHost
testHost)
130
public Task DynamicAsInterfaceName(
TestHost
testHost)
146
public Task DynamicAsEnumName(
TestHost
testHost)
162
public Task DynamicAsClassName(
TestHost
testHost)
179
public Task DynamicAsRecordName(
TestHost
testHost)
195
public Task DynamicAsClassNameAndLocalVariableName(
TestHost
testHost)
210
public Task DynamicAsStructName(
TestHost
testHost)
226
public Task DynamicAsGenericClassName(
TestHost
testHost)
242
public Task DynamicAsGenericClassNameButOtherArity(
TestHost
testHost)
258
public Task DynamicAsUndefinedGenericType(
TestHost
testHost)
274
public Task DynamicAsExternAlias(
TestHost
testHost)
288
public Task GenericClassNameButOtherArity(
TestHost
testHost)
303
public Task GenericTypeParameter(
TestHost
testHost)
317
public Task GenericMethodTypeParameter(
TestHost
testHost)
334
public Task GenericMethodTypeParameterInLocalVariableDeclaration(
TestHost
testHost)
349
public Task ParameterOfLambda1(
TestHost
testHost)
365
public Task ParameterOfAnonymousMethod(
TestHost
testHost)
381
public Task GenericTypeParameterAfterWhere(
TestHost
testHost)
393
public Task BaseClass(
TestHost
testHost)
408
public Task BaseInterfaceOnInterface(
TestHost
testHost)
423
public Task BaseInterfaceOnClass(
TestHost
testHost)
438
public Task InterfaceColorColor(
TestHost
testHost)
455
public Task DelegateColorColor(
TestHost
testHost)
469
public Task DelegateReturnsItself(
TestHost
testHost)
485
public Task StructColorColor(
TestHost
testHost)
497
public Task EnumColorColor(
TestHost
testHost)
515
public Task DynamicAsGenericTypeParameter(
TestHost
testHost)
527
public Task DynamicAsGenericFieldName(
TestHost
testHost)
539
public Task PropertySameNameAsClass(
TestHost
testHost)
564
public Task AttributeWithoutAttributeSuffix(
TestHost
testHost)
580
public Task AttributeOnNonExistingMember(
TestHost
testHost)
595
public Task AttributeWithoutAttributeSuffixOnAssembly(
TestHost
testHost)
612
public Task AttributeViaNestedClassOrDerivedClass(
TestHost
testHost)
640
public Task NamedAndOptional(
TestHost
testHost)
661
public Task PartiallyWrittenGenericName1(
TestHost
testHost)
670
public Task PartiallyWrittenGenericName2(
TestHost
testHost)
683
public Task ColorColor(
TestHost
testHost)
695
public Task ColorColor2(
TestHost
testHost)
715
public Task ColorColor3(
TestHost
testHost)
741
public Task ColorColor4(
TestHost
testHost)
764
public Task ColorColor5(
TestHost
testHost)
787
public Task ColorColor6(
TestHost
testHost)
811
public Task ColorColor7(
TestHost
testHost)
833
public Task ColorColor8(
TestHost
testHost)
857
public Task ColorColor9(
TestHost
testHost)
877
public Task ColorColor10(
TestHost
testHost)
896
public Task ColorColor11(
TestHost
testHost)
914
public Task ColorColor12(
TestHost
testHost)
933
public Task ColorColor13(
TestHost
testHost)
952
public Task ColorColor14(
TestHost
testHost)
971
public Task NamespaceNameSameAsTypeName1(
TestHost
testHost)
991
public Task NamespaceNameSameAsTypeNameWithGlobal(
TestHost
testHost)
1013
public Task AmbiguityTypeAsGenericMethodArgumentVsLocal(
TestHost
testHost)
1031
public Task AmbiguityTypeAsGenericArgumentVsLocal(
TestHost
testHost)
1055
public Task AmbiguityTypeAsGenericArgumentVsField(
TestHost
testHost)
1083
public Task GrammarAmbiguity_7_5_4_2(
TestHost
testHost)
1120
public Task AnonymousTypePropertyName(
TestHost
testHost)
1137
public Task YieldAsATypeName(
TestHost
testHost)
1162
public Task TypeNameDottedNames(
TestHost
testHost)
1179
public Task BindingTypeNameFromBCLViaGlobalAlias(
TestHost
testHost)
1195
public async Task BindingTypeNames(
TestHost
testHost)
1233
public Task Constructors(
TestHost
testHost)
1264
public Task TypesOfClassMembers(
TestHost
testHost)
1329
public Task NAQTypeNameCtor(
TestHost
testHost)
1341
public Task NAQEnum(
TestHost
testHost)
1358
public Task NAQDelegate(
TestHost
testHost)
1374
public Task NAQTypeNameMethodCall(
TestHost
testHost)
1382
public Task NAQEventSubscription(
TestHost
testHost)
1398
public Task AnonymousDelegateParameterType(
TestHost
testHost)
1419
public Task NAQCtor(
TestHost
testHost)
1431
public Task NAQSameFileClass(
TestHost
testHost)
1440
public Task InteractiveNAQSameFileClass(
TestHost
testHost)
1450
public Task NAQSameFileClassWithNamespace(
TestHost
testHost)
1476
public Task NAQSameFileClassWithNamespaceAndEscapedKeyword(
TestHost
testHost)
1502
public Task NAQGlobalWarning(
TestHost
testHost)
1528
public Task NAQUserDefinedNAQNamespace(
TestHost
testHost)
1554
public Task NAQUserDefinedNAQNamespaceDoubleColon(
TestHost
testHost)
1580
public Task NAQUserDefinedNamespace1(
TestHost
testHost)
1609
public Task NAQUserDefinedNamespaceWithGlobal(
TestHost
testHost)
1638
public Task NAQUserDefinedNAQForClass(
TestHost
testHost)
1659
public Task NAQUserDefinedTypes(
TestHost
testHost)
1747
public Task PreferPropertyOverNestedClass(
TestHost
testHost)
1774
public Task TypeNameInsideNestedClass(
TestHost
testHost)
1803
public Task StructEnumTypeNames(
TestHost
testHost)
1831
public Task PreferFieldOverClassWithSameName(
TestHost
testHost)
1847
public Task AttributeBinding(
TestHost
testHost)
1894
public Task ShouldNotClassifyNamespacesAsTypes(
TestHost
testHost)
1910
public Task NestedTypeCantHaveSameNameAsParentType(
TestHost
testHost)
1931
public Task NestedTypeCantHaveSameNameAsParentTypeWithGlobalNamespaceAlias(
TestHost
testHost)
1947
public Task InteractiveNestedTypeCantHaveSameNameAsParentTypeWithGlobalNamespaceAlias(
TestHost
testHost)
1964
public Task EnumFieldWithSameNameShouldBePreferredToType(
TestHost
testHost)
1977
public Task TestGenericVarClassification(
TestHost
testHost)
2000
public Task TestInaccessibleVarClassification(
TestHost
testHost)
2027
public Task TestVarNamedTypeClassification(
TestHost
testHost)
2043
public Task RegressionFor9513(
TestHost
testHost)
2081
public Task RegressionFor9572(
TestHost
testHost)
2104
public Task RegressionFor9831(
TestHost
testHost)
2126
public Task TestVar(
TestHost
testHost)
2157
public Task TestVar2(
TestHost
testHost)
2176
public Task TestDuplicateTypeParamWithConstraint(
TestHost
testHost)
2196
public Task OptimisticallyColorFromInDeclaration(
TestHost
testHost)
2203
public Task OptimisticallyColorFromInAssignment(
TestHost
testHost)
2217
public async Task DoNotColorThingsOtherThanFromInDeclaration(
TestHost
testHost)
2222
public Task DoNotColorThingsOtherThanFromInAssignment(
TestHost
testHost)
2235
public Task DoNotColorFromWhenBoundInDeclaration(
TestHost
testHost)
2248
public Task DoNotColorFromWhenBoundInAssignment(
TestHost
testHost)
2264
public Task NewOfClassWithOnlyPrivateConstructor(
TestHost
testHost)
2287
public Task TestNullableVersusConditionalAmbiguity1(
TestHost
testHost)
2307
public Task TestPointerVersusMultiplyAmbiguity1(
TestHost
testHost)
2327
public Task EnumTypeAssignedToNamedPropertyOfSameNameInAttributeCtor(
TestHost
testHost)
2350
public Task OnlyClassifyGenericNameOnce(
TestHost
testHost)
2366
public Task NameOf1(
TestHost
testHost)
2382
public Task NameOf2(
TestHost
testHost)
2399
public Task NameOfLocalMethod(
TestHost
testHost)
2428
public Task MethodCalledNameOfInScope(
TestHost
testHost)
2449
public Task Tuples(
TestHost
testHost)
2462
public Task DevDiv261049RegressionTest(
TestHost
testHost)
2473
public Task InXmlDocCref_WhenTypeOnlyIsSpecified_ItIsClassified(
TestHost
testHost)
2491
public Task InXmlDocCref_WhenConstructorOnlyIsSpecified_NothingIsClassified(
TestHost
testHost)
2508
public Task InXmlDocCref_WhenTypeAndConstructorSpecified_OnlyTypeIsClassified(
TestHost
testHost)
2527
public Task TestMemberBindingThatLooksGeneric(
TestHost
testHost)
2560
public Task TestAliasQualifiedClass(
TestHost
testHost)
2589
public Task TestUnmanagedConstraint_InsideMethod(
TestHost
testHost)
2599
public Task TestUnmanagedConstraint_Type_Keyword(
TestHost
testHost)
2607
public Task TestUnmanagedConstraint_Type_ExistingInterface(
TestHost
testHost)
2617
public Task TestUnmanagedConstraint_Type_ExistingInterfaceButOutOfScope(
TestHost
testHost)
2631
public Task TestUnmanagedConstraint_Method_Keyword(
TestHost
testHost)
2643
public Task TestUnmanagedConstraint_Method_ExistingInterface(
TestHost
testHost)
2656
public Task TestUnmanagedConstraint_Method_ExistingInterfaceButOutOfScope(
TestHost
testHost)
2673
public Task TestUnmanagedConstraint_Delegate_Keyword(
TestHost
testHost)
2681
public Task TestUnmanagedConstraint_Delegate_ExistingInterface(
TestHost
testHost)
2691
public Task TestUnmanagedConstraint_Delegate_ExistingInterfaceButOutOfScope(
TestHost
testHost)
2705
public Task TestUnmanagedConstraint_LocalFunction_Keyword(
TestHost
testHost)
2720
public Task TestUnmanagedConstraint_LocalFunction_ExistingInterface(
TestHost
testHost)
2736
public Task TestUnmanagedConstraint_LocalFunction_ExistingInterfaceButOutOfScope(
TestHost
testHost)
2757
public async Task TestDirectiveStringLiteral(
TestHost
testHost)
2764
public Task TestFormatSpecifierInInterpolation(
TestHost
testHost)
2773
public Task TestOverloadedOperator_BinaryExpression(
TestHost
testHost)
2804
public Task TestOverloadedOperator_PrefixUnaryExpression(
TestHost
testHost)
2831
public Task TestOverloadedOperator_PostfixUnaryExpression(
TestHost
testHost)
2864
public Task TestOverloadedOperator_ConditionalExpression(
TestHost
testHost)
2892
public Task TestCatchDeclarationVariable(
TestHost
testHost)
2906
public Task TestNotNullConstraint_InsideMethod(
TestHost
testHost)
2916
public Task TestNotNullConstraint_Type_Keyword(
TestHost
testHost)
2924
public Task TestNotNullConstraint_Type_ExistingInterface(
TestHost
testHost)
2934
public Task TestNotNullConstraint_Type_ExistingInterfaceButOutOfScope(
TestHost
testHost)
2948
public Task TestNotNullConstraint_Method_Keyword(
TestHost
testHost)
2960
public Task TestNotNullConstraint_Method_ExistingInterface(
TestHost
testHost)
2973
public Task TestNotNullConstraint_Method_ExistingInterfaceButOutOfScope(
TestHost
testHost)
2990
public Task TestNotNullConstraint_Delegate_Keyword(
TestHost
testHost)
2998
public Task TestNotNullConstraint_Delegate_ExistingInterface(
TestHost
testHost)
3008
public Task TestNotNullConstraint_Delegate_ExistingInterfaceButOutOfScope(
TestHost
testHost)
3022
public Task TestNotNullConstraint_LocalFunction_Keyword(
TestHost
testHost)
3037
public Task TestNotNullConstraint_LocalFunction_ExistingInterface(
TestHost
testHost)
3053
public Task TestNotNullConstraint_LocalFunction_ExistingInterfaceButOutOfScope(
TestHost
testHost)
3073
public Task NonDiscardVariableDeclaration(
TestHost
testHost)
3089
public Task NonDiscardVariableDeclarationMultipleDeclarators(
TestHost
testHost)
3102
public Task DiscardAssignment(
TestHost
testHost)
3118
public Task DiscardInOutDeclaration(
TestHost
testHost)
3135
public Task DiscardInOutAssignment(
TestHost
testHost)
3151
public Task DiscardInDeconstructionAssignment(
TestHost
testHost)
3165
public Task DiscardInDeconstructionDeclaration(
TestHost
testHost)
3179
public Task DiscardInPatternMatch(
TestHost
testHost)
3194
public Task DiscardInSwitch(
TestHost
testHost)
3215
public Task DiscardInSwitchPatternMatch(
TestHost
testHost)
3233
public Task UnusedUnderscoreParameterInLambda(
TestHost
testHost)
3248
public Task UsedUnderscoreParameterInLambda(
TestHost
testHost)
3264
public Task DiscardsInLambda(
TestHost
testHost)
3281
public Task DiscardsInLambdaWithInferredType(
TestHost
testHost)
3298
public Task NativeInteger(
TestHost
testHost)
3305
public Task NotNativeInteger(
TestHost
testHost)
3314
public Task NotNativeUnsignedInteger(
TestHost
testHost)
3323
public Task StaticBoldingMethodName(
TestHost
testHost)
3341
public Task StaticBoldingMethodNameNestedInNameof(
TestHost
testHost)
3359
public Task BoldingMethodNameStaticAndNot(
TestHost
testHost)
3387
public Task BasicRecordClassification(
TestHost
testHost)
3402
public Task ParameterizedRecordClassification(
TestHost
testHost)
3416
public Task BasicRecordClassClassification(
TestHost
testHost)
3430
public Task BasicRecordStructClassification(
TestHost
testHost)
3442
public Task BasicFileScopedNamespaceClassification(
TestHost
testHost)
3453
public Task NullCheckedParameterClassification(
TestHost
testHost)
3465
public Task MethodGroupClassifications(
TestHost
testHost)
3490
public Task LocalFunctionUse(
TestHost
testHost)
Classification\SemanticClassifierTests_Json.cs (16)
18
public Task TestJson1(
TestHost
testHost)
63
public Task TestJson_RawString(
TestHost
testHost)
88
public Task TestMultiLineJson1(
TestHost
testHost)
147
public Task TestJson_NoComment_NotLikelyJson(
TestHost
testHost)
161
public Task TestJson_NoComment_LikelyJson(
TestHost
testHost)
186
public Task TestJsonOnApiWithStringSyntaxAttribute_Field(
TestHost
testHost)
212
public Task TestJsonOnApiWithStringSyntaxAttribute_Field_FromLocal(
TestHost
testHost)
240
public Task TestJsonOnApiWithStringSyntaxAttribute_OtherLanguage_Field(
TestHost
testHost)
259
public Task TestJsonOnApiWithStringSyntaxAttribute_Property(
TestHost
testHost)
285
public Task TestJsonOnApiWithStringSyntaxAttribute_Argument(
TestHost
testHost)
313
public Task TestJsonOnApiWithStringSyntaxAttribute_Argument_FromLocal(
TestHost
testHost)
343
public Task TestJsonOnApiWithStringSyntaxAttribute_PropertyInitializer(
TestHost
testHost)
374
public Task TestJsonOnApiWithStringSyntaxAttribute_PropertyInitializer_FromLocal(
TestHost
testHost)
406
public Task TestJsonOnApiWithStringSyntaxAttribute_WithExpression(
TestHost
testHost)
438
public Task TestJsonOnApiWithStringSyntaxAttribute_WithExpression_FromLocal(
TestHost
testHost)
471
public Task TestJsonOnApiWithStringSyntaxAttribute_WithExpression_FromLocal2(
TestHost
testHost)
Classification\SemanticClassifierTests_Regex.cs (45)
17
public Task TestRegex1(
TestHost
testHost)
98
public Task TestRegex2(
TestHost
testHost)
179
public Task TestRegex3(
TestHost
testHost)
260
public Task TestRegex4(
TestHost
testHost)
283
public Task TestRegex4_utf8_1(
TestHost
testHost)
306
public Task TestRegex4_utf8_2(
TestHost
testHost)
329
public Task TestRegex5(
TestHost
testHost)
352
public Task TestRegex6(
TestHost
testHost)
376
public Task TestRegex7(
TestHost
testHost)
400
public Task TestRegex8(
TestHost
testHost)
424
public Task TestRegex9(
TestHost
testHost)
451
public Task TestRegex10(
TestHost
testHost)
476
public Task TestRegex10_utf8(
TestHost
testHost)
501
public Task TestRegex11(
TestHost
testHost)
527
public Task TestRegexSingleLineRawStringLiteral(
TestHost
testHost)
550
public Task TestRegexSingleLineRawStringLiteral_utf8(
TestHost
testHost)
573
public Task TestRegexMultiLineRawStringLiteral(
TestHost
testHost)
598
public Task TestRegexMultiLineRawStringLiteral_utf8(
TestHost
testHost)
624
public Task TestRegexWithSpecialCSharpCharLiterals(
TestHost
testHost)
647
public Task TestRegexWithSpecialCSharpCharLiterals_utf8(
TestHost
testHost)
667
public Task TestRegexOnApiWithStringSyntaxAttribute_Field(
TestHost
testHost)
692
public Task TestRegexOnApiWithStringSyntaxAttribute_Field2(
TestHost
testHost)
711
public Task TestRegexOnApiWithStringSyntaxAttribute_Property(
TestHost
testHost)
736
public Task TestRegexOnApiWithStringSyntaxAttribute_Property2(
TestHost
testHost)
755
public Task TestRegexOnApiWithStringSyntaxAttribute_Argument(
TestHost
testHost)
781
public Task TestRegexOnApiWithStringSyntaxAttribute_ParamsArgument(
TestHost
testHost)
808
public Task TestRegexOnApiWithStringSyntaxAttribute_ParamsArgument2(
TestHost
testHost)
838
public Task TestRegexOnApiWithStringSyntaxAttribute_ArrayArgument(
TestHost
testHost)
864
public Task TestRegexOnApiWithStringSyntaxAttribute_ImplicitArrayArgument(
TestHost
testHost)
890
public Task TestRegexOnApiWithStringSyntaxAttribute_CollectionArgument(
TestHost
testHost)
918
public Task TestRegexOnApiWithStringSyntaxAttribute_ImplicitCollectionArgument(
TestHost
testHost)
945
public Task TestRegexOnApiWithStringSyntaxAttribute_Argument_Options(
TestHost
testHost)
974
public Task TestRegexOnApiWithStringSyntaxAttribute_Attribute(
TestHost
testHost)
1002
public Task TestRegexOnApiWithStringSyntaxAttribute_AttributeField(
TestHost
testHost)
1034
public Task TestRegexOnApiWithStringSyntaxAttribute_AttributeProperty(
TestHost
testHost)
1065
public Task TestRegexOnApiWithStringSyntaxAttribute_ParamsAttribute(
TestHost
testHost)
1092
public Task TestRegexOnApiWithStringSyntaxAttribute_ArrayAttribute(
TestHost
testHost)
1119
public Task TestRegexOnApiWithStringSyntaxAttribute_ImplicitArrayAttribute(
TestHost
testHost)
1146
public Task TestIncompleteRegexLeadingToStringInsideSkippedTokensInsideADirective(
TestHost
testHost)
1175
public Task TestRegexAmbiguity1(
TestHost
testHost)
1194
public Task TestRegexAmbiguity2(
TestHost
testHost)
1212
public Task TestRegexNotOnBinaryExpression(
TestHost
testHost)
1235
TestHost
testHost,
1271
TestHost
testHost,
1296
public Task TestRegexOnApiWithStringSyntaxAttribute_ParamsReadOnlyCollectionArgument(
TestHost
testHost)
Classification\SemanticClassifierTests_StringEscapes.cs (38)
16
public Task TestStringEscape1(
TestHost
testHost)
24
public Task TestStringEscape1_utf8(
TestHost
testHost)
32
public Task TestStringEscape2(
TestHost
testHost)
38
public Task TestStringEscape2_utf8(
TestHost
testHost)
44
public Task TestStringEscape3(
TestHost
testHost)
52
public Task TestStringEscape3_utf8(
TestHost
testHost)
60
public Task TestStringEscape4(
TestHost
testHost)
68
public Task TestStringEscape4_utf8(
TestHost
testHost)
76
public Task TestStringEscape5(
TestHost
testHost)
86
public Task TestStringEscape5_utf8(
TestHost
testHost)
96
public Task TestStringEscape6(
TestHost
testHost)
104
public Task TestStringEscape6_utf8(
TestHost
testHost)
112
public Task TestStringEscape7(
TestHost
testHost)
120
public Task TestStringEscape7_utf8(
TestHost
testHost)
128
public Task TestStringEscape8(
TestHost
testHost)
136
public Task TestStringEscape8_utf8(
TestHost
testHost)
144
public Task TestStringEscape9(
TestHost
testHost)
152
public Task TestStringEscape9_utf8(
TestHost
testHost)
160
public Task TestNotStringEscapeInRawLiteral1(
TestHost
testHost)
166
public Task TestNotStringEscapeInRawLiteral1_utf8(
TestHost
testHost)
172
public Task TestNotStringEscapeInRawLiteral2(
TestHost
testHost)
182
public Task TestNotStringEscapeInRawLiteral2_utf8(
TestHost
testHost)
192
public Task TestNotStringEscapeInRawLiteral3(
TestHost
testHost)
202
public Task TestNotStringEscapeInRawLiteral3_utf8(
TestHost
testHost)
212
public Task TestNotStringEscapeInRawLiteral4(
TestHost
testHost)
218
public Task TestNotStringEscapeInRawLiteral4_utf8(
TestHost
testHost)
224
public Task TestNotStringEscapeInRawLiteral5(
TestHost
testHost)
234
public Task TestNotStringEscapeInRawLiteral5_utf8(
TestHost
testHost)
244
public Task TestNotStringEscapeInRawLiteral6(
TestHost
testHost)
254
public Task TestNotStringEscapeInRawLiteral6_utf8(
TestHost
testHost)
265
public Task TestCharEscape1(
TestHost
testHost)
273
public Task TestCharEscape2(
TestHost
testHost)
281
public Task TestCharEscape3(
TestHost
testHost)
289
public Task TestCharEscape5(
TestHost
testHost)
296
public Task TestCharEscape4(
TestHost
testHost)
303
public Task TestEscapeFourBytesCharacter(
TestHost
testHost)
316
public Task TestEscapeCharacter(
TestHost
testHost)
359
public Task TestEscapeCharacter2(
TestHost
testHost)
Classification\SemanticClassifierTests_TestMarkup.cs (19)
35
TestHost
testHost,
58
TestHost
testHost,
79
TestHost
testHost,
110
public async Task TestEmbeddedCSharpMarkup1WithMultipleSpansAsync(
TestHost
testHost)
158
public Task TestEmbeddedCSharpMarkup1(
TestHost
testHost)
172
public Task TestEmbeddedCSharpCaret1(
TestHost
testHost)
189
public Task TestEmbeddedCSharpCaret2(
TestHost
testHost)
205
public Task TestEmbeddedCSharpSpan1(
TestHost
testHost)
229
public Task TestEmbeddedCSharpSpan2(
TestHost
testHost)
253
public Task TestEmbeddedCSharpSpan3(
TestHost
testHost)
276
public Task TestEmbeddedCSharpSpan4(
TestHost
testHost)
299
public Task TestEmbeddedCSharpSpan5(
TestHost
testHost)
322
public Task TestEmbeddedCSharpSpan6(
TestHost
testHost)
345
public Task TestEmbeddedCSharpSpan7(
TestHost
testHost)
372
public Task TestEmbeddedCSharpSpan8(
TestHost
testHost)
400
public Task TestEmbeddedCSharpString1(
TestHost
testHost)
429
public Task TestEmbeddedCSharpString2(
TestHost
testHost)
460
public Task TestOnlyMarkup1(
TestHost
testHost)
469
public Task TestOnlyMarkup2(
TestHost
testHost)
Classification\SyntacticClassifierTests.cs (233)
22
protected override async Task<ImmutableArray<ClassifiedSpan>> GetClassificationSpansAsync(string code, ImmutableArray<TextSpan> spans, ParseOptions? options,
TestHost
testHost)
31
public Task VarAtTypeMemberLevel(
TestHost
testHost)
47
public Task TestNamespace(
TestHost
testHost)
61
public Task TestFileScopedNamespace(
TestHost
testHost)
73
public Task VarAsLocalVariableType(
TestHost
testHost)
82
public Task VarOptimisticallyColored(
TestHost
testHost)
88
public Task VarNotColoredInClass(
TestHost
testHost)
94
public Task VarInsideLocalAndExpressions(
TestHost
testHost)
110
public Task VarAsMethodParameter(
TestHost
testHost)
135
public Task YieldYield(
TestHost
testHost)
184
public Task YieldYieldAsSpans(
TestHost
testHost)
213
public Task YieldReturn(
TestHost
testHost)
221
public Task YieldFixed(
TestHost
testHost)
253
public Task TestAwait(
TestHost
testHost)
292
public Task PartialClass(
TestHost
testHost)
301
public Task PartialMethod(
TestHost
testHost)
323
public Task PartialAsLocalVariableType(
TestHost
testHost)
334
public Task PartialClassStructInterface(
TestHost
testHost)
372
public async Task ContextualKeywordsOnlyValidInMethods(
TestHost
testHost)
384
public Task VerbatimStringLiterals1(
TestHost
testHost)
394
public Task VerbatimStringLiteralsUtf8_01(
TestHost
testHost)
403
public Task VerbatimStringLiteralsUtf8_02(
TestHost
testHost)
415
public Task VerbatimStringLiterals2(
TestHost
testHost)
428
public Task VerbatimStringLiterals3(
TestHost
testHost)
442
public Task VerbatimStringLiterals4(
TestHost
testHost)
458
public Task VerbatimStringLiterals5(
TestHost
testHost)
477
public Task VerbatimStringLiteralsUtf8_03(
TestHost
testHost)
497
public Task VerbatimStringLiteralsUtf8_04(
TestHost
testHost)
518
public async Task VerbatimStringLiterals6(bool script,
TestHost
testHost)
539
public async Task VerbatimStringLiteralsUtf8_05(bool script,
TestHost
testHost)
561
public async Task VerbatimStringLiteralsUtf8_06(bool script,
TestHost
testHost)
583
public Task StringLiteral1(
TestHost
testHost)
593
public Task StringLiteralUtf8_01(
TestHost
testHost)
604
public Task StringLiteralUtf8_02(
TestHost
testHost)
615
public Task StringLiteral2(
TestHost
testHost)
625
public Task StringLiteralUtf8_03(
TestHost
testHost)
636
public Task StringLiteralUtf8_04(
TestHost
testHost)
647
public Task CharacterLiteral1(
TestHost
testHost)
653
public Task LinqFrom1(
TestHost
testHost)
662
public Task LinqFrom2(
TestHost
testHost)
675
public Task LinqFrom3(
TestHost
testHost)
683
public Task LinqFrom4(
TestHost
testHost)
691
public Task LinqWhere1(
TestHost
testHost)
704
public Task LinqWhere2(
TestHost
testHost)
722
public async Task VarContextualKeywordAtNamespaceLevel(bool script,
TestHost
testHost)
741
public async Task LinqKeywordsAtNamespaceLevel(bool script,
TestHost
testHost)
800
public Task ContextualKeywordsAsFieldName(
TestHost
testHost)
836
public Task LinqKeywordsInFieldInitializer(
TestHost
testHost)
893
public Task LinqKeywordsAsTypeName(
TestHost
testHost)
1008
public Task LinqKeywordsAsMethodParameters(
TestHost
testHost)
1072
public Task LinqKeywordsInLocalVariableDeclarations(
TestHost
testHost)
1227
public Task LinqKeywordsAsFieldNames(
TestHost
testHost)
1271
public Task LinqKeywordsAtFieldLevelInvalid(
TestHost
testHost)
1324
public Task CommentSingle(
TestHost
testHost)
1330
public Task CommentAsTrailingTrivia1(
TestHost
testHost)
1339
public Task CommentAsLeadingTrivia1(
TestHost
testHost)
1361
public async Task ShebangAsFirstCommentInScript(
TestHost
testHost)
1385
public async Task ShebangAsFirstCommentInNonScript(
TestHost
testHost)
1409
public async Task ShebangNotAsFirstCommentInScript(
TestHost
testHost)
1433
public Task IgnoredDirective_01(
TestHost
testHost)
1451
public Task IgnoredDirective_02(
TestHost
testHost)
1469
public Task IgnoredDirective_03(
TestHost
testHost)
1486
public Task IgnoredDirective_04(
TestHost
testHost)
1504
public Task CommentAsMethodBodyContent(
TestHost
testHost)
1527
public Task CommentMix1(
TestHost
testHost)
1545
public Task CommentMix2(
TestHost
testHost)
1558
public Task XmlDocCommentOnClass(
TestHost
testHost)
1580
public Task XmlDocCommentOnClassWithIndent(
TestHost
testHost)
1607
public Task XmlDocComment_EntityReference(
TestHost
testHost)
1629
public Task XmlDocComment_ExteriorTriviaInsideCloseTag(
TestHost
testHost)
1653
[InlineData(
TestHost
.InProcess, "true", false)]
1654
[InlineData(
TestHost
.OutOfProcess, "true", false)]
1655
[InlineData(
TestHost
.InProcess, "return", true)]
1656
[InlineData(
TestHost
.OutOfProcess, "return", true)]
1657
[InlineData(
TestHost
.InProcess, "with", false)]
1658
[InlineData(
TestHost
.OutOfProcess, "with", false)]
1659
public Task XmlDocComment_LangWordAttribute_Keywords(
TestHost
testHost, string langword, bool isControlKeyword)
1700
public Task XmlDocComment_LangWordAttribute_NonKeyword(
TestHost
testHost)
1741
public Task XmlDocComment_ExteriorTriviaInsideCRef(
TestHost
testHost)
1774
public Task XmlDocCommentOnClassWithExteriorTrivia(
TestHost
testHost)
1801
public Task XmlDocComment_ExteriorTriviaNoText(
TestHost
testHost)
1825
public Task XmlDocComment_EmptyElement(
TestHost
testHost)
1843
public Task XmlDocComment_Attribute(
TestHost
testHost)
1874
public Task XmlDocComment_AttributeInEmptyElement(
TestHost
testHost)
1901
public Task XmlDocComment_ExtraSpaces(
TestHost
testHost)
1928
public Task XmlDocComment_XmlComment(
TestHost
testHost)
1945
public Task XmlDocComment_XmlCommentWithExteriorTrivia(
TestHost
testHost)
1965
public Task XmlDocComment_XmlCommentInElement(
TestHost
testHost)
1989
public Task XmlDocComment_MalformedXmlDocComment(
TestHost
testHost)
2021
public Task MultilineXmlDocComment_ExteriorTrivia(
TestHost
testHost)
2046
public Task XmlDocComment_CDataWithExteriorTrivia(
TestHost
testHost)
2066
public Task XmlDocComment_ProcessingDirective(
TestHost
testHost)
2108
public Task KeywordTypeParameters(
TestHost
testHost)
2121
public Task TypeParametersWithAttribute(
TestHost
testHost)
2136
public Task ClassTypeDeclaration1(
TestHost
testHost)
2145
public Task ClassTypeDeclaration2(
TestHost
testHost)
2154
public Task StructTypeDeclaration1(
TestHost
testHost)
2163
public Task InterfaceDeclaration1(
TestHost
testHost)
2172
public Task EnumDeclaration1(
TestHost
testHost)
2182
public Task ClassInEnum(
TestHost
testHost)
2198
public Task DelegateDeclaration1(
TestHost
testHost)
2209
public Task GenericTypeArgument(
TestHost
testHost)
2221
public Task GenericParameter(
TestHost
testHost)
2233
public Task GenericParameters(
TestHost
testHost)
2247
public Task GenericParameter_Interface(
TestHost
testHost)
2259
public Task GenericParameter_Struct(
TestHost
testHost)
2271
public Task GenericParameter_Delegate(
TestHost
testHost)
2284
public Task GenericParameter_Method(
TestHost
testHost)
2312
public Task TernaryExpression(
TestHost
testHost)
2322
public Task BaseClass(
TestHost
testHost)
2338
public Task TestLabel(
TestHost
testHost)
2345
public Task Attribute(
TestHost
testHost)
2356
public Task TestAngleBracketsOnGenericConstraints_Bug932262(
TestHost
testHost)
2380
public Task TestYieldPositive(
TestHost
testHost)
2390
public Task TestYieldNegative(
TestHost
testHost)
2399
public Task TestFromPositive(
TestHost
testHost)
2409
public Task TestFromNegative(
TestHost
testHost)
2418
public Task AttributeTargetSpecifiersModule(
TestHost
testHost)
2429
public Task AttributeTargetSpecifiersAssembly(
TestHost
testHost)
2440
public Task AttributeTargetSpecifiersOnDelegate(
TestHost
testHost)
2466
public Task AttributeTargetSpecifiersOnMethod(
TestHost
testHost)
2494
public Task AttributeTargetSpecifiersOnCtor(
TestHost
testHost)
2522
public Task AttributeTargetSpecifiersOnDtor(
TestHost
testHost)
2551
public Task AttributeTargetSpecifiersOnOperator(
TestHost
testHost)
2586
public Task AttributeTargetSpecifiersOnEventDeclaration(
TestHost
testHost)
2644
public Task AttributeTargetSpecifiersOnPropertyAccessors(
TestHost
testHost)
2695
public Task AttributeTargetSpecifiersOnIndexers(
TestHost
testHost)
2721
public Task AttributeTargetSpecifiersOnIndexerAccessors(
TestHost
testHost)
2776
public Task AttributeTargetSpecifiersOnField(
TestHost
testHost)
2797
public Task TestAllKeywords(
TestHost
testHost)
3513
public Task TestAllOperators(
TestHost
testHost)
3845
public Task TestPartialMethodWithNamePartial(
TestHost
testHost)
3908
public Task ValueInSetterAndAnonymousTypePropertyName(
TestHost
testHost)
3947
public Task TestValueInLabel(
TestHost
testHost)
3980
public Task TestGenericVar(
TestHost
testHost)
4030
public Task TestInaccessibleVar(
TestHost
testHost)
4085
public Task TestEscapedVar(
TestHost
testHost)
4121
public Task TestVar(
TestHost
testHost)
4197
public Task TestVar2(
TestHost
testHost)
4236
public Task InterpolatedStrings1(
TestHost
testHost)
4267
public Task InterpolatedStrings2(
TestHost
testHost)
4309
public Task InterpolatedStrings3(
TestHost
testHost)
4351
public Task ExceptionFilter1(
TestHost
testHost)
4375
public Task ExceptionFilter2(
TestHost
testHost)
4404
public Task OutVar(
TestHost
testHost)
4418
public Task ReferenceDirective(
TestHost
testHost)
4431
public Task LoadDirective(
TestHost
testHost)
4444
public Task IncompleteAwaitInNonAsyncContext(
TestHost
testHost)
4465
public Task CompleteAwaitInNonAsyncContext(
TestHost
testHost)
4487
public Task TupleDeclaration(
TestHost
testHost)
4499
public Task TupleDeclarationWithNames(
TestHost
testHost)
4513
public Task TupleLiteral(
TestHost
testHost)
4527
public Task TupleLiteralWithNames(
TestHost
testHost)
4545
public Task TestConflictMarkers1(
TestHost
testHost)
4579
public Task TestConflictMarkers2(
TestHost
testHost)
4619
public Task TestUnmanagedConstraint_InsideMethod(
TestHost
testHost)
4636
public Task TestUnmanagedConstraint_Type_Keyword(
TestHost
testHost)
4653
public Task TestUnmanagedConstraint_Type_ExistingInterface(
TestHost
testHost)
4677
public Task TestUnmanagedConstraint_Type_ExistingInterfaceButOutOfScope(
TestHost
testHost)
4708
public Task TestUnmanagedConstraint_Method_Keyword(
TestHost
testHost)
4736
public Task TestUnmanagedConstraint_Method_ExistingInterface(
TestHost
testHost)
4769
public Task TestUnmanagedConstraint_Method_ExistingInterfaceButOutOfScope(
TestHost
testHost)
4809
public Task TestUnmanagedConstraint_Delegate_Keyword(
TestHost
testHost)
4828
public Task TestUnmanagedConstraint_Delegate_ExistingInterface(
TestHost
testHost)
4854
public Task TestUnmanagedConstraint_Delegate_ExistingInterfaceButOutOfScope(
TestHost
testHost)
4887
public Task TestUnmanagedConstraint_LocalFunction_Keyword(
TestHost
testHost)
4924
public Task TestUnmanagedConstraint_LocalFunction_ExistingInterface(
TestHost
testHost)
4966
public Task TestUnmanagedConstraint_LocalFunction_ExistingInterfaceButOutOfScope(
TestHost
testHost)
5015
public Task TestDeclarationIsPattern(
TestHost
testHost)
5039
public Task TestDeclarationSwitchPattern(
TestHost
testHost)
5068
public Task TestDeclarationExpression(
TestHost
testHost)
5090
public Task TestListPattern(
TestHost
testHost)
5135
public Task TestListPattern2(
TestHost
testHost)
5163
public Task TestVarPattern(
TestHost
testHost)
5179
public Task TestTupleTypeSyntax(
TestHost
testHost)
5201
public Task TestOutParameter(
TestHost
testHost)
5228
public Task TestOutParameter2(
TestHost
testHost)
5258
public Task TestUsingDirective(
TestHost
testHost)
5270
public Task TestUsingAliasDirectiveForIdentifier(
TestHost
testHost)
5282
public Task TestUsingAliasDirectiveForClass(
TestHost
testHost)
5294
public Task TestUsingStaticDirective(
TestHost
testHost)
5306
public Task ForEachVariableStatement(
TestHost
testHost)
5336
public Task CatchDeclarationStatement(
TestHost
testHost)
5355
public Task TestNotNullConstraint_InsideMethod(
TestHost
testHost)
5372
public Task TestNotNullConstraint_Type_Keyword(
TestHost
testHost)
5389
public Task TestNotNullConstraint_Type_ExistingInterface(
TestHost
testHost)
5413
public Task TestNotNullConstraint_Type_ExistingInterfaceButOutOfScope(
TestHost
testHost)
5444
public Task TestNotNullConstraint_Method_Keyword(
TestHost
testHost)
5472
public Task TestNotNullConstraint_Method_ExistingInterface(
TestHost
testHost)
5505
public Task TestNotNullConstraint_Method_ExistingInterfaceButOutOfScope(
TestHost
testHost)
5545
public Task TestNotNullConstraint_Delegate_Keyword(
TestHost
testHost)
5564
public Task TestNotNullConstraint_Delegate_ExistingInterface(
TestHost
testHost)
5590
public Task TestNotNullConstraint_Delegate_ExistingInterfaceButOutOfScope(
TestHost
testHost)
5623
public Task TestNotNullConstraint_LocalFunction_Keyword(
TestHost
testHost)
5660
public Task TestNotNullConstraint_LocalFunction_ExistingInterface(
TestHost
testHost)
5702
public Task TestNotNullConstraint_LocalFunction_ExistingInterfaceButOutOfScope(
TestHost
testHost)
5752
public Task FunctionPointer(
TestHost
testHost)
5785
using var workspace = CreateWorkspace(source, options: null,
TestHost
.InProcess);
5815
using var workspace = CreateWorkspace(source, options: null,
TestHost
.InProcess);
5840
public Task TestStaticLocalFunction(
TestHost
testHost)
5876
public Task TestConstantLocalVariable(
TestHost
testHost)
5910
public Task TestRawStringLiteral(
TestHost
testHost)
5946
public Task TestRawStringLiteralUtf8_01(
TestHost
testHost)
5983
public Task TestRawStringLiteralUtf8_02(
TestHost
testHost)
6020
public Task TestRawStringLiteralMultiline(
TestHost
testHost)
6060
public Task TestRawStringLiteralMultilineUtf8_01(
TestHost
testHost)
6101
public Task TestRawStringLiteralMultilineUtf8_02(
TestHost
testHost)
6142
public Task TestRawStringLiteralInterpolation1(
TestHost
testHost)
6184
public Task TestRawStringLiteralInterpolation2(
TestHost
testHost)
6226
public Task TestRawStringLiteralInterpolation3(
TestHost
testHost)
6270
public Task CheckedUserDefinedOperators_01(
TestHost
testHost)
6292
public Task CheckedUserDefinedOperators_02(
TestHost
testHost)
6317
public Task CheckedUserDefinedOperators_03(
TestHost
testHost)
6339
public Task CheckedUserDefinedOperators_04(
TestHost
testHost)
6363
public Task CheckedUserDefinedOperators_05(
TestHost
testHost)
6390
public Task CheckedUserDefinedOperators_06(
TestHost
testHost)
6414
public Task UnsignedRightShift_01(
TestHost
testHost)
6438
public Task UnsignedRightShift_02(
TestHost
testHost)
6465
public Task InstanceIncrementOperator_01(
TestHost
testHost, [CombinatorialValues("++", "--")] string op)
6483
public Task InstanceIncrementOperator_02(
TestHost
testHost, [CombinatorialValues("++", "--")] string op)
6504
public Task InstanceCompoundAssignmentOperator_01(
TestHost
testHost, [CombinatorialValues("+=", "-=", "*=", "/=", "%=", "&=", "|=", "^=", "<<=", ">>=", ">>>=")] string op)
6544
public Task InstanceCompoundAssignmentOperator_02(
TestHost
testHost, [CombinatorialValues("+=", "-=", "*=", "/=", "%=", "&=", "|=", "^=", "<<=", ">>=", ">>>=")] string op)
6567
public Task TestExclamationExclamation(
TestHost
testHost)
6596
public Task LocalFunctionDeclaration(
TestHost
testHost)
6652
public Task ScopedParameter(
TestHost
testHost)
6669
public Task ScopedLocalDeclaration(
TestHost
testHost)
6678
public Task ScopedOutDeclaration(
TestHost
testHost)
6693
public Task LambdaDefaultParameter_01(
TestHost
testHost)
6752
public Task LambdaDefaultParameter_02(
TestHost
testHost)
6791
public Task LambdaParamsArray(
TestHost
testHost)
6811
public Task LambdaParamsArray_Multiple(
TestHost
testHost)
6846
public Task TestAllowsRefStructConstraint_01(
TestHost
testHost)
6865
public Task TestAllowsRefStructConstraint_02(
TestHost
testHost)
Classification\SyntacticClassifierTests_Preprocessor.cs (90)
18
public Task PP_IfTrue(
TestHost
testHost)
31
public Task PP_IfTrueWithComment(
TestHost
testHost)
45
public Task PP_IfFalse(
TestHost
testHost)
58
public Task PP_IfGOO(
TestHost
testHost)
71
public Task PP_IfNotTrue(
TestHost
testHost)
85
public Task PP_IfNotFalse(
TestHost
testHost)
99
public Task PP_IfNotGOO(
TestHost
testHost)
113
public Task PP_IfTrueWithParens(
TestHost
testHost)
128
public Task PP_IfFalseWithParens(
TestHost
testHost)
143
public Task PP_IfGOOWithParens(
TestHost
testHost)
158
public Task PP_IfOrExpression(
TestHost
testHost)
173
public Task PP_IfAndExpression(
TestHost
testHost)
188
public Task PP_IfOrAndExpression(
TestHost
testHost)
205
public Task PP_IfOrExpressionWithParens(
TestHost
testHost)
222
public Task PP_IfAndExpressionWithParens(
TestHost
testHost)
239
public Task PP_IfOrAndExpressionWithParens(
TestHost
testHost)
258
public Task PP_If1(
TestHost
testHost)
266
public Task PP_If2(
TestHost
testHost)
274
public Task PP_If3(
TestHost
testHost)
287
public Task PP_If4(
TestHost
testHost)
299
public Task PP_If5(
TestHost
testHost)
318
public Task PP_If6(
TestHost
testHost)
332
public Task PP_If7(
TestHost
testHost)
350
public async Task PP_If8(bool script,
TestHost
testHost)
384
public async Task PP_If9(bool script,
TestHost
testHost)
420
public Task PP_Region1(
TestHost
testHost)
428
public Task PP_Region2(
TestHost
testHost)
436
public Task PP_EndRegion1(
TestHost
testHost)
443
public Task PP_EndRegion2(
TestHost
testHost)
450
public Task PP_EndRegion3(
TestHost
testHost)
458
public Task PP_EndRegion4(
TestHost
testHost)
466
public Task PP_RegionEndRegion1(
TestHost
testHost)
479
public Task PP_CommentAfterRegion1(
TestHost
testHost)
493
public Task PP_CommentAfterRegion2(
TestHost
testHost)
507
public Task PP_CommentAfterEndRegion1(
TestHost
testHost)
521
public Task PP_CommentAfterEndRegion2(
TestHost
testHost)
535
public Task PP_DeclarationDirectives(
TestHost
testHost)
550
public Task PP_IfElseEndIfDirectives(
TestHost
testHost)
570
public Task PP_DefineDirective(
TestHost
testHost)
578
public Task PP_DefineDirectiveWithCommentAndNoName(
TestHost
testHost)
586
public Task PP_DefineDirectiveWithComment(
TestHost
testHost)
595
public Task PP_UndefDirectives(
TestHost
testHost)
603
public Task PP_UndefDirectiveWithCommentAndNoName(
TestHost
testHost)
611
public Task PP_UndefDirectiveWithComment(
TestHost
testHost)
620
public Task PP_ErrorDirective(
TestHost
testHost)
628
public Task PP_ErrorDirectiveWithComment(
TestHost
testHost)
636
public Task PP_WarningDirective(
TestHost
testHost)
644
public Task PP_WarningDirectiveWithComment(
TestHost
testHost)
652
public Task PP_LineHidden(
TestHost
testHost)
660
public Task PP_LineHiddenWithComment(
TestHost
testHost)
669
public Task PP_LineDefault(
TestHost
testHost)
677
public Task PP_LineDefaultWithComment(
TestHost
testHost)
686
public Task PP_LineNumber(
TestHost
testHost)
694
public Task PP_LineNumberWithComment(
TestHost
testHost)
703
public Task PP_LineNumberWithFilename(
TestHost
testHost)
716
public Task PP_LineNumberWithFilenameAndComment(
TestHost
testHost)
728
public Task PP_LineSpanWithCharacterOffset(
TestHost
testHost)
752
public Task PP_LineSpanWithComment(
TestHost
testHost)
774
public Task PP_NullableEnable(
TestHost
testHost)
782
public Task PP_NullableEnableWithComment(
TestHost
testHost)
791
public Task PP_NullableEnableWarnings(
TestHost
testHost)
800
public Task PP_NullableEnableWarningsWithComment(
TestHost
testHost)
810
public Task PP_NullableEnableAnnotations(
TestHost
testHost)
819
public Task PP_NullableEnableAnnotationsWithComment(
TestHost
testHost)
829
public Task PP_NullableDisable(
TestHost
testHost)
837
public Task PP_NullableDisableWithComment(
TestHost
testHost)
846
public Task PP_PragmaChecksum1(
TestHost
testHost)
856
public Task PP_PragmaChecksum2(
TestHost
testHost)
876
public Task PP_PragmaChecksum3(
TestHost
testHost)
895
public Task PP_PragmaWarningDisableOne(
TestHost
testHost)
905
public Task PP_PragmaWarningDisableOneWithComment(
TestHost
testHost)
917
public Task PP_PragmaWarningDisableAllWithComment(
TestHost
testHost)
927
public Task PP_PragmaWarningRestoreOne(
TestHost
testHost)
937
public Task PP_PragmaWarningRestoreOneWithComment(
TestHost
testHost)
949
public Task PP_PragmaWarningRestoreAllWithComment(
TestHost
testHost)
959
public Task PP_PragmaWarningDisableTwo(
TestHost
testHost)
971
public Task PP_PragmaWarningRestoreTwo(
TestHost
testHost)
983
public Task PP_PragmaWarningDisableThree(
TestHost
testHost)
997
public Task PP_PragmaWarningRestoreThree(
TestHost
testHost)
1011
public Task PP_AfterNonWhiteSpaceOnLine(
TestHost
testHost)
1034
public Task DiscardInOutDeclaration(
TestHost
testHost)
1042
public Task DiscardInCasePattern(
TestHost
testHost)
1050
public Task DiscardInDeconstruction(
TestHost
testHost)
1059
public Task DiscardInDeconstruction2(
TestHost
testHost)
1068
public Task ShortDiscardInDeconstruction(
TestHost
testHost)
1078
public Task ShortDiscardInOutDeclaration(
TestHost
testHost)
1086
public Task ShortDiscardInAssignment(
TestHost
testHost)
1093
public Task UnderscoreInLambda(
TestHost
testHost)
1101
public Task DiscardInLambda(
TestHost
testHost)
1109
public Task UnderscoreInAssignment(
TestHost
testHost)
Classification\TotalClassifierTests.cs (104)
34
protected override async Task<ImmutableArray<ClassifiedSpan>> GetClassificationSpansAsync(string code, ImmutableArray<TextSpan> spans, ParseOptions? options,
TestHost
testHost)
43
public Task VarAsUsingAliasForNamespace(
TestHost
testHost)
55
public Task Bug17819(
TestHost
testHost)
82
public Task VarAsUsingAliasForClass(
TestHost
testHost)
96
public Task VarAsUsingAliasForDelegate(
TestHost
testHost)
109
public Task VarAsUsingAliasForStruct(
TestHost
testHost)
122
public Task VarAsUsingAliasForEnum(
TestHost
testHost)
135
public Task VarAsUsingAliasForInterface(
TestHost
testHost)
148
public Task VarAsConstructorName(
TestHost
testHost)
170
public Task TestRecordClass(
TestHost
testHost)
193
public Task TestRecordStruct(
TestHost
testHost)
218
public Task UsingAliasGlobalNamespace(
TestHost
testHost)
233
public Task PartialDynamicWhere(
TestHost
testHost)
282
public Task VarInForeach(
TestHost
testHost)
296
public Task ValueInSetterAndAnonymousTypePropertyName(
TestHost
testHost)
334
public Task TestValueInEvent(
TestHost
testHost)
377
public Task TestValueInProperty(
TestHost
testHost)
419
public Task ValueFieldInSetterAccessedThroughThis(
TestHost
testHost)
446
public Task NewOfInterface(
TestHost
testHost)
463
public Task TestVarConstructor(
TestHost
testHost)
493
public Task TestVarTypeParameter(
TestHost
testHost)
524
public Task TestVarAttribute1(
TestHost
testHost)
550
public Task TestVarAttribute2(
TestHost
testHost)
576
public Task TestStandaloneTypeName(
TestHost
testHost)
613
public Task TestNamespaceClassAmbiguities(
TestHost
testHost)
635
public Task NameAttributeValue(
TestHost
testHost)
678
public Task Cref1(
TestHost
testHost)
722
public Task CrefNamespaceIsNotClass(
TestHost
testHost)
758
public Task InterfacePropertyWithSameNameShouldBePreferredToType(
TestHost
testHost)
793
public Task XmlDocCref(
TestHost
testHost)
850
public Task TestGenericTypeWithNoArity(
TestHost
testHost)
875
public Task TestGenericTypeWithWrongArity(
TestHost
testHost)
905
public Task TestExtensionMethodDeclaration(
TestHost
testHost)
936
public Task TestExtensionMethodUsage(
TestHost
testHost)
1008
public Task TestConstLocals(
TestHost
testHost)
1029
public Task TestUnmanagedConstraint_InsideMethod(
TestHost
testHost)
1045
public Task TestUnmanagedConstraint_Type_Keyword(
TestHost
testHost)
1062
public Task TestUnmanagedConstraint_Type_ExistingInterface(
TestHost
testHost)
1085
public Task TestUnmanagedConstraint_Type_ExistingInterfaceButOutOfScope(
TestHost
testHost)
1115
public Task TestUnmanagedConstraint_Method_Keyword(
TestHost
testHost)
1142
public Task TestUnmanagedConstraint_Method_ExistingInterface(
TestHost
testHost)
1174
public Task TestUnmanagedConstraint_Method_ExistingInterfaceButOutOfScope(
TestHost
testHost)
1213
public Task TestUnmanagedConstraint_Delegate_Keyword(
TestHost
testHost)
1232
public Task TestUnmanagedConstraint_Delegate_ExistingInterface(
TestHost
testHost)
1257
public Task TestUnmanagedConstraint_Delegate_ExistingInterfaceButOutOfScope(
TestHost
testHost)
1289
public Task TestUnmanagedConstraint_LocalFunction_Keyword(
TestHost
testHost)
1325
public Task TestUnmanagedConstraint_LocalFunction_ExistingInterface(
TestHost
testHost)
1366
public Task TestUnmanagedConstraint_LocalFunction_ExistingInterfaceButOutOfScope(
TestHost
testHost)
1415
public Task TestOperatorOverloading(
TestHost
testHost)
1490
public Task TestNotNullConstraint_InsideMethod(
TestHost
testHost)
1506
public Task TestNotNullConstraint_Type_Keyword(
TestHost
testHost)
1523
public Task TestNotNullConstraint_Type_ExistingInterface(
TestHost
testHost)
1546
public Task TestNotNullConstraint_Type_ExistingInterfaceButOutOfScope(
TestHost
testHost)
1576
public Task TestNotNullConstraint_Method_Keyword(
TestHost
testHost)
1603
public Task TestNotNullConstraint_Method_ExistingInterface(
TestHost
testHost)
1635
public Task TestNotNullConstraint_Method_ExistingInterfaceButOutOfScope(
TestHost
testHost)
1674
public Task TestNotNullConstraint_Delegate_Keyword(
TestHost
testHost)
1693
public Task TestNotNullConstraint_Delegate_ExistingInterface(
TestHost
testHost)
1718
public Task TestNotNullConstraint_Delegate_ExistingInterfaceButOutOfScope(
TestHost
testHost)
1750
public Task TestNotNullConstraint_LocalFunction_Keyword(
TestHost
testHost)
1786
public Task TestNotNullConstraint_LocalFunction_ExistingInterface(
TestHost
testHost)
1827
public Task TestNotNullConstraint_LocalFunction_ExistingInterfaceButOutOfScope(
TestHost
testHost)
1876
public Task VarInPropertyPattern(
TestHost
testHost)
1944
public Task NotPattern(
TestHost
testHost)
1983
public Task OrPattern(
TestHost
testHost)
2022
public Task TestPatternVariables(
TestHost
testHost)
2059
public Task RelationalPattern(
TestHost
testHost)
2096
public Task BasicFileScopedNamespaceClassification(
TestHost
testHost)
2113
public Task TestStringEscape(
TestHost
testHost)
2136
public Task TestStaticConstructorClass(
TestHost
testHost)
2159
public Task TestStaticConstructorInterface(
TestHost
testHost)
2182
public Task TestArgsInTopLevel(
TestHost
testHost)
2203
public Task TestArgsInNormalProgram(
TestHost
testHost)
2230
public Task TestAsyncInIncompleteMember(
TestHost
testHost)
2249
public Task TestAsyncInIncompleteMemberWhenAsyncTypeIsDefined(
TestHost
testHost)
2272
public Task TestAsyncInPotentialLocalFunctionDeclaration(
TestHost
testHost)
2292
public Task TestAsyncInPotentialLocalFunctionDeclarationWhenAsyncTypeIsDefined(
TestHost
testHost)
2316
public Task TestAsyncAsLocalMemberType_NoAsyncInScope(
TestHost
testHost)
2335
public Task TestAsyncAsLocalMemberType_AsyncInScope(
TestHost
testHost)
2356
public Task TestAsyncAsPropertyType_NoAsyncInScope(
TestHost
testHost)
2378
public Task TestAsyncAsPropertyType_AsyncInScope(
TestHost
testHost)
2402
public Task TestAsyncAsMethodReturnType_NoAsyncInScope(
TestHost
testHost)
2420
public Task TestAsyncAsMethodReturnType_AsyncInScope(
TestHost
testHost)
2440
public Task TestAsyncAsAccessingName(
TestHost
testHost)
2466
public Task TestAsyncInIncompleteDelegateOrLambda(
TestHost
testHost)
2486
public Task TestPartialInIncompleteMember1(
TestHost
testHost)
2497
public Task TestPartialInIncompleteMember2(
TestHost
testHost)
2509
public Task TestPartialInIncompleteMember1_PartialTypeIsDefined(
TestHost
testHost)
2524
public Task TestPartialInIncompleteMember2_PartialTypeIsDefined(
TestHost
testHost)
2540
public Task TestTopLevelPartial1(
TestHost
testHost)
2548
public Task TestTopLevelPartial2(
TestHost
testHost)
2557
public Task TestTopLevelPartial1_PartialTypeIsDefined(
TestHost
testHost)
2569
public Task TestTopLevelPartial2_PartialTypeIsDefined(
TestHost
testHost)
2584
public Task LocalFunctionDeclarationAndUse(
TestHost
testHost)
2642
public Task TestScopedVar(
TestHost
testHost)
2678
public Task Lambda_DefaultParameterValue(
TestHost
testHost)
2704
public Task UsingAliasToType1(
TestHost
testHost)
2717
public Task UsingAliasToType2(
TestHost
testHost)
2732
public Task UsingAliasToType3(
TestHost
testHost)
2747
public Task UsingAliasToType4(
TestHost
testHost)
2767
public Task UsingAliasToType5(
TestHost
testHost)
2787
public Task TestFunctionPointer1(
TestHost
testHost)
2812
public Task TestFunctionPointer2(
TestHost
testHost)
3059
public Task TestModernExtension1(
TestHost
testHost)
Classification\TotalClassifierTests_Dynamic.cs (62)
16
public Task DynamicAsParamTypeAndDefault(
TestHost
testHost)
30
public Task DynamicExplicitConversion(
TestHost
testHost)
44
public Task DynamicMethodCall(
TestHost
testHost)
58
public Task DynamicNullable(
TestHost
testHost)
66
public Task DynamicAsUsingAliasForClass(
TestHost
testHost)
79
public Task DynamicAsUsingAliasForDelegate(
TestHost
testHost)
92
public Task DynamicAsUsingAliasForStruct(
TestHost
testHost)
105
public Task DynamicAsUsingAliasForEnum(
TestHost
testHost)
118
public Task DynamicAsUsingAliasForInterface(
TestHost
testHost)
131
public Task DynamicAsExternAlias(
TestHost
testHost)
157
public Task DynamicAsDelegateType(
TestHost
testHost)
167
public Task DynamicAsDelegateReturnTypeAndParam(
TestHost
testHost)
179
public Task DynamicAsDelegateLocalVariable(
TestHost
testHost)
213
public Task DynamicAsGenericTypeName(
TestHost
testHost)
246
public Task DynamicAsGenericField(
TestHost
testHost)
267
public Task DynamicAsIndexerTypeAndParameter(
TestHost
testHost)
278
public Task DynamicAsOperatorTypeAndParameter(
TestHost
testHost)
291
public Task DynamicAsOperatorName(
TestHost
testHost)
304
public Task DynamicAsPropertyTypeAndName(
TestHost
testHost)
317
public Task DynamicAsEventName(
TestHost
testHost)
325
public Task DynamicAsLinqLocalVariable(
TestHost
testHost)
337
public Task DynamicAsAnonymousTypePropertyName(
TestHost
testHost)
361
public Task DynamicAsArgumentToLambdaExpression(
TestHost
testHost)
381
public Task DynamicAsAnonymousMethodLocalVariable(
TestHost
testHost)
412
public Task DynamicAsMethodName(
TestHost
testHost)
428
public Task DynamicAsStaticMethodTypeAndParams(
TestHost
testHost)
451
public Task DynamicArraysInMethodSignature(
TestHost
testHost)
479
public Task DynamicInPartialMethods(
TestHost
testHost)
508
public Task DynamicRefAndOutParameters(
TestHost
testHost)
531
public Task DynamicInExtensionMethod(
TestHost
testHost)
553
public Task DynamicAsBaseClass(
TestHost
testHost)
569
public Task DynamicAsGenericConstraint(
TestHost
testHost)
590
public Task DynamicSizeOf(
TestHost
testHost)
614
public Task DynamicTypeOf(
TestHost
testHost)
624
public async Task DynamicAsArrayName(bool script,
TestHost
testHost)
652
public Task DynamicInForeach(
TestHost
testHost)
663
public Task DynamicInUsing(
TestHost
testHost)
672
public Task DynamicAsLocalVariableName(
TestHost
testHost)
681
public Task DynamicAsNamespaceName(
TestHost
testHost)
695
public Task DynamicAsClassName(
TestHost
testHost)
709
public Task DynamicAsConstructorDeclarationName(
TestHost
testHost)
731
public Task DynamicAsNamespaceAlias(
TestHost
testHost)
742
public Task DynamicAsGotoLabel(
TestHost
testHost)
761
public Task DynamicAsEnumField(
TestHost
testHost)
774
public Task DynamicAsEnumFieldDefinition(
TestHost
testHost)
790
public Task DynamicAsEnumType(
TestHost
testHost)
804
public Task DynamicAsGenericTypeParameter(
TestHost
testHost)
831
public Task DynamicAsFieldType(
TestHost
testHost)
838
public Task DynamicAsStaticFieldType(
TestHost
testHost)
847
public Task DynamicAsLocalVariableType(
TestHost
testHost)
854
public Task DynamicAsArrayLocalVariableType(
TestHost
testHost)
863
public Task DynamicAsLambdaParameterType(
TestHost
testHost)
886
public Task DynamicArray(
TestHost
testHost)
901
public Task DynamicConstructor(
TestHost
testHost)
915
public Task DynamicAfterIs(
TestHost
testHost)
926
public Task DynamicAfterAs(
TestHost
testHost)
936
public Task DynamicAsGenericTypeArgument(
TestHost
testHost)
956
public Task DynamicAsSecondGenericTypeArgument(
TestHost
testHost)
970
public Task DynamicAsRegionLabel(
TestHost
testHost)
983
public Task DynamicAsInterfaceType(
TestHost
testHost)
997
public Task DynamicAsStructType(
TestHost
testHost)
1011
public Task DynamicAsUndefinedGenericType(
TestHost
testHost)
CodeActions\AddUsing\AbstractAddUsingTests.cs (1)
30
TestHost
testHost,
CodeActions\AddUsing\AddUsingTests.cs (154)
25
public Task TestTypeFromMultipleNamespaces1(
TestHost
testHost)
49
public Task TestTypeFromMultipleNamespaces1_FileScopedNamespace_Outer(
TestHost
testHost)
77
public Task TestTypeFromMultipleNamespaces1_FileScopedNamespace_Inner(
TestHost
testHost)
109
public Task TestAddImportWithCaseChange(
TestHost
testHost)
139
public Task TestTypeFromMultipleNamespaces2(
TestHost
testHost)
164
public Task TestGenericWithNoArgs(
TestHost
testHost)
188
public Task TestGenericWithCorrectArgs(
TestHost
testHost)
238
public Task TestGenericInLocalDeclaration(
TestHost
testHost)
262
public Task TestGenericItemType(
TestHost
testHost)
283
public Task TestGenerateWithExistingUsings(
TestHost
testHost)
310
public Task TestGenerateInNamespace(
TestHost
testHost)
340
public Task TestGenerateInNamespaceWithUsings(
TestHost
testHost)
389
public Task TestExistingUsing(
TestHost
testHost)
417
public Task TestAddUsingForGenericExtensionMethod(
TestHost
testHost)
485
public Task TestOnEnum(
TestHost
testHost)
529
public Task TestOnClassInheritance(
TestHost
testHost)
559
public Task TestOnImplementedInterface(
TestHost
testHost)
589
public async Task TestAllInBaseList(
TestHost
testHost)
680
public Task TestAttributeUnexpanded(
TestHost
testHost)
698
public Task TestAttributeExpanded(
TestHost
testHost)
717
public Task TestAfterNew(
TestHost
testHost)
743
public Task TestArgumentsInMethodCall(
TestHost
testHost)
767
public Task TestCallSiteArgs(
TestHost
testHost)
789
public Task TestUsePartialClass(
TestHost
testHost)
827
public Task TestGenericClassInNestedNamespace(
TestHost
testHost)
872
public Task TestExtensionMethods(
TestHost
testHost)
902
public Task TestQueryPatterns(
TestHost
testHost)
936
public Task TestSimplePresortedUsings1(
TestHost
testHost)
985
public Task TestSimplePresortedUsings2(
TestHost
testHost)
1034
public Task TestSimpleUnsortedUsings1(
TestHost
testHost)
1083
public Task TestSimpleUnsortedUsings2(
TestHost
testHost)
1132
public Task TestMultiplePresortedUsings1(
TestHost
testHost)
1181
public Task TestMultiplePresortedUsings2(
TestHost
testHost)
1230
public Task TestMultiplePresortedUsings3(
TestHost
testHost)
1285
public Task TestMultipleUnsortedUsings1(
TestHost
testHost)
1340
public Task TestMultipleUnsortedUsings2(
TestHost
testHost)
1390
public Task TestSimpleSystemSortedUsings1(
TestHost
testHost)
1440
public Task TestSimpleSystemSortedUsings2(
TestHost
testHost)
1492
public Task TestSimpleSystemSortedUsings3(
TestHost
testHost)
1522
public Task TestSimpleSystemUnsortedUsings1(
TestHost
testHost)
1574
public Task TestSimpleSystemUnsortedUsings2(
TestHost
testHost)
1626
public Task TestSimpleSystemUnsortedUsings3(
TestHost
testHost)
1656
public Task TestSimpleBogusSystemUsings1(
TestHost
testHost)
1684
public Task TestSimpleBogusSystemUsings2(
TestHost
testHost)
1712
public Task TestUsingsWithComments(
TestHost
testHost)
1741
public Task TestSimpleSystemUnsortedUsings4(
TestHost
testHost)
1793
public Task TestSimpleSystemSortedUsings5(
TestHost
testHost)
1843
public Task TestSimpleSystemSortedUsings4(
TestHost
testHost)
1898
public Task TestAddUsingForFieldWithFormatting(
TestHost
testHost)
1909
public Task BugFix5688(
TestHost
testHost)
1932
public Task TestAddAfterDefineDirective1(
TestHost
testHost)
1966
public Task TestAddAfterDefineDirective2(
TestHost
testHost)
1994
public Task TestAddAfterDefineDirective3(
TestHost
testHost)
2024
public Task TestAddAfterDefineDirective4(
TestHost
testHost)
2054
public Task TestAddAfterExistingBanner(
TestHost
testHost)
2084
public Task TestAddAfterExternAlias1(
TestHost
testHost)
2116
public Task TestAddAfterExternAlias2(
TestHost
testHost)
2175
public Task TestAssemblyAttribute(
TestHost
testHost)
2202
public Task TestAddToVisibleRegion(
TestHost
testHost)
2261
public Task TestAttribute(
TestHost
testHost)
2292
public Task TestAddUsingForGenericArgument(
TestHost
testHost)
2337
public Task ShouldTriggerOnCS0308(
TestHost
testHost)
2365
public Task TestConflictedInaccessibleType(
TestHost
testHost)
2406
public Task TestConflictedAttributeName(
TestHost
testHost)
2425
public Task TestConflictedGenericName(
TestHost
testHost)
2464
public Task TestNoDuplicateReport(
TestHost
testHost)
2519
public Task TestAddUsingsWithExternAlias(
TestHost
testHost)
2563
public Task TestAddUsingsWithPreExistingExternAlias(
TestHost
testHost)
2618
public Task TestAddUsingsWithPreExistingExternAlias_FileScopedNamespace(
TestHost
testHost)
2671
public Task TestAddUsingsNoExtern(
TestHost
testHost)
2715
public Task TestAddUsingsNoExtern_FileScopedNamespace(
TestHost
testHost)
2756
public Task TestAddUsingsNoExternFilterGlobalAlias(
TestHost
testHost)
2903
public Task TestAddStaticType(
TestHost
testHost)
2939
public Task TestAddStaticType2(
TestHost
testHost)
2979
public Task TestAddStaticType3(
TestHost
testHost)
3023
public Task TestAddStaticType4(
TestHost
testHost)
3065
public Task TestAddInsideUsingDirective1(
TestHost
testHost)
3084
public Task TestAddInsideUsingDirective2(
TestHost
testHost)
3106
public Task TestAddInsideUsingDirective3(
TestHost
testHost)
3145
public Task TestAddInsideUsingDirective4(
TestHost
testHost)
3181
public Task TestAddInsideUsingDirective5(
TestHost
testHost)
3228
public Task TestAddConditionalAccessExpression(
TestHost
testHost)
3262
public Task TestAddConditionalAccessExpression2(
TestHost
testHost)
3308
public Task TestAmbiguousUsingName(
TestHost
testHost)
3371
public Task TestAddUsingInDirective(
TestHost
testHost)
3410
public Task TestAddUsingInDirective2(
TestHost
testHost)
3438
public Task TestAddUsingInDirective3(
TestHost
testHost)
3465
public Task TestAddUsingInDirective4(
TestHost
testHost)
3519
public Task TestAddUsingForProperty(
TestHost
testHost)
3559
public Task TestAddUsingForField(
TestHost
testHost)
3615
public Task TestNameSimplification(
TestHost
testHost)
3665
public Task TestAddUsingWithOtherExtensionsInScope(
TestHost
testHost)
3739
public Task TestAddUsingWithOtherExtensionsInScope2(
TestHost
testHost)
3813
public Task TestAddUsingWithOtherExtensionsInScope3(
TestHost
testHost)
3851
public Task TestAddUsingWithOtherExtensionsInScope4(
TestHost
testHost)
3897
public Task TestNestedNamespaceSimplified(
TestHost
testHost)
3931
public Task TestNestedNamespaceSimplified2(
TestHost
testHost)
3965
public Task TestNestedNamespaceSimplified3(
TestHost
testHost)
4001
public Task TestNestedNamespaceSimplified4(
TestHost
testHost)
4037
public Task TestNestedNamespaceSimplified5(
TestHost
testHost)
4077
public Task TestNestedNamespaceSimplified6(
TestHost
testHost)
4118
public Task TestAddUsingOrdinalUppercase(
TestHost
testHost)
4176
public Task TestAddUsingOrdinalLowercase(
TestHost
testHost)
4235
public Task TestWithExistingIncompatibleExtension(
TestHost
testHost)
4285
public Task TestIncompleteCatchBlockInLambda(
TestHost
testHost)
4310
public Task TestAddInsideLambda(
TestHost
testHost)
4330
public Task TestAddInsideLambda2(
TestHost
testHost)
4350
public Task TestAddInsideLambda3(
TestHost
testHost)
4378
public Task TestAddInsideLambda4(
TestHost
testHost)
4407
public Task TestIncompleteParenthesizedLambdaExpression(
TestHost
testHost)
4439
public Task TestExtensionWithIncompatibleInstance(
TestHost
testHost)
4495
public Task TestFormattingForNamespaceUsings(
TestHost
testHost)
4586
public Task TestAddUsingWithLeadingDocCommentInFrontOfUsing1(
TestHost
testHost)
4612
public Task TestAddUsingWithLeadingDocCommentInFrontOfUsing2(
TestHost
testHost)
4640
public Task TestAddUsingWithLeadingDocCommentInFrontOfClass1(
TestHost
testHost)
4662
public Task TestPlaceUsingWithUsings_NotWithAliases(
TestHost
testHost)
4700
public Task TestPreferSystemNamespaceFirst(
TestHost
testHost)
4745
public Task TestPreferSystemNamespaceFirst2(
TestHost
testHost)
4810
public Task TestChangeCaseWithUsingsInNestedNamespace(
TestHost
testHost)
4891
public Task TestWhenInRome1(
TestHost
testHost)
4942
public Task TestWhenInRome2(
TestHost
testHost)
5032
public Task TestGetAwaiterExtensionMethod1(
TestHost
testHost)
5112
public Task TestGetAwaiterExtensionMethod2(
TestHost
testHost)
5192
public Task TestAddUsingForAwaitableReturningExtensionMethod(
TestHost
testHost)
5249
public Task TestAddUsingForExtensionGetEnumeratorReturningIEnumerator(
TestHost
testHost)
5299
public Task TestAddUsingForExtensionGetEnumeratorReturningPatternEnumerator(
TestHost
testHost)
5384
public Task TestAddUsingForExtensionGetEnumeratorReturningPatternEnumeratorWrongAsync(
TestHost
testHost)
5490
public Task TestAddUsingForExtensionGetAsyncEnumeratorReturningIAsyncEnumerator(
TestHost
testHost)
5541
public Task TestAddUsingForExtensionGetAsyncEnumeratorReturningPatternEnumerator(
TestHost
testHost)
5629
public Task TestAddUsingForExtensionGetAsyncEnumeratorReturningPatternEnumeratorWrongAsync(
TestHost
testHost)
5741
public Task UsingPlacedWithStaticUsingInNamespace_WhenNoExistingUsings(
TestHost
testHost)
5769
public Task UsingPlacedWithStaticUsingInInnerNestedNamespace_WhenNoExistingUsings(
TestHost
testHost)
5803
public Task UsingPlacedWithStaticUsingInOuterNestedNamespace_WhenNoExistingUsings(
TestHost
testHost)
5837
public Task UsingPlacedWithExistingUsingInCompilationUnit_WhenStaticUsingInNamespace(
TestHost
testHost)
5869
public Task UsingPlacedWithExistingUsing_WhenStaticUsingInInnerNestedNamespace(
TestHost
testHost)
5907
public Task UsingPlacedWithExistingUsing_WhenStaticUsingInOuterNestedNamespace(
TestHost
testHost)
5945
public Task UsingPlacedWithUsingAliasInNamespace_WhenNoExistingUsing(
TestHost
testHost)
5973
public Task UsingPlacedWithUsingAliasInInnerNestedNamespace_WhenNoExistingUsing(
TestHost
testHost)
6007
public Task UsingPlacedWithUsingAliasInOuterNestedNamespace_WhenNoExistingUsing(
TestHost
testHost)
6041
public Task UsingPlacedWithExistingUsingInCompilationUnit_WhenUsingAliasInNamespace(
TestHost
testHost)
6073
public Task UsingPlacedWithExistingUsing_WhenUsingAliasInInnerNestedNamespace(
TestHost
testHost)
6111
public Task UsingPlacedWithExistingUsing_WhenUsingAliasInOuterNestedNamespace(
TestHost
testHost)
6149
public Task KeepUsingsGrouped1(
TestHost
testHost)
6271
public Task TestAddUsingsEditorBrowsableNeverSameProject(
TestHost
testHost)
6306
public Task TestAddUsingsEditorBrowsableNeverDifferentProject(
TestHost
testHost)
6336
public Task TestAddUsingsEditorBrowsableAdvancedDifferentProjectOptionOn(
TestHost
testHost)
6372
public Task TestAddUsingsEditorBrowsableAdvancedDifferentProjectOptionOff(
TestHost
testHost)
6408
public Task TestAddUsingPreservesNewlines1(
TestHost
testHost, [CombinatorialValues("\n", "\r\n")] string sourceNewLine, [CombinatorialValues("\n", "\r\n")] string configuredNewLine)
6449
public Task TestAddUsingPreservesNewlines2(
TestHost
testHost, [CombinatorialValues("\n", "\r\n")] string sourceNewLine, [CombinatorialValues("\n", "\r\n")] string configuredNewLine)
6501
public Task TestAddUsingPreservesNewlines3(
TestHost
testHost, [CombinatorialValues("\n", "\r\n")] string sourceNewLine, [CombinatorialValues("\n", "\r\n")] string configuredNewLine)
6553
public Task TestAddUsingWithMalformedGeneric(
TestHost
testHost)
6573
public Task TestOutsideOfMethodWithMalformedGenericParameters(
TestHost
testHost)
6597
public Task TestAssemblyLevelAttribute(
TestHost
testHost)
6609
public Task TestAddUsingsWithSourceGeneratedFile(
TestHost
testHost)
CodeActions\AddUsing\AddUsingTests_ExtensionMethods.cs (3)
1117
public Task TestAddUsingForAddExtensionMethodWithSameNameAsProperty(
TestHost
testHost)
1180
public Task TestExtensionGetAwaiterOverload(
TestHost
testHost)
1268
public Task TestExtensionSelectOverload(
TestHost
testHost)
CodeActions\AddUsing\AddUsingTests_Razor.cs (1)
17
public Task TestAddIntoHiddenRegionWithModernSpanMapper(
TestHost
host)
Interactive\NavigateTo\InteractiveNavigateToTests.cs (38)
30
public Task NoItemsForEmptyFile(
TestHost
testHost, Composition composition)
38
public Task FindClass(
TestHost
testHost, Composition composition)
52
public Task FindNestedClass(
TestHost
testHost, Composition composition)
72
public Task FindMemberInANestedClass(
TestHost
testHost, Composition composition)
95
public Task FindGenericClassWithConstraints(
TestHost
testHost, Composition composition)
111
public Task FindGenericMethodWithConstraints(
TestHost
testHost, Composition composition)
130
public Task FindPartialClass(
TestHost
testHost, Composition composition)
154
public Task FindTypesInMetadata(
TestHost
testHost, Composition composition)
168
public Task FindClassInNamespace(
TestHost
testHost, Composition composition)
185
public Task FindStruct(
TestHost
testHost, Composition composition)
199
public Task FindEnum(
TestHost
testHost, Composition composition)
216
public Task FindEnumMember(
TestHost
testHost, Composition composition)
233
public Task FindConstField(
TestHost
testHost, Composition composition)
248
public Task FindVerbatimIdentifier(
TestHost
testHost, Composition composition)
263
public Task FindIndexer(
TestHost
testHost, Composition composition)
272
public Task FindEvent(
TestHost
testHost, Composition composition)
281
public Task FindAutoProperty(
TestHost
testHost, Composition composition)
296
public Task FindMethod(
TestHost
testHost, Composition composition)
311
public Task FindParameterizedMethod(
TestHost
testHost, Composition composition)
328
public Task FindConstructor(
TestHost
testHost, Composition composition)
345
public Task FindParameterizedConstructor(
TestHost
testHost, Composition composition)
362
public Task FindStaticConstructor(
TestHost
testHost, Composition composition)
379
public Task FindPartialMethods(
TestHost
testHost, Composition composition)
392
public Task FindPartialMethodDefinitionOnly(
TestHost
testHost, Composition composition)
407
public Task FindOverriddenMembers(
TestHost
testHost, Composition composition)
434
public Task FindInterface(
TestHost
testHost, Composition composition)
448
public Task FindDelegateInNamespace(
TestHost
testHost, Composition composition)
463
public Task FindLambdaExpression(
TestHost
testHost, Composition composition)
480
public Task OrderingOfConstructorsAndTypes(
TestHost
testHost, Composition composition)
517
public Task StartStopSanity(
TestHost
testHost, Composition composition)
539
public Task DescriptionItems(
TestHost
testHost, Composition composition)
565
public Task TermSplittingTest1(
TestHost
testHost, Composition composition)
582
public Task TermSplittingTest2(
TestHost
testHost, Composition composition)
596
public Task TermSplittingTest3(
TestHost
testHost, Composition composition)
610
public Task TermSplittingTest4(
TestHost
testHost, Composition composition)
619
public Task TermSplittingTest5(
TestHost
testHost, Composition composition)
628
public Task TermSplittingTest7(
TestHost
testHost, Composition composition)
642
public Task TermSplittingTest8(
TestHost
testHost, Composition composition)
NavigateTo\NavigateToTests.cs (86)
30
public Task NoItemsForEmptyFile(
TestHost
testHost, Composition composition)
37
public Task FindClass(
TestHost
testHost, Composition composition)
50
public Task FindRecord(
TestHost
testHost, Composition composition)
63
public Task FindRecordClass(
TestHost
testHost, Composition composition)
76
public async Task FindRecordStruct(
TestHost
testHost, Composition composition)
97
public async Task FindClassInFileScopedNamespace(
TestHost
testHost, Composition composition)
117
public Task FindVerbatimClass(
TestHost
testHost, Composition composition)
134
public Task FindNestedClass(
TestHost
testHost, Composition composition)
153
public Task FindMemberInANestedClass(
TestHost
testHost, Composition composition)
175
public Task FindGenericClassWithConstraints(
TestHost
testHost, Composition composition)
190
public Task FindGenericMethodWithConstraints(
TestHost
testHost, Composition composition)
208
public Task FindPartialClass(
TestHost
testHost, Composition composition)
229
public Task FindTypesInMetadata(
TestHost
testHost, Composition composition)
242
public Task FindClassInNamespace(
TestHost
testHost, Composition composition)
258
public Task FindStruct(
TestHost
testHost, Composition composition)
271
public Task FindEnum(
TestHost
testHost, Composition composition)
287
public Task FindEnumMember(
TestHost
testHost, Composition composition)
303
public Task FindField1(
TestHost
testHost, Composition composition)
317
public Task FindField2(
TestHost
testHost, Composition composition)
331
public Task FindField3(
TestHost
testHost, Composition composition)
344
public Task FindVerbatimField(
TestHost
testHost, Composition composition)
362
public Task FindPtrField1(
TestHost
testHost, Composition composition)
375
public Task FindPtrField2(
TestHost
testHost, Composition composition)
389
public Task FindConstField(
TestHost
testHost, Composition composition)
403
public Task FindIndexer(
TestHost
testHost, Composition composition)
411
public Task FindEvent(
TestHost
testHost, Composition composition)
419
public Task FindAutoProperty(
TestHost
testHost, Composition composition)
433
public Task FindMethod(
TestHost
testHost, Composition composition)
447
public Task FindVerbatimMethod(
TestHost
testHost, Composition composition)
465
public Task FindParameterizedMethod(
TestHost
testHost, Composition composition)
481
public Task FindConstructor(
TestHost
testHost, Composition composition)
497
public Task FindParameterizedConstructor(
TestHost
testHost, Composition composition)
513
public Task FindStaticConstructor(
TestHost
testHost, Composition composition)
529
public Task FindPartialMethods(
TestHost
testHost, Composition composition)
540
public Task FindPartialProperties(
TestHost
testHost, Composition composition)
551
public Task FindPartialEvents(
TestHost
testHost, Composition composition)
567
public Task FindPartialConstructors(
TestHost
testHost, Composition composition)
583
public Task FindPartialMethodDefinitionOnly(
TestHost
testHost, Composition composition)
597
public Task FindPartialMethodImplementationOnly(
TestHost
testHost, Composition composition)
613
public Task FindOverriddenMembers(
TestHost
testHost, Composition composition)
638
public Task FindInterface(
TestHost
testHost, Composition composition)
651
public Task FindTopLevelLocalFunction(
TestHost
testHost, Composition composition)
664
public Task FindTopLevelLocalFunction_WithParameters(
TestHost
testHost, Composition composition)
677
public Task FindTopLevelLocalFunction_WithTypeArgumentsAndParameters(
TestHost
testHost, Composition composition)
690
public Task FindNestedLocalFunctionTopLevelStatements(
TestHost
testHost, Composition composition)
706
public Task FindLocalFunctionInMethod(
TestHost
testHost, Composition composition)
728
public Task FindNestedLocalFunctionInMethod(
TestHost
testHost, Composition composition)
750
public Task FindDelegateInNamespace(
TestHost
testHost, Composition composition)
764
public Task FindLambdaExpression(
TestHost
testHost, Composition composition)
780
public Task FindArray(
TestHost
testHost, Composition composition)
794
public Task FindClassAndMethodWithSameName(
TestHost
testHost, Composition composition)
816
public Task FindMethodNestedInGenericTypes(
TestHost
testHost, Composition composition)
838
public Task OrderingOfConstructorsAndTypes(
TestHost
testHost, Composition composition)
871
public Task NavigateToMethodWithNullableParameter(
TestHost
testHost, Composition composition)
887
public Task StartStopSanity(
TestHost
testHost, Composition composition)
908
public Task DescriptionItems(
TestHost
testHost, Composition composition)
933
public Task TermSplittingTest1(
TestHost
testHost, Composition composition)
946
public Task TermSplittingTest2(
TestHost
testHost, Composition composition)
958
public Task TermSplittingTest3(
TestHost
testHost, Composition composition)
970
public Task TermSplittingTest4(
TestHost
testHost, Composition composition)
978
public Task TermSplittingTest5(
TestHost
testHost, Composition composition)
986
public Task TermSplittingTest6(
TestHost
testHost, Composition composition)
999
public Task TermSplittingTest7(
TestHost
testHost, Composition composition)
1007
public Task TestIndexer1(
TestHost
testHost, Composition composition)
1030
public Task DottedPattern1(
TestHost
testHost, Composition composition)
1039
public Task DottedPattern2(
TestHost
testHost, Composition composition)
1048
public Task DottedPattern3(
TestHost
testHost, Composition composition)
1057
public Task DottedPattern4(
TestHost
testHost, Composition composition)
1066
public Task DottedPattern5(
TestHost
testHost, Composition composition)
1075
public Task DottedPattern6(
TestHost
testHost, Composition composition)
1085
public Task DottedPattern7(
TestHost
testHost, Composition composition)
1095
public Task DottedPatternMatchKind(
TestHost
testHost, Composition composition)
1148
public Task FindFuzzy1(
TestHost
testHost, Composition composition)
1165
public Task Test__arglist(
TestHost
testHost, Composition composition)
1451
public Task FindMethodWithTuple(
TestHost
testHost, Composition composition)
1470
public Task FindRecordMember1(
TestHost
testHost, Composition composition)
1484
public Task FindRecordMember2(
TestHost
testHost, Composition composition)
1499
public Task FindRecordMember3(
TestHost
testHost, Composition composition)
1518
public Task NavigateToPrioritizeResultInCurrentDocument1(
TestHost
testHost)
1558
public Task NavigateToPrioritizeResultInCurrentDocument2(
TestHost
testHost)
1598
public Task NavigateToPrioritizeResultInCurrentDocument3(
TestHost
testHost)
1638
public Task NavigateToPrioritizeResultInCurrentDocument4(
TestHost
testHost)
1678
public Task NavigateToPrioritizeResultInCurrentDocument5(
TestHost
testHost)
1718
public async Task FindModernExtensionMethod1(
TestHost
testHost, Composition composition)
1745
public async Task FindModernExtensionMethod2(
TestHost
testHost, Composition composition)
1772
public async Task FindModernExtensionProperty(
TestHost
testHost, Composition composition)
TaskList\CSharpTaskListTests.cs (17)
20
public Task SingleLineTodoComment_Colon(
TestHost
host)
24
public Task SingleLineTodoComment_Space(
TestHost
host)
28
public Task SingleLineTodoComment_Underscore(
TestHost
host)
32
public Task SingleLineTodoComment_Number(
TestHost
host)
36
public Task SingleLineTodoComment_Quote(
TestHost
host)
42
public Task SingleLineTodoComment_Middle(
TestHost
host)
46
public Task SingleLineTodoComment_Document(
TestHost
host)
50
public Task SingleLineTodoComment_Preprocessor1(
TestHost
host)
54
public Task SingleLineTodoComment_Preprocessor2(
TestHost
host)
58
public Task SingleLineTodoComment_Region(
TestHost
host)
62
public Task SingleLineTodoComment_EndRegion(
TestHost
host)
66
public Task SingleLineTodoComment_TrailingSpan(
TestHost
host)
70
public Task MultilineTodoComment_Singleline(
TestHost
host)
74
public Task MultilineTodoComment_Singleline_Document(
TestHost
host)
78
public Task MultilineTodoComment_Multiline(
TestHost
host)
88
public Task MultilineTodoComment_Multiline_DocComment(
TestHost
host)
98
public Task SinglelineDocumentComment_Multiline(
TestHost
host)
TaskList\NoCompilationTaskListTests.cs (1)
46
public Task TodoCommentInNoCompilationProject(
TestHost
host)
Microsoft.CodeAnalysis.CSharp.Features.UnitTests (175)
ConvertTupleToStruct\ConvertTupleToStructTests.cs (50)
47
TestHost
testHost =
TestHost
.OutOfProcess,
71
public Task ConvertSingleTupleType(
TestHost
host)
134
public Task ConvertSingleTupleTypeToRecord(
TestHost
host)
167
public Task ConvertSingleTupleTypeToRecord_FileScopedNamespace(
TestHost
host)
204
public Task ConvertSingleTupleTypeToRecord_MatchedNameCasing(
TestHost
host)
237
public Task ConvertSingleTupleType_ChangeArgumentNameCase(
TestHost
host)
300
public async Task ConvertSingleTupleType_ChangeArgumentNameCase_Uppercase(
TestHost
host)
395
public Task ConvertSingleTupleType_Explicit(
TestHost
host)
458
public Task ConvertSingleTupleTypeNoNames(
TestHost
host)
521
public Task ConvertSingleTupleTypePartialNames(
TestHost
host)
584
public Task ConvertFromType(
TestHost
host)
649
public Task ConvertFromType2(
TestHost
host)
716
public Task ConvertFromType3(
TestHost
host)
783
public Task ConvertFromType4(
TestHost
host)
848
public Task ConvertSingleTupleTypeInNamespace(
TestHost
host)
917
public Task TestNonLiteralNames_WithUsings(
TestHost
host)
982
public Task TestNonLiteralNames_WithoutUsings(
TestHost
host)
1045
public Task ConvertSingleTupleTypeWithInferredName(
TestHost
host)
1108
public Task ConvertMultipleInstancesInSameMethod(
TestHost
host)
1173
public Task ConvertMultipleInstancesAcrossMethods(
TestHost
host)
1250
public Task OnlyConvertMatchingTypesInSameMethod(
TestHost
host)
1319
public Task TestFixAllMatchesInSingleMethod(
TestHost
host)
1388
public Task TestFixNotAcrossMethods(
TestHost
host)
1465
public Task TestTrivia_WithUsings(
TestHost
host)
1530
public Task TestTrivia_WithoutUsings(
TestHost
host)
1593
public async Task NotIfReferencesAnonymousTypeInternally(
TestHost
host)
1609
public Task ConvertMultipleNestedInstancesInSameMethod1_WithUsings(
TestHost
host)
1674
public Task ConvertMultipleNestedInstancesInSameMethod1_WithoutUsings(
TestHost
host)
1739
public Task ConvertMultipleNestedInstancesInSameMethod2_WithUsings(
TestHost
host)
1804
public Task ConvertMultipleNestedInstancesInSameMethod2_WithoutUsings(
TestHost
host)
1869
public Task RenameAnnotationOnStartingPoint(
TestHost
host)
1934
public Task CapturedMethodTypeParameters_WithUsings(
TestHost
host)
2004
public Task CapturedMethodTypeParameters_WithoutUsings(
TestHost
host)
2074
public Task NewTypeNameCollision(
TestHost
host)
2145
public Task TestDuplicatedName(
TestHost
host)
2281
public Task TestInLambda1(
TestHost
host)
2356
public Task TestInLambda2(
TestHost
host)
2431
public Task TestInLocalFunction1(
TestHost
host)
2506
public Task TestInLocalFunction2(
TestHost
host)
2581
public Task ConvertWithDefaultNames1(
TestHost
host)
2656
public Task ConvertWithDefaultNames2(
TestHost
host)
2735
public Task TestCapturedTypeParameter_UpdateType_WithUsings(
TestHost
host)
2831
public Task TestCapturedTypeParameter_UpdateType_WithoutUsings(
TestHost
host)
2924
public Task UpdateAllInType_SinglePart_SingleFile(
TestHost
host)
3019
public Task UpdateAllInType_MultiplePart_SingleFile(
TestHost
host)
3122
public async Task UpdateAllInType_MultiplePart_MultipleFile(
TestHost
host)
3277
public async Task UpdateAllInProject_MultiplePart_MultipleFile_WithNamespace(
TestHost
host)
3430
public async Task UpdateDependentProjects_DirectDependency(
TestHost
host)
3571
public async Task UpdateDependentProjects_NoDependency(
TestHost
host)
EncapsulateField\EncapsulateFieldTests.cs (46)
35
TestHost
host,
50
public Task PrivateFieldToPropertyIgnoringReferences(
TestHost
host)
87
public Task PrivateNullableFieldToPropertyIgnoringReferences(
TestHost
host)
126
public Task PrivateFieldToPropertyUpdatingReferences(
TestHost
host)
163
public Task TestCodeStyle1(
TestHost
host)
206
public Task TestCodeStyle2(
TestHost
host)
237
public Task PublicFieldIntoPublicPropertyIgnoringReferences(
TestHost
host)
274
public Task PublicFieldIntoPublicPropertyUpdatingReferences(
TestHost
host)
311
public Task StaticPreserved(
TestHost
host)
338
public Task UniqueNameGenerated(
TestHost
host)
367
public Task GenericField(
TestHost
host)
394
public Task NewFieldNameIsUnique(
TestHost
host)
423
public Task RespectReadonly(
TestHost
host)
445
public Task PreserveNewAndConsiderBaseMemberNames(
TestHost
host)
486
public Task EncapsulateMultiplePrivateFields(
TestHost
host)
538
public Task EncapsulateMultiplePrivateFields2(
TestHost
host)
592
public Task EncapsulateSinglePublicFieldInMultipleVariableDeclarationAndUpdateReferences(
TestHost
host)
632
public Task ConstFieldNoGetter(
TestHost
host)
654
public Task EncapsulateFieldNamedValue(
TestHost
host)
676
public Task PublicFieldNamed__(
TestHost
host)
703
public Task AvailableNotJustOnVariableName(
TestHost
host)
712
public Task CopyFieldAccessibility(
TestHost
host)
734
public Task UpdateReferencesCrossProject(
TestHost
host)
799
public Task PreserveUnsafe(
TestHost
host)
826
public Task ConsiderReturnTypeAccessibility(
TestHost
host)
863
public Task DoNotReferToReadOnlyPropertyInConstructor(
TestHost
host)
895
public Task DoNotReferToStaticReadOnlyPropertyInConstructor(
TestHost
host)
927
public Task GenerateInTheCorrectPart(
TestHost
host)
956
public Task ErrorTolerance(
TestHost
host)
965
public Task DuplicateFieldErrorTolerance(
TestHost
host)
975
public Task Trivia(
TestHost
host)
1010
public async Task DoNotEncapsulateOutsideTypeDeclaration(
TestHost
host)
1033
public async Task AlwaysUseEnglishUSCultureWhenFixingVariableNames_TurkishDottedI(
TestHost
host)
1067
public async Task AlwaysUseEnglishUSCultureWhenFixingVariableNames_TurkishUndottedI(
TestHost
host)
1101
public async Task AlwaysUseEnglishUSCultureWhenFixingVariableNames_Arabic(
TestHost
host)
1135
public async Task AlwaysUseEnglishUSCultureWhenFixingVariableNames_Spanish(
TestHost
host)
1169
public async Task AlwaysUseEnglishUSCultureWhenFixingVariableNames_Greek(
TestHost
host)
1203
public Task TestEncapsulateEscapedIdentifier(
TestHost
host)
1230
public Task TestEncapsulateEscapedIdentifierAndQualifiedAccess(
TestHost
host)
1257
public Task ApplyCurrentThisPrefixStyle(
TestHost
host)
1286
public Task TestTuple(
TestHost
host)
1323
public Task TupleWithNames(
TestHost
host)
1360
public Task FunctionPointer(
TestHost
host)
1397
public Task FunctionPointerWithPrivateTypeParameter(
TestHost
host)
1436
public Task FunctionPointerWithPrivateTypeReturnValue(
TestHost
host)
1475
public Task PrimaryConstructor(
TestHost
host, bool andUseProperty)
FullyQualify\FullyQualifyTests.cs (68)
31
public Task TestTypeFromMultipleNamespaces1(
TestHost
testHost)
53
public Task TestTypeFromMultipleNamespaces2(
TestHost
testHost)
77
public Task TestPreservesIncorrectIndentation1(
TestHost
testHost)
100
public Task TestPreservesIncorrectIndentation2(
TestHost
testHost)
122
public Task TestGenericWithNoArgs(
TestHost
testHost)
144
public Task TestGenericWithCorrectArgs(
TestHost
testHost)
166
public Task TestSmartTagDisplayText(
TestHost
testHost)
180
public Task TestGenericWithWrongArgs(
TestHost
testHost)
193
public Task TestNotOnVar1(
TestHost
testHost)
211
public Task TestNotOnVar2(
TestHost
testHost)
229
public Task TestGenericInLocalDeclaration(
TestHost
testHost)
251
public Task TestGenericItemType(
TestHost
testHost)
271
public Task TestGenerateWithExistingUsings(
TestHost
testHost)
297
public Task TestGenerateInNamespace(
TestHost
testHost)
325
public Task TestGenerateInNamespaceWithUsings(
TestHost
testHost)
357
public async Task TestExistingUsing(
TestHost
testHost)
399
public Task TestMissingIfUniquelyBound(
TestHost
testHost)
414
public Task TestMissingIfUniquelyBoundGeneric(
TestHost
testHost)
429
public Task TestOnEnum(
TestHost
testHost)
471
public Task TestOnClassInheritance(
TestHost
testHost)
499
public Task TestOnImplementedInterface(
TestHost
testHost)
527
public async Task TestAllInBaseList(
TestHost
testHost)
611
public Task TestAttributeUnexpanded(
TestHost
testHost)
627
public Task TestAttributeExpanded(
TestHost
testHost)
643
public Task TestExtensionMethods(
TestHost
testHost)
659
public Task TestAfterNew(
TestHost
testHost)
683
public Task TestArgumentsInMethodCall(
TestHost
testHost)
705
public Task TestCallSiteArgs(
TestHost
testHost)
725
public Task TestUsePartialClass(
TestHost
testHost)
761
public Task TestGenericClassInNestedNamespace(
TestHost
testHost)
803
public Task TestBeforeStaticMethod(
TestHost
testHost)
823
public Task TestBeforeNamespace(
TestHost
testHost)
865
public Task TestSimpleNameWithLeadingTrivia(
TestHost
testHost)
871
public Task TestGenericNameWithLeadingTrivia(
TestHost
testHost)
877
public Task TestFullyQualifyTypeName(
TestHost
testHost)
907
public Task TestFullyQualifyUnboundIdentifier3(
TestHost
testHost)
937
public Task TestFullyQualifyTypeName_NotForGenericType(
TestHost
testHost)
954
public Task TestFullyQualifyThroughAlias(
TestHost
testHost)
974
public Task TestFullyQualifyPrioritizeTypesOverNamespaces1(
TestHost
testHost)
1010
public Task TestFullyQualifyPrioritizeTypesOverNamespaces2(
TestHost
testHost)
1047
public Task BugFix5950(
TestHost
testHost)
1054
public Task TestAfterAlias(
TestHost
testHost)
1071
public Task TestMissingOnIncompleteStatement(
TestHost
testHost)
1086
public Task TestAssemblyAttribute(
TestHost
testHost)
1092
public Task TestMissingOnAliasName(
TestHost
testHost)
1114
public Task TestMissingOnAttributeOverloadResolutionError(
TestHost
testHost)
1127
public Task TestNotOnAbstractConstructor(
TestHost
testHost)
1142
public Task TestAttributeCount(
TestHost
testHost)
1146
public Task TestAttribute(
TestHost
testHost)
1152
public Task TestGeneratePropertyFromAttribute(
TestHost
testHost)
1169
public Task ShouldTriggerOnCS0308(
TestHost
testHost)
1195
public Task AmbiguousTypeFix(
TestHost
testHost)
1251
public async Task NonPublicNamespaces(
TestHost
testHost)
1351
public Task AmbiguousFixOrdering(
TestHost
testHost)
1407
public Task TupleTest(
TestHost
testHost)
1429
public Task TupleWithOneName(
TestHost
testHost)
1451
public Task TestContextualKeyword1(
TestHost
testHost)
1471
public Task TestDoNotQualifyToTheSameTypeToFixWrongArity(
TestHost
testHost)
1482
public async Task TestNoNonGenericsWithGenericCodeParsedAsExpression(
TestHost
testHost)
1511
public Task TestInUsingContext_Type(
TestHost
testHost)
1535
public Task TestInUsingContext_Namespace(
TestHost
testHost)
1559
public Task TestInUsingContext_UsingStatic(
TestHost
testHost)
1583
public Task TestInUsingContext_UsingAlias(
TestHost
testHost)
1589
public Task TestAddUsingsEditorBrowsableNeverSameProject(
TestHost
testHost)
1621
public Task TestAddUsingsEditorBrowsableNeverDifferentProject(
TestHost
testHost)
1650
public Task TestAddUsingsEditorBrowsableAdvancedDifferentProjectOptionOn(
TestHost
testHost)
1685
public Task TestAddUsingsEditorBrowsableAdvancedDifferentProjectOptionOff(
TestHost
testHost)
1716
public Task TestFullyQualifyWithSourceGeneratedFile(
TestHost
testHost)
RelatedDocuments\CSharpRelatedDocumentsTests.cs (11)
15
public async Task EmptyDocument(
TestHost
testHost)
25
public async Task ReferenceToSameDocument(
TestHost
testHost)
40
public async Task MultipleReferencesToSameDocument(
TestHost
testHost)
56
public async Task ReferenceToDifferentDocument(
TestHost
testHost)
76
public async Task MultipleReferencesToDifferentDocument(
TestHost
testHost)
97
public async Task ReferenceWithinGeneric(
TestHost
testHost)
117
public async Task QualifiedReferenceWithinGeneric(
TestHost
testHost)
139
public async Task QualifiedReferenceThroughStaticWithinGeneric(
TestHost
testHost)
165
public async Task ReferenceToPartialType(
TestHost
testHost)
190
public async Task NoReferenceToNamespace(
TestHost
testHost)
213
public async Task ReferenceAcrossProjects(
TestHost
testHost)
Microsoft.CodeAnalysis.EditorFeatures.Test.Utilities (32)
Classification\AbstractClassifierTests.cs (22)
28
protected abstract Task<ImmutableArray<ClassifiedSpan>> GetClassificationSpansAsync(string text, ImmutableArray<TextSpan> spans, ParseOptions? parseOptions,
TestHost
testHost);
35
protected abstract Task DefaultTestAsync(string code, string allCode,
TestHost
testHost, FormattedClassification[] expected);
40
TestHost
testHost,
75
TestHost
testHost,
87
TestHost
testHost,
94
TestHost
testHost,
100
TestHost
testHost,
108
TestHost
testHost,
115
TestHost
testHost,
127
TestHost
testHost,
137
TestHost
testHost,
146
TestHost
testHost,
154
TestHost
testHost,
165
TestHost
testHost,
177
TestHost
testHost,
190
TestHost
testHost,
201
TestHost
testHost,
211
TestHost
testHost,
219
TestHost
testHost,
228
TestHost
testHost,
236
TestHost
testHost,
247
TestHost
testHost,
NavigateTo\AbstractNavigateToTests.cs (6)
86
protected async Task TestAsync(
TestHost
testHost, Composition composition, string content, Func<EditorTestWorkspace, Task> body)
99
protected async Task TestAsync(
TestHost
testHost, Composition composition, XElement content, Func<EditorTestWorkspace, Task> body)
113
string content, Func<EditorTestWorkspace, Task> body,
TestHost
testHost,
121
XElement content, Func<EditorTestWorkspace, Task> body,
TestHost
testHost,
130
TestHost
testHost,
142
TestHost
testHost,
TaskList\AbstractTaskListTests.cs (4)
20
private static readonly TestComposition s_outOffProcessComposition = s_inProcessComposition.WithTestHostParts(
TestHost
.OutOfProcess);
22
protected EditorTestWorkspace CreateWorkspace(string codeWithMarker,
TestHost
host)
23
=> CreateWorkspace(codeWithMarker, host ==
TestHost
.OutOfProcess ? s_outOffProcessComposition : s_inProcessComposition);
27
protected async Task TestAsync(string codeWithMarker,
TestHost
host)
Microsoft.CodeAnalysis.EditorFeatures.UnitTests (131)
Diagnostics\DiagnosticAnalyzerServiceTests.cs (1)
910
internal async Task TestGeneratorProducedDiagnostics(bool fullSolutionAnalysis, bool analyzeProject,
TestHost
testHost)
InheritanceMargin\InheritanceMarginTests.cs (80)
28
private static readonly TestComposition s_outOffProcessComposition = s_inProcessComposition.WithTestHostParts(
TestHost
.OutOfProcess);
32
private static Task VerifyNoItemForDocumentAsync(string markup, string languageName,
TestHost
testHost)
38
TestHost
testHost,
61
composition: testHost ==
TestHost
.InProcess ? s_inProcessComposition : s_outOffProcessComposition);
71
TestHost
testHost,
92
composition: testHost ==
TestHost
.InProcess ? s_inProcessComposition : s_outOffProcessComposition);
193
TestHost
testHost)
218
composition: testHost ==
TestHost
.InProcess ? s_inProcessComposition : s_outOffProcessComposition);
369
public Task TestCSharpClassWithErrorBaseType(
TestHost
testHost)
378
public Task TestCSharpReferencingMetadata(
TestHost
testHost)
407
public Task TestCSharpClassImplementingInterface(
TestHost
testHost)
441
public Task TestCSharpInterfaceImplementingInterface(
TestHost
testHost)
474
public Task TestCSharpClassInheritsClass(
TestHost
testHost)
507
[InlineData("class",
TestHost
.InProcess)]
508
[InlineData("class",
TestHost
.OutOfProcess)]
509
[InlineData("struct",
TestHost
.InProcess)]
510
[InlineData("struct",
TestHost
.OutOfProcess)]
511
[InlineData("enum",
TestHost
.InProcess)]
512
[InlineData("enum",
TestHost
.OutOfProcess)]
513
[InlineData("interface",
TestHost
.InProcess)]
514
[InlineData("interface",
TestHost
.OutOfProcess)]
515
public Task TestCSharpTypeWithoutBaseType(string typeName,
TestHost
testHost)
524
[InlineData("public Bar() { }",
TestHost
.InProcess)]
525
[InlineData("public Bar() { }",
TestHost
.OutOfProcess)]
526
[InlineData("public static void Bar3() { }",
TestHost
.InProcess)]
527
[InlineData("public static void Bar3() { }",
TestHost
.OutOfProcess)]
528
[InlineData("public static void ~Bar() { }",
TestHost
.InProcess)]
529
[InlineData("public static void ~Bar() { }",
TestHost
.OutOfProcess)]
530
[InlineData("public static Bar operator +(Bar a, Bar b) => new Bar();",
TestHost
.InProcess)]
531
[InlineData("public static Bar operator +(Bar a, Bar b) => new Bar();",
TestHost
.OutOfProcess)]
532
public Task TestCSharpSpecialMember(string memberDeclaration,
TestHost
testHost)
554
public Task TestCSharpEventDeclaration(
TestHost
testHost)
613
public Task TestCSharpEventFieldDeclarations(
TestHost
testHost)
686
public Task TestCSharpInterfaceMembers(
TestHost
testHost)
811
[InlineData("abstract",
TestHost
.InProcess)]
812
[InlineData("abstract",
TestHost
.OutOfProcess)]
813
[InlineData("virtual",
TestHost
.InProcess)]
814
[InlineData("virtual",
TestHost
.OutOfProcess)]
815
public Task TestCSharpAbstractClassMembers(string modifier,
TestHost
testHost)
911
public Task TestCSharpOverrideMemberCanFindImplementingInterface(bool testDuplicate,
TestHost
testHost)
1048
[InlineData("abstract",
TestHost
.InProcess)]
1049
[InlineData("abstract",
TestHost
.OutOfProcess)]
1050
[InlineData("virtual",
TestHost
.InProcess)]
1051
[InlineData("virtual",
TestHost
.OutOfProcess)]
1052
public Task TestCSharpAbstractClassMembers_LooseMatch(string modifier,
TestHost
testHost)
1148
public Task TestCSharpFindGenericsBaseType(
TestHost
testHost)
1206
public Task TestCSharpExplicitInterfaceImplementation(
TestHost
testHost)
1265
public Task TestStaticAbstractMemberInterface(
TestHost
testHost)
1401
public Task TestCSharpPartialClass(
TestHost
testHost)
1451
public Task TestEmptyFileSingleGlobalImportInOtherFile(
TestHost
testHost)
1463
public Task TestEmptyFileMultipleGlobalImportInOtherFile(
TestHost
testHost)
1485
public Task TestFileWithUsing_SingleGlobalImportInOtherFile(
TestHost
testHost)
1500
public Task TestIgnoreGlobalImportFromSameFile(
TestHost
testHost)
1520
public Task TestVisualBasicWithErrorBaseType(
TestHost
testHost)
1531
public Task TestVisualBasicReferencingMetadata(
TestHost
testHost)
1563
public Task TestVisualBasicClassImplementingInterface(
TestHost
testHost)
1597
public Task TestVisualBasicInterfaceImplementingInterface(
TestHost
testHost)
1625
public Task TestVisualBasicClassInheritsClass(
TestHost
testHost)
1653
[InlineData("Class",
TestHost
.InProcess)]
1654
[InlineData("Class",
TestHost
.OutOfProcess)]
1655
[InlineData("Structure",
TestHost
.InProcess)]
1656
[InlineData("Structure",
TestHost
.OutOfProcess)]
1657
[InlineData("Enum",
TestHost
.InProcess)]
1658
[InlineData("Enum",
TestHost
.OutOfProcess)]
1659
[InlineData("Interface",
TestHost
.InProcess)]
1660
[InlineData("Interface",
TestHost
.OutOfProcess)]
1661
public Task TestVisualBasicTypeWithoutBaseType(string typeName,
TestHost
testHost)
1669
public Task TestVisualBasicMetadataInterface(
TestHost
testHost)
1698
public Task TestVisualBasicEventStatement(
TestHost
testHost)
1752
public Task TestVisualBasicEventBlock(
TestHost
testHost)
1807
public Task TestVisualBasicInterfaceMembers(
TestHost
testHost)
1890
public Task TestVisualBasicMustInheritClassMember(
TestHost
testHost)
1946
public Task TestVisualBasicOverrideMemberCanFindImplementingInterface(bool testDuplicate,
TestHost
testHost)
2089
public Task TestVisualBasicFindGenericsBaseType(
TestHost
testHost)
2170
public Task TestCSharpProjectReferencingVisualBasicProject(
TestHost
testHost)
2230
public Task TestVisualBasicProjectReferencingCSharpProject(
TestHost
testHost)
2304
public Task TestSameNameSymbolInDifferentLanguageProjects(
TestHost
testHost)
2369
public Task TestSameNameSymbolInSameLanguageProjects(
TestHost
testHost)
2434
public Task TestHiddenLocationSymbol(
TestHost
testHost)
2451
public async Task TestNoResultOutsideSpan(
TestHost
testHost)
SymbolFinder\SymbolFinderTests.cs (21)
48
private static TestWorkspace CreateWorkspace(
TestHost
host)
55
public async Task ImmediatelyDerivedTypes_CSharp(
TestHost
host)
96
public async Task ImmediatelyDerivedInterfaces_CSharp(
TestHost
host)
143
public async Task ImmediatelyDerivedTypes_CSharp_AliasedNames(
TestHost
host)
188
public async Task ImmediatelyDerivedTypes_CSharp_PortableProfile7(
TestHost
host)
229
public async Task ImmediatelyDerivedTypes_VisualBasic(
TestHost
host)
271
public async Task ImmediatelyDerivedTypes_CrossLanguage(
TestHost
host)
313
public async Task ImmediatelyDerivedAndImplementingInterfaces_CSharp(
TestHost
host)
353
public async Task ImmediatelyDerivedInterfaces_VisualBasic(
TestHost
host)
394
public async Task ImmediatelyDerivedAndImplementingInterfaces_CrossLanguage(
TestHost
host)
434
public async Task DerivedMetadataClasses(
TestHost
host)
465
public async Task DerivedSourceInterfaces(
TestHost
host)
514
public async Task ImplementingSourceTypes(
TestHost
host)
566
public async Task ImplementingTypesDoesProduceDelegates(
TestHost
host)
593
public async Task ImplementingTypesDoesProduceEnums(
TestHost
host)
624
public async Task DependentTypeFinderSkipsNoCompilationLanguages(
TestHost
host)
667
public async Task TestDerivedTypesWithIntermediaryType1(
TestHost
host)
731
public async Task ImplementedInterface_CSharp1(
TestHost
host)
774
public async Task ImplementedInterface_CSharp2(
TestHost
host)
802
public async Task FindSourceDefinition_CrossAssembly(
TestHost
host)
840
public async Task FindSourceDefinition_CrossAssembly_WithFrozen(
TestHost
host)
ValueTracking\AbstractBaseValueTrackingTests.cs (1)
21
protected TestWorkspace CreateWorkspace(string code,
TestHost
testHost)
ValueTracking\CSharpValueTrackingTests.cs (20)
20
public async Task TestProperty(
TestHost
testHost)
55
public async Task TestPropertyWithThis(
TestHost
testHost)
90
public async Task TestField(
TestHost
testHost)
127
public async Task TestFieldWithThis(
TestHost
testHost)
164
public async Task TestLocal(
TestHost
testHost)
193
public async Task TestParameter(
TestHost
testHost)
221
public async Task TestParameter2(
TestHost
testHost)
270
public async Task TestMissingOnMethod(
TestHost
testHost)
290
public async Task TestMissingOnClass(
TestHost
testHost)
310
public async Task TestMissingOnNamespace(
TestHost
testHost)
333
public async Task MethodTracking1(
TestHost
testHost)
451
public async Task MethodTracking2(
TestHost
testHost)
628
public async Task MethodTracking3(
TestHost
testHost)
704
public async Task OutParam(
TestHost
testHost)
777
public async Task TestVariableReferenceStart(
TestHost
testHost)
841
public async Task TestVariableReferenceStart2(
TestHost
testHost)
905
public async Task TestVariableReferenceStart3(
TestHost
testHost)
976
public async Task TestMultipleDeclarators(
TestHost
testHost)
1047
public async Task TestIndex(
TestHost
testHost)
1104
public async Task TestPropertyValue(
TestHost
testHost)
ValueTracking\VisualBasicValueTrackingTests.cs (8)
20
public async Task TestProperty(
TestHost
testHost)
62
public async Task TestPropertyValue(
TestHost
testHost)
115
public async Task TestField(
TestHost
testHost)
152
public async Task TestLocal(
TestHost
testHost)
181
public async Task TestParameter(
TestHost
testHost)
209
public async Task TestVariableReferenceStart(
TestHost
testHost)
270
public async Task TestVariableReferenceStart2(
TestHost
testHost)
331
public async Task TestMultipleDeclarators(
TestHost
testHost)
Microsoft.CodeAnalysis.Features.Test.Utilities (1)
RelatedDocuments\AbstractRelatedDocumentsTests.cs (1)
22
protected static async Task TestAsync(string testMarkup,
TestHost
testHost)
Microsoft.CodeAnalysis.Features.UnitTests (3)
EditAndContinue\RemoteEditAndContinueServiceTests.cs (3)
41
public async Task Proxy(
TestHost
testHost)
46
if (testHost ==
TestHost
.InProcess)
59
if (testHost ==
TestHost
.InProcess)
Microsoft.CodeAnalysis.Workspaces.Test.Utilities (4)
MEF\FeaturesTestCompositions.cs (2)
29
public static TestComposition WithTestHostParts(this TestComposition composition,
TestHost
host)
30
=> (host ==
TestHost
.InProcess) ? composition : composition.AddAssemblies(typeof(RemoteWorkspacesResources).Assembly).AddParts(typeof(InProcRemoteHostClientProvider.Factory));
WorkspaceTestUtilities.cs (2)
14
public static Workspace CreateWorkspaceWithPartialSemantics(Type[]? additionalParts = null,
TestHost
testHost =
TestHost
.InProcess)
Microsoft.CodeAnalysis.Workspaces.UnitTests (61)
FindAllDeclarationsTests.cs (3)
115
public Task FindDeclarationsAsync_Test_Cancellation(
TestHost
testHost)
124
public async Task FindDeclarationsAsync_Metadata(
TestHost
testHost)
147
public async Task FindDeclarationsAsync_PreviousSubmission(
TestHost
testHost)
FindAllDeclarationsTests.TestSolutionsAndProject.cs (9)
75
private Workspace CreateWorkspace(
TestHost
testHost =
TestHost
.OutOfProcess)
80
if (testHost ==
TestHost
.OutOfProcess)
89
private Workspace CreateWorkspaceWithSingleProjectSolution(
TestHost
testHost, string[] sourceTexts, out Solution solution)
106
private Workspace CreateWorkspaceWithMultipleProjectSolution(
TestHost
testHost, string[] sourceTexts, out Solution solution)
123
private Workspace CreateWorkspaceWithSolution(SolutionKind solutionKind, out Solution solution,
TestHost
testHost =
TestHost
.OutOfProcess)
138
private Workspace CreateWorkspaceWithProject(SolutionKind solutionKind, out Project project,
TestHost
testHost =
TestHost
.OutOfProcess)
Remote\ServiceDescriptorTests.cs (1)
367
var hostServices = FeaturesTestCompositions.Features.WithTestHostParts(Testing.
TestHost
.OutOfProcess).GetHostServices();
SolutionTests\SolutionTestHelpers.cs (4)
16
public static Workspace CreateWorkspace(Type[]? additionalParts = null,
TestHost
testHost =
TestHost
.InProcess)
19
public static Workspace CreateWorkspaceWithPartialSemantics(
TestHost
testHost =
TestHost
.InProcess)
SolutionTests\SolutionWithSourceGeneratorTests.cs (44)
37
bool fetchCompilationBeforeAddingAdditionalFile,
TestHost
testHost)
75
public async Task WithReferencesMethodCorrectlyUpdatesWithEqualReferences(
TestHost
testHost)
123
public async Task WithReferencesMethodCorrectlyAddsAndRemovesRunningGenerators(
TestHost
testHost)
154
public async Task GeneratorAddedWithDifferentFilePathsProducesDistinctDocumentIds(
TestHost
testHost)
248
public async Task SourceGeneratorContentStillIncludedAfterSourceFileChange(
TestHost
testHost)
288
TestHost
testHost)
332
TestHost
testHost, bool forceFreeze)
360
public async Task DocumentIdOfGeneratedDocumentsIsStable(
TestHost
testHost)
382
public async Task DocumentIdGuidInDifferentProjectsIsDifferent(
TestHost
testHost)
413
public async Task CompilationsInCompilationReferencesIncludeGeneratedSourceFiles(
TestHost
testHost)
438
public async Task GetDocumentWithGeneratedTreeReturnsGeneratedDocument(
TestHost
testHost)
452
public async Task GetDocumentWithGeneratedTreeForInProgressReturnsGeneratedDocument(
TestHost
testHost)
475
public async Task TreeReusedIfGeneratedFileDoesNotChangeBetweenRuns(
TestHost
testHost)
495
public async Task TreeNotReusedIfParseOptionsChangeChangeBetweenRuns(
TestHost
testHost)
517
public async Task ChangeToDocumentThatDoesNotImpactGeneratedDocumentReusesDeclarationTree(bool generatorProducesTree,
TestHost
testHost)
571
public async Task CompilationNotCreatedByFetchingGeneratedFilesIfNoGeneratorsPresent(
TestHost
testHost)
583
public async Task OpenSourceGeneratedUpdatedToBufferContentsWhenCallingGetOpenDocumentInCurrentContextWithChanges(
TestHost
testHost)
607
public async Task OpenSourceGeneratedFileDoesNotCreateNewSnapshotIfContentsKnownToMatch(
TestHost
testHost)
626
public async Task OpenSourceGeneratedFileMatchesBufferContentsEvenIfGeneratedFileIsMissingIsRemoved(
TestHost
testHost)
654
public async Task OpenSourceGeneratedDocumentUpdatedAndVisibleInProjectReference(
TestHost
testHost)
685
public async Task OpenSourceGeneratedDocumentsUpdateIsDocumentOpenAndCloseWorks(
TestHost
testHost)
710
public async Task FreezingSolutionEnsuresGeneratorsDoNotRun(bool forkBeforeFreeze,
TestHost
testHost)
743
public async Task ForkAfterForceFreezeNoLongerRunsGenerators(
TestHost
testHost)
772
public async Task ForkAfterFreezeOfCompletedDocumentStillRunsGenerators(
TestHost
testHost)
801
public async Task LinkedDocumentOfFrozenShouldNotRunSourceGenerator(
TestHost
testHost)
834
public async Task DynamicFilesNotPassedToSourceGenerators(
TestHost
testHost)
862
public async Task FreezingSourceGeneratedDocumentsWorks(
TestHost
testHost)
895
public async Task FreezingSourceGeneratedDocumentsInTwoProjectsWorks(
TestHost
testHost)
920
public async Task FreezingWithSameContentDoesNotFork(
TestHost
testHost)
938
public async Task TestChangingGeneratorChangesChecksum(
TestHost
testHost)
978
public async Task WithDocumentTexts_OrdinaryAndSourceGeneratedDocuments(
TestHost
testHost)
1010
public async Task WithSyntaxRootWorksOnSourceGeneratedDocument(
TestHost
testHost)
1040
public async Task WithSyntaxRootWorksOnSourceGeneratedDocument_OldCSharpVersion(
TestHost
testHost)
1080
public async Task WithSyntaxRootWorksOnSourceGeneratedDocument_SameRoot_Noop(
TestHost
testHost)
1108
public async Task WithSyntaxRootOnSourceGeneratedDocument_AnnotationsPreserved(
TestHost
testHost)
1135
public async Task WithTextWorksOnSourceGeneratedDocument(
TestHost
testHost)
1163
public async Task WithTextWorksOnSourceGeneratedDocument_Multiple(
TestHost
testHost)
1195
public async Task MultipleWithTextUnfreezesFully(
TestHost
testHost)
1249
public async Task WithTextWorksOnUnrealizedGeneratedDocument(
TestHost
testHost)
1284
public async Task WithSyntaxRootWorksOnUnrealizedGeneratedDocument(
TestHost
testHost)
1321
public async Task SolutionChanges_IncludesFrozenSourceGeneratedDocuments(
TestHost
testHost)
1352
public async Task SolutionChanges_ExcludesRemovedFrozenSourceGeneratedDocuments(
TestHost
testHost)
1404
using var workspace = CreateWorkspace([],
TestHost
.OutOfProcess);
1493
composition: FeaturesTestCompositions.Features.WithTestHostParts(
TestHost
.OutOfProcess));
Roslyn.VisualStudio.Next.UnitTests (5)
Remote\RemoteHostClientServiceFactoryTests.cs (1)
25
private static readonly TestComposition s_composition = FeaturesTestCompositions.Features.WithTestHostParts(
TestHost
.OutOfProcess);
Remote\SnapshotSerializationTests.cs (1)
42
=> new AdhocWorkspace(FeaturesTestCompositions.Features.AddParts(additionalParts).WithTestHostParts(
TestHost
.OutOfProcess).GetHostServices());
Services\ServiceHubServicesTests.cs (1)
51
composition: FeaturesTestCompositions.Features.WithTestHostParts(
TestHost
.OutOfProcess)
Services\SolutionServiceTests.cs (1)
35
private static readonly TestComposition s_composition = FeaturesTestCompositions.Features.WithTestHostParts(
TestHost
.OutOfProcess);
Services\VisualStudioDiagnosticAnalyzerExecutorTests.cs (1)
247
var composition = EditorTestCompositions.EditorFeatures.WithTestHostParts(
TestHost
.OutOfProcess);