79 types derived from TestBase
Microsoft.Build.Tasks.CodeAnalysis.UnitTests (2)
TargetTests.cs (1)
23public class TargetTests : TestBase
TestUtilities\DotNetSdkTestBase.cs (1)
19public abstract partial class DotNetSdkTestBase : TestBase
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (2)
EditorConfigSettings\Updater\SettingsUpdaterTests.cs (1)
29public partial class SettingsUpdaterTests : TestBase
Workspaces\WorkspaceTests_EditorFeatures.cs (1)
33public class WorkspaceTests_EditorFeatures : TestBase
Microsoft.CodeAnalysis.CSharp.EditorFeatures2.UnitTests (1)
Recommendations\RecommenderTests.cs (1)
23public abstract class RecommenderTests : TestBase
Microsoft.CodeAnalysis.CSharp.Scripting.UnitTests (1)
ScriptOptionsTests.cs (1)
17public class ScriptOptionsTests : TestBase
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (2)
Diagnostics\LocationsTests.cs (1)
18public class LocationsTests : TestBase
LexicalAndXml\PreprocessorTests.cs (1)
67public class PreprocessorTests : TestBase
Microsoft.CodeAnalysis.EditorFeatures.Test.Utilities (7)
Completion\AbstractArgumentProviderTests`1.cs (1)
23public abstract class AbstractArgumentProviderTests<TWorkspaceFixture> : TestBase
Completion\AbstractCompletionProviderTests.cs (1)
35public abstract class AbstractCompletionProviderTests<TWorkspaceFixture> : TestBase
RefactoringHelpers\RefactoringHelpersTestBase.cs (1)
21public abstract class RefactoringHelpersTestBase<TWorkspaceFixture> : TestBase
Rename\RenamerTests.cs (1)
20public abstract class RenamerTests : TestBase
Semantics\SpeculationAnalyzerTestsBase.cs (1)
15public abstract class SpeculationAnalyzerTestsBase : TestBase
SignatureHelp\AbstractSignatureHelpProviderTests.cs (1)
29public abstract class AbstractSignatureHelpProviderTests<TWorkspaceFixture> : TestBase
TypeInferrer\TypeInferrerTestBase.cs (1)
18public abstract class TypeInferrerTestBase<TWorkspaceFixture> : TestBase
Microsoft.CodeAnalysis.EditorFeatures.UnitTests (2)
Emit\CompilationOutputFilesTests.cs (1)
17public class CompilationOutputFilesTests : TestBase
SymbolFinder\DependentTypeFinderTests.cs (1)
25public class SymbolFinderTests : TestBase
Microsoft.CodeAnalysis.Features.Test.Utilities (1)
EditAndContinue\EditAndContinueWorkspaceTestBase.cs (1)
34public abstract class EditAndContinueWorkspaceTestBase : TestBase, IDisposable
Microsoft.CodeAnalysis.Features.UnitTests (1)
EditAndContinue\EditSessionActiveStatementsTests.cs (1)
29public class EditSessionActiveStatementsTests : TestBase
Microsoft.CodeAnalysis.Scripting.Desktop.UnitTests (1)
MetadataShadowCopyProviderTests.cs (1)
25public class MetadataShadowCopyProviderTests : TestBase
Microsoft.CodeAnalysis.Scripting.TestUtilities (1)
ScriptTestBase.cs (1)
23public class ScriptTestBase : TestBase
Microsoft.CodeAnalysis.Scripting.UnitTests (3)
NuGetPackageResolverTests.cs (1)
13public class NuGetPackageResolverTests : TestBase
RuntimeMetadataReferenceResolverTests.cs (1)
19public class RuntimeMetadataReferenceResolverTests : TestBase
ScriptOptionsTests.cs (1)
20public class ScriptOptionsTests : TestBase
Microsoft.CodeAnalysis.Test.Utilities (1)
CommonTestBase.cs (1)
70public abstract partial class CommonTestBase : TestBase
Microsoft.CodeAnalysis.UnitTests (24)
AnalyzerAssemblyLoaderTests.cs (1)
88public sealed class AnalyzerAssemblyLoaderTests : TestBase
Analyzers\AnalyzerFileReferenceTests.cs (1)
30public class AnalyzerFileReferenceTests : TestBase
AssemblyUtilitiesTests.cs (1)
22public class AssemblyUtilitiesTests : TestBase
CommonCommandLineParserTests.cs (1)
18public class CommonCommandLineParserTests : TestBase
CommonTypedConstantTests.cs (1)
19public class CommonTypedConstantTests : TestBase
CorLibTypesTests.cs (1)
15public class CorLibTypesAndConstantTests : TestBase
CryptoBlobParserTests.cs (1)
18public class CryptoBlobParserTests : TestBase
Diagnostics\CompilationWithAnalyzersTests.cs (1)
21public class CompilationWithAnalyzersTests : TestBase
Diagnostics\OperationTests.cs (1)
24public class OperationTests : TestBase
Emit\EmitOptionsTests.cs (1)
18public class EmitOptionsTests : TestBase
Emit\SemanticEditTests.cs (1)
16public class SemanticEditTests : TestBase
FileSystem\RelativePathResolverTests.cs (1)
16public class RelativePathResolverTests : TestBase
InternalUtilities\OneOrManyTests.cs (1)
13public class OneOrManyTests : TestBase
InternalUtilities\WeakListTests.cs (1)
20public class WeakListTests : TestBase
MetadataReferences\AssemblyIdentityTestBase.cs (1)
14public abstract class AssemblyIdentityTestBase : TestBase
MetadataReferences\AssemblyMetadataTests.cs (1)
15public class AssemblyMetadataTests : TestBase
MetadataReferences\AssemblyPortabilityPolicyTests.cs (1)
16public class AssemblyPortabilityPolicyTests : TestBase
MetadataReferences\MetadataReferenceTests.cs (1)
27public class MetadataReferenceTests : TestBase
MetadataReferences\ModuleMetadataTests.cs (1)
18public class ModuleMetadataTests : TestBase
MetadataReferences\ModuleNoPiaTests.cs (1)
12public class NoPia : TestBase
Text\LargeTextTests.cs (1)
16public sealed class LargeTextTests : TestBase
Text\StringTextDecodingTests.cs (1)
17public sealed class StringTextDecodingTests : TestBase
Text\TextLineCollectionTests.cs (1)
14public class TextLineCollectionTests : TestBase
Text\TextUtilitiesTests.cs (1)
13public sealed class TextUtilitiesTests : TestBase
Microsoft.CodeAnalysis.VisualBasic.Syntax.UnitTests (1)
LocationTests.vb (1)
12Inherits TestBase
Microsoft.CodeAnalysis.Workspaces.MSBuild.UnitTests (1)
WorkspaceTestBase.cs (1)
18public class WorkspaceTestBase : TestBase
Microsoft.CodeAnalysis.Workspaces.UnitTests (15)
CommandLineProject\CommandLineProjectTests.cs (1)
19public class CommandLineProjectTests : TestBase
FindAllDeclarationsTests.cs (1)
23public partial class FindAllDeclarationsTests : TestBase
FindReferencesTests.cs (1)
22public class FindReferencesTests : TestBase
FormattingTests.cs (1)
21public partial class FormattingTests : TestBase
Shared\Extensions\TextSpanExtensions\SubtractTests.cs (1)
14public class SubtractTests : TestBase
SolutionTests\ProjectDependencyGraphTests.cs (1)
20public class ProjectDependencyGraphTests : TestBase
SolutionTests\SolutionTests.cs (1)
45public class SolutionTests : TestBase
SolutionTests\SolutionWithSourceGeneratorTests.cs (1)
35public sealed class SolutionWithSourceGeneratorTests : TestBase
SymbolKeyTests.cs (1)
24public class SymbolKeyTests : TestBase
SyntaxNodeTests.cs (1)
21public partial class SyntaxNodeTests : TestBase
SyntaxReferenceTests.cs (1)
20public sealed class SyntaxReferenceTests : TestBase
UtilityTest\DocumentationCommentIdTests.cs (1)
15public partial class DocumentationCommentIdTests : TestBase
UtilityTest\ExceptionHelpersTests.cs (1)
16public class ExceptionHelpersTests : TestBase
WorkspaceTests\AdhocWorkspaceTests.cs (1)
23public partial class AdhocWorkspaceTests : TestBase
WorkspaceTests\DynamicFileInfoProviderMefTests.cs (1)
18public class DynamicFileInfoProviderMefTests : TestBase
Microsoft.VisualStudio.LanguageServices.CSharp.UnitTests (5)
GlyphExtensionsTests.cs (1)
17public class GlyphExtensionsTests : TestBase
ProjectSystemShim\CPS\AnalyzersTests.cs (1)
21public class AnalyzersTests : TestBase
ProjectSystemShim\CPS\CSharpCompilerOptionsTests.cs (1)
25public class CSharpCompilerOptionsTests : TestBase
ProjectSystemShim\LegacyProject\AnalyzersTests.cs (1)
25public class AnalyzersTests : TestBase
ProjectSystemShim\VisualStudioCompilationOutputFilesTests.cs (1)
18public class VisualStudioCompilationOutputFilesTests : TestBase
Microsoft.VisualStudio.LanguageServices.UnitTests (2)
Options\BasicEditorConfigGeneratorTests.vb (1)
17Inherits TestBase
Options\CSharpEditorConfigGeneratorTests.vb (1)
15Inherits TestBase
VBCSCompiler.UnitTests (6)
AnalyzerConsistencyCheckerTests.cs (1)
33public class AnalyzerConsistencyCheckerTests : TestBase
BuildClientTests.cs (1)
28public abstract class BuildClientTests : TestBase
BuildProtocolTest.cs (1)
18public class BuildProtocolTest : TestBase
CompilerServerApiTest.cs (1)
26public class CompilerServerApiTest : TestBase
CompilerServerTests.cs (1)
28public class CompilerServerUnitTests : TestBase
TouchedFileLoggingTests.cs (1)
24public class TouchedFileLoggingTests : TestBase
122 references to TestBase
InteractiveHost.UnitTests (1)
eng\config\test\Core\InstallTraceListener.cs (1)
11RuntimeHelpers.RunModuleConstructor(typeof(TestBase).Module.ModuleHandle);
Microsoft.Build.Tasks.CodeAnalysis.UnitTests (1)
eng\config\test\Core\InstallTraceListener.cs (1)
11RuntimeHelpers.RunModuleConstructor(typeof(TestBase).Module.ModuleHandle);
Microsoft.CodeAnalysis.CSharp.CommandLine.UnitTests (1)
eng\config\test\Core\InstallTraceListener.cs (1)
11RuntimeHelpers.RunModuleConstructor(typeof(TestBase).Module.ModuleHandle);
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (1)
Diagnostics\DiagnosticAnalyzerDriver\DiagnosticAnalyzerDriverTests.cs (1)
24using static Roslyn.Test.Utilities.TestBase;
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (1)
eng\config\test\Core\InstallTraceListener.cs (1)
11RuntimeHelpers.RunModuleConstructor(typeof(TestBase).Module.ModuleHandle);
Microsoft.CodeAnalysis.CSharp.Emit2.UnitTests (1)
eng\config\test\Core\InstallTraceListener.cs (1)
11RuntimeHelpers.RunModuleConstructor(typeof(TestBase).Module.ModuleHandle);
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (2)
Attributes\AttributeTests_WellKnownAttributes.cs (1)
488CompileAndVerifyWithMscorlib46(text, references: new[] { TestBase.SystemRef_v46 }, sourceSymbolValidator: attributeValidator);
eng\config\test\Core\InstallTraceListener.cs (1)
11RuntimeHelpers.RunModuleConstructor(typeof(TestBase).Module.ModuleHandle);
Microsoft.CodeAnalysis.CSharp.EndToEnd.UnitTests (1)
eng\config\test\Core\InstallTraceListener.cs (1)
11RuntimeHelpers.RunModuleConstructor(typeof(TestBase).Module.ModuleHandle);
Microsoft.CodeAnalysis.CSharp.Features.UnitTests (1)
eng\config\test\Core\InstallTraceListener.cs (1)
11RuntimeHelpers.RunModuleConstructor(typeof(TestBase).Module.ModuleHandle);
Microsoft.CodeAnalysis.CSharp.IOperation.UnitTests (1)
eng\config\test\Core\InstallTraceListener.cs (1)
11RuntimeHelpers.RunModuleConstructor(typeof(TestBase).Module.ModuleHandle);
Microsoft.CodeAnalysis.CSharp.Scripting.UnitTests (1)
eng\config\test\Core\InstallTraceListener.cs (1)
11RuntimeHelpers.RunModuleConstructor(typeof(TestBase).Module.ModuleHandle);
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (1)
eng\config\test\Core\InstallTraceListener.cs (1)
11RuntimeHelpers.RunModuleConstructor(typeof(TestBase).Module.ModuleHandle);
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (1)
eng\config\test\Core\InstallTraceListener.cs (1)
11RuntimeHelpers.RunModuleConstructor(typeof(TestBase).Module.ModuleHandle);
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (22)
eng\config\test\Core\InstallTraceListener.cs (1)
11RuntimeHelpers.RunModuleConstructor(typeof(TestBase).Module.ModuleHandle);
LexicalAndXml\LexicalTests.cs (15)
274TestBase.Diagnostic(ErrorCode.ERR_UnexpectedCharacter).WithArguments("@").WithLocation(1, 1)); 298TestBase.Diagnostic(ErrorCode.ERR_UnexpectedCharacter).WithArguments("@").WithLocation(1, 1)); 322TestBase.Diagnostic(ErrorCode.ERR_UnexpectedCharacter).WithArguments("@").WithLocation(1, 1)); 342TestBase.Diagnostic(ErrorCode.ERR_UnexpectedCharacter).WithArguments("@").WithLocation(1, 1), 344TestBase.Diagnostic(ErrorCode.ERR_OpenEndedComment).WithLocation(1, 1)); 364TestBase.Diagnostic(ErrorCode.ERR_UnexpectedCharacter).WithArguments("@").WithLocation(1, 1), 366TestBase.Diagnostic(ErrorCode.ERR_OpenEndedComment).WithLocation(1, 1)); 386TestBase.Diagnostic(ErrorCode.ERR_UnexpectedCharacter).WithArguments("@").WithLocation(1, 1), 388TestBase.Diagnostic(ErrorCode.ERR_OpenEndedComment).WithLocation(1, 1)); 408TestBase.Diagnostic(ErrorCode.ERR_OpenEndedComment).WithLocation(1, 1)); 431TestBase.Diagnostic(ErrorCode.ERR_UnexpectedCharacter).WithArguments("@").WithLocation(1, 1)); 456TestBase.Diagnostic(ErrorCode.ERR_ExpectedVerbatimLiteral).WithLocation(1, 1)); 483TestBase.Diagnostic(ErrorCode.ERR_ExpectedVerbatimLiteral).WithLocation(1, 1)); 517TestBase.Diagnostic(ErrorCode.ERR_ExpectedVerbatimLiteral).WithLocation(1, 1)); 575TestBase.Diagnostic(ErrorCode.ERR_ExpectedVerbatimLiteral).WithLocation(1, 1));
Syntax\SyntaxNodeTests.cs (6)
364TestBase.Diagnostic(ErrorCode.ERR_BadDirectivePlacement, "#").WithLocation(1, 17)); 492TestBase.Diagnostic(ErrorCode.ERR_BadDirectivePlacement, "#").WithLocation(1, 5), 495TestBase.Diagnostic(ErrorCode.ERR_ExpressionExpected, "").WithLocation(1, 9), 498TestBase.Diagnostic(ErrorCode.ERR_CloseParenExpected, "").WithLocation(1, 9), 501TestBase.Diagnostic(ErrorCode.ERR_ExpressionExpected, "").WithLocation(1, 9), 504TestBase.Diagnostic(ErrorCode.ERR_SemicolonExpected, "").WithLocation(1, 9));
Microsoft.CodeAnalysis.CSharp.Test.Utilities (2)
BasicCompilationUtils.cs (2)
23references = new[] { TestBase.MscorlibRef }; 34assemblyName = TestBase.GetUniqueName();
Microsoft.CodeAnalysis.CSharp.Workspaces.UnitTests (1)
eng\config\test\Core\InstallTraceListener.cs (1)
11RuntimeHelpers.RunModuleConstructor(typeof(TestBase).Module.ModuleHandle);
Microsoft.CodeAnalysis.EditorFeatures.UnitTests (9)
Diagnostics\SuppressMessageAttributeWorkspaceTests.cs (1)
51references: [TestBase.MscorlibRef]).EmitToImageReference();
MetadataAsSource\AbstractMetadataAsSourceTests.cs (8)
28AssemblyResolver.TestAccessor.AddInMemoryImage(TestBase.MscorlibRef_v46, "mscorlib.v4_6_1038_0.dll", ImmutableArray.Create(Net461.ReferenceInfos.mscorlib.ImageBytes)); 29AssemblyResolver.TestAccessor.AddInMemoryImage(TestBase.SystemRef_v46, "System.v4_6_1038_0.dll", ImmutableArray.Create(Net461.ReferenceInfos.System.ImageBytes)); 30AssemblyResolver.TestAccessor.AddInMemoryImage(TestBase.SystemCoreRef_v46, "System.Core.v4_6_1038_0.dll", ImmutableArray.Create(Net461.ReferenceInfos.SystemCore.ImageBytes)); 31AssemblyResolver.TestAccessor.AddInMemoryImage(TestBase.ValueTupleRef, "System.ValueTuple.dll", ImmutableArray.Create(Net461.ExtraReferenceInfos.SystemValueTuple.ImageBytes)); 32AssemblyResolver.TestAccessor.AddInMemoryImage(TestBase.SystemRuntimeFacadeRef, "System.Runtime.dll", ImmutableArray.Create(Net461.Resources.SystemRuntime)); 33AssemblyResolver.TestAccessor.AddInMemoryImage(TestBase.MsvbRef, "Microsoft.VisualBasic.dll", ImmutableArray.Create(Net461.Resources.MicrosoftVisualBasic)); 34AssemblyResolver.TestAccessor.AddInMemoryImage(TestBase.SystemXmlRef, "System.Xml.v4_0_30319.dll", ImmutableArray.Create(Net461.Resources.SystemXml)); 35AssemblyResolver.TestAccessor.AddInMemoryImage(TestBase.SystemXmlLinqRef, "System.Xml.Linq.v4_0_30319.dll", ImmutableArray.Create(Net461.Resources.SystemXmlLinq));
Microsoft.CodeAnalysis.Features.UnitTests (1)
eng\config\test\Core\InstallTraceListener.cs (1)
11RuntimeHelpers.RunModuleConstructor(typeof(TestBase).Module.ModuleHandle);
Microsoft.CodeAnalysis.LanguageServer.UnitTests (1)
eng\config\test\Core\InstallTraceListener.cs (1)
11RuntimeHelpers.RunModuleConstructor(typeof(TestBase).Module.ModuleHandle);
Microsoft.CodeAnalysis.Rebuild.UnitTests (1)
eng\config\test\Core\InstallTraceListener.cs (1)
11RuntimeHelpers.RunModuleConstructor(typeof(TestBase).Module.ModuleHandle);
Microsoft.CodeAnalysis.Remote.ServiceHub.UnitTests (1)
eng\config\test\Core\InstallTraceListener.cs (1)
11RuntimeHelpers.RunModuleConstructor(typeof(TestBase).Module.ModuleHandle);
Microsoft.CodeAnalysis.Scripting.UnitTests (1)
eng\config\test\Core\InstallTraceListener.cs (1)
11RuntimeHelpers.RunModuleConstructor(typeof(TestBase).Module.ModuleHandle);
Microsoft.CodeAnalysis.Test.Utilities (3)
TargetFrameworkUtil.cs (3)
185.. TestBase.WinRtRefs 189TestBase.MinCorlibRef 193TestBase.MinAsyncCorlibRef
Microsoft.CodeAnalysis.UnitTests (13)
Diagnostics\AnalysisContextInfoTests.cs (1)
118references: new[] { TestBase.MscorlibRef });
Diagnostics\SuppressMessageAttributeCompilerTests.cs (3)
61references: new[] { TestBase.MscorlibRef }).EmitToImageReference(); 63return ImmutableArray.Create(TestBase.MscorlibRef, compRef, TestBase.ValueTupleRef);
Diagnostics\SuppressMessageTargetSymbolResolverTests.cs (2)
1434references: new[] { TestBase.MscorlibRef }); 1442references: new[] { TestBase.MscorlibRef });
eng\config\test\Core\InstallTraceListener.cs (1)
11RuntimeHelpers.RunModuleConstructor(typeof(TestBase).Module.ModuleHandle);
GivesAccessTo.cs (4)
44var csc = (Compilation)CSharpCompilation.Create("CS", new[] { csharpTree }, new MetadataReference[] { TestBase.MscorlibRef }); 47var csc2 = (Compilation)CSharpCompilation.Create("CS2", new[] { csharpTree2 }, new MetadataReference[] { TestBase.MscorlibRef }); 50var vbc = VisualBasicCompilation.Create("VB", new[] { vbTree }, new MetadataReference[] { TestBase.MscorlibRef }); 53var vbc2 = VisualBasicCompilation.Create("VB2", new[] { vbTree2 }, new MetadataReference[] { TestBase.MscorlibRef });
IsSymbolAccessibleWithinTests.cs (2)
28var csc = CSharpCompilation.Create("CS", new[] { csharpTree }, new MetadataReference[] { TestBase.MscorlibRef }) as Compilation; 31var vbc = VisualBasicCompilation.Create("VB", new[] { vbTree }, new MetadataReference[] { TestBase.MscorlibRef }) as Compilation;
Microsoft.CodeAnalysis.VisualBasic.Semantic.UnitTests (2)
Semantics\ForeachTest.vb (2)
430</compilation>, references:={TestBase.LinqAssemblyRef}) 901</compilation>, references:={TestBase.LinqAssemblyRef})
Microsoft.CodeAnalysis.VisualBasic.Test.Utilities (8)
BasicTestBase.vb (6)
809If(useLatestFrameworkReferences, TestBase.MsvbRef_v4_0_30319_17929, TestBase.MsvbRef)) 886If(useLatestFramework, TestBase.MsvbRef_v4_0_30319_17929, TestBase.MsvbRef)) 906If(useLatestFramework, TestBase.MsvbRef_v4_0_30319_17929, TestBase.MsvbRef))
CompilationTestUtils.vb (1)
16Imports Roslyn.Test.Utilities.TestBase
ParserTestUtilities.vb (1)
40expectedDiagnostics(i) = TestBase.Diagnostic(CType(CInt(e.@id), ERRID))
Microsoft.CodeAnalysis.Workspaces.MSBuild.UnitTests (1)
eng\config\test\Core\InstallTraceListener.cs (1)
11RuntimeHelpers.RunModuleConstructor(typeof(TestBase).Module.ModuleHandle);
Microsoft.CodeAnalysis.Workspaces.Test.Utilities (37)
MEF\UseExportProviderAttribute.cs (1)
62RuntimeHelpers.RunModuleConstructor(typeof(TestBase).Module.ModuleHandle);
Remote\TestSerializerService.cs (10)
35.Add(TestBase.MscorlibRef_v46, nameof(TestBase.MscorlibRef_v46)) 36.Add(TestBase.SystemRef_v46, nameof(TestBase.SystemRef_v46)) 37.Add(TestBase.SystemCoreRef_v46, nameof(TestBase.SystemCoreRef_v46)) 38.Add(TestBase.ValueTupleRef, nameof(TestBase.ValueTupleRef)) 39.Add(TestBase.SystemRuntimeFacadeRef, nameof(TestBase.SystemRuntimeFacadeRef));
Workspaces\TestWorkspace_XmlConsumption.cs (26)
847references = [TestBase.MscorlibRef_v4_0_30316_17626, TestBase.SystemRef_v4_0_30319_17929, TestBase.SystemCoreRef_v4_0_30319_17929, TestBase.SystemRuntimeSerializationRef_v4_0_30319_17929]; 850references.Add(TestBase.MsvbRef); 851references.Add(TestBase.SystemXmlRef); 852references.Add(TestBase.SystemXmlLinqRef); 861references = [TestBase.MscorlibRef_v46, TestBase.SystemRef_v46, TestBase.SystemCoreRef_v46, TestBase.ValueTupleRef, TestBase.SystemRuntimeFacadeRef]; 864references.Add(TestBase.MsvbRef_v4_0_30319_17929); 865references.Add(TestBase.SystemXmlRef); 866references.Add(TestBase.SystemXmlLinqRef); 875references = [TestBase.MscorlibRef_v46, TestBase.SystemRef_v46, TestBase.SystemCoreRef_v46]; 883references = new List<MetadataReference>(TestBase.WinRtRefs.Length); 884references.AddRange(TestBase.WinRtRefs); 887references.Add(TestBase.MsvbRef_v4_0_30319_17929); 888references.Add(TestBase.SystemXmlRef); 889references.Add(TestBase.SystemXmlLinqRef); 898references = new List<MetadataReference>(TestBase.PortableRefsMinimal.Length); 899references.AddRange(TestBase.PortableRefsMinimal); 947references = [TestBase.MinCorlibRef];
Microsoft.CodeAnalysis.Workspaces.UnitTests (1)
eng\config\test\Core\InstallTraceListener.cs (1)
11RuntimeHelpers.RunModuleConstructor(typeof(TestBase).Module.ModuleHandle);
Microsoft.VisualStudio.LanguageServices.CSharp.UnitTests (1)
ProjectSystemShim\EntryPointFinderTests.cs (1)
37var compilation = CSharpCompilation.Create("Test", references: [TestBase.MscorlibRef]).AddSyntaxTrees(CSharpSyntaxTree.ParseText($$"""
SemanticSearch.BuildTask.UnitTests (1)
eng\config\test\Core\InstallTraceListener.cs (1)
11RuntimeHelpers.RunModuleConstructor(typeof(TestBase).Module.ModuleHandle);
VBCSCompiler.UnitTests (2)
eng\config\test\Core\InstallTraceListener.cs (1)
11RuntimeHelpers.RunModuleConstructor(typeof(TestBase).Module.ModuleHandle);
VBCSCompilerServerTests.cs (1)
40var baseDirectory = Path.Combine(Path.GetTempPath(), TestBase.GetUniqueName());