Skip to content

Bump Microsoft.Extensions.ObjectPool from 8.0.10 to 9.0.0

Sign in for the full log view
GitHub Actions / .NET Test Results succeeded Nov 18, 2024 in 0s

891 passed, 0 failed and 7 skipped

Tests passed successfully

Report Passed Failed Skipped Time
TestResults-Test-Linux.trx 325✅ 5⚪ 220s
TestResults-Test-Windows-Core.trx 333✅ 1⚪ 311s
TestResults-Test-Windows-Framework.trx 233✅ 1⚪ 188s

✅ TestResults-Test-Linux.trx

330 tests were completed in 220s with 325 passed, 0 failed and 5 skipped.

Test suite Passed Failed Skipped Time
Basic.CompilerLog.UnitTests.BasicAnalyzerHostTests 5✅ 148ms
Basic.CompilerLog.UnitTests.BinaryLogReaderTests 21✅ 1⚪ 20s
Basic.CompilerLog.UnitTests.BinaryLogUtilTests 15✅ 1⚪ 3ms
Basic.CompilerLog.UnitTests.CodeAnalysisExtensionsTests 1✅ 4s
Basic.CompilerLog.UnitTests.CommonUtilTests 2✅ 0ms
Basic.CompilerLog.UnitTests.CompilationDataTests 13✅ 10s
Basic.CompilerLog.UnitTests.CompilationTaskDataTests 2✅ 7ms
Basic.CompilerLog.UnitTests.CompilerCallReaderUtilTests 4✅ 4ms
Basic.CompilerLog.UnitTests.CompilerCallTests 1✅ 0ms
Basic.CompilerLog.UnitTests.CompilerLogBuilderTests 4✅ 3s
Basic.CompilerLog.UnitTests.CompilerLogReaderExTests 4✅ 819ms
Basic.CompilerLog.UnitTests.CompilerLogReaderTests 44✅ 2⚪ 45s
Basic.CompilerLog.UnitTests.CompilerLogUtilTests 1✅ 1ms
Basic.CompilerLog.UnitTests.ExportUtilTests 15✅ 16s
Basic.CompilerLog.UnitTests.ExtensionsTests 3✅ 10ms
Basic.CompilerLog.UnitTests.FilterOptionSetTest 1✅ 0ms
Basic.CompilerLog.UnitTests.LogReaderStateTests 3✅ 2ms
Basic.CompilerLog.UnitTests.MetadataTests 5✅ 1ms
Basic.CompilerLog.UnitTests.MSBuildProjectDataTests 1✅ 0ms
Basic.CompilerLog.UnitTests.PathNormalizationUtilTests 30✅ 2ms
Basic.CompilerLog.UnitTests.PathUtilTests 1✅ 1ms
Basic.CompilerLog.UnitTests.PolyfillTests 6✅ 1ms
Basic.CompilerLog.UnitTests.ProgramTests 83✅ 1⚪ 57s
Basic.CompilerLog.UnitTests.ResilientDirectoryTests 4✅ 1ms
Basic.CompilerLog.UnitTests.RoslynUtilTests 28✅ 7ms
Basic.CompilerLog.UnitTests.SdkUtilTests 1✅ 0ms
Basic.CompilerLog.UnitTests.SolutionReaderTests 5✅ 3s
Basic.CompilerLog.UnitTests.StringStreamTests 8✅ 65ms
Basic.CompilerLog.UnitTests.UsingAllCompilerLogTests 14✅ 41s

✅ Basic.CompilerLog.UnitTests.BasicAnalyzerHostTests

✅ Error
✅ NoneConflictingFileNames
✅ NoneDispose
✅ NoneProps
✅ Supported

✅ Basic.CompilerLog.UnitTests.BinaryLogReaderTests

✅ CreateFilePath(basicAnalyzerKind: InMemory)
✅ CreateFilePath(basicAnalyzerKind: OnDisk)
✅ CreateFilePathLogReaderState
✅ CreateStream1(basicAnalyzerKind: InMemory, leaveOpen: False)
✅ CreateStream1(basicAnalyzerKind: InMemory, leaveOpen: True)
✅ CreateStream1(basicAnalyzerKind: OnDisk, leaveOpen: True)
✅ CreateStream2(basicAnalyzerKind: InMemory, leaveOpen: False)
✅ CreateStream2(basicAnalyzerKind: InMemory, leaveOpen: True)
✅ CreateStream2(basicAnalyzerKind: OnDisk, leaveOpen: True)
✅ DisposeDouble
✅ GetCompilationSimple(basicAnalyzerKind: InMemory)
✅ GetCompilationSimple(basicAnalyzerKind: None)
✅ GetCompilationSimple(basicAnalyzerKind: OnDisk)
✅ ReadAllCompilerCallsTwice
✅ ReadCommandLineArgumentsIdentity
✅ ReadCommandLineArgumentsOwnership
✅ ReadGeneratedFilesDeletedPdb
⚪ ReadGeneratedFilesNativePdb
✅ ReadGeneratedFilesSimple
✅ VerifyBasicAnalyzerKind(basicAnalyzerKind: InMemory)
✅ VerifyBasicAnalyzerKind(basicAnalyzerKind: None)
✅ VerifyBasicAnalyzerKind(basicAnalyzerKind: OnDisk)

✅ Basic.CompilerLog.UnitTests.BinaryLogUtilTests

