Skip to content

Bump Basic.Reference.Assemblies.Net60 and System.Buffers #424

Bump Basic.Reference.Assemblies.Net60 and System.Buffers

Bump Basic.Reference.Assemblies.Net60 and System.Buffers #424

GitHub Actions / .NET Test Results succeeded Nov 11, 2024 in 1s

891 passed, 0 failed and 7 skipped

Tests passed successfully

Report Passed Failed Skipped Time
TestResults-Test-Linux.trx 325✅ 5⚪ 217s
TestResults-Test-Windows-Core.trx 333✅ 1⚪ 356s
TestResults-Test-Windows-Framework.trx 233✅ 1⚪ 200s

✅ TestResults-Test-Linux.trx

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

Test suite Passed Failed Skipped Time
Basic.CompilerLog.UnitTests.BasicAnalyzerHostTests 5✅ 18ms
Basic.CompilerLog.UnitTests.BinaryLogReaderTests 21✅ 1⚪ 7s
Basic.CompilerLog.UnitTests.BinaryLogUtilTests 15✅ 1⚪ 18ms
Basic.CompilerLog.UnitTests.CodeAnalysisExtensionsTests 1✅ 3s
Basic.CompilerLog.UnitTests.CommonUtilTests 2✅ 0ms
Basic.CompilerLog.UnitTests.CompilationDataTests 13✅ 9s
Basic.CompilerLog.UnitTests.CompilationTaskDataTests 2✅ 0ms
Basic.CompilerLog.UnitTests.CompilerCallReaderUtilTests 4✅ 3ms
Basic.CompilerLog.UnitTests.CompilerCallTests 1✅ 0ms
Basic.CompilerLog.UnitTests.CompilerLogBuilderTests 4✅ 4s
Basic.CompilerLog.UnitTests.CompilerLogReaderExTests 4✅ 1s
Basic.CompilerLog.UnitTests.CompilerLogReaderTests 44✅ 2⚪ 45s
Basic.CompilerLog.UnitTests.CompilerLogUtilTests 1✅ 1ms
Basic.CompilerLog.UnitTests.ExportUtilTests 15✅ 16s
Basic.CompilerLog.UnitTests.ExtensionsTests 3✅ 4ms
Basic.CompilerLog.UnitTests.FilterOptionSetTest 1✅ 5ms
Basic.CompilerLog.UnitTests.LogReaderStateTests 3✅ 2ms
Basic.CompilerLog.UnitTests.MetadataTests 5✅ 1ms
Basic.CompilerLog.UnitTests.MSBuildProjectDataTests 1✅ 1ms
Basic.CompilerLog.UnitTests.PathNormalizationUtilTests 30✅ 2ms
Basic.CompilerLog.UnitTests.PathUtilTests 1✅ 0ms
Basic.CompilerLog.UnitTests.PolyfillTests 6✅ 4ms
Basic.CompilerLog.UnitTests.ProgramTests 83✅ 1⚪ 63s
Basic.CompilerLog.UnitTests.ResilientDirectoryTests 4✅ 2ms
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✅ 42s

✅ 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 356s with 333 passed, 0 failed and 1 skipped.

