From 031ead7a592af97e897296ddc70d2a6db6925a58 Mon Sep 17 00:00:00 2001 From: Jonas Ha Date: Sun, 21 Dec 2025 20:22:01 -0500 Subject: [PATCH 1/7] feat(tests): enhance snapshot verification with line scrubbing for GeneratedCode attributes - Introduced RegexHelper for replacing specific GeneratedCode attribute values in tests. - Updated `GeneratorTestHelpers` to use scrubbing logic for verification snapshots. - Adjusted existing test snapshots to align with the new scrubbing behavior. --- .../GeneratorTestHelpers.cs | 24 ++++++++++++++++++- ...llInputSources#LambdaHandler.g.verified.cs | 4 ++-- ...tring_TypeCast#LambdaHandler.g.verified.cs | 4 ++-- ...eturn_TypeCast#LambdaHandler.g.verified.cs | 4 ++-- ...eInfo_TypeCast#LambdaHandler.g.verified.cs | 4 ++-- ...rnExplicitType#LambdaHandler.g.verified.cs | 4 ++-- ...plicitNullable#LambdaHandler.g.verified.cs | 4 ++-- ...a_ReturnString#LambdaHandler.g.verified.cs | 4 ++-- ...turnTaskString#LambdaHandler.g.verified.cs | 4 ++-- ...sTask_TypeCast#LambdaHandler.g.verified.cs | 4 ++-- ...StreamResponse#LambdaHandler.g.verified.cs | 4 ++-- ...ambda_TypeCast#LambdaHandler.g.verified.cs | 4 ++-- ...mKeyedServices#LambdaHandler.g.verified.cs | 4 ++-- ...cellationToken#LambdaHandler.g.verified.cs | 4 ++-- ...dLambdaContext#LambdaHandler.g.verified.cs | 4 ++-- ...ocationContext#LambdaHandler.g.verified.cs | 4 ++-- ...rnExplicitTask#LambdaHandler.g.verified.cs | 4 ++-- ..._ComplexOutput#LambdaHandler.g.verified.cs | 4 ++-- ...a_ExplicitVoid#LambdaHandler.g.verified.cs | 4 ++-- ..._InputDi_Async#LambdaHandler.g.verified.cs | 4 ++-- ..._AsyncAndAwait#LambdaHandler.g.verified.cs | 4 ++-- ...erentNamespace#LambdaHandler.g.verified.cs | 4 ++-- ...da_InputStream#LambdaHandler.g.verified.cs | 4 ++-- ...erializer_NoOp#LambdaHandler.g.verified.cs | 2 +- ...nOverload_NoOp#LambdaHandler.g.verified.cs | 2 +- ...Input_NoOutput#LambdaHandler.g.verified.cs | 4 ++-- ...nGenericObject#LambdaHandler.g.verified.cs | 4 ++-- ...lablePrimitive#LambdaHandler.g.verified.cs | 4 ++-- ...t_ReturnString#LambdaHandler.g.verified.cs | 4 ++-- ...plicitNullable#LambdaHandler.g.verified.cs | 4 ++-- ...plicitNullable#LambdaHandler.g.verified.cs | 4 ++-- ...rnExplicitTask#LambdaHandler.g.verified.cs | 4 ++-- ...rnExplicitType#LambdaHandler.g.verified.cs | 4 ++-- ...tingPointTypes#LambdaHandler.g.verified.cs | 4 ++-- ...IntAndLongKeys#LambdaHandler.g.verified.cs | 4 ++-- ...ice_OtherTypes#LambdaHandler.g.verified.cs | 4 ++-- ...llIntegerTypes#LambdaHandler.g.verified.cs | 4 ++-- ...ingAndEnumKeys#LambdaHandler.g.verified.cs | 4 ++-- ...edIntegerTypes#LambdaHandler.g.verified.cs | 4 ++-- ...dler_AsyncVoid#LambdaHandler.g.verified.cs | 4 ++-- ...turnTaskString#LambdaHandler.g.verified.cs | 4 ++-- ...iKeyedServices#LambdaHandler.g.verified.cs | 4 ++-- ...kBody_TypeCast#LambdaHandler.g.verified.cs | 4 ++-- ...ypeCast_Static#LambdaHandler.g.verified.cs | 4 ++-- ...Input_NoOutput#LambdaHandler.g.verified.cs | 4 ++-- ...ler_ReturnTask#LambdaHandler.g.verified.cs | 4 ++-- ...turnTaskString#LambdaHandler.g.verified.cs | 4 ++-- ...traParentheses#LambdaHandler.g.verified.cs | 4 ++-- ...BaseMethodCall#LambdaHandler.g.verified.cs | 2 +- ...eturnTypeAsync#LambdaHandler.g.verified.cs | 4 ++-- ...ler_AsyncAndDi#LambdaHandler.g.verified.cs | 4 ++-- ...UnexpectedType#LambdaHandler.g.verified.cs | 4 ++-- ...odHandler_NoDi#LambdaHandler.g.verified.cs | 4 ++-- ..._MultipleCalls#LambdaHandler.g.verified.cs | 4 ++-- ...Input_NoOutput#LambdaHandler.g.verified.cs | 4 ++-- ...eturnAsyncBool#LambdaHandler.g.verified.cs | 4 ++-- ...put_ReturnBool#LambdaHandler.g.verified.cs | 4 ++-- ...otExpectedType#LambdaHandler.g.verified.cs | 4 ++-- ...ectedTypeAsync#LambdaHandler.g.verified.cs | 4 ++-- ...pectedTypeTask#LambdaHandler.g.verified.cs | 4 ++-- ...ReturnTaskBool#LambdaHandler.g.verified.cs | 4 ++-- ...eferenceInputs#LambdaHandler.g.verified.cs | 4 ++-- ...bleKindOfInput#LambdaHandler.g.verified.cs | 4 ++-- ...PrimitiveInput#LambdaHandler.g.verified.cs | 4 ++-- ...BaseMethodCall#LambdaHandler.g.verified.cs | 2 +- ...nsImplicitVoid#LambdaHandler.g.verified.cs | 4 ++-- ..._MultipleCalls#LambdaHandler.g.verified.cs | 4 ++-- ...utdown_NoInput#LambdaHandler.g.verified.cs | 4 ++-- ...UnexpectedType#LambdaHandler.g.verified.cs | 4 ++-- ...ectedTypeAsync#LambdaHandler.g.verified.cs | 4 ++-- ...pectedTypeTask#LambdaHandler.g.verified.cs | 4 ++-- ...eferenceInputs#LambdaHandler.g.verified.cs | 4 ++-- ...bleKindOfInput#LambdaHandler.g.verified.cs | 4 ++-- ...PrimitiveInput#LambdaHandler.g.verified.cs | 4 ++-- ...ractMiddleware#LambdaHandler.g.verified.cs | 4 ++-- ...lWorldScenario#LambdaHandler.g.verified.cs | 4 ++-- ...ructorWithArgs#LambdaHandler.g.verified.cs | 4 ++-- ...mentsAttribute#LambdaHandler.g.verified.cs | 4 ++-- ...vicesAttribute#LambdaHandler.g.verified.cs | 4 ++-- ...vicesAttribute#LambdaHandler.g.verified.cs | 4 ++-- ...syncDisposable#LambdaHandler.g.verified.cs | 4 ++-- ...ss_IDisposable#LambdaHandler.g.verified.cs | 4 ++-- ...rameterSources#LambdaHandler.g.verified.cs | 4 ++-- ...areConstructor#LambdaHandler.g.verified.cs | 4 ++-- ...lableParameter#LambdaHandler.g.verified.cs | 4 ++-- ...thDefaultValue#LambdaHandler.g.verified.cs | 4 ++-- ...reClass_Simple#LambdaHandler.g.verified.cs | 4 ++-- ..._WithArgsArray#LambdaHandler.g.verified.cs | 4 ++-- 88 files changed, 193 insertions(+), 171 deletions(-) diff --git a/tests/MinimalLambda.SourceGenerators.UnitTests/GeneratorTestHelpers.cs b/tests/MinimalLambda.SourceGenerators.UnitTests/GeneratorTestHelpers.cs index 2d4d108f..3a2e0dfa 100644 --- a/tests/MinimalLambda.SourceGenerators.UnitTests/GeneratorTestHelpers.cs +++ b/tests/MinimalLambda.SourceGenerators.UnitTests/GeneratorTestHelpers.cs @@ -1,3 +1,4 @@ +using System.Text.RegularExpressions; using Amazon.Lambda.APIGatewayEvents; using Amazon.Lambda.Core; using Amazon.Lambda.RuntimeSupport; @@ -54,7 +55,18 @@ internal static Task Verify(string source, int expectedTrees = 1) result.GeneratedTrees.Length.Should().Be(expectedTrees); - return Verifier.Verify(driver).UseDirectory("Snapshots").DisableDiff(); + return Verifier + .Verify(driver) + .UseDirectory("Snapshots") + .DisableDiff() + .ScrubLinesWithReplace(line => + { + // replace [GeneratedCode("MinimalLambda.SourceGenerators", "0.0.0")] + if (line.Contains("GeneratedCode", StringComparison.Ordinal)) + return RegexHelper.GeneratedCodeAttributeRegex().Replace(line, "REPLACED"); + + return line; + }); } internal static (GeneratorDriver driver, Compilation compilation) GenerateFromSource( @@ -117,3 +129,13 @@ .. Net90.References.All.ToList(), return (updatedDriver, compilation); } } + +internal partial class RegexHelper +{ + [GeneratedRegex( + """(?<=\[GeneratedCode\("MinimalLambda\.SourceGenerators", ")([\d.]+)(?="\)\])""", + RegexOptions.None, + "en-US" + )] + internal static partial Regex GeneratedCodeAttributeRegex(); +} diff --git a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/BlockLambdaVerifyTests.Test_BlockLambda_AllInputSources#LambdaHandler.g.verified.cs b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/BlockLambdaVerifyTests.Test_BlockLambda_AllInputSources#LambdaHandler.g.verified.cs index 66e8ea10..abe9d7ab 100644 --- a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/BlockLambdaVerifyTests.Test_BlockLambda_AllInputSources#LambdaHandler.g.verified.cs +++ b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/BlockLambdaVerifyTests.Test_BlockLambda_AllInputSources#LambdaHandler.g.verified.cs @@ -16,7 +16,7 @@ namespace System.Runtime.CompilerServices { using System.CodeDom.Compiler; - [GeneratedCode("MinimalLambda.SourceGenerators", "0.0.0")] + [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] [AttributeUsage(AttributeTargets.Method, AllowMultiple = true)] file sealed class InterceptsLocationAttribute : Attribute { @@ -37,7 +37,7 @@ namespace MinimalLambda.Generated using MinimalLambda; using MinimalLambda.Builder; - [GeneratedCode("MinimalLambda.SourceGenerators", "0.0.0")] + [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] file static class GeneratedLambdaInvocationBuilderExtensions { private const string EventFeatureProviderKey = "__EventFeatureProvider"; diff --git a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/BlockLambdaVerifyTests.Test_BlockLambda_Async_ReturnTaskString_TypeCast#LambdaHandler.g.verified.cs b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/BlockLambdaVerifyTests.Test_BlockLambda_Async_ReturnTaskString_TypeCast#LambdaHandler.g.verified.cs index e50f5e46..ccac2d8f 100644 --- a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/BlockLambdaVerifyTests.Test_BlockLambda_Async_ReturnTaskString_TypeCast#LambdaHandler.g.verified.cs +++ b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/BlockLambdaVerifyTests.Test_BlockLambda_Async_ReturnTaskString_TypeCast#LambdaHandler.g.verified.cs @@ -16,7 +16,7 @@ namespace System.Runtime.CompilerServices { using System.CodeDom.Compiler; - [GeneratedCode("MinimalLambda.SourceGenerators", "0.0.0")] + [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] [AttributeUsage(AttributeTargets.Method, AllowMultiple = true)] file sealed class InterceptsLocationAttribute : Attribute { @@ -37,7 +37,7 @@ namespace MinimalLambda.Generated using MinimalLambda; using MinimalLambda.Builder; - [GeneratedCode("MinimalLambda.SourceGenerators", "0.0.0")] + [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] file static class GeneratedLambdaInvocationBuilderExtensions { private const string EventFeatureProviderKey = "__EventFeatureProvider"; diff --git a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/BlockLambdaVerifyTests.Test_BlockLambda_NoReturn_TypeCast#LambdaHandler.g.verified.cs b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/BlockLambdaVerifyTests.Test_BlockLambda_NoReturn_TypeCast#LambdaHandler.g.verified.cs index 1da56490..40f38d3b 100644 --- a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/BlockLambdaVerifyTests.Test_BlockLambda_NoReturn_TypeCast#LambdaHandler.g.verified.cs +++ b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/BlockLambdaVerifyTests.Test_BlockLambda_NoReturn_TypeCast#LambdaHandler.g.verified.cs @@ -16,7 +16,7 @@ namespace System.Runtime.CompilerServices { using System.CodeDom.Compiler; - [GeneratedCode("MinimalLambda.SourceGenerators", "0.0.0")] + [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] [AttributeUsage(AttributeTargets.Method, AllowMultiple = true)] file sealed class InterceptsLocationAttribute : Attribute { @@ -37,7 +37,7 @@ namespace MinimalLambda.Generated using MinimalLambda; using MinimalLambda.Builder; - [GeneratedCode("MinimalLambda.SourceGenerators", "0.0.0")] + [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] file static class GeneratedLambdaInvocationBuilderExtensions { private const string EventFeatureProviderKey = "__EventFeatureProvider"; diff --git a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/BlockLambdaVerifyTests.Test_BlockLambda_NoTypeInfo_TypeCast#LambdaHandler.g.verified.cs b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/BlockLambdaVerifyTests.Test_BlockLambda_NoTypeInfo_TypeCast#LambdaHandler.g.verified.cs index 096bf646..ba48df5d 100644 --- a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/BlockLambdaVerifyTests.Test_BlockLambda_NoTypeInfo_TypeCast#LambdaHandler.g.verified.cs +++ b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/BlockLambdaVerifyTests.Test_BlockLambda_NoTypeInfo_TypeCast#LambdaHandler.g.verified.cs @@ -16,7 +16,7 @@ namespace System.Runtime.CompilerServices { using System.CodeDom.Compiler; - [GeneratedCode("MinimalLambda.SourceGenerators", "0.0.0")] + [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] [AttributeUsage(AttributeTargets.Method, AllowMultiple = true)] file sealed class InterceptsLocationAttribute : Attribute { @@ -37,7 +37,7 @@ namespace MinimalLambda.Generated using MinimalLambda; using MinimalLambda.Builder; - [GeneratedCode("MinimalLambda.SourceGenerators", "0.0.0")] + [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] file static class GeneratedLambdaInvocationBuilderExtensions { private const string EventFeatureProviderKey = "__EventFeatureProvider"; diff --git a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/BlockLambdaVerifyTests.Test_BlockLambda_ReturnExplicitType#LambdaHandler.g.verified.cs b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/BlockLambdaVerifyTests.Test_BlockLambda_ReturnExplicitType#LambdaHandler.g.verified.cs index c26eb98f..5b53e199 100644 --- a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/BlockLambdaVerifyTests.Test_BlockLambda_ReturnExplicitType#LambdaHandler.g.verified.cs +++ b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/BlockLambdaVerifyTests.Test_BlockLambda_ReturnExplicitType#LambdaHandler.g.verified.cs @@ -16,7 +16,7 @@ namespace System.Runtime.CompilerServices { using System.CodeDom.Compiler; - [GeneratedCode("MinimalLambda.SourceGenerators", "0.0.0")] + [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] [AttributeUsage(AttributeTargets.Method, AllowMultiple = true)] file sealed class InterceptsLocationAttribute : Attribute { @@ -37,7 +37,7 @@ namespace MinimalLambda.Generated using MinimalLambda; using MinimalLambda.Builder; - [GeneratedCode("MinimalLambda.SourceGenerators", "0.0.0")] + [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] file static class GeneratedLambdaInvocationBuilderExtensions { private const string EventFeatureProviderKey = "__EventFeatureProvider"; diff --git a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/BlockLambdaVerifyTests.Test_BlockLambda_ReturnImplicitNullable#LambdaHandler.g.verified.cs b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/BlockLambdaVerifyTests.Test_BlockLambda_ReturnImplicitNullable#LambdaHandler.g.verified.cs index 42e204f7..4ce19ecc 100644 --- a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/BlockLambdaVerifyTests.Test_BlockLambda_ReturnImplicitNullable#LambdaHandler.g.verified.cs +++ b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/BlockLambdaVerifyTests.Test_BlockLambda_ReturnImplicitNullable#LambdaHandler.g.verified.cs @@ -16,7 +16,7 @@ namespace System.Runtime.CompilerServices { using System.CodeDom.Compiler; - [GeneratedCode("MinimalLambda.SourceGenerators", "0.0.0")] + [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] [AttributeUsage(AttributeTargets.Method, AllowMultiple = true)] file sealed class InterceptsLocationAttribute : Attribute { @@ -37,7 +37,7 @@ namespace MinimalLambda.Generated using MinimalLambda; using MinimalLambda.Builder; - [GeneratedCode("MinimalLambda.SourceGenerators", "0.0.0")] + [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] file static class GeneratedLambdaInvocationBuilderExtensions { private const string EventFeatureProviderKey = "__EventFeatureProvider"; diff --git a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/BlockLambdaVerifyTests.Test_BlockLambda_ReturnString#LambdaHandler.g.verified.cs b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/BlockLambdaVerifyTests.Test_BlockLambda_ReturnString#LambdaHandler.g.verified.cs index d40cbf4b..fea0e711 100644 --- a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/BlockLambdaVerifyTests.Test_BlockLambda_ReturnString#LambdaHandler.g.verified.cs +++ b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/BlockLambdaVerifyTests.Test_BlockLambda_ReturnString#LambdaHandler.g.verified.cs @@ -16,7 +16,7 @@ namespace System.Runtime.CompilerServices { using System.CodeDom.Compiler; - [GeneratedCode("MinimalLambda.SourceGenerators", "0.0.0")] + [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] [AttributeUsage(AttributeTargets.Method, AllowMultiple = true)] file sealed class InterceptsLocationAttribute : Attribute { @@ -37,7 +37,7 @@ namespace MinimalLambda.Generated using MinimalLambda; using MinimalLambda.Builder; - [GeneratedCode("MinimalLambda.SourceGenerators", "0.0.0")] + [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] file static class GeneratedLambdaInvocationBuilderExtensions { private const string EventFeatureProviderKey = "__EventFeatureProvider"; diff --git a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/BlockLambdaVerifyTests.Test_BlockLambda_ReturnTaskString#LambdaHandler.g.verified.cs b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/BlockLambdaVerifyTests.Test_BlockLambda_ReturnTaskString#LambdaHandler.g.verified.cs index aaa0ec54..7c8d41c1 100644 --- a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/BlockLambdaVerifyTests.Test_BlockLambda_ReturnTaskString#LambdaHandler.g.verified.cs +++ b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/BlockLambdaVerifyTests.Test_BlockLambda_ReturnTaskString#LambdaHandler.g.verified.cs @@ -16,7 +16,7 @@ namespace System.Runtime.CompilerServices { using System.CodeDom.Compiler; - [GeneratedCode("MinimalLambda.SourceGenerators", "0.0.0")] + [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] [AttributeUsage(AttributeTargets.Method, AllowMultiple = true)] file sealed class InterceptsLocationAttribute : Attribute { @@ -37,7 +37,7 @@ namespace MinimalLambda.Generated using MinimalLambda; using MinimalLambda.Builder; - [GeneratedCode("MinimalLambda.SourceGenerators", "0.0.0")] + [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] file static class GeneratedLambdaInvocationBuilderExtensions { private const string EventFeatureProviderKey = "__EventFeatureProvider"; diff --git a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/BlockLambdaVerifyTests.Test_BlockLambda_ReturnsTask_TypeCast#LambdaHandler.g.verified.cs b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/BlockLambdaVerifyTests.Test_BlockLambda_ReturnsTask_TypeCast#LambdaHandler.g.verified.cs index 103038d7..c24d8bf3 100644 --- a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/BlockLambdaVerifyTests.Test_BlockLambda_ReturnsTask_TypeCast#LambdaHandler.g.verified.cs +++ b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/BlockLambdaVerifyTests.Test_BlockLambda_ReturnsTask_TypeCast#LambdaHandler.g.verified.cs @@ -16,7 +16,7 @@ namespace System.Runtime.CompilerServices { using System.CodeDom.Compiler; - [GeneratedCode("MinimalLambda.SourceGenerators", "0.0.0")] + [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] [AttributeUsage(AttributeTargets.Method, AllowMultiple = true)] file sealed class InterceptsLocationAttribute : Attribute { @@ -37,7 +37,7 @@ namespace MinimalLambda.Generated using MinimalLambda; using MinimalLambda.Builder; - [GeneratedCode("MinimalLambda.SourceGenerators", "0.0.0")] + [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] file static class GeneratedLambdaInvocationBuilderExtensions { private const string EventFeatureProviderKey = "__EventFeatureProvider"; diff --git a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/BlockLambdaVerifyTests.Test_BlockLambda_StreamResponse#LambdaHandler.g.verified.cs b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/BlockLambdaVerifyTests.Test_BlockLambda_StreamResponse#LambdaHandler.g.verified.cs index 815b2c5a..17927054 100644 --- a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/BlockLambdaVerifyTests.Test_BlockLambda_StreamResponse#LambdaHandler.g.verified.cs +++ b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/BlockLambdaVerifyTests.Test_BlockLambda_StreamResponse#LambdaHandler.g.verified.cs @@ -16,7 +16,7 @@ namespace System.Runtime.CompilerServices { using System.CodeDom.Compiler; - [GeneratedCode("MinimalLambda.SourceGenerators", "0.0.0")] + [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] [AttributeUsage(AttributeTargets.Method, AllowMultiple = true)] file sealed class InterceptsLocationAttribute : Attribute { @@ -37,7 +37,7 @@ namespace MinimalLambda.Generated using MinimalLambda; using MinimalLambda.Builder; - [GeneratedCode("MinimalLambda.SourceGenerators", "0.0.0")] + [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] file static class GeneratedLambdaInvocationBuilderExtensions { private const string EventFeatureProviderKey = "__EventFeatureProvider"; diff --git a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/BlockLambdaVerifyTests.Test_BlockLambda_TypeCast#LambdaHandler.g.verified.cs b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/BlockLambdaVerifyTests.Test_BlockLambda_TypeCast#LambdaHandler.g.verified.cs index e02cc045..7c18b9b2 100644 --- a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/BlockLambdaVerifyTests.Test_BlockLambda_TypeCast#LambdaHandler.g.verified.cs +++ b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/BlockLambdaVerifyTests.Test_BlockLambda_TypeCast#LambdaHandler.g.verified.cs @@ -16,7 +16,7 @@ namespace System.Runtime.CompilerServices { using System.CodeDom.Compiler; - [GeneratedCode("MinimalLambda.SourceGenerators", "0.0.0")] + [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] [AttributeUsage(AttributeTargets.Method, AllowMultiple = true)] file sealed class InterceptsLocationAttribute : Attribute { @@ -37,7 +37,7 @@ namespace MinimalLambda.Generated using MinimalLambda; using MinimalLambda.Builder; - [GeneratedCode("MinimalLambda.SourceGenerators", "0.0.0")] + [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] file static class GeneratedLambdaInvocationBuilderExtensions { private const string EventFeatureProviderKey = "__EventFeatureProvider"; diff --git a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/BlockLambdaVerifyTests.Test_BlockLambda_TypeCast_InputFromKeyedServices#LambdaHandler.g.verified.cs b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/BlockLambdaVerifyTests.Test_BlockLambda_TypeCast_InputFromKeyedServices#LambdaHandler.g.verified.cs index 768f73eb..3825c38e 100644 --- a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/BlockLambdaVerifyTests.Test_BlockLambda_TypeCast_InputFromKeyedServices#LambdaHandler.g.verified.cs +++ b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/BlockLambdaVerifyTests.Test_BlockLambda_TypeCast_InputFromKeyedServices#LambdaHandler.g.verified.cs @@ -16,7 +16,7 @@ namespace System.Runtime.CompilerServices { using System.CodeDom.Compiler; - [GeneratedCode("MinimalLambda.SourceGenerators", "0.0.0")] + [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] [AttributeUsage(AttributeTargets.Method, AllowMultiple = true)] file sealed class InterceptsLocationAttribute : Attribute { @@ -37,7 +37,7 @@ namespace MinimalLambda.Generated using MinimalLambda; using MinimalLambda.Builder; - [GeneratedCode("MinimalLambda.SourceGenerators", "0.0.0")] + [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] file static class GeneratedLambdaInvocationBuilderExtensions { private const string EventFeatureProviderKey = "__EventFeatureProvider"; diff --git a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/ExpressionLambdaVerifyTests.Test_ExpressionLambda_AsksForCancellationToken#LambdaHandler.g.verified.cs b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/ExpressionLambdaVerifyTests.Test_ExpressionLambda_AsksForCancellationToken#LambdaHandler.g.verified.cs index 601afc80..f2d04972 100644 --- a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/ExpressionLambdaVerifyTests.Test_ExpressionLambda_AsksForCancellationToken#LambdaHandler.g.verified.cs +++ b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/ExpressionLambdaVerifyTests.Test_ExpressionLambda_AsksForCancellationToken#LambdaHandler.g.verified.cs @@ -16,7 +16,7 @@ namespace System.Runtime.CompilerServices { using System.CodeDom.Compiler; - [GeneratedCode("MinimalLambda.SourceGenerators", "0.0.0")] + [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] [AttributeUsage(AttributeTargets.Method, AllowMultiple = true)] file sealed class InterceptsLocationAttribute : Attribute { @@ -37,7 +37,7 @@ namespace MinimalLambda.Generated using MinimalLambda; using MinimalLambda.Builder; - [GeneratedCode("MinimalLambda.SourceGenerators", "0.0.0")] + [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] file static class GeneratedLambdaInvocationBuilderExtensions { private const string EventFeatureProviderKey = "__EventFeatureProvider"; diff --git a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/ExpressionLambdaVerifyTests.Test_ExpressionLambda_AsksForCancellationTokenAndLambdaContext#LambdaHandler.g.verified.cs b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/ExpressionLambdaVerifyTests.Test_ExpressionLambda_AsksForCancellationTokenAndLambdaContext#LambdaHandler.g.verified.cs index ce5b5110..6d5282ce 100644 --- a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/ExpressionLambdaVerifyTests.Test_ExpressionLambda_AsksForCancellationTokenAndLambdaContext#LambdaHandler.g.verified.cs +++ b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/ExpressionLambdaVerifyTests.Test_ExpressionLambda_AsksForCancellationTokenAndLambdaContext#LambdaHandler.g.verified.cs @@ -16,7 +16,7 @@ namespace System.Runtime.CompilerServices { using System.CodeDom.Compiler; - [GeneratedCode("MinimalLambda.SourceGenerators", "0.0.0")] + [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] [AttributeUsage(AttributeTargets.Method, AllowMultiple = true)] file sealed class InterceptsLocationAttribute : Attribute { @@ -37,7 +37,7 @@ namespace MinimalLambda.Generated using MinimalLambda; using MinimalLambda.Builder; - [GeneratedCode("MinimalLambda.SourceGenerators", "0.0.0")] + [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] file static class GeneratedLambdaInvocationBuilderExtensions { private const string EventFeatureProviderKey = "__EventFeatureProvider"; diff --git a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/ExpressionLambdaVerifyTests.Test_ExpressionLambda_AsksForCancellationTokenAndLambdaInvocationContext#LambdaHandler.g.verified.cs b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/ExpressionLambdaVerifyTests.Test_ExpressionLambda_AsksForCancellationTokenAndLambdaInvocationContext#LambdaHandler.g.verified.cs index aa830755..d607f258 100644 --- a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/ExpressionLambdaVerifyTests.Test_ExpressionLambda_AsksForCancellationTokenAndLambdaInvocationContext#LambdaHandler.g.verified.cs +++ b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/ExpressionLambdaVerifyTests.Test_ExpressionLambda_AsksForCancellationTokenAndLambdaInvocationContext#LambdaHandler.g.verified.cs @@ -16,7 +16,7 @@ namespace System.Runtime.CompilerServices { using System.CodeDom.Compiler; - [GeneratedCode("MinimalLambda.SourceGenerators", "0.0.0")] + [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] [AttributeUsage(AttributeTargets.Method, AllowMultiple = true)] file sealed class InterceptsLocationAttribute : Attribute { @@ -37,7 +37,7 @@ namespace MinimalLambda.Generated using MinimalLambda; using MinimalLambda.Builder; - [GeneratedCode("MinimalLambda.SourceGenerators", "0.0.0")] + [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] file static class GeneratedLambdaInvocationBuilderExtensions { private const string EventFeatureProviderKey = "__EventFeatureProvider"; diff --git a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/ExpressionLambdaVerifyTests.Test_ExpressionLambda_Async_ReturnExplicitTask#LambdaHandler.g.verified.cs b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/ExpressionLambdaVerifyTests.Test_ExpressionLambda_Async_ReturnExplicitTask#LambdaHandler.g.verified.cs index 3e341988..4d9fa851 100644 --- a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/ExpressionLambdaVerifyTests.Test_ExpressionLambda_Async_ReturnExplicitTask#LambdaHandler.g.verified.cs +++ b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/ExpressionLambdaVerifyTests.Test_ExpressionLambda_Async_ReturnExplicitTask#LambdaHandler.g.verified.cs @@ -16,7 +16,7 @@ namespace System.Runtime.CompilerServices { using System.CodeDom.Compiler; - [GeneratedCode("MinimalLambda.SourceGenerators", "0.0.0")] + [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] [AttributeUsage(AttributeTargets.Method, AllowMultiple = true)] file sealed class InterceptsLocationAttribute : Attribute { @@ -37,7 +37,7 @@ namespace MinimalLambda.Generated using MinimalLambda; using MinimalLambda.Builder; - [GeneratedCode("MinimalLambda.SourceGenerators", "0.0.0")] + [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] file static class GeneratedLambdaInvocationBuilderExtensions { private const string EventFeatureProviderKey = "__EventFeatureProvider"; diff --git a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/ExpressionLambdaVerifyTests.Test_ExpressionLambda_ComplexInput_ComplexOutput#LambdaHandler.g.verified.cs b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/ExpressionLambdaVerifyTests.Test_ExpressionLambda_ComplexInput_ComplexOutput#LambdaHandler.g.verified.cs index 5d2a6c8b..49909f9c 100644 --- a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/ExpressionLambdaVerifyTests.Test_ExpressionLambda_ComplexInput_ComplexOutput#LambdaHandler.g.verified.cs +++ b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/ExpressionLambdaVerifyTests.Test_ExpressionLambda_ComplexInput_ComplexOutput#LambdaHandler.g.verified.cs @@ -16,7 +16,7 @@ namespace System.Runtime.CompilerServices { using System.CodeDom.Compiler; - [GeneratedCode("MinimalLambda.SourceGenerators", "0.0.0")] + [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] [AttributeUsage(AttributeTargets.Method, AllowMultiple = true)] file sealed class InterceptsLocationAttribute : Attribute { @@ -37,7 +37,7 @@ namespace MinimalLambda.Generated using MinimalLambda; using MinimalLambda.Builder; - [GeneratedCode("MinimalLambda.SourceGenerators", "0.0.0")] + [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] file static class GeneratedLambdaInvocationBuilderExtensions { private const string EventFeatureProviderKey = "__EventFeatureProvider"; diff --git a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/ExpressionLambdaVerifyTests.Test_ExpressionLambda_ExplicitVoid#LambdaHandler.g.verified.cs b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/ExpressionLambdaVerifyTests.Test_ExpressionLambda_ExplicitVoid#LambdaHandler.g.verified.cs index 509e38cb..462e13a8 100644 --- a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/ExpressionLambdaVerifyTests.Test_ExpressionLambda_ExplicitVoid#LambdaHandler.g.verified.cs +++ b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/ExpressionLambdaVerifyTests.Test_ExpressionLambda_ExplicitVoid#LambdaHandler.g.verified.cs @@ -16,7 +16,7 @@ namespace System.Runtime.CompilerServices { using System.CodeDom.Compiler; - [GeneratedCode("MinimalLambda.SourceGenerators", "0.0.0")] + [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] [AttributeUsage(AttributeTargets.Method, AllowMultiple = true)] file sealed class InterceptsLocationAttribute : Attribute { @@ -37,7 +37,7 @@ namespace MinimalLambda.Generated using MinimalLambda; using MinimalLambda.Builder; - [GeneratedCode("MinimalLambda.SourceGenerators", "0.0.0")] + [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] file static class GeneratedLambdaInvocationBuilderExtensions { private const string EventFeatureProviderKey = "__EventFeatureProvider"; diff --git a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/ExpressionLambdaVerifyTests.Test_ExpressionLambda_InputDi_Async#LambdaHandler.g.verified.cs b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/ExpressionLambdaVerifyTests.Test_ExpressionLambda_InputDi_Async#LambdaHandler.g.verified.cs index 4bfa8c8f..7eed4f34 100644 --- a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/ExpressionLambdaVerifyTests.Test_ExpressionLambda_InputDi_Async#LambdaHandler.g.verified.cs +++ b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/ExpressionLambdaVerifyTests.Test_ExpressionLambda_InputDi_Async#LambdaHandler.g.verified.cs @@ -16,7 +16,7 @@ namespace System.Runtime.CompilerServices { using System.CodeDom.Compiler; - [GeneratedCode("MinimalLambda.SourceGenerators", "0.0.0")] + [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] [AttributeUsage(AttributeTargets.Method, AllowMultiple = true)] file sealed class InterceptsLocationAttribute : Attribute { @@ -37,7 +37,7 @@ namespace MinimalLambda.Generated using MinimalLambda; using MinimalLambda.Builder; - [GeneratedCode("MinimalLambda.SourceGenerators", "0.0.0")] + [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] file static class GeneratedLambdaInvocationBuilderExtensions { private const string EventFeatureProviderKey = "__EventFeatureProvider"; diff --git a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/ExpressionLambdaVerifyTests.Test_ExpressionLambda_InputDi_AsyncAndAwait#LambdaHandler.g.verified.cs b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/ExpressionLambdaVerifyTests.Test_ExpressionLambda_InputDi_AsyncAndAwait#LambdaHandler.g.verified.cs index 49d281e5..7df1025b 100644 --- a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/ExpressionLambdaVerifyTests.Test_ExpressionLambda_InputDi_AsyncAndAwait#LambdaHandler.g.verified.cs +++ b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/ExpressionLambdaVerifyTests.Test_ExpressionLambda_InputDi_AsyncAndAwait#LambdaHandler.g.verified.cs @@ -16,7 +16,7 @@ namespace System.Runtime.CompilerServices { using System.CodeDom.Compiler; - [GeneratedCode("MinimalLambda.SourceGenerators", "0.0.0")] + [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] [AttributeUsage(AttributeTargets.Method, AllowMultiple = true)] file sealed class InterceptsLocationAttribute : Attribute { @@ -37,7 +37,7 @@ namespace MinimalLambda.Generated using MinimalLambda; using MinimalLambda.Builder; - [GeneratedCode("MinimalLambda.SourceGenerators", "0.0.0")] + [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] file static class GeneratedLambdaInvocationBuilderExtensions { private const string EventFeatureProviderKey = "__EventFeatureProvider"; diff --git a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/ExpressionLambdaVerifyTests.Test_ExpressionLambda_InputDi_AsyncAndAwait_EventAndResponseDifferentNamespace#LambdaHandler.g.verified.cs b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/ExpressionLambdaVerifyTests.Test_ExpressionLambda_InputDi_AsyncAndAwait_EventAndResponseDifferentNamespace#LambdaHandler.g.verified.cs index 50934deb..f6d9be8a 100644 --- a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/ExpressionLambdaVerifyTests.Test_ExpressionLambda_InputDi_AsyncAndAwait_EventAndResponseDifferentNamespace#LambdaHandler.g.verified.cs +++ b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/ExpressionLambdaVerifyTests.Test_ExpressionLambda_InputDi_AsyncAndAwait_EventAndResponseDifferentNamespace#LambdaHandler.g.verified.cs @@ -16,7 +16,7 @@ namespace System.Runtime.CompilerServices { using System.CodeDom.Compiler; - [GeneratedCode("MinimalLambda.SourceGenerators", "0.0.0")] + [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] [AttributeUsage(AttributeTargets.Method, AllowMultiple = true)] file sealed class InterceptsLocationAttribute : Attribute { @@ -37,7 +37,7 @@ namespace MinimalLambda.Generated using MinimalLambda; using MinimalLambda.Builder; - [GeneratedCode("MinimalLambda.SourceGenerators", "0.0.0")] + [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] file static class GeneratedLambdaInvocationBuilderExtensions { private const string EventFeatureProviderKey = "__EventFeatureProvider"; diff --git a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/ExpressionLambdaVerifyTests.Test_ExpressionLambda_InputStream#LambdaHandler.g.verified.cs b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/ExpressionLambdaVerifyTests.Test_ExpressionLambda_InputStream#LambdaHandler.g.verified.cs index bbb0899a..1337692d 100644 --- a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/ExpressionLambdaVerifyTests.Test_ExpressionLambda_InputStream#LambdaHandler.g.verified.cs +++ b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/ExpressionLambdaVerifyTests.Test_ExpressionLambda_InputStream#LambdaHandler.g.verified.cs @@ -16,7 +16,7 @@ namespace System.Runtime.CompilerServices { using System.CodeDom.Compiler; - [GeneratedCode("MinimalLambda.SourceGenerators", "0.0.0")] + [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] [AttributeUsage(AttributeTargets.Method, AllowMultiple = true)] file sealed class InterceptsLocationAttribute : Attribute { @@ -37,7 +37,7 @@ namespace MinimalLambda.Generated using MinimalLambda; using MinimalLambda.Builder; - [GeneratedCode("MinimalLambda.SourceGenerators", "0.0.0")] + [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] file static class GeneratedLambdaInvocationBuilderExtensions { private const string EventFeatureProviderKey = "__EventFeatureProvider"; diff --git a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/ExpressionLambdaVerifyTests.Test_ExpressionLambda_MainOverload_DeserializerSerializer_NoOp#LambdaHandler.g.verified.cs b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/ExpressionLambdaVerifyTests.Test_ExpressionLambda_MainOverload_DeserializerSerializer_NoOp#LambdaHandler.g.verified.cs index 3292b240..6140e606 100644 --- a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/ExpressionLambdaVerifyTests.Test_ExpressionLambda_MainOverload_DeserializerSerializer_NoOp#LambdaHandler.g.verified.cs +++ b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/ExpressionLambdaVerifyTests.Test_ExpressionLambda_MainOverload_DeserializerSerializer_NoOp#LambdaHandler.g.verified.cs @@ -16,7 +16,7 @@ namespace System.Runtime.CompilerServices { using System.CodeDom.Compiler; - [GeneratedCode("MinimalLambda.SourceGenerators", "0.0.0")] + [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] [AttributeUsage(AttributeTargets.Method, AllowMultiple = true)] file sealed class InterceptsLocationAttribute : Attribute { diff --git a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/ExpressionLambdaVerifyTests.Test_ExpressionLambda_MainOverload_NoOp#LambdaHandler.g.verified.cs b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/ExpressionLambdaVerifyTests.Test_ExpressionLambda_MainOverload_NoOp#LambdaHandler.g.verified.cs index 3292b240..6140e606 100644 --- a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/ExpressionLambdaVerifyTests.Test_ExpressionLambda_MainOverload_NoOp#LambdaHandler.g.verified.cs +++ b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/ExpressionLambdaVerifyTests.Test_ExpressionLambda_MainOverload_NoOp#LambdaHandler.g.verified.cs @@ -16,7 +16,7 @@ namespace System.Runtime.CompilerServices { using System.CodeDom.Compiler; - [GeneratedCode("MinimalLambda.SourceGenerators", "0.0.0")] + [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] [AttributeUsage(AttributeTargets.Method, AllowMultiple = true)] file sealed class InterceptsLocationAttribute : Attribute { diff --git a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/ExpressionLambdaVerifyTests.Test_ExpressionLambda_NoInput_NoOutput#LambdaHandler.g.verified.cs b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/ExpressionLambdaVerifyTests.Test_ExpressionLambda_NoInput_NoOutput#LambdaHandler.g.verified.cs index 33970eac..6edb1fd6 100644 --- a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/ExpressionLambdaVerifyTests.Test_ExpressionLambda_NoInput_NoOutput#LambdaHandler.g.verified.cs +++ b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/ExpressionLambdaVerifyTests.Test_ExpressionLambda_NoInput_NoOutput#LambdaHandler.g.verified.cs @@ -16,7 +16,7 @@ namespace System.Runtime.CompilerServices { using System.CodeDom.Compiler; - [GeneratedCode("MinimalLambda.SourceGenerators", "0.0.0")] + [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] [AttributeUsage(AttributeTargets.Method, AllowMultiple = true)] file sealed class InterceptsLocationAttribute : Attribute { @@ -37,7 +37,7 @@ namespace MinimalLambda.Generated using MinimalLambda; using MinimalLambda.Builder; - [GeneratedCode("MinimalLambda.SourceGenerators", "0.0.0")] + [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] file static class GeneratedLambdaInvocationBuilderExtensions { private const string EventFeatureProviderKey = "__EventFeatureProvider"; diff --git a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/ExpressionLambdaVerifyTests.Test_ExpressionLambda_NoInput_ReturnGenericObject#LambdaHandler.g.verified.cs b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/ExpressionLambdaVerifyTests.Test_ExpressionLambda_NoInput_ReturnGenericObject#LambdaHandler.g.verified.cs index 2caaa6b6..48ea391b 100644 --- a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/ExpressionLambdaVerifyTests.Test_ExpressionLambda_NoInput_ReturnGenericObject#LambdaHandler.g.verified.cs +++ b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/ExpressionLambdaVerifyTests.Test_ExpressionLambda_NoInput_ReturnGenericObject#LambdaHandler.g.verified.cs @@ -16,7 +16,7 @@ namespace System.Runtime.CompilerServices { using System.CodeDom.Compiler; - [GeneratedCode("MinimalLambda.SourceGenerators", "0.0.0")] + [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] [AttributeUsage(AttributeTargets.Method, AllowMultiple = true)] file sealed class InterceptsLocationAttribute : Attribute { @@ -37,7 +37,7 @@ namespace MinimalLambda.Generated using MinimalLambda; using MinimalLambda.Builder; - [GeneratedCode("MinimalLambda.SourceGenerators", "0.0.0")] + [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] file static class GeneratedLambdaInvocationBuilderExtensions { private const string EventFeatureProviderKey = "__EventFeatureProvider"; diff --git a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/ExpressionLambdaVerifyTests.Test_ExpressionLambda_NoInput_ReturnNullablePrimitive#LambdaHandler.g.verified.cs b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/ExpressionLambdaVerifyTests.Test_ExpressionLambda_NoInput_ReturnNullablePrimitive#LambdaHandler.g.verified.cs index 5ea10459..2ac9fa19 100644 --- a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/ExpressionLambdaVerifyTests.Test_ExpressionLambda_NoInput_ReturnNullablePrimitive#LambdaHandler.g.verified.cs +++ b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/ExpressionLambdaVerifyTests.Test_ExpressionLambda_NoInput_ReturnNullablePrimitive#LambdaHandler.g.verified.cs @@ -16,7 +16,7 @@ namespace System.Runtime.CompilerServices { using System.CodeDom.Compiler; - [GeneratedCode("MinimalLambda.SourceGenerators", "0.0.0")] + [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] [AttributeUsage(AttributeTargets.Method, AllowMultiple = true)] file sealed class InterceptsLocationAttribute : Attribute { @@ -37,7 +37,7 @@ namespace MinimalLambda.Generated using MinimalLambda; using MinimalLambda.Builder; - [GeneratedCode("MinimalLambda.SourceGenerators", "0.0.0")] + [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] file static class GeneratedLambdaInvocationBuilderExtensions { private const string EventFeatureProviderKey = "__EventFeatureProvider"; diff --git a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/ExpressionLambdaVerifyTests.Test_ExpressionLambda_NoInput_ReturnString#LambdaHandler.g.verified.cs b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/ExpressionLambdaVerifyTests.Test_ExpressionLambda_NoInput_ReturnString#LambdaHandler.g.verified.cs index 9f7c3a9d..d48b5b06 100644 --- a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/ExpressionLambdaVerifyTests.Test_ExpressionLambda_NoInput_ReturnString#LambdaHandler.g.verified.cs +++ b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/ExpressionLambdaVerifyTests.Test_ExpressionLambda_NoInput_ReturnString#LambdaHandler.g.verified.cs @@ -16,7 +16,7 @@ namespace System.Runtime.CompilerServices { using System.CodeDom.Compiler; - [GeneratedCode("MinimalLambda.SourceGenerators", "0.0.0")] + [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] [AttributeUsage(AttributeTargets.Method, AllowMultiple = true)] file sealed class InterceptsLocationAttribute : Attribute { @@ -37,7 +37,7 @@ namespace MinimalLambda.Generated using MinimalLambda; using MinimalLambda.Builder; - [GeneratedCode("MinimalLambda.SourceGenerators", "0.0.0")] + [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] file static class GeneratedLambdaInvocationBuilderExtensions { private const string EventFeatureProviderKey = "__EventFeatureProvider"; diff --git a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/ExpressionLambdaVerifyTests.Test_ExpressionLambda_NullableInput_ReturnExplicitNullable#LambdaHandler.g.verified.cs b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/ExpressionLambdaVerifyTests.Test_ExpressionLambda_NullableInput_ReturnExplicitNullable#LambdaHandler.g.verified.cs index 4a7d5bf1..b5a6f331 100644 --- a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/ExpressionLambdaVerifyTests.Test_ExpressionLambda_NullableInput_ReturnExplicitNullable#LambdaHandler.g.verified.cs +++ b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/ExpressionLambdaVerifyTests.Test_ExpressionLambda_NullableInput_ReturnExplicitNullable#LambdaHandler.g.verified.cs @@ -16,7 +16,7 @@ namespace System.Runtime.CompilerServices { using System.CodeDom.Compiler; - [GeneratedCode("MinimalLambda.SourceGenerators", "0.0.0")] + [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] [AttributeUsage(AttributeTargets.Method, AllowMultiple = true)] file sealed class InterceptsLocationAttribute : Attribute { @@ -37,7 +37,7 @@ namespace MinimalLambda.Generated using MinimalLambda; using MinimalLambda.Builder; - [GeneratedCode("MinimalLambda.SourceGenerators", "0.0.0")] + [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] file static class GeneratedLambdaInvocationBuilderExtensions { private const string EventFeatureProviderKey = "__EventFeatureProvider"; diff --git a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/ExpressionLambdaVerifyTests.Test_ExpressionLambda_NullableInput_ReturnImplicitNullable#LambdaHandler.g.verified.cs b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/ExpressionLambdaVerifyTests.Test_ExpressionLambda_NullableInput_ReturnImplicitNullable#LambdaHandler.g.verified.cs index 458120d1..5d13a6ae 100644 --- a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/ExpressionLambdaVerifyTests.Test_ExpressionLambda_NullableInput_ReturnImplicitNullable#LambdaHandler.g.verified.cs +++ b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/ExpressionLambdaVerifyTests.Test_ExpressionLambda_NullableInput_ReturnImplicitNullable#LambdaHandler.g.verified.cs @@ -16,7 +16,7 @@ namespace System.Runtime.CompilerServices { using System.CodeDom.Compiler; - [GeneratedCode("MinimalLambda.SourceGenerators", "0.0.0")] + [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] [AttributeUsage(AttributeTargets.Method, AllowMultiple = true)] file sealed class InterceptsLocationAttribute : Attribute { @@ -37,7 +37,7 @@ namespace MinimalLambda.Generated using MinimalLambda; using MinimalLambda.Builder; - [GeneratedCode("MinimalLambda.SourceGenerators", "0.0.0")] + [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] file static class GeneratedLambdaInvocationBuilderExtensions { private const string EventFeatureProviderKey = "__EventFeatureProvider"; diff --git a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/ExpressionLambdaVerifyTests.Test_ExpressionLambda_ReturnExplicitTask#LambdaHandler.g.verified.cs b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/ExpressionLambdaVerifyTests.Test_ExpressionLambda_ReturnExplicitTask#LambdaHandler.g.verified.cs index 2e6a84af..e020966b 100644 --- a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/ExpressionLambdaVerifyTests.Test_ExpressionLambda_ReturnExplicitTask#LambdaHandler.g.verified.cs +++ b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/ExpressionLambdaVerifyTests.Test_ExpressionLambda_ReturnExplicitTask#LambdaHandler.g.verified.cs @@ -16,7 +16,7 @@ namespace System.Runtime.CompilerServices { using System.CodeDom.Compiler; - [GeneratedCode("MinimalLambda.SourceGenerators", "0.0.0")] + [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] [AttributeUsage(AttributeTargets.Method, AllowMultiple = true)] file sealed class InterceptsLocationAttribute : Attribute { @@ -37,7 +37,7 @@ namespace MinimalLambda.Generated using MinimalLambda; using MinimalLambda.Builder; - [GeneratedCode("MinimalLambda.SourceGenerators", "0.0.0")] + [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] file static class GeneratedLambdaInvocationBuilderExtensions { private const string EventFeatureProviderKey = "__EventFeatureProvider"; diff --git a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/ExpressionLambdaVerifyTests.Test_ExpressionLambda_ReturnExplicitType#LambdaHandler.g.verified.cs b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/ExpressionLambdaVerifyTests.Test_ExpressionLambda_ReturnExplicitType#LambdaHandler.g.verified.cs index 210b0189..e2c61542 100644 --- a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/ExpressionLambdaVerifyTests.Test_ExpressionLambda_ReturnExplicitType#LambdaHandler.g.verified.cs +++ b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/ExpressionLambdaVerifyTests.Test_ExpressionLambda_ReturnExplicitType#LambdaHandler.g.verified.cs @@ -16,7 +16,7 @@ namespace System.Runtime.CompilerServices { using System.CodeDom.Compiler; - [GeneratedCode("MinimalLambda.SourceGenerators", "0.0.0")] + [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] [AttributeUsage(AttributeTargets.Method, AllowMultiple = true)] file sealed class InterceptsLocationAttribute : Attribute { @@ -37,7 +37,7 @@ namespace MinimalLambda.Generated using MinimalLambda; using MinimalLambda.Builder; - [GeneratedCode("MinimalLambda.SourceGenerators", "0.0.0")] + [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] file static class GeneratedLambdaInvocationBuilderExtensions { private const string EventFeatureProviderKey = "__EventFeatureProvider"; diff --git a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/KeyedServiceVerifyTests.Test_KeyedService_FloatingPointTypes#LambdaHandler.g.verified.cs b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/KeyedServiceVerifyTests.Test_KeyedService_FloatingPointTypes#LambdaHandler.g.verified.cs index d9a3dc09..597e1fe2 100644 --- a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/KeyedServiceVerifyTests.Test_KeyedService_FloatingPointTypes#LambdaHandler.g.verified.cs +++ b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/KeyedServiceVerifyTests.Test_KeyedService_FloatingPointTypes#LambdaHandler.g.verified.cs @@ -16,7 +16,7 @@ namespace System.Runtime.CompilerServices { using System.CodeDom.Compiler; - [GeneratedCode("MinimalLambda.SourceGenerators", "0.0.0")] + [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] [AttributeUsage(AttributeTargets.Method, AllowMultiple = true)] file sealed class InterceptsLocationAttribute : Attribute { @@ -37,7 +37,7 @@ namespace MinimalLambda.Generated using MinimalLambda; using MinimalLambda.Builder; - [GeneratedCode("MinimalLambda.SourceGenerators", "0.0.0")] + [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] file static class GeneratedLambdaInvocationBuilderExtensions { private const string EventFeatureProviderKey = "__EventFeatureProvider"; diff --git a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/KeyedServiceVerifyTests.Test_KeyedService_IntAndLongKeys#LambdaHandler.g.verified.cs b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/KeyedServiceVerifyTests.Test_KeyedService_IntAndLongKeys#LambdaHandler.g.verified.cs index a13640ae..9096d892 100644 --- a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/KeyedServiceVerifyTests.Test_KeyedService_IntAndLongKeys#LambdaHandler.g.verified.cs +++ b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/KeyedServiceVerifyTests.Test_KeyedService_IntAndLongKeys#LambdaHandler.g.verified.cs @@ -16,7 +16,7 @@ namespace System.Runtime.CompilerServices { using System.CodeDom.Compiler; - [GeneratedCode("MinimalLambda.SourceGenerators", "0.0.0")] + [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] [AttributeUsage(AttributeTargets.Method, AllowMultiple = true)] file sealed class InterceptsLocationAttribute : Attribute { @@ -37,7 +37,7 @@ namespace MinimalLambda.Generated using MinimalLambda; using MinimalLambda.Builder; - [GeneratedCode("MinimalLambda.SourceGenerators", "0.0.0")] + [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] file static class GeneratedLambdaInvocationBuilderExtensions { private const string EventFeatureProviderKey = "__EventFeatureProvider"; diff --git a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/KeyedServiceVerifyTests.Test_KeyedService_OtherTypes#LambdaHandler.g.verified.cs b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/KeyedServiceVerifyTests.Test_KeyedService_OtherTypes#LambdaHandler.g.verified.cs index f85cfd33..dab7dc8a 100644 --- a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/KeyedServiceVerifyTests.Test_KeyedService_OtherTypes#LambdaHandler.g.verified.cs +++ b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/KeyedServiceVerifyTests.Test_KeyedService_OtherTypes#LambdaHandler.g.verified.cs @@ -16,7 +16,7 @@ namespace System.Runtime.CompilerServices { using System.CodeDom.Compiler; - [GeneratedCode("MinimalLambda.SourceGenerators", "0.0.0")] + [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] [AttributeUsage(AttributeTargets.Method, AllowMultiple = true)] file sealed class InterceptsLocationAttribute : Attribute { @@ -37,7 +37,7 @@ namespace MinimalLambda.Generated using MinimalLambda; using MinimalLambda.Builder; - [GeneratedCode("MinimalLambda.SourceGenerators", "0.0.0")] + [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] file static class GeneratedLambdaInvocationBuilderExtensions { private const string EventFeatureProviderKey = "__EventFeatureProvider"; diff --git a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/KeyedServiceVerifyTests.Test_KeyedService_SmallIntegerTypes#LambdaHandler.g.verified.cs b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/KeyedServiceVerifyTests.Test_KeyedService_SmallIntegerTypes#LambdaHandler.g.verified.cs index 504f7e0a..0f8ddfb5 100644 --- a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/KeyedServiceVerifyTests.Test_KeyedService_SmallIntegerTypes#LambdaHandler.g.verified.cs +++ b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/KeyedServiceVerifyTests.Test_KeyedService_SmallIntegerTypes#LambdaHandler.g.verified.cs @@ -16,7 +16,7 @@ namespace System.Runtime.CompilerServices { using System.CodeDom.Compiler; - [GeneratedCode("MinimalLambda.SourceGenerators", "0.0.0")] + [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] [AttributeUsage(AttributeTargets.Method, AllowMultiple = true)] file sealed class InterceptsLocationAttribute : Attribute { @@ -37,7 +37,7 @@ namespace MinimalLambda.Generated using MinimalLambda; using MinimalLambda.Builder; - [GeneratedCode("MinimalLambda.SourceGenerators", "0.0.0")] + [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] file static class GeneratedLambdaInvocationBuilderExtensions { private const string EventFeatureProviderKey = "__EventFeatureProvider"; diff --git a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/KeyedServiceVerifyTests.Test_KeyedService_StringAndEnumKeys#LambdaHandler.g.verified.cs b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/KeyedServiceVerifyTests.Test_KeyedService_StringAndEnumKeys#LambdaHandler.g.verified.cs index 297c71c7..2d90cb56 100644 --- a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/KeyedServiceVerifyTests.Test_KeyedService_StringAndEnumKeys#LambdaHandler.g.verified.cs +++ b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/KeyedServiceVerifyTests.Test_KeyedService_StringAndEnumKeys#LambdaHandler.g.verified.cs @@ -16,7 +16,7 @@ namespace System.Runtime.CompilerServices { using System.CodeDom.Compiler; - [GeneratedCode("MinimalLambda.SourceGenerators", "0.0.0")] + [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] [AttributeUsage(AttributeTargets.Method, AllowMultiple = true)] file sealed class InterceptsLocationAttribute : Attribute { @@ -37,7 +37,7 @@ namespace MinimalLambda.Generated using MinimalLambda; using MinimalLambda.Builder; - [GeneratedCode("MinimalLambda.SourceGenerators", "0.0.0")] + [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] file static class GeneratedLambdaInvocationBuilderExtensions { private const string EventFeatureProviderKey = "__EventFeatureProvider"; diff --git a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/KeyedServiceVerifyTests.Test_KeyedService_UnsignedIntegerTypes#LambdaHandler.g.verified.cs b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/KeyedServiceVerifyTests.Test_KeyedService_UnsignedIntegerTypes#LambdaHandler.g.verified.cs index ffe5e30d..0a9b9934 100644 --- a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/KeyedServiceVerifyTests.Test_KeyedService_UnsignedIntegerTypes#LambdaHandler.g.verified.cs +++ b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/KeyedServiceVerifyTests.Test_KeyedService_UnsignedIntegerTypes#LambdaHandler.g.verified.cs @@ -16,7 +16,7 @@ namespace System.Runtime.CompilerServices { using System.CodeDom.Compiler; - [GeneratedCode("MinimalLambda.SourceGenerators", "0.0.0")] + [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] [AttributeUsage(AttributeTargets.Method, AllowMultiple = true)] file sealed class InterceptsLocationAttribute : Attribute { @@ -37,7 +37,7 @@ namespace MinimalLambda.Generated using MinimalLambda; using MinimalLambda.Builder; - [GeneratedCode("MinimalLambda.SourceGenerators", "0.0.0")] + [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] file static class GeneratedLambdaInvocationBuilderExtensions { private const string EventFeatureProviderKey = "__EventFeatureProvider"; diff --git a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/MethodHandlerVerifyTests.Test_MethodHandler_AsyncVoid#LambdaHandler.g.verified.cs b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/MethodHandlerVerifyTests.Test_MethodHandler_AsyncVoid#LambdaHandler.g.verified.cs index 9cc48423..86c01a01 100644 --- a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/MethodHandlerVerifyTests.Test_MethodHandler_AsyncVoid#LambdaHandler.g.verified.cs +++ b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/MethodHandlerVerifyTests.Test_MethodHandler_AsyncVoid#LambdaHandler.g.verified.cs @@ -16,7 +16,7 @@ namespace System.Runtime.CompilerServices { using System.CodeDom.Compiler; - [GeneratedCode("MinimalLambda.SourceGenerators", "0.0.0")] + [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] [AttributeUsage(AttributeTargets.Method, AllowMultiple = true)] file sealed class InterceptsLocationAttribute : Attribute { @@ -37,7 +37,7 @@ namespace MinimalLambda.Generated using MinimalLambda; using MinimalLambda.Builder; - [GeneratedCode("MinimalLambda.SourceGenerators", "0.0.0")] + [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] file static class GeneratedLambdaInvocationBuilderExtensions { private const string EventFeatureProviderKey = "__EventFeatureProvider"; diff --git a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/MethodHandlerVerifyTests.Test_MethodHandler_Async_ReturnTaskString#LambdaHandler.g.verified.cs b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/MethodHandlerVerifyTests.Test_MethodHandler_Async_ReturnTaskString#LambdaHandler.g.verified.cs index 3eca0a20..9df88abb 100644 --- a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/MethodHandlerVerifyTests.Test_MethodHandler_Async_ReturnTaskString#LambdaHandler.g.verified.cs +++ b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/MethodHandlerVerifyTests.Test_MethodHandler_Async_ReturnTaskString#LambdaHandler.g.verified.cs @@ -16,7 +16,7 @@ namespace System.Runtime.CompilerServices { using System.CodeDom.Compiler; - [GeneratedCode("MinimalLambda.SourceGenerators", "0.0.0")] + [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] [AttributeUsage(AttributeTargets.Method, AllowMultiple = true)] file sealed class InterceptsLocationAttribute : Attribute { @@ -37,7 +37,7 @@ namespace MinimalLambda.Generated using MinimalLambda; using MinimalLambda.Builder; - [GeneratedCode("MinimalLambda.SourceGenerators", "0.0.0")] + [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] file static class GeneratedLambdaInvocationBuilderExtensions { private const string EventFeatureProviderKey = "__EventFeatureProvider"; diff --git a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/MethodHandlerVerifyTests.Test_MethodHandler_BlockBody_InputDiKeyedServices#LambdaHandler.g.verified.cs b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/MethodHandlerVerifyTests.Test_MethodHandler_BlockBody_InputDiKeyedServices#LambdaHandler.g.verified.cs index d3693a09..fb9d1b6a 100644 --- a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/MethodHandlerVerifyTests.Test_MethodHandler_BlockBody_InputDiKeyedServices#LambdaHandler.g.verified.cs +++ b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/MethodHandlerVerifyTests.Test_MethodHandler_BlockBody_InputDiKeyedServices#LambdaHandler.g.verified.cs @@ -16,7 +16,7 @@ namespace System.Runtime.CompilerServices { using System.CodeDom.Compiler; - [GeneratedCode("MinimalLambda.SourceGenerators", "0.0.0")] + [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] [AttributeUsage(AttributeTargets.Method, AllowMultiple = true)] file sealed class InterceptsLocationAttribute : Attribute { @@ -37,7 +37,7 @@ namespace MinimalLambda.Generated using MinimalLambda; using MinimalLambda.Builder; - [GeneratedCode("MinimalLambda.SourceGenerators", "0.0.0")] + [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] file static class GeneratedLambdaInvocationBuilderExtensions { private const string EventFeatureProviderKey = "__EventFeatureProvider"; diff --git a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/MethodHandlerVerifyTests.Test_MethodHandler_BlockBody_TypeCast#LambdaHandler.g.verified.cs b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/MethodHandlerVerifyTests.Test_MethodHandler_BlockBody_TypeCast#LambdaHandler.g.verified.cs index 9b9f49bd..40f3b131 100644 --- a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/MethodHandlerVerifyTests.Test_MethodHandler_BlockBody_TypeCast#LambdaHandler.g.verified.cs +++ b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/MethodHandlerVerifyTests.Test_MethodHandler_BlockBody_TypeCast#LambdaHandler.g.verified.cs @@ -16,7 +16,7 @@ namespace System.Runtime.CompilerServices { using System.CodeDom.Compiler; - [GeneratedCode("MinimalLambda.SourceGenerators", "0.0.0")] + [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] [AttributeUsage(AttributeTargets.Method, AllowMultiple = true)] file sealed class InterceptsLocationAttribute : Attribute { @@ -37,7 +37,7 @@ namespace MinimalLambda.Generated using MinimalLambda; using MinimalLambda.Builder; - [GeneratedCode("MinimalLambda.SourceGenerators", "0.0.0")] + [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] file static class GeneratedLambdaInvocationBuilderExtensions { private const string EventFeatureProviderKey = "__EventFeatureProvider"; diff --git a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/MethodHandlerVerifyTests.Test_MethodHandler_BlockBody_TypeCast_Static#LambdaHandler.g.verified.cs b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/MethodHandlerVerifyTests.Test_MethodHandler_BlockBody_TypeCast_Static#LambdaHandler.g.verified.cs index b2b3b69d..363ea6e8 100644 --- a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/MethodHandlerVerifyTests.Test_MethodHandler_BlockBody_TypeCast_Static#LambdaHandler.g.verified.cs +++ b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/MethodHandlerVerifyTests.Test_MethodHandler_BlockBody_TypeCast_Static#LambdaHandler.g.verified.cs @@ -16,7 +16,7 @@ namespace System.Runtime.CompilerServices { using System.CodeDom.Compiler; - [GeneratedCode("MinimalLambda.SourceGenerators", "0.0.0")] + [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] [AttributeUsage(AttributeTargets.Method, AllowMultiple = true)] file sealed class InterceptsLocationAttribute : Attribute { @@ -37,7 +37,7 @@ namespace MinimalLambda.Generated using MinimalLambda; using MinimalLambda.Builder; - [GeneratedCode("MinimalLambda.SourceGenerators", "0.0.0")] + [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] file static class GeneratedLambdaInvocationBuilderExtensions { private const string EventFeatureProviderKey = "__EventFeatureProvider"; diff --git a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/MethodHandlerVerifyTests.Test_MethodHandler_NoInput_NoOutput#LambdaHandler.g.verified.cs b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/MethodHandlerVerifyTests.Test_MethodHandler_NoInput_NoOutput#LambdaHandler.g.verified.cs index 1f04e62f..535bcfdc 100644 --- a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/MethodHandlerVerifyTests.Test_MethodHandler_NoInput_NoOutput#LambdaHandler.g.verified.cs +++ b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/MethodHandlerVerifyTests.Test_MethodHandler_NoInput_NoOutput#LambdaHandler.g.verified.cs @@ -16,7 +16,7 @@ namespace System.Runtime.CompilerServices { using System.CodeDom.Compiler; - [GeneratedCode("MinimalLambda.SourceGenerators", "0.0.0")] + [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] [AttributeUsage(AttributeTargets.Method, AllowMultiple = true)] file sealed class InterceptsLocationAttribute : Attribute { @@ -37,7 +37,7 @@ namespace MinimalLambda.Generated using MinimalLambda; using MinimalLambda.Builder; - [GeneratedCode("MinimalLambda.SourceGenerators", "0.0.0")] + [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] file static class GeneratedLambdaInvocationBuilderExtensions { private const string EventFeatureProviderKey = "__EventFeatureProvider"; diff --git a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/MethodHandlerVerifyTests.Test_MethodHandler_ReturnTask#LambdaHandler.g.verified.cs b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/MethodHandlerVerifyTests.Test_MethodHandler_ReturnTask#LambdaHandler.g.verified.cs index a591863b..2b88d5c0 100644 --- a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/MethodHandlerVerifyTests.Test_MethodHandler_ReturnTask#LambdaHandler.g.verified.cs +++ b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/MethodHandlerVerifyTests.Test_MethodHandler_ReturnTask#LambdaHandler.g.verified.cs @@ -16,7 +16,7 @@ namespace System.Runtime.CompilerServices { using System.CodeDom.Compiler; - [GeneratedCode("MinimalLambda.SourceGenerators", "0.0.0")] + [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] [AttributeUsage(AttributeTargets.Method, AllowMultiple = true)] file sealed class InterceptsLocationAttribute : Attribute { @@ -37,7 +37,7 @@ namespace MinimalLambda.Generated using MinimalLambda; using MinimalLambda.Builder; - [GeneratedCode("MinimalLambda.SourceGenerators", "0.0.0")] + [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] file static class GeneratedLambdaInvocationBuilderExtensions { private const string EventFeatureProviderKey = "__EventFeatureProvider"; diff --git a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/MethodHandlerVerifyTests.Test_MethodHandler_ReturnTaskString#LambdaHandler.g.verified.cs b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/MethodHandlerVerifyTests.Test_MethodHandler_ReturnTaskString#LambdaHandler.g.verified.cs index 513ea52f..ff2fa3e9 100644 --- a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/MethodHandlerVerifyTests.Test_MethodHandler_ReturnTaskString#LambdaHandler.g.verified.cs +++ b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/MethodHandlerVerifyTests.Test_MethodHandler_ReturnTaskString#LambdaHandler.g.verified.cs @@ -16,7 +16,7 @@ namespace System.Runtime.CompilerServices { using System.CodeDom.Compiler; - [GeneratedCode("MinimalLambda.SourceGenerators", "0.0.0")] + [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] [AttributeUsage(AttributeTargets.Method, AllowMultiple = true)] file sealed class InterceptsLocationAttribute : Attribute { @@ -37,7 +37,7 @@ namespace MinimalLambda.Generated using MinimalLambda; using MinimalLambda.Builder; - [GeneratedCode("MinimalLambda.SourceGenerators", "0.0.0")] + [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] file static class GeneratedLambdaInvocationBuilderExtensions { private const string EventFeatureProviderKey = "__EventFeatureProvider"; diff --git a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/MethodHandlerVerifyTests.Test_MethodHandler_TypeCast_ExtraParentheses#LambdaHandler.g.verified.cs b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/MethodHandlerVerifyTests.Test_MethodHandler_TypeCast_ExtraParentheses#LambdaHandler.g.verified.cs index d09f2e0e..312d4993 100644 --- a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/MethodHandlerVerifyTests.Test_MethodHandler_TypeCast_ExtraParentheses#LambdaHandler.g.verified.cs +++ b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/MethodHandlerVerifyTests.Test_MethodHandler_TypeCast_ExtraParentheses#LambdaHandler.g.verified.cs @@ -16,7 +16,7 @@ namespace System.Runtime.CompilerServices { using System.CodeDom.Compiler; - [GeneratedCode("MinimalLambda.SourceGenerators", "0.0.0")] + [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] [AttributeUsage(AttributeTargets.Method, AllowMultiple = true)] file sealed class InterceptsLocationAttribute : Attribute { @@ -37,7 +37,7 @@ namespace MinimalLambda.Generated using MinimalLambda; using MinimalLambda.Builder; - [GeneratedCode("MinimalLambda.SourceGenerators", "0.0.0")] + [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] file static class GeneratedLambdaInvocationBuilderExtensions { private const string EventFeatureProviderKey = "__EventFeatureProvider"; diff --git a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/OnInitVerifyTests.Test_OnInit_BaseMethodCall#LambdaHandler.g.verified.cs b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/OnInitVerifyTests.Test_OnInit_BaseMethodCall#LambdaHandler.g.verified.cs index 3292b240..6140e606 100644 --- a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/OnInitVerifyTests.Test_OnInit_BaseMethodCall#LambdaHandler.g.verified.cs +++ b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/OnInitVerifyTests.Test_OnInit_BaseMethodCall#LambdaHandler.g.verified.cs @@ -16,7 +16,7 @@ namespace System.Runtime.CompilerServices { using System.CodeDom.Compiler; - [GeneratedCode("MinimalLambda.SourceGenerators", "0.0.0")] + [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] [AttributeUsage(AttributeTargets.Method, AllowMultiple = true)] file sealed class InterceptsLocationAttribute : Attribute { diff --git a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/OnInitVerifyTests.Test_OnInit_ExplicitReturnTypeAsync#LambdaHandler.g.verified.cs b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/OnInitVerifyTests.Test_OnInit_ExplicitReturnTypeAsync#LambdaHandler.g.verified.cs index 1f07f280..f7ae10f1 100644 --- a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/OnInitVerifyTests.Test_OnInit_ExplicitReturnTypeAsync#LambdaHandler.g.verified.cs +++ b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/OnInitVerifyTests.Test_OnInit_ExplicitReturnTypeAsync#LambdaHandler.g.verified.cs @@ -16,7 +16,7 @@ namespace System.Runtime.CompilerServices { using System.CodeDom.Compiler; - [GeneratedCode("MinimalLambda.SourceGenerators", "0.0.0")] + [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] [AttributeUsage(AttributeTargets.Method, AllowMultiple = true)] file sealed class InterceptsLocationAttribute : Attribute { @@ -37,7 +37,7 @@ namespace MinimalLambda.Generated using MinimalLambda; using MinimalLambda.Builder; - [GeneratedCode("MinimalLambda.SourceGenerators", "0.0.0")] + [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] file static class GeneratedLambdaOnInitBuilderExtensions { [InterceptsLocation(1, "q1uiaF3q8+xYajQEZyxaiM0AAABJbnB1dEZpbGUuY3M=")] diff --git a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/OnInitVerifyTests.Test_OnInit_MethodHandler_AsyncAndDi#LambdaHandler.g.verified.cs b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/OnInitVerifyTests.Test_OnInit_MethodHandler_AsyncAndDi#LambdaHandler.g.verified.cs index eeb5e49b..b73eb262 100644 --- a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/OnInitVerifyTests.Test_OnInit_MethodHandler_AsyncAndDi#LambdaHandler.g.verified.cs +++ b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/OnInitVerifyTests.Test_OnInit_MethodHandler_AsyncAndDi#LambdaHandler.g.verified.cs @@ -16,7 +16,7 @@ namespace System.Runtime.CompilerServices { using System.CodeDom.Compiler; - [GeneratedCode("MinimalLambda.SourceGenerators", "0.0.0")] + [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] [AttributeUsage(AttributeTargets.Method, AllowMultiple = true)] file sealed class InterceptsLocationAttribute : Attribute { @@ -37,7 +37,7 @@ namespace MinimalLambda.Generated using MinimalLambda; using MinimalLambda.Builder; - [GeneratedCode("MinimalLambda.SourceGenerators", "0.0.0")] + [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] file static class GeneratedLambdaOnInitBuilderExtensions { [InterceptsLocation(1, "GvWtmkGvhj2sJm4/rXiUGc0AAABJbnB1dEZpbGUuY3M=")] diff --git a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/OnInitVerifyTests.Test_OnInit_MethodHandler_AsyncAndDiAndReturnUnexpectedType#LambdaHandler.g.verified.cs b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/OnInitVerifyTests.Test_OnInit_MethodHandler_AsyncAndDiAndReturnUnexpectedType#LambdaHandler.g.verified.cs index 832a58c5..3d8dd3d1 100644 --- a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/OnInitVerifyTests.Test_OnInit_MethodHandler_AsyncAndDiAndReturnUnexpectedType#LambdaHandler.g.verified.cs +++ b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/OnInitVerifyTests.Test_OnInit_MethodHandler_AsyncAndDiAndReturnUnexpectedType#LambdaHandler.g.verified.cs @@ -16,7 +16,7 @@ namespace System.Runtime.CompilerServices { using System.CodeDom.Compiler; - [GeneratedCode("MinimalLambda.SourceGenerators", "0.0.0")] + [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] [AttributeUsage(AttributeTargets.Method, AllowMultiple = true)] file sealed class InterceptsLocationAttribute : Attribute { @@ -37,7 +37,7 @@ namespace MinimalLambda.Generated using MinimalLambda; using MinimalLambda.Builder; - [GeneratedCode("MinimalLambda.SourceGenerators", "0.0.0")] + [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] file static class GeneratedLambdaOnInitBuilderExtensions { [InterceptsLocation(1, "8o56Zwu2oVW8FXpGxJSFvc0AAABJbnB1dEZpbGUuY3M=")] diff --git a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/OnInitVerifyTests.Test_OnInit_MethodHandler_NoDi#LambdaHandler.g.verified.cs b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/OnInitVerifyTests.Test_OnInit_MethodHandler_NoDi#LambdaHandler.g.verified.cs index 4ae6095d..e8a7d1de 100644 --- a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/OnInitVerifyTests.Test_OnInit_MethodHandler_NoDi#LambdaHandler.g.verified.cs +++ b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/OnInitVerifyTests.Test_OnInit_MethodHandler_NoDi#LambdaHandler.g.verified.cs @@ -16,7 +16,7 @@ namespace System.Runtime.CompilerServices { using System.CodeDom.Compiler; - [GeneratedCode("MinimalLambda.SourceGenerators", "0.0.0")] + [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] [AttributeUsage(AttributeTargets.Method, AllowMultiple = true)] file sealed class InterceptsLocationAttribute : Attribute { @@ -37,7 +37,7 @@ namespace MinimalLambda.Generated using MinimalLambda; using MinimalLambda.Builder; - [GeneratedCode("MinimalLambda.SourceGenerators", "0.0.0")] + [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] file static class GeneratedLambdaOnInitBuilderExtensions { [InterceptsLocation(1, "3ivf5JplhmGDGF7iXdWVSucAAABJbnB1dEZpbGUuY3M=")] diff --git a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/OnInitVerifyTests.Test_OnInit_MultipleCalls#LambdaHandler.g.verified.cs b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/OnInitVerifyTests.Test_OnInit_MultipleCalls#LambdaHandler.g.verified.cs index b9d19caa..528c6dd0 100644 --- a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/OnInitVerifyTests.Test_OnInit_MultipleCalls#LambdaHandler.g.verified.cs +++ b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/OnInitVerifyTests.Test_OnInit_MultipleCalls#LambdaHandler.g.verified.cs @@ -16,7 +16,7 @@ namespace System.Runtime.CompilerServices { using System.CodeDom.Compiler; - [GeneratedCode("MinimalLambda.SourceGenerators", "0.0.0")] + [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] [AttributeUsage(AttributeTargets.Method, AllowMultiple = true)] file sealed class InterceptsLocationAttribute : Attribute { @@ -37,7 +37,7 @@ namespace MinimalLambda.Generated using MinimalLambda; using MinimalLambda.Builder; - [GeneratedCode("MinimalLambda.SourceGenerators", "0.0.0")] + [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] file static class GeneratedLambdaOnInitBuilderExtensions { [InterceptsLocation(1, "gOjUxL7brRqHQuY3oQ1zfc0AAABJbnB1dEZpbGUuY3M=")] diff --git a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/OnInitVerifyTests.Test_OnInit_NoInput_NoOutput#LambdaHandler.g.verified.cs b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/OnInitVerifyTests.Test_OnInit_NoInput_NoOutput#LambdaHandler.g.verified.cs index f210e9e1..99dcb092 100644 --- a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/OnInitVerifyTests.Test_OnInit_NoInput_NoOutput#LambdaHandler.g.verified.cs +++ b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/OnInitVerifyTests.Test_OnInit_NoInput_NoOutput#LambdaHandler.g.verified.cs @@ -16,7 +16,7 @@ namespace System.Runtime.CompilerServices { using System.CodeDom.Compiler; - [GeneratedCode("MinimalLambda.SourceGenerators", "0.0.0")] + [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] [AttributeUsage(AttributeTargets.Method, AllowMultiple = true)] file sealed class InterceptsLocationAttribute : Attribute { @@ -37,7 +37,7 @@ namespace MinimalLambda.Generated using MinimalLambda; using MinimalLambda.Builder; - [GeneratedCode("MinimalLambda.SourceGenerators", "0.0.0")] + [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] file static class GeneratedLambdaOnInitBuilderExtensions { [InterceptsLocation(1, "muLM5AWLiyZcBDFwDjSMbc0AAABJbnB1dEZpbGUuY3M=")] diff --git a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/OnInitVerifyTests.Test_OnInit_NoInput_ReturnAsyncBool#LambdaHandler.g.verified.cs b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/OnInitVerifyTests.Test_OnInit_NoInput_ReturnAsyncBool#LambdaHandler.g.verified.cs index 0c39c041..53924e54 100644 --- a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/OnInitVerifyTests.Test_OnInit_NoInput_ReturnAsyncBool#LambdaHandler.g.verified.cs +++ b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/OnInitVerifyTests.Test_OnInit_NoInput_ReturnAsyncBool#LambdaHandler.g.verified.cs @@ -16,7 +16,7 @@ namespace System.Runtime.CompilerServices { using System.CodeDom.Compiler; - [GeneratedCode("MinimalLambda.SourceGenerators", "0.0.0")] + [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] [AttributeUsage(AttributeTargets.Method, AllowMultiple = true)] file sealed class InterceptsLocationAttribute : Attribute { @@ -37,7 +37,7 @@ namespace MinimalLambda.Generated using MinimalLambda; using MinimalLambda.Builder; - [GeneratedCode("MinimalLambda.SourceGenerators", "0.0.0")] + [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] file static class GeneratedLambdaOnInitBuilderExtensions { [InterceptsLocation(1, "itVOIXgsd2/a5q0mYhXydM0AAABJbnB1dEZpbGUuY3M=")] diff --git a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/OnInitVerifyTests.Test_OnInit_NoInput_ReturnBool#LambdaHandler.g.verified.cs b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/OnInitVerifyTests.Test_OnInit_NoInput_ReturnBool#LambdaHandler.g.verified.cs index f9e7737d..eb939b6c 100644 --- a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/OnInitVerifyTests.Test_OnInit_NoInput_ReturnBool#LambdaHandler.g.verified.cs +++ b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/OnInitVerifyTests.Test_OnInit_NoInput_ReturnBool#LambdaHandler.g.verified.cs @@ -16,7 +16,7 @@ namespace System.Runtime.CompilerServices { using System.CodeDom.Compiler; - [GeneratedCode("MinimalLambda.SourceGenerators", "0.0.0")] + [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] [AttributeUsage(AttributeTargets.Method, AllowMultiple = true)] file sealed class InterceptsLocationAttribute : Attribute { @@ -37,7 +37,7 @@ namespace MinimalLambda.Generated using MinimalLambda; using MinimalLambda.Builder; - [GeneratedCode("MinimalLambda.SourceGenerators", "0.0.0")] + [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] file static class GeneratedLambdaOnInitBuilderExtensions { [InterceptsLocation(1, "dCq2ERewPXxHvi/4iSh/m80AAABJbnB1dEZpbGUuY3M=")] diff --git a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/OnInitVerifyTests.Test_OnInit_NoInput_ReturnNotExpectedType#LambdaHandler.g.verified.cs b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/OnInitVerifyTests.Test_OnInit_NoInput_ReturnNotExpectedType#LambdaHandler.g.verified.cs index fbfcb9c8..4151e561 100644 --- a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/OnInitVerifyTests.Test_OnInit_NoInput_ReturnNotExpectedType#LambdaHandler.g.verified.cs +++ b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/OnInitVerifyTests.Test_OnInit_NoInput_ReturnNotExpectedType#LambdaHandler.g.verified.cs @@ -16,7 +16,7 @@ namespace System.Runtime.CompilerServices { using System.CodeDom.Compiler; - [GeneratedCode("MinimalLambda.SourceGenerators", "0.0.0")] + [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] [AttributeUsage(AttributeTargets.Method, AllowMultiple = true)] file sealed class InterceptsLocationAttribute : Attribute { @@ -37,7 +37,7 @@ namespace MinimalLambda.Generated using MinimalLambda; using MinimalLambda.Builder; - [GeneratedCode("MinimalLambda.SourceGenerators", "0.0.0")] + [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] file static class GeneratedLambdaOnInitBuilderExtensions { [InterceptsLocation(1, "7+o+H0MkQG+24GOQUPBdDs0AAABJbnB1dEZpbGUuY3M=")] diff --git a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/OnInitVerifyTests.Test_OnInit_NoInput_ReturnNotExpectedTypeAsync#LambdaHandler.g.verified.cs b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/OnInitVerifyTests.Test_OnInit_NoInput_ReturnNotExpectedTypeAsync#LambdaHandler.g.verified.cs index 77c03a6a..e0ef2cc8 100644 --- a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/OnInitVerifyTests.Test_OnInit_NoInput_ReturnNotExpectedTypeAsync#LambdaHandler.g.verified.cs +++ b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/OnInitVerifyTests.Test_OnInit_NoInput_ReturnNotExpectedTypeAsync#LambdaHandler.g.verified.cs @@ -16,7 +16,7 @@ namespace System.Runtime.CompilerServices { using System.CodeDom.Compiler; - [GeneratedCode("MinimalLambda.SourceGenerators", "0.0.0")] + [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] [AttributeUsage(AttributeTargets.Method, AllowMultiple = true)] file sealed class InterceptsLocationAttribute : Attribute { @@ -37,7 +37,7 @@ namespace MinimalLambda.Generated using MinimalLambda; using MinimalLambda.Builder; - [GeneratedCode("MinimalLambda.SourceGenerators", "0.0.0")] + [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] file static class GeneratedLambdaOnInitBuilderExtensions { [InterceptsLocation(1, "pi9PolKCGMrmFvoC3ft/Oc0AAABJbnB1dEZpbGUuY3M=")] diff --git a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/OnInitVerifyTests.Test_OnInit_NoInput_ReturnNotExpectedTypeTask#LambdaHandler.g.verified.cs b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/OnInitVerifyTests.Test_OnInit_NoInput_ReturnNotExpectedTypeTask#LambdaHandler.g.verified.cs index 330cf8ff..e89f1a27 100644 --- a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/OnInitVerifyTests.Test_OnInit_NoInput_ReturnNotExpectedTypeTask#LambdaHandler.g.verified.cs +++ b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/OnInitVerifyTests.Test_OnInit_NoInput_ReturnNotExpectedTypeTask#LambdaHandler.g.verified.cs @@ -16,7 +16,7 @@ namespace System.Runtime.CompilerServices { using System.CodeDom.Compiler; - [GeneratedCode("MinimalLambda.SourceGenerators", "0.0.0")] + [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] [AttributeUsage(AttributeTargets.Method, AllowMultiple = true)] file sealed class InterceptsLocationAttribute : Attribute { @@ -37,7 +37,7 @@ namespace MinimalLambda.Generated using MinimalLambda; using MinimalLambda.Builder; - [GeneratedCode("MinimalLambda.SourceGenerators", "0.0.0")] + [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] file static class GeneratedLambdaOnInitBuilderExtensions { [InterceptsLocation(1, "Vg2L2eBzhOCM6KRY6cER2c0AAABJbnB1dEZpbGUuY3M=")] diff --git a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/OnInitVerifyTests.Test_OnInit_NoInput_ReturnTaskBool#LambdaHandler.g.verified.cs b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/OnInitVerifyTests.Test_OnInit_NoInput_ReturnTaskBool#LambdaHandler.g.verified.cs index d4346a84..59f523ff 100644 --- a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/OnInitVerifyTests.Test_OnInit_NoInput_ReturnTaskBool#LambdaHandler.g.verified.cs +++ b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/OnInitVerifyTests.Test_OnInit_NoInput_ReturnTaskBool#LambdaHandler.g.verified.cs @@ -16,7 +16,7 @@ namespace System.Runtime.CompilerServices { using System.CodeDom.Compiler; - [GeneratedCode("MinimalLambda.SourceGenerators", "0.0.0")] + [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] [AttributeUsage(AttributeTargets.Method, AllowMultiple = true)] file sealed class InterceptsLocationAttribute : Attribute { @@ -37,7 +37,7 @@ namespace MinimalLambda.Generated using MinimalLambda; using MinimalLambda.Builder; - [GeneratedCode("MinimalLambda.SourceGenerators", "0.0.0")] + [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] file static class GeneratedLambdaOnInitBuilderExtensions { [InterceptsLocation(1, "cTRqoX+dJLMMKMOCOmOufs0AAABJbnB1dEZpbGUuY3M=")] diff --git a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/OnInitVerifyTests.Test_OnInit_NullableValueAndReferenceInputs#LambdaHandler.g.verified.cs b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/OnInitVerifyTests.Test_OnInit_NullableValueAndReferenceInputs#LambdaHandler.g.verified.cs index b479edfe..299c2997 100644 --- a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/OnInitVerifyTests.Test_OnInit_NullableValueAndReferenceInputs#LambdaHandler.g.verified.cs +++ b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/OnInitVerifyTests.Test_OnInit_NullableValueAndReferenceInputs#LambdaHandler.g.verified.cs @@ -16,7 +16,7 @@ namespace System.Runtime.CompilerServices { using System.CodeDom.Compiler; - [GeneratedCode("MinimalLambda.SourceGenerators", "0.0.0")] + [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] [AttributeUsage(AttributeTargets.Method, AllowMultiple = true)] file sealed class InterceptsLocationAttribute : Attribute { @@ -37,7 +37,7 @@ namespace MinimalLambda.Generated using MinimalLambda; using MinimalLambda.Builder; - [GeneratedCode("MinimalLambda.SourceGenerators", "0.0.0")] + [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] file static class GeneratedLambdaOnInitBuilderExtensions { [InterceptsLocation(1, "dITS7/hnxk7n1XWH1BHx4s0AAABJbnB1dEZpbGUuY3M=")] diff --git a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/OnInitVerifyTests.Test_OnInit_OneOfEachPossibleKindOfInput#LambdaHandler.g.verified.cs b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/OnInitVerifyTests.Test_OnInit_OneOfEachPossibleKindOfInput#LambdaHandler.g.verified.cs index aa5232f2..5ae7da54 100644 --- a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/OnInitVerifyTests.Test_OnInit_OneOfEachPossibleKindOfInput#LambdaHandler.g.verified.cs +++ b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/OnInitVerifyTests.Test_OnInit_OneOfEachPossibleKindOfInput#LambdaHandler.g.verified.cs @@ -16,7 +16,7 @@ namespace System.Runtime.CompilerServices { using System.CodeDom.Compiler; - [GeneratedCode("MinimalLambda.SourceGenerators", "0.0.0")] + [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] [AttributeUsage(AttributeTargets.Method, AllowMultiple = true)] file sealed class InterceptsLocationAttribute : Attribute { @@ -37,7 +37,7 @@ namespace MinimalLambda.Generated using MinimalLambda; using MinimalLambda.Builder; - [GeneratedCode("MinimalLambda.SourceGenerators", "0.0.0")] + [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] file static class GeneratedLambdaOnInitBuilderExtensions { [InterceptsLocation(1, "s9lx/eNP9F4h61w7TOvQPRUBAABJbnB1dEZpbGUuY3M=")] diff --git a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/OnInitVerifyTests.Test_OnInit_PrimitiveInput#LambdaHandler.g.verified.cs b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/OnInitVerifyTests.Test_OnInit_PrimitiveInput#LambdaHandler.g.verified.cs index 63fbaed7..135608df 100644 --- a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/OnInitVerifyTests.Test_OnInit_PrimitiveInput#LambdaHandler.g.verified.cs +++ b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/OnInitVerifyTests.Test_OnInit_PrimitiveInput#LambdaHandler.g.verified.cs @@ -16,7 +16,7 @@ namespace System.Runtime.CompilerServices { using System.CodeDom.Compiler; - [GeneratedCode("MinimalLambda.SourceGenerators", "0.0.0")] + [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] [AttributeUsage(AttributeTargets.Method, AllowMultiple = true)] file sealed class InterceptsLocationAttribute : Attribute { @@ -37,7 +37,7 @@ namespace MinimalLambda.Generated using MinimalLambda; using MinimalLambda.Builder; - [GeneratedCode("MinimalLambda.SourceGenerators", "0.0.0")] + [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] file static class GeneratedLambdaOnInitBuilderExtensions { [InterceptsLocation(1, "8J01folJ0MDOTLxLNRx4fs0AAABJbnB1dEZpbGUuY3M=")] diff --git a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/OnShutdownVerifyTests.Test_OnShutdown_BaseMethodCall#LambdaHandler.g.verified.cs b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/OnShutdownVerifyTests.Test_OnShutdown_BaseMethodCall#LambdaHandler.g.verified.cs index 3292b240..6140e606 100644 --- a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/OnShutdownVerifyTests.Test_OnShutdown_BaseMethodCall#LambdaHandler.g.verified.cs +++ b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/OnShutdownVerifyTests.Test_OnShutdown_BaseMethodCall#LambdaHandler.g.verified.cs @@ -16,7 +16,7 @@ namespace System.Runtime.CompilerServices { using System.CodeDom.Compiler; - [GeneratedCode("MinimalLambda.SourceGenerators", "0.0.0")] + [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] [AttributeUsage(AttributeTargets.Method, AllowMultiple = true)] file sealed class InterceptsLocationAttribute : Attribute { diff --git a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/OnShutdownVerifyTests.Test_OnShutdown_BlockLambda_ReturnsImplicitVoid#LambdaHandler.g.verified.cs b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/OnShutdownVerifyTests.Test_OnShutdown_BlockLambda_ReturnsImplicitVoid#LambdaHandler.g.verified.cs index 8360f6b0..717de97f 100644 --- a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/OnShutdownVerifyTests.Test_OnShutdown_BlockLambda_ReturnsImplicitVoid#LambdaHandler.g.verified.cs +++ b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/OnShutdownVerifyTests.Test_OnShutdown_BlockLambda_ReturnsImplicitVoid#LambdaHandler.g.verified.cs @@ -16,7 +16,7 @@ namespace System.Runtime.CompilerServices { using System.CodeDom.Compiler; - [GeneratedCode("MinimalLambda.SourceGenerators", "0.0.0")] + [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] [AttributeUsage(AttributeTargets.Method, AllowMultiple = true)] file sealed class InterceptsLocationAttribute : Attribute { @@ -37,7 +37,7 @@ namespace MinimalLambda.Generated using MinimalLambda; using MinimalLambda.Builder; - [GeneratedCode("MinimalLambda.SourceGenerators", "0.0.0")] + [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] file static class GeneratedLambdaOnShutdownBuilderExtensions { [InterceptsLocation(1, "lPDnfssMibsxhX79gLd2lL0AAABJbnB1dEZpbGUuY3M=")] diff --git a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/OnShutdownVerifyTests.Test_OnShutdown_MultipleCalls#LambdaHandler.g.verified.cs b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/OnShutdownVerifyTests.Test_OnShutdown_MultipleCalls#LambdaHandler.g.verified.cs index 3689ed3d..78db57c8 100644 --- a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/OnShutdownVerifyTests.Test_OnShutdown_MultipleCalls#LambdaHandler.g.verified.cs +++ b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/OnShutdownVerifyTests.Test_OnShutdown_MultipleCalls#LambdaHandler.g.verified.cs @@ -16,7 +16,7 @@ namespace System.Runtime.CompilerServices { using System.CodeDom.Compiler; - [GeneratedCode("MinimalLambda.SourceGenerators", "0.0.0")] + [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] [AttributeUsage(AttributeTargets.Method, AllowMultiple = true)] file sealed class InterceptsLocationAttribute : Attribute { @@ -37,7 +37,7 @@ namespace MinimalLambda.Generated using MinimalLambda; using MinimalLambda.Builder; - [GeneratedCode("MinimalLambda.SourceGenerators", "0.0.0")] + [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] file static class GeneratedLambdaOnShutdownBuilderExtensions { [InterceptsLocation(1, "W852isYQO43ObWn6kxnU5s0AAABJbnB1dEZpbGUuY3M=")] diff --git a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/OnShutdownVerifyTests.Test_OnShutdown_NoInput#LambdaHandler.g.verified.cs b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/OnShutdownVerifyTests.Test_OnShutdown_NoInput#LambdaHandler.g.verified.cs index d55b8e3a..76c0c745 100644 --- a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/OnShutdownVerifyTests.Test_OnShutdown_NoInput#LambdaHandler.g.verified.cs +++ b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/OnShutdownVerifyTests.Test_OnShutdown_NoInput#LambdaHandler.g.verified.cs @@ -16,7 +16,7 @@ namespace System.Runtime.CompilerServices { using System.CodeDom.Compiler; - [GeneratedCode("MinimalLambda.SourceGenerators", "0.0.0")] + [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] [AttributeUsage(AttributeTargets.Method, AllowMultiple = true)] file sealed class InterceptsLocationAttribute : Attribute { @@ -37,7 +37,7 @@ namespace MinimalLambda.Generated using MinimalLambda; using MinimalLambda.Builder; - [GeneratedCode("MinimalLambda.SourceGenerators", "0.0.0")] + [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] file static class GeneratedLambdaOnShutdownBuilderExtensions { [InterceptsLocation(1, "F/zSODBMGX3Xez9u/iwpl80AAABJbnB1dEZpbGUuY3M=")] diff --git a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/OnShutdownVerifyTests.Test_OnShutdown_NoInput_ReturnUnexpectedType#LambdaHandler.g.verified.cs b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/OnShutdownVerifyTests.Test_OnShutdown_NoInput_ReturnUnexpectedType#LambdaHandler.g.verified.cs index c57b77a5..d291c1f7 100644 --- a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/OnShutdownVerifyTests.Test_OnShutdown_NoInput_ReturnUnexpectedType#LambdaHandler.g.verified.cs +++ b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/OnShutdownVerifyTests.Test_OnShutdown_NoInput_ReturnUnexpectedType#LambdaHandler.g.verified.cs @@ -16,7 +16,7 @@ namespace System.Runtime.CompilerServices { using System.CodeDom.Compiler; - [GeneratedCode("MinimalLambda.SourceGenerators", "0.0.0")] + [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] [AttributeUsage(AttributeTargets.Method, AllowMultiple = true)] file sealed class InterceptsLocationAttribute : Attribute { @@ -37,7 +37,7 @@ namespace MinimalLambda.Generated using MinimalLambda; using MinimalLambda.Builder; - [GeneratedCode("MinimalLambda.SourceGenerators", "0.0.0")] + [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] file static class GeneratedLambdaOnShutdownBuilderExtensions { [InterceptsLocation(1, "Cr7Neg3slUnAi5SjcvJU580AAABJbnB1dEZpbGUuY3M=")] diff --git a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/OnShutdownVerifyTests.Test_OnShutdown_NoInput_ReturnUnexpectedTypeAsync#LambdaHandler.g.verified.cs b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/OnShutdownVerifyTests.Test_OnShutdown_NoInput_ReturnUnexpectedTypeAsync#LambdaHandler.g.verified.cs index ec03e258..225927e4 100644 --- a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/OnShutdownVerifyTests.Test_OnShutdown_NoInput_ReturnUnexpectedTypeAsync#LambdaHandler.g.verified.cs +++ b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/OnShutdownVerifyTests.Test_OnShutdown_NoInput_ReturnUnexpectedTypeAsync#LambdaHandler.g.verified.cs @@ -16,7 +16,7 @@ namespace System.Runtime.CompilerServices { using System.CodeDom.Compiler; - [GeneratedCode("MinimalLambda.SourceGenerators", "0.0.0")] + [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] [AttributeUsage(AttributeTargets.Method, AllowMultiple = true)] file sealed class InterceptsLocationAttribute : Attribute { @@ -37,7 +37,7 @@ namespace MinimalLambda.Generated using MinimalLambda; using MinimalLambda.Builder; - [GeneratedCode("MinimalLambda.SourceGenerators", "0.0.0")] + [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] file static class GeneratedLambdaOnShutdownBuilderExtensions { [InterceptsLocation(1, "YWaX0vtU1wLdNqf9cuGdFM0AAABJbnB1dEZpbGUuY3M=")] diff --git a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/OnShutdownVerifyTests.Test_OnShutdown_NoInput_ReturnUnexpectedTypeTask#LambdaHandler.g.verified.cs b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/OnShutdownVerifyTests.Test_OnShutdown_NoInput_ReturnUnexpectedTypeTask#LambdaHandler.g.verified.cs index c914ce1f..b7221ab7 100644 --- a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/OnShutdownVerifyTests.Test_OnShutdown_NoInput_ReturnUnexpectedTypeTask#LambdaHandler.g.verified.cs +++ b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/OnShutdownVerifyTests.Test_OnShutdown_NoInput_ReturnUnexpectedTypeTask#LambdaHandler.g.verified.cs @@ -16,7 +16,7 @@ namespace System.Runtime.CompilerServices { using System.CodeDom.Compiler; - [GeneratedCode("MinimalLambda.SourceGenerators", "0.0.0")] + [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] [AttributeUsage(AttributeTargets.Method, AllowMultiple = true)] file sealed class InterceptsLocationAttribute : Attribute { @@ -37,7 +37,7 @@ namespace MinimalLambda.Generated using MinimalLambda; using MinimalLambda.Builder; - [GeneratedCode("MinimalLambda.SourceGenerators", "0.0.0")] + [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] file static class GeneratedLambdaOnShutdownBuilderExtensions { [InterceptsLocation(1, "12DeS9LwHN3iO8NwFisQBs0AAABJbnB1dEZpbGUuY3M=")] diff --git a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/OnShutdownVerifyTests.Test_OnShutdown_NullableValueAndReferenceInputs#LambdaHandler.g.verified.cs b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/OnShutdownVerifyTests.Test_OnShutdown_NullableValueAndReferenceInputs#LambdaHandler.g.verified.cs index 1568003d..0831d20f 100644 --- a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/OnShutdownVerifyTests.Test_OnShutdown_NullableValueAndReferenceInputs#LambdaHandler.g.verified.cs +++ b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/OnShutdownVerifyTests.Test_OnShutdown_NullableValueAndReferenceInputs#LambdaHandler.g.verified.cs @@ -16,7 +16,7 @@ namespace System.Runtime.CompilerServices { using System.CodeDom.Compiler; - [GeneratedCode("MinimalLambda.SourceGenerators", "0.0.0")] + [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] [AttributeUsage(AttributeTargets.Method, AllowMultiple = true)] file sealed class InterceptsLocationAttribute : Attribute { @@ -37,7 +37,7 @@ namespace MinimalLambda.Generated using MinimalLambda; using MinimalLambda.Builder; - [GeneratedCode("MinimalLambda.SourceGenerators", "0.0.0")] + [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] file static class GeneratedLambdaOnShutdownBuilderExtensions { [InterceptsLocation(1, "BGCXXs9bVPwLCAUaU8Kkds0AAABJbnB1dEZpbGUuY3M=")] diff --git a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/OnShutdownVerifyTests.Test_OnShutdown_OneOfEachPossibleKindOfInput#LambdaHandler.g.verified.cs b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/OnShutdownVerifyTests.Test_OnShutdown_OneOfEachPossibleKindOfInput#LambdaHandler.g.verified.cs index 9aabda42..f6079467 100644 --- a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/OnShutdownVerifyTests.Test_OnShutdown_OneOfEachPossibleKindOfInput#LambdaHandler.g.verified.cs +++ b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/OnShutdownVerifyTests.Test_OnShutdown_OneOfEachPossibleKindOfInput#LambdaHandler.g.verified.cs @@ -16,7 +16,7 @@ namespace System.Runtime.CompilerServices { using System.CodeDom.Compiler; - [GeneratedCode("MinimalLambda.SourceGenerators", "0.0.0")] + [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] [AttributeUsage(AttributeTargets.Method, AllowMultiple = true)] file sealed class InterceptsLocationAttribute : Attribute { @@ -37,7 +37,7 @@ namespace MinimalLambda.Generated using MinimalLambda; using MinimalLambda.Builder; - [GeneratedCode("MinimalLambda.SourceGenerators", "0.0.0")] + [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] file static class GeneratedLambdaOnShutdownBuilderExtensions { [InterceptsLocation(1, "ZhdnggwSuJq0NpRZew7QhhUBAABJbnB1dEZpbGUuY3M=")] diff --git a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/OnShutdownVerifyTests.Test_OnShutdown_PrimitiveInput#LambdaHandler.g.verified.cs b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/OnShutdownVerifyTests.Test_OnShutdown_PrimitiveInput#LambdaHandler.g.verified.cs index b5caa984..588b858d 100644 --- a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/OnShutdownVerifyTests.Test_OnShutdown_PrimitiveInput#LambdaHandler.g.verified.cs +++ b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/OnShutdownVerifyTests.Test_OnShutdown_PrimitiveInput#LambdaHandler.g.verified.cs @@ -16,7 +16,7 @@ namespace System.Runtime.CompilerServices { using System.CodeDom.Compiler; - [GeneratedCode("MinimalLambda.SourceGenerators", "0.0.0")] + [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] [AttributeUsage(AttributeTargets.Method, AllowMultiple = true)] file sealed class InterceptsLocationAttribute : Attribute { @@ -37,7 +37,7 @@ namespace MinimalLambda.Generated using MinimalLambda; using MinimalLambda.Builder; - [GeneratedCode("MinimalLambda.SourceGenerators", "0.0.0")] + [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] file static class GeneratedLambdaOnShutdownBuilderExtensions { [InterceptsLocation(1, "cuXlRiXWvhKK6Ao4rCbyic0AAABJbnB1dEZpbGUuY3M=")] diff --git a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/UseMiddlewareTVerifyTests.Test_MiddlewareClass_AbstractMiddleware#LambdaHandler.g.verified.cs b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/UseMiddlewareTVerifyTests.Test_MiddlewareClass_AbstractMiddleware#LambdaHandler.g.verified.cs index f8e99c0b..d8811c21 100644 --- a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/UseMiddlewareTVerifyTests.Test_MiddlewareClass_AbstractMiddleware#LambdaHandler.g.verified.cs +++ b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/UseMiddlewareTVerifyTests.Test_MiddlewareClass_AbstractMiddleware#LambdaHandler.g.verified.cs @@ -16,7 +16,7 @@ namespace System.Runtime.CompilerServices { using System.CodeDom.Compiler; - [GeneratedCode("MinimalLambda.SourceGenerators", "0.0.0")] + [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] [AttributeUsage(AttributeTargets.Method, AllowMultiple = true)] file sealed class InterceptsLocationAttribute : Attribute { @@ -37,7 +37,7 @@ namespace MinimalLambda.Generated using MinimalLambda; using MinimalLambda.Builder; - [GeneratedCode("MinimalLambda.SourceGenerators", "0.0.0")] + [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] file static class UseMiddlewareExtensions { [InterceptsLocation(1, "bfS1EdqfgRl2Xr/8V7JcF9kAAABJbnB1dEZpbGUuY3M=")] diff --git a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/UseMiddlewareTVerifyTests.Test_MiddlewareClass_ComplexRealWorldScenario#LambdaHandler.g.verified.cs b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/UseMiddlewareTVerifyTests.Test_MiddlewareClass_ComplexRealWorldScenario#LambdaHandler.g.verified.cs index ec8e7175..d4a7c81d 100644 --- a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/UseMiddlewareTVerifyTests.Test_MiddlewareClass_ComplexRealWorldScenario#LambdaHandler.g.verified.cs +++ b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/UseMiddlewareTVerifyTests.Test_MiddlewareClass_ComplexRealWorldScenario#LambdaHandler.g.verified.cs @@ -16,7 +16,7 @@ namespace System.Runtime.CompilerServices { using System.CodeDom.Compiler; - [GeneratedCode("MinimalLambda.SourceGenerators", "0.0.0")] + [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] [AttributeUsage(AttributeTargets.Method, AllowMultiple = true)] file sealed class InterceptsLocationAttribute : Attribute { @@ -37,7 +37,7 @@ namespace MinimalLambda.Generated using MinimalLambda; using MinimalLambda.Builder; - [GeneratedCode("MinimalLambda.SourceGenerators", "0.0.0")] + [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] file static class UseMiddlewareExtensions { [InterceptsLocation(1, "kDxACCQgVpkhkOccrv1uASMBAABJbnB1dEZpbGUuY3M=")] diff --git a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/UseMiddlewareTVerifyTests.Test_MiddlewareClass_ConstructorWithArgs#LambdaHandler.g.verified.cs b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/UseMiddlewareTVerifyTests.Test_MiddlewareClass_ConstructorWithArgs#LambdaHandler.g.verified.cs index d23e0240..b924d3fc 100644 --- a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/UseMiddlewareTVerifyTests.Test_MiddlewareClass_ConstructorWithArgs#LambdaHandler.g.verified.cs +++ b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/UseMiddlewareTVerifyTests.Test_MiddlewareClass_ConstructorWithArgs#LambdaHandler.g.verified.cs @@ -16,7 +16,7 @@ namespace System.Runtime.CompilerServices { using System.CodeDom.Compiler; - [GeneratedCode("MinimalLambda.SourceGenerators", "0.0.0")] + [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] [AttributeUsage(AttributeTargets.Method, AllowMultiple = true)] file sealed class InterceptsLocationAttribute : Attribute { @@ -37,7 +37,7 @@ namespace MinimalLambda.Generated using MinimalLambda; using MinimalLambda.Builder; - [GeneratedCode("MinimalLambda.SourceGenerators", "0.0.0")] + [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] file static class UseMiddlewareExtensions { [InterceptsLocation(1, "POU0h/pUESMeSE5RxaKDvtkAAABJbnB1dEZpbGUuY3M=")] diff --git a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/UseMiddlewareTVerifyTests.Test_MiddlewareClass_FromArgumentsAttribute#LambdaHandler.g.verified.cs b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/UseMiddlewareTVerifyTests.Test_MiddlewareClass_FromArgumentsAttribute#LambdaHandler.g.verified.cs index b2d37c02..eb9816bf 100644 --- a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/UseMiddlewareTVerifyTests.Test_MiddlewareClass_FromArgumentsAttribute#LambdaHandler.g.verified.cs +++ b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/UseMiddlewareTVerifyTests.Test_MiddlewareClass_FromArgumentsAttribute#LambdaHandler.g.verified.cs @@ -16,7 +16,7 @@ namespace System.Runtime.CompilerServices { using System.CodeDom.Compiler; - [GeneratedCode("MinimalLambda.SourceGenerators", "0.0.0")] + [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] [AttributeUsage(AttributeTargets.Method, AllowMultiple = true)] file sealed class InterceptsLocationAttribute : Attribute { @@ -37,7 +37,7 @@ namespace MinimalLambda.Generated using MinimalLambda; using MinimalLambda.Builder; - [GeneratedCode("MinimalLambda.SourceGenerators", "0.0.0")] + [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] file static class UseMiddlewareExtensions { [InterceptsLocation(1, "2PY/UkDSZ0gJKBmOx8LHA/MAAABJbnB1dEZpbGUuY3M=")] diff --git a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/UseMiddlewareTVerifyTests.Test_MiddlewareClass_FromKeyedServicesAttribute#LambdaHandler.g.verified.cs b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/UseMiddlewareTVerifyTests.Test_MiddlewareClass_FromKeyedServicesAttribute#LambdaHandler.g.verified.cs index bef136e7..f1bca8e3 100644 --- a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/UseMiddlewareTVerifyTests.Test_MiddlewareClass_FromKeyedServicesAttribute#LambdaHandler.g.verified.cs +++ b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/UseMiddlewareTVerifyTests.Test_MiddlewareClass_FromKeyedServicesAttribute#LambdaHandler.g.verified.cs @@ -16,7 +16,7 @@ namespace System.Runtime.CompilerServices { using System.CodeDom.Compiler; - [GeneratedCode("MinimalLambda.SourceGenerators", "0.0.0")] + [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] [AttributeUsage(AttributeTargets.Method, AllowMultiple = true)] file sealed class InterceptsLocationAttribute : Attribute { @@ -37,7 +37,7 @@ namespace MinimalLambda.Generated using MinimalLambda; using MinimalLambda.Builder; - [GeneratedCode("MinimalLambda.SourceGenerators", "0.0.0")] + [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] file static class UseMiddlewareExtensions { [InterceptsLocation(1, "tvudG5XDjp+n6D0V7XtOegkBAABJbnB1dEZpbGUuY3M=")] diff --git a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/UseMiddlewareTVerifyTests.Test_MiddlewareClass_FromServicesAttribute#LambdaHandler.g.verified.cs b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/UseMiddlewareTVerifyTests.Test_MiddlewareClass_FromServicesAttribute#LambdaHandler.g.verified.cs index 9abbaeb7..2c46d988 100644 --- a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/UseMiddlewareTVerifyTests.Test_MiddlewareClass_FromServicesAttribute#LambdaHandler.g.verified.cs +++ b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/UseMiddlewareTVerifyTests.Test_MiddlewareClass_FromServicesAttribute#LambdaHandler.g.verified.cs @@ -16,7 +16,7 @@ namespace System.Runtime.CompilerServices { using System.CodeDom.Compiler; - [GeneratedCode("MinimalLambda.SourceGenerators", "0.0.0")] + [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] [AttributeUsage(AttributeTargets.Method, AllowMultiple = true)] file sealed class InterceptsLocationAttribute : Attribute { @@ -37,7 +37,7 @@ namespace MinimalLambda.Generated using MinimalLambda; using MinimalLambda.Builder; - [GeneratedCode("MinimalLambda.SourceGenerators", "0.0.0")] + [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] file static class UseMiddlewareExtensions { [InterceptsLocation(1, "Sf77NTiY6mQYL0S/Tk+LNwkBAABJbnB1dEZpbGUuY3M=")] diff --git a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/UseMiddlewareTVerifyTests.Test_MiddlewareClass_IAsyncDisposable#LambdaHandler.g.verified.cs b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/UseMiddlewareTVerifyTests.Test_MiddlewareClass_IAsyncDisposable#LambdaHandler.g.verified.cs index 0a6e7049..e78b4f3b 100644 --- a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/UseMiddlewareTVerifyTests.Test_MiddlewareClass_IAsyncDisposable#LambdaHandler.g.verified.cs +++ b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/UseMiddlewareTVerifyTests.Test_MiddlewareClass_IAsyncDisposable#LambdaHandler.g.verified.cs @@ -16,7 +16,7 @@ namespace System.Runtime.CompilerServices { using System.CodeDom.Compiler; - [GeneratedCode("MinimalLambda.SourceGenerators", "0.0.0")] + [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] [AttributeUsage(AttributeTargets.Method, AllowMultiple = true)] file sealed class InterceptsLocationAttribute : Attribute { @@ -37,7 +37,7 @@ namespace MinimalLambda.Generated using MinimalLambda; using MinimalLambda.Builder; - [GeneratedCode("MinimalLambda.SourceGenerators", "0.0.0")] + [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] file static class UseMiddlewareExtensions { [InterceptsLocation(1, "p6F9mr5nQrDoT4xxrawd2+cAAABJbnB1dEZpbGUuY3M=")] diff --git a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/UseMiddlewareTVerifyTests.Test_MiddlewareClass_IDisposable#LambdaHandler.g.verified.cs b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/UseMiddlewareTVerifyTests.Test_MiddlewareClass_IDisposable#LambdaHandler.g.verified.cs index ea7693b4..fefb0f8e 100644 --- a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/UseMiddlewareTVerifyTests.Test_MiddlewareClass_IDisposable#LambdaHandler.g.verified.cs +++ b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/UseMiddlewareTVerifyTests.Test_MiddlewareClass_IDisposable#LambdaHandler.g.verified.cs @@ -16,7 +16,7 @@ namespace System.Runtime.CompilerServices { using System.CodeDom.Compiler; - [GeneratedCode("MinimalLambda.SourceGenerators", "0.0.0")] + [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] [AttributeUsage(AttributeTargets.Method, AllowMultiple = true)] file sealed class InterceptsLocationAttribute : Attribute { @@ -37,7 +37,7 @@ namespace MinimalLambda.Generated using MinimalLambda; using MinimalLambda.Builder; - [GeneratedCode("MinimalLambda.SourceGenerators", "0.0.0")] + [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] file static class UseMiddlewareExtensions { [InterceptsLocation(1, "lRt7PioesBPod6+JZEeC7+cAAABJbnB1dEZpbGUuY3M=")] diff --git a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/UseMiddlewareTVerifyTests.Test_MiddlewareClass_MixedParameterSources#LambdaHandler.g.verified.cs b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/UseMiddlewareTVerifyTests.Test_MiddlewareClass_MixedParameterSources#LambdaHandler.g.verified.cs index eb499bd9..08c97d06 100644 --- a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/UseMiddlewareTVerifyTests.Test_MiddlewareClass_MixedParameterSources#LambdaHandler.g.verified.cs +++ b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/UseMiddlewareTVerifyTests.Test_MiddlewareClass_MixedParameterSources#LambdaHandler.g.verified.cs @@ -16,7 +16,7 @@ namespace System.Runtime.CompilerServices { using System.CodeDom.Compiler; - [GeneratedCode("MinimalLambda.SourceGenerators", "0.0.0")] + [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] [AttributeUsage(AttributeTargets.Method, AllowMultiple = true)] file sealed class InterceptsLocationAttribute : Attribute { @@ -37,7 +37,7 @@ namespace MinimalLambda.Generated using MinimalLambda; using MinimalLambda.Builder; - [GeneratedCode("MinimalLambda.SourceGenerators", "0.0.0")] + [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] file static class UseMiddlewareExtensions { [InterceptsLocation(1, "pTRjukdFvWAmjtqI7hgUkQkBAABJbnB1dEZpbGUuY3M=")] diff --git a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/UseMiddlewareTVerifyTests.Test_MiddlewareClass_MultipleConstructorsAndOneWithMiddlewareConstructor#LambdaHandler.g.verified.cs b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/UseMiddlewareTVerifyTests.Test_MiddlewareClass_MultipleConstructorsAndOneWithMiddlewareConstructor#LambdaHandler.g.verified.cs index 14513dbc..8c770575 100644 --- a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/UseMiddlewareTVerifyTests.Test_MiddlewareClass_MultipleConstructorsAndOneWithMiddlewareConstructor#LambdaHandler.g.verified.cs +++ b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/UseMiddlewareTVerifyTests.Test_MiddlewareClass_MultipleConstructorsAndOneWithMiddlewareConstructor#LambdaHandler.g.verified.cs @@ -16,7 +16,7 @@ namespace System.Runtime.CompilerServices { using System.CodeDom.Compiler; - [GeneratedCode("MinimalLambda.SourceGenerators", "0.0.0")] + [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] [AttributeUsage(AttributeTargets.Method, AllowMultiple = true)] file sealed class InterceptsLocationAttribute : Attribute { @@ -37,7 +37,7 @@ namespace MinimalLambda.Generated using MinimalLambda; using MinimalLambda.Builder; - [GeneratedCode("MinimalLambda.SourceGenerators", "0.0.0")] + [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] file static class UseMiddlewareExtensions { [InterceptsLocation(1, "Y0YW1Yh6hjdh+sRDAe9fDtkAAABJbnB1dEZpbGUuY3M=")] diff --git a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/UseMiddlewareTVerifyTests.Test_MiddlewareClass_NullableParameter#LambdaHandler.g.verified.cs b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/UseMiddlewareTVerifyTests.Test_MiddlewareClass_NullableParameter#LambdaHandler.g.verified.cs index 1bb2a0d7..a4f2232f 100644 --- a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/UseMiddlewareTVerifyTests.Test_MiddlewareClass_NullableParameter#LambdaHandler.g.verified.cs +++ b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/UseMiddlewareTVerifyTests.Test_MiddlewareClass_NullableParameter#LambdaHandler.g.verified.cs @@ -16,7 +16,7 @@ namespace System.Runtime.CompilerServices { using System.CodeDom.Compiler; - [GeneratedCode("MinimalLambda.SourceGenerators", "0.0.0")] + [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] [AttributeUsage(AttributeTargets.Method, AllowMultiple = true)] file sealed class InterceptsLocationAttribute : Attribute { @@ -37,7 +37,7 @@ namespace MinimalLambda.Generated using MinimalLambda; using MinimalLambda.Builder; - [GeneratedCode("MinimalLambda.SourceGenerators", "0.0.0")] + [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] file static class UseMiddlewareExtensions { [InterceptsLocation(1, "RL5SM4QdQyvDIXuCIsrd3tkAAABJbnB1dEZpbGUuY3M=")] diff --git a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/UseMiddlewareTVerifyTests.Test_MiddlewareClass_OptionalParameterWithDefaultValue#LambdaHandler.g.verified.cs b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/UseMiddlewareTVerifyTests.Test_MiddlewareClass_OptionalParameterWithDefaultValue#LambdaHandler.g.verified.cs index 86f954ca..b4ccdca3 100644 --- a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/UseMiddlewareTVerifyTests.Test_MiddlewareClass_OptionalParameterWithDefaultValue#LambdaHandler.g.verified.cs +++ b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/UseMiddlewareTVerifyTests.Test_MiddlewareClass_OptionalParameterWithDefaultValue#LambdaHandler.g.verified.cs @@ -16,7 +16,7 @@ namespace System.Runtime.CompilerServices { using System.CodeDom.Compiler; - [GeneratedCode("MinimalLambda.SourceGenerators", "0.0.0")] + [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] [AttributeUsage(AttributeTargets.Method, AllowMultiple = true)] file sealed class InterceptsLocationAttribute : Attribute { @@ -37,7 +37,7 @@ namespace MinimalLambda.Generated using MinimalLambda; using MinimalLambda.Builder; - [GeneratedCode("MinimalLambda.SourceGenerators", "0.0.0")] + [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] file static class UseMiddlewareExtensions { [InterceptsLocation(1, "OgunNbI2p9A/xk9Pbp7U99kAAABJbnB1dEZpbGUuY3M=")] diff --git a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/UseMiddlewareTVerifyTests.Test_MiddlewareClass_Simple#LambdaHandler.g.verified.cs b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/UseMiddlewareTVerifyTests.Test_MiddlewareClass_Simple#LambdaHandler.g.verified.cs index 77dfdf5b..4869aa33 100644 --- a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/UseMiddlewareTVerifyTests.Test_MiddlewareClass_Simple#LambdaHandler.g.verified.cs +++ b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/UseMiddlewareTVerifyTests.Test_MiddlewareClass_Simple#LambdaHandler.g.verified.cs @@ -16,7 +16,7 @@ namespace System.Runtime.CompilerServices { using System.CodeDom.Compiler; - [GeneratedCode("MinimalLambda.SourceGenerators", "0.0.0")] + [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] [AttributeUsage(AttributeTargets.Method, AllowMultiple = true)] file sealed class InterceptsLocationAttribute : Attribute { @@ -37,7 +37,7 @@ namespace MinimalLambda.Generated using MinimalLambda; using MinimalLambda.Builder; - [GeneratedCode("MinimalLambda.SourceGenerators", "0.0.0")] + [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] file static class UseMiddlewareExtensions { [InterceptsLocation(1, "Yw0irwbfb7fSIvQDMI+AOdkAAABJbnB1dEZpbGUuY3M=")] diff --git a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/UseMiddlewareTVerifyTests.Test_MiddlewareClass_WithArgsArray#LambdaHandler.g.verified.cs b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/UseMiddlewareTVerifyTests.Test_MiddlewareClass_WithArgsArray#LambdaHandler.g.verified.cs index 5b03fe94..a7dd90bb 100644 --- a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/UseMiddlewareTVerifyTests.Test_MiddlewareClass_WithArgsArray#LambdaHandler.g.verified.cs +++ b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/UseMiddlewareTVerifyTests.Test_MiddlewareClass_WithArgsArray#LambdaHandler.g.verified.cs @@ -16,7 +16,7 @@ namespace System.Runtime.CompilerServices { using System.CodeDom.Compiler; - [GeneratedCode("MinimalLambda.SourceGenerators", "0.0.0")] + [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] [AttributeUsage(AttributeTargets.Method, AllowMultiple = true)] file sealed class InterceptsLocationAttribute : Attribute { @@ -37,7 +37,7 @@ namespace MinimalLambda.Generated using MinimalLambda; using MinimalLambda.Builder; - [GeneratedCode("MinimalLambda.SourceGenerators", "0.0.0")] + [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] file static class UseMiddlewareExtensions { [InterceptsLocation(1, "8R28K8qJLzNQRb0o39t1a9kAAABJbnB1dEZpbGUuY3M=")] From 8a96c00a08b60fb99584b94985f4c1a0a53e674e Mon Sep 17 00:00:00 2001 From: Jonas Ha Date: Sun, 21 Dec 2025 20:25:25 -0500 Subject: [PATCH 2/7] feat(tests): add scrubbing support for InterceptsLocation attributes - Introduced RegexHelper method to scrub [InterceptsLocation(...)] lines in test snapshots. - Updated `GeneratorTestHelpers` with logic to replace InterceptsLocation attribute values. - Enhanced snapshot verification to ensure consistency with new scrubbing behavior. --- .../GeneratorTestHelpers.cs | 11 +++++++++++ ...Lambda_AllInputSources#LambdaHandler.g.verified.cs | 2 +- ...urnTaskString_TypeCast#LambdaHandler.g.verified.cs | 2 +- ...mbda_NoReturn_TypeCast#LambdaHandler.g.verified.cs | 2 +- ...da_NoTypeInfo_TypeCast#LambdaHandler.g.verified.cs | 2 +- ...bda_ReturnExplicitType#LambdaHandler.g.verified.cs | 2 +- ...ReturnImplicitNullable#LambdaHandler.g.verified.cs | 2 +- ...ockLambda_ReturnString#LambdaHandler.g.verified.cs | 2 +- ...ambda_ReturnTaskString#LambdaHandler.g.verified.cs | 2 +- ...a_ReturnsTask_TypeCast#LambdaHandler.g.verified.cs | 2 +- ...kLambda_StreamResponse#LambdaHandler.g.verified.cs | 2 +- ...t_BlockLambda_TypeCast#LambdaHandler.g.verified.cs | 2 +- ...InputFromKeyedServices#LambdaHandler.g.verified.cs | 2 +- ...ksForCancellationToken#LambdaHandler.g.verified.cs | 2 +- ...nTokenAndLambdaContext#LambdaHandler.g.verified.cs | 2 +- ...ambdaInvocationContext#LambdaHandler.g.verified.cs | 2 +- ...ync_ReturnExplicitTask#LambdaHandler.g.verified.cs | 2 +- ...lexInput_ComplexOutput#LambdaHandler.g.verified.cs | 2 +- ...ionLambda_ExplicitVoid#LambdaHandler.g.verified.cs | 2 +- ...onLambda_InputDi_Async#LambdaHandler.g.verified.cs | 2 +- ..._InputDi_AsyncAndAwait#LambdaHandler.g.verified.cs | 2 +- ...onseDifferentNamespace#LambdaHandler.g.verified.cs | 2 +- ...sionLambda_InputStream#LambdaHandler.g.verified.cs | 2 +- ...ambda_NoInput_NoOutput#LambdaHandler.g.verified.cs | 2 +- ...ut_ReturnGenericObject#LambdaHandler.g.verified.cs | 2 +- ...eturnNullablePrimitive#LambdaHandler.g.verified.cs | 2 +- ...a_NoInput_ReturnString#LambdaHandler.g.verified.cs | 2 +- ...ReturnExplicitNullable#LambdaHandler.g.verified.cs | 2 +- ...ReturnImplicitNullable#LambdaHandler.g.verified.cs | 2 +- ...bda_ReturnExplicitTask#LambdaHandler.g.verified.cs | 2 +- ...bda_ReturnExplicitType#LambdaHandler.g.verified.cs | 2 +- ...ice_FloatingPointTypes#LambdaHandler.g.verified.cs | 2 +- ...Service_IntAndLongKeys#LambdaHandler.g.verified.cs | 2 +- ...eyedService_OtherTypes#LambdaHandler.g.verified.cs | 2 +- ...vice_SmallIntegerTypes#LambdaHandler.g.verified.cs | 2 +- ...vice_StringAndEnumKeys#LambdaHandler.g.verified.cs | 2 +- ...e_UnsignedIntegerTypes#LambdaHandler.g.verified.cs | 2 +- ...ethodHandler_AsyncVoid#LambdaHandler.g.verified.cs | 2 +- ...Async_ReturnTaskString#LambdaHandler.g.verified.cs | 2 +- ...y_InputDiKeyedServices#LambdaHandler.g.verified.cs | 2 +- ...ler_BlockBody_TypeCast#LambdaHandler.g.verified.cs | 2 +- ...ckBody_TypeCast_Static#LambdaHandler.g.verified.cs | 2 +- ...ndler_NoInput_NoOutput#LambdaHandler.g.verified.cs | 2 +- ...thodHandler_ReturnTask#LambdaHandler.g.verified.cs | 2 +- ...ndler_ReturnTaskString#LambdaHandler.g.verified.cs | 2 +- ...eCast_ExtraParentheses#LambdaHandler.g.verified.cs | 2 +- ...xplicitReturnTypeAsync#LambdaHandler.g.verified.cs | 2 +- ...thodHandler_AsyncAndDi#LambdaHandler.g.verified.cs | 2 +- ...ndReturnUnexpectedType#LambdaHandler.g.verified.cs | 2 +- ...nit_MethodHandler_NoDi#LambdaHandler.g.verified.cs | 2 +- ...t_OnInit_MultipleCalls#LambdaHandler.g.verified.cs | 6 +++--- ...nInit_NoInput_NoOutput#LambdaHandler.g.verified.cs | 2 +- ...oInput_ReturnAsyncBool#LambdaHandler.g.verified.cs | 2 +- ...nit_NoInput_ReturnBool#LambdaHandler.g.verified.cs | 2 +- ..._ReturnNotExpectedType#LambdaHandler.g.verified.cs | 2 +- ...rnNotExpectedTypeAsync#LambdaHandler.g.verified.cs | 2 +- ...urnNotExpectedTypeTask#LambdaHandler.g.verified.cs | 2 +- ...NoInput_ReturnTaskBool#LambdaHandler.g.verified.cs | 2 +- ...alueAndReferenceInputs#LambdaHandler.g.verified.cs | 2 +- ...achPossibleKindOfInput#LambdaHandler.g.verified.cs | 2 +- ..._OnInit_PrimitiveInput#LambdaHandler.g.verified.cs | 2 +- ...da_ReturnsImplicitVoid#LambdaHandler.g.verified.cs | 2 +- ...Shutdown_MultipleCalls#LambdaHandler.g.verified.cs | 6 +++--- ...est_OnShutdown_NoInput#LambdaHandler.g.verified.cs | 2 +- ...t_ReturnUnexpectedType#LambdaHandler.g.verified.cs | 2 +- ...urnUnexpectedTypeAsync#LambdaHandler.g.verified.cs | 2 +- ...turnUnexpectedTypeTask#LambdaHandler.g.verified.cs | 2 +- ...alueAndReferenceInputs#LambdaHandler.g.verified.cs | 2 +- ...achPossibleKindOfInput#LambdaHandler.g.verified.cs | 2 +- ...hutdown_PrimitiveInput#LambdaHandler.g.verified.cs | 2 +- ...ass_AbstractMiddleware#LambdaHandler.g.verified.cs | 2 +- ...mplexRealWorldScenario#LambdaHandler.g.verified.cs | 2 +- ...ss_ConstructorWithArgs#LambdaHandler.g.verified.cs | 2 +- ...FromArgumentsAttribute#LambdaHandler.g.verified.cs | 2 +- ...KeyedServicesAttribute#LambdaHandler.g.verified.cs | 2 +- ..._FromServicesAttribute#LambdaHandler.g.verified.cs | 2 +- ...Class_IAsyncDisposable#LambdaHandler.g.verified.cs | 2 +- ...ewareClass_IDisposable#LambdaHandler.g.verified.cs | 2 +- ..._MixedParameterSources#LambdaHandler.g.verified.cs | 2 +- ...hMiddlewareConstructor#LambdaHandler.g.verified.cs | 2 +- ...lass_NullableParameter#LambdaHandler.g.verified.cs | 2 +- ...ameterWithDefaultValue#LambdaHandler.g.verified.cs | 2 +- ...MiddlewareClass_Simple#LambdaHandler.g.verified.cs | 2 +- ...areClass_WithArgsArray#LambdaHandler.g.verified.cs | 2 +- 84 files changed, 98 insertions(+), 87 deletions(-) diff --git a/tests/MinimalLambda.SourceGenerators.UnitTests/GeneratorTestHelpers.cs b/tests/MinimalLambda.SourceGenerators.UnitTests/GeneratorTestHelpers.cs index 3a2e0dfa..a42e8786 100644 --- a/tests/MinimalLambda.SourceGenerators.UnitTests/GeneratorTestHelpers.cs +++ b/tests/MinimalLambda.SourceGenerators.UnitTests/GeneratorTestHelpers.cs @@ -65,6 +65,10 @@ internal static Task Verify(string source, int expectedTrees = 1) if (line.Contains("GeneratedCode", StringComparison.Ordinal)) return RegexHelper.GeneratedCodeAttributeRegex().Replace(line, "REPLACED"); + // replace [InterceptsLocation(1, "")] + if (line.Contains("InterceptsLocation", StringComparison.Ordinal)) + return RegexHelper.InterceptsLocationRegex().Replace(line, "REPLACED"); + return line; }); } @@ -138,4 +142,11 @@ internal partial class RegexHelper "en-US" )] internal static partial Regex GeneratedCodeAttributeRegex(); + + [GeneratedRegex( + """(?<=\[InterceptsLocation\(\d+, ")([A-Za-z0-9+/=]{2,})(?="\)\])""", + RegexOptions.None, + "en-US" + )] + internal static partial Regex InterceptsLocationRegex(); } diff --git a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/BlockLambdaVerifyTests.Test_BlockLambda_AllInputSources#LambdaHandler.g.verified.cs b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/BlockLambdaVerifyTests.Test_BlockLambda_AllInputSources#LambdaHandler.g.verified.cs index abe9d7ab..e0933a17 100644 --- a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/BlockLambdaVerifyTests.Test_BlockLambda_AllInputSources#LambdaHandler.g.verified.cs +++ b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/BlockLambdaVerifyTests.Test_BlockLambda_AllInputSources#LambdaHandler.g.verified.cs @@ -43,7 +43,7 @@ file static class GeneratedLambdaInvocationBuilderExtensions private const string EventFeatureProviderKey = "__EventFeatureProvider"; private const string ResponseFeatureProviderKey = "__ResponseFeatureProvider"; - [InterceptsLocation(1, "Tx1x72WT0aa+xpOr41o/dzsBAABJbnB1dEZpbGUuY3M=")] + [InterceptsLocation(1, "REPLACED")] internal static ILambdaInvocationBuilder MapHandlerInterceptor0( this ILambdaInvocationBuilder application, Delegate handler diff --git a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/BlockLambdaVerifyTests.Test_BlockLambda_Async_ReturnTaskString_TypeCast#LambdaHandler.g.verified.cs b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/BlockLambdaVerifyTests.Test_BlockLambda_Async_ReturnTaskString_TypeCast#LambdaHandler.g.verified.cs index ccac2d8f..c286cf22 100644 --- a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/BlockLambdaVerifyTests.Test_BlockLambda_Async_ReturnTaskString_TypeCast#LambdaHandler.g.verified.cs +++ b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/BlockLambdaVerifyTests.Test_BlockLambda_Async_ReturnTaskString_TypeCast#LambdaHandler.g.verified.cs @@ -43,7 +43,7 @@ file static class GeneratedLambdaInvocationBuilderExtensions private const string EventFeatureProviderKey = "__EventFeatureProvider"; private const string ResponseFeatureProviderKey = "__ResponseFeatureProvider"; - [InterceptsLocation(1, "RRgc5MNn+AL4pWTKQhrXsLYAAABJbnB1dEZpbGUuY3M=")] + [InterceptsLocation(1, "REPLACED")] internal static ILambdaInvocationBuilder MapHandlerInterceptor0( this ILambdaInvocationBuilder application, Delegate handler diff --git a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/BlockLambdaVerifyTests.Test_BlockLambda_NoReturn_TypeCast#LambdaHandler.g.verified.cs b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/BlockLambdaVerifyTests.Test_BlockLambda_NoReturn_TypeCast#LambdaHandler.g.verified.cs index 40f38d3b..2c6f1863 100644 --- a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/BlockLambdaVerifyTests.Test_BlockLambda_NoReturn_TypeCast#LambdaHandler.g.verified.cs +++ b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/BlockLambdaVerifyTests.Test_BlockLambda_NoReturn_TypeCast#LambdaHandler.g.verified.cs @@ -43,7 +43,7 @@ file static class GeneratedLambdaInvocationBuilderExtensions private const string EventFeatureProviderKey = "__EventFeatureProvider"; private const string ResponseFeatureProviderKey = "__ResponseFeatureProvider"; - [InterceptsLocation(1, "x0XA1nde6vAUjFMeY2ZDTdoAAABJbnB1dEZpbGUuY3M=")] + [InterceptsLocation(1, "REPLACED")] internal static ILambdaInvocationBuilder MapHandlerInterceptor0( this ILambdaInvocationBuilder application, Delegate handler diff --git a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/BlockLambdaVerifyTests.Test_BlockLambda_NoTypeInfo_TypeCast#LambdaHandler.g.verified.cs b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/BlockLambdaVerifyTests.Test_BlockLambda_NoTypeInfo_TypeCast#LambdaHandler.g.verified.cs index ba48df5d..19fc95bd 100644 --- a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/BlockLambdaVerifyTests.Test_BlockLambda_NoTypeInfo_TypeCast#LambdaHandler.g.verified.cs +++ b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/BlockLambdaVerifyTests.Test_BlockLambda_NoTypeInfo_TypeCast#LambdaHandler.g.verified.cs @@ -43,7 +43,7 @@ file static class GeneratedLambdaInvocationBuilderExtensions private const string EventFeatureProviderKey = "__EventFeatureProvider"; private const string ResponseFeatureProviderKey = "__ResponseFeatureProvider"; - [InterceptsLocation(1, "uvqLvSSclxUXzwz2YmfzRrwAAABJbnB1dEZpbGUuY3M=")] + [InterceptsLocation(1, "REPLACED")] internal static ILambdaInvocationBuilder MapHandlerInterceptor0( this ILambdaInvocationBuilder application, Delegate handler diff --git a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/BlockLambdaVerifyTests.Test_BlockLambda_ReturnExplicitType#LambdaHandler.g.verified.cs b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/BlockLambdaVerifyTests.Test_BlockLambda_ReturnExplicitType#LambdaHandler.g.verified.cs index 5b53e199..7faac1b7 100644 --- a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/BlockLambdaVerifyTests.Test_BlockLambda_ReturnExplicitType#LambdaHandler.g.verified.cs +++ b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/BlockLambdaVerifyTests.Test_BlockLambda_ReturnExplicitType#LambdaHandler.g.verified.cs @@ -43,7 +43,7 @@ file static class GeneratedLambdaInvocationBuilderExtensions private const string EventFeatureProviderKey = "__EventFeatureProvider"; private const string ResponseFeatureProviderKey = "__ResponseFeatureProvider"; - [InterceptsLocation(1, "nm5FtUI+NJquLXB1CZ0sIswAAABJbnB1dEZpbGUuY3M=")] + [InterceptsLocation(1, "REPLACED")] internal static ILambdaInvocationBuilder MapHandlerInterceptor0( this ILambdaInvocationBuilder application, Delegate handler diff --git a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/BlockLambdaVerifyTests.Test_BlockLambda_ReturnImplicitNullable#LambdaHandler.g.verified.cs b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/BlockLambdaVerifyTests.Test_BlockLambda_ReturnImplicitNullable#LambdaHandler.g.verified.cs index 4ce19ecc..f887a8be 100644 --- a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/BlockLambdaVerifyTests.Test_BlockLambda_ReturnImplicitNullable#LambdaHandler.g.verified.cs +++ b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/BlockLambdaVerifyTests.Test_BlockLambda_ReturnImplicitNullable#LambdaHandler.g.verified.cs @@ -43,7 +43,7 @@ file static class GeneratedLambdaInvocationBuilderExtensions private const string EventFeatureProviderKey = "__EventFeatureProvider"; private const string ResponseFeatureProviderKey = "__ResponseFeatureProvider"; - [InterceptsLocation(1, "utXmh7WLuYyG7VwRDFaLbq4AAABJbnB1dEZpbGUuY3M=")] + [InterceptsLocation(1, "REPLACED")] internal static ILambdaInvocationBuilder MapHandlerInterceptor0( this ILambdaInvocationBuilder application, Delegate handler diff --git a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/BlockLambdaVerifyTests.Test_BlockLambda_ReturnString#LambdaHandler.g.verified.cs b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/BlockLambdaVerifyTests.Test_BlockLambda_ReturnString#LambdaHandler.g.verified.cs index fea0e711..056586bc 100644 --- a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/BlockLambdaVerifyTests.Test_BlockLambda_ReturnString#LambdaHandler.g.verified.cs +++ b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/BlockLambdaVerifyTests.Test_BlockLambda_ReturnString#LambdaHandler.g.verified.cs @@ -43,7 +43,7 @@ file static class GeneratedLambdaInvocationBuilderExtensions private const string EventFeatureProviderKey = "__EventFeatureProvider"; private const string ResponseFeatureProviderKey = "__ResponseFeatureProvider"; - [InterceptsLocation(1, "YyltEHxaNav+M48OGFvSga4AAABJbnB1dEZpbGUuY3M=")] + [InterceptsLocation(1, "REPLACED")] internal static ILambdaInvocationBuilder MapHandlerInterceptor0( this ILambdaInvocationBuilder application, Delegate handler diff --git a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/BlockLambdaVerifyTests.Test_BlockLambda_ReturnTaskString#LambdaHandler.g.verified.cs b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/BlockLambdaVerifyTests.Test_BlockLambda_ReturnTaskString#LambdaHandler.g.verified.cs index 7c8d41c1..c286cf22 100644 --- a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/BlockLambdaVerifyTests.Test_BlockLambda_ReturnTaskString#LambdaHandler.g.verified.cs +++ b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/BlockLambdaVerifyTests.Test_BlockLambda_ReturnTaskString#LambdaHandler.g.verified.cs @@ -43,7 +43,7 @@ file static class GeneratedLambdaInvocationBuilderExtensions private const string EventFeatureProviderKey = "__EventFeatureProvider"; private const string ResponseFeatureProviderKey = "__ResponseFeatureProvider"; - [InterceptsLocation(1, "o/ULBbkPcz16o9tbQ0tOEPcAAABJbnB1dEZpbGUuY3M=")] + [InterceptsLocation(1, "REPLACED")] internal static ILambdaInvocationBuilder MapHandlerInterceptor0( this ILambdaInvocationBuilder application, Delegate handler diff --git a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/BlockLambdaVerifyTests.Test_BlockLambda_ReturnsTask_TypeCast#LambdaHandler.g.verified.cs b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/BlockLambdaVerifyTests.Test_BlockLambda_ReturnsTask_TypeCast#LambdaHandler.g.verified.cs index c24d8bf3..b51d727c 100644 --- a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/BlockLambdaVerifyTests.Test_BlockLambda_ReturnsTask_TypeCast#LambdaHandler.g.verified.cs +++ b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/BlockLambdaVerifyTests.Test_BlockLambda_ReturnsTask_TypeCast#LambdaHandler.g.verified.cs @@ -43,7 +43,7 @@ file static class GeneratedLambdaInvocationBuilderExtensions private const string EventFeatureProviderKey = "__EventFeatureProvider"; private const string ResponseFeatureProviderKey = "__ResponseFeatureProvider"; - [InterceptsLocation(1, "2aTdwJdHl473WaMveiNuirYAAABJbnB1dEZpbGUuY3M=")] + [InterceptsLocation(1, "REPLACED")] internal static ILambdaInvocationBuilder MapHandlerInterceptor0( this ILambdaInvocationBuilder application, Delegate handler diff --git a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/BlockLambdaVerifyTests.Test_BlockLambda_StreamResponse#LambdaHandler.g.verified.cs b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/BlockLambdaVerifyTests.Test_BlockLambda_StreamResponse#LambdaHandler.g.verified.cs index 17927054..fcbbb9a4 100644 --- a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/BlockLambdaVerifyTests.Test_BlockLambda_StreamResponse#LambdaHandler.g.verified.cs +++ b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/BlockLambdaVerifyTests.Test_BlockLambda_StreamResponse#LambdaHandler.g.verified.cs @@ -43,7 +43,7 @@ file static class GeneratedLambdaInvocationBuilderExtensions private const string EventFeatureProviderKey = "__EventFeatureProvider"; private const string ResponseFeatureProviderKey = "__ResponseFeatureProvider"; - [InterceptsLocation(1, "jPT53Ewh7xx9P9yb1DeyM8AAAABJbnB1dEZpbGUuY3M=")] + [InterceptsLocation(1, "REPLACED")] internal static ILambdaInvocationBuilder MapHandlerInterceptor0( this ILambdaInvocationBuilder application, Delegate handler diff --git a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/BlockLambdaVerifyTests.Test_BlockLambda_TypeCast#LambdaHandler.g.verified.cs b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/BlockLambdaVerifyTests.Test_BlockLambda_TypeCast#LambdaHandler.g.verified.cs index 7c18b9b2..d2117e31 100644 --- a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/BlockLambdaVerifyTests.Test_BlockLambda_TypeCast#LambdaHandler.g.verified.cs +++ b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/BlockLambdaVerifyTests.Test_BlockLambda_TypeCast#LambdaHandler.g.verified.cs @@ -43,7 +43,7 @@ file static class GeneratedLambdaInvocationBuilderExtensions private const string EventFeatureProviderKey = "__EventFeatureProvider"; private const string ResponseFeatureProviderKey = "__ResponseFeatureProvider"; - [InterceptsLocation(1, "SZ39GgPCyw+sAyqV7Y0MlLwAAABJbnB1dEZpbGUuY3M=")] + [InterceptsLocation(1, "REPLACED")] internal static ILambdaInvocationBuilder MapHandlerInterceptor0( this ILambdaInvocationBuilder application, Delegate handler diff --git a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/BlockLambdaVerifyTests.Test_BlockLambda_TypeCast_InputFromKeyedServices#LambdaHandler.g.verified.cs b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/BlockLambdaVerifyTests.Test_BlockLambda_TypeCast_InputFromKeyedServices#LambdaHandler.g.verified.cs index 3825c38e..4d927517 100644 --- a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/BlockLambdaVerifyTests.Test_BlockLambda_TypeCast_InputFromKeyedServices#LambdaHandler.g.verified.cs +++ b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/BlockLambdaVerifyTests.Test_BlockLambda_TypeCast_InputFromKeyedServices#LambdaHandler.g.verified.cs @@ -43,7 +43,7 @@ file static class GeneratedLambdaInvocationBuilderExtensions private const string EventFeatureProviderKey = "__EventFeatureProvider"; private const string ResponseFeatureProviderKey = "__ResponseFeatureProvider"; - [InterceptsLocation(1, "2G3T5x4NjDpOFGweblm35AoBAABJbnB1dEZpbGUuY3M=")] + [InterceptsLocation(1, "REPLACED")] internal static ILambdaInvocationBuilder MapHandlerInterceptor0( this ILambdaInvocationBuilder application, Delegate handler diff --git a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/ExpressionLambdaVerifyTests.Test_ExpressionLambda_AsksForCancellationToken#LambdaHandler.g.verified.cs b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/ExpressionLambdaVerifyTests.Test_ExpressionLambda_AsksForCancellationToken#LambdaHandler.g.verified.cs index f2d04972..a99cea4f 100644 --- a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/ExpressionLambdaVerifyTests.Test_ExpressionLambda_AsksForCancellationToken#LambdaHandler.g.verified.cs +++ b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/ExpressionLambdaVerifyTests.Test_ExpressionLambda_AsksForCancellationToken#LambdaHandler.g.verified.cs @@ -43,7 +43,7 @@ file static class GeneratedLambdaInvocationBuilderExtensions private const string EventFeatureProviderKey = "__EventFeatureProvider"; private const string ResponseFeatureProviderKey = "__ResponseFeatureProvider"; - [InterceptsLocation(1, "uuDt15jObMe1Qq8s3gllzMYAAABJbnB1dEZpbGUuY3M=")] + [InterceptsLocation(1, "REPLACED")] internal static ILambdaInvocationBuilder MapHandlerInterceptor0( this ILambdaInvocationBuilder application, Delegate handler diff --git a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/ExpressionLambdaVerifyTests.Test_ExpressionLambda_AsksForCancellationTokenAndLambdaContext#LambdaHandler.g.verified.cs b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/ExpressionLambdaVerifyTests.Test_ExpressionLambda_AsksForCancellationTokenAndLambdaContext#LambdaHandler.g.verified.cs index 6d5282ce..dcada9a6 100644 --- a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/ExpressionLambdaVerifyTests.Test_ExpressionLambda_AsksForCancellationTokenAndLambdaContext#LambdaHandler.g.verified.cs +++ b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/ExpressionLambdaVerifyTests.Test_ExpressionLambda_AsksForCancellationTokenAndLambdaContext#LambdaHandler.g.verified.cs @@ -43,7 +43,7 @@ file static class GeneratedLambdaInvocationBuilderExtensions private const string EventFeatureProviderKey = "__EventFeatureProvider"; private const string ResponseFeatureProviderKey = "__ResponseFeatureProvider"; - [InterceptsLocation(1, "E0m79hZz+OhoP5DYhe70YeAAAABJbnB1dEZpbGUuY3M=")] + [InterceptsLocation(1, "REPLACED")] internal static ILambdaInvocationBuilder MapHandlerInterceptor0( this ILambdaInvocationBuilder application, Delegate handler diff --git a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/ExpressionLambdaVerifyTests.Test_ExpressionLambda_AsksForCancellationTokenAndLambdaInvocationContext#LambdaHandler.g.verified.cs b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/ExpressionLambdaVerifyTests.Test_ExpressionLambda_AsksForCancellationTokenAndLambdaInvocationContext#LambdaHandler.g.verified.cs index d607f258..6e21a446 100644 --- a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/ExpressionLambdaVerifyTests.Test_ExpressionLambda_AsksForCancellationTokenAndLambdaInvocationContext#LambdaHandler.g.verified.cs +++ b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/ExpressionLambdaVerifyTests.Test_ExpressionLambda_AsksForCancellationTokenAndLambdaInvocationContext#LambdaHandler.g.verified.cs @@ -43,7 +43,7 @@ file static class GeneratedLambdaInvocationBuilderExtensions private const string EventFeatureProviderKey = "__EventFeatureProvider"; private const string ResponseFeatureProviderKey = "__ResponseFeatureProvider"; - [InterceptsLocation(1, "MM9ytQ7zZDW9+yc/+rcLl+AAAABJbnB1dEZpbGUuY3M=")] + [InterceptsLocation(1, "REPLACED")] internal static ILambdaInvocationBuilder MapHandlerInterceptor0( this ILambdaInvocationBuilder application, Delegate handler diff --git a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/ExpressionLambdaVerifyTests.Test_ExpressionLambda_Async_ReturnExplicitTask#LambdaHandler.g.verified.cs b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/ExpressionLambdaVerifyTests.Test_ExpressionLambda_Async_ReturnExplicitTask#LambdaHandler.g.verified.cs index 4d9fa851..b51d727c 100644 --- a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/ExpressionLambdaVerifyTests.Test_ExpressionLambda_Async_ReturnExplicitTask#LambdaHandler.g.verified.cs +++ b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/ExpressionLambdaVerifyTests.Test_ExpressionLambda_Async_ReturnExplicitTask#LambdaHandler.g.verified.cs @@ -43,7 +43,7 @@ file static class GeneratedLambdaInvocationBuilderExtensions private const string EventFeatureProviderKey = "__EventFeatureProvider"; private const string ResponseFeatureProviderKey = "__ResponseFeatureProvider"; - [InterceptsLocation(1, "cT3iuq87IWiCDKzjFXbX3swAAABJbnB1dEZpbGUuY3M=")] + [InterceptsLocation(1, "REPLACED")] internal static ILambdaInvocationBuilder MapHandlerInterceptor0( this ILambdaInvocationBuilder application, Delegate handler diff --git a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/ExpressionLambdaVerifyTests.Test_ExpressionLambda_ComplexInput_ComplexOutput#LambdaHandler.g.verified.cs b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/ExpressionLambdaVerifyTests.Test_ExpressionLambda_ComplexInput_ComplexOutput#LambdaHandler.g.verified.cs index 49909f9c..fdee7fed 100644 --- a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/ExpressionLambdaVerifyTests.Test_ExpressionLambda_ComplexInput_ComplexOutput#LambdaHandler.g.verified.cs +++ b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/ExpressionLambdaVerifyTests.Test_ExpressionLambda_ComplexInput_ComplexOutput#LambdaHandler.g.verified.cs @@ -43,7 +43,7 @@ file static class GeneratedLambdaInvocationBuilderExtensions private const string EventFeatureProviderKey = "__EventFeatureProvider"; private const string ResponseFeatureProviderKey = "__ResponseFeatureProvider"; - [InterceptsLocation(1, "k8jU1POB8TXl/XtywGzhweYAAABJbnB1dEZpbGUuY3M=")] + [InterceptsLocation(1, "REPLACED")] internal static ILambdaInvocationBuilder MapHandlerInterceptor0( this ILambdaInvocationBuilder application, Delegate handler diff --git a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/ExpressionLambdaVerifyTests.Test_ExpressionLambda_ExplicitVoid#LambdaHandler.g.verified.cs b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/ExpressionLambdaVerifyTests.Test_ExpressionLambda_ExplicitVoid#LambdaHandler.g.verified.cs index 462e13a8..d2e27f8e 100644 --- a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/ExpressionLambdaVerifyTests.Test_ExpressionLambda_ExplicitVoid#LambdaHandler.g.verified.cs +++ b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/ExpressionLambdaVerifyTests.Test_ExpressionLambda_ExplicitVoid#LambdaHandler.g.verified.cs @@ -43,7 +43,7 @@ file static class GeneratedLambdaInvocationBuilderExtensions private const string EventFeatureProviderKey = "__EventFeatureProvider"; private const string ResponseFeatureProviderKey = "__ResponseFeatureProvider"; - [InterceptsLocation(1, "mCw0TmMoKLslRA4zotAzTtkAAABJbnB1dEZpbGUuY3M=")] + [InterceptsLocation(1, "REPLACED")] internal static ILambdaInvocationBuilder MapHandlerInterceptor0( this ILambdaInvocationBuilder application, Delegate handler diff --git a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/ExpressionLambdaVerifyTests.Test_ExpressionLambda_InputDi_Async#LambdaHandler.g.verified.cs b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/ExpressionLambdaVerifyTests.Test_ExpressionLambda_InputDi_Async#LambdaHandler.g.verified.cs index 7eed4f34..95d06f11 100644 --- a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/ExpressionLambdaVerifyTests.Test_ExpressionLambda_InputDi_Async#LambdaHandler.g.verified.cs +++ b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/ExpressionLambdaVerifyTests.Test_ExpressionLambda_InputDi_Async#LambdaHandler.g.verified.cs @@ -43,7 +43,7 @@ file static class GeneratedLambdaInvocationBuilderExtensions private const string EventFeatureProviderKey = "__EventFeatureProvider"; private const string ResponseFeatureProviderKey = "__ResponseFeatureProvider"; - [InterceptsLocation(1, "RYU1ACjUCJAF6VKP6xz4f68AAABJbnB1dEZpbGUuY3M=")] + [InterceptsLocation(1, "REPLACED")] internal static ILambdaInvocationBuilder MapHandlerInterceptor0( this ILambdaInvocationBuilder application, Delegate handler diff --git a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/ExpressionLambdaVerifyTests.Test_ExpressionLambda_InputDi_AsyncAndAwait#LambdaHandler.g.verified.cs b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/ExpressionLambdaVerifyTests.Test_ExpressionLambda_InputDi_AsyncAndAwait#LambdaHandler.g.verified.cs index 7df1025b..95d06f11 100644 --- a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/ExpressionLambdaVerifyTests.Test_ExpressionLambda_InputDi_AsyncAndAwait#LambdaHandler.g.verified.cs +++ b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/ExpressionLambdaVerifyTests.Test_ExpressionLambda_InputDi_AsyncAndAwait#LambdaHandler.g.verified.cs @@ -43,7 +43,7 @@ file static class GeneratedLambdaInvocationBuilderExtensions private const string EventFeatureProviderKey = "__EventFeatureProvider"; private const string ResponseFeatureProviderKey = "__ResponseFeatureProvider"; - [InterceptsLocation(1, "YAxktVM2tLACcLf16mEVcc0AAABJbnB1dEZpbGUuY3M=")] + [InterceptsLocation(1, "REPLACED")] internal static ILambdaInvocationBuilder MapHandlerInterceptor0( this ILambdaInvocationBuilder application, Delegate handler diff --git a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/ExpressionLambdaVerifyTests.Test_ExpressionLambda_InputDi_AsyncAndAwait_EventAndResponseDifferentNamespace#LambdaHandler.g.verified.cs b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/ExpressionLambdaVerifyTests.Test_ExpressionLambda_InputDi_AsyncAndAwait_EventAndResponseDifferentNamespace#LambdaHandler.g.verified.cs index f6d9be8a..e0fadde3 100644 --- a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/ExpressionLambdaVerifyTests.Test_ExpressionLambda_InputDi_AsyncAndAwait_EventAndResponseDifferentNamespace#LambdaHandler.g.verified.cs +++ b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/ExpressionLambdaVerifyTests.Test_ExpressionLambda_InputDi_AsyncAndAwait_EventAndResponseDifferentNamespace#LambdaHandler.g.verified.cs @@ -43,7 +43,7 @@ file static class GeneratedLambdaInvocationBuilderExtensions private const string EventFeatureProviderKey = "__EventFeatureProvider"; private const string ResponseFeatureProviderKey = "__ResponseFeatureProvider"; - [InterceptsLocation(1, "g8LHgWNG7I4SppTaP2NXcuAAAABJbnB1dEZpbGUuY3M=")] + [InterceptsLocation(1, "REPLACED")] internal static ILambdaInvocationBuilder MapHandlerInterceptor0( this ILambdaInvocationBuilder application, Delegate handler diff --git a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/ExpressionLambdaVerifyTests.Test_ExpressionLambda_InputStream#LambdaHandler.g.verified.cs b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/ExpressionLambdaVerifyTests.Test_ExpressionLambda_InputStream#LambdaHandler.g.verified.cs index 1337692d..05291806 100644 --- a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/ExpressionLambdaVerifyTests.Test_ExpressionLambda_InputStream#LambdaHandler.g.verified.cs +++ b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/ExpressionLambdaVerifyTests.Test_ExpressionLambda_InputStream#LambdaHandler.g.verified.cs @@ -43,7 +43,7 @@ file static class GeneratedLambdaInvocationBuilderExtensions private const string EventFeatureProviderKey = "__EventFeatureProvider"; private const string ResponseFeatureProviderKey = "__ResponseFeatureProvider"; - [InterceptsLocation(1, "j1cZzS1JRw4YpXVdsmK4icAAAABJbnB1dEZpbGUuY3M=")] + [InterceptsLocation(1, "REPLACED")] internal static ILambdaInvocationBuilder MapHandlerInterceptor0( this ILambdaInvocationBuilder application, Delegate handler diff --git a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/ExpressionLambdaVerifyTests.Test_ExpressionLambda_NoInput_NoOutput#LambdaHandler.g.verified.cs b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/ExpressionLambdaVerifyTests.Test_ExpressionLambda_NoInput_NoOutput#LambdaHandler.g.verified.cs index 6edb1fd6..d2e27f8e 100644 --- a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/ExpressionLambdaVerifyTests.Test_ExpressionLambda_NoInput_NoOutput#LambdaHandler.g.verified.cs +++ b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/ExpressionLambdaVerifyTests.Test_ExpressionLambda_NoInput_NoOutput#LambdaHandler.g.verified.cs @@ -43,7 +43,7 @@ file static class GeneratedLambdaInvocationBuilderExtensions private const string EventFeatureProviderKey = "__EventFeatureProvider"; private const string ResponseFeatureProviderKey = "__ResponseFeatureProvider"; - [InterceptsLocation(1, "3CWFbmqnBB4YxhpsZbBulq8AAABJbnB1dEZpbGUuY3M=")] + [InterceptsLocation(1, "REPLACED")] internal static ILambdaInvocationBuilder MapHandlerInterceptor0( this ILambdaInvocationBuilder application, Delegate handler diff --git a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/ExpressionLambdaVerifyTests.Test_ExpressionLambda_NoInput_ReturnGenericObject#LambdaHandler.g.verified.cs b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/ExpressionLambdaVerifyTests.Test_ExpressionLambda_NoInput_ReturnGenericObject#LambdaHandler.g.verified.cs index 48ea391b..28984ec2 100644 --- a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/ExpressionLambdaVerifyTests.Test_ExpressionLambda_NoInput_ReturnGenericObject#LambdaHandler.g.verified.cs +++ b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/ExpressionLambdaVerifyTests.Test_ExpressionLambda_NoInput_ReturnGenericObject#LambdaHandler.g.verified.cs @@ -43,7 +43,7 @@ file static class GeneratedLambdaInvocationBuilderExtensions private const string EventFeatureProviderKey = "__EventFeatureProvider"; private const string ResponseFeatureProviderKey = "__ResponseFeatureProvider"; - [InterceptsLocation(1, "G4Om3+ihXcYexFMvnSQvJ64AAABJbnB1dEZpbGUuY3M=")] + [InterceptsLocation(1, "REPLACED")] internal static ILambdaInvocationBuilder MapHandlerInterceptor0( this ILambdaInvocationBuilder application, Delegate handler diff --git a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/ExpressionLambdaVerifyTests.Test_ExpressionLambda_NoInput_ReturnNullablePrimitive#LambdaHandler.g.verified.cs b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/ExpressionLambdaVerifyTests.Test_ExpressionLambda_NoInput_ReturnNullablePrimitive#LambdaHandler.g.verified.cs index 2ac9fa19..c7802117 100644 --- a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/ExpressionLambdaVerifyTests.Test_ExpressionLambda_NoInput_ReturnNullablePrimitive#LambdaHandler.g.verified.cs +++ b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/ExpressionLambdaVerifyTests.Test_ExpressionLambda_NoInput_ReturnNullablePrimitive#LambdaHandler.g.verified.cs @@ -43,7 +43,7 @@ file static class GeneratedLambdaInvocationBuilderExtensions private const string EventFeatureProviderKey = "__EventFeatureProvider"; private const string ResponseFeatureProviderKey = "__ResponseFeatureProvider"; - [InterceptsLocation(1, "JhcPD8PsJIdWe6XLFN10+a4AAABJbnB1dEZpbGUuY3M=")] + [InterceptsLocation(1, "REPLACED")] internal static ILambdaInvocationBuilder MapHandlerInterceptor0( this ILambdaInvocationBuilder application, Delegate handler diff --git a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/ExpressionLambdaVerifyTests.Test_ExpressionLambda_NoInput_ReturnString#LambdaHandler.g.verified.cs b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/ExpressionLambdaVerifyTests.Test_ExpressionLambda_NoInput_ReturnString#LambdaHandler.g.verified.cs index d48b5b06..daa47503 100644 --- a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/ExpressionLambdaVerifyTests.Test_ExpressionLambda_NoInput_ReturnString#LambdaHandler.g.verified.cs +++ b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/ExpressionLambdaVerifyTests.Test_ExpressionLambda_NoInput_ReturnString#LambdaHandler.g.verified.cs @@ -43,7 +43,7 @@ file static class GeneratedLambdaInvocationBuilderExtensions private const string EventFeatureProviderKey = "__EventFeatureProvider"; private const string ResponseFeatureProviderKey = "__ResponseFeatureProvider"; - [InterceptsLocation(1, "in+uvLWWJ/AtKXn3ATT2fa8AAABJbnB1dEZpbGUuY3M=")] + [InterceptsLocation(1, "REPLACED")] internal static ILambdaInvocationBuilder MapHandlerInterceptor0( this ILambdaInvocationBuilder application, Delegate handler diff --git a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/ExpressionLambdaVerifyTests.Test_ExpressionLambda_NullableInput_ReturnExplicitNullable#LambdaHandler.g.verified.cs b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/ExpressionLambdaVerifyTests.Test_ExpressionLambda_NullableInput_ReturnExplicitNullable#LambdaHandler.g.verified.cs index b5a6f331..fffeec35 100644 --- a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/ExpressionLambdaVerifyTests.Test_ExpressionLambda_NullableInput_ReturnExplicitNullable#LambdaHandler.g.verified.cs +++ b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/ExpressionLambdaVerifyTests.Test_ExpressionLambda_NullableInput_ReturnExplicitNullable#LambdaHandler.g.verified.cs @@ -43,7 +43,7 @@ file static class GeneratedLambdaInvocationBuilderExtensions private const string EventFeatureProviderKey = "__EventFeatureProvider"; private const string ResponseFeatureProviderKey = "__ResponseFeatureProvider"; - [InterceptsLocation(1, "GzrEvlSIcRHrVreaVlX6r64AAABJbnB1dEZpbGUuY3M=")] + [InterceptsLocation(1, "REPLACED")] internal static ILambdaInvocationBuilder MapHandlerInterceptor0( this ILambdaInvocationBuilder application, Delegate handler diff --git a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/ExpressionLambdaVerifyTests.Test_ExpressionLambda_NullableInput_ReturnImplicitNullable#LambdaHandler.g.verified.cs b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/ExpressionLambdaVerifyTests.Test_ExpressionLambda_NullableInput_ReturnImplicitNullable#LambdaHandler.g.verified.cs index 5d13a6ae..eef2f035 100644 --- a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/ExpressionLambdaVerifyTests.Test_ExpressionLambda_NullableInput_ReturnImplicitNullable#LambdaHandler.g.verified.cs +++ b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/ExpressionLambdaVerifyTests.Test_ExpressionLambda_NullableInput_ReturnImplicitNullable#LambdaHandler.g.verified.cs @@ -43,7 +43,7 @@ file static class GeneratedLambdaInvocationBuilderExtensions private const string EventFeatureProviderKey = "__EventFeatureProvider"; private const string ResponseFeatureProviderKey = "__ResponseFeatureProvider"; - [InterceptsLocation(1, "FyRpi+O01Le5sodA43elIa4AAABJbnB1dEZpbGUuY3M=")] + [InterceptsLocation(1, "REPLACED")] internal static ILambdaInvocationBuilder MapHandlerInterceptor0( this ILambdaInvocationBuilder application, Delegate handler diff --git a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/ExpressionLambdaVerifyTests.Test_ExpressionLambda_ReturnExplicitTask#LambdaHandler.g.verified.cs b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/ExpressionLambdaVerifyTests.Test_ExpressionLambda_ReturnExplicitTask#LambdaHandler.g.verified.cs index e020966b..b51d727c 100644 --- a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/ExpressionLambdaVerifyTests.Test_ExpressionLambda_ReturnExplicitTask#LambdaHandler.g.verified.cs +++ b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/ExpressionLambdaVerifyTests.Test_ExpressionLambda_ReturnExplicitTask#LambdaHandler.g.verified.cs @@ -43,7 +43,7 @@ file static class GeneratedLambdaInvocationBuilderExtensions private const string EventFeatureProviderKey = "__EventFeatureProvider"; private const string ResponseFeatureProviderKey = "__ResponseFeatureProvider"; - [InterceptsLocation(1, "KJD4PMoAebDtIgB60tZNgswAAABJbnB1dEZpbGUuY3M=")] + [InterceptsLocation(1, "REPLACED")] internal static ILambdaInvocationBuilder MapHandlerInterceptor0( this ILambdaInvocationBuilder application, Delegate handler diff --git a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/ExpressionLambdaVerifyTests.Test_ExpressionLambda_ReturnExplicitType#LambdaHandler.g.verified.cs b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/ExpressionLambdaVerifyTests.Test_ExpressionLambda_ReturnExplicitType#LambdaHandler.g.verified.cs index e2c61542..3e09c349 100644 --- a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/ExpressionLambdaVerifyTests.Test_ExpressionLambda_ReturnExplicitType#LambdaHandler.g.verified.cs +++ b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/ExpressionLambdaVerifyTests.Test_ExpressionLambda_ReturnExplicitType#LambdaHandler.g.verified.cs @@ -43,7 +43,7 @@ file static class GeneratedLambdaInvocationBuilderExtensions private const string EventFeatureProviderKey = "__EventFeatureProvider"; private const string ResponseFeatureProviderKey = "__ResponseFeatureProvider"; - [InterceptsLocation(1, "Omlg4OEyk26g8wXWjLDFPcwAAABJbnB1dEZpbGUuY3M=")] + [InterceptsLocation(1, "REPLACED")] internal static ILambdaInvocationBuilder MapHandlerInterceptor0( this ILambdaInvocationBuilder application, Delegate handler diff --git a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/KeyedServiceVerifyTests.Test_KeyedService_FloatingPointTypes#LambdaHandler.g.verified.cs b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/KeyedServiceVerifyTests.Test_KeyedService_FloatingPointTypes#LambdaHandler.g.verified.cs index 597e1fe2..a6a599ca 100644 --- a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/KeyedServiceVerifyTests.Test_KeyedService_FloatingPointTypes#LambdaHandler.g.verified.cs +++ b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/KeyedServiceVerifyTests.Test_KeyedService_FloatingPointTypes#LambdaHandler.g.verified.cs @@ -43,7 +43,7 @@ file static class GeneratedLambdaInvocationBuilderExtensions private const string EventFeatureProviderKey = "__EventFeatureProvider"; private const string ResponseFeatureProviderKey = "__ResponseFeatureProvider"; - [InterceptsLocation(1, "oOoX2Z8lm6heONKgRuSEMVoBAABJbnB1dEZpbGUuY3M=")] + [InterceptsLocation(1, "REPLACED")] internal static ILambdaInvocationBuilder MapHandlerInterceptor0( this ILambdaInvocationBuilder application, Delegate handler diff --git a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/KeyedServiceVerifyTests.Test_KeyedService_IntAndLongKeys#LambdaHandler.g.verified.cs b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/KeyedServiceVerifyTests.Test_KeyedService_IntAndLongKeys#LambdaHandler.g.verified.cs index 9096d892..66486798 100644 --- a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/KeyedServiceVerifyTests.Test_KeyedService_IntAndLongKeys#LambdaHandler.g.verified.cs +++ b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/KeyedServiceVerifyTests.Test_KeyedService_IntAndLongKeys#LambdaHandler.g.verified.cs @@ -43,7 +43,7 @@ file static class GeneratedLambdaInvocationBuilderExtensions private const string EventFeatureProviderKey = "__EventFeatureProvider"; private const string ResponseFeatureProviderKey = "__ResponseFeatureProvider"; - [InterceptsLocation(1, "UQNgECJiz6f37Kqrohi6T1YBAABJbnB1dEZpbGUuY3M=")] + [InterceptsLocation(1, "REPLACED")] internal static ILambdaInvocationBuilder MapHandlerInterceptor0( this ILambdaInvocationBuilder application, Delegate handler diff --git a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/KeyedServiceVerifyTests.Test_KeyedService_OtherTypes#LambdaHandler.g.verified.cs b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/KeyedServiceVerifyTests.Test_KeyedService_OtherTypes#LambdaHandler.g.verified.cs index dab7dc8a..6cfb2905 100644 --- a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/KeyedServiceVerifyTests.Test_KeyedService_OtherTypes#LambdaHandler.g.verified.cs +++ b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/KeyedServiceVerifyTests.Test_KeyedService_OtherTypes#LambdaHandler.g.verified.cs @@ -43,7 +43,7 @@ file static class GeneratedLambdaInvocationBuilderExtensions private const string EventFeatureProviderKey = "__EventFeatureProvider"; private const string ResponseFeatureProviderKey = "__ResponseFeatureProvider"; - [InterceptsLocation(1, "hmegcgWk2t+EeA09rekjfN0BAABJbnB1dEZpbGUuY3M=")] + [InterceptsLocation(1, "REPLACED")] internal static ILambdaInvocationBuilder MapHandlerInterceptor0( this ILambdaInvocationBuilder application, Delegate handler diff --git a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/KeyedServiceVerifyTests.Test_KeyedService_SmallIntegerTypes#LambdaHandler.g.verified.cs b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/KeyedServiceVerifyTests.Test_KeyedService_SmallIntegerTypes#LambdaHandler.g.verified.cs index 0f8ddfb5..67a780a2 100644 --- a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/KeyedServiceVerifyTests.Test_KeyedService_SmallIntegerTypes#LambdaHandler.g.verified.cs +++ b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/KeyedServiceVerifyTests.Test_KeyedService_SmallIntegerTypes#LambdaHandler.g.verified.cs @@ -43,7 +43,7 @@ file static class GeneratedLambdaInvocationBuilderExtensions private const string EventFeatureProviderKey = "__EventFeatureProvider"; private const string ResponseFeatureProviderKey = "__ResponseFeatureProvider"; - [InterceptsLocation(1, "hw5rLqU36tq+UKKZjsYo+6QBAABJbnB1dEZpbGUuY3M=")] + [InterceptsLocation(1, "REPLACED")] internal static ILambdaInvocationBuilder MapHandlerInterceptor0( this ILambdaInvocationBuilder application, Delegate handler diff --git a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/KeyedServiceVerifyTests.Test_KeyedService_StringAndEnumKeys#LambdaHandler.g.verified.cs b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/KeyedServiceVerifyTests.Test_KeyedService_StringAndEnumKeys#LambdaHandler.g.verified.cs index 2d90cb56..cc587419 100644 --- a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/KeyedServiceVerifyTests.Test_KeyedService_StringAndEnumKeys#LambdaHandler.g.verified.cs +++ b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/KeyedServiceVerifyTests.Test_KeyedService_StringAndEnumKeys#LambdaHandler.g.verified.cs @@ -43,7 +43,7 @@ file static class GeneratedLambdaInvocationBuilderExtensions private const string EventFeatureProviderKey = "__EventFeatureProvider"; private const string ResponseFeatureProviderKey = "__ResponseFeatureProvider"; - [InterceptsLocation(1, "+h6TuNWWRrZ6456NGR3gY68BAABJbnB1dEZpbGUuY3M=")] + [InterceptsLocation(1, "REPLACED")] internal static ILambdaInvocationBuilder MapHandlerInterceptor0( this ILambdaInvocationBuilder application, Delegate handler diff --git a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/KeyedServiceVerifyTests.Test_KeyedService_UnsignedIntegerTypes#LambdaHandler.g.verified.cs b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/KeyedServiceVerifyTests.Test_KeyedService_UnsignedIntegerTypes#LambdaHandler.g.verified.cs index 0a9b9934..9a227c50 100644 --- a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/KeyedServiceVerifyTests.Test_KeyedService_UnsignedIntegerTypes#LambdaHandler.g.verified.cs +++ b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/KeyedServiceVerifyTests.Test_KeyedService_UnsignedIntegerTypes#LambdaHandler.g.verified.cs @@ -43,7 +43,7 @@ file static class GeneratedLambdaInvocationBuilderExtensions private const string EventFeatureProviderKey = "__EventFeatureProvider"; private const string ResponseFeatureProviderKey = "__ResponseFeatureProvider"; - [InterceptsLocation(1, "AxgJhn/c6EE+EjInktbZjJsBAABJbnB1dEZpbGUuY3M=")] + [InterceptsLocation(1, "REPLACED")] internal static ILambdaInvocationBuilder MapHandlerInterceptor0( this ILambdaInvocationBuilder application, Delegate handler diff --git a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/MethodHandlerVerifyTests.Test_MethodHandler_AsyncVoid#LambdaHandler.g.verified.cs b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/MethodHandlerVerifyTests.Test_MethodHandler_AsyncVoid#LambdaHandler.g.verified.cs index 86c01a01..d2e27f8e 100644 --- a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/MethodHandlerVerifyTests.Test_MethodHandler_AsyncVoid#LambdaHandler.g.verified.cs +++ b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/MethodHandlerVerifyTests.Test_MethodHandler_AsyncVoid#LambdaHandler.g.verified.cs @@ -43,7 +43,7 @@ file static class GeneratedLambdaInvocationBuilderExtensions private const string EventFeatureProviderKey = "__EventFeatureProvider"; private const string ResponseFeatureProviderKey = "__ResponseFeatureProvider"; - [InterceptsLocation(1, "KboCfbbG13nfDrp0SLg8M7wAAABJbnB1dEZpbGUuY3M=")] + [InterceptsLocation(1, "REPLACED")] internal static ILambdaInvocationBuilder MapHandlerInterceptor0( this ILambdaInvocationBuilder application, Delegate handler diff --git a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/MethodHandlerVerifyTests.Test_MethodHandler_Async_ReturnTaskString#LambdaHandler.g.verified.cs b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/MethodHandlerVerifyTests.Test_MethodHandler_Async_ReturnTaskString#LambdaHandler.g.verified.cs index 9df88abb..c286cf22 100644 --- a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/MethodHandlerVerifyTests.Test_MethodHandler_Async_ReturnTaskString#LambdaHandler.g.verified.cs +++ b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/MethodHandlerVerifyTests.Test_MethodHandler_Async_ReturnTaskString#LambdaHandler.g.verified.cs @@ -43,7 +43,7 @@ file static class GeneratedLambdaInvocationBuilderExtensions private const string EventFeatureProviderKey = "__EventFeatureProvider"; private const string ResponseFeatureProviderKey = "__ResponseFeatureProvider"; - [InterceptsLocation(1, "ZkrKvKVefW15Q5g1yuxuRcwAAABJbnB1dEZpbGUuY3M=")] + [InterceptsLocation(1, "REPLACED")] internal static ILambdaInvocationBuilder MapHandlerInterceptor0( this ILambdaInvocationBuilder application, Delegate handler diff --git a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/MethodHandlerVerifyTests.Test_MethodHandler_BlockBody_InputDiKeyedServices#LambdaHandler.g.verified.cs b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/MethodHandlerVerifyTests.Test_MethodHandler_BlockBody_InputDiKeyedServices#LambdaHandler.g.verified.cs index fb9d1b6a..10dda24b 100644 --- a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/MethodHandlerVerifyTests.Test_MethodHandler_BlockBody_InputDiKeyedServices#LambdaHandler.g.verified.cs +++ b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/MethodHandlerVerifyTests.Test_MethodHandler_BlockBody_InputDiKeyedServices#LambdaHandler.g.verified.cs @@ -43,7 +43,7 @@ file static class GeneratedLambdaInvocationBuilderExtensions private const string EventFeatureProviderKey = "__EventFeatureProvider"; private const string ResponseFeatureProviderKey = "__ResponseFeatureProvider"; - [InterceptsLocation(1, "WvA1V6ThyZ94LdZnpGUzR/kAAABJbnB1dEZpbGUuY3M=")] + [InterceptsLocation(1, "REPLACED")] internal static ILambdaInvocationBuilder MapHandlerInterceptor0( this ILambdaInvocationBuilder application, Delegate handler diff --git a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/MethodHandlerVerifyTests.Test_MethodHandler_BlockBody_TypeCast#LambdaHandler.g.verified.cs b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/MethodHandlerVerifyTests.Test_MethodHandler_BlockBody_TypeCast#LambdaHandler.g.verified.cs index 40f3b131..a215e2fc 100644 --- a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/MethodHandlerVerifyTests.Test_MethodHandler_BlockBody_TypeCast#LambdaHandler.g.verified.cs +++ b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/MethodHandlerVerifyTests.Test_MethodHandler_BlockBody_TypeCast#LambdaHandler.g.verified.cs @@ -43,7 +43,7 @@ file static class GeneratedLambdaInvocationBuilderExtensions private const string EventFeatureProviderKey = "__EventFeatureProvider"; private const string ResponseFeatureProviderKey = "__ResponseFeatureProvider"; - [InterceptsLocation(1, "9iVXmQzdmOJRzQb10S6vbbwAAABJbnB1dEZpbGUuY3M=")] + [InterceptsLocation(1, "REPLACED")] internal static ILambdaInvocationBuilder MapHandlerInterceptor0( this ILambdaInvocationBuilder application, Delegate handler diff --git a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/MethodHandlerVerifyTests.Test_MethodHandler_BlockBody_TypeCast_Static#LambdaHandler.g.verified.cs b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/MethodHandlerVerifyTests.Test_MethodHandler_BlockBody_TypeCast_Static#LambdaHandler.g.verified.cs index 363ea6e8..a215e2fc 100644 --- a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/MethodHandlerVerifyTests.Test_MethodHandler_BlockBody_TypeCast_Static#LambdaHandler.g.verified.cs +++ b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/MethodHandlerVerifyTests.Test_MethodHandler_BlockBody_TypeCast_Static#LambdaHandler.g.verified.cs @@ -43,7 +43,7 @@ file static class GeneratedLambdaInvocationBuilderExtensions private const string EventFeatureProviderKey = "__EventFeatureProvider"; private const string ResponseFeatureProviderKey = "__ResponseFeatureProvider"; - [InterceptsLocation(1, "WkNvIuTbAdwaZik4NmqZnLwAAABJbnB1dEZpbGUuY3M=")] + [InterceptsLocation(1, "REPLACED")] internal static ILambdaInvocationBuilder MapHandlerInterceptor0( this ILambdaInvocationBuilder application, Delegate handler diff --git a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/MethodHandlerVerifyTests.Test_MethodHandler_NoInput_NoOutput#LambdaHandler.g.verified.cs b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/MethodHandlerVerifyTests.Test_MethodHandler_NoInput_NoOutput#LambdaHandler.g.verified.cs index 535bcfdc..d2e27f8e 100644 --- a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/MethodHandlerVerifyTests.Test_MethodHandler_NoInput_NoOutput#LambdaHandler.g.verified.cs +++ b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/MethodHandlerVerifyTests.Test_MethodHandler_NoInput_NoOutput#LambdaHandler.g.verified.cs @@ -43,7 +43,7 @@ file static class GeneratedLambdaInvocationBuilderExtensions private const string EventFeatureProviderKey = "__EventFeatureProvider"; private const string ResponseFeatureProviderKey = "__ResponseFeatureProvider"; - [InterceptsLocation(1, "+Lz+jm6gwTdwCiVkSNzQ87wAAABJbnB1dEZpbGUuY3M=")] + [InterceptsLocation(1, "REPLACED")] internal static ILambdaInvocationBuilder MapHandlerInterceptor0( this ILambdaInvocationBuilder application, Delegate handler diff --git a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/MethodHandlerVerifyTests.Test_MethodHandler_ReturnTask#LambdaHandler.g.verified.cs b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/MethodHandlerVerifyTests.Test_MethodHandler_ReturnTask#LambdaHandler.g.verified.cs index 2b88d5c0..b51d727c 100644 --- a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/MethodHandlerVerifyTests.Test_MethodHandler_ReturnTask#LambdaHandler.g.verified.cs +++ b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/MethodHandlerVerifyTests.Test_MethodHandler_ReturnTask#LambdaHandler.g.verified.cs @@ -43,7 +43,7 @@ file static class GeneratedLambdaInvocationBuilderExtensions private const string EventFeatureProviderKey = "__EventFeatureProvider"; private const string ResponseFeatureProviderKey = "__ResponseFeatureProvider"; - [InterceptsLocation(1, "JJAuncCVlvzsQmF1nMYHRMwAAABJbnB1dEZpbGUuY3M=")] + [InterceptsLocation(1, "REPLACED")] internal static ILambdaInvocationBuilder MapHandlerInterceptor0( this ILambdaInvocationBuilder application, Delegate handler diff --git a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/MethodHandlerVerifyTests.Test_MethodHandler_ReturnTaskString#LambdaHandler.g.verified.cs b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/MethodHandlerVerifyTests.Test_MethodHandler_ReturnTaskString#LambdaHandler.g.verified.cs index ff2fa3e9..c286cf22 100644 --- a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/MethodHandlerVerifyTests.Test_MethodHandler_ReturnTaskString#LambdaHandler.g.verified.cs +++ b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/MethodHandlerVerifyTests.Test_MethodHandler_ReturnTaskString#LambdaHandler.g.verified.cs @@ -43,7 +43,7 @@ file static class GeneratedLambdaInvocationBuilderExtensions private const string EventFeatureProviderKey = "__EventFeatureProvider"; private const string ResponseFeatureProviderKey = "__ResponseFeatureProvider"; - [InterceptsLocation(1, "/Yux3FXySiMlCW6XCvraq8wAAABJbnB1dEZpbGUuY3M=")] + [InterceptsLocation(1, "REPLACED")] internal static ILambdaInvocationBuilder MapHandlerInterceptor0( this ILambdaInvocationBuilder application, Delegate handler diff --git a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/MethodHandlerVerifyTests.Test_MethodHandler_TypeCast_ExtraParentheses#LambdaHandler.g.verified.cs b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/MethodHandlerVerifyTests.Test_MethodHandler_TypeCast_ExtraParentheses#LambdaHandler.g.verified.cs index 312d4993..a215e2fc 100644 --- a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/MethodHandlerVerifyTests.Test_MethodHandler_TypeCast_ExtraParentheses#LambdaHandler.g.verified.cs +++ b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/MethodHandlerVerifyTests.Test_MethodHandler_TypeCast_ExtraParentheses#LambdaHandler.g.verified.cs @@ -43,7 +43,7 @@ file static class GeneratedLambdaInvocationBuilderExtensions private const string EventFeatureProviderKey = "__EventFeatureProvider"; private const string ResponseFeatureProviderKey = "__ResponseFeatureProvider"; - [InterceptsLocation(1, "B3NwPy0yR+xRbgA9x8f/e7wAAABJbnB1dEZpbGUuY3M=")] + [InterceptsLocation(1, "REPLACED")] internal static ILambdaInvocationBuilder MapHandlerInterceptor0( this ILambdaInvocationBuilder application, Delegate handler diff --git a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/OnInitVerifyTests.Test_OnInit_ExplicitReturnTypeAsync#LambdaHandler.g.verified.cs b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/OnInitVerifyTests.Test_OnInit_ExplicitReturnTypeAsync#LambdaHandler.g.verified.cs index f7ae10f1..6345b4f7 100644 --- a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/OnInitVerifyTests.Test_OnInit_ExplicitReturnTypeAsync#LambdaHandler.g.verified.cs +++ b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/OnInitVerifyTests.Test_OnInit_ExplicitReturnTypeAsync#LambdaHandler.g.verified.cs @@ -40,7 +40,7 @@ namespace MinimalLambda.Generated [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] file static class GeneratedLambdaOnInitBuilderExtensions { - [InterceptsLocation(1, "q1uiaF3q8+xYajQEZyxaiM0AAABJbnB1dEZpbGUuY3M=")] + [InterceptsLocation(1, "REPLACED")] internal static ILambdaOnInitBuilder OnInitInterceptor0( this ILambdaOnInitBuilder application, Delegate handler diff --git a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/OnInitVerifyTests.Test_OnInit_MethodHandler_AsyncAndDi#LambdaHandler.g.verified.cs b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/OnInitVerifyTests.Test_OnInit_MethodHandler_AsyncAndDi#LambdaHandler.g.verified.cs index b73eb262..4e348605 100644 --- a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/OnInitVerifyTests.Test_OnInit_MethodHandler_AsyncAndDi#LambdaHandler.g.verified.cs +++ b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/OnInitVerifyTests.Test_OnInit_MethodHandler_AsyncAndDi#LambdaHandler.g.verified.cs @@ -40,7 +40,7 @@ namespace MinimalLambda.Generated [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] file static class GeneratedLambdaOnInitBuilderExtensions { - [InterceptsLocation(1, "GvWtmkGvhj2sJm4/rXiUGc0AAABJbnB1dEZpbGUuY3M=")] + [InterceptsLocation(1, "REPLACED")] internal static ILambdaOnInitBuilder OnInitInterceptor0( this ILambdaOnInitBuilder application, Delegate handler diff --git a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/OnInitVerifyTests.Test_OnInit_MethodHandler_AsyncAndDiAndReturnUnexpectedType#LambdaHandler.g.verified.cs b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/OnInitVerifyTests.Test_OnInit_MethodHandler_AsyncAndDiAndReturnUnexpectedType#LambdaHandler.g.verified.cs index 3d8dd3d1..980518af 100644 --- a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/OnInitVerifyTests.Test_OnInit_MethodHandler_AsyncAndDiAndReturnUnexpectedType#LambdaHandler.g.verified.cs +++ b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/OnInitVerifyTests.Test_OnInit_MethodHandler_AsyncAndDiAndReturnUnexpectedType#LambdaHandler.g.verified.cs @@ -40,7 +40,7 @@ namespace MinimalLambda.Generated [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] file static class GeneratedLambdaOnInitBuilderExtensions { - [InterceptsLocation(1, "8o56Zwu2oVW8FXpGxJSFvc0AAABJbnB1dEZpbGUuY3M=")] + [InterceptsLocation(1, "REPLACED")] internal static ILambdaOnInitBuilder OnInitInterceptor0( this ILambdaOnInitBuilder application, Delegate handler diff --git a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/OnInitVerifyTests.Test_OnInit_MethodHandler_NoDi#LambdaHandler.g.verified.cs b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/OnInitVerifyTests.Test_OnInit_MethodHandler_NoDi#LambdaHandler.g.verified.cs index e8a7d1de..6345b4f7 100644 --- a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/OnInitVerifyTests.Test_OnInit_MethodHandler_NoDi#LambdaHandler.g.verified.cs +++ b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/OnInitVerifyTests.Test_OnInit_MethodHandler_NoDi#LambdaHandler.g.verified.cs @@ -40,7 +40,7 @@ namespace MinimalLambda.Generated [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] file static class GeneratedLambdaOnInitBuilderExtensions { - [InterceptsLocation(1, "3ivf5JplhmGDGF7iXdWVSucAAABJbnB1dEZpbGUuY3M=")] + [InterceptsLocation(1, "REPLACED")] internal static ILambdaOnInitBuilder OnInitInterceptor0( this ILambdaOnInitBuilder application, Delegate handler diff --git a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/OnInitVerifyTests.Test_OnInit_MultipleCalls#LambdaHandler.g.verified.cs b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/OnInitVerifyTests.Test_OnInit_MultipleCalls#LambdaHandler.g.verified.cs index 528c6dd0..8bb050ea 100644 --- a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/OnInitVerifyTests.Test_OnInit_MultipleCalls#LambdaHandler.g.verified.cs +++ b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/OnInitVerifyTests.Test_OnInit_MultipleCalls#LambdaHandler.g.verified.cs @@ -40,7 +40,7 @@ namespace MinimalLambda.Generated [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] file static class GeneratedLambdaOnInitBuilderExtensions { - [InterceptsLocation(1, "gOjUxL7brRqHQuY3oQ1zfc0AAABJbnB1dEZpbGUuY3M=")] + [InterceptsLocation(1, "REPLACED")] internal static ILambdaOnInitBuilder OnInitInterceptor0( this ILambdaOnInitBuilder application, Delegate handler @@ -57,7 +57,7 @@ Task OnInit(ILambdaLifecycleContext context) } } - [InterceptsLocation(1, "gOjUxL7brRqHQuY3oQ1zfRUBAABJbnB1dEZpbGUuY3M=")] + [InterceptsLocation(1, "REPLACED")] internal static ILambdaOnInitBuilder OnInitInterceptor1( this ILambdaOnInitBuilder application, Delegate handler @@ -78,7 +78,7 @@ Task OnInit(ILambdaLifecycleContext context) } } - [InterceptsLocation(1, "gOjUxL7brRqHQuY3oQ1zfXoBAABJbnB1dEZpbGUuY3M=")] + [InterceptsLocation(1, "REPLACED")] internal static ILambdaOnInitBuilder OnInitInterceptor2( this ILambdaOnInitBuilder application, Delegate handler diff --git a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/OnInitVerifyTests.Test_OnInit_NoInput_NoOutput#LambdaHandler.g.verified.cs b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/OnInitVerifyTests.Test_OnInit_NoInput_NoOutput#LambdaHandler.g.verified.cs index 99dcb092..774ebe2e 100644 --- a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/OnInitVerifyTests.Test_OnInit_NoInput_NoOutput#LambdaHandler.g.verified.cs +++ b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/OnInitVerifyTests.Test_OnInit_NoInput_NoOutput#LambdaHandler.g.verified.cs @@ -40,7 +40,7 @@ namespace MinimalLambda.Generated [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] file static class GeneratedLambdaOnInitBuilderExtensions { - [InterceptsLocation(1, "muLM5AWLiyZcBDFwDjSMbc0AAABJbnB1dEZpbGUuY3M=")] + [InterceptsLocation(1, "REPLACED")] internal static ILambdaOnInitBuilder OnInitInterceptor0( this ILambdaOnInitBuilder application, Delegate handler diff --git a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/OnInitVerifyTests.Test_OnInit_NoInput_ReturnAsyncBool#LambdaHandler.g.verified.cs b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/OnInitVerifyTests.Test_OnInit_NoInput_ReturnAsyncBool#LambdaHandler.g.verified.cs index 53924e54..6345b4f7 100644 --- a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/OnInitVerifyTests.Test_OnInit_NoInput_ReturnAsyncBool#LambdaHandler.g.verified.cs +++ b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/OnInitVerifyTests.Test_OnInit_NoInput_ReturnAsyncBool#LambdaHandler.g.verified.cs @@ -40,7 +40,7 @@ namespace MinimalLambda.Generated [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] file static class GeneratedLambdaOnInitBuilderExtensions { - [InterceptsLocation(1, "itVOIXgsd2/a5q0mYhXydM0AAABJbnB1dEZpbGUuY3M=")] + [InterceptsLocation(1, "REPLACED")] internal static ILambdaOnInitBuilder OnInitInterceptor0( this ILambdaOnInitBuilder application, Delegate handler diff --git a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/OnInitVerifyTests.Test_OnInit_NoInput_ReturnBool#LambdaHandler.g.verified.cs b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/OnInitVerifyTests.Test_OnInit_NoInput_ReturnBool#LambdaHandler.g.verified.cs index eb939b6c..6500d4d0 100644 --- a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/OnInitVerifyTests.Test_OnInit_NoInput_ReturnBool#LambdaHandler.g.verified.cs +++ b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/OnInitVerifyTests.Test_OnInit_NoInput_ReturnBool#LambdaHandler.g.verified.cs @@ -40,7 +40,7 @@ namespace MinimalLambda.Generated [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] file static class GeneratedLambdaOnInitBuilderExtensions { - [InterceptsLocation(1, "dCq2ERewPXxHvi/4iSh/m80AAABJbnB1dEZpbGUuY3M=")] + [InterceptsLocation(1, "REPLACED")] internal static ILambdaOnInitBuilder OnInitInterceptor0( this ILambdaOnInitBuilder application, Delegate handler diff --git a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/OnInitVerifyTests.Test_OnInit_NoInput_ReturnNotExpectedType#LambdaHandler.g.verified.cs b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/OnInitVerifyTests.Test_OnInit_NoInput_ReturnNotExpectedType#LambdaHandler.g.verified.cs index 4151e561..68291a63 100644 --- a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/OnInitVerifyTests.Test_OnInit_NoInput_ReturnNotExpectedType#LambdaHandler.g.verified.cs +++ b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/OnInitVerifyTests.Test_OnInit_NoInput_ReturnNotExpectedType#LambdaHandler.g.verified.cs @@ -40,7 +40,7 @@ namespace MinimalLambda.Generated [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] file static class GeneratedLambdaOnInitBuilderExtensions { - [InterceptsLocation(1, "7+o+H0MkQG+24GOQUPBdDs0AAABJbnB1dEZpbGUuY3M=")] + [InterceptsLocation(1, "REPLACED")] internal static ILambdaOnInitBuilder OnInitInterceptor0( this ILambdaOnInitBuilder application, Delegate handler diff --git a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/OnInitVerifyTests.Test_OnInit_NoInput_ReturnNotExpectedTypeAsync#LambdaHandler.g.verified.cs b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/OnInitVerifyTests.Test_OnInit_NoInput_ReturnNotExpectedTypeAsync#LambdaHandler.g.verified.cs index e0ef2cc8..a166f7fa 100644 --- a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/OnInitVerifyTests.Test_OnInit_NoInput_ReturnNotExpectedTypeAsync#LambdaHandler.g.verified.cs +++ b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/OnInitVerifyTests.Test_OnInit_NoInput_ReturnNotExpectedTypeAsync#LambdaHandler.g.verified.cs @@ -40,7 +40,7 @@ namespace MinimalLambda.Generated [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] file static class GeneratedLambdaOnInitBuilderExtensions { - [InterceptsLocation(1, "pi9PolKCGMrmFvoC3ft/Oc0AAABJbnB1dEZpbGUuY3M=")] + [InterceptsLocation(1, "REPLACED")] internal static ILambdaOnInitBuilder OnInitInterceptor0( this ILambdaOnInitBuilder application, Delegate handler diff --git a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/OnInitVerifyTests.Test_OnInit_NoInput_ReturnNotExpectedTypeTask#LambdaHandler.g.verified.cs b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/OnInitVerifyTests.Test_OnInit_NoInput_ReturnNotExpectedTypeTask#LambdaHandler.g.verified.cs index e89f1a27..a166f7fa 100644 --- a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/OnInitVerifyTests.Test_OnInit_NoInput_ReturnNotExpectedTypeTask#LambdaHandler.g.verified.cs +++ b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/OnInitVerifyTests.Test_OnInit_NoInput_ReturnNotExpectedTypeTask#LambdaHandler.g.verified.cs @@ -40,7 +40,7 @@ namespace MinimalLambda.Generated [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] file static class GeneratedLambdaOnInitBuilderExtensions { - [InterceptsLocation(1, "Vg2L2eBzhOCM6KRY6cER2c0AAABJbnB1dEZpbGUuY3M=")] + [InterceptsLocation(1, "REPLACED")] internal static ILambdaOnInitBuilder OnInitInterceptor0( this ILambdaOnInitBuilder application, Delegate handler diff --git a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/OnInitVerifyTests.Test_OnInit_NoInput_ReturnTaskBool#LambdaHandler.g.verified.cs b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/OnInitVerifyTests.Test_OnInit_NoInput_ReturnTaskBool#LambdaHandler.g.verified.cs index 59f523ff..6345b4f7 100644 --- a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/OnInitVerifyTests.Test_OnInit_NoInput_ReturnTaskBool#LambdaHandler.g.verified.cs +++ b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/OnInitVerifyTests.Test_OnInit_NoInput_ReturnTaskBool#LambdaHandler.g.verified.cs @@ -40,7 +40,7 @@ namespace MinimalLambda.Generated [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] file static class GeneratedLambdaOnInitBuilderExtensions { - [InterceptsLocation(1, "cTRqoX+dJLMMKMOCOmOufs0AAABJbnB1dEZpbGUuY3M=")] + [InterceptsLocation(1, "REPLACED")] internal static ILambdaOnInitBuilder OnInitInterceptor0( this ILambdaOnInitBuilder application, Delegate handler diff --git a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/OnInitVerifyTests.Test_OnInit_NullableValueAndReferenceInputs#LambdaHandler.g.verified.cs b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/OnInitVerifyTests.Test_OnInit_NullableValueAndReferenceInputs#LambdaHandler.g.verified.cs index 299c2997..ec3223cf 100644 --- a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/OnInitVerifyTests.Test_OnInit_NullableValueAndReferenceInputs#LambdaHandler.g.verified.cs +++ b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/OnInitVerifyTests.Test_OnInit_NullableValueAndReferenceInputs#LambdaHandler.g.verified.cs @@ -40,7 +40,7 @@ namespace MinimalLambda.Generated [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] file static class GeneratedLambdaOnInitBuilderExtensions { - [InterceptsLocation(1, "dITS7/hnxk7n1XWH1BHx4s0AAABJbnB1dEZpbGUuY3M=")] + [InterceptsLocation(1, "REPLACED")] internal static ILambdaOnInitBuilder OnInitInterceptor0( this ILambdaOnInitBuilder application, Delegate handler diff --git a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/OnInitVerifyTests.Test_OnInit_OneOfEachPossibleKindOfInput#LambdaHandler.g.verified.cs b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/OnInitVerifyTests.Test_OnInit_OneOfEachPossibleKindOfInput#LambdaHandler.g.verified.cs index 5ae7da54..a830c064 100644 --- a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/OnInitVerifyTests.Test_OnInit_OneOfEachPossibleKindOfInput#LambdaHandler.g.verified.cs +++ b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/OnInitVerifyTests.Test_OnInit_OneOfEachPossibleKindOfInput#LambdaHandler.g.verified.cs @@ -40,7 +40,7 @@ namespace MinimalLambda.Generated [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] file static class GeneratedLambdaOnInitBuilderExtensions { - [InterceptsLocation(1, "s9lx/eNP9F4h61w7TOvQPRUBAABJbnB1dEZpbGUuY3M=")] + [InterceptsLocation(1, "REPLACED")] internal static ILambdaOnInitBuilder OnInitInterceptor0( this ILambdaOnInitBuilder application, Delegate handler diff --git a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/OnInitVerifyTests.Test_OnInit_PrimitiveInput#LambdaHandler.g.verified.cs b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/OnInitVerifyTests.Test_OnInit_PrimitiveInput#LambdaHandler.g.verified.cs index 135608df..ca085a06 100644 --- a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/OnInitVerifyTests.Test_OnInit_PrimitiveInput#LambdaHandler.g.verified.cs +++ b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/OnInitVerifyTests.Test_OnInit_PrimitiveInput#LambdaHandler.g.verified.cs @@ -40,7 +40,7 @@ namespace MinimalLambda.Generated [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] file static class GeneratedLambdaOnInitBuilderExtensions { - [InterceptsLocation(1, "8J01folJ0MDOTLxLNRx4fs0AAABJbnB1dEZpbGUuY3M=")] + [InterceptsLocation(1, "REPLACED")] internal static ILambdaOnInitBuilder OnInitInterceptor0( this ILambdaOnInitBuilder application, Delegate handler diff --git a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/OnShutdownVerifyTests.Test_OnShutdown_BlockLambda_ReturnsImplicitVoid#LambdaHandler.g.verified.cs b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/OnShutdownVerifyTests.Test_OnShutdown_BlockLambda_ReturnsImplicitVoid#LambdaHandler.g.verified.cs index 717de97f..23317bc9 100644 --- a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/OnShutdownVerifyTests.Test_OnShutdown_BlockLambda_ReturnsImplicitVoid#LambdaHandler.g.verified.cs +++ b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/OnShutdownVerifyTests.Test_OnShutdown_BlockLambda_ReturnsImplicitVoid#LambdaHandler.g.verified.cs @@ -40,7 +40,7 @@ namespace MinimalLambda.Generated [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] file static class GeneratedLambdaOnShutdownBuilderExtensions { - [InterceptsLocation(1, "lPDnfssMibsxhX79gLd2lL0AAABJbnB1dEZpbGUuY3M=")] + [InterceptsLocation(1, "REPLACED")] internal static ILambdaOnShutdownBuilder OnShutdownInterceptor0( this ILambdaOnShutdownBuilder application, Delegate handler diff --git a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/OnShutdownVerifyTests.Test_OnShutdown_MultipleCalls#LambdaHandler.g.verified.cs b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/OnShutdownVerifyTests.Test_OnShutdown_MultipleCalls#LambdaHandler.g.verified.cs index 78db57c8..b0eb71b9 100644 --- a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/OnShutdownVerifyTests.Test_OnShutdown_MultipleCalls#LambdaHandler.g.verified.cs +++ b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/OnShutdownVerifyTests.Test_OnShutdown_MultipleCalls#LambdaHandler.g.verified.cs @@ -40,7 +40,7 @@ namespace MinimalLambda.Generated [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] file static class GeneratedLambdaOnShutdownBuilderExtensions { - [InterceptsLocation(1, "W852isYQO43ObWn6kxnU5s0AAABJbnB1dEZpbGUuY3M=")] + [InterceptsLocation(1, "REPLACED")] internal static ILambdaOnShutdownBuilder OnShutdownInterceptor0( this ILambdaOnShutdownBuilder application, Delegate handler @@ -57,7 +57,7 @@ Task OnShutdown(ILambdaLifecycleContext context) } } - [InterceptsLocation(1, "W852isYQO43ObWn6kxnU5hABAABJbnB1dEZpbGUuY3M=")] + [InterceptsLocation(1, "REPLACED")] internal static ILambdaOnShutdownBuilder OnShutdownInterceptor1( this ILambdaOnShutdownBuilder application, Delegate handler @@ -78,7 +78,7 @@ Task OnShutdown(ILambdaLifecycleContext context) } } - [InterceptsLocation(1, "W852isYQO43ObWn6kxnU5nsBAABJbnB1dEZpbGUuY3M=")] + [InterceptsLocation(1, "REPLACED")] internal static ILambdaOnShutdownBuilder OnShutdownInterceptor2( this ILambdaOnShutdownBuilder application, Delegate handler diff --git a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/OnShutdownVerifyTests.Test_OnShutdown_NoInput#LambdaHandler.g.verified.cs b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/OnShutdownVerifyTests.Test_OnShutdown_NoInput#LambdaHandler.g.verified.cs index 76c0c745..1209a863 100644 --- a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/OnShutdownVerifyTests.Test_OnShutdown_NoInput#LambdaHandler.g.verified.cs +++ b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/OnShutdownVerifyTests.Test_OnShutdown_NoInput#LambdaHandler.g.verified.cs @@ -40,7 +40,7 @@ namespace MinimalLambda.Generated [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] file static class GeneratedLambdaOnShutdownBuilderExtensions { - [InterceptsLocation(1, "F/zSODBMGX3Xez9u/iwpl80AAABJbnB1dEZpbGUuY3M=")] + [InterceptsLocation(1, "REPLACED")] internal static ILambdaOnShutdownBuilder OnShutdownInterceptor0( this ILambdaOnShutdownBuilder application, Delegate handler diff --git a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/OnShutdownVerifyTests.Test_OnShutdown_NoInput_ReturnUnexpectedType#LambdaHandler.g.verified.cs b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/OnShutdownVerifyTests.Test_OnShutdown_NoInput_ReturnUnexpectedType#LambdaHandler.g.verified.cs index d291c1f7..631282f9 100644 --- a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/OnShutdownVerifyTests.Test_OnShutdown_NoInput_ReturnUnexpectedType#LambdaHandler.g.verified.cs +++ b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/OnShutdownVerifyTests.Test_OnShutdown_NoInput_ReturnUnexpectedType#LambdaHandler.g.verified.cs @@ -40,7 +40,7 @@ namespace MinimalLambda.Generated [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] file static class GeneratedLambdaOnShutdownBuilderExtensions { - [InterceptsLocation(1, "Cr7Neg3slUnAi5SjcvJU580AAABJbnB1dEZpbGUuY3M=")] + [InterceptsLocation(1, "REPLACED")] internal static ILambdaOnShutdownBuilder OnShutdownInterceptor0( this ILambdaOnShutdownBuilder application, Delegate handler diff --git a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/OnShutdownVerifyTests.Test_OnShutdown_NoInput_ReturnUnexpectedTypeAsync#LambdaHandler.g.verified.cs b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/OnShutdownVerifyTests.Test_OnShutdown_NoInput_ReturnUnexpectedTypeAsync#LambdaHandler.g.verified.cs index 225927e4..b6037784 100644 --- a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/OnShutdownVerifyTests.Test_OnShutdown_NoInput_ReturnUnexpectedTypeAsync#LambdaHandler.g.verified.cs +++ b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/OnShutdownVerifyTests.Test_OnShutdown_NoInput_ReturnUnexpectedTypeAsync#LambdaHandler.g.verified.cs @@ -40,7 +40,7 @@ namespace MinimalLambda.Generated [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] file static class GeneratedLambdaOnShutdownBuilderExtensions { - [InterceptsLocation(1, "YWaX0vtU1wLdNqf9cuGdFM0AAABJbnB1dEZpbGUuY3M=")] + [InterceptsLocation(1, "REPLACED")] internal static ILambdaOnShutdownBuilder OnShutdownInterceptor0( this ILambdaOnShutdownBuilder application, Delegate handler diff --git a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/OnShutdownVerifyTests.Test_OnShutdown_NoInput_ReturnUnexpectedTypeTask#LambdaHandler.g.verified.cs b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/OnShutdownVerifyTests.Test_OnShutdown_NoInput_ReturnUnexpectedTypeTask#LambdaHandler.g.verified.cs index b7221ab7..b6037784 100644 --- a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/OnShutdownVerifyTests.Test_OnShutdown_NoInput_ReturnUnexpectedTypeTask#LambdaHandler.g.verified.cs +++ b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/OnShutdownVerifyTests.Test_OnShutdown_NoInput_ReturnUnexpectedTypeTask#LambdaHandler.g.verified.cs @@ -40,7 +40,7 @@ namespace MinimalLambda.Generated [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] file static class GeneratedLambdaOnShutdownBuilderExtensions { - [InterceptsLocation(1, "12DeS9LwHN3iO8NwFisQBs0AAABJbnB1dEZpbGUuY3M=")] + [InterceptsLocation(1, "REPLACED")] internal static ILambdaOnShutdownBuilder OnShutdownInterceptor0( this ILambdaOnShutdownBuilder application, Delegate handler diff --git a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/OnShutdownVerifyTests.Test_OnShutdown_NullableValueAndReferenceInputs#LambdaHandler.g.verified.cs b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/OnShutdownVerifyTests.Test_OnShutdown_NullableValueAndReferenceInputs#LambdaHandler.g.verified.cs index 0831d20f..fa51e87e 100644 --- a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/OnShutdownVerifyTests.Test_OnShutdown_NullableValueAndReferenceInputs#LambdaHandler.g.verified.cs +++ b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/OnShutdownVerifyTests.Test_OnShutdown_NullableValueAndReferenceInputs#LambdaHandler.g.verified.cs @@ -40,7 +40,7 @@ namespace MinimalLambda.Generated [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] file static class GeneratedLambdaOnShutdownBuilderExtensions { - [InterceptsLocation(1, "BGCXXs9bVPwLCAUaU8Kkds0AAABJbnB1dEZpbGUuY3M=")] + [InterceptsLocation(1, "REPLACED")] internal static ILambdaOnShutdownBuilder OnShutdownInterceptor0( this ILambdaOnShutdownBuilder application, Delegate handler diff --git a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/OnShutdownVerifyTests.Test_OnShutdown_OneOfEachPossibleKindOfInput#LambdaHandler.g.verified.cs b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/OnShutdownVerifyTests.Test_OnShutdown_OneOfEachPossibleKindOfInput#LambdaHandler.g.verified.cs index f6079467..0344de1e 100644 --- a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/OnShutdownVerifyTests.Test_OnShutdown_OneOfEachPossibleKindOfInput#LambdaHandler.g.verified.cs +++ b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/OnShutdownVerifyTests.Test_OnShutdown_OneOfEachPossibleKindOfInput#LambdaHandler.g.verified.cs @@ -40,7 +40,7 @@ namespace MinimalLambda.Generated [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] file static class GeneratedLambdaOnShutdownBuilderExtensions { - [InterceptsLocation(1, "ZhdnggwSuJq0NpRZew7QhhUBAABJbnB1dEZpbGUuY3M=")] + [InterceptsLocation(1, "REPLACED")] internal static ILambdaOnShutdownBuilder OnShutdownInterceptor0( this ILambdaOnShutdownBuilder application, Delegate handler diff --git a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/OnShutdownVerifyTests.Test_OnShutdown_PrimitiveInput#LambdaHandler.g.verified.cs b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/OnShutdownVerifyTests.Test_OnShutdown_PrimitiveInput#LambdaHandler.g.verified.cs index 588b858d..452a7a3a 100644 --- a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/OnShutdownVerifyTests.Test_OnShutdown_PrimitiveInput#LambdaHandler.g.verified.cs +++ b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/OnShutdownVerifyTests.Test_OnShutdown_PrimitiveInput#LambdaHandler.g.verified.cs @@ -40,7 +40,7 @@ namespace MinimalLambda.Generated [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] file static class GeneratedLambdaOnShutdownBuilderExtensions { - [InterceptsLocation(1, "cuXlRiXWvhKK6Ao4rCbyic0AAABJbnB1dEZpbGUuY3M=")] + [InterceptsLocation(1, "REPLACED")] internal static ILambdaOnShutdownBuilder OnShutdownInterceptor0( this ILambdaOnShutdownBuilder application, Delegate handler diff --git a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/UseMiddlewareTVerifyTests.Test_MiddlewareClass_AbstractMiddleware#LambdaHandler.g.verified.cs b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/UseMiddlewareTVerifyTests.Test_MiddlewareClass_AbstractMiddleware#LambdaHandler.g.verified.cs index d8811c21..2a297b96 100644 --- a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/UseMiddlewareTVerifyTests.Test_MiddlewareClass_AbstractMiddleware#LambdaHandler.g.verified.cs +++ b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/UseMiddlewareTVerifyTests.Test_MiddlewareClass_AbstractMiddleware#LambdaHandler.g.verified.cs @@ -40,7 +40,7 @@ namespace MinimalLambda.Generated [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] file static class UseMiddlewareExtensions { - [InterceptsLocation(1, "bfS1EdqfgRl2Xr/8V7JcF9kAAABJbnB1dEZpbGUuY3M=")] + [InterceptsLocation(1, "REPLACED")] internal static ILambdaInvocationBuilder UseMiddleware0( this ILambdaInvocationBuilder builder, params object[] args diff --git a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/UseMiddlewareTVerifyTests.Test_MiddlewareClass_ComplexRealWorldScenario#LambdaHandler.g.verified.cs b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/UseMiddlewareTVerifyTests.Test_MiddlewareClass_ComplexRealWorldScenario#LambdaHandler.g.verified.cs index d4a7c81d..4aa08cd4 100644 --- a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/UseMiddlewareTVerifyTests.Test_MiddlewareClass_ComplexRealWorldScenario#LambdaHandler.g.verified.cs +++ b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/UseMiddlewareTVerifyTests.Test_MiddlewareClass_ComplexRealWorldScenario#LambdaHandler.g.verified.cs @@ -40,7 +40,7 @@ namespace MinimalLambda.Generated [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] file static class UseMiddlewareExtensions { - [InterceptsLocation(1, "kDxACCQgVpkhkOccrv1uASMBAABJbnB1dEZpbGUuY3M=")] + [InterceptsLocation(1, "REPLACED")] internal static ILambdaInvocationBuilder UseMiddleware0( this ILambdaInvocationBuilder builder, params object[] args diff --git a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/UseMiddlewareTVerifyTests.Test_MiddlewareClass_ConstructorWithArgs#LambdaHandler.g.verified.cs b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/UseMiddlewareTVerifyTests.Test_MiddlewareClass_ConstructorWithArgs#LambdaHandler.g.verified.cs index b924d3fc..deeba46f 100644 --- a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/UseMiddlewareTVerifyTests.Test_MiddlewareClass_ConstructorWithArgs#LambdaHandler.g.verified.cs +++ b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/UseMiddlewareTVerifyTests.Test_MiddlewareClass_ConstructorWithArgs#LambdaHandler.g.verified.cs @@ -40,7 +40,7 @@ namespace MinimalLambda.Generated [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] file static class UseMiddlewareExtensions { - [InterceptsLocation(1, "POU0h/pUESMeSE5RxaKDvtkAAABJbnB1dEZpbGUuY3M=")] + [InterceptsLocation(1, "REPLACED")] internal static ILambdaInvocationBuilder UseMiddleware0( this ILambdaInvocationBuilder builder, params object[] args diff --git a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/UseMiddlewareTVerifyTests.Test_MiddlewareClass_FromArgumentsAttribute#LambdaHandler.g.verified.cs b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/UseMiddlewareTVerifyTests.Test_MiddlewareClass_FromArgumentsAttribute#LambdaHandler.g.verified.cs index eb9816bf..915ae172 100644 --- a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/UseMiddlewareTVerifyTests.Test_MiddlewareClass_FromArgumentsAttribute#LambdaHandler.g.verified.cs +++ b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/UseMiddlewareTVerifyTests.Test_MiddlewareClass_FromArgumentsAttribute#LambdaHandler.g.verified.cs @@ -40,7 +40,7 @@ namespace MinimalLambda.Generated [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] file static class UseMiddlewareExtensions { - [InterceptsLocation(1, "2PY/UkDSZ0gJKBmOx8LHA/MAAABJbnB1dEZpbGUuY3M=")] + [InterceptsLocation(1, "REPLACED")] internal static ILambdaInvocationBuilder UseMiddleware0( this ILambdaInvocationBuilder builder, params object[] args diff --git a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/UseMiddlewareTVerifyTests.Test_MiddlewareClass_FromKeyedServicesAttribute#LambdaHandler.g.verified.cs b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/UseMiddlewareTVerifyTests.Test_MiddlewareClass_FromKeyedServicesAttribute#LambdaHandler.g.verified.cs index f1bca8e3..91d1033a 100644 --- a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/UseMiddlewareTVerifyTests.Test_MiddlewareClass_FromKeyedServicesAttribute#LambdaHandler.g.verified.cs +++ b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/UseMiddlewareTVerifyTests.Test_MiddlewareClass_FromKeyedServicesAttribute#LambdaHandler.g.verified.cs @@ -40,7 +40,7 @@ namespace MinimalLambda.Generated [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] file static class UseMiddlewareExtensions { - [InterceptsLocation(1, "tvudG5XDjp+n6D0V7XtOegkBAABJbnB1dEZpbGUuY3M=")] + [InterceptsLocation(1, "REPLACED")] internal static ILambdaInvocationBuilder UseMiddleware0( this ILambdaInvocationBuilder builder, params object[] args diff --git a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/UseMiddlewareTVerifyTests.Test_MiddlewareClass_FromServicesAttribute#LambdaHandler.g.verified.cs b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/UseMiddlewareTVerifyTests.Test_MiddlewareClass_FromServicesAttribute#LambdaHandler.g.verified.cs index 2c46d988..f478a616 100644 --- a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/UseMiddlewareTVerifyTests.Test_MiddlewareClass_FromServicesAttribute#LambdaHandler.g.verified.cs +++ b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/UseMiddlewareTVerifyTests.Test_MiddlewareClass_FromServicesAttribute#LambdaHandler.g.verified.cs @@ -40,7 +40,7 @@ namespace MinimalLambda.Generated [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] file static class UseMiddlewareExtensions { - [InterceptsLocation(1, "Sf77NTiY6mQYL0S/Tk+LNwkBAABJbnB1dEZpbGUuY3M=")] + [InterceptsLocation(1, "REPLACED")] internal static ILambdaInvocationBuilder UseMiddleware0( this ILambdaInvocationBuilder builder, params object[] args diff --git a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/UseMiddlewareTVerifyTests.Test_MiddlewareClass_IAsyncDisposable#LambdaHandler.g.verified.cs b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/UseMiddlewareTVerifyTests.Test_MiddlewareClass_IAsyncDisposable#LambdaHandler.g.verified.cs index e78b4f3b..2b131bfd 100644 --- a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/UseMiddlewareTVerifyTests.Test_MiddlewareClass_IAsyncDisposable#LambdaHandler.g.verified.cs +++ b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/UseMiddlewareTVerifyTests.Test_MiddlewareClass_IAsyncDisposable#LambdaHandler.g.verified.cs @@ -40,7 +40,7 @@ namespace MinimalLambda.Generated [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] file static class UseMiddlewareExtensions { - [InterceptsLocation(1, "p6F9mr5nQrDoT4xxrawd2+cAAABJbnB1dEZpbGUuY3M=")] + [InterceptsLocation(1, "REPLACED")] internal static ILambdaInvocationBuilder UseMiddleware0( this ILambdaInvocationBuilder builder, params object[] args diff --git a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/UseMiddlewareTVerifyTests.Test_MiddlewareClass_IDisposable#LambdaHandler.g.verified.cs b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/UseMiddlewareTVerifyTests.Test_MiddlewareClass_IDisposable#LambdaHandler.g.verified.cs index fefb0f8e..291e54f3 100644 --- a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/UseMiddlewareTVerifyTests.Test_MiddlewareClass_IDisposable#LambdaHandler.g.verified.cs +++ b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/UseMiddlewareTVerifyTests.Test_MiddlewareClass_IDisposable#LambdaHandler.g.verified.cs @@ -40,7 +40,7 @@ namespace MinimalLambda.Generated [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] file static class UseMiddlewareExtensions { - [InterceptsLocation(1, "lRt7PioesBPod6+JZEeC7+cAAABJbnB1dEZpbGUuY3M=")] + [InterceptsLocation(1, "REPLACED")] internal static ILambdaInvocationBuilder UseMiddleware0( this ILambdaInvocationBuilder builder, params object[] args diff --git a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/UseMiddlewareTVerifyTests.Test_MiddlewareClass_MixedParameterSources#LambdaHandler.g.verified.cs b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/UseMiddlewareTVerifyTests.Test_MiddlewareClass_MixedParameterSources#LambdaHandler.g.verified.cs index 08c97d06..9c55ad36 100644 --- a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/UseMiddlewareTVerifyTests.Test_MiddlewareClass_MixedParameterSources#LambdaHandler.g.verified.cs +++ b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/UseMiddlewareTVerifyTests.Test_MiddlewareClass_MixedParameterSources#LambdaHandler.g.verified.cs @@ -40,7 +40,7 @@ namespace MinimalLambda.Generated [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] file static class UseMiddlewareExtensions { - [InterceptsLocation(1, "pTRjukdFvWAmjtqI7hgUkQkBAABJbnB1dEZpbGUuY3M=")] + [InterceptsLocation(1, "REPLACED")] internal static ILambdaInvocationBuilder UseMiddleware0( this ILambdaInvocationBuilder builder, params object[] args diff --git a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/UseMiddlewareTVerifyTests.Test_MiddlewareClass_MultipleConstructorsAndOneWithMiddlewareConstructor#LambdaHandler.g.verified.cs b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/UseMiddlewareTVerifyTests.Test_MiddlewareClass_MultipleConstructorsAndOneWithMiddlewareConstructor#LambdaHandler.g.verified.cs index 8c770575..f7a1fe71 100644 --- a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/UseMiddlewareTVerifyTests.Test_MiddlewareClass_MultipleConstructorsAndOneWithMiddlewareConstructor#LambdaHandler.g.verified.cs +++ b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/UseMiddlewareTVerifyTests.Test_MiddlewareClass_MultipleConstructorsAndOneWithMiddlewareConstructor#LambdaHandler.g.verified.cs @@ -40,7 +40,7 @@ namespace MinimalLambda.Generated [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] file static class UseMiddlewareExtensions { - [InterceptsLocation(1, "Y0YW1Yh6hjdh+sRDAe9fDtkAAABJbnB1dEZpbGUuY3M=")] + [InterceptsLocation(1, "REPLACED")] internal static ILambdaInvocationBuilder UseMiddleware0( this ILambdaInvocationBuilder builder, params object[] args diff --git a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/UseMiddlewareTVerifyTests.Test_MiddlewareClass_NullableParameter#LambdaHandler.g.verified.cs b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/UseMiddlewareTVerifyTests.Test_MiddlewareClass_NullableParameter#LambdaHandler.g.verified.cs index a4f2232f..f6dfd7c2 100644 --- a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/UseMiddlewareTVerifyTests.Test_MiddlewareClass_NullableParameter#LambdaHandler.g.verified.cs +++ b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/UseMiddlewareTVerifyTests.Test_MiddlewareClass_NullableParameter#LambdaHandler.g.verified.cs @@ -40,7 +40,7 @@ namespace MinimalLambda.Generated [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] file static class UseMiddlewareExtensions { - [InterceptsLocation(1, "RL5SM4QdQyvDIXuCIsrd3tkAAABJbnB1dEZpbGUuY3M=")] + [InterceptsLocation(1, "REPLACED")] internal static ILambdaInvocationBuilder UseMiddleware0( this ILambdaInvocationBuilder builder, params object[] args diff --git a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/UseMiddlewareTVerifyTests.Test_MiddlewareClass_OptionalParameterWithDefaultValue#LambdaHandler.g.verified.cs b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/UseMiddlewareTVerifyTests.Test_MiddlewareClass_OptionalParameterWithDefaultValue#LambdaHandler.g.verified.cs index b4ccdca3..e4b811da 100644 --- a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/UseMiddlewareTVerifyTests.Test_MiddlewareClass_OptionalParameterWithDefaultValue#LambdaHandler.g.verified.cs +++ b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/UseMiddlewareTVerifyTests.Test_MiddlewareClass_OptionalParameterWithDefaultValue#LambdaHandler.g.verified.cs @@ -40,7 +40,7 @@ namespace MinimalLambda.Generated [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] file static class UseMiddlewareExtensions { - [InterceptsLocation(1, "OgunNbI2p9A/xk9Pbp7U99kAAABJbnB1dEZpbGUuY3M=")] + [InterceptsLocation(1, "REPLACED")] internal static ILambdaInvocationBuilder UseMiddleware0( this ILambdaInvocationBuilder builder, params object[] args diff --git a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/UseMiddlewareTVerifyTests.Test_MiddlewareClass_Simple#LambdaHandler.g.verified.cs b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/UseMiddlewareTVerifyTests.Test_MiddlewareClass_Simple#LambdaHandler.g.verified.cs index 4869aa33..f7a1fe71 100644 --- a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/UseMiddlewareTVerifyTests.Test_MiddlewareClass_Simple#LambdaHandler.g.verified.cs +++ b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/UseMiddlewareTVerifyTests.Test_MiddlewareClass_Simple#LambdaHandler.g.verified.cs @@ -40,7 +40,7 @@ namespace MinimalLambda.Generated [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] file static class UseMiddlewareExtensions { - [InterceptsLocation(1, "Yw0irwbfb7fSIvQDMI+AOdkAAABJbnB1dEZpbGUuY3M=")] + [InterceptsLocation(1, "REPLACED")] internal static ILambdaInvocationBuilder UseMiddleware0( this ILambdaInvocationBuilder builder, params object[] args diff --git a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/UseMiddlewareTVerifyTests.Test_MiddlewareClass_WithArgsArray#LambdaHandler.g.verified.cs b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/UseMiddlewareTVerifyTests.Test_MiddlewareClass_WithArgsArray#LambdaHandler.g.verified.cs index a7dd90bb..b416ec06 100644 --- a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/UseMiddlewareTVerifyTests.Test_MiddlewareClass_WithArgsArray#LambdaHandler.g.verified.cs +++ b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/UseMiddlewareTVerifyTests.Test_MiddlewareClass_WithArgsArray#LambdaHandler.g.verified.cs @@ -40,7 +40,7 @@ namespace MinimalLambda.Generated [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] file static class UseMiddlewareExtensions { - [InterceptsLocation(1, "8R28K8qJLzNQRb0o39t1a9kAAABJbnB1dEZpbGUuY3M=")] + [InterceptsLocation(1, "REPLACED")] internal static ILambdaInvocationBuilder UseMiddleware0( this ILambdaInvocationBuilder builder, params object[] args From 5ad0fa6ed0ed750277ef598d6e05325e7acbbc0d Mon Sep 17 00:00:00 2001 From: Jonas Ha Date: Sun, 21 Dec 2025 20:29:48 -0500 Subject: [PATCH 3/7] refactor(tests): simplify regex and generator instantiation in test helpers - Updated `RegexHelper.GeneratedCodeAttributeRegex` to use a simplified pattern for GeneratedCode attributes. - Refactored `GeneratorTestHelpers` to remove redundant generator arguments for clarity. - Optimized test snapshot handling logic to reduce complexity. --- .../GeneratorTestHelpers.cs | 15 +++++---------- ...da_AllInputSources#LambdaHandler.g.verified.cs | 4 ++-- ...askString_TypeCast#LambdaHandler.g.verified.cs | 4 ++-- ..._NoReturn_TypeCast#LambdaHandler.g.verified.cs | 4 ++-- ...oTypeInfo_TypeCast#LambdaHandler.g.verified.cs | 4 ++-- ...ReturnExplicitType#LambdaHandler.g.verified.cs | 4 ++-- ...rnImplicitNullable#LambdaHandler.g.verified.cs | 4 ++-- ...ambda_ReturnString#LambdaHandler.g.verified.cs | 4 ++-- ...a_ReturnTaskString#LambdaHandler.g.verified.cs | 4 ++-- ...turnsTask_TypeCast#LambdaHandler.g.verified.cs | 4 ++-- ...bda_StreamResponse#LambdaHandler.g.verified.cs | 4 ++-- ...ockLambda_TypeCast#LambdaHandler.g.verified.cs | 4 ++-- ...tFromKeyedServices#LambdaHandler.g.verified.cs | 4 ++-- ...rCancellationToken#LambdaHandler.g.verified.cs | 4 ++-- ...enAndLambdaContext#LambdaHandler.g.verified.cs | 4 ++-- ...aInvocationContext#LambdaHandler.g.verified.cs | 4 ++-- ...ReturnExplicitTask#LambdaHandler.g.verified.cs | 4 ++-- ...nput_ComplexOutput#LambdaHandler.g.verified.cs | 4 ++-- ...ambda_ExplicitVoid#LambdaHandler.g.verified.cs | 4 ++-- ...mbda_InputDi_Async#LambdaHandler.g.verified.cs | 4 ++-- ...utDi_AsyncAndAwait#LambdaHandler.g.verified.cs | 4 ++-- ...DifferentNamespace#LambdaHandler.g.verified.cs | 4 ++-- ...Lambda_InputStream#LambdaHandler.g.verified.cs | 4 ++-- ...zerSerializer_NoOp#LambdaHandler.g.verified.cs | 2 +- ..._MainOverload_NoOp#LambdaHandler.g.verified.cs | 2 +- ...a_NoInput_NoOutput#LambdaHandler.g.verified.cs | 4 ++-- ...eturnGenericObject#LambdaHandler.g.verified.cs | 4 ++-- ...nNullablePrimitive#LambdaHandler.g.verified.cs | 4 ++-- ...Input_ReturnString#LambdaHandler.g.verified.cs | 4 ++-- ...rnExplicitNullable#LambdaHandler.g.verified.cs | 4 ++-- ...rnImplicitNullable#LambdaHandler.g.verified.cs | 4 ++-- ...ReturnExplicitTask#LambdaHandler.g.verified.cs | 4 ++-- ...ReturnExplicitType#LambdaHandler.g.verified.cs | 4 ++-- ...FloatingPointTypes#LambdaHandler.g.verified.cs | 4 ++-- ...ice_IntAndLongKeys#LambdaHandler.g.verified.cs | 4 ++-- ...Service_OtherTypes#LambdaHandler.g.verified.cs | 4 ++-- ..._SmallIntegerTypes#LambdaHandler.g.verified.cs | 4 ++-- ..._StringAndEnumKeys#LambdaHandler.g.verified.cs | 4 ++-- ...signedIntegerTypes#LambdaHandler.g.verified.cs | 4 ++-- ...dHandler_AsyncVoid#LambdaHandler.g.verified.cs | 4 ++-- ...c_ReturnTaskString#LambdaHandler.g.verified.cs | 4 ++-- ...putDiKeyedServices#LambdaHandler.g.verified.cs | 4 ++-- ...BlockBody_TypeCast#LambdaHandler.g.verified.cs | 4 ++-- ...dy_TypeCast_Static#LambdaHandler.g.verified.cs | 4 ++-- ...r_NoInput_NoOutput#LambdaHandler.g.verified.cs | 4 ++-- ...Handler_ReturnTask#LambdaHandler.g.verified.cs | 4 ++-- ...r_ReturnTaskString#LambdaHandler.g.verified.cs | 4 ++-- ...t_ExtraParentheses#LambdaHandler.g.verified.cs | 4 ++-- ...nit_BaseMethodCall#LambdaHandler.g.verified.cs | 2 +- ...citReturnTypeAsync#LambdaHandler.g.verified.cs | 4 ++-- ...Handler_AsyncAndDi#LambdaHandler.g.verified.cs | 4 ++-- ...turnUnexpectedType#LambdaHandler.g.verified.cs | 4 ++-- ...MethodHandler_NoDi#LambdaHandler.g.verified.cs | 4 ++-- ...Init_MultipleCalls#LambdaHandler.g.verified.cs | 4 ++-- ...t_NoInput_NoOutput#LambdaHandler.g.verified.cs | 4 ++-- ...ut_ReturnAsyncBool#LambdaHandler.g.verified.cs | 4 ++-- ...NoInput_ReturnBool#LambdaHandler.g.verified.cs | 4 ++-- ...urnNotExpectedType#LambdaHandler.g.verified.cs | 4 ++-- ...tExpectedTypeAsync#LambdaHandler.g.verified.cs | 4 ++-- ...otExpectedTypeTask#LambdaHandler.g.verified.cs | 4 ++-- ...put_ReturnTaskBool#LambdaHandler.g.verified.cs | 4 ++-- ...AndReferenceInputs#LambdaHandler.g.verified.cs | 4 ++-- ...ossibleKindOfInput#LambdaHandler.g.verified.cs | 4 ++-- ...nit_PrimitiveInput#LambdaHandler.g.verified.cs | 4 ++-- ...own_BaseMethodCall#LambdaHandler.g.verified.cs | 2 +- ...eturnsImplicitVoid#LambdaHandler.g.verified.cs | 4 ++-- ...down_MultipleCalls#LambdaHandler.g.verified.cs | 4 ++-- ...OnShutdown_NoInput#LambdaHandler.g.verified.cs | 4 ++-- ...turnUnexpectedType#LambdaHandler.g.verified.cs | 4 ++-- ...nexpectedTypeAsync#LambdaHandler.g.verified.cs | 4 ++-- ...UnexpectedTypeTask#LambdaHandler.g.verified.cs | 4 ++-- ...AndReferenceInputs#LambdaHandler.g.verified.cs | 4 ++-- ...ossibleKindOfInput#LambdaHandler.g.verified.cs | 4 ++-- ...own_PrimitiveInput#LambdaHandler.g.verified.cs | 4 ++-- ...AbstractMiddleware#LambdaHandler.g.verified.cs | 4 ++-- ...xRealWorldScenario#LambdaHandler.g.verified.cs | 4 ++-- ...onstructorWithArgs#LambdaHandler.g.verified.cs | 4 ++-- ...ArgumentsAttribute#LambdaHandler.g.verified.cs | 4 ++-- ...dServicesAttribute#LambdaHandler.g.verified.cs | 4 ++-- ...mServicesAttribute#LambdaHandler.g.verified.cs | 4 ++-- ...s_IAsyncDisposable#LambdaHandler.g.verified.cs | 4 ++-- ...eClass_IDisposable#LambdaHandler.g.verified.cs | 4 ++-- ...edParameterSources#LambdaHandler.g.verified.cs | 4 ++-- ...dlewareConstructor#LambdaHandler.g.verified.cs | 4 ++-- ..._NullableParameter#LambdaHandler.g.verified.cs | 4 ++-- ...erWithDefaultValue#LambdaHandler.g.verified.cs | 4 ++-- ...lewareClass_Simple#LambdaHandler.g.verified.cs | 4 ++-- ...lass_WithArgsArray#LambdaHandler.g.verified.cs | 4 ++-- 88 files changed, 175 insertions(+), 180 deletions(-) diff --git a/tests/MinimalLambda.SourceGenerators.UnitTests/GeneratorTestHelpers.cs b/tests/MinimalLambda.SourceGenerators.UnitTests/GeneratorTestHelpers.cs index a42e8786..7f57e208 100644 --- a/tests/MinimalLambda.SourceGenerators.UnitTests/GeneratorTestHelpers.cs +++ b/tests/MinimalLambda.SourceGenerators.UnitTests/GeneratorTestHelpers.cs @@ -63,7 +63,9 @@ internal static Task Verify(string source, int expectedTrees = 1) { // replace [GeneratedCode("MinimalLambda.SourceGenerators", "0.0.0")] if (line.Contains("GeneratedCode", StringComparison.Ordinal)) - return RegexHelper.GeneratedCodeAttributeRegex().Replace(line, "REPLACED"); + return RegexHelper + .GeneratedCodeAttributeRegex() + .Replace(line, @"[GeneratedCode(""REPLACED"", ""REPLACED"")]"); // replace [InterceptsLocation(1, "")] if (line.Contains("InterceptsLocation", StringComparison.Ordinal)) @@ -122,10 +124,7 @@ .. Net90.References.All.ToList(), compilationOptions ); - var generator = new MapHandlerIncrementalGenerator( - "MinimalLambda.SourceGenerators", - "0.0.0" - ).AsSourceGenerator(); + var generator = new MapHandlerIncrementalGenerator().AsSourceGenerator(); var driver = CSharpGeneratorDriver.Create(generator); var updatedDriver = driver.RunGenerators(compilation, CancellationToken.None); @@ -136,11 +135,7 @@ .. Net90.References.All.ToList(), internal partial class RegexHelper { - [GeneratedRegex( - """(?<=\[GeneratedCode\("MinimalLambda\.SourceGenerators", ")([\d.]+)(?="\)\])""", - RegexOptions.None, - "en-US" - )] + [GeneratedRegex("""\[GeneratedCode\("([^"]+)",\s*"([^"]+)"\)\]""", RegexOptions.None, "en-US")] internal static partial Regex GeneratedCodeAttributeRegex(); [GeneratedRegex( diff --git a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/BlockLambdaVerifyTests.Test_BlockLambda_AllInputSources#LambdaHandler.g.verified.cs b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/BlockLambdaVerifyTests.Test_BlockLambda_AllInputSources#LambdaHandler.g.verified.cs index e0933a17..f1d60061 100644 --- a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/BlockLambdaVerifyTests.Test_BlockLambda_AllInputSources#LambdaHandler.g.verified.cs +++ b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/BlockLambdaVerifyTests.Test_BlockLambda_AllInputSources#LambdaHandler.g.verified.cs @@ -16,7 +16,7 @@ namespace System.Runtime.CompilerServices { using System.CodeDom.Compiler; - [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] + [GeneratedCode("REPLACED", "REPLACED")] [AttributeUsage(AttributeTargets.Method, AllowMultiple = true)] file sealed class InterceptsLocationAttribute : Attribute { @@ -37,7 +37,7 @@ namespace MinimalLambda.Generated using MinimalLambda; using MinimalLambda.Builder; - [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] + [GeneratedCode("REPLACED", "REPLACED")] file static class GeneratedLambdaInvocationBuilderExtensions { private const string EventFeatureProviderKey = "__EventFeatureProvider"; diff --git a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/BlockLambdaVerifyTests.Test_BlockLambda_Async_ReturnTaskString_TypeCast#LambdaHandler.g.verified.cs b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/BlockLambdaVerifyTests.Test_BlockLambda_Async_ReturnTaskString_TypeCast#LambdaHandler.g.verified.cs index c286cf22..d4bb3919 100644 --- a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/BlockLambdaVerifyTests.Test_BlockLambda_Async_ReturnTaskString_TypeCast#LambdaHandler.g.verified.cs +++ b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/BlockLambdaVerifyTests.Test_BlockLambda_Async_ReturnTaskString_TypeCast#LambdaHandler.g.verified.cs @@ -16,7 +16,7 @@ namespace System.Runtime.CompilerServices { using System.CodeDom.Compiler; - [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] + [GeneratedCode("REPLACED", "REPLACED")] [AttributeUsage(AttributeTargets.Method, AllowMultiple = true)] file sealed class InterceptsLocationAttribute : Attribute { @@ -37,7 +37,7 @@ namespace MinimalLambda.Generated using MinimalLambda; using MinimalLambda.Builder; - [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] + [GeneratedCode("REPLACED", "REPLACED")] file static class GeneratedLambdaInvocationBuilderExtensions { private const string EventFeatureProviderKey = "__EventFeatureProvider"; diff --git a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/BlockLambdaVerifyTests.Test_BlockLambda_NoReturn_TypeCast#LambdaHandler.g.verified.cs b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/BlockLambdaVerifyTests.Test_BlockLambda_NoReturn_TypeCast#LambdaHandler.g.verified.cs index 2c6f1863..de597596 100644 --- a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/BlockLambdaVerifyTests.Test_BlockLambda_NoReturn_TypeCast#LambdaHandler.g.verified.cs +++ b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/BlockLambdaVerifyTests.Test_BlockLambda_NoReturn_TypeCast#LambdaHandler.g.verified.cs @@ -16,7 +16,7 @@ namespace System.Runtime.CompilerServices { using System.CodeDom.Compiler; - [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] + [GeneratedCode("REPLACED", "REPLACED")] [AttributeUsage(AttributeTargets.Method, AllowMultiple = true)] file sealed class InterceptsLocationAttribute : Attribute { @@ -37,7 +37,7 @@ namespace MinimalLambda.Generated using MinimalLambda; using MinimalLambda.Builder; - [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] + [GeneratedCode("REPLACED", "REPLACED")] file static class GeneratedLambdaInvocationBuilderExtensions { private const string EventFeatureProviderKey = "__EventFeatureProvider"; diff --git a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/BlockLambdaVerifyTests.Test_BlockLambda_NoTypeInfo_TypeCast#LambdaHandler.g.verified.cs b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/BlockLambdaVerifyTests.Test_BlockLambda_NoTypeInfo_TypeCast#LambdaHandler.g.verified.cs index 19fc95bd..f7661219 100644 --- a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/BlockLambdaVerifyTests.Test_BlockLambda_NoTypeInfo_TypeCast#LambdaHandler.g.verified.cs +++ b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/BlockLambdaVerifyTests.Test_BlockLambda_NoTypeInfo_TypeCast#LambdaHandler.g.verified.cs @@ -16,7 +16,7 @@ namespace System.Runtime.CompilerServices { using System.CodeDom.Compiler; - [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] + [GeneratedCode("REPLACED", "REPLACED")] [AttributeUsage(AttributeTargets.Method, AllowMultiple = true)] file sealed class InterceptsLocationAttribute : Attribute { @@ -37,7 +37,7 @@ namespace MinimalLambda.Generated using MinimalLambda; using MinimalLambda.Builder; - [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] + [GeneratedCode("REPLACED", "REPLACED")] file static class GeneratedLambdaInvocationBuilderExtensions { private const string EventFeatureProviderKey = "__EventFeatureProvider"; diff --git a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/BlockLambdaVerifyTests.Test_BlockLambda_ReturnExplicitType#LambdaHandler.g.verified.cs b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/BlockLambdaVerifyTests.Test_BlockLambda_ReturnExplicitType#LambdaHandler.g.verified.cs index 7faac1b7..8bba7416 100644 --- a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/BlockLambdaVerifyTests.Test_BlockLambda_ReturnExplicitType#LambdaHandler.g.verified.cs +++ b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/BlockLambdaVerifyTests.Test_BlockLambda_ReturnExplicitType#LambdaHandler.g.verified.cs @@ -16,7 +16,7 @@ namespace System.Runtime.CompilerServices { using System.CodeDom.Compiler; - [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] + [GeneratedCode("REPLACED", "REPLACED")] [AttributeUsage(AttributeTargets.Method, AllowMultiple = true)] file sealed class InterceptsLocationAttribute : Attribute { @@ -37,7 +37,7 @@ namespace MinimalLambda.Generated using MinimalLambda; using MinimalLambda.Builder; - [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] + [GeneratedCode("REPLACED", "REPLACED")] file static class GeneratedLambdaInvocationBuilderExtensions { private const string EventFeatureProviderKey = "__EventFeatureProvider"; diff --git a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/BlockLambdaVerifyTests.Test_BlockLambda_ReturnImplicitNullable#LambdaHandler.g.verified.cs b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/BlockLambdaVerifyTests.Test_BlockLambda_ReturnImplicitNullable#LambdaHandler.g.verified.cs index f887a8be..0683f553 100644 --- a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/BlockLambdaVerifyTests.Test_BlockLambda_ReturnImplicitNullable#LambdaHandler.g.verified.cs +++ b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/BlockLambdaVerifyTests.Test_BlockLambda_ReturnImplicitNullable#LambdaHandler.g.verified.cs @@ -16,7 +16,7 @@ namespace System.Runtime.CompilerServices { using System.CodeDom.Compiler; - [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] + [GeneratedCode("REPLACED", "REPLACED")] [AttributeUsage(AttributeTargets.Method, AllowMultiple = true)] file sealed class InterceptsLocationAttribute : Attribute { @@ -37,7 +37,7 @@ namespace MinimalLambda.Generated using MinimalLambda; using MinimalLambda.Builder; - [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] + [GeneratedCode("REPLACED", "REPLACED")] file static class GeneratedLambdaInvocationBuilderExtensions { private const string EventFeatureProviderKey = "__EventFeatureProvider"; diff --git a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/BlockLambdaVerifyTests.Test_BlockLambda_ReturnString#LambdaHandler.g.verified.cs b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/BlockLambdaVerifyTests.Test_BlockLambda_ReturnString#LambdaHandler.g.verified.cs index 056586bc..1d3032cf 100644 --- a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/BlockLambdaVerifyTests.Test_BlockLambda_ReturnString#LambdaHandler.g.verified.cs +++ b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/BlockLambdaVerifyTests.Test_BlockLambda_ReturnString#LambdaHandler.g.verified.cs @@ -16,7 +16,7 @@ namespace System.Runtime.CompilerServices { using System.CodeDom.Compiler; - [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] + [GeneratedCode("REPLACED", "REPLACED")] [AttributeUsage(AttributeTargets.Method, AllowMultiple = true)] file sealed class InterceptsLocationAttribute : Attribute { @@ -37,7 +37,7 @@ namespace MinimalLambda.Generated using MinimalLambda; using MinimalLambda.Builder; - [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] + [GeneratedCode("REPLACED", "REPLACED")] file static class GeneratedLambdaInvocationBuilderExtensions { private const string EventFeatureProviderKey = "__EventFeatureProvider"; diff --git a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/BlockLambdaVerifyTests.Test_BlockLambda_ReturnTaskString#LambdaHandler.g.verified.cs b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/BlockLambdaVerifyTests.Test_BlockLambda_ReturnTaskString#LambdaHandler.g.verified.cs index c286cf22..d4bb3919 100644 --- a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/BlockLambdaVerifyTests.Test_BlockLambda_ReturnTaskString#LambdaHandler.g.verified.cs +++ b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/BlockLambdaVerifyTests.Test_BlockLambda_ReturnTaskString#LambdaHandler.g.verified.cs @@ -16,7 +16,7 @@ namespace System.Runtime.CompilerServices { using System.CodeDom.Compiler; - [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] + [GeneratedCode("REPLACED", "REPLACED")] [AttributeUsage(AttributeTargets.Method, AllowMultiple = true)] file sealed class InterceptsLocationAttribute : Attribute { @@ -37,7 +37,7 @@ namespace MinimalLambda.Generated using MinimalLambda; using MinimalLambda.Builder; - [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] + [GeneratedCode("REPLACED", "REPLACED")] file static class GeneratedLambdaInvocationBuilderExtensions { private const string EventFeatureProviderKey = "__EventFeatureProvider"; diff --git a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/BlockLambdaVerifyTests.Test_BlockLambda_ReturnsTask_TypeCast#LambdaHandler.g.verified.cs b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/BlockLambdaVerifyTests.Test_BlockLambda_ReturnsTask_TypeCast#LambdaHandler.g.verified.cs index b51d727c..d7e4afc6 100644 --- a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/BlockLambdaVerifyTests.Test_BlockLambda_ReturnsTask_TypeCast#LambdaHandler.g.verified.cs +++ b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/BlockLambdaVerifyTests.Test_BlockLambda_ReturnsTask_TypeCast#LambdaHandler.g.verified.cs @@ -16,7 +16,7 @@ namespace System.Runtime.CompilerServices { using System.CodeDom.Compiler; - [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] + [GeneratedCode("REPLACED", "REPLACED")] [AttributeUsage(AttributeTargets.Method, AllowMultiple = true)] file sealed class InterceptsLocationAttribute : Attribute { @@ -37,7 +37,7 @@ namespace MinimalLambda.Generated using MinimalLambda; using MinimalLambda.Builder; - [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] + [GeneratedCode("REPLACED", "REPLACED")] file static class GeneratedLambdaInvocationBuilderExtensions { private const string EventFeatureProviderKey = "__EventFeatureProvider"; diff --git a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/BlockLambdaVerifyTests.Test_BlockLambda_StreamResponse#LambdaHandler.g.verified.cs b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/BlockLambdaVerifyTests.Test_BlockLambda_StreamResponse#LambdaHandler.g.verified.cs index fcbbb9a4..21a65cd0 100644 --- a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/BlockLambdaVerifyTests.Test_BlockLambda_StreamResponse#LambdaHandler.g.verified.cs +++ b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/BlockLambdaVerifyTests.Test_BlockLambda_StreamResponse#LambdaHandler.g.verified.cs @@ -16,7 +16,7 @@ namespace System.Runtime.CompilerServices { using System.CodeDom.Compiler; - [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] + [GeneratedCode("REPLACED", "REPLACED")] [AttributeUsage(AttributeTargets.Method, AllowMultiple = true)] file sealed class InterceptsLocationAttribute : Attribute { @@ -37,7 +37,7 @@ namespace MinimalLambda.Generated using MinimalLambda; using MinimalLambda.Builder; - [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] + [GeneratedCode("REPLACED", "REPLACED")] file static class GeneratedLambdaInvocationBuilderExtensions { private const string EventFeatureProviderKey = "__EventFeatureProvider"; diff --git a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/BlockLambdaVerifyTests.Test_BlockLambda_TypeCast#LambdaHandler.g.verified.cs b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/BlockLambdaVerifyTests.Test_BlockLambda_TypeCast#LambdaHandler.g.verified.cs index d2117e31..db04245c 100644 --- a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/BlockLambdaVerifyTests.Test_BlockLambda_TypeCast#LambdaHandler.g.verified.cs +++ b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/BlockLambdaVerifyTests.Test_BlockLambda_TypeCast#LambdaHandler.g.verified.cs @@ -16,7 +16,7 @@ namespace System.Runtime.CompilerServices { using System.CodeDom.Compiler; - [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] + [GeneratedCode("REPLACED", "REPLACED")] [AttributeUsage(AttributeTargets.Method, AllowMultiple = true)] file sealed class InterceptsLocationAttribute : Attribute { @@ -37,7 +37,7 @@ namespace MinimalLambda.Generated using MinimalLambda; using MinimalLambda.Builder; - [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] + [GeneratedCode("REPLACED", "REPLACED")] file static class GeneratedLambdaInvocationBuilderExtensions { private const string EventFeatureProviderKey = "__EventFeatureProvider"; diff --git a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/BlockLambdaVerifyTests.Test_BlockLambda_TypeCast_InputFromKeyedServices#LambdaHandler.g.verified.cs b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/BlockLambdaVerifyTests.Test_BlockLambda_TypeCast_InputFromKeyedServices#LambdaHandler.g.verified.cs index 4d927517..bc7019dc 100644 --- a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/BlockLambdaVerifyTests.Test_BlockLambda_TypeCast_InputFromKeyedServices#LambdaHandler.g.verified.cs +++ b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/BlockLambdaVerifyTests.Test_BlockLambda_TypeCast_InputFromKeyedServices#LambdaHandler.g.verified.cs @@ -16,7 +16,7 @@ namespace System.Runtime.CompilerServices { using System.CodeDom.Compiler; - [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] + [GeneratedCode("REPLACED", "REPLACED")] [AttributeUsage(AttributeTargets.Method, AllowMultiple = true)] file sealed class InterceptsLocationAttribute : Attribute { @@ -37,7 +37,7 @@ namespace MinimalLambda.Generated using MinimalLambda; using MinimalLambda.Builder; - [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] + [GeneratedCode("REPLACED", "REPLACED")] file static class GeneratedLambdaInvocationBuilderExtensions { private const string EventFeatureProviderKey = "__EventFeatureProvider"; diff --git a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/ExpressionLambdaVerifyTests.Test_ExpressionLambda_AsksForCancellationToken#LambdaHandler.g.verified.cs b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/ExpressionLambdaVerifyTests.Test_ExpressionLambda_AsksForCancellationToken#LambdaHandler.g.verified.cs index a99cea4f..f1e15166 100644 --- a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/ExpressionLambdaVerifyTests.Test_ExpressionLambda_AsksForCancellationToken#LambdaHandler.g.verified.cs +++ b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/ExpressionLambdaVerifyTests.Test_ExpressionLambda_AsksForCancellationToken#LambdaHandler.g.verified.cs @@ -16,7 +16,7 @@ namespace System.Runtime.CompilerServices { using System.CodeDom.Compiler; - [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] + [GeneratedCode("REPLACED", "REPLACED")] [AttributeUsage(AttributeTargets.Method, AllowMultiple = true)] file sealed class InterceptsLocationAttribute : Attribute { @@ -37,7 +37,7 @@ namespace MinimalLambda.Generated using MinimalLambda; using MinimalLambda.Builder; - [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] + [GeneratedCode("REPLACED", "REPLACED")] file static class GeneratedLambdaInvocationBuilderExtensions { private const string EventFeatureProviderKey = "__EventFeatureProvider"; diff --git a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/ExpressionLambdaVerifyTests.Test_ExpressionLambda_AsksForCancellationTokenAndLambdaContext#LambdaHandler.g.verified.cs b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/ExpressionLambdaVerifyTests.Test_ExpressionLambda_AsksForCancellationTokenAndLambdaContext#LambdaHandler.g.verified.cs index dcada9a6..0d702ffd 100644 --- a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/ExpressionLambdaVerifyTests.Test_ExpressionLambda_AsksForCancellationTokenAndLambdaContext#LambdaHandler.g.verified.cs +++ b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/ExpressionLambdaVerifyTests.Test_ExpressionLambda_AsksForCancellationTokenAndLambdaContext#LambdaHandler.g.verified.cs @@ -16,7 +16,7 @@ namespace System.Runtime.CompilerServices { using System.CodeDom.Compiler; - [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] + [GeneratedCode("REPLACED", "REPLACED")] [AttributeUsage(AttributeTargets.Method, AllowMultiple = true)] file sealed class InterceptsLocationAttribute : Attribute { @@ -37,7 +37,7 @@ namespace MinimalLambda.Generated using MinimalLambda; using MinimalLambda.Builder; - [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] + [GeneratedCode("REPLACED", "REPLACED")] file static class GeneratedLambdaInvocationBuilderExtensions { private const string EventFeatureProviderKey = "__EventFeatureProvider"; diff --git a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/ExpressionLambdaVerifyTests.Test_ExpressionLambda_AsksForCancellationTokenAndLambdaInvocationContext#LambdaHandler.g.verified.cs b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/ExpressionLambdaVerifyTests.Test_ExpressionLambda_AsksForCancellationTokenAndLambdaInvocationContext#LambdaHandler.g.verified.cs index 6e21a446..3e603b9a 100644 --- a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/ExpressionLambdaVerifyTests.Test_ExpressionLambda_AsksForCancellationTokenAndLambdaInvocationContext#LambdaHandler.g.verified.cs +++ b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/ExpressionLambdaVerifyTests.Test_ExpressionLambda_AsksForCancellationTokenAndLambdaInvocationContext#LambdaHandler.g.verified.cs @@ -16,7 +16,7 @@ namespace System.Runtime.CompilerServices { using System.CodeDom.Compiler; - [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] + [GeneratedCode("REPLACED", "REPLACED")] [AttributeUsage(AttributeTargets.Method, AllowMultiple = true)] file sealed class InterceptsLocationAttribute : Attribute { @@ -37,7 +37,7 @@ namespace MinimalLambda.Generated using MinimalLambda; using MinimalLambda.Builder; - [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] + [GeneratedCode("REPLACED", "REPLACED")] file static class GeneratedLambdaInvocationBuilderExtensions { private const string EventFeatureProviderKey = "__EventFeatureProvider"; diff --git a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/ExpressionLambdaVerifyTests.Test_ExpressionLambda_Async_ReturnExplicitTask#LambdaHandler.g.verified.cs b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/ExpressionLambdaVerifyTests.Test_ExpressionLambda_Async_ReturnExplicitTask#LambdaHandler.g.verified.cs index b51d727c..d7e4afc6 100644 --- a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/ExpressionLambdaVerifyTests.Test_ExpressionLambda_Async_ReturnExplicitTask#LambdaHandler.g.verified.cs +++ b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/ExpressionLambdaVerifyTests.Test_ExpressionLambda_Async_ReturnExplicitTask#LambdaHandler.g.verified.cs @@ -16,7 +16,7 @@ namespace System.Runtime.CompilerServices { using System.CodeDom.Compiler; - [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] + [GeneratedCode("REPLACED", "REPLACED")] [AttributeUsage(AttributeTargets.Method, AllowMultiple = true)] file sealed class InterceptsLocationAttribute : Attribute { @@ -37,7 +37,7 @@ namespace MinimalLambda.Generated using MinimalLambda; using MinimalLambda.Builder; - [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] + [GeneratedCode("REPLACED", "REPLACED")] file static class GeneratedLambdaInvocationBuilderExtensions { private const string EventFeatureProviderKey = "__EventFeatureProvider"; diff --git a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/ExpressionLambdaVerifyTests.Test_ExpressionLambda_ComplexInput_ComplexOutput#LambdaHandler.g.verified.cs b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/ExpressionLambdaVerifyTests.Test_ExpressionLambda_ComplexInput_ComplexOutput#LambdaHandler.g.verified.cs index fdee7fed..46ccb91f 100644 --- a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/ExpressionLambdaVerifyTests.Test_ExpressionLambda_ComplexInput_ComplexOutput#LambdaHandler.g.verified.cs +++ b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/ExpressionLambdaVerifyTests.Test_ExpressionLambda_ComplexInput_ComplexOutput#LambdaHandler.g.verified.cs @@ -16,7 +16,7 @@ namespace System.Runtime.CompilerServices { using System.CodeDom.Compiler; - [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] + [GeneratedCode("REPLACED", "REPLACED")] [AttributeUsage(AttributeTargets.Method, AllowMultiple = true)] file sealed class InterceptsLocationAttribute : Attribute { @@ -37,7 +37,7 @@ namespace MinimalLambda.Generated using MinimalLambda; using MinimalLambda.Builder; - [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] + [GeneratedCode("REPLACED", "REPLACED")] file static class GeneratedLambdaInvocationBuilderExtensions { private const string EventFeatureProviderKey = "__EventFeatureProvider"; diff --git a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/ExpressionLambdaVerifyTests.Test_ExpressionLambda_ExplicitVoid#LambdaHandler.g.verified.cs b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/ExpressionLambdaVerifyTests.Test_ExpressionLambda_ExplicitVoid#LambdaHandler.g.verified.cs index d2e27f8e..f149a7e6 100644 --- a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/ExpressionLambdaVerifyTests.Test_ExpressionLambda_ExplicitVoid#LambdaHandler.g.verified.cs +++ b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/ExpressionLambdaVerifyTests.Test_ExpressionLambda_ExplicitVoid#LambdaHandler.g.verified.cs @@ -16,7 +16,7 @@ namespace System.Runtime.CompilerServices { using System.CodeDom.Compiler; - [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] + [GeneratedCode("REPLACED", "REPLACED")] [AttributeUsage(AttributeTargets.Method, AllowMultiple = true)] file sealed class InterceptsLocationAttribute : Attribute { @@ -37,7 +37,7 @@ namespace MinimalLambda.Generated using MinimalLambda; using MinimalLambda.Builder; - [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] + [GeneratedCode("REPLACED", "REPLACED")] file static class GeneratedLambdaInvocationBuilderExtensions { private const string EventFeatureProviderKey = "__EventFeatureProvider"; diff --git a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/ExpressionLambdaVerifyTests.Test_ExpressionLambda_InputDi_Async#LambdaHandler.g.verified.cs b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/ExpressionLambdaVerifyTests.Test_ExpressionLambda_InputDi_Async#LambdaHandler.g.verified.cs index 95d06f11..a3d3de41 100644 --- a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/ExpressionLambdaVerifyTests.Test_ExpressionLambda_InputDi_Async#LambdaHandler.g.verified.cs +++ b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/ExpressionLambdaVerifyTests.Test_ExpressionLambda_InputDi_Async#LambdaHandler.g.verified.cs @@ -16,7 +16,7 @@ namespace System.Runtime.CompilerServices { using System.CodeDom.Compiler; - [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] + [GeneratedCode("REPLACED", "REPLACED")] [AttributeUsage(AttributeTargets.Method, AllowMultiple = true)] file sealed class InterceptsLocationAttribute : Attribute { @@ -37,7 +37,7 @@ namespace MinimalLambda.Generated using MinimalLambda; using MinimalLambda.Builder; - [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] + [GeneratedCode("REPLACED", "REPLACED")] file static class GeneratedLambdaInvocationBuilderExtensions { private const string EventFeatureProviderKey = "__EventFeatureProvider"; diff --git a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/ExpressionLambdaVerifyTests.Test_ExpressionLambda_InputDi_AsyncAndAwait#LambdaHandler.g.verified.cs b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/ExpressionLambdaVerifyTests.Test_ExpressionLambda_InputDi_AsyncAndAwait#LambdaHandler.g.verified.cs index 95d06f11..a3d3de41 100644 --- a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/ExpressionLambdaVerifyTests.Test_ExpressionLambda_InputDi_AsyncAndAwait#LambdaHandler.g.verified.cs +++ b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/ExpressionLambdaVerifyTests.Test_ExpressionLambda_InputDi_AsyncAndAwait#LambdaHandler.g.verified.cs @@ -16,7 +16,7 @@ namespace System.Runtime.CompilerServices { using System.CodeDom.Compiler; - [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] + [GeneratedCode("REPLACED", "REPLACED")] [AttributeUsage(AttributeTargets.Method, AllowMultiple = true)] file sealed class InterceptsLocationAttribute : Attribute { @@ -37,7 +37,7 @@ namespace MinimalLambda.Generated using MinimalLambda; using MinimalLambda.Builder; - [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] + [GeneratedCode("REPLACED", "REPLACED")] file static class GeneratedLambdaInvocationBuilderExtensions { private const string EventFeatureProviderKey = "__EventFeatureProvider"; diff --git a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/ExpressionLambdaVerifyTests.Test_ExpressionLambda_InputDi_AsyncAndAwait_EventAndResponseDifferentNamespace#LambdaHandler.g.verified.cs b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/ExpressionLambdaVerifyTests.Test_ExpressionLambda_InputDi_AsyncAndAwait_EventAndResponseDifferentNamespace#LambdaHandler.g.verified.cs index e0fadde3..fd35bc12 100644 --- a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/ExpressionLambdaVerifyTests.Test_ExpressionLambda_InputDi_AsyncAndAwait_EventAndResponseDifferentNamespace#LambdaHandler.g.verified.cs +++ b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/ExpressionLambdaVerifyTests.Test_ExpressionLambda_InputDi_AsyncAndAwait_EventAndResponseDifferentNamespace#LambdaHandler.g.verified.cs @@ -16,7 +16,7 @@ namespace System.Runtime.CompilerServices { using System.CodeDom.Compiler; - [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] + [GeneratedCode("REPLACED", "REPLACED")] [AttributeUsage(AttributeTargets.Method, AllowMultiple = true)] file sealed class InterceptsLocationAttribute : Attribute { @@ -37,7 +37,7 @@ namespace MinimalLambda.Generated using MinimalLambda; using MinimalLambda.Builder; - [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] + [GeneratedCode("REPLACED", "REPLACED")] file static class GeneratedLambdaInvocationBuilderExtensions { private const string EventFeatureProviderKey = "__EventFeatureProvider"; diff --git a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/ExpressionLambdaVerifyTests.Test_ExpressionLambda_InputStream#LambdaHandler.g.verified.cs b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/ExpressionLambdaVerifyTests.Test_ExpressionLambda_InputStream#LambdaHandler.g.verified.cs index 05291806..2c24753c 100644 --- a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/ExpressionLambdaVerifyTests.Test_ExpressionLambda_InputStream#LambdaHandler.g.verified.cs +++ b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/ExpressionLambdaVerifyTests.Test_ExpressionLambda_InputStream#LambdaHandler.g.verified.cs @@ -16,7 +16,7 @@ namespace System.Runtime.CompilerServices { using System.CodeDom.Compiler; - [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] + [GeneratedCode("REPLACED", "REPLACED")] [AttributeUsage(AttributeTargets.Method, AllowMultiple = true)] file sealed class InterceptsLocationAttribute : Attribute { @@ -37,7 +37,7 @@ namespace MinimalLambda.Generated using MinimalLambda; using MinimalLambda.Builder; - [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] + [GeneratedCode("REPLACED", "REPLACED")] file static class GeneratedLambdaInvocationBuilderExtensions { private const string EventFeatureProviderKey = "__EventFeatureProvider"; diff --git a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/ExpressionLambdaVerifyTests.Test_ExpressionLambda_MainOverload_DeserializerSerializer_NoOp#LambdaHandler.g.verified.cs b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/ExpressionLambdaVerifyTests.Test_ExpressionLambda_MainOverload_DeserializerSerializer_NoOp#LambdaHandler.g.verified.cs index 6140e606..b500911d 100644 --- a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/ExpressionLambdaVerifyTests.Test_ExpressionLambda_MainOverload_DeserializerSerializer_NoOp#LambdaHandler.g.verified.cs +++ b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/ExpressionLambdaVerifyTests.Test_ExpressionLambda_MainOverload_DeserializerSerializer_NoOp#LambdaHandler.g.verified.cs @@ -16,7 +16,7 @@ namespace System.Runtime.CompilerServices { using System.CodeDom.Compiler; - [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] + [GeneratedCode("REPLACED", "REPLACED")] [AttributeUsage(AttributeTargets.Method, AllowMultiple = true)] file sealed class InterceptsLocationAttribute : Attribute { diff --git a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/ExpressionLambdaVerifyTests.Test_ExpressionLambda_MainOverload_NoOp#LambdaHandler.g.verified.cs b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/ExpressionLambdaVerifyTests.Test_ExpressionLambda_MainOverload_NoOp#LambdaHandler.g.verified.cs index 6140e606..b500911d 100644 --- a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/ExpressionLambdaVerifyTests.Test_ExpressionLambda_MainOverload_NoOp#LambdaHandler.g.verified.cs +++ b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/ExpressionLambdaVerifyTests.Test_ExpressionLambda_MainOverload_NoOp#LambdaHandler.g.verified.cs @@ -16,7 +16,7 @@ namespace System.Runtime.CompilerServices { using System.CodeDom.Compiler; - [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] + [GeneratedCode("REPLACED", "REPLACED")] [AttributeUsage(AttributeTargets.Method, AllowMultiple = true)] file sealed class InterceptsLocationAttribute : Attribute { diff --git a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/ExpressionLambdaVerifyTests.Test_ExpressionLambda_NoInput_NoOutput#LambdaHandler.g.verified.cs b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/ExpressionLambdaVerifyTests.Test_ExpressionLambda_NoInput_NoOutput#LambdaHandler.g.verified.cs index d2e27f8e..f149a7e6 100644 --- a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/ExpressionLambdaVerifyTests.Test_ExpressionLambda_NoInput_NoOutput#LambdaHandler.g.verified.cs +++ b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/ExpressionLambdaVerifyTests.Test_ExpressionLambda_NoInput_NoOutput#LambdaHandler.g.verified.cs @@ -16,7 +16,7 @@ namespace System.Runtime.CompilerServices { using System.CodeDom.Compiler; - [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] + [GeneratedCode("REPLACED", "REPLACED")] [AttributeUsage(AttributeTargets.Method, AllowMultiple = true)] file sealed class InterceptsLocationAttribute : Attribute { @@ -37,7 +37,7 @@ namespace MinimalLambda.Generated using MinimalLambda; using MinimalLambda.Builder; - [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] + [GeneratedCode("REPLACED", "REPLACED")] file static class GeneratedLambdaInvocationBuilderExtensions { private const string EventFeatureProviderKey = "__EventFeatureProvider"; diff --git a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/ExpressionLambdaVerifyTests.Test_ExpressionLambda_NoInput_ReturnGenericObject#LambdaHandler.g.verified.cs b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/ExpressionLambdaVerifyTests.Test_ExpressionLambda_NoInput_ReturnGenericObject#LambdaHandler.g.verified.cs index 28984ec2..6d9c431d 100644 --- a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/ExpressionLambdaVerifyTests.Test_ExpressionLambda_NoInput_ReturnGenericObject#LambdaHandler.g.verified.cs +++ b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/ExpressionLambdaVerifyTests.Test_ExpressionLambda_NoInput_ReturnGenericObject#LambdaHandler.g.verified.cs @@ -16,7 +16,7 @@ namespace System.Runtime.CompilerServices { using System.CodeDom.Compiler; - [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] + [GeneratedCode("REPLACED", "REPLACED")] [AttributeUsage(AttributeTargets.Method, AllowMultiple = true)] file sealed class InterceptsLocationAttribute : Attribute { @@ -37,7 +37,7 @@ namespace MinimalLambda.Generated using MinimalLambda; using MinimalLambda.Builder; - [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] + [GeneratedCode("REPLACED", "REPLACED")] file static class GeneratedLambdaInvocationBuilderExtensions { private const string EventFeatureProviderKey = "__EventFeatureProvider"; diff --git a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/ExpressionLambdaVerifyTests.Test_ExpressionLambda_NoInput_ReturnNullablePrimitive#LambdaHandler.g.verified.cs b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/ExpressionLambdaVerifyTests.Test_ExpressionLambda_NoInput_ReturnNullablePrimitive#LambdaHandler.g.verified.cs index c7802117..bd9a3ca6 100644 --- a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/ExpressionLambdaVerifyTests.Test_ExpressionLambda_NoInput_ReturnNullablePrimitive#LambdaHandler.g.verified.cs +++ b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/ExpressionLambdaVerifyTests.Test_ExpressionLambda_NoInput_ReturnNullablePrimitive#LambdaHandler.g.verified.cs @@ -16,7 +16,7 @@ namespace System.Runtime.CompilerServices { using System.CodeDom.Compiler; - [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] + [GeneratedCode("REPLACED", "REPLACED")] [AttributeUsage(AttributeTargets.Method, AllowMultiple = true)] file sealed class InterceptsLocationAttribute : Attribute { @@ -37,7 +37,7 @@ namespace MinimalLambda.Generated using MinimalLambda; using MinimalLambda.Builder; - [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] + [GeneratedCode("REPLACED", "REPLACED")] file static class GeneratedLambdaInvocationBuilderExtensions { private const string EventFeatureProviderKey = "__EventFeatureProvider"; diff --git a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/ExpressionLambdaVerifyTests.Test_ExpressionLambda_NoInput_ReturnString#LambdaHandler.g.verified.cs b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/ExpressionLambdaVerifyTests.Test_ExpressionLambda_NoInput_ReturnString#LambdaHandler.g.verified.cs index daa47503..51cbf87c 100644 --- a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/ExpressionLambdaVerifyTests.Test_ExpressionLambda_NoInput_ReturnString#LambdaHandler.g.verified.cs +++ b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/ExpressionLambdaVerifyTests.Test_ExpressionLambda_NoInput_ReturnString#LambdaHandler.g.verified.cs @@ -16,7 +16,7 @@ namespace System.Runtime.CompilerServices { using System.CodeDom.Compiler; - [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] + [GeneratedCode("REPLACED", "REPLACED")] [AttributeUsage(AttributeTargets.Method, AllowMultiple = true)] file sealed class InterceptsLocationAttribute : Attribute { @@ -37,7 +37,7 @@ namespace MinimalLambda.Generated using MinimalLambda; using MinimalLambda.Builder; - [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] + [GeneratedCode("REPLACED", "REPLACED")] file static class GeneratedLambdaInvocationBuilderExtensions { private const string EventFeatureProviderKey = "__EventFeatureProvider"; diff --git a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/ExpressionLambdaVerifyTests.Test_ExpressionLambda_NullableInput_ReturnExplicitNullable#LambdaHandler.g.verified.cs b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/ExpressionLambdaVerifyTests.Test_ExpressionLambda_NullableInput_ReturnExplicitNullable#LambdaHandler.g.verified.cs index fffeec35..6d421047 100644 --- a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/ExpressionLambdaVerifyTests.Test_ExpressionLambda_NullableInput_ReturnExplicitNullable#LambdaHandler.g.verified.cs +++ b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/ExpressionLambdaVerifyTests.Test_ExpressionLambda_NullableInput_ReturnExplicitNullable#LambdaHandler.g.verified.cs @@ -16,7 +16,7 @@ namespace System.Runtime.CompilerServices { using System.CodeDom.Compiler; - [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] + [GeneratedCode("REPLACED", "REPLACED")] [AttributeUsage(AttributeTargets.Method, AllowMultiple = true)] file sealed class InterceptsLocationAttribute : Attribute { @@ -37,7 +37,7 @@ namespace MinimalLambda.Generated using MinimalLambda; using MinimalLambda.Builder; - [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] + [GeneratedCode("REPLACED", "REPLACED")] file static class GeneratedLambdaInvocationBuilderExtensions { private const string EventFeatureProviderKey = "__EventFeatureProvider"; diff --git a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/ExpressionLambdaVerifyTests.Test_ExpressionLambda_NullableInput_ReturnImplicitNullable#LambdaHandler.g.verified.cs b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/ExpressionLambdaVerifyTests.Test_ExpressionLambda_NullableInput_ReturnImplicitNullable#LambdaHandler.g.verified.cs index eef2f035..810865f6 100644 --- a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/ExpressionLambdaVerifyTests.Test_ExpressionLambda_NullableInput_ReturnImplicitNullable#LambdaHandler.g.verified.cs +++ b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/ExpressionLambdaVerifyTests.Test_ExpressionLambda_NullableInput_ReturnImplicitNullable#LambdaHandler.g.verified.cs @@ -16,7 +16,7 @@ namespace System.Runtime.CompilerServices { using System.CodeDom.Compiler; - [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] + [GeneratedCode("REPLACED", "REPLACED")] [AttributeUsage(AttributeTargets.Method, AllowMultiple = true)] file sealed class InterceptsLocationAttribute : Attribute { @@ -37,7 +37,7 @@ namespace MinimalLambda.Generated using MinimalLambda; using MinimalLambda.Builder; - [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] + [GeneratedCode("REPLACED", "REPLACED")] file static class GeneratedLambdaInvocationBuilderExtensions { private const string EventFeatureProviderKey = "__EventFeatureProvider"; diff --git a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/ExpressionLambdaVerifyTests.Test_ExpressionLambda_ReturnExplicitTask#LambdaHandler.g.verified.cs b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/ExpressionLambdaVerifyTests.Test_ExpressionLambda_ReturnExplicitTask#LambdaHandler.g.verified.cs index b51d727c..d7e4afc6 100644 --- a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/ExpressionLambdaVerifyTests.Test_ExpressionLambda_ReturnExplicitTask#LambdaHandler.g.verified.cs +++ b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/ExpressionLambdaVerifyTests.Test_ExpressionLambda_ReturnExplicitTask#LambdaHandler.g.verified.cs @@ -16,7 +16,7 @@ namespace System.Runtime.CompilerServices { using System.CodeDom.Compiler; - [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] + [GeneratedCode("REPLACED", "REPLACED")] [AttributeUsage(AttributeTargets.Method, AllowMultiple = true)] file sealed class InterceptsLocationAttribute : Attribute { @@ -37,7 +37,7 @@ namespace MinimalLambda.Generated using MinimalLambda; using MinimalLambda.Builder; - [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] + [GeneratedCode("REPLACED", "REPLACED")] file static class GeneratedLambdaInvocationBuilderExtensions { private const string EventFeatureProviderKey = "__EventFeatureProvider"; diff --git a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/ExpressionLambdaVerifyTests.Test_ExpressionLambda_ReturnExplicitType#LambdaHandler.g.verified.cs b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/ExpressionLambdaVerifyTests.Test_ExpressionLambda_ReturnExplicitType#LambdaHandler.g.verified.cs index 3e09c349..fb24d4df 100644 --- a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/ExpressionLambdaVerifyTests.Test_ExpressionLambda_ReturnExplicitType#LambdaHandler.g.verified.cs +++ b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/ExpressionLambdaVerifyTests.Test_ExpressionLambda_ReturnExplicitType#LambdaHandler.g.verified.cs @@ -16,7 +16,7 @@ namespace System.Runtime.CompilerServices { using System.CodeDom.Compiler; - [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] + [GeneratedCode("REPLACED", "REPLACED")] [AttributeUsage(AttributeTargets.Method, AllowMultiple = true)] file sealed class InterceptsLocationAttribute : Attribute { @@ -37,7 +37,7 @@ namespace MinimalLambda.Generated using MinimalLambda; using MinimalLambda.Builder; - [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] + [GeneratedCode("REPLACED", "REPLACED")] file static class GeneratedLambdaInvocationBuilderExtensions { private const string EventFeatureProviderKey = "__EventFeatureProvider"; diff --git a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/KeyedServiceVerifyTests.Test_KeyedService_FloatingPointTypes#LambdaHandler.g.verified.cs b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/KeyedServiceVerifyTests.Test_KeyedService_FloatingPointTypes#LambdaHandler.g.verified.cs index a6a599ca..26ec57e2 100644 --- a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/KeyedServiceVerifyTests.Test_KeyedService_FloatingPointTypes#LambdaHandler.g.verified.cs +++ b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/KeyedServiceVerifyTests.Test_KeyedService_FloatingPointTypes#LambdaHandler.g.verified.cs @@ -16,7 +16,7 @@ namespace System.Runtime.CompilerServices { using System.CodeDom.Compiler; - [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] + [GeneratedCode("REPLACED", "REPLACED")] [AttributeUsage(AttributeTargets.Method, AllowMultiple = true)] file sealed class InterceptsLocationAttribute : Attribute { @@ -37,7 +37,7 @@ namespace MinimalLambda.Generated using MinimalLambda; using MinimalLambda.Builder; - [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] + [GeneratedCode("REPLACED", "REPLACED")] file static class GeneratedLambdaInvocationBuilderExtensions { private const string EventFeatureProviderKey = "__EventFeatureProvider"; diff --git a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/KeyedServiceVerifyTests.Test_KeyedService_IntAndLongKeys#LambdaHandler.g.verified.cs b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/KeyedServiceVerifyTests.Test_KeyedService_IntAndLongKeys#LambdaHandler.g.verified.cs index 66486798..54d1025f 100644 --- a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/KeyedServiceVerifyTests.Test_KeyedService_IntAndLongKeys#LambdaHandler.g.verified.cs +++ b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/KeyedServiceVerifyTests.Test_KeyedService_IntAndLongKeys#LambdaHandler.g.verified.cs @@ -16,7 +16,7 @@ namespace System.Runtime.CompilerServices { using System.CodeDom.Compiler; - [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] + [GeneratedCode("REPLACED", "REPLACED")] [AttributeUsage(AttributeTargets.Method, AllowMultiple = true)] file sealed class InterceptsLocationAttribute : Attribute { @@ -37,7 +37,7 @@ namespace MinimalLambda.Generated using MinimalLambda; using MinimalLambda.Builder; - [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] + [GeneratedCode("REPLACED", "REPLACED")] file static class GeneratedLambdaInvocationBuilderExtensions { private const string EventFeatureProviderKey = "__EventFeatureProvider"; diff --git a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/KeyedServiceVerifyTests.Test_KeyedService_OtherTypes#LambdaHandler.g.verified.cs b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/KeyedServiceVerifyTests.Test_KeyedService_OtherTypes#LambdaHandler.g.verified.cs index 6cfb2905..cba71f53 100644 --- a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/KeyedServiceVerifyTests.Test_KeyedService_OtherTypes#LambdaHandler.g.verified.cs +++ b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/KeyedServiceVerifyTests.Test_KeyedService_OtherTypes#LambdaHandler.g.verified.cs @@ -16,7 +16,7 @@ namespace System.Runtime.CompilerServices { using System.CodeDom.Compiler; - [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] + [GeneratedCode("REPLACED", "REPLACED")] [AttributeUsage(AttributeTargets.Method, AllowMultiple = true)] file sealed class InterceptsLocationAttribute : Attribute { @@ -37,7 +37,7 @@ namespace MinimalLambda.Generated using MinimalLambda; using MinimalLambda.Builder; - [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] + [GeneratedCode("REPLACED", "REPLACED")] file static class GeneratedLambdaInvocationBuilderExtensions { private const string EventFeatureProviderKey = "__EventFeatureProvider"; diff --git a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/KeyedServiceVerifyTests.Test_KeyedService_SmallIntegerTypes#LambdaHandler.g.verified.cs b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/KeyedServiceVerifyTests.Test_KeyedService_SmallIntegerTypes#LambdaHandler.g.verified.cs index 67a780a2..04098c60 100644 --- a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/KeyedServiceVerifyTests.Test_KeyedService_SmallIntegerTypes#LambdaHandler.g.verified.cs +++ b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/KeyedServiceVerifyTests.Test_KeyedService_SmallIntegerTypes#LambdaHandler.g.verified.cs @@ -16,7 +16,7 @@ namespace System.Runtime.CompilerServices { using System.CodeDom.Compiler; - [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] + [GeneratedCode("REPLACED", "REPLACED")] [AttributeUsage(AttributeTargets.Method, AllowMultiple = true)] file sealed class InterceptsLocationAttribute : Attribute { @@ -37,7 +37,7 @@ namespace MinimalLambda.Generated using MinimalLambda; using MinimalLambda.Builder; - [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] + [GeneratedCode("REPLACED", "REPLACED")] file static class GeneratedLambdaInvocationBuilderExtensions { private const string EventFeatureProviderKey = "__EventFeatureProvider"; diff --git a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/KeyedServiceVerifyTests.Test_KeyedService_StringAndEnumKeys#LambdaHandler.g.verified.cs b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/KeyedServiceVerifyTests.Test_KeyedService_StringAndEnumKeys#LambdaHandler.g.verified.cs index cc587419..72aa562e 100644 --- a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/KeyedServiceVerifyTests.Test_KeyedService_StringAndEnumKeys#LambdaHandler.g.verified.cs +++ b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/KeyedServiceVerifyTests.Test_KeyedService_StringAndEnumKeys#LambdaHandler.g.verified.cs @@ -16,7 +16,7 @@ namespace System.Runtime.CompilerServices { using System.CodeDom.Compiler; - [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] + [GeneratedCode("REPLACED", "REPLACED")] [AttributeUsage(AttributeTargets.Method, AllowMultiple = true)] file sealed class InterceptsLocationAttribute : Attribute { @@ -37,7 +37,7 @@ namespace MinimalLambda.Generated using MinimalLambda; using MinimalLambda.Builder; - [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] + [GeneratedCode("REPLACED", "REPLACED")] file static class GeneratedLambdaInvocationBuilderExtensions { private const string EventFeatureProviderKey = "__EventFeatureProvider"; diff --git a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/KeyedServiceVerifyTests.Test_KeyedService_UnsignedIntegerTypes#LambdaHandler.g.verified.cs b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/KeyedServiceVerifyTests.Test_KeyedService_UnsignedIntegerTypes#LambdaHandler.g.verified.cs index 9a227c50..ac6f7dac 100644 --- a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/KeyedServiceVerifyTests.Test_KeyedService_UnsignedIntegerTypes#LambdaHandler.g.verified.cs +++ b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/KeyedServiceVerifyTests.Test_KeyedService_UnsignedIntegerTypes#LambdaHandler.g.verified.cs @@ -16,7 +16,7 @@ namespace System.Runtime.CompilerServices { using System.CodeDom.Compiler; - [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] + [GeneratedCode("REPLACED", "REPLACED")] [AttributeUsage(AttributeTargets.Method, AllowMultiple = true)] file sealed class InterceptsLocationAttribute : Attribute { @@ -37,7 +37,7 @@ namespace MinimalLambda.Generated using MinimalLambda; using MinimalLambda.Builder; - [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] + [GeneratedCode("REPLACED", "REPLACED")] file static class GeneratedLambdaInvocationBuilderExtensions { private const string EventFeatureProviderKey = "__EventFeatureProvider"; diff --git a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/MethodHandlerVerifyTests.Test_MethodHandler_AsyncVoid#LambdaHandler.g.verified.cs b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/MethodHandlerVerifyTests.Test_MethodHandler_AsyncVoid#LambdaHandler.g.verified.cs index d2e27f8e..f149a7e6 100644 --- a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/MethodHandlerVerifyTests.Test_MethodHandler_AsyncVoid#LambdaHandler.g.verified.cs +++ b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/MethodHandlerVerifyTests.Test_MethodHandler_AsyncVoid#LambdaHandler.g.verified.cs @@ -16,7 +16,7 @@ namespace System.Runtime.CompilerServices { using System.CodeDom.Compiler; - [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] + [GeneratedCode("REPLACED", "REPLACED")] [AttributeUsage(AttributeTargets.Method, AllowMultiple = true)] file sealed class InterceptsLocationAttribute : Attribute { @@ -37,7 +37,7 @@ namespace MinimalLambda.Generated using MinimalLambda; using MinimalLambda.Builder; - [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] + [GeneratedCode("REPLACED", "REPLACED")] file static class GeneratedLambdaInvocationBuilderExtensions { private const string EventFeatureProviderKey = "__EventFeatureProvider"; diff --git a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/MethodHandlerVerifyTests.Test_MethodHandler_Async_ReturnTaskString#LambdaHandler.g.verified.cs b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/MethodHandlerVerifyTests.Test_MethodHandler_Async_ReturnTaskString#LambdaHandler.g.verified.cs index c286cf22..d4bb3919 100644 --- a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/MethodHandlerVerifyTests.Test_MethodHandler_Async_ReturnTaskString#LambdaHandler.g.verified.cs +++ b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/MethodHandlerVerifyTests.Test_MethodHandler_Async_ReturnTaskString#LambdaHandler.g.verified.cs @@ -16,7 +16,7 @@ namespace System.Runtime.CompilerServices { using System.CodeDom.Compiler; - [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] + [GeneratedCode("REPLACED", "REPLACED")] [AttributeUsage(AttributeTargets.Method, AllowMultiple = true)] file sealed class InterceptsLocationAttribute : Attribute { @@ -37,7 +37,7 @@ namespace MinimalLambda.Generated using MinimalLambda; using MinimalLambda.Builder; - [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] + [GeneratedCode("REPLACED", "REPLACED")] file static class GeneratedLambdaInvocationBuilderExtensions { private const string EventFeatureProviderKey = "__EventFeatureProvider"; diff --git a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/MethodHandlerVerifyTests.Test_MethodHandler_BlockBody_InputDiKeyedServices#LambdaHandler.g.verified.cs b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/MethodHandlerVerifyTests.Test_MethodHandler_BlockBody_InputDiKeyedServices#LambdaHandler.g.verified.cs index 10dda24b..e1f70720 100644 --- a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/MethodHandlerVerifyTests.Test_MethodHandler_BlockBody_InputDiKeyedServices#LambdaHandler.g.verified.cs +++ b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/MethodHandlerVerifyTests.Test_MethodHandler_BlockBody_InputDiKeyedServices#LambdaHandler.g.verified.cs @@ -16,7 +16,7 @@ namespace System.Runtime.CompilerServices { using System.CodeDom.Compiler; - [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] + [GeneratedCode("REPLACED", "REPLACED")] [AttributeUsage(AttributeTargets.Method, AllowMultiple = true)] file sealed class InterceptsLocationAttribute : Attribute { @@ -37,7 +37,7 @@ namespace MinimalLambda.Generated using MinimalLambda; using MinimalLambda.Builder; - [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] + [GeneratedCode("REPLACED", "REPLACED")] file static class GeneratedLambdaInvocationBuilderExtensions { private const string EventFeatureProviderKey = "__EventFeatureProvider"; diff --git a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/MethodHandlerVerifyTests.Test_MethodHandler_BlockBody_TypeCast#LambdaHandler.g.verified.cs b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/MethodHandlerVerifyTests.Test_MethodHandler_BlockBody_TypeCast#LambdaHandler.g.verified.cs index a215e2fc..6c93c34e 100644 --- a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/MethodHandlerVerifyTests.Test_MethodHandler_BlockBody_TypeCast#LambdaHandler.g.verified.cs +++ b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/MethodHandlerVerifyTests.Test_MethodHandler_BlockBody_TypeCast#LambdaHandler.g.verified.cs @@ -16,7 +16,7 @@ namespace System.Runtime.CompilerServices { using System.CodeDom.Compiler; - [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] + [GeneratedCode("REPLACED", "REPLACED")] [AttributeUsage(AttributeTargets.Method, AllowMultiple = true)] file sealed class InterceptsLocationAttribute : Attribute { @@ -37,7 +37,7 @@ namespace MinimalLambda.Generated using MinimalLambda; using MinimalLambda.Builder; - [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] + [GeneratedCode("REPLACED", "REPLACED")] file static class GeneratedLambdaInvocationBuilderExtensions { private const string EventFeatureProviderKey = "__EventFeatureProvider"; diff --git a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/MethodHandlerVerifyTests.Test_MethodHandler_BlockBody_TypeCast_Static#LambdaHandler.g.verified.cs b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/MethodHandlerVerifyTests.Test_MethodHandler_BlockBody_TypeCast_Static#LambdaHandler.g.verified.cs index a215e2fc..6c93c34e 100644 --- a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/MethodHandlerVerifyTests.Test_MethodHandler_BlockBody_TypeCast_Static#LambdaHandler.g.verified.cs +++ b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/MethodHandlerVerifyTests.Test_MethodHandler_BlockBody_TypeCast_Static#LambdaHandler.g.verified.cs @@ -16,7 +16,7 @@ namespace System.Runtime.CompilerServices { using System.CodeDom.Compiler; - [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] + [GeneratedCode("REPLACED", "REPLACED")] [AttributeUsage(AttributeTargets.Method, AllowMultiple = true)] file sealed class InterceptsLocationAttribute : Attribute { @@ -37,7 +37,7 @@ namespace MinimalLambda.Generated using MinimalLambda; using MinimalLambda.Builder; - [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] + [GeneratedCode("REPLACED", "REPLACED")] file static class GeneratedLambdaInvocationBuilderExtensions { private const string EventFeatureProviderKey = "__EventFeatureProvider"; diff --git a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/MethodHandlerVerifyTests.Test_MethodHandler_NoInput_NoOutput#LambdaHandler.g.verified.cs b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/MethodHandlerVerifyTests.Test_MethodHandler_NoInput_NoOutput#LambdaHandler.g.verified.cs index d2e27f8e..f149a7e6 100644 --- a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/MethodHandlerVerifyTests.Test_MethodHandler_NoInput_NoOutput#LambdaHandler.g.verified.cs +++ b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/MethodHandlerVerifyTests.Test_MethodHandler_NoInput_NoOutput#LambdaHandler.g.verified.cs @@ -16,7 +16,7 @@ namespace System.Runtime.CompilerServices { using System.CodeDom.Compiler; - [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] + [GeneratedCode("REPLACED", "REPLACED")] [AttributeUsage(AttributeTargets.Method, AllowMultiple = true)] file sealed class InterceptsLocationAttribute : Attribute { @@ -37,7 +37,7 @@ namespace MinimalLambda.Generated using MinimalLambda; using MinimalLambda.Builder; - [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] + [GeneratedCode("REPLACED", "REPLACED")] file static class GeneratedLambdaInvocationBuilderExtensions { private const string EventFeatureProviderKey = "__EventFeatureProvider"; diff --git a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/MethodHandlerVerifyTests.Test_MethodHandler_ReturnTask#LambdaHandler.g.verified.cs b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/MethodHandlerVerifyTests.Test_MethodHandler_ReturnTask#LambdaHandler.g.verified.cs index b51d727c..d7e4afc6 100644 --- a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/MethodHandlerVerifyTests.Test_MethodHandler_ReturnTask#LambdaHandler.g.verified.cs +++ b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/MethodHandlerVerifyTests.Test_MethodHandler_ReturnTask#LambdaHandler.g.verified.cs @@ -16,7 +16,7 @@ namespace System.Runtime.CompilerServices { using System.CodeDom.Compiler; - [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] + [GeneratedCode("REPLACED", "REPLACED")] [AttributeUsage(AttributeTargets.Method, AllowMultiple = true)] file sealed class InterceptsLocationAttribute : Attribute { @@ -37,7 +37,7 @@ namespace MinimalLambda.Generated using MinimalLambda; using MinimalLambda.Builder; - [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] + [GeneratedCode("REPLACED", "REPLACED")] file static class GeneratedLambdaInvocationBuilderExtensions { private const string EventFeatureProviderKey = "__EventFeatureProvider"; diff --git a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/MethodHandlerVerifyTests.Test_MethodHandler_ReturnTaskString#LambdaHandler.g.verified.cs b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/MethodHandlerVerifyTests.Test_MethodHandler_ReturnTaskString#LambdaHandler.g.verified.cs index c286cf22..d4bb3919 100644 --- a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/MethodHandlerVerifyTests.Test_MethodHandler_ReturnTaskString#LambdaHandler.g.verified.cs +++ b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/MethodHandlerVerifyTests.Test_MethodHandler_ReturnTaskString#LambdaHandler.g.verified.cs @@ -16,7 +16,7 @@ namespace System.Runtime.CompilerServices { using System.CodeDom.Compiler; - [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] + [GeneratedCode("REPLACED", "REPLACED")] [AttributeUsage(AttributeTargets.Method, AllowMultiple = true)] file sealed class InterceptsLocationAttribute : Attribute { @@ -37,7 +37,7 @@ namespace MinimalLambda.Generated using MinimalLambda; using MinimalLambda.Builder; - [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] + [GeneratedCode("REPLACED", "REPLACED")] file static class GeneratedLambdaInvocationBuilderExtensions { private const string EventFeatureProviderKey = "__EventFeatureProvider"; diff --git a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/MethodHandlerVerifyTests.Test_MethodHandler_TypeCast_ExtraParentheses#LambdaHandler.g.verified.cs b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/MethodHandlerVerifyTests.Test_MethodHandler_TypeCast_ExtraParentheses#LambdaHandler.g.verified.cs index a215e2fc..6c93c34e 100644 --- a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/MethodHandlerVerifyTests.Test_MethodHandler_TypeCast_ExtraParentheses#LambdaHandler.g.verified.cs +++ b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/MethodHandlerVerifyTests.Test_MethodHandler_TypeCast_ExtraParentheses#LambdaHandler.g.verified.cs @@ -16,7 +16,7 @@ namespace System.Runtime.CompilerServices { using System.CodeDom.Compiler; - [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] + [GeneratedCode("REPLACED", "REPLACED")] [AttributeUsage(AttributeTargets.Method, AllowMultiple = true)] file sealed class InterceptsLocationAttribute : Attribute { @@ -37,7 +37,7 @@ namespace MinimalLambda.Generated using MinimalLambda; using MinimalLambda.Builder; - [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] + [GeneratedCode("REPLACED", "REPLACED")] file static class GeneratedLambdaInvocationBuilderExtensions { private const string EventFeatureProviderKey = "__EventFeatureProvider"; diff --git a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/OnInitVerifyTests.Test_OnInit_BaseMethodCall#LambdaHandler.g.verified.cs b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/OnInitVerifyTests.Test_OnInit_BaseMethodCall#LambdaHandler.g.verified.cs index 6140e606..b500911d 100644 --- a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/OnInitVerifyTests.Test_OnInit_BaseMethodCall#LambdaHandler.g.verified.cs +++ b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/OnInitVerifyTests.Test_OnInit_BaseMethodCall#LambdaHandler.g.verified.cs @@ -16,7 +16,7 @@ namespace System.Runtime.CompilerServices { using System.CodeDom.Compiler; - [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] + [GeneratedCode("REPLACED", "REPLACED")] [AttributeUsage(AttributeTargets.Method, AllowMultiple = true)] file sealed class InterceptsLocationAttribute : Attribute { diff --git a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/OnInitVerifyTests.Test_OnInit_ExplicitReturnTypeAsync#LambdaHandler.g.verified.cs b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/OnInitVerifyTests.Test_OnInit_ExplicitReturnTypeAsync#LambdaHandler.g.verified.cs index 6345b4f7..3fc7bd7d 100644 --- a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/OnInitVerifyTests.Test_OnInit_ExplicitReturnTypeAsync#LambdaHandler.g.verified.cs +++ b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/OnInitVerifyTests.Test_OnInit_ExplicitReturnTypeAsync#LambdaHandler.g.verified.cs @@ -16,7 +16,7 @@ namespace System.Runtime.CompilerServices { using System.CodeDom.Compiler; - [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] + [GeneratedCode("REPLACED", "REPLACED")] [AttributeUsage(AttributeTargets.Method, AllowMultiple = true)] file sealed class InterceptsLocationAttribute : Attribute { @@ -37,7 +37,7 @@ namespace MinimalLambda.Generated using MinimalLambda; using MinimalLambda.Builder; - [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] + [GeneratedCode("REPLACED", "REPLACED")] file static class GeneratedLambdaOnInitBuilderExtensions { [InterceptsLocation(1, "REPLACED")] diff --git a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/OnInitVerifyTests.Test_OnInit_MethodHandler_AsyncAndDi#LambdaHandler.g.verified.cs b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/OnInitVerifyTests.Test_OnInit_MethodHandler_AsyncAndDi#LambdaHandler.g.verified.cs index 4e348605..eb56ceeb 100644 --- a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/OnInitVerifyTests.Test_OnInit_MethodHandler_AsyncAndDi#LambdaHandler.g.verified.cs +++ b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/OnInitVerifyTests.Test_OnInit_MethodHandler_AsyncAndDi#LambdaHandler.g.verified.cs @@ -16,7 +16,7 @@ namespace System.Runtime.CompilerServices { using System.CodeDom.Compiler; - [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] + [GeneratedCode("REPLACED", "REPLACED")] [AttributeUsage(AttributeTargets.Method, AllowMultiple = true)] file sealed class InterceptsLocationAttribute : Attribute { @@ -37,7 +37,7 @@ namespace MinimalLambda.Generated using MinimalLambda; using MinimalLambda.Builder; - [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] + [GeneratedCode("REPLACED", "REPLACED")] file static class GeneratedLambdaOnInitBuilderExtensions { [InterceptsLocation(1, "REPLACED")] diff --git a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/OnInitVerifyTests.Test_OnInit_MethodHandler_AsyncAndDiAndReturnUnexpectedType#LambdaHandler.g.verified.cs b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/OnInitVerifyTests.Test_OnInit_MethodHandler_AsyncAndDiAndReturnUnexpectedType#LambdaHandler.g.verified.cs index 980518af..f8d3d3e2 100644 --- a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/OnInitVerifyTests.Test_OnInit_MethodHandler_AsyncAndDiAndReturnUnexpectedType#LambdaHandler.g.verified.cs +++ b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/OnInitVerifyTests.Test_OnInit_MethodHandler_AsyncAndDiAndReturnUnexpectedType#LambdaHandler.g.verified.cs @@ -16,7 +16,7 @@ namespace System.Runtime.CompilerServices { using System.CodeDom.Compiler; - [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] + [GeneratedCode("REPLACED", "REPLACED")] [AttributeUsage(AttributeTargets.Method, AllowMultiple = true)] file sealed class InterceptsLocationAttribute : Attribute { @@ -37,7 +37,7 @@ namespace MinimalLambda.Generated using MinimalLambda; using MinimalLambda.Builder; - [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] + [GeneratedCode("REPLACED", "REPLACED")] file static class GeneratedLambdaOnInitBuilderExtensions { [InterceptsLocation(1, "REPLACED")] diff --git a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/OnInitVerifyTests.Test_OnInit_MethodHandler_NoDi#LambdaHandler.g.verified.cs b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/OnInitVerifyTests.Test_OnInit_MethodHandler_NoDi#LambdaHandler.g.verified.cs index 6345b4f7..3fc7bd7d 100644 --- a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/OnInitVerifyTests.Test_OnInit_MethodHandler_NoDi#LambdaHandler.g.verified.cs +++ b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/OnInitVerifyTests.Test_OnInit_MethodHandler_NoDi#LambdaHandler.g.verified.cs @@ -16,7 +16,7 @@ namespace System.Runtime.CompilerServices { using System.CodeDom.Compiler; - [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] + [GeneratedCode("REPLACED", "REPLACED")] [AttributeUsage(AttributeTargets.Method, AllowMultiple = true)] file sealed class InterceptsLocationAttribute : Attribute { @@ -37,7 +37,7 @@ namespace MinimalLambda.Generated using MinimalLambda; using MinimalLambda.Builder; - [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] + [GeneratedCode("REPLACED", "REPLACED")] file static class GeneratedLambdaOnInitBuilderExtensions { [InterceptsLocation(1, "REPLACED")] diff --git a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/OnInitVerifyTests.Test_OnInit_MultipleCalls#LambdaHandler.g.verified.cs b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/OnInitVerifyTests.Test_OnInit_MultipleCalls#LambdaHandler.g.verified.cs index 8bb050ea..f91188a8 100644 --- a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/OnInitVerifyTests.Test_OnInit_MultipleCalls#LambdaHandler.g.verified.cs +++ b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/OnInitVerifyTests.Test_OnInit_MultipleCalls#LambdaHandler.g.verified.cs @@ -16,7 +16,7 @@ namespace System.Runtime.CompilerServices { using System.CodeDom.Compiler; - [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] + [GeneratedCode("REPLACED", "REPLACED")] [AttributeUsage(AttributeTargets.Method, AllowMultiple = true)] file sealed class InterceptsLocationAttribute : Attribute { @@ -37,7 +37,7 @@ namespace MinimalLambda.Generated using MinimalLambda; using MinimalLambda.Builder; - [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] + [GeneratedCode("REPLACED", "REPLACED")] file static class GeneratedLambdaOnInitBuilderExtensions { [InterceptsLocation(1, "REPLACED")] diff --git a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/OnInitVerifyTests.Test_OnInit_NoInput_NoOutput#LambdaHandler.g.verified.cs b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/OnInitVerifyTests.Test_OnInit_NoInput_NoOutput#LambdaHandler.g.verified.cs index 774ebe2e..7a4f10c8 100644 --- a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/OnInitVerifyTests.Test_OnInit_NoInput_NoOutput#LambdaHandler.g.verified.cs +++ b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/OnInitVerifyTests.Test_OnInit_NoInput_NoOutput#LambdaHandler.g.verified.cs @@ -16,7 +16,7 @@ namespace System.Runtime.CompilerServices { using System.CodeDom.Compiler; - [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] + [GeneratedCode("REPLACED", "REPLACED")] [AttributeUsage(AttributeTargets.Method, AllowMultiple = true)] file sealed class InterceptsLocationAttribute : Attribute { @@ -37,7 +37,7 @@ namespace MinimalLambda.Generated using MinimalLambda; using MinimalLambda.Builder; - [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] + [GeneratedCode("REPLACED", "REPLACED")] file static class GeneratedLambdaOnInitBuilderExtensions { [InterceptsLocation(1, "REPLACED")] diff --git a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/OnInitVerifyTests.Test_OnInit_NoInput_ReturnAsyncBool#LambdaHandler.g.verified.cs b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/OnInitVerifyTests.Test_OnInit_NoInput_ReturnAsyncBool#LambdaHandler.g.verified.cs index 6345b4f7..3fc7bd7d 100644 --- a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/OnInitVerifyTests.Test_OnInit_NoInput_ReturnAsyncBool#LambdaHandler.g.verified.cs +++ b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/OnInitVerifyTests.Test_OnInit_NoInput_ReturnAsyncBool#LambdaHandler.g.verified.cs @@ -16,7 +16,7 @@ namespace System.Runtime.CompilerServices { using System.CodeDom.Compiler; - [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] + [GeneratedCode("REPLACED", "REPLACED")] [AttributeUsage(AttributeTargets.Method, AllowMultiple = true)] file sealed class InterceptsLocationAttribute : Attribute { @@ -37,7 +37,7 @@ namespace MinimalLambda.Generated using MinimalLambda; using MinimalLambda.Builder; - [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] + [GeneratedCode("REPLACED", "REPLACED")] file static class GeneratedLambdaOnInitBuilderExtensions { [InterceptsLocation(1, "REPLACED")] diff --git a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/OnInitVerifyTests.Test_OnInit_NoInput_ReturnBool#LambdaHandler.g.verified.cs b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/OnInitVerifyTests.Test_OnInit_NoInput_ReturnBool#LambdaHandler.g.verified.cs index 6500d4d0..c02b4969 100644 --- a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/OnInitVerifyTests.Test_OnInit_NoInput_ReturnBool#LambdaHandler.g.verified.cs +++ b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/OnInitVerifyTests.Test_OnInit_NoInput_ReturnBool#LambdaHandler.g.verified.cs @@ -16,7 +16,7 @@ namespace System.Runtime.CompilerServices { using System.CodeDom.Compiler; - [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] + [GeneratedCode("REPLACED", "REPLACED")] [AttributeUsage(AttributeTargets.Method, AllowMultiple = true)] file sealed class InterceptsLocationAttribute : Attribute { @@ -37,7 +37,7 @@ namespace MinimalLambda.Generated using MinimalLambda; using MinimalLambda.Builder; - [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] + [GeneratedCode("REPLACED", "REPLACED")] file static class GeneratedLambdaOnInitBuilderExtensions { [InterceptsLocation(1, "REPLACED")] diff --git a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/OnInitVerifyTests.Test_OnInit_NoInput_ReturnNotExpectedType#LambdaHandler.g.verified.cs b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/OnInitVerifyTests.Test_OnInit_NoInput_ReturnNotExpectedType#LambdaHandler.g.verified.cs index 68291a63..89b06d55 100644 --- a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/OnInitVerifyTests.Test_OnInit_NoInput_ReturnNotExpectedType#LambdaHandler.g.verified.cs +++ b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/OnInitVerifyTests.Test_OnInit_NoInput_ReturnNotExpectedType#LambdaHandler.g.verified.cs @@ -16,7 +16,7 @@ namespace System.Runtime.CompilerServices { using System.CodeDom.Compiler; - [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] + [GeneratedCode("REPLACED", "REPLACED")] [AttributeUsage(AttributeTargets.Method, AllowMultiple = true)] file sealed class InterceptsLocationAttribute : Attribute { @@ -37,7 +37,7 @@ namespace MinimalLambda.Generated using MinimalLambda; using MinimalLambda.Builder; - [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] + [GeneratedCode("REPLACED", "REPLACED")] file static class GeneratedLambdaOnInitBuilderExtensions { [InterceptsLocation(1, "REPLACED")] diff --git a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/OnInitVerifyTests.Test_OnInit_NoInput_ReturnNotExpectedTypeAsync#LambdaHandler.g.verified.cs b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/OnInitVerifyTests.Test_OnInit_NoInput_ReturnNotExpectedTypeAsync#LambdaHandler.g.verified.cs index a166f7fa..5fc3b9fc 100644 --- a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/OnInitVerifyTests.Test_OnInit_NoInput_ReturnNotExpectedTypeAsync#LambdaHandler.g.verified.cs +++ b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/OnInitVerifyTests.Test_OnInit_NoInput_ReturnNotExpectedTypeAsync#LambdaHandler.g.verified.cs @@ -16,7 +16,7 @@ namespace System.Runtime.CompilerServices { using System.CodeDom.Compiler; - [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] + [GeneratedCode("REPLACED", "REPLACED")] [AttributeUsage(AttributeTargets.Method, AllowMultiple = true)] file sealed class InterceptsLocationAttribute : Attribute { @@ -37,7 +37,7 @@ namespace MinimalLambda.Generated using MinimalLambda; using MinimalLambda.Builder; - [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] + [GeneratedCode("REPLACED", "REPLACED")] file static class GeneratedLambdaOnInitBuilderExtensions { [InterceptsLocation(1, "REPLACED")] diff --git a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/OnInitVerifyTests.Test_OnInit_NoInput_ReturnNotExpectedTypeTask#LambdaHandler.g.verified.cs b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/OnInitVerifyTests.Test_OnInit_NoInput_ReturnNotExpectedTypeTask#LambdaHandler.g.verified.cs index a166f7fa..5fc3b9fc 100644 --- a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/OnInitVerifyTests.Test_OnInit_NoInput_ReturnNotExpectedTypeTask#LambdaHandler.g.verified.cs +++ b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/OnInitVerifyTests.Test_OnInit_NoInput_ReturnNotExpectedTypeTask#LambdaHandler.g.verified.cs @@ -16,7 +16,7 @@ namespace System.Runtime.CompilerServices { using System.CodeDom.Compiler; - [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] + [GeneratedCode("REPLACED", "REPLACED")] [AttributeUsage(AttributeTargets.Method, AllowMultiple = true)] file sealed class InterceptsLocationAttribute : Attribute { @@ -37,7 +37,7 @@ namespace MinimalLambda.Generated using MinimalLambda; using MinimalLambda.Builder; - [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] + [GeneratedCode("REPLACED", "REPLACED")] file static class GeneratedLambdaOnInitBuilderExtensions { [InterceptsLocation(1, "REPLACED")] diff --git a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/OnInitVerifyTests.Test_OnInit_NoInput_ReturnTaskBool#LambdaHandler.g.verified.cs b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/OnInitVerifyTests.Test_OnInit_NoInput_ReturnTaskBool#LambdaHandler.g.verified.cs index 6345b4f7..3fc7bd7d 100644 --- a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/OnInitVerifyTests.Test_OnInit_NoInput_ReturnTaskBool#LambdaHandler.g.verified.cs +++ b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/OnInitVerifyTests.Test_OnInit_NoInput_ReturnTaskBool#LambdaHandler.g.verified.cs @@ -16,7 +16,7 @@ namespace System.Runtime.CompilerServices { using System.CodeDom.Compiler; - [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] + [GeneratedCode("REPLACED", "REPLACED")] [AttributeUsage(AttributeTargets.Method, AllowMultiple = true)] file sealed class InterceptsLocationAttribute : Attribute { @@ -37,7 +37,7 @@ namespace MinimalLambda.Generated using MinimalLambda; using MinimalLambda.Builder; - [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] + [GeneratedCode("REPLACED", "REPLACED")] file static class GeneratedLambdaOnInitBuilderExtensions { [InterceptsLocation(1, "REPLACED")] diff --git a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/OnInitVerifyTests.Test_OnInit_NullableValueAndReferenceInputs#LambdaHandler.g.verified.cs b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/OnInitVerifyTests.Test_OnInit_NullableValueAndReferenceInputs#LambdaHandler.g.verified.cs index ec3223cf..ec4c51b0 100644 --- a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/OnInitVerifyTests.Test_OnInit_NullableValueAndReferenceInputs#LambdaHandler.g.verified.cs +++ b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/OnInitVerifyTests.Test_OnInit_NullableValueAndReferenceInputs#LambdaHandler.g.verified.cs @@ -16,7 +16,7 @@ namespace System.Runtime.CompilerServices { using System.CodeDom.Compiler; - [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] + [GeneratedCode("REPLACED", "REPLACED")] [AttributeUsage(AttributeTargets.Method, AllowMultiple = true)] file sealed class InterceptsLocationAttribute : Attribute { @@ -37,7 +37,7 @@ namespace MinimalLambda.Generated using MinimalLambda; using MinimalLambda.Builder; - [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] + [GeneratedCode("REPLACED", "REPLACED")] file static class GeneratedLambdaOnInitBuilderExtensions { [InterceptsLocation(1, "REPLACED")] diff --git a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/OnInitVerifyTests.Test_OnInit_OneOfEachPossibleKindOfInput#LambdaHandler.g.verified.cs b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/OnInitVerifyTests.Test_OnInit_OneOfEachPossibleKindOfInput#LambdaHandler.g.verified.cs index a830c064..225a31b7 100644 --- a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/OnInitVerifyTests.Test_OnInit_OneOfEachPossibleKindOfInput#LambdaHandler.g.verified.cs +++ b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/OnInitVerifyTests.Test_OnInit_OneOfEachPossibleKindOfInput#LambdaHandler.g.verified.cs @@ -16,7 +16,7 @@ namespace System.Runtime.CompilerServices { using System.CodeDom.Compiler; - [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] + [GeneratedCode("REPLACED", "REPLACED")] [AttributeUsage(AttributeTargets.Method, AllowMultiple = true)] file sealed class InterceptsLocationAttribute : Attribute { @@ -37,7 +37,7 @@ namespace MinimalLambda.Generated using MinimalLambda; using MinimalLambda.Builder; - [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] + [GeneratedCode("REPLACED", "REPLACED")] file static class GeneratedLambdaOnInitBuilderExtensions { [InterceptsLocation(1, "REPLACED")] diff --git a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/OnInitVerifyTests.Test_OnInit_PrimitiveInput#LambdaHandler.g.verified.cs b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/OnInitVerifyTests.Test_OnInit_PrimitiveInput#LambdaHandler.g.verified.cs index ca085a06..b164523f 100644 --- a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/OnInitVerifyTests.Test_OnInit_PrimitiveInput#LambdaHandler.g.verified.cs +++ b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/OnInitVerifyTests.Test_OnInit_PrimitiveInput#LambdaHandler.g.verified.cs @@ -16,7 +16,7 @@ namespace System.Runtime.CompilerServices { using System.CodeDom.Compiler; - [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] + [GeneratedCode("REPLACED", "REPLACED")] [AttributeUsage(AttributeTargets.Method, AllowMultiple = true)] file sealed class InterceptsLocationAttribute : Attribute { @@ -37,7 +37,7 @@ namespace MinimalLambda.Generated using MinimalLambda; using MinimalLambda.Builder; - [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] + [GeneratedCode("REPLACED", "REPLACED")] file static class GeneratedLambdaOnInitBuilderExtensions { [InterceptsLocation(1, "REPLACED")] diff --git a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/OnShutdownVerifyTests.Test_OnShutdown_BaseMethodCall#LambdaHandler.g.verified.cs b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/OnShutdownVerifyTests.Test_OnShutdown_BaseMethodCall#LambdaHandler.g.verified.cs index 6140e606..b500911d 100644 --- a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/OnShutdownVerifyTests.Test_OnShutdown_BaseMethodCall#LambdaHandler.g.verified.cs +++ b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/OnShutdownVerifyTests.Test_OnShutdown_BaseMethodCall#LambdaHandler.g.verified.cs @@ -16,7 +16,7 @@ namespace System.Runtime.CompilerServices { using System.CodeDom.Compiler; - [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] + [GeneratedCode("REPLACED", "REPLACED")] [AttributeUsage(AttributeTargets.Method, AllowMultiple = true)] file sealed class InterceptsLocationAttribute : Attribute { diff --git a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/OnShutdownVerifyTests.Test_OnShutdown_BlockLambda_ReturnsImplicitVoid#LambdaHandler.g.verified.cs b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/OnShutdownVerifyTests.Test_OnShutdown_BlockLambda_ReturnsImplicitVoid#LambdaHandler.g.verified.cs index 23317bc9..d0984bc6 100644 --- a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/OnShutdownVerifyTests.Test_OnShutdown_BlockLambda_ReturnsImplicitVoid#LambdaHandler.g.verified.cs +++ b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/OnShutdownVerifyTests.Test_OnShutdown_BlockLambda_ReturnsImplicitVoid#LambdaHandler.g.verified.cs @@ -16,7 +16,7 @@ namespace System.Runtime.CompilerServices { using System.CodeDom.Compiler; - [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] + [GeneratedCode("REPLACED", "REPLACED")] [AttributeUsage(AttributeTargets.Method, AllowMultiple = true)] file sealed class InterceptsLocationAttribute : Attribute { @@ -37,7 +37,7 @@ namespace MinimalLambda.Generated using MinimalLambda; using MinimalLambda.Builder; - [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] + [GeneratedCode("REPLACED", "REPLACED")] file static class GeneratedLambdaOnShutdownBuilderExtensions { [InterceptsLocation(1, "REPLACED")] diff --git a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/OnShutdownVerifyTests.Test_OnShutdown_MultipleCalls#LambdaHandler.g.verified.cs b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/OnShutdownVerifyTests.Test_OnShutdown_MultipleCalls#LambdaHandler.g.verified.cs index b0eb71b9..0ca52890 100644 --- a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/OnShutdownVerifyTests.Test_OnShutdown_MultipleCalls#LambdaHandler.g.verified.cs +++ b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/OnShutdownVerifyTests.Test_OnShutdown_MultipleCalls#LambdaHandler.g.verified.cs @@ -16,7 +16,7 @@ namespace System.Runtime.CompilerServices { using System.CodeDom.Compiler; - [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] + [GeneratedCode("REPLACED", "REPLACED")] [AttributeUsage(AttributeTargets.Method, AllowMultiple = true)] file sealed class InterceptsLocationAttribute : Attribute { @@ -37,7 +37,7 @@ namespace MinimalLambda.Generated using MinimalLambda; using MinimalLambda.Builder; - [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] + [GeneratedCode("REPLACED", "REPLACED")] file static class GeneratedLambdaOnShutdownBuilderExtensions { [InterceptsLocation(1, "REPLACED")] diff --git a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/OnShutdownVerifyTests.Test_OnShutdown_NoInput#LambdaHandler.g.verified.cs b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/OnShutdownVerifyTests.Test_OnShutdown_NoInput#LambdaHandler.g.verified.cs index 1209a863..157cc7d0 100644 --- a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/OnShutdownVerifyTests.Test_OnShutdown_NoInput#LambdaHandler.g.verified.cs +++ b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/OnShutdownVerifyTests.Test_OnShutdown_NoInput#LambdaHandler.g.verified.cs @@ -16,7 +16,7 @@ namespace System.Runtime.CompilerServices { using System.CodeDom.Compiler; - [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] + [GeneratedCode("REPLACED", "REPLACED")] [AttributeUsage(AttributeTargets.Method, AllowMultiple = true)] file sealed class InterceptsLocationAttribute : Attribute { @@ -37,7 +37,7 @@ namespace MinimalLambda.Generated using MinimalLambda; using MinimalLambda.Builder; - [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] + [GeneratedCode("REPLACED", "REPLACED")] file static class GeneratedLambdaOnShutdownBuilderExtensions { [InterceptsLocation(1, "REPLACED")] diff --git a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/OnShutdownVerifyTests.Test_OnShutdown_NoInput_ReturnUnexpectedType#LambdaHandler.g.verified.cs b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/OnShutdownVerifyTests.Test_OnShutdown_NoInput_ReturnUnexpectedType#LambdaHandler.g.verified.cs index 631282f9..a47b6131 100644 --- a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/OnShutdownVerifyTests.Test_OnShutdown_NoInput_ReturnUnexpectedType#LambdaHandler.g.verified.cs +++ b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/OnShutdownVerifyTests.Test_OnShutdown_NoInput_ReturnUnexpectedType#LambdaHandler.g.verified.cs @@ -16,7 +16,7 @@ namespace System.Runtime.CompilerServices { using System.CodeDom.Compiler; - [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] + [GeneratedCode("REPLACED", "REPLACED")] [AttributeUsage(AttributeTargets.Method, AllowMultiple = true)] file sealed class InterceptsLocationAttribute : Attribute { @@ -37,7 +37,7 @@ namespace MinimalLambda.Generated using MinimalLambda; using MinimalLambda.Builder; - [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] + [GeneratedCode("REPLACED", "REPLACED")] file static class GeneratedLambdaOnShutdownBuilderExtensions { [InterceptsLocation(1, "REPLACED")] diff --git a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/OnShutdownVerifyTests.Test_OnShutdown_NoInput_ReturnUnexpectedTypeAsync#LambdaHandler.g.verified.cs b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/OnShutdownVerifyTests.Test_OnShutdown_NoInput_ReturnUnexpectedTypeAsync#LambdaHandler.g.verified.cs index b6037784..7cb6b933 100644 --- a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/OnShutdownVerifyTests.Test_OnShutdown_NoInput_ReturnUnexpectedTypeAsync#LambdaHandler.g.verified.cs +++ b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/OnShutdownVerifyTests.Test_OnShutdown_NoInput_ReturnUnexpectedTypeAsync#LambdaHandler.g.verified.cs @@ -16,7 +16,7 @@ namespace System.Runtime.CompilerServices { using System.CodeDom.Compiler; - [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] + [GeneratedCode("REPLACED", "REPLACED")] [AttributeUsage(AttributeTargets.Method, AllowMultiple = true)] file sealed class InterceptsLocationAttribute : Attribute { @@ -37,7 +37,7 @@ namespace MinimalLambda.Generated using MinimalLambda; using MinimalLambda.Builder; - [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] + [GeneratedCode("REPLACED", "REPLACED")] file static class GeneratedLambdaOnShutdownBuilderExtensions { [InterceptsLocation(1, "REPLACED")] diff --git a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/OnShutdownVerifyTests.Test_OnShutdown_NoInput_ReturnUnexpectedTypeTask#LambdaHandler.g.verified.cs b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/OnShutdownVerifyTests.Test_OnShutdown_NoInput_ReturnUnexpectedTypeTask#LambdaHandler.g.verified.cs index b6037784..7cb6b933 100644 --- a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/OnShutdownVerifyTests.Test_OnShutdown_NoInput_ReturnUnexpectedTypeTask#LambdaHandler.g.verified.cs +++ b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/OnShutdownVerifyTests.Test_OnShutdown_NoInput_ReturnUnexpectedTypeTask#LambdaHandler.g.verified.cs @@ -16,7 +16,7 @@ namespace System.Runtime.CompilerServices { using System.CodeDom.Compiler; - [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] + [GeneratedCode("REPLACED", "REPLACED")] [AttributeUsage(AttributeTargets.Method, AllowMultiple = true)] file sealed class InterceptsLocationAttribute : Attribute { @@ -37,7 +37,7 @@ namespace MinimalLambda.Generated using MinimalLambda; using MinimalLambda.Builder; - [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] + [GeneratedCode("REPLACED", "REPLACED")] file static class GeneratedLambdaOnShutdownBuilderExtensions { [InterceptsLocation(1, "REPLACED")] diff --git a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/OnShutdownVerifyTests.Test_OnShutdown_NullableValueAndReferenceInputs#LambdaHandler.g.verified.cs b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/OnShutdownVerifyTests.Test_OnShutdown_NullableValueAndReferenceInputs#LambdaHandler.g.verified.cs index fa51e87e..73991f53 100644 --- a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/OnShutdownVerifyTests.Test_OnShutdown_NullableValueAndReferenceInputs#LambdaHandler.g.verified.cs +++ b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/OnShutdownVerifyTests.Test_OnShutdown_NullableValueAndReferenceInputs#LambdaHandler.g.verified.cs @@ -16,7 +16,7 @@ namespace System.Runtime.CompilerServices { using System.CodeDom.Compiler; - [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] + [GeneratedCode("REPLACED", "REPLACED")] [AttributeUsage(AttributeTargets.Method, AllowMultiple = true)] file sealed class InterceptsLocationAttribute : Attribute { @@ -37,7 +37,7 @@ namespace MinimalLambda.Generated using MinimalLambda; using MinimalLambda.Builder; - [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] + [GeneratedCode("REPLACED", "REPLACED")] file static class GeneratedLambdaOnShutdownBuilderExtensions { [InterceptsLocation(1, "REPLACED")] diff --git a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/OnShutdownVerifyTests.Test_OnShutdown_OneOfEachPossibleKindOfInput#LambdaHandler.g.verified.cs b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/OnShutdownVerifyTests.Test_OnShutdown_OneOfEachPossibleKindOfInput#LambdaHandler.g.verified.cs index 0344de1e..96f9ef27 100644 --- a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/OnShutdownVerifyTests.Test_OnShutdown_OneOfEachPossibleKindOfInput#LambdaHandler.g.verified.cs +++ b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/OnShutdownVerifyTests.Test_OnShutdown_OneOfEachPossibleKindOfInput#LambdaHandler.g.verified.cs @@ -16,7 +16,7 @@ namespace System.Runtime.CompilerServices { using System.CodeDom.Compiler; - [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] + [GeneratedCode("REPLACED", "REPLACED")] [AttributeUsage(AttributeTargets.Method, AllowMultiple = true)] file sealed class InterceptsLocationAttribute : Attribute { @@ -37,7 +37,7 @@ namespace MinimalLambda.Generated using MinimalLambda; using MinimalLambda.Builder; - [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] + [GeneratedCode("REPLACED", "REPLACED")] file static class GeneratedLambdaOnShutdownBuilderExtensions { [InterceptsLocation(1, "REPLACED")] diff --git a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/OnShutdownVerifyTests.Test_OnShutdown_PrimitiveInput#LambdaHandler.g.verified.cs b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/OnShutdownVerifyTests.Test_OnShutdown_PrimitiveInput#LambdaHandler.g.verified.cs index 452a7a3a..c49919f6 100644 --- a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/OnShutdownVerifyTests.Test_OnShutdown_PrimitiveInput#LambdaHandler.g.verified.cs +++ b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/OnShutdownVerifyTests.Test_OnShutdown_PrimitiveInput#LambdaHandler.g.verified.cs @@ -16,7 +16,7 @@ namespace System.Runtime.CompilerServices { using System.CodeDom.Compiler; - [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] + [GeneratedCode("REPLACED", "REPLACED")] [AttributeUsage(AttributeTargets.Method, AllowMultiple = true)] file sealed class InterceptsLocationAttribute : Attribute { @@ -37,7 +37,7 @@ namespace MinimalLambda.Generated using MinimalLambda; using MinimalLambda.Builder; - [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] + [GeneratedCode("REPLACED", "REPLACED")] file static class GeneratedLambdaOnShutdownBuilderExtensions { [InterceptsLocation(1, "REPLACED")] diff --git a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/UseMiddlewareTVerifyTests.Test_MiddlewareClass_AbstractMiddleware#LambdaHandler.g.verified.cs b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/UseMiddlewareTVerifyTests.Test_MiddlewareClass_AbstractMiddleware#LambdaHandler.g.verified.cs index 2a297b96..3dc29905 100644 --- a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/UseMiddlewareTVerifyTests.Test_MiddlewareClass_AbstractMiddleware#LambdaHandler.g.verified.cs +++ b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/UseMiddlewareTVerifyTests.Test_MiddlewareClass_AbstractMiddleware#LambdaHandler.g.verified.cs @@ -16,7 +16,7 @@ namespace System.Runtime.CompilerServices { using System.CodeDom.Compiler; - [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] + [GeneratedCode("REPLACED", "REPLACED")] [AttributeUsage(AttributeTargets.Method, AllowMultiple = true)] file sealed class InterceptsLocationAttribute : Attribute { @@ -37,7 +37,7 @@ namespace MinimalLambda.Generated using MinimalLambda; using MinimalLambda.Builder; - [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] + [GeneratedCode("REPLACED", "REPLACED")] file static class UseMiddlewareExtensions { [InterceptsLocation(1, "REPLACED")] diff --git a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/UseMiddlewareTVerifyTests.Test_MiddlewareClass_ComplexRealWorldScenario#LambdaHandler.g.verified.cs b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/UseMiddlewareTVerifyTests.Test_MiddlewareClass_ComplexRealWorldScenario#LambdaHandler.g.verified.cs index 4aa08cd4..d5a6e748 100644 --- a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/UseMiddlewareTVerifyTests.Test_MiddlewareClass_ComplexRealWorldScenario#LambdaHandler.g.verified.cs +++ b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/UseMiddlewareTVerifyTests.Test_MiddlewareClass_ComplexRealWorldScenario#LambdaHandler.g.verified.cs @@ -16,7 +16,7 @@ namespace System.Runtime.CompilerServices { using System.CodeDom.Compiler; - [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] + [GeneratedCode("REPLACED", "REPLACED")] [AttributeUsage(AttributeTargets.Method, AllowMultiple = true)] file sealed class InterceptsLocationAttribute : Attribute { @@ -37,7 +37,7 @@ namespace MinimalLambda.Generated using MinimalLambda; using MinimalLambda.Builder; - [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] + [GeneratedCode("REPLACED", "REPLACED")] file static class UseMiddlewareExtensions { [InterceptsLocation(1, "REPLACED")] diff --git a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/UseMiddlewareTVerifyTests.Test_MiddlewareClass_ConstructorWithArgs#LambdaHandler.g.verified.cs b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/UseMiddlewareTVerifyTests.Test_MiddlewareClass_ConstructorWithArgs#LambdaHandler.g.verified.cs index deeba46f..0c5edc76 100644 --- a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/UseMiddlewareTVerifyTests.Test_MiddlewareClass_ConstructorWithArgs#LambdaHandler.g.verified.cs +++ b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/UseMiddlewareTVerifyTests.Test_MiddlewareClass_ConstructorWithArgs#LambdaHandler.g.verified.cs @@ -16,7 +16,7 @@ namespace System.Runtime.CompilerServices { using System.CodeDom.Compiler; - [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] + [GeneratedCode("REPLACED", "REPLACED")] [AttributeUsage(AttributeTargets.Method, AllowMultiple = true)] file sealed class InterceptsLocationAttribute : Attribute { @@ -37,7 +37,7 @@ namespace MinimalLambda.Generated using MinimalLambda; using MinimalLambda.Builder; - [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] + [GeneratedCode("REPLACED", "REPLACED")] file static class UseMiddlewareExtensions { [InterceptsLocation(1, "REPLACED")] diff --git a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/UseMiddlewareTVerifyTests.Test_MiddlewareClass_FromArgumentsAttribute#LambdaHandler.g.verified.cs b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/UseMiddlewareTVerifyTests.Test_MiddlewareClass_FromArgumentsAttribute#LambdaHandler.g.verified.cs index 915ae172..42a9fa92 100644 --- a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/UseMiddlewareTVerifyTests.Test_MiddlewareClass_FromArgumentsAttribute#LambdaHandler.g.verified.cs +++ b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/UseMiddlewareTVerifyTests.Test_MiddlewareClass_FromArgumentsAttribute#LambdaHandler.g.verified.cs @@ -16,7 +16,7 @@ namespace System.Runtime.CompilerServices { using System.CodeDom.Compiler; - [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] + [GeneratedCode("REPLACED", "REPLACED")] [AttributeUsage(AttributeTargets.Method, AllowMultiple = true)] file sealed class InterceptsLocationAttribute : Attribute { @@ -37,7 +37,7 @@ namespace MinimalLambda.Generated using MinimalLambda; using MinimalLambda.Builder; - [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] + [GeneratedCode("REPLACED", "REPLACED")] file static class UseMiddlewareExtensions { [InterceptsLocation(1, "REPLACED")] diff --git a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/UseMiddlewareTVerifyTests.Test_MiddlewareClass_FromKeyedServicesAttribute#LambdaHandler.g.verified.cs b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/UseMiddlewareTVerifyTests.Test_MiddlewareClass_FromKeyedServicesAttribute#LambdaHandler.g.verified.cs index 91d1033a..abbf30d4 100644 --- a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/UseMiddlewareTVerifyTests.Test_MiddlewareClass_FromKeyedServicesAttribute#LambdaHandler.g.verified.cs +++ b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/UseMiddlewareTVerifyTests.Test_MiddlewareClass_FromKeyedServicesAttribute#LambdaHandler.g.verified.cs @@ -16,7 +16,7 @@ namespace System.Runtime.CompilerServices { using System.CodeDom.Compiler; - [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] + [GeneratedCode("REPLACED", "REPLACED")] [AttributeUsage(AttributeTargets.Method, AllowMultiple = true)] file sealed class InterceptsLocationAttribute : Attribute { @@ -37,7 +37,7 @@ namespace MinimalLambda.Generated using MinimalLambda; using MinimalLambda.Builder; - [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] + [GeneratedCode("REPLACED", "REPLACED")] file static class UseMiddlewareExtensions { [InterceptsLocation(1, "REPLACED")] diff --git a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/UseMiddlewareTVerifyTests.Test_MiddlewareClass_FromServicesAttribute#LambdaHandler.g.verified.cs b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/UseMiddlewareTVerifyTests.Test_MiddlewareClass_FromServicesAttribute#LambdaHandler.g.verified.cs index f478a616..29e8bc51 100644 --- a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/UseMiddlewareTVerifyTests.Test_MiddlewareClass_FromServicesAttribute#LambdaHandler.g.verified.cs +++ b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/UseMiddlewareTVerifyTests.Test_MiddlewareClass_FromServicesAttribute#LambdaHandler.g.verified.cs @@ -16,7 +16,7 @@ namespace System.Runtime.CompilerServices { using System.CodeDom.Compiler; - [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] + [GeneratedCode("REPLACED", "REPLACED")] [AttributeUsage(AttributeTargets.Method, AllowMultiple = true)] file sealed class InterceptsLocationAttribute : Attribute { @@ -37,7 +37,7 @@ namespace MinimalLambda.Generated using MinimalLambda; using MinimalLambda.Builder; - [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] + [GeneratedCode("REPLACED", "REPLACED")] file static class UseMiddlewareExtensions { [InterceptsLocation(1, "REPLACED")] diff --git a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/UseMiddlewareTVerifyTests.Test_MiddlewareClass_IAsyncDisposable#LambdaHandler.g.verified.cs b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/UseMiddlewareTVerifyTests.Test_MiddlewareClass_IAsyncDisposable#LambdaHandler.g.verified.cs index 2b131bfd..9b1c8f89 100644 --- a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/UseMiddlewareTVerifyTests.Test_MiddlewareClass_IAsyncDisposable#LambdaHandler.g.verified.cs +++ b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/UseMiddlewareTVerifyTests.Test_MiddlewareClass_IAsyncDisposable#LambdaHandler.g.verified.cs @@ -16,7 +16,7 @@ namespace System.Runtime.CompilerServices { using System.CodeDom.Compiler; - [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] + [GeneratedCode("REPLACED", "REPLACED")] [AttributeUsage(AttributeTargets.Method, AllowMultiple = true)] file sealed class InterceptsLocationAttribute : Attribute { @@ -37,7 +37,7 @@ namespace MinimalLambda.Generated using MinimalLambda; using MinimalLambda.Builder; - [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] + [GeneratedCode("REPLACED", "REPLACED")] file static class UseMiddlewareExtensions { [InterceptsLocation(1, "REPLACED")] diff --git a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/UseMiddlewareTVerifyTests.Test_MiddlewareClass_IDisposable#LambdaHandler.g.verified.cs b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/UseMiddlewareTVerifyTests.Test_MiddlewareClass_IDisposable#LambdaHandler.g.verified.cs index 291e54f3..778cf915 100644 --- a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/UseMiddlewareTVerifyTests.Test_MiddlewareClass_IDisposable#LambdaHandler.g.verified.cs +++ b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/UseMiddlewareTVerifyTests.Test_MiddlewareClass_IDisposable#LambdaHandler.g.verified.cs @@ -16,7 +16,7 @@ namespace System.Runtime.CompilerServices { using System.CodeDom.Compiler; - [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] + [GeneratedCode("REPLACED", "REPLACED")] [AttributeUsage(AttributeTargets.Method, AllowMultiple = true)] file sealed class InterceptsLocationAttribute : Attribute { @@ -37,7 +37,7 @@ namespace MinimalLambda.Generated using MinimalLambda; using MinimalLambda.Builder; - [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] + [GeneratedCode("REPLACED", "REPLACED")] file static class UseMiddlewareExtensions { [InterceptsLocation(1, "REPLACED")] diff --git a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/UseMiddlewareTVerifyTests.Test_MiddlewareClass_MixedParameterSources#LambdaHandler.g.verified.cs b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/UseMiddlewareTVerifyTests.Test_MiddlewareClass_MixedParameterSources#LambdaHandler.g.verified.cs index 9c55ad36..21728427 100644 --- a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/UseMiddlewareTVerifyTests.Test_MiddlewareClass_MixedParameterSources#LambdaHandler.g.verified.cs +++ b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/UseMiddlewareTVerifyTests.Test_MiddlewareClass_MixedParameterSources#LambdaHandler.g.verified.cs @@ -16,7 +16,7 @@ namespace System.Runtime.CompilerServices { using System.CodeDom.Compiler; - [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] + [GeneratedCode("REPLACED", "REPLACED")] [AttributeUsage(AttributeTargets.Method, AllowMultiple = true)] file sealed class InterceptsLocationAttribute : Attribute { @@ -37,7 +37,7 @@ namespace MinimalLambda.Generated using MinimalLambda; using MinimalLambda.Builder; - [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] + [GeneratedCode("REPLACED", "REPLACED")] file static class UseMiddlewareExtensions { [InterceptsLocation(1, "REPLACED")] diff --git a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/UseMiddlewareTVerifyTests.Test_MiddlewareClass_MultipleConstructorsAndOneWithMiddlewareConstructor#LambdaHandler.g.verified.cs b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/UseMiddlewareTVerifyTests.Test_MiddlewareClass_MultipleConstructorsAndOneWithMiddlewareConstructor#LambdaHandler.g.verified.cs index f7a1fe71..96375840 100644 --- a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/UseMiddlewareTVerifyTests.Test_MiddlewareClass_MultipleConstructorsAndOneWithMiddlewareConstructor#LambdaHandler.g.verified.cs +++ b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/UseMiddlewareTVerifyTests.Test_MiddlewareClass_MultipleConstructorsAndOneWithMiddlewareConstructor#LambdaHandler.g.verified.cs @@ -16,7 +16,7 @@ namespace System.Runtime.CompilerServices { using System.CodeDom.Compiler; - [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] + [GeneratedCode("REPLACED", "REPLACED")] [AttributeUsage(AttributeTargets.Method, AllowMultiple = true)] file sealed class InterceptsLocationAttribute : Attribute { @@ -37,7 +37,7 @@ namespace MinimalLambda.Generated using MinimalLambda; using MinimalLambda.Builder; - [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] + [GeneratedCode("REPLACED", "REPLACED")] file static class UseMiddlewareExtensions { [InterceptsLocation(1, "REPLACED")] diff --git a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/UseMiddlewareTVerifyTests.Test_MiddlewareClass_NullableParameter#LambdaHandler.g.verified.cs b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/UseMiddlewareTVerifyTests.Test_MiddlewareClass_NullableParameter#LambdaHandler.g.verified.cs index f6dfd7c2..6ae4fc72 100644 --- a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/UseMiddlewareTVerifyTests.Test_MiddlewareClass_NullableParameter#LambdaHandler.g.verified.cs +++ b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/UseMiddlewareTVerifyTests.Test_MiddlewareClass_NullableParameter#LambdaHandler.g.verified.cs @@ -16,7 +16,7 @@ namespace System.Runtime.CompilerServices { using System.CodeDom.Compiler; - [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] + [GeneratedCode("REPLACED", "REPLACED")] [AttributeUsage(AttributeTargets.Method, AllowMultiple = true)] file sealed class InterceptsLocationAttribute : Attribute { @@ -37,7 +37,7 @@ namespace MinimalLambda.Generated using MinimalLambda; using MinimalLambda.Builder; - [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] + [GeneratedCode("REPLACED", "REPLACED")] file static class UseMiddlewareExtensions { [InterceptsLocation(1, "REPLACED")] diff --git a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/UseMiddlewareTVerifyTests.Test_MiddlewareClass_OptionalParameterWithDefaultValue#LambdaHandler.g.verified.cs b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/UseMiddlewareTVerifyTests.Test_MiddlewareClass_OptionalParameterWithDefaultValue#LambdaHandler.g.verified.cs index e4b811da..416d46de 100644 --- a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/UseMiddlewareTVerifyTests.Test_MiddlewareClass_OptionalParameterWithDefaultValue#LambdaHandler.g.verified.cs +++ b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/UseMiddlewareTVerifyTests.Test_MiddlewareClass_OptionalParameterWithDefaultValue#LambdaHandler.g.verified.cs @@ -16,7 +16,7 @@ namespace System.Runtime.CompilerServices { using System.CodeDom.Compiler; - [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] + [GeneratedCode("REPLACED", "REPLACED")] [AttributeUsage(AttributeTargets.Method, AllowMultiple = true)] file sealed class InterceptsLocationAttribute : Attribute { @@ -37,7 +37,7 @@ namespace MinimalLambda.Generated using MinimalLambda; using MinimalLambda.Builder; - [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] + [GeneratedCode("REPLACED", "REPLACED")] file static class UseMiddlewareExtensions { [InterceptsLocation(1, "REPLACED")] diff --git a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/UseMiddlewareTVerifyTests.Test_MiddlewareClass_Simple#LambdaHandler.g.verified.cs b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/UseMiddlewareTVerifyTests.Test_MiddlewareClass_Simple#LambdaHandler.g.verified.cs index f7a1fe71..96375840 100644 --- a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/UseMiddlewareTVerifyTests.Test_MiddlewareClass_Simple#LambdaHandler.g.verified.cs +++ b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/UseMiddlewareTVerifyTests.Test_MiddlewareClass_Simple#LambdaHandler.g.verified.cs @@ -16,7 +16,7 @@ namespace System.Runtime.CompilerServices { using System.CodeDom.Compiler; - [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] + [GeneratedCode("REPLACED", "REPLACED")] [AttributeUsage(AttributeTargets.Method, AllowMultiple = true)] file sealed class InterceptsLocationAttribute : Attribute { @@ -37,7 +37,7 @@ namespace MinimalLambda.Generated using MinimalLambda; using MinimalLambda.Builder; - [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] + [GeneratedCode("REPLACED", "REPLACED")] file static class UseMiddlewareExtensions { [InterceptsLocation(1, "REPLACED")] diff --git a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/UseMiddlewareTVerifyTests.Test_MiddlewareClass_WithArgsArray#LambdaHandler.g.verified.cs b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/UseMiddlewareTVerifyTests.Test_MiddlewareClass_WithArgsArray#LambdaHandler.g.verified.cs index b416ec06..01183777 100644 --- a/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/UseMiddlewareTVerifyTests.Test_MiddlewareClass_WithArgsArray#LambdaHandler.g.verified.cs +++ b/tests/MinimalLambda.SourceGenerators.UnitTests/Snapshots/UseMiddlewareTVerifyTests.Test_MiddlewareClass_WithArgsArray#LambdaHandler.g.verified.cs @@ -16,7 +16,7 @@ namespace System.Runtime.CompilerServices { using System.CodeDom.Compiler; - [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] + [GeneratedCode("REPLACED", "REPLACED")] [AttributeUsage(AttributeTargets.Method, AllowMultiple = true)] file sealed class InterceptsLocationAttribute : Attribute { @@ -37,7 +37,7 @@ namespace MinimalLambda.Generated using MinimalLambda; using MinimalLambda.Builder; - [GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")] + [GeneratedCode("REPLACED", "REPLACED")] file static class UseMiddlewareExtensions { [InterceptsLocation(1, "REPLACED")] From 47f34c5edbbeec6b4f22e8caca8c887e43e0f802 Mon Sep 17 00:00:00 2001 From: Jonas Ha Date: Sun, 21 Dec 2025 20:30:50 -0500 Subject: [PATCH 4/7] refactor(tests): update regex and attribute handling in test helpers - Adjusted `GeneratedCodeAttributeRegex` pattern to use an updated inline formatting approach. - Changed `RegexHelper` class to be `static` for better utility alignment. --- .../GeneratorTestHelpers.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/MinimalLambda.SourceGenerators.UnitTests/GeneratorTestHelpers.cs b/tests/MinimalLambda.SourceGenerators.UnitTests/GeneratorTestHelpers.cs index 7f57e208..384273e5 100644 --- a/tests/MinimalLambda.SourceGenerators.UnitTests/GeneratorTestHelpers.cs +++ b/tests/MinimalLambda.SourceGenerators.UnitTests/GeneratorTestHelpers.cs @@ -65,7 +65,7 @@ internal static Task Verify(string source, int expectedTrees = 1) if (line.Contains("GeneratedCode", StringComparison.Ordinal)) return RegexHelper .GeneratedCodeAttributeRegex() - .Replace(line, @"[GeneratedCode(""REPLACED"", ""REPLACED"")]"); + .Replace(line, """[GeneratedCode("REPLACED", "REPLACED")]"""); // replace [InterceptsLocation(1, "")] if (line.Contains("InterceptsLocation", StringComparison.Ordinal)) @@ -133,7 +133,7 @@ .. Net90.References.All.ToList(), } } -internal partial class RegexHelper +internal static partial class RegexHelper { [GeneratedRegex("""\[GeneratedCode\("([^"]+)",\s*"([^"]+)"\)\]""", RegexOptions.None, "en-US")] internal static partial Regex GeneratedCodeAttributeRegex(); From 216f9c22a69039dd91c4a7a9c0b6ee5a1ca51e91 Mon Sep 17 00:00:00 2001 From: Jonas Ha Date: Sun, 21 Dec 2025 20:38:15 -0500 Subject: [PATCH 5/7] refactor(generator): consolidate GeneratedCodeAttribute logic and simplify usage - Removed redundant fields and constructors for generator name and version in `MapHandlerIncrementalGenerator`. - Moved `GeneratedCodeAttribute` logic to a single utility property in `LambdaHostOutputGenerator`. - Updated generator outputs to reference `LambdaHostOutputGenerator.GeneratedCodeAttribute` directly. - Simplified method signatures across output generator classes by removing unnecessary parameters. --- .../MapHandlerIncrementalGenerator.cs | 26 +--------- .../OutputGenerators/CommonSources.cs | 4 +- .../OutputGenerators/GenericHandlerSources.cs | 5 +- .../LambdaHostOutputGenerator.cs | 47 ++++++++++--------- .../OutputGenerators/MapHandlerSources.cs | 5 +- .../OutputGenerators/UseMiddlewareTSource.cs | 7 +-- 6 files changed, 33 insertions(+), 61 deletions(-) diff --git a/src/MinimalLambda.SourceGenerators/MapHandlerIncrementalGenerator.cs b/src/MinimalLambda.SourceGenerators/MapHandlerIncrementalGenerator.cs index bfcea580..19dabb57 100644 --- a/src/MinimalLambda.SourceGenerators/MapHandlerIncrementalGenerator.cs +++ b/src/MinimalLambda.SourceGenerators/MapHandlerIncrementalGenerator.cs @@ -1,5 +1,4 @@ using System.Collections.Generic; -using System.Reflection; using Microsoft.CodeAnalysis; using Microsoft.CodeAnalysis.CSharp; using MinimalLambda.SourceGenerators.Models; @@ -9,24 +8,6 @@ namespace MinimalLambda.SourceGenerators; [Generator] public class MapHandlerIncrementalGenerator : IIncrementalGenerator { - private readonly string _generatorName; - private readonly string _generatorVersion; - - public MapHandlerIncrementalGenerator() - { - var assembly = Assembly.GetExecutingAssembly(); - - _generatorName = assembly.GetName().FullName; - _generatorVersion = assembly.GetName().Version.ToString(); - } - - /// This constructor is only used for testing. - internal MapHandlerIncrementalGenerator(string generatorName, string generatorVersion) - { - _generatorName = generatorName; - _generatorVersion = generatorVersion; - } - public void Initialize(IncrementalGeneratorInitializationContext context) { // Language version gate - only generate source if C# 11 or later is used @@ -139,12 +120,7 @@ is CSharpCompilation if (info is null) return; - LambdaHostOutputGenerator.Generate( - productionContext, - info.Value, - _generatorName, - _generatorVersion - ); + LambdaHostOutputGenerator.Generate(productionContext, info.Value); } ); } diff --git a/src/MinimalLambda.SourceGenerators/OutputGenerators/CommonSources.cs b/src/MinimalLambda.SourceGenerators/OutputGenerators/CommonSources.cs index 45d3c845..571e4b0d 100644 --- a/src/MinimalLambda.SourceGenerators/OutputGenerators/CommonSources.cs +++ b/src/MinimalLambda.SourceGenerators/OutputGenerators/CommonSources.cs @@ -2,9 +2,9 @@ namespace MinimalLambda.SourceGenerators; internal static class CommonSources { - internal static string Generate(string generatedCodeAttribute) + internal static string Generate() { - var model = new { GeneratedCodeAttribute = generatedCodeAttribute }; + var model = new { LambdaHostOutputGenerator.GeneratedCodeAttribute }; var template = TemplateHelper.LoadTemplate( GeneratorConstants.InterceptsLocationAttributeTemplateFile diff --git a/src/MinimalLambda.SourceGenerators/OutputGenerators/GenericHandlerSources.cs b/src/MinimalLambda.SourceGenerators/OutputGenerators/GenericHandlerSources.cs index be18b6a4..7103bbba 100644 --- a/src/MinimalLambda.SourceGenerators/OutputGenerators/GenericHandlerSources.cs +++ b/src/MinimalLambda.SourceGenerators/OutputGenerators/GenericHandlerSources.cs @@ -32,8 +32,7 @@ internal static string Generate( string methodName, string? wrapperReturnType, string? defaultWrapperReturnValue, - string targetType, - string generatedCodeAttribute + string targetType ) { var calls = higherOrderMethodInfos @@ -110,7 +109,7 @@ string generatedCodeAttribute { Name = methodName, Calls = calls, - GeneratedCodeAttribute = generatedCodeAttribute, + LambdaHostOutputGenerator.GeneratedCodeAttribute, }; var template = TemplateHelper.LoadTemplate(GeneratorConstants.GenericHandlerTemplateFile); diff --git a/src/MinimalLambda.SourceGenerators/OutputGenerators/LambdaHostOutputGenerator.cs b/src/MinimalLambda.SourceGenerators/OutputGenerators/LambdaHostOutputGenerator.cs index 391abb14..aff0c000 100644 --- a/src/MinimalLambda.SourceGenerators/OutputGenerators/LambdaHostOutputGenerator.cs +++ b/src/MinimalLambda.SourceGenerators/OutputGenerators/LambdaHostOutputGenerator.cs @@ -1,5 +1,6 @@ using System.Collections.Generic; using System.Linq; +using System.Reflection; using Microsoft.CodeAnalysis; using MinimalLambda.SourceGenerators.Models; @@ -7,12 +8,24 @@ namespace MinimalLambda.SourceGenerators; internal static class LambdaHostOutputGenerator { - internal static void Generate( - SourceProductionContext context, - CompilationInfo compilationInfo, - string generatorName, - string generatorVersion - ) + internal static string GeneratedCodeAttribute + { + get + { + if (field is null) + { + var assembly = Assembly.GetExecutingAssembly(); + var generatorName = assembly.GetName().FullName; + var generatorVersion = assembly.GetName().Version.ToString(); + + field = $"[GeneratedCode(\"{generatorName}\", \"{generatorVersion}\")]"; + } + + return field; + } + } + + internal static void Generate(SourceProductionContext context, CompilationInfo compilationInfo) { // validate the generator data and report any diagnostics before exiting. var diagnostics = DiagnosticGenerator.GenerateDiagnostics(compilationInfo); @@ -25,13 +38,9 @@ string generatorVersion return; } - // create GeneratedCodeAttribute. This is used across all generated source files. - var generatedCodeAttribute = - $"[GeneratedCode(\"{generatorName}\", \"{generatorVersion}\")]"; - List outputs = [ - CommonSources.Generate(generatedCodeAttribute), + CommonSources.Generate(), """ namespace MinimalLambda.Generated { @@ -52,19 +61,13 @@ namespace MinimalLambda.Generated outputs.Add( MapHandlerSources.Generate( compilationInfo.MapHandlerInvocationInfos, - compilationInfo.BuilderInfos, - generatedCodeAttribute + compilationInfo.BuilderInfos ) ); // add UseMiddleware interceptors if (compilationInfo.UseMiddlewareTInfos.Count >= 1) - outputs.Add( - UseMiddlewareTSource.Generate( - compilationInfo.UseMiddlewareTInfos, - generatedCodeAttribute - ) - ); + outputs.Add(UseMiddlewareTSource.Generate(compilationInfo.UseMiddlewareTInfos)); // add OnInit interceptors if (compilationInfo.OnInitInvocationInfos.Count >= 1) @@ -74,8 +77,7 @@ namespace MinimalLambda.Generated "OnInit", "bool", "true", - "ILambdaOnInitBuilder", - generatedCodeAttribute + "ILambdaOnInitBuilder" ) ); @@ -87,8 +89,7 @@ namespace MinimalLambda.Generated "OnShutdown", null, null, - "ILambdaOnShutdownBuilder", - generatedCodeAttribute + "ILambdaOnShutdownBuilder" ) ); diff --git a/src/MinimalLambda.SourceGenerators/OutputGenerators/MapHandlerSources.cs b/src/MinimalLambda.SourceGenerators/OutputGenerators/MapHandlerSources.cs index 61480ef4..709c1f5f 100644 --- a/src/MinimalLambda.SourceGenerators/OutputGenerators/MapHandlerSources.cs +++ b/src/MinimalLambda.SourceGenerators/OutputGenerators/MapHandlerSources.cs @@ -9,8 +9,7 @@ internal static class MapHandlerSources { internal static string Generate( EquatableArray mapHandlerInvocationInfos, - EquatableArray builderInfo, - string generatedCodeAttribute + EquatableArray builderInfo ) { var mapHandlerCalls = mapHandlerInvocationInfos.Select(mapHandlerInvocationInfo => @@ -69,7 +68,7 @@ string generatedCodeAttribute return template.Render( new { - GeneratedCodeAttribute = generatedCodeAttribute, + LambdaHostOutputGenerator.GeneratedCodeAttribute, MapHandlerCalls = mapHandlerCalls, } ); diff --git a/src/MinimalLambda.SourceGenerators/OutputGenerators/UseMiddlewareTSource.cs b/src/MinimalLambda.SourceGenerators/OutputGenerators/UseMiddlewareTSource.cs index 31f2fab4..b4f70c58 100644 --- a/src/MinimalLambda.SourceGenerators/OutputGenerators/UseMiddlewareTSource.cs +++ b/src/MinimalLambda.SourceGenerators/OutputGenerators/UseMiddlewareTSource.cs @@ -6,10 +6,7 @@ namespace MinimalLambda.SourceGenerators; internal static class UseMiddlewareTSource { - internal static string Generate( - EquatableArray useMiddlewareTInfos, - string generatedCodeAttribute - ) + internal static string Generate(EquatableArray useMiddlewareTInfos) { var useMiddlewareTCalls = useMiddlewareTInfos.Select(useMiddlewareTInfo => { @@ -87,7 +84,7 @@ n is AttributeConstants.FromServices or AttributeConstants.FromKeyedService var template = TemplateHelper.LoadTemplate(GeneratorConstants.UseMiddlewareTTemplateFile); return template.Render( - new { GeneratedCodeAttribute = generatedCodeAttribute, Calls = useMiddlewareTCalls } + new { LambdaHostOutputGenerator.GeneratedCodeAttribute, Calls = useMiddlewareTCalls } ); } From e94ed07be70fdc3a6b7e554497995de1ac118c6c Mon Sep 17 00:00:00 2001 From: Jonas Ha Date: Sun, 21 Dec 2025 20:40:30 -0500 Subject: [PATCH 6/7] feat(generator): update shipped analyzer release notes - Added LH0005 and LH0006 to `AnalyzerReleases.Shipped.md` under version 2.1.1. - Removed LH0001 from `AnalyzerReleases.Shipped.md` for version 2.0.0. - Cleared `AnalyzerReleases.Unshipped.md` to reflect updates in shipped release notes. --- .../AnalyzerReleases.Shipped.md | 17 +++++++++++++++++ .../AnalyzerReleases.Unshipped.md | 12 ------------ 2 files changed, 17 insertions(+), 12 deletions(-) diff --git a/src/MinimalLambda.SourceGenerators/AnalyzerReleases.Shipped.md b/src/MinimalLambda.SourceGenerators/AnalyzerReleases.Shipped.md index 6c52df40..7b062c27 100644 --- a/src/MinimalLambda.SourceGenerators/AnalyzerReleases.Shipped.md +++ b/src/MinimalLambda.SourceGenerators/AnalyzerReleases.Shipped.md @@ -1,3 +1,20 @@ +## Release 2.1.1 + +### New Rules + + Rule ID | Category | Severity | Notes +---------|-----------------------------|----------|------------- + LH0005 | MinimalLambda.Configuration | Error | Diagnostics + LH0006 | MinimalLambda.Configuration | Error | Diagnostics + +## Release 2.0.0 + +### Removed Rules + + Rule ID | Category | Severity | Notes +---------|---------------------|----------|-------------------------------- + LH0001 | MinimalLambda.Usage | Error | Multiple method calls detected + ## Release 1.0.0 ### New Rules diff --git a/src/MinimalLambda.SourceGenerators/AnalyzerReleases.Unshipped.md b/src/MinimalLambda.SourceGenerators/AnalyzerReleases.Unshipped.md index 4508b3ff..e69de29b 100644 --- a/src/MinimalLambda.SourceGenerators/AnalyzerReleases.Unshipped.md +++ b/src/MinimalLambda.SourceGenerators/AnalyzerReleases.Unshipped.md @@ -1,12 +0,0 @@ -### New Rules - - Rule ID | Category | Severity | Notes ----------|-----------------------------|----------|------------- - LH0005 | MinimalLambda.Configuration | Error | Diagnostics - LH0006 | MinimalLambda.Configuration | Error | Diagnostics - -### Removed Rules - - Rule ID | Category | Severity | Notes ----------|------------------------------|----------|----------------------------------- -LH0001 | MinimalLambda.Usage | Error | Multiple method calls detected \ No newline at end of file From fbc8841a8650e6b62d1c7e27baa363185b9e63b5 Mon Sep 17 00:00:00 2001 From: Jonas Ha Date: Sun, 21 Dec 2025 20:41:58 -0500 Subject: [PATCH 7/7] chore(config): add "tests" to allowed PR scopes and title validation - Updated `.claude/commands/pr.md` to include "tests" in the list of valid PR scopes. - Modified `.github/workflows/validate-pr-title.yaml` to recognize "tests" as an allowed PR title scope. --- .claude/commands/pr.md | 1 + .github/workflows/validate-pr-title.yaml | 1 + 2 files changed, 2 insertions(+) diff --git a/.claude/commands/pr.md b/.claude/commands/pr.md index a7c7f654..60e273fd 100644 --- a/.claude/commands/pr.md +++ b/.claude/commands/pr.md @@ -22,6 +22,7 @@ - core - docs - testing + - tests - Use this template for the PR: --- diff --git a/.github/workflows/validate-pr-title.yaml b/.github/workflows/validate-pr-title.yaml index ff364d96..39a2c76b 100644 --- a/.github/workflows/validate-pr-title.yaml +++ b/.github/workflows/validate-pr-title.yaml @@ -46,6 +46,7 @@ jobs: core docs testing + tests requireScope: false subjectPattern: ^[a-z].* subjectPatternError: Subject must start with lowercase letter