305 types derived from CSharpTestBase
InteractiveHost.UnitTests (1)
AbstractInteractiveHostTests.cs (1)
26public abstract class AbstractInteractiveHostTests : CSharpTestBase, IAsyncLifetime
Microsoft.CodeAnalysis.CSharp.CodeStyle.UnitTests (1)
src\Analyzers\CSharp\Tests\RemoveAsyncModifier\RemoveAsyncModifierTests.cs (1)
20public class RemoveAsyncModifierTests : CodeAnalysis.CSharp.Test.Utilities.CSharpTestBase
Microsoft.CodeAnalysis.CSharp.CommandLine.UnitTests (2)
CommandLineTestBase.cs (1)
22public abstract class CommandLineTestBase : CSharpTestBase
LocalizationInfraTests.cs (1)
16public sealed class LocalizationInfraTests : CSharpTestBase
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (1)
SymbolKey\SymbolKeyTestBase.cs (1)
19public abstract class SymbolKeyTestBase : CSharpTestBase
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (48)
BreakingChanges.cs (1)
17public class BreakingChanges : CSharpTestBase
CodeGen\CodeGenAwaitUsingTests.cs (1)
16public class CodeGenAwaitUsingTests : CSharpTestBase
CodeGen\CodeGenCapturing.cs (1)
21public class CodeGenCapturing : CSharpTestBase
CodeGen\CodeGenCheckedTests.cs (1)
17public class CodeGenCheckedTests : CSharpTestBase
CodeGen\CodeGenClosureLambdaTests.cs (1)
17public class CodeGenClosureLambdaTests : CSharpTestBase
CodeGen\CodeGenConditionalOperatorTests.cs (1)
14public class CodeGenConditionalOperatorTests : CSharpTestBase
CodeGen\CodeGenConstructorInitTests.cs (1)
19public class CodeGenConstructorInitTests : CSharpTestBase
CodeGen\CodeGenConversionTests.cs (1)
16public class CodeGenConversionTests : CSharpTestBase
CodeGen\CodeGenDeconstructTests.cs (1)
20public class CodeGenDeconstructTests : CSharpTestBase
CodeGen\CodeGenDisplayClassOptimisationTests.cs (1)
14public class CodeGenDisplayClassOptimizationTests : CSharpTestBase
CodeGen\CodeGenDynamicTests.cs (1)
22public class CodeGen_DynamicTests : CSharpTestBase
CodeGen\CodeGenExplicitImplementationTests.cs (1)
21public class CodeGenExplicitImplementationTests : CSharpTestBase
CodeGen\CodeGenExprLambdaTests.cs (1)
18public class CodeGenExprLambdaTests : CSharpTestBase
CodeGen\CodeGenFieldInitTests.cs (1)
16public class CodeGenFieldInitTests : CSharpTestBase
CodeGen\CodeGenForEachTests.cs (1)
18public class CodeGenForEachTests : CSharpTestBase
CodeGen\CodeGenFunctionPointersTests.cs (1)
26public class CodeGenFunctionPointersTests : CSharpTestBase
CodeGen\CodeGenImplicitImplementationTests.cs (1)
20public class CodeGenImplicitImplementationTests : CSharpTestBase
CodeGen\CodeGenIncrementTests.cs (1)
16public class CodeGenIncrementTests : CSharpTestBase
CodeGen\CodeGenInterfaceImplementation.cs (1)
20public class CodeGenInterfaceImplementationTests : CSharpTestBase
CodeGen\CodeGenInterpolatedString.cs (1)
15public class InterpolatedStringTests : CSharpTestBase
CodeGen\CodeGenIterators.cs (1)
15public class CodeGenIterators : CSharpTestBase
CodeGen\CodeGenLocalFunctionTests.cs (1)
42public class CodeGenLocalFunctionTests : CSharpTestBase
CodeGen\CodeGenOperators.cs (1)
19public class CodeGenOperators : CSharpTestBase
CodeGen\CodeGenOptimizedNullableOperators.cs (1)
17public partial class CodeGenOptimizedNullableOperatorTests : CSharpTestBase
CodeGen\CodeGenOverridingAndHiding.cs (1)
18public class CodeGenOverridingAndHidingTests : CSharpTestBase
CodeGen\CodeGenReadOnlySpanConstructionTest.cs (1)
18public class CodeGenReadOnlySpanConstructionTest : CSharpTestBase
CodeGen\CodeGenRefConditionalOperatorTests.cs (1)
16public class CodeGenRefConditionalOperatorTests : CSharpTestBase
CodeGen\CodeGenRefOutTests.cs (1)
14public class CodeGenRefOutTests : CSharpTestBase
CodeGen\CodeGenScriptTests.cs (1)
15public class CodeGenScriptTests : CSharpTestBase
CodeGen\CodeGenShortCircuitOperatorTests.cs (1)
14public class CodeGenShortCircuitOperatorTests : CSharpTestBase
CodeGen\CodeGenStringConcat.cs (1)
13public class StringConcatTests : CSharpTestBase
CodeGen\CodeGenTests.cs (1)
22public class CodeGenTests : CSharpTestBase
CodeGen\CodeGenThrowTests.cs (1)
14public class CodeGenThrowTests : CSharpTestBase
CodeGen\CodeGenTryFinally.cs (1)
14public class CodeGenTryFinallyTests : CSharpTestBase
CodeGen\CodeGenTupleEqualityTests.cs (1)
17public class CodeGenTupleEqualityTests : CSharpTestBase
CodeGen\CodeGenTupleTest.cs (1)
30public class CodeGenTupleTests : CSharpTestBase
CodeGen\CodeGenTypeofTests.cs (1)
17public class CodeGenTypeOfTests : CSharpTestBase
CodeGen\IndexAndRangeTests.cs (1)
18public class IndexAndRangeTests : CSharpTestBase
CodeGen\IndexerTests.cs (1)
19public class IndexerTests : CSharpTestBase
CodeGen\WinMdDelegateTests.cs (1)
20public class WinMdDelegateTests : CSharpTestBase
Emit\DesktopStrongNameProviderTests.cs (1)
16public partial class DesktopStrongNameProviderTests : CSharpTestBase
Emit\DynamicAnalysis\DynamicAnalysisResourceTests.cs (1)
21public class DynamicAnalysisResourceTests : CSharpTestBase
Emit\DynamicAnalysis\DynamicInstrumentationTests.cs (1)
18public class DynamicInstrumentationTests : CSharpTestBase
Emit\InAttributeModifierTests.cs (1)
17public class InAttributeModifierTests : CSharpTestBase
Emit\OptionalArgumentsTests.cs (1)
17public class OptionalArgumentsTests : CSharpTestBase
Emit\ResourceTests.cs (1)
24public class ResourceTests : CSharpTestBase
Perf.cs (1)
12public class Perf : CSharpTestBase
PrivateProtected.cs (1)
18public class PrivateProtected : CSharpTestBase
Microsoft.CodeAnalysis.CSharp.Emit2.UnitTests (19)
CodeGen\CodeGenCallTests.cs (1)
21public class CodeGenCallTests : CSharpTestBase
CodeGen\CodeGenLengthBasedSwitchTests.cs (1)
13public class CodeGenLengthBasedSwitchTests : CSharpTestBase
CodeGen\CodeGenMethodGroupConversionCachingTests.cs (1)
16public class CodeGenMethodGroupConversionCachingTests : CSharpTestBase
CodeGen\CodeGenSpanBasedStringConcatTests.cs (1)
14public class CodeGenSpanBasedStringConcatTests : CSharpTestBase
CodeGen\IndexAndRangeTests.cs (1)
16public class IndexAndRangeTests : CSharpTestBase
Emit\ManagedAddressTests.cs (1)
16public class ManagedAddressTests : CSharpTestBase
Emit\NumericIntPtrTests.cs (1)
28public class NumericIntPtrTests : CSharpTestBase
Emit\RuntimeProbing\ModuleCancellationTests.cs (1)
15public sealed class ModuleCancellationTests : CSharpTestBase
Emit\RuntimeProbing\StackOverflowProbingTests.cs (1)
14public sealed class StackOverflowProbingTests : CSharpTestBase
Emit\UnmanagedTypeModifierTests.cs (1)
15public class UnmanagedTypeModifierTests : CSharpTestBase
PDB\CheckSumTest.cs (1)
18public class CheckSumTest : CSharpTestBase
PDB\CSharpDeterministicBuildCompilationTests.cs (1)
27public class CSharpDeterministicBuildCompilationTests : CSharpTestBase, IEnumerable<object[]>
PDB\CSharpPDBTestBase.cs (1)
18public class CSharpPDBTestBase : CSharpTestBase
PDB\PDBAsyncTests.cs (1)
19public class PDBAsyncTests : CSharpTestBase
PDB\PDBConstantTests.cs (1)
17public class PDBConstantTests : CSharpTestBase
PDB\PDBDynamicLocalsTests.cs (1)
14public class PDBDynamicLocalsTests : CSharpTestBase
PDB\PDBEmbeddedSourceTests.cs (1)
19public class PDBEmbeddedSourceTests : CSharpTestBase
PDB\PDBWinMdExpTests.cs (1)
14public class PDBWinMdExpTests : CSharpTestBase
PDB\TypeDefinitionDocumentTests.cs (1)
20public class TypeDefinitionDocumentTests : CSharpTestBase
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (30)
Attributes\AttributeTests_Assembly.cs (1)
24public class AssemblyAttributeTests : CSharpTestBase
Attributes\AttributeTests_Embedded.cs (1)
15public class AttributeTests_Embedded : CSharpTestBase
Attributes\AttributeTests_Experimental.cs (1)
13public class AttributeTests_WindowsExperimental : CSharpTestBase
Attributes\AttributeTests_IsByRefLike.cs (1)
22public class AttributeTests_IsByRefLike : CSharpTestBase
Attributes\AttributeTests_IsUnmanaged.cs (1)
22public class AttributeTests_IsUnmanaged : CSharpTestBase
Attributes\AttributeTests_LifetimeAnnotation.cs (1)
20public class AttributeTests_ScopedRef : CSharpTestBase
Attributes\AttributeTests_Locations.cs (1)
16public class AttributeTests_Locations : CSharpTestBase
Attributes\AttributeTests_NativeInteger.cs (1)
21public class AttributeTests_NativeInteger : CSharpTestBase
Attributes\AttributeTests_Nullable.cs (1)
23public class AttributeTests_Nullable : CSharpTestBase
Attributes\AttributeTests_NullableContext.cs (1)
18public class AttributeTests_NullableContext : CSharpTestBase
Attributes\AttributeTests_NullablePublicOnly.cs (1)
19public class AttributeTests_NullablePublicOnly : CSharpTestBase
Attributes\AttributeTests_ReadOnlyStruct.cs (1)
21public class ReadOnlyStruct : CSharpTestBase
Attributes\AttributeTests_RefReadOnly.cs (1)
19public class AttributeTests_RefReadOnly : CSharpTestBase
Attributes\AttributeTests_RefSafetyRules.cs (1)
17public class AttributeTests_RefSafetyRules : CSharpTestBase
Attributes\AttributeTests_StructLayout.cs (1)
20public class AttributeTests_StructLayout : CSharpTestBase
Attributes\EmitTestStrongNameProvider.cs (1)
18public partial class InternalsVisibleToAndStrongNameTests : CSharpTestBase
Attributes\InternalsVisibleToAndStrongNameTests.cs (1)
28public partial class InternalsVisibleToAndStrongNameTests : CSharpTestBase
Diagnostics\GetDiagnosticsTests.cs (1)
27public class GetDiagnosticsTests : CSharpTestBase
Diagnostics\MethodGroupConversion.cs (1)
18public class MethodGroupConversion : CSharpTestBase
FieldKeywordTests.cs (1)
18public class FieldKeywordTests : CSharpTestBase
FirstClassSpanTests.cs (1)
18public class FirstClassSpanTests : CSharpTestBase
FlowAnalysis\FlowTests.cs (1)
19public class FlowTests : CSharpTestBase
OverloadResolutionPriorityTests.cs (1)
19public class OverloadResolutionPriorityTests : CSharpTestBase
RefReadonlyParameterTests.cs (1)
19public partial class RefReadonlyParameterTests : CSharpTestBase
RefStructInterfacesTests.cs (1)
19public class RefStructInterfacesTests : CSharpTestBase
RefUnsafeInIteratorAndAsyncTests.cs (1)
12public class RefUnsafeInIteratorAndAsyncTests : CSharpTestBase
Semantics\CollectionExpressionTests.cs (1)
24public class CollectionExpressionTests : CSharpTestBase
Semantics\ExperimentalAttributeTests.cs (1)
19public class ExperimentalAttributeTests : CSharpTestBase
Semantics\LockTests.cs (1)
14public class LockTests : CSharpTestBase
Semantics\PatternMatchingTestBase.cs (1)
22public class PatternMatchingTestBase : CSharpTestBase
Microsoft.CodeAnalysis.CSharp.Features.UnitTests (2)
EditAndContinue\Helpers\EditingTestBase.cs (1)
23public abstract class EditingTestBase : CSharpTestBase
src\Analyzers\CSharp\Tests\RemoveAsyncModifier\RemoveAsyncModifierTests.cs (1)
20public class RemoveAsyncModifierTests : CodeAnalysis.CSharp.Test.Utilities.CSharpTestBase
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (34)
Semantics\AccessibilityTests.cs (1)
17public class AccessibilityTests : CSharpTestBase
Semantics\AnonymousFunctionTests.cs (1)
18public class AnonymousFunctionTests : CSharpTestBase
Semantics\ConditionalOperatorTests.cs (1)
18public class ConditionalOperatorTests : CSharpTestBase
Semantics\DelegateTypeTests.cs (1)
19public class DelegateTypeTests : CSharpTestBase
Semantics\HideByNameTests.cs (1)
16public class HideByNameTests : CSharpTestBase
Semantics\ImplicitObjectCreationTests.cs (1)
17public class ImplicitObjectCreationTests : CSharpTestBase
Semantics\ImportsTests.cs (1)
19public class ImportsTest : CSharpTestBase
Semantics\InteractiveSemanticModelTests.cs (1)
20public partial class SemanticModelTests : CSharpTestBase
Semantics\InteractiveUsingTests.cs (1)
18public class InteractiveUsingTests : CSharpTestBase
Semantics\InterceptorsTests.cs (1)
23public class InterceptorsTests : CSharpTestBase
Semantics\LocalFunctionTests.cs (1)
21public class LocalFunctionsTestBase : CSharpTestBase
Semantics\MethodBodyModelTests.cs (1)
21public class MethodBodyModelTests : CSharpTestBase
Semantics\NameLengthTests.cs (1)
17public class NameLengthTests : CSharpTestBase
Semantics\NameOfTests.cs (1)
18public sealed class NameofTests : CSharpTestBase
Semantics\NativeIntegerTests.cs (1)
24public class NativeIntegerTests : CSharpTestBase
Semantics\NullableContextTests.cs (1)
21public class NullableContextTests : CSharpTestBase
Semantics\NullableReferenceTypesTests.cs (1)
27public class NullableReferenceTypesTests : CSharpTestBase
Semantics\NullableReferenceTypesVsPatterns.cs (1)
15public class NullableReferenceTypesVsPatterns : CSharpTestBase
Semantics\OverloadResolutionPerfTests.cs (1)
19public class OverloadResolutionPerfTests : CSharpTestBase
Semantics\RefExtensionMethodsTests.cs (1)
18public class RefExtensionMethodsTests : CSharpTestBase
Semantics\RefFieldTests.cs (1)
21public class RefFieldTests : CSharpTestBase
Semantics\ScriptSemanticsTests.cs (1)
22public class ScriptSemanticsTests : CSharpTestBase
Semantics\StructConstructorTests.cs (1)
17public class StructConstructorTests : CSharpTestBase
Semantics\SuppressAccessibilityChecksTests.cs (1)
16public class SuppressAccessibilityChecksTests : CSharpTestBase
Semantics\TargetTypedConditionalOperatorTests.cs (1)
17public class TargetTypedConditionalOperatorTests : CSharpTestBase
Semantics\TypeOfTests.cs (1)
16public class TypeofTests : CSharpTestBase
Semantics\UninitializedNonNullableFieldTests.cs (1)
14public class UninitializedNonNullableFieldTests : CSharpTestBase
Semantics\UseSiteErrorTests.cs (1)
21public class UseSiteErrorTests : CSharpTestBase
SourceGeneration\AdditionalSourcesCollectionTests.cs (1)
24: CSharpTestBase
SourceGeneration\GeneratorDriverFuzzTests.cs (1)
31: CSharpTestBase
SourceGeneration\GeneratorDriverTests.cs (1)
26: CSharpTestBase
SourceGeneration\GeneratorDriverTests_Attributes_FullyQualifiedName.cs (1)
41public sealed class GeneratorDriverTests_Attributes_FullyQualifiedName : CSharpTestBase
SourceGeneration\GeneratorDriverTests_Attributes_SimpleName.cs (1)
17public sealed class GeneratorDriverTests_Attributes_SimpleName : CSharpTestBase
SourceGeneration\SyntaxAwareGeneratorTests.cs (1)
24: CSharpTestBase
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (132)
BadSymbolReference.cs (1)
18public class BadSymbolReference : CSharpTestBase
Compilation\CompilationAPITests.cs (1)
35public class CompilationAPITests : CSharpTestBase
Compilation\CSharpCompilationOptionsTests.cs (1)
28public class CSharpCompilationOptionsTests : CSharpTestBase
Compilation\ForEachStatementInfoTests.cs (1)
15public class ForEachStatementInfoTests : CSharpTestBase
Compilation\LoadDirectiveTests.cs (1)
15public class LoadDirectiveTests : CSharpTestBase
Compilation\QueryClauseInfoTests.cs (1)
15public class QueryClauseInfoTests : CSharpTestBase
Compilation\ReferenceManagerTests.cs (1)
24public class ReferenceManagerTests : CSharpTestBase
Compilation\SemanticModelAPITests.cs (1)
21public class SemanticTests : CSharpTestBase
Compilation\SemanticModelGetDeclaredSymbolAPITests.cs (1)
21public partial class SemanticModelTests : CSharpTestBase
Compilation\SymbolSearchTests.cs (1)
15public class SymbolSearchTests : CSharpTestBase
Compilation\SymbolVisitorTests.cs (1)
17public class SymbolVisitorTests : CSharpTestBase
Compilation\TypeInfoTests.cs (1)
14public class TypeInfoTests : CSharpTestBase
Compilation\UsedAssembliesTests.cs (1)
23public class UsedAssembliesTests : CSharpTestBase
CrossLanguageTests.cs (1)
15public class CrossLanguageTests : CSharpTestBase
DeclarationTests.cs (1)
24public class DeclarationTests : CSharpTestBase
DocumentationComments\ConstructorDocumentationCommentTests.cs (1)
16public class ConstructorDocumentationCommentTests : CSharpTestBase
DocumentationComments\CrefTests.cs (1)
21public class CrefTests : CSharpTestBase
DocumentationComments\DestructorDocumentationCommentTests.cs (1)
16public class DestructorDocumentationCommentTests : CSharpTestBase
DocumentationComments\DocumentationCommentCompilerTests.cs (1)
25public class DocumentationCommentCompilerTests : CSharpTestBase
DocumentationComments\DocumentationCommentIDTests.cs (1)
18public class DocumentationCommentIDTests : CSharpTestBase
DocumentationComments\DocumentationModeTests.cs (1)
19public class DocumentationModeTests : CSharpTestBase
DocumentationComments\EventDocumentationCommentTests.cs (1)
16public class EventDocumentationCommentTests : CSharpTestBase
DocumentationComments\FieldDocumentationCommentTests.cs (1)
16public class FieldDocumentationCommentTests : CSharpTestBase
DocumentationComments\IncludeTests.cs (1)
15public class IncludeTests : CSharpTestBase
DocumentationComments\MethodDocumentationCommentTests.cs (1)
18public class MethodDocumentationCommentTests : CSharpTestBase
DocumentationComments\ParameterTests.cs (1)
19public class ParameterTests : CSharpTestBase
DocumentationComments\PartialTypeDocumentationCommentTests.cs (1)
16public class PartialTypeDocumentationCommentTests : CSharpTestBase
DocumentationComments\PropertyDocumentationCommentTests.cs (1)
16public class PropertyDocumentationCommentTests : CSharpTestBase
DocumentationComments\TypeDocumentationCommentTests.cs (1)
17public class TypeDocumentationCommentTests : CSharpTestBase
SymbolDisplay\SymbolDisplayTests.cs (1)
22public class SymbolDisplayTests : CSharpTestBase
Symbols\AccessorOverriddenOrHiddenMembersTests.cs (1)
23public class AccessorOverriddenOrHiddenMembersTests : CSharpTestBase
Symbols\ArrayTypeSymbolTests.cs (1)
21public class ArrayTypeSymbolTests : CSharpTestBase
Symbols\AssemblyAndNamespaceTests.cs (1)
19public class ContainerTests : CSharpTestBase
Symbols\CheckedUserDefinedOperatorsTests.cs (1)
17public class CheckedUserDefinedOperatorsTests : CSharpTestBase
Symbols\CompilationCreationTests.cs (1)
24public class CompilationCreationTests : CSharpTestBase
Symbols\ConversionTests.cs (1)
20public class ConversionTests : CSharpTestBase
Symbols\CorLibrary\Choosing.cs (1)
15public class Choosing : CSharpTestBase
Symbols\CorLibrary\CorTypes.cs (1)
21public class CorTypes : CSharpTestBase
Symbols\CovariantReturnTests.cs (1)
22public class CovariantReturnTests : CSharpTestBase
Symbols\CSharpCompilerFeatureRequiredTests.cs (1)
18private class CompilerFeatureRequiredTests_CSharp : CSharpTestBase { }
Symbols\CustomModifiersTests.cs (1)
19public class CustomModifiersTests : CSharpTestBase
Symbols\DefaultInterfaceImplementationTests.cs (1)
22public class DefaultInterfaceImplementationTests : CSharpTestBase
Symbols\DestructorTests.cs (1)
18public class DestructorTests : CSharpTestBase
Symbols\EnumTests.cs (1)
17public class EnumTests : CSharpTestBase
Symbols\ErrorTypeSymbolTests.cs (1)
18public class ErrorTypeSymbolTests : CSharpTestBase
Symbols\ExtendedPartialMethodsTests.cs (1)
18public class ExtendedPartialMethodsTests : CSharpTestBase
Symbols\ExtensionMethodTests.cs (1)
23public class ExtensionMethodTests : CSharpTestBase
Symbols\FunctionPointerTypeSymbolTests.cs (1)
19public class FunctionPointerTypeSymbolTests : CSharpTestBase
Symbols\GenericConstraintConversionTests.cs (1)
16public class GenericConstraintConversionTests : CSharpTestBase
Symbols\GenericConstraintTests.cs (1)
22public class GenericConstraintTests : CSharpTestBase
Symbols\ImplicitClassTests.cs (1)
17public class ImplicitClassTests : CSharpTestBase
Symbols\IndexedPropertyTests.cs (1)
15public class IndexedPropertyTests : CSharpTestBase
Symbols\IndexerTests.cs (1)
26public class IndexerTests : CSharpTestBase
Symbols\InterfaceImplementationTests.cs (1)
18public class InterfaceImplementationTests : CSharpTestBase
Symbols\InterfaceOverriddenOrHiddenMembersTests.cs (1)
22public class InterfaceOverriddenOrHiddenMembersTests : CSharpTestBase
Symbols\LocalFunctionTests.cs (1)
17public class LocalFunctionTests : CSharpTestBase
Symbols\LookupSymbolsInfoTests.cs (1)
18public class LookupSymbolsInfoTests : CSharpTestBase
Symbols\Metadata\MetadataMemberTests.cs (1)
19public class MetadataMemberTests : CSharpTestBase
Symbols\Metadata\MetadataTypeTests.cs (1)
21public class MetadataTypeTests : CSharpTestBase
Symbols\Metadata\PE\BaseTypeResolution.cs (1)
22public class BaseTypeResolution : CSharpTestBase
Symbols\Metadata\PE\DynamicTransformsTests.cs (1)
18public class DynamicTransformsTests : CSharpTestBase
Symbols\Metadata\PE\HasUnsupportedMetadata.cs (1)
17public class HasUnsupportedMetadata : CSharpTestBase
Symbols\Metadata\PE\LoadCustomModifiers.cs (1)
19public class LoadCustomModifiers : CSharpTestBase
Symbols\Metadata\PE\LoadInAttributeModifier.cs (1)
15public class LoadInAttributeModifier : CSharpTestBase
Symbols\Metadata\PE\LoadingAttributes.cs (1)
20public class LoadingAttributes : CSharpTestBase
Symbols\Metadata\PE\LoadingEvents.cs (1)
18public class LoadingEvents : CSharpTestBase
Symbols\Metadata\PE\LoadingFields.cs (1)
18public class LoadingFields : CSharpTestBase
Symbols\Metadata\PE\LoadingGenericTypeParameters.cs (1)
18public class LoadingGenericTypeParameters : CSharpTestBase
Symbols\Metadata\PE\LoadingIndexers.cs (1)
19public class LoadingIndexers : CSharpTestBase
Symbols\Metadata\PE\LoadingMetadataTokens.cs (1)
13public class LoadingMetadataTokens : CSharpTestBase
Symbols\Metadata\PE\LoadingMethods.cs (1)
22public class LoadingMethods : CSharpTestBase
Symbols\Metadata\PE\LoadingNamespacesAndTypes.cs (1)
21public class LoadingNamespacesAndTypes : CSharpTestBase
Symbols\Metadata\PE\LoadingProperties.cs (1)
20public class LoadingProperties : CSharpTestBase
Symbols\Metadata\PE\MissingTypeReferences.cs (1)
20public class MissingTypeReferences : CSharpTestBase
Symbols\Metadata\PE\NoPia.cs (1)
19public class NoPia : CSharpTestBase
Symbols\Metadata\PE\NoPiaInstantiationOfGenericClassAndStruct.cs (1)
19public class NoPiaInstantiationOfGenericClassAndStruct : CSharpTestBase
Symbols\Metadata\PE\NoPiaLocalHideAndTypeSubstitutionTests.cs (1)
20public class NoPiaLocalHideAndTypeSubstitutionTests : CSharpTestBase
Symbols\Metadata\PE\TypeAccessibility.cs (1)
18public class TypeAccessibility : CSharpTestBase
Symbols\Metadata\PE\TypeForwarders.cs (1)
25public class TypeForwarders : CSharpTestBase
Symbols\Metadata\PE\TypeKindTests.cs (1)
18public class TypeKindTests : CSharpTestBase
Symbols\MethodEqualityTests.cs (1)
16public class MethodEqualityTests : CSharpTestBase
Symbols\MethodImplementationFlagsTests.cs (1)
14public class MethodImplementationFlagsTests : CSharpTestBase
Symbols\MissingSpecialMember.cs (1)
17public class MissingSpecialMember : CSharpTestBase
Symbols\ModuleInitializers\AccessibilityTests.cs (1)
15public sealed class AccessibilityTests : CSharpTestBase
Symbols\ModuleInitializers\GenericsTests.cs (1)
14public sealed class GenericsTests : CSharpTestBase
Symbols\ModuleInitializers\IgnoredTests.cs (1)
16public sealed class IgnoredTests : CSharpTestBase
Symbols\ModuleInitializers\ModuleInitializersTests.cs (1)
21public sealed class ModuleInitializersTests : CSharpTestBase
Symbols\ModuleInitializers\SignatureTests.cs (1)
15public sealed class SignatureTests : CSharpTestBase
Symbols\ModuleInitializers\TargetsTests.cs (1)
14public sealed class TargetsTests : CSharpTestBase
Symbols\NamespaceExtentTests.cs (1)
14public class NamespaceExtentTests : CSharpTestBase
Symbols\OverriddenOrHiddenMembersTests.cs (1)
20public class OverriddenOrHiddenMembersTests : CSharpTestBase
Symbols\PartialPropertiesTests.cs (1)
21public class PartialPropertiesTests : CSharpTestBase
Symbols\PEParameterSymbolTests.cs (1)
17public class PEParameterSymbolTests : CSharpTestBase
Symbols\RelaxedShiftOperatorTests.cs (1)
16public class RelaxedShiftOperatorTests : CSharpTestBase
Symbols\RequiredMembersTests.cs (1)
20public class RequiredMembersTests : CSharpTestBase
Symbols\Retargeting\NoPia.cs (1)
19public class NoPia : CSharpTestBase
Symbols\Retargeting\RetargetCustomAttributes.cs (1)
20public class RetargetCustomAttributes : CSharpTestBase
Symbols\Retargeting\RetargetCustomModifiers.cs (1)
21public class RetargetCustomModifiers : CSharpTestBase
Symbols\Retargeting\RetargetExplicitInterfaceImplementation.cs (1)
18public class RetargetExplicitInterfaceImplementation : CSharpTestBase
Symbols\Retargeting\RetargetingTests.cs (1)
20public class RetargetingTests : CSharpTestBase
Symbols\Source\AccessTests.cs (1)
17public class AccessTests : CSharpTestBase
Symbols\Source\BaseClassTests.cs (1)
24public class BaseClassTests : CSharpTestBase
Symbols\Source\ClsComplianceTests.cs (1)
19public class ClsComplianceTests : CSharpTestBase
Symbols\Source\CompletionTests.cs (1)
19public class CompletionTests : CSharpTestBase
Symbols\Source\CustomModifierCopyTests.cs (1)
26public class CustomModifierCopyTests : CSharpTestBase
Symbols\Source\DeclaringSyntaxNodeTests.cs (1)
19public class DeclaringSyntaxNodeTests : CSharpTestBase
Symbols\Source\DelegateTests.cs (1)
20public class DelegateTests : CSharpTestBase
Symbols\Source\EnumTests.cs (1)
18public class EnumTests : CSharpTestBase
Symbols\Source\EventTests.cs (1)
19public class EventTests : CSharpTestBase
Symbols\Source\ExpressionBodiedMethodTests.cs (1)
15public sealed class ExpressionBodiedMethodTests : CSharpTestBase
Symbols\Source\ExpressionBodiedPropertyTests.cs (1)
16public sealed class ExpressionBodiedPropertyTests : CSharpTestBase
Symbols\Source\ExternAliasTests.cs (1)
18public class ExternAliasTests : CSharpTestBase
Symbols\Source\FieldTests.cs (1)
16public class FieldTests : CSharpTestBase
Symbols\Source\FileModifierTests.cs (1)
26public class FileModifierTests : CSharpTestBase
Symbols\Source\LocationTests.cs (1)
16public class LocationTests : CSharpTestBase
Symbols\Source\MethodTests.cs (1)
22public class MethodTests : CSharpTestBase
Symbols\Source\ModifierTests.cs (1)
17public class ModifierTests : CSharpTestBase
Symbols\Source\NamedTypeTests.cs (1)
12public class NamedTypeTests : CSharpTestBase
Symbols\Source\NullablePublicAPITests.cs (1)
25public class NullablePublicAPITests : CSharpTestBase
Symbols\Source\PropertyTests.cs (1)
21public class PropertyTests : CSharpTestBase
Symbols\Source\SourcePlusMetadataTests.cs (1)
16public class SourcePlusMetadataTests : CSharpTestBase
Symbols\Source\TypeMapTests.cs (1)
19public class TypeMapTests : CSharpTestBase
Symbols\Source\UpdatedContainingSymbolAndNullableAnntotationTests.cs (1)
15public class UpdatedContainingSymbolAndNullableAnnotationTests : CSharpTestBase
Symbols\StaticAbstractMembersInInterfacesTests.cs (1)
26public class StaticAbstractMembersInInterfacesTests : CSharpTestBase
Symbols\SymbolDistinguisherTests.cs (1)
16public class SymbolDistinguisherTests : CSharpTestBase
Symbols\SymbolEqualityTests.cs (1)
18public class SymbolEqualityTests : CSharpTestBase
Symbols\SymbolExtensionTests.cs (1)
18public class SymbolExtensionTests : CSharpTestBase
Symbols\TypedConstantTests.cs (1)
18public class TypedConstantTests : CSharpTestBase
Symbols\TypeResolutionTests.cs (1)
23public class TypeResolutionTests : CSharpTestBase
Symbols\TypeTests.cs (1)
20public class TypeTests : CSharpTestBase
Symbols\TypeUnificationTests.cs (1)
14public class TypeUnificationTests : CSharpTestBase
Symbols\UnsignedRightShiftTests.cs (1)
16public class UnsignedRightShiftTests : CSharpTestBase
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (19)
Diagnostics\DiagnosticTest.cs (1)
25public partial class DiagnosticTest : CSharpTestBase
Diagnostics\LineSpanDirectiveTests.cs (1)
18public class LineSpanDirectiveTests : CSharpTestBase
LexicalAndXml\DisabledRegionTests.cs (1)
13public class DisabledRegionTests : CSharpTestBase
LexicalAndXml\DocumentationCommentLexerTestBase.cs (1)
21public abstract class DocumentationCommentLexerTestBase : CSharpTestBase
LexicalAndXml\LexicalErrorTests.cs (1)
19public class LexicalErrorTests : CSharpTestBase
LexicalAndXml\XmlDocCommentTests.cs (1)
21public class XmlDocCommentTests : CSharpTestBase
Parsing\CSharpParseOptionsTests.cs (1)
18public class CSharpParseOptionsTests : CSharpTestBase
Parsing\ParsingTests.cs (1)
20public abstract class ParsingTests : CSharpTestBase
Parsing\RawInterpolatedStringLiteralParsingTests.cs (1)
10public class RawInterpolatedStringLiteralParsingTests : CSharpTestBase
Syntax\ChildSyntaxListTests.cs (1)
15public class ChildSyntaxListTests : CSharpTestBase
Syntax\FieldAndValueKeywordTests.cs (1)
17public class FieldKeywordTests : CSharpTestBase
Syntax\LambdaUtilitiesTests.cs (1)
17public class LambdaUtilitiesTests : CSharpTestBase
Syntax\SeparatedSyntaxListTests.cs (1)
17public class SeparatedSyntaxListTests : CSharpTestBase
Syntax\SyntaxFactoryTests.cs (1)
20public class SyntaxFactoryTests : CSharpTestBase
Syntax\SyntaxListTests.cs (1)
22public class SyntaxListTests : CSharpTestBase
Syntax\SyntaxNodeCacheTests.cs (1)
15public class SyntaxNodeCacheTests : CSharpTestBase
Syntax\SyntaxNodeOrTokenListTests.cs (1)
16public class SyntaxNodeOrTokenListTests : CSharpTestBase
Syntax\SyntaxTokenListTests.cs (1)
16public class SyntaxTokenListTests : CSharpTestBase
Syntax\SyntaxTriviaListTests.cs (1)
16public class SyntaxTriviaListTests : CSharpTestBase
Microsoft.CodeAnalysis.CSharp.Test.Utilities (3)
CompilingTestBase.cs (1)
18public abstract class CompilingTestBase : CSharpTestBase
EmitMetadataTestBase.cs (1)
22public abstract class EmitMetadataTestBase : CSharpTestBase
SemanticModelTestBase.cs (1)
19public abstract class SemanticModelTestBase : CSharpTestBase
Microsoft.CodeAnalysis.CSharp.WinRT.UnitTests (6)
CodeGen\WinMdEventTests.cs (1)
20public class WinMdEventTests : CSharpTestBase
CodeGen\WinRTCollectionTests.cs (1)
18public class WinRTCollectionTests : CSharpTestBase
Metadata\WinMdDumpTest.cs (1)
24public class WinMdDumpTest : CSharpTestBase
Metadata\WinMdEventTests.cs (1)
24public class WinMdEventTests : CSharpTestBase
Metadata\WinMdMetadataTests.cs (1)
32public class WinMdMetadataTests : CSharpTestBase
PdbTests.cs (1)
16public class PdbTests : CSharpTestBase
Microsoft.CodeAnalysis.ExpressionEvaluator.FunctionResolver.UnitTests (2)
FunctionResolverTestBase.cs (1)
19public abstract class FunctionResolverTestBase : CSharpTestBase
ParsingTestBase.cs (1)
15public abstract class ParsingTestBase : CSharpTestBase
Microsoft.CodeAnalysis.Rebuild.UnitTests (4)
CompilationOptionsReaderTests.cs (1)
27public class CompilationOptionsReaderTests : CSharpTestBase
CSharpRebuildTests.cs (1)
17public class CSharpRebuildTests : CSharpTestBase
OptionRoundTripTests.cs (1)
25public class OptionRoundTripTests : CSharpTestBase
RebuildCommandLineTests.cs (1)
20public sealed partial class RebuildCommandLineTests : CSharpTestBase
SemanticSearch.BuildTask.UnitTests (1)
GenerateFilteredReferenceAssembliesTaskTests.cs (1)
18public sealed class GenerateFilteredReferenceAssembliesTaskTests : CSharpTestBase
55 references to CSharpTestBase
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (11)
CodeGen\CodeGenAsyncIteratorTests.cs (2)
141=> CreateCompilationWithTasksExtensions(new[] { (CSharpTestSource)CSharpTestBase.Parse(source, filename: "source", parseOptions), CSharpTestBase.Parse(AsyncStreamsTypes, filename: "AsyncStreamsTypes", parseOptions) },
CodeGen\CodeGenAsyncTests.cs (7)
3311var comp = CSharpTestBase.CreateEmptyCompilation(source, new[] { Net40.References.mscorlib }, TestOptions.ReleaseDll); // NOTE: 4.0, not 4.5, so it's missing the async helpers. 3341var comp = CSharpTestBase.CreateEmptyCompilation(source, new[] { Net40.References.mscorlib }, TestOptions.ReleaseDll); // NOTE: 4.0, not 4.5, so it's missing the async helpers. 3372var comp = CSharpTestBase.CreateEmptyCompilation(source, new[] { Net40.References.mscorlib }, TestOptions.ReleaseDll); // NOTE: 4.0, not 4.5, so it's missing the async helpers. 5790var comp = CSharpTestBase.CreateCompilation(source, options: TestOptions.ReleaseExe); 5823var comp = CSharpTestBase.CreateCompilation(source, options: TestOptions.ReleaseExe); 5933var comp = CSharpTestBase.CreateCompilation(source, options: TestOptions.ReleaseDll); 6057var comp = CSharpTestBase.CreateCompilation(source);
CodeGen\ObjectAndCollectionInitializerTests.cs (2)
3692var comp = CSharpTestBase.CreateCompilation(source, options: TestOptions.ReleaseExe); 3731var comp = CSharpTestBase.CreateCompilation(source, options: TestOptions.ReleaseExe);
Microsoft.CodeAnalysis.CSharp.Emit2.UnitTests (1)
Emit\EditAndContinue\EditAndContinueTest.cs (1)
34=> CSharpTestBase.CreateCompilation(tree, _references, options: _compilationOptions, assemblyName: _assemblyName, targetFramework: _targetFramework);
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (1)
Semantics\RecordTests.cs (1)
24=> CSharpTestBase.CreateCompilation(new[] { source, IsExternalInitTypeDefinition },
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (4)
Semantics\ImplicitObjectCreationTests.cs (1)
23return CSharpTestBase.CreateCompilation(source, options: options, parseOptions: ImplicitObjectCreationTestOptions, references: references);
Semantics\RecordStructTests.cs (1)
27=> CSharpTestBase.CreateCompilation(new[] { source, IsExternalInitTypeDefinition },
Semantics\SemanticErrorTests.cs (1)
16800var compilation = CSharpTestBase.CreateCompilation(text);
SourceGeneration\AdditionalSourcesCollectionTests.cs (1)
143names[i] = CSharpTestBase.GetUniqueName() + ".cs";
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (9)
Compilation\UsedAssembliesTests.cs (4)
164yield return (comp.ReplaceSyntaxTree(tree, CSharpTestBase.Parse(builder.ToString(), tree.FilePath, (CSharpParseOptions)tree.Options)), before, after); 192yield return (comp.ReplaceSyntaxTree(tree, CSharpTestBase.Parse(builder.ToString(), tree.FilePath, parseOptions)), before, after); 203yield return (comp.ReplaceSyntaxTree(tree, CSharpTestBase.Parse(builder.ToString(), tree.FilePath, parseOptions)). 204AddSyntaxTrees(CSharpTestBase.Parse(globalUsings, "", parseOptions)), before, after);
Symbols\CSharpCompilerFeatureRequiredTests.cs (4)
60return CSharpTestBase.CreateCompilationWithIL(source, ilSource); 65return CSharpTestBase.CreateCompilation(source, references); 553var comp = CSharpTestBase.CreateCompilation(new[] { """ 639""", CSharpTestBase.CompilerFeatureRequiredAttribute });
Symbols\Source\RecordTests.cs (1)
17=> CSharpTestBase.CreateCompilation(new[] { source, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9);
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (6)
IncrementalParsing\IncrementalParsingTests.cs (1)
2896var comp = CSharpTestBase.CreateCompilation(SyntaxFactory.ParseSyntaxTree(String.Empty));
Parsing\StatementParsingTests.cs (4)
3465CSharpTestBase.Diagnostic(ErrorCode.ERR_SyntaxError, "if").WithArguments("when").WithLocation(7, 36)); 3535CSharpTestBase.Diagnostic(ErrorCode.ERR_CloseParenExpected, "").WithLocation(9, 10), 3538CSharpTestBase.Diagnostic(ErrorCode.ERR_SemicolonExpected, "").WithLocation(9, 10), 3541CSharpTestBase.Diagnostic(ErrorCode.ERR_RbraceExpected, "").WithLocation(9, 10));
Syntax\SyntaxRewriterTests.cs (1)
649var oldTree = CSharpTestBase.Parse(oldSource, options: TestOptions.RegularWithDocumentationComments);
Microsoft.CodeAnalysis.CSharp.Test.Utilities (4)
CSharpTestSource.cs (2)
54return CSharpTestBase.Parse(parseOptions, sources); 57return new[] { CSharpTestBase.Parse(source, fileName, parseOptions) };
DiagnosticTestUtilities.cs (2)
47var comp = CSharpTestBase.CreateCompilation(srcs, parseOptions: TestOptions.RegularPreview); 77return VerifyErrorsAndGetCompilation(trees, refs.Concat(CSharpTestBase.MscorlibRef), expectedErrorDesp);
Microsoft.CodeAnalysis.CSharp.WinRT.UnitTests (1)
WinRTUtil.cs (1)
16this CSharpTestBase testBase,
Microsoft.CodeAnalysis.EditorFeatures.UnitTests (2)
Emit\CompilationOutputFilesTests.cs (1)
31var compilation = CSharpTestBase.CreateCompilationWithMscorlib40AndSystemCore(source, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.DebugDll, assemblyName: "lib");
Emit\CompilationOutputsTests.cs (1)
54var compilation = CSharpTestBase.CreateCompilationWithMscorlib40AndSystemCore(source, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.DebugDll, assemblyName: "lib");
Microsoft.CodeAnalysis.Features.Test.Utilities (1)
EditAndContinue\EditAndContinueWorkspaceTestBase.cs (1)
279Compilation compilation = CSharpTestBase.CreateCompilation(trees.ToArray(), options: TestOptions.DebugDll, targetFramework: DefaultTargetFramework, assemblyName: assemblyName);
Microsoft.CodeAnalysis.Features.UnitTests (6)
EditAndContinue\EditAndContinueMethodDebugInfoReaderTests.cs (1)
64var compilation = CSharpTestBase.CreateCompilationWithMscorlib40AndSystemCore(tree, options: TestOptions.DebugDll);
EditAndContinue\EditAndContinueWorkspaceServiceTests.cs (5)
72var compilation = CSharpTestBase.CreateCompilation([sourceTreeA1, sourceTreeB1, sourceTreeC1], options: TestOptions.DebugDll, targetFramework: DefaultTargetFramework, assemblyName: "P"); 2595var compilationV1 = CSharpTestBase.CreateCompilation(sourceV1, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.DebugDll, targetFramework: DefaultTargetFramework, assemblyName: "lib"); 3167var compilationA = CSharpTestBase.CreateCompilation(source1, options: TestOptions.DebugDll, targetFramework: DefaultTargetFramework, assemblyName: "A"); 3168var compilationB = CSharpTestBase.CreateCompilation(source1, options: TestOptions.DebugDll, targetFramework: DefaultTargetFramework, assemblyName: "B"); 3339var compilationV1 = CSharpTestBase.CreateCompilationWithMscorlib40(sourceV1, options: TestOptions.DebugDll, assemblyName: "lib");
Microsoft.CodeAnalysis.Rebuild.UnitTests (7)
CSharpDeterministicKeyBuilderTests.cs (7)
28CSharpTestBase.Parse( 76var compilation = CSharpTestBase.CreateCompilation( 152var source = CSharpTestBase.Parse( 156var compilation = CSharpTestBase.CreateCompilation(source); 188var syntaxTree = CSharpTestBase.Parse( 195var compilation = CSharpTestBase.CreateCompilation(syntaxTree); 218var compilation = CSharpTestBase.CreateCompilation(
Microsoft.VisualStudio.LanguageServices.CSharp.UnitTests (2)
ProjectSystemShim\VisualStudioCompilationOutputFilesTests.cs (2)
38var compilation = CSharpTestBase.CreateCompilationWithMscorlib40AndSystemCore(source, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.DebugDll, assemblyName: "lib"); 87var compilation = CSharpTestBase.CreateCompilationWithMscorlib40AndSystemCore(source, options: TestOptions.DebugDll, assemblyName: "lib");