Test suite Passed Failed Skipped Time
Basic.CompilerLog.UnitTests.BasicAnalyzerHostTests 5✅ 419ms
Basic.CompilerLog.UnitTests.BinaryLogReaderTests 22✅ 85s
Basic.CompilerLog.UnitTests.BinaryLogUtilTests 19✅ 1⚪ 13ms
Basic.CompilerLog.UnitTests.CodeAnalysisExtensionsTests 1✅ 3s
Basic.CompilerLog.UnitTests.CommonUtilTests 2✅ 74ms
Basic.CompilerLog.UnitTests.CompilationDataTests 13✅ 16s
Basic.CompilerLog.UnitTests.CompilationTaskDataTests 2✅ 0ms
Basic.CompilerLog.UnitTests.CompilerCallReaderUtilTests 4✅ 27ms
Basic.CompilerLog.UnitTests.CompilerCallTests 1✅ 0ms
Basic.CompilerLog.UnitTests.CompilerLogBuilderTests 4✅ 3s
Basic.CompilerLog.UnitTests.CompilerLogReaderExTests 4✅ 1000ms
Basic.CompilerLog.UnitTests.CompilerLogReaderTests 46✅ 60s
Basic.CompilerLog.UnitTests.CompilerLogUtilTests 1✅ 1ms
Basic.CompilerLog.UnitTests.ExportUtilTests 15✅ 20s
Basic.CompilerLog.UnitTests.ExtensionsTests 3✅ 9ms
Basic.CompilerLog.UnitTests.FilterOptionSetTest 1✅ 7ms
Basic.CompilerLog.UnitTests.LogReaderStateTests 3✅ 5ms
Basic.CompilerLog.UnitTests.MetadataTests 5✅ 1ms
Basic.CompilerLog.UnitTests.MSBuildProjectDataTests 1✅ 1ms
Basic.CompilerLog.UnitTests.PathNormalizationUtilTests 30✅ 5ms
Basic.CompilerLog.UnitTests.PathUtilTests 1✅ 0ms
Basic.CompilerLog.UnitTests.PolyfillTests 6✅ 8ms
Basic.CompilerLog.UnitTests.ProgramTests 84✅ 72s
Basic.CompilerLog.UnitTests.ResilientDirectoryTests 4✅ 5ms
Basic.CompilerLog.UnitTests.RoslynUtilTests 28✅ 7ms
Basic.CompilerLog.UnitTests.SdkUtilTests 1✅ 0ms
Basic.CompilerLog.UnitTests.SolutionReaderTests 5✅ 3s
Basic.CompilerLog.UnitTests.StringStreamTests 8✅ 80ms
Basic.CompilerLog.UnitTests.UsingAllCompilerLogTests 14✅ 54s

✅ 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 200s with 233 passed, 0 failed and 1 skipped.

Test suite Passed Failed Skipped Time
Basic.CompilerLog.UnitTests.BasicAnalyzerHostTests 6✅ 7s
Basic.CompilerLog.UnitTests.BinaryLogReaderTests 20✅ 19s
Basic.CompilerLog.UnitTests.BinaryLogUtilTests 19✅ 1⚪ 20ms
Basic.CompilerLog.UnitTests.CodeAnalysisExtensionsTests 1✅ 5s
Basic.CompilerLog.UnitTests.CommonUtilTests 1✅ 7ms
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✅ 3s
Basic.CompilerLog.UnitTests.CompilerLogReaderExTests 4✅ 1s
Basic.CompilerLog.UnitTests.CompilerLogReaderTests 44✅ 55s
Basic.CompilerLog.UnitTests.CompilerLogUtilTests 1✅ 2ms
Basic.CompilerLog.UnitTests.ExportUtilTests 13✅ 18s
Basic.CompilerLog.UnitTests.ExtensionsTests 2✅ 16ms
Basic.CompilerLog.UnitTests.LogReaderStateTests 2✅ 5ms
Basic.CompilerLog.UnitTests.MetadataTests 5✅ 82ms
Basic.CompilerLog.UnitTests.MSBuildProjectDataTests 1✅ 1ms
Basic.CompilerLog.UnitTests.PathNormalizationUtilTests 30✅ 30ms
Basic.CompilerLog.UnitTests.PathUtilTests 1✅ 1ms
Basic.CompilerLog.UnitTests.PolyfillTests 6✅ 288ms
Basic.CompilerLog.UnitTests.ResilientDirectoryTests 4✅ 5ms
Basic.CompilerLog.UnitTests.RoslynUtilTests 28✅ 35ms
Basic.CompilerLog.UnitTests.SdkUtilTests 1✅ 1ms
Basic.CompilerLog.UnitTests.SolutionReaderTests 3✅ 3s
Basic.CompilerLog.UnitTests.StringStreamTests 8✅ 98ms
Basic.CompilerLog.UnitTests.UsingAllCompilerLogTests 12✅ 37s

✅ 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