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