Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,108 @@
// <auto-generated/>
#pragma warning disable

using TUnit.Core.Logging;
[global::System.Diagnostics.CodeAnalysis.ExcludeFromCodeCoverageAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("TUnit", "1.0.0.0")]
file static class TUnitInfrastructure
{
[global::System.Runtime.CompilerServices.ModuleInitializer]
public static void Initialize()
{
try
{
global::TUnit.Core.SourceRegistrar.IsEnabled = true;
}
catch { /* TUnit.Core not available - skip source registrar */ }
try
{
global::TUnit.Core.GlobalContext.Current.GlobalLogger.LogDebug("[ModuleInitializer:TestsBase`1] TUnit infrastructure initializing...");
}
catch { /* TUnit.Core not available - skip logging */ }
try
{
global::TUnit.Core.GlobalContext.Current.GlobalLogger.LogDebug("[ModuleInitializer:TestsBase`1] Loading 3 assembly reference(s)...");
}
catch { /* TUnit.Core not available - skip logging */ }
try
{
try
{
global::TUnit.Core.GlobalContext.Current.GlobalLogger.LogDebug("[ModuleInitializer:TestsBase`1] Loading assembly containing: global::TUnit.TestProject.Library.AsyncBaseTests");
}
catch { /* TUnit.Core not available - skip logging */ }
var type_0 = typeof(global::TUnit.TestProject.Library.AsyncBaseTests);
// Force module initializer to complete before proceeding
// RunClassConstructor triggers static constructor, which can only run AFTER module initializer completes
global::System.Runtime.CompilerServices.RuntimeHelpers.RunClassConstructor(type_0.TypeHandle);
try
{
global::TUnit.Core.GlobalContext.Current.GlobalLogger.LogDebug("[ModuleInitializer:TestsBase`1] Assembly initialized: global::TUnit.TestProject.Library.AsyncBaseTests");
}
catch { /* TUnit.Core not available - skip logging */ }
}
catch (global::System.Exception ex)
{
try
{
global::TUnit.Core.GlobalContext.Current.GlobalLogger.LogDebug("[ModuleInitializer:TestsBase`1] Failed to load global::TUnit.TestProject.Library.AsyncBaseTests: " + ex.Message);
}
catch { /* TUnit.Core not available - skip logging */ }
}
try
{
try
{
global::TUnit.Core.GlobalContext.Current.GlobalLogger.LogDebug("[ModuleInitializer:TestsBase`1] Loading assembly containing: global::VerifyTUnit.DerivePathInfo");
}
catch { /* TUnit.Core not available - skip logging */ }
var type_1 = typeof(global::VerifyTUnit.DerivePathInfo);
// Force module initializer to complete before proceeding
// RunClassConstructor triggers static constructor, which can only run AFTER module initializer completes
global::System.Runtime.CompilerServices.RuntimeHelpers.RunClassConstructor(type_1.TypeHandle);
try
{
global::TUnit.Core.GlobalContext.Current.GlobalLogger.LogDebug("[ModuleInitializer:TestsBase`1] Assembly initialized: global::VerifyTUnit.DerivePathInfo");
}
catch { /* TUnit.Core not available - skip logging */ }
}
catch (global::System.Exception ex)
{
try
{
global::TUnit.Core.GlobalContext.Current.GlobalLogger.LogDebug("[ModuleInitializer:TestsBase`1] Failed to load global::VerifyTUnit.DerivePathInfo: " + ex.Message);
}
catch { /* TUnit.Core not available - skip logging */ }
}
try
{
try
{
global::TUnit.Core.GlobalContext.Current.GlobalLogger.LogDebug("[ModuleInitializer:TestsBase`1] Loading assembly containing: global::TUnit.Core.SourceGenerator.Tests.AotConverterGeneratorTests");
}
catch { /* TUnit.Core not available - skip logging */ }
var type_2 = typeof(global::TUnit.Core.SourceGenerator.Tests.AotConverterGeneratorTests);
// Force module initializer to complete before proceeding
// RunClassConstructor triggers static constructor, which can only run AFTER module initializer completes
global::System.Runtime.CompilerServices.RuntimeHelpers.RunClassConstructor(type_2.TypeHandle);
try
{
global::TUnit.Core.GlobalContext.Current.GlobalLogger.LogDebug("[ModuleInitializer:TestsBase`1] Assembly initialized: global::TUnit.Core.SourceGenerator.Tests.AotConverterGeneratorTests");
}
catch { /* TUnit.Core not available - skip logging */ }
}
catch (global::System.Exception ex)
{
try
{
global::TUnit.Core.GlobalContext.Current.GlobalLogger.LogDebug("[ModuleInitializer:TestsBase`1] Failed to load global::TUnit.Core.SourceGenerator.Tests.AotConverterGeneratorTests: " + ex.Message);
}
catch { /* TUnit.Core not available - skip logging */ }
}
try
{
global::TUnit.Core.GlobalContext.Current.GlobalLogger.LogDebug("[ModuleInitializer:TestsBase`1] TUnit infrastructure initialized");
}
catch { /* TUnit.Core not available - skip logging */ }
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,108 @@
// <auto-generated/>
#pragma warning disable

using TUnit.Core.Logging;
[global::System.Diagnostics.CodeAnalysis.ExcludeFromCodeCoverageAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("TUnit", "1.0.0.0")]
file static class TUnitInfrastructure
{
[global::System.Runtime.CompilerServices.ModuleInitializer]
public static void Initialize()
{
try
{
global::TUnit.Core.SourceRegistrar.IsEnabled = true;
}
catch { /* TUnit.Core not available - skip source registrar */ }
try
{
global::TUnit.Core.GlobalContext.Current.GlobalLogger.LogDebug("[ModuleInitializer:TestsBase`1] TUnit infrastructure initializing...");
}
catch { /* TUnit.Core not available - skip logging */ }
try
{
global::TUnit.Core.GlobalContext.Current.GlobalLogger.LogDebug("[ModuleInitializer:TestsBase`1] Loading 3 assembly reference(s)...");
}
catch { /* TUnit.Core not available - skip logging */ }
try
{
try
{
global::TUnit.Core.GlobalContext.Current.GlobalLogger.LogDebug("[ModuleInitializer:TestsBase`1] Loading assembly containing: global::TUnit.TestProject.Library.AsyncBaseTests");
}
catch { /* TUnit.Core not available - skip logging */ }
var type_0 = typeof(global::TUnit.TestProject.Library.AsyncBaseTests);
// Force module initializer to complete before proceeding
// RunClassConstructor triggers static constructor, which can only run AFTER module initializer completes
global::System.Runtime.CompilerServices.RuntimeHelpers.RunClassConstructor(type_0.TypeHandle);
try
{
global::TUnit.Core.GlobalContext.Current.GlobalLogger.LogDebug("[ModuleInitializer:TestsBase`1] Assembly initialized: global::TUnit.TestProject.Library.AsyncBaseTests");
}
catch { /* TUnit.Core not available - skip logging */ }
}
catch (global::System.Exception ex)
{
try
{
global::TUnit.Core.GlobalContext.Current.GlobalLogger.LogDebug("[ModuleInitializer:TestsBase`1] Failed to load global::TUnit.TestProject.Library.AsyncBaseTests: " + ex.Message);
}
catch { /* TUnit.Core not available - skip logging */ }
}
try
{
try
{
global::TUnit.Core.GlobalContext.Current.GlobalLogger.LogDebug("[ModuleInitializer:TestsBase`1] Loading assembly containing: global::VerifyTUnit.DerivePathInfo");
}
catch { /* TUnit.Core not available - skip logging */ }
var type_1 = typeof(global::VerifyTUnit.DerivePathInfo);
// Force module initializer to complete before proceeding
// RunClassConstructor triggers static constructor, which can only run AFTER module initializer completes
global::System.Runtime.CompilerServices.RuntimeHelpers.RunClassConstructor(type_1.TypeHandle);
try
{
global::TUnit.Core.GlobalContext.Current.GlobalLogger.LogDebug("[ModuleInitializer:TestsBase`1] Assembly initialized: global::VerifyTUnit.DerivePathInfo");
}
catch { /* TUnit.Core not available - skip logging */ }
}
catch (global::System.Exception ex)
{
try
{
global::TUnit.Core.GlobalContext.Current.GlobalLogger.LogDebug("[ModuleInitializer:TestsBase`1] Failed to load global::VerifyTUnit.DerivePathInfo: " + ex.Message);
}
catch { /* TUnit.Core not available - skip logging */ }
}
try
{
try
{
global::TUnit.Core.GlobalContext.Current.GlobalLogger.LogDebug("[ModuleInitializer:TestsBase`1] Loading assembly containing: global::TUnit.Core.SourceGenerator.Tests.AotConverterGeneratorTests");
}
catch { /* TUnit.Core not available - skip logging */ }
var type_2 = typeof(global::TUnit.Core.SourceGenerator.Tests.AotConverterGeneratorTests);
// Force module initializer to complete before proceeding
// RunClassConstructor triggers static constructor, which can only run AFTER module initializer completes
global::System.Runtime.CompilerServices.RuntimeHelpers.RunClassConstructor(type_2.TypeHandle);
try
{
global::TUnit.Core.GlobalContext.Current.GlobalLogger.LogDebug("[ModuleInitializer:TestsBase`1] Assembly initialized: global::TUnit.Core.SourceGenerator.Tests.AotConverterGeneratorTests");
}
catch { /* TUnit.Core not available - skip logging */ }
}
catch (global::System.Exception ex)
{
try
{
global::TUnit.Core.GlobalContext.Current.GlobalLogger.LogDebug("[ModuleInitializer:TestsBase`1] Failed to load global::TUnit.Core.SourceGenerator.Tests.AotConverterGeneratorTests: " + ex.Message);
}
catch { /* TUnit.Core not available - skip logging */ }
}
try
{
global::TUnit.Core.GlobalContext.Current.GlobalLogger.LogDebug("[ModuleInitializer:TestsBase`1] TUnit infrastructure initialized");
}
catch { /* TUnit.Core not available - skip logging */ }
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,108 @@
// <auto-generated/>
#pragma warning disable

using TUnit.Core.Logging;
[global::System.Diagnostics.CodeAnalysis.ExcludeFromCodeCoverageAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("TUnit", "1.0.0.0")]
file static class TUnitInfrastructure
{
[global::System.Runtime.CompilerServices.ModuleInitializer]
public static void Initialize()
{
try
{
global::TUnit.Core.SourceRegistrar.IsEnabled = true;
}
catch { /* TUnit.Core not available - skip source registrar */ }
try
{
global::TUnit.Core.GlobalContext.Current.GlobalLogger.LogDebug("[ModuleInitializer:TestsBase`1] TUnit infrastructure initializing...");
}
catch { /* TUnit.Core not available - skip logging */ }
try
{
global::TUnit.Core.GlobalContext.Current.GlobalLogger.LogDebug("[ModuleInitializer:TestsBase`1] Loading 3 assembly reference(s)...");
}
catch { /* TUnit.Core not available - skip logging */ }
try
{
try
{
global::TUnit.Core.GlobalContext.Current.GlobalLogger.LogDebug("[ModuleInitializer:TestsBase`1] Loading assembly containing: global::TUnit.TestProject.Library.AsyncBaseTests");
}
catch { /* TUnit.Core not available - skip logging */ }
var type_0 = typeof(global::TUnit.TestProject.Library.AsyncBaseTests);
// Force module initializer to complete before proceeding
// RunClassConstructor triggers static constructor, which can only run AFTER module initializer completes
global::System.Runtime.CompilerServices.RuntimeHelpers.RunClassConstructor(type_0.TypeHandle);
try
{
global::TUnit.Core.GlobalContext.Current.GlobalLogger.LogDebug("[ModuleInitializer:TestsBase`1] Assembly initialized: global::TUnit.TestProject.Library.AsyncBaseTests");
}
catch { /* TUnit.Core not available - skip logging */ }
}
catch (global::System.Exception ex)
{
try
{
global::TUnit.Core.GlobalContext.Current.GlobalLogger.LogDebug("[ModuleInitializer:TestsBase`1] Failed to load global::TUnit.TestProject.Library.AsyncBaseTests: " + ex.Message);
}
catch { /* TUnit.Core not available - skip logging */ }
}
try
{
try
{
global::TUnit.Core.GlobalContext.Current.GlobalLogger.LogDebug("[ModuleInitializer:TestsBase`1] Loading assembly containing: global::VerifyTUnit.DerivePathInfo");
}
catch { /* TUnit.Core not available - skip logging */ }
var type_1 = typeof(global::VerifyTUnit.DerivePathInfo);
// Force module initializer to complete before proceeding
// RunClassConstructor triggers static constructor, which can only run AFTER module initializer completes
global::System.Runtime.CompilerServices.RuntimeHelpers.RunClassConstructor(type_1.TypeHandle);
try
{
global::TUnit.Core.GlobalContext.Current.GlobalLogger.LogDebug("[ModuleInitializer:TestsBase`1] Assembly initialized: global::VerifyTUnit.DerivePathInfo");
}
catch { /* TUnit.Core not available - skip logging */ }
}
catch (global::System.Exception ex)
{
try
{
global::TUnit.Core.GlobalContext.Current.GlobalLogger.LogDebug("[ModuleInitializer:TestsBase`1] Failed to load global::VerifyTUnit.DerivePathInfo: " + ex.Message);
}
catch { /* TUnit.Core not available - skip logging */ }
}
try
{
try
{
global::TUnit.Core.GlobalContext.Current.GlobalLogger.LogDebug("[ModuleInitializer:TestsBase`1] Loading assembly containing: global::TUnit.Core.SourceGenerator.Tests.AotConverterGeneratorTests");
}
catch { /* TUnit.Core not available - skip logging */ }
var type_2 = typeof(global::TUnit.Core.SourceGenerator.Tests.AotConverterGeneratorTests);
// Force module initializer to complete before proceeding
// RunClassConstructor triggers static constructor, which can only run AFTER module initializer completes
global::System.Runtime.CompilerServices.RuntimeHelpers.RunClassConstructor(type_2.TypeHandle);
try
{
global::TUnit.Core.GlobalContext.Current.GlobalLogger.LogDebug("[ModuleInitializer:TestsBase`1] Assembly initialized: global::TUnit.Core.SourceGenerator.Tests.AotConverterGeneratorTests");
}
catch { /* TUnit.Core not available - skip logging */ }
}
catch (global::System.Exception ex)
{
try
{
global::TUnit.Core.GlobalContext.Current.GlobalLogger.LogDebug("[ModuleInitializer:TestsBase`1] Failed to load global::TUnit.Core.SourceGenerator.Tests.AotConverterGeneratorTests: " + ex.Message);
}
catch { /* TUnit.Core not available - skip logging */ }
}
try
{
global::TUnit.Core.GlobalContext.Current.GlobalLogger.LogDebug("[ModuleInitializer:TestsBase`1] TUnit infrastructure initialized");
}
catch { /* TUnit.Core not available - skip logging */ }
}
}
Loading
Loading