diff --git a/src/Directory.Packages.props b/src/Directory.Packages.props
index d717e1d..9d981af 100644
--- a/src/Directory.Packages.props
+++ b/src/Directory.Packages.props
@@ -28,5 +28,9 @@
+
+
+
+
diff --git a/src/Splat.DI.SourceGenerator.slnx b/src/Splat.DI.SourceGenerator.slnx
index 2804aaa..e543ca2 100644
--- a/src/Splat.DI.SourceGenerator.slnx
+++ b/src/Splat.DI.SourceGenerator.slnx
@@ -21,7 +21,8 @@
-
-
+
+
+
diff --git a/src/Splat.DependencyInjection.SourceGenerator.Tests/LS.CI_Test1#Splat.DI.g.verified.cs b/src/Splat.DependencyInjection.SourceGenerator.Tests/LS.CI_Test1#Splat.DI.g.verified.cs
deleted file mode 100644
index 69daa86..0000000
--- a/src/Splat.DependencyInjection.SourceGenerator.Tests/LS.CI_Test1#Splat.DI.g.verified.cs
+++ /dev/null
@@ -1,144 +0,0 @@
-//HintName: Splat.DI.g.cs
-//
-
-#nullable enable annotations
-#nullable disable warnings
-
-// Suppress warnings about [Obsolete] member usage in generated code.
-#pragma warning disable CS0612, CS0618
-
-namespace Splat
-{
- ///
- /// Extension methods for the Splat DI source generator.
- ///
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Splat.DependencyInjection.SourceGenerator", "1.2.0.0")]
- internal static partial class SplatRegistrations
- {
- ///
- /// Registers a class with its concrete class.
- ///
- public static void Register()
- {
- }
-
- ///
- /// Registers a class with its concrete class.
- ///
- /// Optional contract.
- public static void Register(string contract)
- {
- }
-
- ///
- /// Registers a class with its concrete class.
- ///
- public static void RegisterLazySingleton()
- {
- }
-
- ///
- /// Registers a class with its concrete class.
- ///
- /// The threading mode.
- public static void RegisterLazySingleton(System.Threading.LazyThreadSafetyMode mode)
- {
- }
-
- ///
- /// Registers a class with its concrete class.
- ///
- /// Optional contract.
- public static void RegisterLazySingleton(string contract)
- {
- }
-
- ///
- /// Registers a class with its concrete class.
- ///
- /// Optional contract.
- /// The threading mode.
- public static void RegisterLazySingleton(string contract, System.Threading.LazyThreadSafetyMode mode)
- {
- }
-
- ///
- /// Registers a class with its concrete class.
- ///
- public static void Register()
- {
- }
-
-
- ///
- /// Registers a class with its concrete class.
- ///
- /// Optional contract.
- public static void Register(string contract)
- {
- }
-
- ///
- /// Registers a lazy class with its concrete class.
- ///
- public static void RegisterLazySingleton()
- {
- }
-
-
- ///
- /// Registers a lazy class with its concrete class.
- ///
- /// Optional contract.
- public static void RegisterLazySingleton(string contract)
- {
- }
-
- ///
- /// Proxy for the Splat SetService.
- ///
- public static void RegisterConstant(T instance) => Splat.Locator.CurrentMutable.RegisterConstant(instance);
-
- ///
- /// Proxy for the Splat SetService.
- ///
- /// Optional contract.
- public static void RegisterConstant(T instance, string contract) => Splat.Locator.CurrentMutable.RegisterConstant(instance, contract);
-
- ///
- /// Registers the registrations.
- ///
- public static void SetupIOC()
- {
- SetupIOCInternal(Splat.Locator.GetLocator());
- }
-
- ///
- /// Registers the registrations.
- ///
- /// The resolver to register with.
- public static void SetupIOC(Splat.IDependencyResolver resolver)
- {
- SetupIOCInternal(resolver);
- }
-
-
- static partial void SetupIOCInternal(Splat.IDependencyResolver resolver);
- }
-
- ///
- /// Makes the property get added by the DI engine.
- ///
- [System.AttributeUsage(System.AttributeTargets.Property), Microsoft.CodeAnalysis.Embedded]
- internal sealed class DependencyInjectionPropertyAttribute : System.Attribute
- {
- }
-
- ///
- /// Makes this the constructor used by the DI engine.
- ///
- [System.AttributeUsage(System.AttributeTargets.Constructor), Microsoft.CodeAnalysis.Embedded]
- internal sealed class DependencyInjectionConstructorAttribute : System.Attribute
- {
- }
-}
\ No newline at end of file
diff --git a/src/Splat.DependencyInjection.SourceGenerator.Tests/LS.CI_Test2#Splat.DI.g.verified.cs b/src/Splat.DependencyInjection.SourceGenerator.Tests/LS.CI_Test2#Splat.DI.g.verified.cs
deleted file mode 100644
index 69daa86..0000000
--- a/src/Splat.DependencyInjection.SourceGenerator.Tests/LS.CI_Test2#Splat.DI.g.verified.cs
+++ /dev/null
@@ -1,144 +0,0 @@
-//HintName: Splat.DI.g.cs
-//
-
-#nullable enable annotations
-#nullable disable warnings
-
-// Suppress warnings about [Obsolete] member usage in generated code.
-#pragma warning disable CS0612, CS0618
-
-namespace Splat
-{
- ///
- /// Extension methods for the Splat DI source generator.
- ///
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Splat.DependencyInjection.SourceGenerator", "1.2.0.0")]
- internal static partial class SplatRegistrations
- {
- ///
- /// Registers a class with its concrete class.
- ///
- public static void Register()
- {
- }
-
- ///
- /// Registers a class with its concrete class.
- ///
- /// Optional contract.
- public static void Register(string contract)
- {
- }
-
- ///
- /// Registers a class with its concrete class.
- ///
- public static void RegisterLazySingleton()
- {
- }
-
- ///
- /// Registers a class with its concrete class.
- ///
- /// The threading mode.
- public static void RegisterLazySingleton(System.Threading.LazyThreadSafetyMode mode)
- {
- }
-
- ///
- /// Registers a class with its concrete class.
- ///
- /// Optional contract.
- public static void RegisterLazySingleton(string contract)
- {
- }
-
- ///
- /// Registers a class with its concrete class.
- ///
- /// Optional contract.
- /// The threading mode.
- public static void RegisterLazySingleton(string contract, System.Threading.LazyThreadSafetyMode mode)
- {
- }
-
- ///
- /// Registers a class with its concrete class.
- ///
- public static void Register()
- {
- }
-
-
- ///
- /// Registers a class with its concrete class.
- ///
- /// Optional contract.
- public static void Register(string contract)
- {
- }
-
- ///
- /// Registers a lazy class with its concrete class.
- ///
- public static void RegisterLazySingleton()
- {
- }
-
-
- ///
- /// Registers a lazy class with its concrete class.
- ///
- /// Optional contract.
- public static void RegisterLazySingleton(string contract)
- {
- }
-
- ///
- /// Proxy for the Splat SetService.
- ///
- public static void RegisterConstant(T instance) => Splat.Locator.CurrentMutable.RegisterConstant(instance);
-
- ///
- /// Proxy for the Splat SetService.
- ///
- /// Optional contract.
- public static void RegisterConstant(T instance, string contract) => Splat.Locator.CurrentMutable.RegisterConstant(instance, contract);
-
- ///
- /// Registers the registrations.
- ///
- public static void SetupIOC()
- {
- SetupIOCInternal(Splat.Locator.GetLocator());
- }
-
- ///
- /// Registers the registrations.
- ///
- /// The resolver to register with.
- public static void SetupIOC(Splat.IDependencyResolver resolver)
- {
- SetupIOCInternal(resolver);
- }
-
-
- static partial void SetupIOCInternal(Splat.IDependencyResolver resolver);
- }
-
- ///
- /// Makes the property get added by the DI engine.
- ///
- [System.AttributeUsage(System.AttributeTargets.Property), Microsoft.CodeAnalysis.Embedded]
- internal sealed class DependencyInjectionPropertyAttribute : System.Attribute
- {
- }
-
- ///
- /// Makes this the constructor used by the DI engine.
- ///
- [System.AttributeUsage(System.AttributeTargets.Constructor), Microsoft.CodeAnalysis.Embedded]
- internal sealed class DependencyInjectionConstructorAttribute : System.Attribute
- {
- }
-}
\ No newline at end of file
diff --git a/src/Splat.DependencyInjection.SourceGenerator.Tests/LS.CI_contractParameter=#Splat.DI.g.verified.cs b/src/Splat.DependencyInjection.SourceGenerator.Tests/LS.CI_contractParameter=#Splat.DI.g.verified.cs
deleted file mode 100644
index 69daa86..0000000
--- a/src/Splat.DependencyInjection.SourceGenerator.Tests/LS.CI_contractParameter=#Splat.DI.g.verified.cs
+++ /dev/null
@@ -1,144 +0,0 @@
-//HintName: Splat.DI.g.cs
-//
-
-#nullable enable annotations
-#nullable disable warnings
-
-// Suppress warnings about [Obsolete] member usage in generated code.
-#pragma warning disable CS0612, CS0618
-
-namespace Splat
-{
- ///
- /// Extension methods for the Splat DI source generator.
- ///
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Splat.DependencyInjection.SourceGenerator", "1.2.0.0")]
- internal static partial class SplatRegistrations
- {
- ///
- /// Registers a class with its concrete class.
- ///
- public static void Register()
- {
- }
-
- ///
- /// Registers a class with its concrete class.
- ///
- /// Optional contract.
- public static void Register(string contract)
- {
- }
-
- ///
- /// Registers a class with its concrete class.
- ///
- public static void RegisterLazySingleton()
- {
- }
-
- ///
- /// Registers a class with its concrete class.
- ///
- /// The threading mode.
- public static void RegisterLazySingleton(System.Threading.LazyThreadSafetyMode mode)
- {
- }
-
- ///
- /// Registers a class with its concrete class.
- ///
- /// Optional contract.
- public static void RegisterLazySingleton(string contract)
- {
- }
-
- ///
- /// Registers a class with its concrete class.
- ///
- /// Optional contract.
- /// The threading mode.
- public static void RegisterLazySingleton(string contract, System.Threading.LazyThreadSafetyMode mode)
- {
- }
-
- ///
- /// Registers a class with its concrete class.
- ///
- public static void Register()
- {
- }
-
-
- ///
- /// Registers a class with its concrete class.
- ///
- /// Optional contract.
- public static void Register(string contract)
- {
- }
-
- ///
- /// Registers a lazy class with its concrete class.
- ///
- public static void RegisterLazySingleton()
- {
- }
-
-
- ///
- /// Registers a lazy class with its concrete class.
- ///
- /// Optional contract.
- public static void RegisterLazySingleton(string contract)
- {
- }
-
- ///
- /// Proxy for the Splat SetService.
- ///
- public static void RegisterConstant(T instance) => Splat.Locator.CurrentMutable.RegisterConstant(instance);
-
- ///
- /// Proxy for the Splat SetService.
- ///
- /// Optional contract.
- public static void RegisterConstant(T instance, string contract) => Splat.Locator.CurrentMutable.RegisterConstant(instance, contract);
-
- ///
- /// Registers the registrations.
- ///
- public static void SetupIOC()
- {
- SetupIOCInternal(Splat.Locator.GetLocator());
- }
-
- ///
- /// Registers the registrations.
- ///
- /// The resolver to register with.
- public static void SetupIOC(Splat.IDependencyResolver resolver)
- {
- SetupIOCInternal(resolver);
- }
-
-
- static partial void SetupIOCInternal(Splat.IDependencyResolver resolver);
- }
-
- ///
- /// Makes the property get added by the DI engine.
- ///
- [System.AttributeUsage(System.AttributeTargets.Property), Microsoft.CodeAnalysis.Embedded]
- internal sealed class DependencyInjectionPropertyAttribute : System.Attribute
- {
- }
-
- ///
- /// Makes this the constructor used by the DI engine.
- ///
- [System.AttributeUsage(System.AttributeTargets.Constructor), Microsoft.CodeAnalysis.Embedded]
- internal sealed class DependencyInjectionConstructorAttribute : System.Attribute
- {
- }
-}
\ No newline at end of file
diff --git a/src/Splat.DependencyInjection.SourceGenerator.Tests/LS.CIntPITypeArgument_Test1#Splat.DI.g.verified.cs b/src/Splat.DependencyInjection.SourceGenerator.Tests/LS.CIntPITypeArgument_Test1#Splat.DI.g.verified.cs
deleted file mode 100644
index 69daa86..0000000
--- a/src/Splat.DependencyInjection.SourceGenerator.Tests/LS.CIntPITypeArgument_Test1#Splat.DI.g.verified.cs
+++ /dev/null
@@ -1,144 +0,0 @@
-//HintName: Splat.DI.g.cs
-//
-
-#nullable enable annotations
-#nullable disable warnings
-
-// Suppress warnings about [Obsolete] member usage in generated code.
-#pragma warning disable CS0612, CS0618
-
-namespace Splat
-{
- ///
- /// Extension methods for the Splat DI source generator.
- ///
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Splat.DependencyInjection.SourceGenerator", "1.2.0.0")]
- internal static partial class SplatRegistrations
- {
- ///
- /// Registers a class with its concrete class.
- ///
- public static void Register()
- {
- }
-
- ///
- /// Registers a class with its concrete class.
- ///
- /// Optional contract.
- public static void Register(string contract)
- {
- }
-
- ///
- /// Registers a class with its concrete class.
- ///
- public static void RegisterLazySingleton()
- {
- }
-
- ///
- /// Registers a class with its concrete class.
- ///
- /// The threading mode.
- public static void RegisterLazySingleton(System.Threading.LazyThreadSafetyMode mode)
- {
- }
-
- ///
- /// Registers a class with its concrete class.
- ///
- /// Optional contract.
- public static void RegisterLazySingleton(string contract)
- {
- }
-
- ///
- /// Registers a class with its concrete class.
- ///
- /// Optional contract.
- /// The threading mode.
- public static void RegisterLazySingleton(string contract, System.Threading.LazyThreadSafetyMode mode)
- {
- }
-
- ///
- /// Registers a class with its concrete class.
- ///
- public static void Register()
- {
- }
-
-
- ///
- /// Registers a class with its concrete class.
- ///
- /// Optional contract.
- public static void Register(string contract)
- {
- }
-
- ///
- /// Registers a lazy class with its concrete class.
- ///
- public static void RegisterLazySingleton()
- {
- }
-
-
- ///
- /// Registers a lazy class with its concrete class.
- ///
- /// Optional contract.
- public static void RegisterLazySingleton(string contract)
- {
- }
-
- ///
- /// Proxy for the Splat SetService.
- ///
- public static void RegisterConstant(T instance) => Splat.Locator.CurrentMutable.RegisterConstant(instance);
-
- ///
- /// Proxy for the Splat SetService.
- ///
- /// Optional contract.
- public static void RegisterConstant(T instance, string contract) => Splat.Locator.CurrentMutable.RegisterConstant(instance, contract);
-
- ///
- /// Registers the registrations.
- ///
- public static void SetupIOC()
- {
- SetupIOCInternal(Splat.Locator.GetLocator());
- }
-
- ///
- /// Registers the registrations.
- ///
- /// The resolver to register with.
- public static void SetupIOC(Splat.IDependencyResolver resolver)
- {
- SetupIOCInternal(resolver);
- }
-
-
- static partial void SetupIOCInternal(Splat.IDependencyResolver resolver);
- }
-
- ///
- /// Makes the property get added by the DI engine.
- ///
- [System.AttributeUsage(System.AttributeTargets.Property), Microsoft.CodeAnalysis.Embedded]
- internal sealed class DependencyInjectionPropertyAttribute : System.Attribute
- {
- }
-
- ///
- /// Makes this the constructor used by the DI engine.
- ///
- [System.AttributeUsage(System.AttributeTargets.Constructor), Microsoft.CodeAnalysis.Embedded]
- internal sealed class DependencyInjectionConstructorAttribute : System.Attribute
- {
- }
-}
\ No newline at end of file
diff --git a/src/Splat.DependencyInjection.SourceGenerator.Tests/LS.CIntPITypeArgument_Test2#Splat.DI.g.verified.cs b/src/Splat.DependencyInjection.SourceGenerator.Tests/LS.CIntPITypeArgument_Test2#Splat.DI.g.verified.cs
deleted file mode 100644
index 69daa86..0000000
--- a/src/Splat.DependencyInjection.SourceGenerator.Tests/LS.CIntPITypeArgument_Test2#Splat.DI.g.verified.cs
+++ /dev/null
@@ -1,144 +0,0 @@
-//HintName: Splat.DI.g.cs
-//
-
-#nullable enable annotations
-#nullable disable warnings
-
-// Suppress warnings about [Obsolete] member usage in generated code.
-#pragma warning disable CS0612, CS0618
-
-namespace Splat
-{
- ///
- /// Extension methods for the Splat DI source generator.
- ///
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Splat.DependencyInjection.SourceGenerator", "1.2.0.0")]
- internal static partial class SplatRegistrations
- {
- ///
- /// Registers a class with its concrete class.
- ///
- public static void Register()
- {
- }
-
- ///
- /// Registers a class with its concrete class.
- ///
- /// Optional contract.
- public static void Register(string contract)
- {
- }
-
- ///
- /// Registers a class with its concrete class.
- ///
- public static void RegisterLazySingleton()
- {
- }
-
- ///
- /// Registers a class with its concrete class.
- ///
- /// The threading mode.
- public static void RegisterLazySingleton(System.Threading.LazyThreadSafetyMode mode)
- {
- }
-
- ///
- /// Registers a class with its concrete class.
- ///
- /// Optional contract.
- public static void RegisterLazySingleton(string contract)
- {
- }
-
- ///
- /// Registers a class with its concrete class.
- ///
- /// Optional contract.
- /// The threading mode.
- public static void RegisterLazySingleton(string contract, System.Threading.LazyThreadSafetyMode mode)
- {
- }
-
- ///
- /// Registers a class with its concrete class.
- ///
- public static void Register()
- {
- }
-
-
- ///
- /// Registers a class with its concrete class.
- ///
- /// Optional contract.
- public static void Register(string contract)
- {
- }
-
- ///
- /// Registers a lazy class with its concrete class.
- ///
- public static void RegisterLazySingleton()
- {
- }
-
-
- ///
- /// Registers a lazy class with its concrete class.
- ///
- /// Optional contract.
- public static void RegisterLazySingleton(string contract)
- {
- }
-
- ///
- /// Proxy for the Splat SetService.
- ///
- public static void RegisterConstant(T instance) => Splat.Locator.CurrentMutable.RegisterConstant(instance);
-
- ///
- /// Proxy for the Splat SetService.
- ///
- /// Optional contract.
- public static void RegisterConstant(T instance, string contract) => Splat.Locator.CurrentMutable.RegisterConstant(instance, contract);
-
- ///
- /// Registers the registrations.
- ///
- public static void SetupIOC()
- {
- SetupIOCInternal(Splat.Locator.GetLocator());
- }
-
- ///
- /// Registers the registrations.
- ///
- /// The resolver to register with.
- public static void SetupIOC(Splat.IDependencyResolver resolver)
- {
- SetupIOCInternal(resolver);
- }
-
-
- static partial void SetupIOCInternal(Splat.IDependencyResolver resolver);
- }
-
- ///
- /// Makes the property get added by the DI engine.
- ///
- [System.AttributeUsage(System.AttributeTargets.Property), Microsoft.CodeAnalysis.Embedded]
- internal sealed class DependencyInjectionPropertyAttribute : System.Attribute
- {
- }
-
- ///
- /// Makes this the constructor used by the DI engine.
- ///
- [System.AttributeUsage(System.AttributeTargets.Constructor), Microsoft.CodeAnalysis.Embedded]
- internal sealed class DependencyInjectionConstructorAttribute : System.Attribute
- {
- }
-}
\ No newline at end of file
diff --git a/src/Splat.DependencyInjection.SourceGenerator.Tests/LS.CIntPITypeArgument_contractParameter=#Splat.DI.g.verified.cs b/src/Splat.DependencyInjection.SourceGenerator.Tests/LS.CIntPITypeArgument_contractParameter=#Splat.DI.g.verified.cs
deleted file mode 100644
index 69daa86..0000000
--- a/src/Splat.DependencyInjection.SourceGenerator.Tests/LS.CIntPITypeArgument_contractParameter=#Splat.DI.g.verified.cs
+++ /dev/null
@@ -1,144 +0,0 @@
-//HintName: Splat.DI.g.cs
-//
-
-#nullable enable annotations
-#nullable disable warnings
-
-// Suppress warnings about [Obsolete] member usage in generated code.
-#pragma warning disable CS0612, CS0618
-
-namespace Splat
-{
- ///
- /// Extension methods for the Splat DI source generator.
- ///
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Splat.DependencyInjection.SourceGenerator", "1.2.0.0")]
- internal static partial class SplatRegistrations
- {
- ///
- /// Registers a class with its concrete class.
- ///
- public static void Register()
- {
- }
-
- ///
- /// Registers a class with its concrete class.
- ///
- /// Optional contract.
- public static void Register(string contract)
- {
- }
-
- ///
- /// Registers a class with its concrete class.
- ///
- public static void RegisterLazySingleton()
- {
- }
-
- ///
- /// Registers a class with its concrete class.
- ///
- /// The threading mode.
- public static void RegisterLazySingleton(System.Threading.LazyThreadSafetyMode mode)
- {
- }
-
- ///
- /// Registers a class with its concrete class.
- ///
- /// Optional contract.
- public static void RegisterLazySingleton(string contract)
- {
- }
-
- ///
- /// Registers a class with its concrete class.
- ///
- /// Optional contract.
- /// The threading mode.
- public static void RegisterLazySingleton(string contract, System.Threading.LazyThreadSafetyMode mode)
- {
- }
-
- ///
- /// Registers a class with its concrete class.
- ///
- public static void Register()
- {
- }
-
-
- ///
- /// Registers a class with its concrete class.
- ///
- /// Optional contract.
- public static void Register(string contract)
- {
- }
-
- ///
- /// Registers a lazy class with its concrete class.
- ///
- public static void RegisterLazySingleton()
- {
- }
-
-
- ///
- /// Registers a lazy class with its concrete class.
- ///
- /// Optional contract.
- public static void RegisterLazySingleton(string contract)
- {
- }
-
- ///
- /// Proxy for the Splat SetService.
- ///
- public static void RegisterConstant(T instance) => Splat.Locator.CurrentMutable.RegisterConstant(instance);
-
- ///
- /// Proxy for the Splat SetService.
- ///
- /// Optional contract.
- public static void RegisterConstant(T instance, string contract) => Splat.Locator.CurrentMutable.RegisterConstant(instance, contract);
-
- ///
- /// Registers the registrations.
- ///
- public static void SetupIOC()
- {
- SetupIOCInternal(Splat.Locator.GetLocator());
- }
-
- ///
- /// Registers the registrations.
- ///
- /// The resolver to register with.
- public static void SetupIOC(Splat.IDependencyResolver resolver)
- {
- SetupIOCInternal(resolver);
- }
-
-
- static partial void SetupIOCInternal(Splat.IDependencyResolver resolver);
- }
-
- ///
- /// Makes the property get added by the DI engine.
- ///
- [System.AttributeUsage(System.AttributeTargets.Property), Microsoft.CodeAnalysis.Embedded]
- internal sealed class DependencyInjectionPropertyAttribute : System.Attribute
- {
- }
-
- ///
- /// Makes this the constructor used by the DI engine.
- ///
- [System.AttributeUsage(System.AttributeTargets.Constructor), Microsoft.CodeAnalysis.Embedded]
- internal sealed class DependencyInjectionConstructorAttribute : System.Attribute
- {
- }
-}
\ No newline at end of file
diff --git a/src/Splat.DependencyInjection.SourceGenerator.Tests/LS.CIntPI_Test1#Splat.DI.g.verified.cs b/src/Splat.DependencyInjection.SourceGenerator.Tests/LS.CIntPI_Test1#Splat.DI.g.verified.cs
deleted file mode 100644
index 69daa86..0000000
--- a/src/Splat.DependencyInjection.SourceGenerator.Tests/LS.CIntPI_Test1#Splat.DI.g.verified.cs
+++ /dev/null
@@ -1,144 +0,0 @@
-//HintName: Splat.DI.g.cs
-//
-
-#nullable enable annotations
-#nullable disable warnings
-
-// Suppress warnings about [Obsolete] member usage in generated code.
-#pragma warning disable CS0612, CS0618
-
-namespace Splat
-{
- ///
- /// Extension methods for the Splat DI source generator.
- ///
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Splat.DependencyInjection.SourceGenerator", "1.2.0.0")]
- internal static partial class SplatRegistrations
- {
- ///
- /// Registers a class with its concrete class.
- ///
- public static void Register()
- {
- }
-
- ///
- /// Registers a class with its concrete class.
- ///
- /// Optional contract.
- public static void Register(string contract)
- {
- }
-
- ///
- /// Registers a class with its concrete class.
- ///
- public static void RegisterLazySingleton()
- {
- }
-
- ///
- /// Registers a class with its concrete class.
- ///
- /// The threading mode.
- public static void RegisterLazySingleton(System.Threading.LazyThreadSafetyMode mode)
- {
- }
-
- ///
- /// Registers a class with its concrete class.
- ///
- /// Optional contract.
- public static void RegisterLazySingleton(string contract)
- {
- }
-
- ///
- /// Registers a class with its concrete class.
- ///
- /// Optional contract.
- /// The threading mode.
- public static void RegisterLazySingleton(string contract, System.Threading.LazyThreadSafetyMode mode)
- {
- }
-
- ///
- /// Registers a class with its concrete class.
- ///
- public static void Register()
- {
- }
-
-
- ///
- /// Registers a class with its concrete class.
- ///
- /// Optional contract.
- public static void Register(string contract)
- {
- }
-
- ///
- /// Registers a lazy class with its concrete class.
- ///
- public static void RegisterLazySingleton()
- {
- }
-
-
- ///
- /// Registers a lazy class with its concrete class.
- ///
- /// Optional contract.
- public static void RegisterLazySingleton(string contract)
- {
- }
-
- ///
- /// Proxy for the Splat SetService.
- ///
- public static void RegisterConstant(T instance) => Splat.Locator.CurrentMutable.RegisterConstant(instance);
-
- ///
- /// Proxy for the Splat SetService.
- ///
- /// Optional contract.
- public static void RegisterConstant(T instance, string contract) => Splat.Locator.CurrentMutable.RegisterConstant(instance, contract);
-
- ///
- /// Registers the registrations.
- ///
- public static void SetupIOC()
- {
- SetupIOCInternal(Splat.Locator.GetLocator());
- }
-
- ///
- /// Registers the registrations.
- ///
- /// The resolver to register with.
- public static void SetupIOC(Splat.IDependencyResolver resolver)
- {
- SetupIOCInternal(resolver);
- }
-
-
- static partial void SetupIOCInternal(Splat.IDependencyResolver resolver);
- }
-
- ///
- /// Makes the property get added by the DI engine.
- ///
- [System.AttributeUsage(System.AttributeTargets.Property), Microsoft.CodeAnalysis.Embedded]
- internal sealed class DependencyInjectionPropertyAttribute : System.Attribute
- {
- }
-
- ///
- /// Makes this the constructor used by the DI engine.
- ///
- [System.AttributeUsage(System.AttributeTargets.Constructor), Microsoft.CodeAnalysis.Embedded]
- internal sealed class DependencyInjectionConstructorAttribute : System.Attribute
- {
- }
-}
\ No newline at end of file
diff --git a/src/Splat.DependencyInjection.SourceGenerator.Tests/LS.CIntPI_Test2#Splat.DI.g.verified.cs b/src/Splat.DependencyInjection.SourceGenerator.Tests/LS.CIntPI_Test2#Splat.DI.g.verified.cs
deleted file mode 100644
index 69daa86..0000000
--- a/src/Splat.DependencyInjection.SourceGenerator.Tests/LS.CIntPI_Test2#Splat.DI.g.verified.cs
+++ /dev/null
@@ -1,144 +0,0 @@
-//HintName: Splat.DI.g.cs
-//
-
-#nullable enable annotations
-#nullable disable warnings
-
-// Suppress warnings about [Obsolete] member usage in generated code.
-#pragma warning disable CS0612, CS0618
-
-namespace Splat
-{
- ///
- /// Extension methods for the Splat DI source generator.
- ///
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Splat.DependencyInjection.SourceGenerator", "1.2.0.0")]
- internal static partial class SplatRegistrations
- {
- ///
- /// Registers a class with its concrete class.
- ///
- public static void Register()
- {
- }
-
- ///
- /// Registers a class with its concrete class.
- ///
- /// Optional contract.
- public static void Register(string contract)
- {
- }
-
- ///
- /// Registers a class with its concrete class.
- ///
- public static void RegisterLazySingleton()
- {
- }
-
- ///
- /// Registers a class with its concrete class.
- ///
- /// The threading mode.
- public static void RegisterLazySingleton(System.Threading.LazyThreadSafetyMode mode)
- {
- }
-
- ///
- /// Registers a class with its concrete class.
- ///
- /// Optional contract.
- public static void RegisterLazySingleton(string contract)
- {
- }
-
- ///
- /// Registers a class with its concrete class.
- ///
- /// Optional contract.
- /// The threading mode.
- public static void RegisterLazySingleton(string contract, System.Threading.LazyThreadSafetyMode mode)
- {
- }
-
- ///
- /// Registers a class with its concrete class.
- ///
- public static void Register()
- {
- }
-
-
- ///
- /// Registers a class with its concrete class.
- ///
- /// Optional contract.
- public static void Register(string contract)
- {
- }
-
- ///
- /// Registers a lazy class with its concrete class.
- ///
- public static void RegisterLazySingleton()
- {
- }
-
-
- ///
- /// Registers a lazy class with its concrete class.
- ///
- /// Optional contract.
- public static void RegisterLazySingleton(string contract)
- {
- }
-
- ///
- /// Proxy for the Splat SetService.
- ///
- public static void RegisterConstant(T instance) => Splat.Locator.CurrentMutable.RegisterConstant(instance);
-
- ///
- /// Proxy for the Splat SetService.
- ///
- /// Optional contract.
- public static void RegisterConstant(T instance, string contract) => Splat.Locator.CurrentMutable.RegisterConstant(instance, contract);
-
- ///
- /// Registers the registrations.
- ///
- public static void SetupIOC()
- {
- SetupIOCInternal(Splat.Locator.GetLocator());
- }
-
- ///
- /// Registers the registrations.
- ///
- /// The resolver to register with.
- public static void SetupIOC(Splat.IDependencyResolver resolver)
- {
- SetupIOCInternal(resolver);
- }
-
-
- static partial void SetupIOCInternal(Splat.IDependencyResolver resolver);
- }
-
- ///
- /// Makes the property get added by the DI engine.
- ///
- [System.AttributeUsage(System.AttributeTargets.Property), Microsoft.CodeAnalysis.Embedded]
- internal sealed class DependencyInjectionPropertyAttribute : System.Attribute
- {
- }
-
- ///
- /// Makes this the constructor used by the DI engine.
- ///
- [System.AttributeUsage(System.AttributeTargets.Constructor), Microsoft.CodeAnalysis.Embedded]
- internal sealed class DependencyInjectionConstructorAttribute : System.Attribute
- {
- }
-}
\ No newline at end of file
diff --git a/src/Splat.DependencyInjection.SourceGenerator.Tests/LS.CIntPI_contractParameter=#Splat.DI.g.verified.cs b/src/Splat.DependencyInjection.SourceGenerator.Tests/LS.CIntPI_contractParameter=#Splat.DI.g.verified.cs
deleted file mode 100644
index 69daa86..0000000
--- a/src/Splat.DependencyInjection.SourceGenerator.Tests/LS.CIntPI_contractParameter=#Splat.DI.g.verified.cs
+++ /dev/null
@@ -1,144 +0,0 @@
-//HintName: Splat.DI.g.cs
-//
-
-#nullable enable annotations
-#nullable disable warnings
-
-// Suppress warnings about [Obsolete] member usage in generated code.
-#pragma warning disable CS0612, CS0618
-
-namespace Splat
-{
- ///
- /// Extension methods for the Splat DI source generator.
- ///
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Splat.DependencyInjection.SourceGenerator", "1.2.0.0")]
- internal static partial class SplatRegistrations
- {
- ///
- /// Registers a class with its concrete class.
- ///
- public static void Register()
- {
- }
-
- ///
- /// Registers a class with its concrete class.
- ///
- /// Optional contract.
- public static void Register(string contract)
- {
- }
-
- ///
- /// Registers a class with its concrete class.
- ///
- public static void RegisterLazySingleton()
- {
- }
-
- ///
- /// Registers a class with its concrete class.
- ///
- /// The threading mode.
- public static void RegisterLazySingleton(System.Threading.LazyThreadSafetyMode mode)
- {
- }
-
- ///
- /// Registers a class with its concrete class.
- ///
- /// Optional contract.
- public static void RegisterLazySingleton(string contract)
- {
- }
-
- ///
- /// Registers a class with its concrete class.
- ///
- /// Optional contract.
- /// The threading mode.
- public static void RegisterLazySingleton(string contract, System.Threading.LazyThreadSafetyMode mode)
- {
- }
-
- ///
- /// Registers a class with its concrete class.
- ///
- public static void Register()
- {
- }
-
-
- ///
- /// Registers a class with its concrete class.
- ///
- /// Optional contract.
- public static void Register(string contract)
- {
- }
-
- ///
- /// Registers a lazy class with its concrete class.
- ///
- public static void RegisterLazySingleton()
- {
- }
-
-
- ///
- /// Registers a lazy class with its concrete class.
- ///
- /// Optional contract.
- public static void RegisterLazySingleton(string contract)
- {
- }
-
- ///
- /// Proxy for the Splat SetService.
- ///
- public static void RegisterConstant(T instance) => Splat.Locator.CurrentMutable.RegisterConstant(instance);
-
- ///
- /// Proxy for the Splat SetService.
- ///
- /// Optional contract.
- public static void RegisterConstant(T instance, string contract) => Splat.Locator.CurrentMutable.RegisterConstant(instance, contract);
-
- ///
- /// Registers the registrations.
- ///
- public static void SetupIOC()
- {
- SetupIOCInternal(Splat.Locator.GetLocator());
- }
-
- ///
- /// Registers the registrations.
- ///
- /// The resolver to register with.
- public static void SetupIOC(Splat.IDependencyResolver resolver)
- {
- SetupIOCInternal(resolver);
- }
-
-
- static partial void SetupIOCInternal(Splat.IDependencyResolver resolver);
- }
-
- ///
- /// Makes the property get added by the DI engine.
- ///
- [System.AttributeUsage(System.AttributeTargets.Property), Microsoft.CodeAnalysis.Embedded]
- internal sealed class DependencyInjectionPropertyAttribute : System.Attribute
- {
- }
-
- ///
- /// Makes this the constructor used by the DI engine.
- ///
- [System.AttributeUsage(System.AttributeTargets.Constructor), Microsoft.CodeAnalysis.Embedded]
- internal sealed class DependencyInjectionConstructorAttribute : System.Attribute
- {
- }
-}
\ No newline at end of file
diff --git a/src/Splat.DependencyInjection.SourceGenerator.Tests/LS.CIntSetPI_Test1#Splat.DI.g.verified.cs b/src/Splat.DependencyInjection.SourceGenerator.Tests/LS.CIntSetPI_Test1#Splat.DI.g.verified.cs
deleted file mode 100644
index 69daa86..0000000
--- a/src/Splat.DependencyInjection.SourceGenerator.Tests/LS.CIntSetPI_Test1#Splat.DI.g.verified.cs
+++ /dev/null
@@ -1,144 +0,0 @@
-//HintName: Splat.DI.g.cs
-//
-
-#nullable enable annotations
-#nullable disable warnings
-
-// Suppress warnings about [Obsolete] member usage in generated code.
-#pragma warning disable CS0612, CS0618
-
-namespace Splat
-{
- ///
- /// Extension methods for the Splat DI source generator.
- ///
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Splat.DependencyInjection.SourceGenerator", "1.2.0.0")]
- internal static partial class SplatRegistrations
- {
- ///
- /// Registers a class with its concrete class.
- ///
- public static void Register()
- {
- }
-
- ///
- /// Registers a class with its concrete class.
- ///
- /// Optional contract.
- public static void Register(string contract)
- {
- }
-
- ///
- /// Registers a class with its concrete class.
- ///
- public static void RegisterLazySingleton()
- {
- }
-
- ///
- /// Registers a class with its concrete class.
- ///
- /// The threading mode.
- public static void RegisterLazySingleton(System.Threading.LazyThreadSafetyMode mode)
- {
- }
-
- ///
- /// Registers a class with its concrete class.
- ///
- /// Optional contract.
- public static void RegisterLazySingleton(string contract)
- {
- }
-
- ///
- /// Registers a class with its concrete class.
- ///
- /// Optional contract.
- /// The threading mode.
- public static void RegisterLazySingleton(string contract, System.Threading.LazyThreadSafetyMode mode)
- {
- }
-
- ///
- /// Registers a class with its concrete class.
- ///
- public static void Register()
- {
- }
-
-
- ///
- /// Registers a class with its concrete class.
- ///
- /// Optional contract.
- public static void Register(string contract)
- {
- }
-
- ///
- /// Registers a lazy class with its concrete class.
- ///
- public static void RegisterLazySingleton()
- {
- }
-
-
- ///
- /// Registers a lazy class with its concrete class.
- ///
- /// Optional contract.
- public static void RegisterLazySingleton(string contract)
- {
- }
-
- ///
- /// Proxy for the Splat SetService.
- ///
- public static void RegisterConstant(T instance) => Splat.Locator.CurrentMutable.RegisterConstant(instance);
-
- ///
- /// Proxy for the Splat SetService.
- ///
- /// Optional contract.
- public static void RegisterConstant(T instance, string contract) => Splat.Locator.CurrentMutable.RegisterConstant(instance, contract);
-
- ///
- /// Registers the registrations.
- ///
- public static void SetupIOC()
- {
- SetupIOCInternal(Splat.Locator.GetLocator());
- }
-
- ///
- /// Registers the registrations.
- ///
- /// The resolver to register with.
- public static void SetupIOC(Splat.IDependencyResolver resolver)
- {
- SetupIOCInternal(resolver);
- }
-
-
- static partial void SetupIOCInternal(Splat.IDependencyResolver resolver);
- }
-
- ///
- /// Makes the property get added by the DI engine.
- ///
- [System.AttributeUsage(System.AttributeTargets.Property), Microsoft.CodeAnalysis.Embedded]
- internal sealed class DependencyInjectionPropertyAttribute : System.Attribute
- {
- }
-
- ///
- /// Makes this the constructor used by the DI engine.
- ///
- [System.AttributeUsage(System.AttributeTargets.Constructor), Microsoft.CodeAnalysis.Embedded]
- internal sealed class DependencyInjectionConstructorAttribute : System.Attribute
- {
- }
-}
\ No newline at end of file
diff --git a/src/Splat.DependencyInjection.SourceGenerator.Tests/LS.CIntSetPI_Test2#Splat.DI.g.verified.cs b/src/Splat.DependencyInjection.SourceGenerator.Tests/LS.CIntSetPI_Test2#Splat.DI.g.verified.cs
deleted file mode 100644
index 69daa86..0000000
--- a/src/Splat.DependencyInjection.SourceGenerator.Tests/LS.CIntSetPI_Test2#Splat.DI.g.verified.cs
+++ /dev/null
@@ -1,144 +0,0 @@
-//HintName: Splat.DI.g.cs
-//
-
-#nullable enable annotations
-#nullable disable warnings
-
-// Suppress warnings about [Obsolete] member usage in generated code.
-#pragma warning disable CS0612, CS0618
-
-namespace Splat
-{
- ///
- /// Extension methods for the Splat DI source generator.
- ///
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Splat.DependencyInjection.SourceGenerator", "1.2.0.0")]
- internal static partial class SplatRegistrations
- {
- ///
- /// Registers a class with its concrete class.
- ///
- public static void Register()
- {
- }
-
- ///
- /// Registers a class with its concrete class.
- ///
- /// Optional contract.
- public static void Register(string contract)
- {
- }
-
- ///
- /// Registers a class with its concrete class.
- ///
- public static void RegisterLazySingleton()
- {
- }
-
- ///
- /// Registers a class with its concrete class.
- ///
- /// The threading mode.
- public static void RegisterLazySingleton(System.Threading.LazyThreadSafetyMode mode)
- {
- }
-
- ///
- /// Registers a class with its concrete class.
- ///
- /// Optional contract.
- public static void RegisterLazySingleton(string contract)
- {
- }
-
- ///
- /// Registers a class with its concrete class.
- ///
- /// Optional contract.
- /// The threading mode.
- public static void RegisterLazySingleton(string contract, System.Threading.LazyThreadSafetyMode mode)
- {
- }
-
- ///
- /// Registers a class with its concrete class.
- ///
- public static void Register()
- {
- }
-
-
- ///
- /// Registers a class with its concrete class.
- ///
- /// Optional contract.
- public static void Register(string contract)
- {
- }
-
- ///
- /// Registers a lazy class with its concrete class.
- ///
- public static void RegisterLazySingleton()
- {
- }
-
-
- ///
- /// Registers a lazy class with its concrete class.
- ///
- /// Optional contract.
- public static void RegisterLazySingleton(string contract)
- {
- }
-
- ///
- /// Proxy for the Splat SetService.
- ///
- public static void RegisterConstant(T instance) => Splat.Locator.CurrentMutable.RegisterConstant(instance);
-
- ///
- /// Proxy for the Splat SetService.
- ///
- /// Optional contract.
- public static void RegisterConstant(T instance, string contract) => Splat.Locator.CurrentMutable.RegisterConstant(instance, contract);
-
- ///
- /// Registers the registrations.
- ///
- public static void SetupIOC()
- {
- SetupIOCInternal(Splat.Locator.GetLocator());
- }
-
- ///
- /// Registers the registrations.
- ///
- /// The resolver to register with.
- public static void SetupIOC(Splat.IDependencyResolver resolver)
- {
- SetupIOCInternal(resolver);
- }
-
-
- static partial void SetupIOCInternal(Splat.IDependencyResolver resolver);
- }
-
- ///
- /// Makes the property get added by the DI engine.
- ///
- [System.AttributeUsage(System.AttributeTargets.Property), Microsoft.CodeAnalysis.Embedded]
- internal sealed class DependencyInjectionPropertyAttribute : System.Attribute
- {
- }
-
- ///
- /// Makes this the constructor used by the DI engine.
- ///
- [System.AttributeUsage(System.AttributeTargets.Constructor), Microsoft.CodeAnalysis.Embedded]
- internal sealed class DependencyInjectionConstructorAttribute : System.Attribute
- {
- }
-}
\ No newline at end of file
diff --git a/src/Splat.DependencyInjection.SourceGenerator.Tests/LS.CIntSetPI_contractParameter=#Splat.DI.g.verified.cs b/src/Splat.DependencyInjection.SourceGenerator.Tests/LS.CIntSetPI_contractParameter=#Splat.DI.g.verified.cs
deleted file mode 100644
index 69daa86..0000000
--- a/src/Splat.DependencyInjection.SourceGenerator.Tests/LS.CIntSetPI_contractParameter=#Splat.DI.g.verified.cs
+++ /dev/null
@@ -1,144 +0,0 @@
-//HintName: Splat.DI.g.cs
-//
-
-#nullable enable annotations
-#nullable disable warnings
-
-// Suppress warnings about [Obsolete] member usage in generated code.
-#pragma warning disable CS0612, CS0618
-
-namespace Splat
-{
- ///
- /// Extension methods for the Splat DI source generator.
- ///
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Splat.DependencyInjection.SourceGenerator", "1.2.0.0")]
- internal static partial class SplatRegistrations
- {
- ///
- /// Registers a class with its concrete class.
- ///
- public static void Register()
- {
- }
-
- ///
- /// Registers a class with its concrete class.
- ///
- /// Optional contract.
- public static void Register(string contract)
- {
- }
-
- ///
- /// Registers a class with its concrete class.
- ///
- public static void RegisterLazySingleton()
- {
- }
-
- ///
- /// Registers a class with its concrete class.
- ///
- /// The threading mode.
- public static void RegisterLazySingleton(System.Threading.LazyThreadSafetyMode mode)
- {
- }
-
- ///
- /// Registers a class with its concrete class.
- ///
- /// Optional contract.
- public static void RegisterLazySingleton(string contract)
- {
- }
-
- ///
- /// Registers a class with its concrete class.
- ///
- /// Optional contract.
- /// The threading mode.
- public static void RegisterLazySingleton(string contract, System.Threading.LazyThreadSafetyMode mode)
- {
- }
-
- ///
- /// Registers a class with its concrete class.
- ///
- public static void Register()
- {
- }
-
-
- ///
- /// Registers a class with its concrete class.
- ///
- /// Optional contract.
- public static void Register(string contract)
- {
- }
-
- ///
- /// Registers a lazy class with its concrete class.
- ///
- public static void RegisterLazySingleton()
- {
- }
-
-
- ///
- /// Registers a lazy class with its concrete class.
- ///
- /// Optional contract.
- public static void RegisterLazySingleton(string contract)
- {
- }
-
- ///
- /// Proxy for the Splat SetService.
- ///
- public static void RegisterConstant(T instance) => Splat.Locator.CurrentMutable.RegisterConstant(instance);
-
- ///
- /// Proxy for the Splat SetService.
- ///
- /// Optional contract.
- public static void RegisterConstant(T instance, string contract) => Splat.Locator.CurrentMutable.RegisterConstant(instance, contract);
-
- ///
- /// Registers the registrations.
- ///
- public static void SetupIOC()
- {
- SetupIOCInternal(Splat.Locator.GetLocator());
- }
-
- ///
- /// Registers the registrations.
- ///
- /// The resolver to register with.
- public static void SetupIOC(Splat.IDependencyResolver resolver)
- {
- SetupIOCInternal(resolver);
- }
-
-
- static partial void SetupIOCInternal(Splat.IDependencyResolver resolver);
- }
-
- ///
- /// Makes the property get added by the DI engine.
- ///
- [System.AttributeUsage(System.AttributeTargets.Property), Microsoft.CodeAnalysis.Embedded]
- internal sealed class DependencyInjectionPropertyAttribute : System.Attribute
- {
- }
-
- ///
- /// Makes this the constructor used by the DI engine.
- ///
- [System.AttributeUsage(System.AttributeTargets.Constructor), Microsoft.CodeAnalysis.Embedded]
- internal sealed class DependencyInjectionConstructorAttribute : System.Attribute
- {
- }
-}
\ No newline at end of file
diff --git a/src/Splat.DependencyInjection.SourceGenerator.Tests/LS.CMPILM_Test1_EP#Splat.DI.g.verified.cs b/src/Splat.DependencyInjection.SourceGenerator.Tests/LS.CMPILM_Test1_EP#Splat.DI.g.verified.cs
deleted file mode 100644
index 69daa86..0000000
--- a/src/Splat.DependencyInjection.SourceGenerator.Tests/LS.CMPILM_Test1_EP#Splat.DI.g.verified.cs
+++ /dev/null
@@ -1,144 +0,0 @@
-//HintName: Splat.DI.g.cs
-//
-
-#nullable enable annotations
-#nullable disable warnings
-
-// Suppress warnings about [Obsolete] member usage in generated code.
-#pragma warning disable CS0612, CS0618
-
-namespace Splat
-{
- ///
- /// Extension methods for the Splat DI source generator.
- ///
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Splat.DependencyInjection.SourceGenerator", "1.2.0.0")]
- internal static partial class SplatRegistrations
- {
- ///
- /// Registers a class with its concrete class.
- ///
- public static void Register()
- {
- }
-
- ///
- /// Registers a class with its concrete class.
- ///
- /// Optional contract.
- public static void Register(string contract)
- {
- }
-
- ///
- /// Registers a class with its concrete class.
- ///
- public static void RegisterLazySingleton()
- {
- }
-
- ///
- /// Registers a class with its concrete class.
- ///
- /// The threading mode.
- public static void RegisterLazySingleton(System.Threading.LazyThreadSafetyMode mode)
- {
- }
-
- ///
- /// Registers a class with its concrete class.
- ///
- /// Optional contract.
- public static void RegisterLazySingleton(string contract)
- {
- }
-
- ///
- /// Registers a class with its concrete class.
- ///
- /// Optional contract.
- /// The threading mode.
- public static void RegisterLazySingleton(string contract, System.Threading.LazyThreadSafetyMode mode)
- {
- }
-
- ///
- /// Registers a class with its concrete class.
- ///
- public static void Register()
- {
- }
-
-
- ///
- /// Registers a class with its concrete class.
- ///
- /// Optional contract.
- public static void Register(string contract)
- {
- }
-
- ///
- /// Registers a lazy class with its concrete class.
- ///
- public static void RegisterLazySingleton()
- {
- }
-
-
- ///
- /// Registers a lazy class with its concrete class.
- ///
- /// Optional contract.
- public static void RegisterLazySingleton(string contract)
- {
- }
-
- ///
- /// Proxy for the Splat SetService.
- ///
- public static void RegisterConstant(T instance) => Splat.Locator.CurrentMutable.RegisterConstant(instance);
-
- ///
- /// Proxy for the Splat SetService.
- ///
- /// Optional contract.
- public static void RegisterConstant(T instance, string contract) => Splat.Locator.CurrentMutable.RegisterConstant(instance, contract);
-
- ///
- /// Registers the registrations.
- ///
- public static void SetupIOC()
- {
- SetupIOCInternal(Splat.Locator.GetLocator());
- }
-
- ///
- /// Registers the registrations.
- ///
- /// The resolver to register with.
- public static void SetupIOC(Splat.IDependencyResolver resolver)
- {
- SetupIOCInternal(resolver);
- }
-
-
- static partial void SetupIOCInternal(Splat.IDependencyResolver resolver);
- }
-
- ///
- /// Makes the property get added by the DI engine.
- ///
- [System.AttributeUsage(System.AttributeTargets.Property), Microsoft.CodeAnalysis.Embedded]
- internal sealed class DependencyInjectionPropertyAttribute : System.Attribute
- {
- }
-
- ///
- /// Makes this the constructor used by the DI engine.
- ///
- [System.AttributeUsage(System.AttributeTargets.Constructor), Microsoft.CodeAnalysis.Embedded]
- internal sealed class DependencyInjectionConstructorAttribute : System.Attribute
- {
- }
-}
\ No newline at end of file
diff --git a/src/Splat.DependencyInjection.SourceGenerator.Tests/LS.CMPILM_Test1_N#Splat.DI.g.verified.cs b/src/Splat.DependencyInjection.SourceGenerator.Tests/LS.CMPILM_Test1_N#Splat.DI.g.verified.cs
deleted file mode 100644
index 69daa86..0000000
--- a/src/Splat.DependencyInjection.SourceGenerator.Tests/LS.CMPILM_Test1_N#Splat.DI.g.verified.cs
+++ /dev/null
@@ -1,144 +0,0 @@
-//HintName: Splat.DI.g.cs
-//
-
-#nullable enable annotations
-#nullable disable warnings
-
-// Suppress warnings about [Obsolete] member usage in generated code.
-#pragma warning disable CS0612, CS0618
-
-namespace Splat
-{
- ///
- /// Extension methods for the Splat DI source generator.
- ///
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Splat.DependencyInjection.SourceGenerator", "1.2.0.0")]
- internal static partial class SplatRegistrations
- {
- ///
- /// Registers a class with its concrete class.
- ///
- public static void Register()
- {
- }
-
- ///
- /// Registers a class with its concrete class.
- ///
- /// Optional contract.
- public static void Register(string contract)
- {
- }
-
- ///
- /// Registers a class with its concrete class.
- ///
- public static void RegisterLazySingleton()
- {
- }
-
- ///
- /// Registers a class with its concrete class.
- ///
- /// The threading mode.
- public static void RegisterLazySingleton(System.Threading.LazyThreadSafetyMode mode)
- {
- }
-
- ///
- /// Registers a class with its concrete class.
- ///
- /// Optional contract.
- public static void RegisterLazySingleton(string contract)
- {
- }
-
- ///
- /// Registers a class with its concrete class.
- ///
- /// Optional contract.
- /// The threading mode.
- public static void RegisterLazySingleton(string contract, System.Threading.LazyThreadSafetyMode mode)
- {
- }
-
- ///
- /// Registers a class with its concrete class.
- ///
- public static void Register()
- {
- }
-
-
- ///
- /// Registers a class with its concrete class.
- ///
- /// Optional contract.
- public static void Register(string contract)
- {
- }
-
- ///
- /// Registers a lazy class with its concrete class.
- ///
- public static void RegisterLazySingleton()
- {
- }
-
-
- ///
- /// Registers a lazy class with its concrete class.
- ///
- /// Optional contract.
- public static void RegisterLazySingleton(string contract)
- {
- }
-
- ///
- /// Proxy for the Splat SetService.
- ///
- public static void RegisterConstant(T instance) => Splat.Locator.CurrentMutable.RegisterConstant(instance);
-
- ///
- /// Proxy for the Splat SetService.
- ///
- /// Optional contract.
- public static void RegisterConstant(T instance, string contract) => Splat.Locator.CurrentMutable.RegisterConstant(instance, contract);
-
- ///
- /// Registers the registrations.
- ///
- public static void SetupIOC()
- {
- SetupIOCInternal(Splat.Locator.GetLocator());
- }
-
- ///
- /// Registers the registrations.
- ///
- /// The resolver to register with.
- public static void SetupIOC(Splat.IDependencyResolver resolver)
- {
- SetupIOCInternal(resolver);
- }
-
-
- static partial void SetupIOCInternal(Splat.IDependencyResolver resolver);
- }
-
- ///
- /// Makes the property get added by the DI engine.
- ///
- [System.AttributeUsage(System.AttributeTargets.Property), Microsoft.CodeAnalysis.Embedded]
- internal sealed class DependencyInjectionPropertyAttribute : System.Attribute
- {
- }
-
- ///
- /// Makes this the constructor used by the DI engine.
- ///
- [System.AttributeUsage(System.AttributeTargets.Constructor), Microsoft.CodeAnalysis.Embedded]
- internal sealed class DependencyInjectionConstructorAttribute : System.Attribute
- {
- }
-}
\ No newline at end of file
diff --git a/src/Splat.DependencyInjection.SourceGenerator.Tests/LS.CMPILM_Test1_P#Splat.DI.g.verified.cs b/src/Splat.DependencyInjection.SourceGenerator.Tests/LS.CMPILM_Test1_P#Splat.DI.g.verified.cs
deleted file mode 100644
index 69daa86..0000000
--- a/src/Splat.DependencyInjection.SourceGenerator.Tests/LS.CMPILM_Test1_P#Splat.DI.g.verified.cs
+++ /dev/null
@@ -1,144 +0,0 @@
-//HintName: Splat.DI.g.cs
-//
-
-#nullable enable annotations
-#nullable disable warnings
-
-// Suppress warnings about [Obsolete] member usage in generated code.
-#pragma warning disable CS0612, CS0618
-
-namespace Splat
-{
- ///
- /// Extension methods for the Splat DI source generator.
- ///
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Splat.DependencyInjection.SourceGenerator", "1.2.0.0")]
- internal static partial class SplatRegistrations
- {
- ///
- /// Registers a class with its concrete class.
- ///
- public static void Register()
- {
- }
-
- ///
- /// Registers a class with its concrete class.
- ///
- /// Optional contract.
- public static void Register(string contract)
- {
- }
-
- ///
- /// Registers a class with its concrete class.
- ///
- public static void RegisterLazySingleton()
- {
- }
-
- ///
- /// Registers a class with its concrete class.
- ///
- /// The threading mode.
- public static void RegisterLazySingleton(System.Threading.LazyThreadSafetyMode mode)
- {
- }
-
- ///
- /// Registers a class with its concrete class.
- ///
- /// Optional contract.
- public static void RegisterLazySingleton(string contract)
- {
- }
-
- ///
- /// Registers a class with its concrete class.
- ///
- /// Optional contract.
- /// The threading mode.
- public static void RegisterLazySingleton(string contract, System.Threading.LazyThreadSafetyMode mode)
- {
- }
-
- ///
- /// Registers a class with its concrete class.
- ///
- public static void Register()
- {
- }
-
-
- ///
- /// Registers a class with its concrete class.
- ///
- /// Optional contract.
- public static void Register(string contract)
- {
- }
-
- ///
- /// Registers a lazy class with its concrete class.
- ///
- public static void RegisterLazySingleton()
- {
- }
-
-
- ///
- /// Registers a lazy class with its concrete class.
- ///
- /// Optional contract.
- public static void RegisterLazySingleton(string contract)
- {
- }
-
- ///
- /// Proxy for the Splat SetService.
- ///
- public static void RegisterConstant(T instance) => Splat.Locator.CurrentMutable.RegisterConstant(instance);
-
- ///
- /// Proxy for the Splat SetService.
- ///
- /// Optional contract.
- public static void RegisterConstant(T instance, string contract) => Splat.Locator.CurrentMutable.RegisterConstant(instance, contract);
-
- ///
- /// Registers the registrations.
- ///
- public static void SetupIOC()
- {
- SetupIOCInternal(Splat.Locator.GetLocator());
- }
-
- ///
- /// Registers the registrations.
- ///
- /// The resolver to register with.
- public static void SetupIOC(Splat.IDependencyResolver resolver)
- {
- SetupIOCInternal(resolver);
- }
-
-
- static partial void SetupIOCInternal(Splat.IDependencyResolver resolver);
- }
-
- ///
- /// Makes the property get added by the DI engine.
- ///
- [System.AttributeUsage(System.AttributeTargets.Property), Microsoft.CodeAnalysis.Embedded]
- internal sealed class DependencyInjectionPropertyAttribute : System.Attribute
- {
- }
-
- ///
- /// Makes this the constructor used by the DI engine.
- ///
- [System.AttributeUsage(System.AttributeTargets.Constructor), Microsoft.CodeAnalysis.Embedded]
- internal sealed class DependencyInjectionConstructorAttribute : System.Attribute
- {
- }
-}
\ No newline at end of file
diff --git a/src/Splat.DependencyInjection.SourceGenerator.Tests/LS.CMPILM_Test2_EP#Splat.DI.g.verified.cs b/src/Splat.DependencyInjection.SourceGenerator.Tests/LS.CMPILM_Test2_EP#Splat.DI.g.verified.cs
deleted file mode 100644
index 69daa86..0000000
--- a/src/Splat.DependencyInjection.SourceGenerator.Tests/LS.CMPILM_Test2_EP#Splat.DI.g.verified.cs
+++ /dev/null
@@ -1,144 +0,0 @@
-//HintName: Splat.DI.g.cs
-//
-
-#nullable enable annotations
-#nullable disable warnings
-
-// Suppress warnings about [Obsolete] member usage in generated code.
-#pragma warning disable CS0612, CS0618
-
-namespace Splat
-{
- ///
- /// Extension methods for the Splat DI source generator.
- ///
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Splat.DependencyInjection.SourceGenerator", "1.2.0.0")]
- internal static partial class SplatRegistrations
- {
- ///
- /// Registers a class with its concrete class.
- ///
- public static void Register()
- {
- }
-
- ///
- /// Registers a class with its concrete class.
- ///
- /// Optional contract.
- public static void Register(string contract)
- {
- }
-
- ///
- /// Registers a class with its concrete class.
- ///
- public static void RegisterLazySingleton()
- {
- }
-
- ///
- /// Registers a class with its concrete class.
- ///
- /// The threading mode.
- public static void RegisterLazySingleton(System.Threading.LazyThreadSafetyMode mode)
- {
- }
-
- ///
- /// Registers a class with its concrete class.
- ///
- /// Optional contract.
- public static void RegisterLazySingleton(string contract)
- {
- }
-
- ///
- /// Registers a class with its concrete class.
- ///
- /// Optional contract.
- /// The threading mode.
- public static void RegisterLazySingleton(string contract, System.Threading.LazyThreadSafetyMode mode)
- {
- }
-
- ///
- /// Registers a class with its concrete class.
- ///
- public static void Register()
- {
- }
-
-
- ///
- /// Registers a class with its concrete class.
- ///
- /// Optional contract.
- public static void Register(string contract)
- {
- }
-
- ///
- /// Registers a lazy class with its concrete class.
- ///
- public static void RegisterLazySingleton()
- {
- }
-
-
- ///
- /// Registers a lazy class with its concrete class.
- ///
- /// Optional contract.
- public static void RegisterLazySingleton(string contract)
- {
- }
-
- ///
- /// Proxy for the Splat SetService.
- ///
- public static void RegisterConstant(T instance) => Splat.Locator.CurrentMutable.RegisterConstant(instance);
-
- ///
- /// Proxy for the Splat SetService.
- ///
- /// Optional contract.
- public static void RegisterConstant(T instance, string contract) => Splat.Locator.CurrentMutable.RegisterConstant(instance, contract);
-
- ///
- /// Registers the registrations.
- ///
- public static void SetupIOC()
- {
- SetupIOCInternal(Splat.Locator.GetLocator());
- }
-
- ///
- /// Registers the registrations.
- ///
- /// The resolver to register with.
- public static void SetupIOC(Splat.IDependencyResolver resolver)
- {
- SetupIOCInternal(resolver);
- }
-
-
- static partial void SetupIOCInternal(Splat.IDependencyResolver resolver);
- }
-
- ///
- /// Makes the property get added by the DI engine.
- ///
- [System.AttributeUsage(System.AttributeTargets.Property), Microsoft.CodeAnalysis.Embedded]
- internal sealed class DependencyInjectionPropertyAttribute : System.Attribute
- {
- }
-
- ///
- /// Makes this the constructor used by the DI engine.
- ///
- [System.AttributeUsage(System.AttributeTargets.Constructor), Microsoft.CodeAnalysis.Embedded]
- internal sealed class DependencyInjectionConstructorAttribute : System.Attribute
- {
- }
-}
\ No newline at end of file
diff --git a/src/Splat.DependencyInjection.SourceGenerator.Tests/LS.CMPILM_Test2_N#Splat.DI.g.verified.cs b/src/Splat.DependencyInjection.SourceGenerator.Tests/LS.CMPILM_Test2_N#Splat.DI.g.verified.cs
deleted file mode 100644
index 69daa86..0000000
--- a/src/Splat.DependencyInjection.SourceGenerator.Tests/LS.CMPILM_Test2_N#Splat.DI.g.verified.cs
+++ /dev/null
@@ -1,144 +0,0 @@
-//HintName: Splat.DI.g.cs
-//
-
-#nullable enable annotations
-#nullable disable warnings
-
-// Suppress warnings about [Obsolete] member usage in generated code.
-#pragma warning disable CS0612, CS0618
-
-namespace Splat
-{
- ///
- /// Extension methods for the Splat DI source generator.
- ///
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Splat.DependencyInjection.SourceGenerator", "1.2.0.0")]
- internal static partial class SplatRegistrations
- {
- ///
- /// Registers a class with its concrete class.
- ///
- public static void Register()
- {
- }
-
- ///
- /// Registers a class with its concrete class.
- ///
- /// Optional contract.
- public static void Register(string contract)
- {
- }
-
- ///
- /// Registers a class with its concrete class.
- ///
- public static void RegisterLazySingleton()
- {
- }
-
- ///
- /// Registers a class with its concrete class.
- ///
- /// The threading mode.
- public static void RegisterLazySingleton(System.Threading.LazyThreadSafetyMode mode)
- {
- }
-
- ///
- /// Registers a class with its concrete class.
- ///
- /// Optional contract.
- public static void RegisterLazySingleton(string contract)
- {
- }
-
- ///
- /// Registers a class with its concrete class.
- ///
- /// Optional contract.
- /// The threading mode.
- public static void RegisterLazySingleton(string contract, System.Threading.LazyThreadSafetyMode mode)
- {
- }
-
- ///
- /// Registers a class with its concrete class.
- ///
- public static void Register()
- {
- }
-
-
- ///
- /// Registers a class with its concrete class.
- ///
- /// Optional contract.
- public static void Register(string contract)
- {
- }
-
- ///
- /// Registers a lazy class with its concrete class.
- ///
- public static void RegisterLazySingleton()
- {
- }
-
-
- ///
- /// Registers a lazy class with its concrete class.
- ///
- /// Optional contract.
- public static void RegisterLazySingleton(string contract)
- {
- }
-
- ///
- /// Proxy for the Splat SetService.
- ///
- public static void RegisterConstant(T instance) => Splat.Locator.CurrentMutable.RegisterConstant(instance);
-
- ///
- /// Proxy for the Splat SetService.
- ///
- /// Optional contract.
- public static void RegisterConstant(T instance, string contract) => Splat.Locator.CurrentMutable.RegisterConstant(instance, contract);
-
- ///
- /// Registers the registrations.
- ///
- public static void SetupIOC()
- {
- SetupIOCInternal(Splat.Locator.GetLocator());
- }
-
- ///
- /// Registers the registrations.
- ///
- /// The resolver to register with.
- public static void SetupIOC(Splat.IDependencyResolver resolver)
- {
- SetupIOCInternal(resolver);
- }
-
-
- static partial void SetupIOCInternal(Splat.IDependencyResolver resolver);
- }
-
- ///
- /// Makes the property get added by the DI engine.
- ///
- [System.AttributeUsage(System.AttributeTargets.Property), Microsoft.CodeAnalysis.Embedded]
- internal sealed class DependencyInjectionPropertyAttribute : System.Attribute
- {
- }
-
- ///
- /// Makes this the constructor used by the DI engine.
- ///
- [System.AttributeUsage(System.AttributeTargets.Constructor), Microsoft.CodeAnalysis.Embedded]
- internal sealed class DependencyInjectionConstructorAttribute : System.Attribute
- {
- }
-}
\ No newline at end of file
diff --git a/src/Splat.DependencyInjection.SourceGenerator.Tests/LS.CMPILM_Test2_P#Splat.DI.g.verified.cs b/src/Splat.DependencyInjection.SourceGenerator.Tests/LS.CMPILM_Test2_P#Splat.DI.g.verified.cs
deleted file mode 100644
index 69daa86..0000000
--- a/src/Splat.DependencyInjection.SourceGenerator.Tests/LS.CMPILM_Test2_P#Splat.DI.g.verified.cs
+++ /dev/null
@@ -1,144 +0,0 @@
-//HintName: Splat.DI.g.cs
-//
-
-#nullable enable annotations
-#nullable disable warnings
-
-// Suppress warnings about [Obsolete] member usage in generated code.
-#pragma warning disable CS0612, CS0618
-
-namespace Splat
-{
- ///
- /// Extension methods for the Splat DI source generator.
- ///
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Splat.DependencyInjection.SourceGenerator", "1.2.0.0")]
- internal static partial class SplatRegistrations
- {
- ///
- /// Registers a class with its concrete class.
- ///
- public static void Register()
- {
- }
-
- ///
- /// Registers a class with its concrete class.
- ///
- /// Optional contract.
- public static void Register(string contract)
- {
- }
-
- ///
- /// Registers a class with its concrete class.
- ///
- public static void RegisterLazySingleton()
- {
- }
-
- ///
- /// Registers a class with its concrete class.
- ///
- /// The threading mode.
- public static void RegisterLazySingleton(System.Threading.LazyThreadSafetyMode mode)
- {
- }
-
- ///
- /// Registers a class with its concrete class.
- ///
- /// Optional contract.
- public static void RegisterLazySingleton(string contract)
- {
- }
-
- ///
- /// Registers a class with its concrete class.
- ///
- /// Optional contract.
- /// The threading mode.
- public static void RegisterLazySingleton(string contract, System.Threading.LazyThreadSafetyMode mode)
- {
- }
-
- ///
- /// Registers a class with its concrete class.
- ///
- public static void Register()
- {
- }
-
-
- ///
- /// Registers a class with its concrete class.
- ///
- /// Optional contract.
- public static void Register(string contract)
- {
- }
-
- ///
- /// Registers a lazy class with its concrete class.
- ///
- public static void RegisterLazySingleton()
- {
- }
-
-
- ///
- /// Registers a lazy class with its concrete class.
- ///
- /// Optional contract.
- public static void RegisterLazySingleton(string contract)
- {
- }
-
- ///
- /// Proxy for the Splat SetService.
- ///
- public static void RegisterConstant(T instance) => Splat.Locator.CurrentMutable.RegisterConstant(instance);
-
- ///
- /// Proxy for the Splat SetService.
- ///
- /// Optional contract.
- public static void RegisterConstant(T instance, string contract) => Splat.Locator.CurrentMutable.RegisterConstant(instance, contract);
-
- ///
- /// Registers the registrations.
- ///
- public static void SetupIOC()
- {
- SetupIOCInternal(Splat.Locator.GetLocator());
- }
-
- ///
- /// Registers the registrations.
- ///
- /// The resolver to register with.
- public static void SetupIOC(Splat.IDependencyResolver resolver)
- {
- SetupIOCInternal(resolver);
- }
-
-
- static partial void SetupIOCInternal(Splat.IDependencyResolver resolver);
- }
-
- ///
- /// Makes the property get added by the DI engine.
- ///
- [System.AttributeUsage(System.AttributeTargets.Property), Microsoft.CodeAnalysis.Embedded]
- internal sealed class DependencyInjectionPropertyAttribute : System.Attribute
- {
- }
-
- ///
- /// Makes this the constructor used by the DI engine.
- ///
- [System.AttributeUsage(System.AttributeTargets.Constructor), Microsoft.CodeAnalysis.Embedded]
- internal sealed class DependencyInjectionConstructorAttribute : System.Attribute
- {
- }
-}
\ No newline at end of file
diff --git a/src/Splat.DependencyInjection.SourceGenerator.Tests/LS.CMPILM_contractParameter=_EP#Splat.DI.g.verified.cs b/src/Splat.DependencyInjection.SourceGenerator.Tests/LS.CMPILM_contractParameter=_EP#Splat.DI.g.verified.cs
deleted file mode 100644
index 69daa86..0000000
--- a/src/Splat.DependencyInjection.SourceGenerator.Tests/LS.CMPILM_contractParameter=_EP#Splat.DI.g.verified.cs
+++ /dev/null
@@ -1,144 +0,0 @@
-//HintName: Splat.DI.g.cs
-//
-
-#nullable enable annotations
-#nullable disable warnings
-
-// Suppress warnings about [Obsolete] member usage in generated code.
-#pragma warning disable CS0612, CS0618
-
-namespace Splat
-{
- ///
- /// Extension methods for the Splat DI source generator.
- ///
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Splat.DependencyInjection.SourceGenerator", "1.2.0.0")]
- internal static partial class SplatRegistrations
- {
- ///
- /// Registers a class with its concrete class.
- ///
- public static void Register()
- {
- }
-
- ///
- /// Registers a class with its concrete class.
- ///
- /// Optional contract.
- public static void Register(string contract)
- {
- }
-
- ///