✅ ParseCompilerAndArgumentsBad(inputArgs: "   ")
✅ ParseCompilerAndArgumentsBad(inputArgs: "dotnet csc2 what we expect a.cs")
✅ ParseCompilerAndArgumentsBad(inputArgs: "dotnet exec vbc.dll what we expect a.cs")
✅ ParseCompilerAndArgumentsBad(inputArgs: "dotnet not what we expect a.cs")
✅ ParseCompilerAndArgumentsBad(inputArgs: "empty")
✅ ParseCompilerAndArgumentsCsc(inputArgs: "csc.exe a.cs b.cs", expectedCompilerFilePath: "csc.exe", expectedArgs: "a.cs b.cs")
✅ ParseCompilerAndArgumentsCsc(inputArgs: "dotnet exec csc.dll a.cs", expectedCompilerFilePath: "csc.dll", expectedArgs: "a.cs")
✅ ParseCompilerAndArgumentsCsc(inputArgs: "dotnet-can-be-any-host-name exec csc.dll a.cs", expectedCompilerFilePath: "csc.dll", expectedArgs: "a.cs")
✅ ParseCompilerAndArgumentsCsc(inputArgs: "dotnet.exe exec csc.dll a.cs", expectedCompilerFilePath: "csc.dll", expectedArgs: "a.cs")
✅ ParseCompilerAndArgumentsCscUnix(inputArgs: "/dotnet/dotnet exec /dotnet/sdk/bincore/csc.dll a."···, expectedCompilerFilePath: "/dotnet/sdk/bincore/csc.dll", expectedArgs: "a.cs")
✅ ParseCompilerAndArgumentsCscUnix(inputArgs: "/dotnet/dotnet exec \"/dotnet/sdk/bincore/csc.dll\"···, expectedCompilerFilePath: "/dotnet/sdk/bincore/csc.dll", expectedArgs: "a.cs")
⚪ ParseCompilerAndArgumentsCscWindows
✅ ParseCompilerAndArgumentsNull
✅ ParseCompilerAndArgumentsVbc(inputArgs: "dotnet-can-be-any-host-name exec vbc.dll a.vb", expectedCompilerFilePath: "vbc.dll", expectedArgs: "a.vb")
✅ ParseCompilerAndArgumentsVbc(inputArgs: "dotnet.exe exec vbc.dll a.cs", expectedCompilerFilePath: "vbc.dll", expectedArgs: "a.cs")
✅ ParseCompilerAndArgumentsVbc(inputArgs: "vbc.exe a.cs b.cs", expectedCompilerFilePath: "vbc.exe", expectedArgs: "a.cs b.cs")

✅ Basic.CompilerLog.UnitTests.CodeAnalysisExtensionsTests

✅ EmitToMemory

✅ Basic.CompilerLog.UnitTests.CommonUtilTests

✅ Defines
✅ GetAssemblyLoadContext

✅ Basic.CompilerLog.UnitTests.CompilationDataTests

✅ EmitToMemoryCombinations
✅ EmitToMemoryRefOnly
✅ GetAllDiagnostics(basicAnalyzerKind: InMemory)
✅ GetAllDiagnostics(basicAnalyzerKind: None)
✅ GetAllDiagnostics(basicAnalyzerKind: OnDisk)
✅ GetAllDiagnosticsNoAnalyzers
✅ GetAnalyzersNoHosting
✅ GetAnalyzersNormal
✅ GetCompilationAfterGeneratorsDiagnostics
✅ GetDiagnostics
✅ GetGeneratedSyntaxTrees(basicAnalyzerKind: InMemory)
✅ GetGeneratedSyntaxTrees(basicAnalyzerKind: None)
✅ GetGeneratedSyntaxTrees(basicAnalyzerKind: OnDisk)

✅ Basic.CompilerLog.UnitTests.CompilationTaskDataTests

✅ TryCreateCompilerCallBadArguments
✅ TryCreateCompilerNoArguments

✅ Basic.CompilerLog.UnitTests.CompilerCallReaderUtilTests

✅ CreateBadExtension
✅ GetAllAnalyzerKinds(basicAnalyzerKind: InMemory)
✅ GetAllAnalyzerKinds(basicAnalyzerKind: None)
✅ GetAllAnalyzerKinds(basicAnalyzerKind: OnDisk)

✅ Basic.CompilerLog.UnitTests.CompilerCallTests

✅ GetDiagnosticNameNoTargetFramework

✅ Basic.CompilerLog.UnitTests.CompilerLogBuilderTests

✅ AddMissingFile
✅ AddWithMissingCompilerFilePath
✅ CloseTwice
✅ PortablePdbMissing

✅ Basic.CompilerLog.UnitTests.CompilerLogReaderExTests

✅ AnalyzerConfigGeneratedCode(value: "0", expectedKind: Unknown)
✅ AnalyzerConfigGeneratedCode(value: "false", expectedKind: NotGenerated)
✅ AnalyzerConfigGeneratedCode(value: "true", expectedKind: MarkedGenerated)
✅ AnalyzerConfigNone

✅ Basic.CompilerLog.UnitTests.CompilerLogReaderTests

✅ AdditionalFiles
✅ AnalyzerDiagnostics
✅ AnalyzerLoadCaching(kind: InMemory)
✅ AnalyzerLoadCaching(kind: OnDisk)
✅ AnalyzerLoadDispose(kind: InMemory)
✅ AnalyzerLoadDispose(kind: OnDisk)
✅ AnalyzerLoadOptions(basicAnalyzerKind: InMemory)
✅ AnalyzerLoadOptions(basicAnalyzerKind: None)
✅ AnalyzerLoadOptions(basicAnalyzerKind: OnDisk)
✅ ContentExtraSourceFile(fileName: "file1.cs")
✅ ContentExtraSourceFile(fileName: "file2.cs")
✅ CreateInvalidZipFile
✅ CreateStream1(basicAnalyzerKind: InMemory, leaveOpen: False)
✅ CreateStream1(basicAnalyzerKind: InMemory, leaveOpen: True)
✅ CreateStream1(basicAnalyzerKind: OnDisk, leaveOpen: True)
✅ CreateStream2(basicAnalyzerKind: InMemory, leaveOpen: False)
✅ CreateStream2(basicAnalyzerKind: InMemory, leaveOpen: True)
✅ CreateStream2(basicAnalyzerKind: OnDisk, leaveOpen: True)
✅ Disposed
✅ EmbedLineIssues
✅ GlobalConfigPathMap
⚪ HasAllGeneratedFileContent
✅ KeyFileCustomState
✅ KeyFileDefault
⚪ KindWpf
✅ MetadataCompatV1(resourceName: "MetadataVersion1.console.complog")
✅ MetadataCompatV2(resourceName: "MetadataVersion2.console.complog")
✅ MetadataVersion
✅ NoneHostAddsNoGeneratorIfNoGeneratedSource
✅ NoneHostGeneratedFilesInRaw
✅ NoneHostGeneratedFilesShouldBeLast
✅ NoneHostHasSingelGenerator
✅ NoneHostNativePdb
✅ ProjectMultiTarget
✅ ProjectReferences_Alias
✅ ProjectReferences_Corrupted
✅ ProjectReferences_ReadReference
✅ ProjectReferences_Simple
✅ ProjectSingleTarget
✅ ReadCompilationDataBadIndex(index: -1)
✅ ReadCompilationDataBadIndex(index: 100)
✅ ReadCompilerCallBadIndex(index: -1)
✅ ReadCompilerCallBadIndex(index: 100)
✅ ReadCompilerCallWrongOwner
✅ ResourceSimpleEmbedded
✅ VisualBasic

✅ Basic.CompilerLog.UnitTests.CompilerLogUtilTests

✅ CreateBadExtension

✅ Basic.CompilerLog.UnitTests.ExportUtilTests

✅ ConsoleMultiTarget
✅ ConsoleWithLink
✅ ConsoleWithRuleset
✅ EmbedLineInsideProject
✅ ExportAll
✅ ExportAllBadPath
✅ ExportNoconfig
✅ ExportRsp1
✅ ExportRsp2
✅ ExportUnixPaths
✅ ExportWithUnsafeOption
✅ GeneratedText
✅ GeneratedTextExcludeAnalyzers
✅ GlobalConfigMapsPaths
✅ StrongNameKey

✅ Basic.CompilerLog.UnitTests.ExtensionsTests

✅ AddRange
✅ CheckEmitFlags
✅ GetFailureString

✅ Basic.CompilerLog.UnitTests.FilterOptionSetTest

✅ CheckForAnalyzers

✅ Basic.CompilerLog.UnitTests.LogReaderStateTests

✅ CustomAssemblyLoadContext
✅ DisposeCleansUpDirectories
✅ DisposeDirectoryLocked

✅ Basic.CompilerLog.UnitTests.MetadataTests

✅ ParseBadCount
✅ ParseBadFormat
✅ ParseBadVersion
✅ ParseVersion0
✅ ParseVersion1

✅ Basic.CompilerLog.UnitTests.MSBuildProjectDataTests

✅ MSBuildProjectDataToString

✅ Basic.CompilerLog.UnitTests.PathNormalizationUtilTests

✅ EmptyIsRooted
✅ UnixIsRooted(path: "../", expected: False)
✅ UnixIsRooted(path: "/", expected: True)
✅ UnixIsRooted(path: "/blah", expected: True)
✅ UnixIsRooted(path: "/code/blah.cs", expected: True)
✅ UnixIsRooted(path: "example/blah.cs", expected: False)
✅ UnixIsRooted(path: null, expected: False)
✅ UnixToWindowsNormalize(path: "/", expected: "c:\\code\\")
✅ UnixToWindowsNormalize(path: "/example", expected: "c:\\code\\example")
✅ UnixToWindowsNormalize(path: "/example/../blah.cs", expected: "c:\\code\\example\\..\\blah.cs")
✅ UnixToWindowsNormalize(path: "/example/", expected: "c:\\code\\example\\")
✅ UnixToWindowsNormalize(path: "/example/blah.cs", expected: "c:\\code\\example\\blah.cs")
✅ UnixToWindowsNormalize(path: null, expected: null)
✅ UnixToWindowsRootFileName(fileName: "a.cs", expected: "c:\\code\\a.cs")
✅ UnixToWindowsRootFileName(fileName: "example.cs", expected: "c:\\code\\example.cs")
✅ WindowsIsRooted(path: "\\..\\", expected: False)
✅ WindowsIsRooted(path: "c:", expected: True)
✅ WindowsIsRooted(path: "c:\\..\\", expected: True)
✅ WindowsIsRooted(path: "c:\\", expected: True)
✅ WindowsIsRooted(path: "c:\\\\\\", expected: True)
✅ WindowsIsRooted(path: "example\\blah.cs", expected: False)
✅ WindowsIsRooted(path: null, expected: False)
✅ WindowsToUnixNormalize(path: "c:\\", expected: "/code/")
✅ WindowsToUnixNormalize(path: "c:\\\\", expected: "/code/")
✅ WindowsToUnixNormalize(path: "c:\\\\\\", expected: "/code/")
✅ WindowsToUnixNormalize(path: "c:\\src\\..\\blah.cs", expected: "/code/src/../blah.cs")
✅ WindowsToUnixNormalize(path: "c:\\src\\blah.cs", expected: "/code/src/blah.cs")
✅ WindowsToUnixNormalize(path: null, expected: null)
✅ WindowsToUnixRootFileName(fileName: "a.cs", expected: "/code/a.cs")
✅ WindowsToUnixRootFileName(fileName: "example.cs", expected: "/code/example.cs")

✅ Basic.CompilerLog.UnitTests.PathUtilTests

✅ RemovePathStart

✅ Basic.CompilerLog.UnitTests.PolyfillTests

✅ ContainsCharSimple
✅ GetByteCountEmpty
✅ GetBytesCountEmpty
✅ ReadExactlyTooMany
✅ WriteLineSimple
✅ WriteSimple

✅ Basic.CompilerLog.UnitTests.ProgramTests

✅ AnalyzerBadOption
✅ AnalyzersBoth
✅ AnalyzersHelp
✅ AnalyzersProjectFilesDeleted
✅ BadCommand
✅ Create(extra: "--out custom.complog", fileName: "custom.complog")
✅ Create(extra: "-o custom.complog", fileName: "custom.complog")
✅ Create(extra: "", fileName: "msbuild.complog")
✅ CreateEmpty
✅ CreateExistingComplog
✅ CreateExtraArguments
✅ CreateFilePathOutput
✅ CreateFullPath
✅ CreateHelp(arg: "-h")
✅ CreateHelp(arg: "-help")
✅ CreateMultipleFiles
✅ CreateNoopBuild
✅ CreateOverRemovedProject
✅ CreateProjectFile
✅ CreateWithBuild
✅ ExportBadOption
✅ ExportCompilerLog(arg: "-a none", expectedKind: None)
✅ ExportCompilerLog(arg: "-a ondisk", expectedKind: OnDisk)
✅ ExportCompilerLog(arg: "", expectedKind: null)
✅ ExportHelp
✅ GeneratedBadArg
✅ GeneratedBadFilter
✅ GeneratedBoth(basicAnalyzerKind: InMemory)
✅ GeneratedBoth(basicAnalyzerKind: None)
✅ GeneratedBoth(basicAnalyzerKind: OnDisk)
✅ GeneratedHelp
✅ GeneratePdbMissing
✅ Help(arg: "")
✅ Help(arg: "help")
✅ HelpVerbose
✅ PrintAll
✅ PrintBadFile
✅ PrintCompilers
✅ PrintDiffMetadata(metadataVersion: 1)
✅ PrintDiffMetadata(metadataVersion: 100)
✅ PrintDirectory
✅ PrintEmptyDirectory
✅ PrintError
✅ PrintFrameworks
✅ PrintHelp
⚪ PrintKinds
✅ PrintOne
✅ PrintWithoutProject
✅ References
✅ ReferencesBadOption
✅ ReferencesHelp
✅ ReplayBadOption
✅ ReplayConsoleWithEmit(arg: "--none")
✅ ReplayConsoleWithEmit(arg: "")
✅ ReplayHelp
✅ ReplayMissingOutput
✅ ReplayNewCompiler
✅ ReplayWithArgs(command: "diagnostics", arg: "--none", kind: None)
✅ ReplayWithArgs(command: "emit", arg: "--none", kind: None)
✅ ReplayWithArgs(command: "replay", arg: "--analyzers inmemory", kind: InMemory)
✅ ReplayWithArgs(command: "replay", arg: "--analyzers none", kind: None)
✅ ReplayWithArgs(command: "replay", arg: "--analyzers ondisk", kind: OnDisk)
✅ ReplayWithArgs(command: "replay", arg: "--none", kind: None)
✅ ReplayWithArgs(command: "replay", arg: "--severity Error", kind: null)
✅ ReplayWithArgs(command: "replay", arg: "", kind: null)
✅ ReplayWithBadProject
✅ ReplayWithBothLogs
✅ ReplayWithDiagnostics
✅ ReplayWithProject
✅ ResponseAll
✅ ResponseBadOption
✅ ResponseHelp
✅ ResponseInline
✅ ResponseInlineMultiTarget
✅ ResponseInlineWithOutput
✅ ResponseLinuxComplog
✅ ResponseMultiTarget
✅ ResponseNoLogArgument
✅ ResponseNoLogAvailable
✅ ResponseOnCompilerLog
✅ ResponseOnInvalidFileType
✅ ResponseOutputPath
✅ ResponseProjectFilter
✅ ResponseSingleLine

✅ Basic.CompilerLog.UnitTests.ResilientDirectoryTests

✅ GetNewFilePath1
✅ GetNewFilePath2
✅ GetNewFilePathFlatten1
✅ GetNewFilePathFlatten2

✅ Basic.CompilerLog.UnitTests.RoslynUtilTests

✅ GetAssemblyFileName(commandLine: "/target:exe", expectedFileName: "app.exe")
✅ GetAssemblyFileName(commandLine: "/target:library other.cs", expectedFileName: "other.dll")
✅ GetAssemblyFileName(commandLine: "/target:library", expectedFileName: "app.dll")
✅ GetAssemblyFileName(commandLine: "/target:module other.cs", expectedFileName: "other.netmodule")
✅ GetAssemblyFileName(commandLine: "/target:module", expectedFileName: "app.netmodule")
✅ GetAssemblyFileName(commandLine: "/target:winexe", expectedFileName: "app.exe")
✅ IsGlobalConfig(data: IsGlobalConfigData-0)
✅ IsGlobalConfig(data: IsGlobalConfigData-1)
✅ IsGlobalConfig(data: IsGlobalConfigData-10)
✅ IsGlobalConfig(data: IsGlobalConfigData-11)
✅ IsGlobalConfig(data: IsGlobalConfigData-12)
✅ IsGlobalConfig(data: IsGlobalConfigData-13)
✅ IsGlobalConfig(data: IsGlobalConfigData-14)
✅ IsGlobalConfig(data: IsGlobalConfigData-2)
✅ IsGlobalConfig(data: IsGlobalConfigData-3)
✅ IsGlobalConfig(data: IsGlobalConfigData-4)
✅ IsGlobalConfig(data: IsGlobalConfigData-5)
✅ IsGlobalConfig(data: IsGlobalConfigData-6)
✅ IsGlobalConfig(data: IsGlobalConfigData-7)
✅ IsGlobalConfig(data: IsGlobalConfigData-8)
✅ IsGlobalConfig(data: IsGlobalConfigData-9)
✅ ParseAllCSharpEmpty
✅ ParseAllVisualBasicEmpty
✅ ReadAssemblyNameSimple
✅ ReadMvidSimple
✅ RewriteGlobalEditorConfigPaths
✅ TryReadMvid_FileMissing
✅ TryReadMvid_FileNotPE

✅ Basic.CompilerLog.UnitTests.SdkUtilTests

✅ GetDotnetDirectoryBadPath

✅ Basic.CompilerLog.UnitTests.SolutionReaderTests

✅ CreateRespectLeaveOpen
✅ DocumentsGeneratedDefaultHost(basicAnalyzerKind: InMemory)
✅ DocumentsGeneratedDefaultHost(basicAnalyzerKind: None)
✅ DocumentsGeneratedDefaultHost(basicAnalyzerKind: OnDisk)
✅ ProjectReference_Simple

✅ Basic.CompilerLog.UnitTests.StringStreamTests

✅ Behaviors
✅ PositionReset
✅ PositionSetToMiddle
✅ ReadEmpty
✅ RoundTrip(input: "")
✅ RoundTrip(input: "Hello, world!")
✅ RoundTrip(input: "lets try this value")
✅ RoundTripGenerated

✅ Basic.CompilerLog.UnitTests.UsingAllCompilerLogTests

✅ ClassifyAll
✅ CommandLineArguments
✅ EmitToDisk
✅ EmitToMemory(basicAnalyzerKind: InMemory)
✅ EmitToMemory(basicAnalyzerKind: None)
✅ EmitToMemory(basicAnalyzerKind: OnDisk)
✅ EmitToMemoryCompilerLogWithSeparateState
✅ ExportAndBuild(includeAnalyzers: False)
✅ ExportAndBuild(includeAnalyzers: True)
✅ GeneratedFilePathsNoneHost
✅ GetAllLogData
✅ LoadAllCore(none: False)
✅ LoadAllCore(none: True)
✅ VerifyConsistentOptions

✅ TestResults-Test-Windows-Core.trx

334 tests were completed in 311s with 333 passed, 0 failed and 1 skipped.

Test suite Passed Failed Skipped Time
Basic.CompilerLog.UnitTests.BasicAnalyzerHostTests 5✅ 275ms
Basic.CompilerLog.UnitTests.BinaryLogReaderTests 22✅ 69s
Basic.CompilerLog.UnitTests.BinaryLogUtilTests 19✅ 1⚪ 3ms
Basic.CompilerLog.UnitTests.CodeAnalysisExtensionsTests 1✅ 3s
Basic.CompilerLog.UnitTests.CommonUtilTests 2✅ 0ms
Basic.CompilerLog.UnitTests.CompilationDataTests 13✅ 16s
Basic.CompilerLog.UnitTests.CompilationTaskDataTests 2✅ 0ms
Basic.CompilerLog.UnitTests.CompilerCallReaderUtilTests 4✅ 8ms
Basic.CompilerLog.UnitTests.CompilerCallTests 1✅ 0ms
Basic.CompilerLog.UnitTests.CompilerLogBuilderTests 4✅ 3s
Basic.CompilerLog.UnitTests.CompilerLogReaderExTests 4✅ 1s
Basic.CompilerLog.UnitTests.CompilerLogReaderTests 46✅ 54s
Basic.CompilerLog.UnitTests.CompilerLogUtilTests 1✅ 6ms
Basic.CompilerLog.UnitTests.ExportUtilTests 15✅ 18s
Basic.CompilerLog.UnitTests.ExtensionsTests 3✅ 13ms
Basic.CompilerLog.UnitTests.FilterOptionSetTest 1✅ 4ms
Basic.CompilerLog.UnitTests.LogReaderStateTests 3✅ 5ms
Basic.CompilerLog.UnitTests.MetadataTests 5✅ 1ms
Basic.CompilerLog.UnitTests.MSBuildProjectDataTests 1✅ 0ms
Basic.CompilerLog.UnitTests.PathNormalizationUtilTests 30✅ 2ms
Basic.CompilerLog.UnitTests.PathUtilTests 1✅ 0ms
Basic.CompilerLog.UnitTests.PolyfillTests 6✅ 12ms
Basic.CompilerLog.UnitTests.ProgramTests 84✅ 69s
Basic.CompilerLog.UnitTests.ResilientDirectoryTests 4✅ 4ms
Basic.CompilerLog.UnitTests.RoslynUtilTests 28✅ 7ms
Basic.CompilerLog.UnitTests.SdkUtilTests 1✅ 0ms
Basic.CompilerLog.UnitTests.SolutionReaderTests 5✅ 3s
Basic.CompilerLog.UnitTests.StringStreamTests 8✅ 99ms
Basic.CompilerLog.UnitTests.UsingAllCompilerLogTests 14✅ 53s

✅ Basic.CompilerLog.UnitTests.BasicAnalyzerHostTests

✅ Error
✅ NoneConflictingFileNames
✅ NoneDispose
✅ NoneProps
✅ Supported

✅ Basic.CompilerLog.UnitTests.BinaryLogReaderTests

✅ CreateFilePath(basicAnalyzerKind: InMemory)
✅ CreateFilePath(basicAnalyzerKind: OnDisk)
✅ CreateFilePathLogReaderState
✅ CreateStream1(basicAnalyzerKind: InMemory, leaveOpen: False)
✅ CreateStream1(basicAnalyzerKind: InMemory, leaveOpen: True)
✅ CreateStream1(basicAnalyzerKind: OnDisk, leaveOpen: True)
✅ CreateStream2(basicAnalyzerKind: InMemory, leaveOpen: False)
✅ CreateStream2(basicAnalyzerKind: InMemory, leaveOpen: True)
✅ CreateStream2(basicAnalyzerKind: OnDisk, leaveOpen: True)
✅ DisposeDouble
✅ GetCompilationSimple(basicAnalyzerKind: InMemory)
✅ GetCompilationSimple(basicAnalyzerKind: None)
✅ GetCompilationSimple(basicAnalyzerKind: OnDisk)
✅ ReadAllCompilerCallsTwice
✅ ReadCommandLineArgumentsIdentity
✅ ReadCommandLineArgumentsOwnership
✅ ReadGeneratedFilesDeletedPdb
✅ ReadGeneratedFilesNativePdb
✅ ReadGeneratedFilesSimple
✅ VerifyBasicAnalyzerKind(basicAnalyzerKind: InMemory)
✅ VerifyBasicAnalyzerKind(basicAnalyzerKind: None)
✅ VerifyBasicAnalyzerKind(basicAnalyzerKind: OnDisk)

✅ Basic.CompilerLog.UnitTests.BinaryLogUtilTests

✅ ParseCompilerAndArgumentsBad(inputArgs: "   ")
✅ ParseCompilerAndArgumentsBad(inputArgs: "dotnet csc2 what we expect a.cs")
✅ ParseCompilerAndArgumentsBad(inputArgs: "dotnet exec vbc.dll what we expect a.cs")
✅ ParseCompilerAndArgumentsBad(inputArgs: "dotnet not what we expect a.cs")
✅ ParseCompilerAndArgumentsBad(inputArgs: "empty")
✅ ParseCompilerAndArgumentsCsc(inputArgs: "csc.exe a.cs b.cs", expectedCompilerFilePath: "csc.exe", expectedArgs: "a.cs b.cs")
✅ ParseCompilerAndArgumentsCsc(inputArgs: "dotnet exec csc.dll a.cs", expectedCompilerFilePath: "csc.dll", expectedArgs: "a.cs")
✅ ParseCompilerAndArgumentsCsc(inputArgs: "dotnet-can-be-any-host-name exec csc.dll a.cs", expectedCompilerFilePath: "csc.dll", expectedArgs: "a.cs")
✅ ParseCompilerAndArgumentsCsc(inputArgs: "dotnet.exe exec csc.dll a.cs", expectedCompilerFilePath: "csc.dll", expectedArgs: "a.cs")
⚪ ParseCompilerAndArgumentsCscUnix
✅ ParseCompilerAndArgumentsCscWindows(inputArgs: "  C:\\Program Files\\dotnet\\dotnet.exe exec \"C:\"···, expectedCompilerFilePath: "C:\\Program Files\\dotnet\\sdk\\8.0.301\\Roslyn\\b"···, expectedArgs: "a.cs")
✅ ParseCompilerAndArgumentsCscWindows(inputArgs: "'C:\\Program Files\\dotnet\\dotnet.exe' exec \"C:\"···, expectedCompilerFilePath: "C:\\Program Files\\dotnet\\sdk\\8.0.301\\Roslyn\\b"···, expectedArgs: "a.cs")
✅ ParseCompilerAndArgumentsCscWindows(inputArgs: "\"C:\\Program Files\\dotnet\\dotnet.exe\" exec \"C"···, expectedCompilerFilePath: "C:\\Program Files\\dotnet\\sdk\\8.0.301\\Roslyn\\b"···, expectedArgs: "a.cs")
✅ ParseCompilerAndArgumentsCscWindows(inputArgs: "\"C:\\Program Files\\Microsoft Visual Studio\\2022"···, expectedCompilerFilePath: "C:\\Program Files\\Microsoft Visual Studio\\2022\\"···, expectedArgs: "a.cs b.cs")
✅ ParseCompilerAndArgumentsCscWindows(inputArgs: "C:\\Program Files\\dotnet\\dotnet.exe exec \"C:\\P"···, expectedCompilerFilePath: "C:\\Program Files\\dotnet\\sdk\\8.0.301\\Roslyn\\b"···, expectedArgs: "a.cs")
✅ ParseCompilerAndArgumentsCscWindows(inputArgs: "C:\\Program Files\\Microsoft Visual Studio\\2022\\"···, expectedCompilerFilePath: "C:\\Program Files\\Microsoft Visual Studio\\2022\\"···, expectedArgs: "a.cs b.cs")
✅ ParseCompilerAndArgumentsNull
✅ ParseCompilerAndArgumentsVbc(inputArgs: "dotnet-can-be-any-host-name exec vbc.dll a.vb", expectedCompilerFilePath: "vbc.dll", expectedArgs: "a.vb")
✅ ParseCompilerAndArgumentsVbc(inputArgs: "dotnet.exe exec vbc.dll a.cs", expectedCompilerFilePath: "vbc.dll", expectedArgs: "a.cs")
✅ ParseCompilerAndArgumentsVbc(inputArgs: "vbc.exe a.cs b.cs", expectedCompilerFilePath: "vbc.exe", expectedArgs: "a.cs b.cs")

✅ Basic.CompilerLog.UnitTests.CodeAnalysisExtensionsTests

✅ EmitToMemory

✅ Basic.CompilerLog.UnitTests.CommonUtilTests

✅ Defines
✅ GetAssemblyLoadContext

✅ Basic.CompilerLog.UnitTests.CompilationDataTests

✅ EmitToMemoryCombinations
✅ EmitToMemoryRefOnly
✅ GetAllDiagnostics(basicAnalyzerKind: InMemory)
✅ GetAllDiagnostics(basicAnalyzerKind: None)
✅ GetAllDiagnostics(basicAnalyzerKind: OnDisk)
✅ GetAllDiagnosticsNoAnalyzers
✅ GetAnalyzersNoHosting
✅ GetAnalyzersNormal
✅ GetCompilationAfterGeneratorsDiagnostics
✅ GetDiagnostics
✅ GetGeneratedSyntaxTrees(basicAnalyzerKind: InMemory)
✅ GetGeneratedSyntaxTrees(basicAnalyzerKind: None)
✅ GetGeneratedSyntaxTrees(basicAnalyzerKind: OnDisk)

✅ Basic.CompilerLog.UnitTests.CompilationTaskDataTests

✅ TryCreateCompilerCallBadArguments
✅ TryCreateCompilerNoArguments

✅ Basic.CompilerLog.UnitTests.CompilerCallReaderUtilTests

✅ CreateBadExtension
✅ GetAllAnalyzerKinds(basicAnalyzerKind: InMemory)
✅ GetAllAnalyzerKinds(basicAnalyzerKind: None)
✅ GetAllAnalyzerKinds(basicAnalyzerKind: OnDisk)

✅ Basic.CompilerLog.UnitTests.CompilerCallTests

✅ GetDiagnosticNameNoTargetFramework

✅ Basic.CompilerLog.UnitTests.CompilerLogBuilderTests

✅ AddMissingFile
✅ AddWithMissingCompilerFilePath
✅ CloseTwice
✅ PortablePdbMissing

✅ Basic.CompilerLog.UnitTests.CompilerLogReaderExTests

✅ AnalyzerConfigGeneratedCode(value: "0", expectedKind: Unknown)
✅ AnalyzerConfigGeneratedCode(value: "false", expectedKind: NotGenerated)
✅ AnalyzerConfigGeneratedCode(value: "true", expectedKind: MarkedGenerated)
✅ AnalyzerConfigNone

✅ Basic.CompilerLog.UnitTests.CompilerLogReaderTests

✅ AdditionalFiles
✅ AnalyzerDiagnostics
✅ AnalyzerLoadCaching(kind: InMemory)
✅ AnalyzerLoadCaching(kind: OnDisk)
✅ AnalyzerLoadDispose(kind: InMemory)
✅ AnalyzerLoadDispose(kind: OnDisk)
✅ AnalyzerLoadOptions(basicAnalyzerKind: InMemory)
✅ AnalyzerLoadOptions(basicAnalyzerKind: None)
✅ AnalyzerLoadOptions(basicAnalyzerKind: OnDisk)
✅ ContentExtraSourceFile(fileName: "file1.cs")
✅ ContentExtraSourceFile(fileName: "file2.cs")
✅ CreateInvalidZipFile
✅ CreateStream1(basicAnalyzerKind: InMemory, leaveOpen: False)
✅ CreateStream1(basicAnalyzerKind: InMemory, leaveOpen: True)
✅ CreateStream1(basicAnalyzerKind: OnDisk, leaveOpen: True)
✅ CreateStream2(basicAnalyzerKind: InMemory, leaveOpen: False)
✅ CreateStream2(basicAnalyzerKind: InMemory, leaveOpen: True)
✅ CreateStream2(basicAnalyzerKind: OnDisk, leaveOpen: True)
✅ Disposed
✅ EmbedLineIssues
✅ GlobalConfigPathMap
✅ HasAllGeneratedFileContent
✅ KeyFileCustomState
✅ KeyFileDefault
✅ KindWpf
✅ MetadataCompatV1(resourceName: "MetadataVersion1.console.complog")
✅ MetadataCompatV2(resourceName: "MetadataVersion2.console.complog")
✅ MetadataVersion
✅ NoneHostAddsNoGeneratorIfNoGeneratedSource
✅ NoneHostGeneratedFilesInRaw
✅ NoneHostGeneratedFilesShouldBeLast
✅ NoneHostHasSingelGenerator
✅ NoneHostNativePdb
✅ ProjectMultiTarget
✅ ProjectReferences_Alias
✅ ProjectReferences_Corrupted
✅ ProjectReferences_ReadReference
✅ ProjectReferences_Simple
✅ ProjectSingleTarget
✅ ReadCompilationDataBadIndex(index: -1)
✅ ReadCompilationDataBadIndex(index: 100)
✅ ReadCompilerCallBadIndex(index: -1)
✅ ReadCompilerCallBadIndex(index: 100)
✅ ReadCompilerCallWrongOwner
✅ ResourceSimpleEmbedded
✅ VisualBasic

✅ Basic.CompilerLog.UnitTests.CompilerLogUtilTests

✅ CreateBadExtension

✅ Basic.CompilerLog.UnitTests.ExportUtilTests

✅ ConsoleMultiTarget
✅ ConsoleWithLink
✅ ConsoleWithRuleset
✅ EmbedLineInsideProject
✅ ExportAll
✅ ExportAllBadPath
✅ ExportNoconfig
✅ ExportRsp1
✅ ExportRsp2
✅ ExportUnixPaths
✅ ExportWithUnsafeOption
✅ GeneratedText
✅ GeneratedTextExcludeAnalyzers
✅ GlobalConfigMapsPaths
✅ StrongNameKey

✅ Basic.CompilerLog.UnitTests.ExtensionsTests

✅ AddRange
✅ CheckEmitFlags
✅ GetFailureString

✅ Basic.CompilerLog.UnitTests.FilterOptionSetTest

✅ CheckForAnalyzers

✅ Basic.CompilerLog.UnitTests.LogReaderStateTests

✅ CustomAssemblyLoadContext
✅ DisposeCleansUpDirectories
✅ DisposeDirectoryLocked

✅ Basic.CompilerLog.UnitTests.MetadataTests

✅ ParseBadCount
✅ ParseBadFormat
✅ ParseBadVersion
✅ ParseVersion0
✅ ParseVersion1

✅ Basic.CompilerLog.UnitTests.MSBuildProjectDataTests

✅ MSBuildProjectDataToString

✅ Basic.CompilerLog.UnitTests.PathNormalizationUtilTests

✅ EmptyIsRooted
✅ UnixIsRooted(path: "../", expected: False)
✅ UnixIsRooted(path: "/", expected: True)
✅ UnixIsRooted(path: "/blah", expected: True)
✅ UnixIsRooted(path: "/code/blah.cs", expected: True)
✅ UnixIsRooted(path: "example/blah.cs", expected: False)
✅ UnixIsRooted(path: null, expected: False)
✅ UnixToWindowsNormalize(path: "/", expected: "c:\\code\\")
✅ UnixToWindowsNormalize(path: "/example", expected: "c:\\code\\example")
✅ UnixToWindowsNormalize(path: "/example/../blah.cs", expected: "c:\\code\\example\\..\\blah.cs")
✅ UnixToWindowsNormalize(path: "/example/", expected: "c:\\code\\example\\")
✅ UnixToWindowsNormalize(path: "/example/blah.cs", expected: "c:\\code\\example\\blah.cs")
✅ UnixToWindowsNormalize(path: null, expected: null)
✅ UnixToWindowsRootFileName(fileName: "a.cs", expected: "c:\\code\\a.cs")
✅ UnixToWindowsRootFileName(fileName: "example.cs", expected: "c:\\code\\example.cs")
✅ WindowsIsRooted(path: "\\..\\", expected: False)
✅ WindowsIsRooted(path: "c:", expected: True)
✅ WindowsIsRooted(path: "c:\\..\\", expected: True)
✅ WindowsIsRooted(path: "c:\\", expected: True)
✅ WindowsIsRooted(path: "c:\\\\\\", expected: True)
✅ WindowsIsRooted(path: "example\\blah.cs", expected: False)
✅ WindowsIsRooted(path: null, expected: False)
✅ WindowsToUnixNormalize(path: "c:\\", expected: "/code/")
✅ WindowsToUnixNormalize(path: "c:\\\\", expected: "/code/")
✅ WindowsToUnixNormalize(path: "c:\\\\\\", expected: "/code/")
✅ WindowsToUnixNormalize(path: "c:\\src\\..\\blah.cs", expected: "/code/src/../blah.cs")
✅ WindowsToUnixNormalize(path: "c:\\src\\blah.cs", expected: "/code/src/blah.cs")
✅ WindowsToUnixNormalize(path: null, expected: null)
✅ WindowsToUnixRootFileName(fileName: "a.cs", expected: "/code/a.cs")
✅ WindowsToUnixRootFileName(fileName: "example.cs", expected: "/code/example.cs")

✅ Basic.CompilerLog.UnitTests.PathUtilTests

✅ RemovePathStart

✅ Basic.CompilerLog.UnitTests.PolyfillTests

✅ ContainsCharSimple
✅ GetByteCountEmpty
✅ GetBytesCountEmpty
✅ ReadExactlyTooMany
✅ WriteLineSimple
✅ WriteSimple

✅ Basic.CompilerLog.UnitTests.ProgramTests

✅ AnalyzerBadOption
✅ AnalyzersBoth
✅ AnalyzersHelp
✅ AnalyzersProjectFilesDeleted
✅ BadCommand
✅ Create(extra: "--out custom.complog", fileName: "custom.complog")
✅ Create(extra: "-o custom.complog", fileName: "custom.complog")
✅ Create(extra: "", fileName: "msbuild.complog")
✅ CreateEmpty
✅ CreateExistingComplog
✅ CreateExtraArguments
✅ CreateFilePathOutput
✅ CreateFullPath
✅ CreateHelp(arg: "-h")
✅ CreateHelp(arg: "-help")
✅ CreateMultipleFiles
✅ CreateNoopBuild
✅ CreateOverRemovedProject
✅ CreateProjectFile
✅ CreateWithBuild
✅ ExportBadOption
✅ ExportCompilerLog(arg: "-a none", expectedKind: None)
✅ ExportCompilerLog(arg: "-a ondisk", expectedKind: OnDisk)
✅ ExportCompilerLog(arg: "", expectedKind: null)
✅ ExportHelp
✅ GeneratedBadArg
✅ GeneratedBadFilter
✅ GeneratedBoth(basicAnalyzerKind: InMemory)
✅ GeneratedBoth(basicAnalyzerKind: None)
✅ GeneratedBoth(basicAnalyzerKind: OnDisk)
✅ GeneratedHelp
✅ GeneratePdbMissing
✅ Help(arg: "")
✅ Help(arg: "help")
✅ HelpVerbose
✅ PrintAll
✅ PrintBadFile
✅ PrintCompilers
✅ PrintDiffMetadata(metadataVersion: 1)
✅ PrintDiffMetadata(metadataVersion: 100)
✅ PrintDirectory
✅ PrintEmptyDirectory
✅ PrintError
✅ PrintFrameworks
✅ PrintHelp
✅ PrintKinds
✅ PrintOne
✅ PrintWithoutProject
✅ References
✅ ReferencesBadOption
✅ ReferencesHelp
✅ ReplayBadOption
✅ ReplayConsoleWithEmit(arg: "--none")
✅ ReplayConsoleWithEmit(arg: "")
✅ ReplayHelp
✅ ReplayMissingOutput
✅ ReplayNewCompiler
✅ ReplayWithArgs(command: "diagnostics", arg: "--none", kind: None)
✅ ReplayWithArgs(command: "emit", arg: "--none", kind: None)
✅ ReplayWithArgs(command: "replay", arg: "--analyzers inmemory", kind: InMemory)
✅ ReplayWithArgs(command: "replay", arg: "--analyzers none", kind: None)
✅ ReplayWithArgs(command: "replay", arg: "--analyzers ondisk", kind: OnDisk)
✅ ReplayWithArgs(command: "replay", arg: "--none", kind: None)
✅ ReplayWithArgs(command: "replay", arg: "--severity Error", kind: null)
✅ ReplayWithArgs(command: "replay", arg: "", kind: null)
✅ ReplayWithBadProject
✅ ReplayWithBothLogs
✅ ReplayWithDiagnostics
✅ ReplayWithProject
✅ ResponseAll
✅ ResponseBadOption
✅ ResponseHelp
✅ ResponseInline
✅ ResponseInlineMultiTarget
✅ ResponseInlineWithOutput
✅ ResponseLinuxComplog
✅ ResponseMultiTarget
✅ ResponseNoLogArgument
✅ ResponseNoLogAvailable
✅ ResponseOnCompilerLog
✅ ResponseOnInvalidFileType
✅ ResponseOutputPath
✅ ResponseProjectFilter
✅ ResponseSingleLine

✅ Basic.CompilerLog.UnitTests.ResilientDirectoryTests

✅ GetNewFilePath1
✅ GetNewFilePath2
✅ GetNewFilePathFlatten1
✅ GetNewFilePathFlatten2

✅ Basic.CompilerLog.UnitTests.RoslynUtilTests

✅ GetAssemblyFileName(commandLine: "/target:exe", expectedFileName: "app.exe")
✅ GetAssemblyFileName(commandLine: "/target:library other.cs", expectedFileName: "other.dll")
✅ GetAssemblyFileName(commandLine: "/target:library", expectedFileName: "app.dll")
✅ GetAssemblyFileName(commandLine: "/target:module other.cs", expectedFileName: "other.netmodule")
✅ GetAssemblyFileName(commandLine: "/target:module", expectedFileName: "app.netmodule")
✅ GetAssemblyFileName(commandLine: "/target:winexe", expectedFileName: "app.exe")
✅ IsGlobalConfig(data: IsGlobalConfigData-0)
✅ IsGlobalConfig(data: IsGlobalConfigData-1)
✅ IsGlobalConfig(data: IsGlobalConfigData-10)
✅ IsGlobalConfig(data: IsGlobalConfigData-11)
✅ IsGlobalConfig(data: IsGlobalConfigData-12)
✅ IsGlobalConfig(data: IsGlobalConfigData-13)
✅ IsGlobalConfig(data: IsGlobalConfigData-14)
✅ IsGlobalConfig(data: IsGlobalConfigData-2)
✅ IsGlobalConfig(data: IsGlobalConfigData-3)
✅ IsGlobalConfig(data: IsGlobalConfigData-4)
✅ IsGlobalConfig(data: IsGlobalConfigData-5)
✅ IsGlobalConfig(data: IsGlobalConfigData-6)
✅ IsGlobalConfig(data: IsGlobalConfigData-7)
✅ IsGlobalConfig(data: IsGlobalConfigData-8)
✅ IsGlobalConfig(data: IsGlobalConfigData-9)
✅ ParseAllCSharpEmpty
✅ ParseAllVisualBasicEmpty
✅ ReadAssemblyNameSimple
✅ ReadMvidSimple
✅ RewriteGlobalEditorConfigPaths
✅ TryReadMvid_FileMissing
✅ TryReadMvid_FileNotPE

✅ Basic.CompilerLog.UnitTests.SdkUtilTests

✅ GetDotnetDirectoryBadPath

✅ Basic.CompilerLog.UnitTests.SolutionReaderTests

✅ CreateRespectLeaveOpen
✅ DocumentsGeneratedDefaultHost(basicAnalyzerKind: InMemory)
✅ DocumentsGeneratedDefaultHost(basicAnalyzerKind: None)
✅ DocumentsGeneratedDefaultHost(basicAnalyzerKind: OnDisk)
✅ ProjectReference_Simple

✅ Basic.CompilerLog.UnitTests.StringStreamTests

✅ Behaviors
✅ PositionReset
✅ PositionSetToMiddle
✅ ReadEmpty
✅ RoundTrip(input: "")
✅ RoundTrip(input: "Hello, world!")
✅ RoundTrip(input: "lets try this value")
✅ RoundTripGenerated

✅ Basic.CompilerLog.UnitTests.UsingAllCompilerLogTests

✅ ClassifyAll
✅ CommandLineArguments
✅ EmitToDisk
✅ EmitToMemory(basicAnalyzerKind: InMemory)
✅ EmitToMemory(basicAnalyzerKind: None)
✅ EmitToMemory(basicAnalyzerKind: OnDisk)
✅ EmitToMemoryCompilerLogWithSeparateState
✅ ExportAndBuild(includeAnalyzers: False)
✅ ExportAndBuild(includeAnalyzers: True)
✅ GeneratedFilePathsNoneHost
✅ GetAllLogData
✅ LoadAllCore(none: False)
✅ LoadAllCore(none: True)
✅ VerifyConsistentOptions

✅ TestResults-Test-Windows-Framework.trx

234 tests were completed in 188s with 233 passed, 0 failed and 1 skipped.

Test suite Passed Failed Skipped Time
Basic.CompilerLog.UnitTests.BasicAnalyzerHostTests 6✅ 3s
Basic.CompilerLog.UnitTests.BinaryLogReaderTests 20✅ 19s
Basic.CompilerLog.UnitTests.BinaryLogUtilTests 19✅ 1⚪ 34ms
Basic.CompilerLog.UnitTests.CodeAnalysisExtensionsTests 1✅ 5s
Basic.CompilerLog.UnitTests.CommonUtilTests 1✅ 1ms
Basic.CompilerLog.UnitTests.CompilationDataTests 10✅ 30s
Basic.CompilerLog.UnitTests.CompilationTaskDataTests 2✅ 2ms
Basic.CompilerLog.UnitTests.CompilerCallReaderUtilTests 4✅ 19ms
Basic.CompilerLog.UnitTests.CompilerCallTests 1✅ 1ms
Basic.CompilerLog.UnitTests.CompilerLogBuilderTests 4✅ 5s
Basic.CompilerLog.UnitTests.CompilerLogReaderExTests 4✅ 2s
Basic.CompilerLog.UnitTests.CompilerLogReaderTests 44✅ 53s
Basic.CompilerLog.UnitTests.CompilerLogUtilTests 1✅ 2ms
Basic.CompilerLog.UnitTests.ExportUtilTests 13✅ 17s
Basic.CompilerLog.UnitTests.ExtensionsTests 2✅ 7ms
Basic.CompilerLog.UnitTests.LogReaderStateTests 2✅ 6ms
Basic.CompilerLog.UnitTests.MetadataTests 5✅ 5ms
Basic.CompilerLog.UnitTests.MSBuildProjectDataTests 1✅ 1ms
Basic.CompilerLog.UnitTests.PathNormalizationUtilTests 30✅ 37ms
Basic.CompilerLog.UnitTests.PathUtilTests 1✅ 1ms
Basic.CompilerLog.UnitTests.PolyfillTests 6✅ 6ms
Basic.CompilerLog.UnitTests.ResilientDirectoryTests 4✅ 10ms
Basic.CompilerLog.UnitTests.RoslynUtilTests 28✅ 39ms
Basic.CompilerLog.UnitTests.SdkUtilTests 1✅ 1ms
Basic.CompilerLog.UnitTests.SolutionReaderTests 3✅ 3s
Basic.CompilerLog.UnitTests.StringStreamTests 8✅ 112ms
Basic.CompilerLog.UnitTests.UsingAllCompilerLogTests 12✅ 31s

✅ Basic.CompilerLog.UnitTests.BasicAnalyzerHostTests

✅ Error
✅ InMemory
✅ NoneConflictingFileNames
✅ NoneDispose
✅ NoneProps
✅ Supported

✅ Basic.CompilerLog.UnitTests.BinaryLogReaderTests

✅ CreateFilePath(basicAnalyzerKind: InMemory)
✅ CreateFilePath(basicAnalyzerKind: OnDisk)
✅ CreateFilePathLogReaderState
✅ CreateStream1(basicAnalyzerKind: InMemory, leaveOpen: False)
✅ CreateStream1(basicAnalyzerKind: InMemory, leaveOpen: True)
✅ CreateStream1(basicAnalyzerKind: OnDisk, leaveOpen: True)
✅ CreateStream2(basicAnalyzerKind: InMemory, leaveOpen: False)
✅ CreateStream2(basicAnalyzerKind: InMemory, leaveOpen: True)
✅ CreateStream2(basicAnalyzerKind: OnDisk, leaveOpen: True)
✅ DisposeDouble
✅ GetCompilationSimple(basicAnalyzerKind: None)
✅ GetCompilationSimple(basicAnalyzerKind: OnDisk)
✅ ReadAllCompilerCallsTwice
✅ ReadCommandLineArgumentsIdentity
✅ ReadCommandLineArgumentsOwnership
✅ ReadGeneratedFilesDeletedPdb
✅ ReadGeneratedFilesNativePdb
✅ ReadGeneratedFilesSimple
✅ VerifyBasicAnalyzerKind(basicAnalyzerKind: None)
✅ VerifyBasicAnalyzerKind(basicAnalyzerKind: OnDisk)

✅ Basic.CompilerLog.UnitTests.BinaryLogUtilTests

✅ ParseCompilerAndArgumentsBad(inputArgs: "   ")
✅ ParseCompilerAndArgumentsBad(inputArgs: "dotnet csc2 what we expect a.cs")
✅ ParseCompilerAndArgumentsBad(inputArgs: "dotnet exec vbc.dll what we expect a.cs")
✅ ParseCompilerAndArgumentsBad(inputArgs: "dotnet not what we expect a.cs")
✅ ParseCompilerAndArgumentsBad(inputArgs: "empty")
✅ ParseCompilerAndArgumentsCsc(inputArgs: "csc.exe a.cs b.cs", expectedCompilerFilePath: "csc.exe", expectedArgs: "a.cs b.cs")
✅ ParseCompilerAndArgumentsCsc(inputArgs: "dotnet exec csc.dll a.cs", expectedCompilerFilePath: "csc.dll", expectedArgs: "a.cs")
✅ ParseCompilerAndArgumentsCsc(inputArgs: "dotnet-can-be-any-host-name exec csc.dll a.cs", expectedCompilerFilePath: "csc.dll", expectedArgs: "a.cs")
✅ ParseCompilerAndArgumentsCsc(inputArgs: "dotnet.exe exec csc.dll a.cs", expectedCompilerFilePath: "csc.dll", expectedArgs: "a.cs")
⚪ ParseCompilerAndArgumentsCscUnix
✅ ParseCompilerAndArgumentsCscWindows(inputArgs: "  C:\\Program Files\\dotnet\\dotnet.exe exec \"C:\"···, expectedCompilerFilePath: "C:\\Program Files\\dotnet\\sdk\\8.0.301\\Roslyn\\b"···, expectedArgs: "a.cs")
✅ ParseCompilerAndArgumentsCscWindows(inputArgs: "'C:\\Program Files\\dotnet\\dotnet.exe' exec \"C:\"···, expectedCompilerFilePath: "C:\\Program Files\\dotnet\\sdk\\8.0.301\\Roslyn\\b"···, expectedArgs: "a.cs")
✅ ParseCompilerAndArgumentsCscWindows(inputArgs: "\"C:\\Program Files\\dotnet\\dotnet.exe\" exec \"C"···, expectedCompilerFilePath: "C:\\Program Files\\dotnet\\sdk\\8.0.301\\Roslyn\\b"···, expectedArgs: "a.cs")
✅ ParseCompilerAndArgumentsCscWindows(inputArgs: "\"C:\\Program Files\\Microsoft Visual Studio\\2022"···, expectedCompilerFilePath: "C:\\Program Files\\Microsoft Visual Studio\\2022\\"···, expectedArgs: "a.cs b.cs")
✅ ParseCompilerAndArgumentsCscWindows(inputArgs: "C:\\Program Files\\dotnet\\dotnet.exe exec \"C:\\P"···, expectedCompilerFilePath: "C:\\Program Files\\dotnet\\sdk\\8.0.301\\Roslyn\\b"···, expectedArgs: "a.cs")
✅ ParseCompilerAndArgumentsCscWindows(inputArgs: "C:\\Program Files\\Microsoft Visual Studio\\2022\\"···, expectedCompilerFilePath: "C:\\Program Files\\Microsoft Visual Studio\\2022\\"···, expectedArgs: "a.cs b.cs")
✅ ParseCompilerAndArgumentsNull
✅ ParseCompilerAndArgumentsVbc(inputArgs: "dotnet-can-be-any-host-name exec vbc.dll a.vb", expectedCompilerFilePath: "vbc.dll", expectedArgs: "a.vb")
✅ ParseCompilerAndArgumentsVbc(inputArgs: "dotnet.exe exec vbc.dll a.cs", expectedCompilerFilePath: "vbc.dll", expectedArgs: "a.cs")
✅ ParseCompilerAndArgumentsVbc(inputArgs: "vbc.exe a.cs b.cs", expectedCompilerFilePath: "vbc.exe", expectedArgs: "a.cs b.cs")

✅ Basic.CompilerLog.UnitTests.CodeAnalysisExtensionsTests

✅ EmitToMemory

✅ Basic.CompilerLog.UnitTests.CommonUtilTests

✅ Defines

✅ Basic.CompilerLog.UnitTests.CompilationDataTests

✅ EmitToMemoryCombinations
✅ EmitToMemoryRefOnly
✅ GetAllDiagnostics(basicAnalyzerKind: None)
✅ GetAllDiagnostics(basicAnalyzerKind: OnDisk)
✅ GetAllDiagnosticsNoAnalyzers
✅ GetAnalyzersNoHosting
✅ GetAnalyzersNormal
✅ GetCompilationAfterGeneratorsDiagnostics
✅ GetDiagnostics
✅ GetGeneratedSyntaxTrees(basicAnalyzerKind: None)

✅ Basic.CompilerLog.UnitTests.CompilationTaskDataTests

✅ TryCreateCompilerCallBadArguments
✅ TryCreateCompilerNoArguments

✅ Basic.CompilerLog.UnitTests.CompilerCallReaderUtilTests

✅ CreateBadExtension
✅ GetAllAnalyzerKinds(basicAnalyzerKind: InMemory)
✅ GetAllAnalyzerKinds(basicAnalyzerKind: None)
✅ GetAllAnalyzerKinds(basicAnalyzerKind: OnDisk)

✅ Basic.CompilerLog.UnitTests.CompilerCallTests

✅ GetDiagnosticNameNoTargetFramework

✅ Basic.CompilerLog.UnitTests.CompilerLogBuilderTests

✅ AddMissingFile
✅ AddWithMissingCompilerFilePath
✅ CloseTwice
✅ PortablePdbMissing

✅ Basic.CompilerLog.UnitTests.CompilerLogReaderExTests

✅ AnalyzerConfigGeneratedCode(value: "0", expectedKind: Unknown)
✅ AnalyzerConfigGeneratedCode(value: "false", expectedKind: NotGenerated)
✅ AnalyzerConfigGeneratedCode(value: "true", expectedKind: MarkedGenerated)
✅ AnalyzerConfigNone

✅ Basic.CompilerLog.UnitTests.CompilerLogReaderTests

✅ AdditionalFiles
✅ AnalyzerLoadCaching(kind: InMemory)
✅ AnalyzerLoadCaching(kind: OnDisk)
✅ AnalyzerLoadDispose(kind: InMemory)
✅ AnalyzerLoadDispose(kind: OnDisk)
✅ AnalyzerLoadOptions(basicAnalyzerKind: None)
✅ AnalyzerLoadOptions(basicAnalyzerKind: OnDisk)
✅ ContentExtraSourceFile(fileName: "file1.cs")
✅ ContentExtraSourceFile(fileName: "file2.cs")
✅ CreateInvalidZipFile
✅ CreateStream1(basicAnalyzerKind: InMemory, leaveOpen: False)
✅ CreateStream1(basicAnalyzerKind: InMemory, leaveOpen: True)
✅ CreateStream1(basicAnalyzerKind: OnDisk, leaveOpen: True)
✅ CreateStream2(basicAnalyzerKind: InMemory, leaveOpen: False)
✅ CreateStream2(basicAnalyzerKind: InMemory, leaveOpen: True)
✅ CreateStream2(basicAnalyzerKind: OnDisk, leaveOpen: True)
✅ Disposed
✅ EmbedLineIssues
✅ GlobalConfigPathMap
✅ HasAllGeneratedFileContent
✅ KeyFileCustomState
✅ KeyFileDefault
✅ KindWpf
✅ MetadataCompatV1(resourceName: "MetadataVersion1.console.complog")
✅ MetadataCompatV2(resourceName: "MetadataVersion2.console.complog")
✅ MetadataVersion
✅ NoneHostAddsNoGeneratorIfNoGeneratedSource
✅ NoneHostGeneratedFilesInRaw
✅ NoneHostGeneratedFilesShouldBeLast
✅ NoneHostHasSingelGenerator
✅ NoneHostNativePdb
✅ ProjectMultiTarget
✅ ProjectReferences_Alias
✅ ProjectReferences_Corrupted
✅ ProjectReferences_ReadReference
✅ ProjectReferences_Simple
✅ ProjectSingleTarget
✅ ReadCompilationDataBadIndex(index: -1)
✅ ReadCompilationDataBadIndex(index: 100)
✅ ReadCompilerCallBadIndex(index: -1)
✅ ReadCompilerCallBadIndex(index: 100)
✅ ReadCompilerCallWrongOwner
✅ ResourceSimpleEmbedded
✅ VisualBasic

✅ Basic.CompilerLog.UnitTests.CompilerLogUtilTests

✅ CreateBadExtension

✅ Basic.CompilerLog.UnitTests.ExportUtilTests

✅ ConsoleMultiTarget
✅ ConsoleWithLink
✅ ConsoleWithRuleset
✅ EmbedLineInsideProject
✅ ExportNoconfig
✅ ExportRsp1
✅ ExportRsp2
✅ ExportUnixPaths
✅ ExportWithUnsafeOption
✅ GeneratedText
✅ GeneratedTextExcludeAnalyzers
✅ GlobalConfigMapsPaths
✅ StrongNameKey

✅ Basic.CompilerLog.UnitTests.ExtensionsTests

✅ AddRange
✅ CheckEmitFlags

✅ Basic.CompilerLog.UnitTests.LogReaderStateTests

✅ DisposeCleansUpDirectories
✅ DisposeDirectoryLocked

✅ Basic.CompilerLog.UnitTests.MetadataTests

✅ ParseBadCount
✅ ParseBadFormat
✅ ParseBadVersion
✅ ParseVersion0
✅ ParseVersion1

✅ Basic.CompilerLog.UnitTests.MSBuildProjectDataTests

✅ MSBuildProjectDataToString

✅ Basic.CompilerLog.UnitTests.PathNormalizationUtilTests

✅ EmptyIsRooted
✅ UnixIsRooted(path: "../", expected: False)
✅ UnixIsRooted(path: "/", expected: True)
✅ UnixIsRooted(path: "/blah", expected: True)
✅ UnixIsRooted(path: "/code/blah.cs", expected: True)
✅ UnixIsRooted(path: "example/blah.cs", expected: False)
✅ UnixIsRooted(path: null, expected: False)
✅ UnixToWindowsNormalize(path: "/", expected: "c:\\code\\")
✅ UnixToWindowsNormalize(path: "/example", expected: "c:\\code\\example")
✅ UnixToWindowsNormalize(path: "/example/../blah.cs", expected: "c:\\code\\example\\..\\blah.cs")
✅ UnixToWindowsNormalize(path: "/example/", expected: "c:\\code\\example\\")
✅ UnixToWindowsNormalize(path: "/example/blah.cs", expected: "c:\\code\\example\\blah.cs")
✅ UnixToWindowsNormalize(path: null, expected: null)
✅ UnixToWindowsRootFileName(fileName: "a.cs", expected: "c:\\code\\a.cs")
✅ UnixToWindowsRootFileName(fileName: "example.cs", expected: "c:\\code\\example.cs")
✅ WindowsIsRooted(path: "\\..\\", expected: False)
✅ WindowsIsRooted(path: "c:", expected: True)
✅ WindowsIsRooted(path: "c:\\..\\", expected: True)
✅ WindowsIsRooted(path: "c:\\", expected: True)
✅ WindowsIsRooted(path: "c:\\\\\\", expected: True)
✅ WindowsIsRooted(path: "example\\blah.cs", expected: False)
✅ WindowsIsRooted(path: null, expected: False)
✅ WindowsToUnixNormalize(path: "c:\\", expected: "/code/")
✅ WindowsToUnixNormalize(path: "c:\\\\", expected: "/code/")
✅ WindowsToUnixNormalize(path: "c:\\\\\\", expected: "/code/")
✅ WindowsToUnixNormalize(path: "c:\\src\\..\\blah.cs", expected: "/code/src/../blah.cs")
✅ WindowsToUnixNormalize(path: "c:\\src\\blah.cs", expected: "/code/src/blah.cs")
✅ WindowsToUnixNormalize(path: null, expected: null)
✅ WindowsToUnixRootFileName(fileName: "a.cs", expected: "/code/a.cs")
✅ WindowsToUnixRootFileName(fileName: "example.cs", expected: "/code/example.cs")

✅ Basic.CompilerLog.UnitTests.PathUtilTests

✅ RemovePathStart

✅ Basic.CompilerLog.UnitTests.PolyfillTests

✅ ContainsCharSimple
✅ GetByteCountEmpty
✅ GetBytesCountEmpty
✅ ReadExactlyTooMany
✅ WriteLineSimple
✅ WriteSimple

✅ Basic.CompilerLog.UnitTests.ResilientDirectoryTests

✅ GetNewFilePath1
✅ GetNewFilePath2
✅ GetNewFilePathFlatten1
✅ GetNewFilePathFlatten2

✅ Basic.CompilerLog.UnitTests.RoslynUtilTests

✅ GetAssemblyFileName(commandLine: "/target:exe", expectedFileName: "app.exe")
✅ GetAssemblyFileName(commandLine: "/target:library other.cs", expectedFileName: "other.dll")
✅ GetAssemblyFileName(commandLine: "/target:library", expectedFileName: "app.dll")
✅ GetAssemblyFileName(commandLine: "/target:module other.cs", expectedFileName: "other.netmodule")
✅ GetAssemblyFileName(commandLine: "/target:module", expectedFileName: "app.netmodule")
✅ GetAssemblyFileName(commandLine: "/target:winexe", expectedFileName: "app.exe")
✅ IsGlobalConfig(data: IsGlobalConfigData-0)
✅ IsGlobalConfig(data: IsGlobalConfigData-1)
✅ IsGlobalConfig(data: IsGlobalConfigData-10)
✅ IsGlobalConfig(data: IsGlobalConfigData-11)
✅ IsGlobalConfig(data: IsGlobalConfigData-12)
✅ IsGlobalConfig(data: IsGlobalConfigData-13)
✅ IsGlobalConfig(data: IsGlobalConfigData-14)
✅ IsGlobalConfig(data: IsGlobalConfigData-2)
✅ IsGlobalConfig(data: IsGlobalConfigData-3)
✅ IsGlobalConfig(data: IsGlobalConfigData-4)
✅ IsGlobalConfig(data: IsGlobalConfigData-5)
✅ IsGlobalConfig(data: IsGlobalConfigData-6)
✅ IsGlobalConfig(data: IsGlobalConfigData-7)
✅ IsGlobalConfig(data: IsGlobalConfigData-8)
✅ IsGlobalConfig(data: IsGlobalConfigData-9)
✅ ParseAllCSharpEmpty
✅ ParseAllVisualBasicEmpty
✅ ReadAssemblyNameSimple
✅ ReadMvidSimple
✅ RewriteGlobalEditorConfigPaths
✅ TryReadMvid_FileMissing
✅ TryReadMvid_FileNotPE

✅ Basic.CompilerLog.UnitTests.SdkUtilTests

✅ GetDotnetDirectoryBadPath

✅ Basic.CompilerLog.UnitTests.SolutionReaderTests

✅ CreateRespectLeaveOpen
✅ DocumentsGeneratedDefaultHost(basicAnalyzerKind: None)
✅ ProjectReference_Simple

✅ Basic.CompilerLog.UnitTests.StringStreamTests

✅ Behaviors
✅ PositionReset
✅ PositionSetToMiddle
✅ ReadEmpty
✅ RoundTrip(input: "")
✅ RoundTrip(input: "Hello, world!")
✅ RoundTrip(input: "lets try this value")
✅ RoundTripGenerated

✅ Basic.CompilerLog.UnitTests.UsingAllCompilerLogTests

✅ ClassifyAll
✅ CommandLineArguments
✅ EmitToDisk
✅ EmitToMemory(basicAnalyzerKind: None)
✅ EmitToMemoryCompilerLogWithSeparateState
✅ ExportAndBuild(includeAnalyzers: False)
✅ ExportAndBuild(includeAnalyzers: True)
✅ GeneratedFilePathsNoneHost
✅ GetAllLogData
✅ LoadAllCore(none: False)
✅ LoadAllCore(none: True)
✅ VerifyConsistentOptions