diff --git a/Directory.Build.props b/Directory.Build.props
index 8bc5ba5a..b89c23a5 100644
--- a/Directory.Build.props
+++ b/Directory.Build.props
@@ -23,7 +23,7 @@
runtime; build; native; contentfiles; analyzers; buildtransitive
-
+
true
true
true
diff --git a/Directory.Packages.props b/Directory.Packages.props
index e2266c3a..8ef37a54 100644
--- a/Directory.Packages.props
+++ b/Directory.Packages.props
@@ -15,6 +15,8 @@
+
+
diff --git a/benchmarks/MinimalLambda.Benchmarks/Program.cs b/benchmarks/MinimalLambda.Benchmarks/Program.cs
index 784d7f94..721fe92b 100644
--- a/benchmarks/MinimalLambda.Benchmarks/Program.cs
+++ b/benchmarks/MinimalLambda.Benchmarks/Program.cs
@@ -4,6 +4,4 @@
var config = DefaultConfig.Instance;
-var summary = BenchmarkRunner.Run(config, args);
-
-// var summaries = BenchmarkSwitcher.FromAssembly(typeof(Program).Assembly).Run(args, config);
+BenchmarkRunner.Run(config, args);
diff --git a/examples/MinimalLambda.Example.Events/Program.cs b/examples/MinimalLambda.Example.Events/Program.cs
index e0cb6c00..ce4a6779 100644
--- a/examples/MinimalLambda.Example.Events/Program.cs
+++ b/examples/MinimalLambda.Example.Events/Program.cs
@@ -30,7 +30,7 @@
(
[FromEvent] ApiGatewayRequestEnvelope request,
ILogger logger,
- ILambdaInvocationContext context
+ ILambdaInvocationContext _
) =>
{
logger.LogInformation("In Handler. Payload: {Payload}", request.Body);
diff --git a/examples/MinimalLambda.Example.Lifecycle/Program.cs b/examples/MinimalLambda.Example.Lifecycle/Program.cs
index 139497cf..4a34b9e6 100644
--- a/examples/MinimalLambda.Example.Lifecycle/Program.cs
+++ b/examples/MinimalLambda.Example.Lifecycle/Program.cs
@@ -58,7 +58,7 @@ async Task (ILogger logger, CancellationToken cancellationToken)
});
lambda.OnShutdown(
- (CancellationToken token) =>
+ (CancellationToken _) =>
{
Console.WriteLine("Shutting down...");
return Task.CompletedTask;
@@ -68,7 +68,7 @@ async Task (ILogger logger, CancellationToken cancellationToken)
lambda.OnShutdown(
Task (IService service) =>
{
- Console.WriteLine(service?.GetMessage());
+ Console.WriteLine(service.GetMessage());
return Task.CompletedTask;
}
);
diff --git a/src/MinimalLambda.SourceGenerators/OutputGenerators/GenericHandlerSources.cs b/src/MinimalLambda.SourceGenerators/OutputGenerators/GenericHandlerSources.cs
index 7103bbba..738531d9 100644
--- a/src/MinimalLambda.SourceGenerators/OutputGenerators/GenericHandlerSources.cs
+++ b/src/MinimalLambda.SourceGenerators/OutputGenerators/GenericHandlerSources.cs
@@ -12,21 +12,6 @@ internal static class GenericHandlerSources
/// handler. The return type of the wrapper is a Task or Task<T> depending on
/// the return type of the actual handler.
///
- /// The method info from which the handler is generated
- ///
- /// The name of the method that the handler is coming from and for which the
- /// code is intercepting
- ///
- ///
- /// The return type of the wrapper function, without Task. Ex.,
- /// bool not Task<bool>. A null signifies no return value.
- ///
- ///
- /// The default value the wrapped handler will return if the
- /// handler does not return a value of the same type as wrapperReturnType. This is without Task.
- /// Ex., bool not Task<bool>. A null signifies no default return value.
- ///
- ///
internal static string Generate(
EquatableArray higherOrderMethodInfos,
string methodName,
@@ -155,5 +140,6 @@ private static HandlerArg[] BuildHandlerParameterAssignment(this DelegateInfo de
return handlerArgs;
}
+ // ReSharper disable NotAccessedPositionalProperty.Local
private readonly record struct HandlerArg(string String, string Assignment);
}
diff --git a/src/MinimalLambda.SourceGenerators/OutputGenerators/LambdaHostOutputGenerator.cs b/src/MinimalLambda.SourceGenerators/OutputGenerators/LambdaHostOutputGenerator.cs
index aff0c000..dc182be3 100644
--- a/src/MinimalLambda.SourceGenerators/OutputGenerators/LambdaHostOutputGenerator.cs
+++ b/src/MinimalLambda.SourceGenerators/OutputGenerators/LambdaHostOutputGenerator.cs
@@ -15,10 +15,11 @@ internal static string GeneratedCodeAttribute
if (field is null)
{
var assembly = Assembly.GetExecutingAssembly();
- var generatorName = assembly.GetName().FullName;
+ var generatorName = assembly.GetName().Name;
var generatorVersion = assembly.GetName().Version.ToString();
- field = $"[GeneratedCode(\"{generatorName}\", \"{generatorVersion}\")]";
+ field =
+ $"""[global::System.CodeDom.Compiler.GeneratedCode("{generatorName}", "{generatorVersion}")]""";
}
return field;
@@ -45,7 +46,6 @@ internal static void Generate(SourceProductionContext context, CompilationInfo c
namespace MinimalLambda.Generated
{
using System;
- using System.CodeDom.Compiler;
using System.Runtime.CompilerServices;
using System.Threading;
using System.Threading.Tasks;
diff --git a/src/MinimalLambda.SourceGenerators/OutputGenerators/MapHandlerSources.cs b/src/MinimalLambda.SourceGenerators/OutputGenerators/MapHandlerSources.cs
index 709c1f5f..660895f3 100644
--- a/src/MinimalLambda.SourceGenerators/OutputGenerators/MapHandlerSources.cs
+++ b/src/MinimalLambda.SourceGenerators/OutputGenerators/MapHandlerSources.cs
@@ -115,5 +115,6 @@ private static HandlerArg[] BuildHandlerParameterAssignment(this DelegateInfo de
})
.ToArray();
+ // ReSharper disable NotAccessedPositionalProperty.Local
private readonly record struct HandlerArg(string String, string Assignment);
}
diff --git a/src/MinimalLambda.SourceGenerators/SyntaxProviders/Extractors/HandlerInfoExtractor.cs b/src/MinimalLambda.SourceGenerators/SyntaxProviders/Extractors/HandlerInfoExtractor.cs
index ed116504..58eba2f2 100644
--- a/src/MinimalLambda.SourceGenerators/SyntaxProviders/Extractors/HandlerInfoExtractor.cs
+++ b/src/MinimalLambda.SourceGenerators/SyntaxProviders/Extractors/HandlerInfoExtractor.cs
@@ -133,7 +133,7 @@ CancellationToken cancellationToken
private static ExpressionSyntax? GetDelegateFromCast(
CastExpressionSyntax castExpression,
- CancellationToken cancellationToken
+ CancellationToken _
)
{
// must have at least 2 children -> expression at index 1, cast at index 0
diff --git a/src/MinimalLambda.Testing/HostFactoryResolver.cs b/src/MinimalLambda.Testing/HostFactoryResolver.cs
index ff6a46ed..924f3066 100644
--- a/src/MinimalLambda.Testing/HostFactoryResolver.cs
+++ b/src/MinimalLambda.Testing/HostFactoryResolver.cs
@@ -12,6 +12,8 @@
using System.Diagnostics;
using System.Reflection;
+// ReSharper disable All
+
namespace Microsoft.Extensions.Hosting;
internal sealed class HostFactoryResolver
diff --git a/src/MinimalLambda/Builder/Extensions/ServiceCollectionExtensions.cs b/src/MinimalLambda/Builder/Extensions/ServiceCollectionExtensions.cs
index ece2123b..7fa8dfbb 100644
--- a/src/MinimalLambda/Builder/Extensions/ServiceCollectionExtensions.cs
+++ b/src/MinimalLambda/Builder/Extensions/ServiceCollectionExtensions.cs
@@ -81,7 +81,9 @@ public IServiceCollection TryAddLambdaHostDefaultServices()
// We will only attempt to add ILambdaSerializer if we are not using AOT.
// This is needed for code AOT analysis.
if (RuntimeFeature.IsDynamicCodeSupported)
+#pragma warning disable IL2026
services.TryAddSingleton();
+#pragma warning restore IL2026
services.TryAddSingleton<
ILambdaCancellationFactory,
diff --git a/src/MinimalLambda/Builder/LambdaApplication.cs b/src/MinimalLambda/Builder/LambdaApplication.cs
index 497f7af3..4c2f0262 100644
--- a/src/MinimalLambda/Builder/LambdaApplication.cs
+++ b/src/MinimalLambda/Builder/LambdaApplication.cs
@@ -52,9 +52,7 @@ internal LambdaApplication(IHost host)
/// Gets the application's logger.
public ILogger Logger =>
field ??=
- _host
- .Services.GetService()
- ?.CreateLogger(Environment.ApplicationName ?? nameof(LambdaApplication))
+ _host.Services.GetService()?.CreateLogger(Environment.ApplicationName)
?? NullLogger.Instance;
///
diff --git a/src/MinimalLambda/Builder/LambdaOnInitBuilder.cs b/src/MinimalLambda/Builder/LambdaOnInitBuilder.cs
index 1bc1dceb..a1c7c383 100644
--- a/src/MinimalLambda/Builder/LambdaOnInitBuilder.cs
+++ b/src/MinimalLambda/Builder/LambdaOnInitBuilder.cs
@@ -51,6 +51,7 @@ public ILambdaOnInitBuilder OnInit(LambdaInitDelegate handler)
using var cts = CancellationTokenSource.CreateLinkedTokenSource(stoppingToken);
cts.CancelAfter(_options.InitTimeout);
+ // ReSharper disable once AccessToDisposedClosure
var tasks = _handlers.Select(h => RunInitHandler(h, cts.Token));
(Exception? Error, bool ShouldContinue)[] results;
diff --git a/src/MinimalLambda/Runtime/LambdaHandlerComposer.cs b/src/MinimalLambda/Runtime/LambdaHandlerComposer.cs
index 5f2be620..b2ccb761 100644
--- a/src/MinimalLambda/Runtime/LambdaHandlerComposer.cs
+++ b/src/MinimalLambda/Runtime/LambdaHandlerComposer.cs
@@ -63,26 +63,26 @@ async Task CreateRequestHandler(Stream inputStream, ILambdaContext lambd
// Create a new lambda host context. This will also create a new service scope
// the first time that the service container is accessed.
- var LambdaInvocationContext = _contextFactory.Create(
+ var lambdaInvocationContext = _contextFactory.Create(
lambdaContext,
builder.Properties,
linkedTokenSource.Token
);
- await using (LambdaInvocationContext as IAsyncDisposable)
+ await using (lambdaInvocationContext as IAsyncDisposable)
{
using var invocationDataFeature = _invocationDataFeatureFactory.Create(inputStream);
- LambdaInvocationContext.Features.Set(invocationDataFeature);
+ lambdaInvocationContext.Features.Set(invocationDataFeature);
// Invoke the handler wrapped in the middleware pipeline.
- await handler.Invoke(LambdaInvocationContext).ConfigureAwait(false);
+ await handler.Invoke(lambdaInvocationContext).ConfigureAwait(false);
if (
- LambdaInvocationContext.Features.TryGet(
+ lambdaInvocationContext.Features.TryGet(
out var responseFeature
)
)
- responseFeature.SerializeToStream(LambdaInvocationContext);
+ responseFeature.SerializeToStream(lambdaInvocationContext);
// If no serializer is provided, return an empty stream.
return invocationDataFeature.ResponseStream;
diff --git a/tests/MinimalLambda.Envelopes.UnitTests/AlbResponseEnvelopeTests.cs b/tests/MinimalLambda.Envelopes.UnitTests/AlbResponseEnvelopeTests.cs
index b925c331..f426f0a6 100644
--- a/tests/MinimalLambda.Envelopes.UnitTests/AlbResponseEnvelopeTests.cs
+++ b/tests/MinimalLambda.Envelopes.UnitTests/AlbResponseEnvelopeTests.cs
@@ -33,7 +33,7 @@ public void PackPayload_WithValidData_SerializesBodyContent()
options.JsonOptions
);
deserializedData.Should().NotBeNull();
- deserializedData!.Message.Should().Be(responseData.Message);
+ deserializedData.Message.Should().Be(responseData.Message);
deserializedData.Code.Should().Be(responseData.Code);
}
@@ -82,7 +82,7 @@ public void BodyContent_HasJsonIgnoreAttribute()
{
// Arrange
var property = typeof(AlbResponseEnvelope).GetProperty(
- nameof(AlbResponseEnvelope.BodyContent)
+ nameof(AlbResponseEnvelope<>.BodyContent)
);
// Act
@@ -118,7 +118,7 @@ public void PackPayload_WithComplexObject_PreservesAllProperties()
envelope.Body.Should().NotBeNull();
var deserializedData = JsonSerializer.Deserialize(envelope.Body);
deserializedData.Should().NotBeNull();
- deserializedData!.Message.Should().Be(responseData.Message);
+ deserializedData.Message.Should().Be(responseData.Message);
deserializedData.Code.Should().Be(responseData.Code);
}
diff --git a/tests/MinimalLambda.Envelopes.UnitTests/AlbResultTests.cs b/tests/MinimalLambda.Envelopes.UnitTests/AlbResultTests.cs
index 61df315e..e2ebab82 100644
--- a/tests/MinimalLambda.Envelopes.UnitTests/AlbResultTests.cs
+++ b/tests/MinimalLambda.Envelopes.UnitTests/AlbResultTests.cs
@@ -50,7 +50,7 @@ public void PackPayload_SerializesBodyContent()
result.Body.Should().NotBeNull();
var deserialized = JsonSerializer.Deserialize(result.Body);
deserialized.Should().NotBeNull();
- deserialized!.Name.Should().Be(payload.Name);
+ deserialized.Name.Should().Be(payload.Name);
deserialized.Value.Should().Be(payload.Value);
}
diff --git a/tests/MinimalLambda.Envelopes.UnitTests/ApiGatewayRequestEnvelopeTests.cs b/tests/MinimalLambda.Envelopes.UnitTests/ApiGatewayRequestEnvelopeTests.cs
index 4d9b88a1..4c021419 100644
--- a/tests/MinimalLambda.Envelopes.UnitTests/ApiGatewayRequestEnvelopeTests.cs
+++ b/tests/MinimalLambda.Envelopes.UnitTests/ApiGatewayRequestEnvelopeTests.cs
@@ -116,7 +116,7 @@ public void BodyContent_HasJsonIgnoreAttribute()
{
// Arrange
var property = typeof(ApiGatewayRequestEnvelope).GetProperty(
- nameof(ApiGatewayRequestEnvelope.BodyContent)
+ nameof(ApiGatewayRequestEnvelope<>.BodyContent)
);
// Act
@@ -137,24 +137,6 @@ public void ApiGatewayRequestEnvelope_InheritsFromApiGatewayProxyRequest()
envelope.Should().BeAssignableTo();
}
- [Fact]
- public void ExtractPayload_WithMultipleProperties_PreservesAllValues()
- {
- // Arrange
- var testData = _fixture.Create();
- var json = JsonSerializer.Serialize(testData);
- var envelope = new ApiGatewayRequestEnvelope { Body = json };
- var options = new EnvelopeOptions();
-
- // Act
- envelope.ExtractPayload(options);
-
- // Assert
- envelope.BodyContent.Should().NotBeNull();
- envelope.BodyContent!.Name.Should().Be(testData.Name);
- envelope.BodyContent.Value.Should().Be(testData.Value);
- }
-
[Fact]
public void ExtractPayload_WithMalformedJsonStructure_ThrowsJsonException()
{
diff --git a/tests/MinimalLambda.Envelopes.UnitTests/ApiGatewayResponseEnvelopeTests.cs b/tests/MinimalLambda.Envelopes.UnitTests/ApiGatewayResponseEnvelopeTests.cs
index f370ef60..2933aabc 100644
--- a/tests/MinimalLambda.Envelopes.UnitTests/ApiGatewayResponseEnvelopeTests.cs
+++ b/tests/MinimalLambda.Envelopes.UnitTests/ApiGatewayResponseEnvelopeTests.cs
@@ -36,7 +36,7 @@ public void PackPayload_WithValidData_SerializesBodyContent()
options.JsonOptions
);
deserializedData.Should().NotBeNull();
- deserializedData!.Message.Should().Be(responseData.Message);
+ deserializedData.Message.Should().Be(responseData.Message);
deserializedData.Code.Should().Be(responseData.Code);
}
@@ -101,7 +101,7 @@ public void PackPayload_WithComplexObject_PreservesAllProperties()
envelope.Body.Should().NotBeNull();
var deserializedData = JsonSerializer.Deserialize(envelope.Body);
deserializedData.Should().NotBeNull();
- deserializedData!.Message.Should().Be(responseData.Message);
+ deserializedData.Message.Should().Be(responseData.Message);
deserializedData.Code.Should().Be(responseData.Code);
}
@@ -110,7 +110,7 @@ public void BodyContent_HasJsonIgnoreAttribute()
{
// Arrange
var property = typeof(ApiGatewayResponseEnvelope).GetProperty(
- nameof(ApiGatewayResponseEnvelope.BodyContent)
+ nameof(ApiGatewayResponseEnvelope<>.BodyContent)
);
// Act
@@ -202,7 +202,7 @@ public void PackPayload_WithCustomConverter_UsesCustomSerialization()
options.JsonOptions
);
deserializedData.Should().NotBeNull();
- deserializedData!.Message.Should().Be(responseData.Message);
+ deserializedData.Message.Should().Be(responseData.Message);
}
private record ResponsePayload(string Message, int Code);
diff --git a/tests/MinimalLambda.Envelopes.UnitTests/ApiGatewayResultTests.cs b/tests/MinimalLambda.Envelopes.UnitTests/ApiGatewayResultTests.cs
index f8cd0b3e..56aba558 100644
--- a/tests/MinimalLambda.Envelopes.UnitTests/ApiGatewayResultTests.cs
+++ b/tests/MinimalLambda.Envelopes.UnitTests/ApiGatewayResultTests.cs
@@ -50,7 +50,7 @@ public void PackPayload_SerializesBodyContent()
result.Body.Should().NotBeNull();
var deserialized = JsonSerializer.Deserialize(result.Body);
deserialized.Should().NotBeNull();
- deserialized!.Name.Should().Be(payload.Name);
+ deserialized.Name.Should().Be(payload.Name);
deserialized.Value.Should().Be(payload.Value);
}
diff --git a/tests/MinimalLambda.Envelopes.UnitTests/ApiGatewayV2ResponseEnvelopeTests.cs b/tests/MinimalLambda.Envelopes.UnitTests/ApiGatewayV2ResponseEnvelopeTests.cs
index 90a7962c..6e9c99f5 100644
--- a/tests/MinimalLambda.Envelopes.UnitTests/ApiGatewayV2ResponseEnvelopeTests.cs
+++ b/tests/MinimalLambda.Envelopes.UnitTests/ApiGatewayV2ResponseEnvelopeTests.cs
@@ -36,7 +36,7 @@ public void PackPayload_WithValidData_SerializesBodyContent()
options.JsonOptions
);
deserializedData.Should().NotBeNull();
- deserializedData!.Message.Should().Be(responseData.Message);
+ deserializedData.Message.Should().Be(responseData.Message);
deserializedData.Code.Should().Be(responseData.Code);
}
@@ -101,7 +101,7 @@ public void PackPayload_WithComplexObject_PreservesAllProperties()
envelope.Body.Should().NotBeNull();
var deserializedData = JsonSerializer.Deserialize(envelope.Body);
deserializedData.Should().NotBeNull();
- deserializedData!.Message.Should().Be(responseData.Message);
+ deserializedData.Message.Should().Be(responseData.Message);
deserializedData.Code.Should().Be(responseData.Code);
}
@@ -110,7 +110,7 @@ public void BodyContent_HasJsonIgnoreAttribute()
{
// Arrange
var property = typeof(ApiGatewayV2ResponseEnvelope).GetProperty(
- nameof(ApiGatewayV2ResponseEnvelope.BodyContent)
+ nameof(ApiGatewayV2ResponseEnvelope<>.BodyContent)
);
// Act
@@ -205,7 +205,7 @@ public void PackPayload_WithCustomConverter_UsesCustomSerialization()
options.JsonOptions
);
deserializedData.Should().NotBeNull();
- deserializedData!.Message.Should().Be(responseData.Message);
+ deserializedData.Message.Should().Be(responseData.Message);
}
private record ResponsePayload(string Message, int Code);
diff --git a/tests/MinimalLambda.Envelopes.UnitTests/ApiGatewayV2ResultTests.cs b/tests/MinimalLambda.Envelopes.UnitTests/ApiGatewayV2ResultTests.cs
index c5d1a51b..ab6d0eab 100644
--- a/tests/MinimalLambda.Envelopes.UnitTests/ApiGatewayV2ResultTests.cs
+++ b/tests/MinimalLambda.Envelopes.UnitTests/ApiGatewayV2ResultTests.cs
@@ -55,7 +55,7 @@ public void PackPayload_SerializesBodyContent()
result.Body.Should().NotBeNull();
var deserialized = JsonSerializer.Deserialize(result.Body);
deserialized.Should().NotBeNull();
- deserialized!.Name.Should().Be(payload.Name);
+ deserialized.Name.Should().Be(payload.Name);
deserialized.Value.Should().Be(payload.Value);
}
diff --git a/tests/MinimalLambda.Envelopes.UnitTests/HttpResultExtensionsTests.cs b/tests/MinimalLambda.Envelopes.UnitTests/HttpResultExtensionsTests.cs
index 7ba06a2d..987af97a 100644
--- a/tests/MinimalLambda.Envelopes.UnitTests/HttpResultExtensionsTests.cs
+++ b/tests/MinimalLambda.Envelopes.UnitTests/HttpResultExtensionsTests.cs
@@ -356,5 +356,6 @@ public void InternalServerError_WithBodyContent_ReturnsStatus500WithJson()
result.Body.Should().Contain(payload.Name);
}
+ // ReSharper disable once NotAccessedPositionalProperty.Local
private record TestPayload(string Name, int Value);
}
diff --git a/tests/MinimalLambda.Envelopes.UnitTests/KinesisFirehoseResponseEnvelopeTests.cs b/tests/MinimalLambda.Envelopes.UnitTests/KinesisFirehoseResponseEnvelopeTests.cs
index a2bfecca..5679ad5e 100644
--- a/tests/MinimalLambda.Envelopes.UnitTests/KinesisFirehoseResponseEnvelopeTests.cs
+++ b/tests/MinimalLambda.Envelopes.UnitTests/KinesisFirehoseResponseEnvelopeTests.cs
@@ -44,7 +44,7 @@ public void PackPayload_WithValidData_SerializesDataContent()
options.JsonOptions
);
deserializedData.Should().NotBeNull();
- deserializedData!.Name.Should().Be(payload.Name);
+ deserializedData.Name.Should().Be(payload.Name);
deserializedData.Value.Should().Be(payload.Value);
}
diff --git a/tests/MinimalLambda.SourceGenerators.UnitTests/GeneratorTestHelpers.cs b/tests/MinimalLambda.SourceGenerators.UnitTests/GeneratorTestHelpers.cs
index 384273e5..da67c24e 100644
--- a/tests/MinimalLambda.SourceGenerators.UnitTests/GeneratorTestHelpers.cs
+++ b/tests/MinimalLambda.SourceGenerators.UnitTests/GeneratorTestHelpers.cs
@@ -1,5 +1,5 @@
+using System.Diagnostics.CodeAnalysis;
using System.Text.RegularExpressions;
-using Amazon.Lambda.APIGatewayEvents;
using Amazon.Lambda.Core;
using Amazon.Lambda.RuntimeSupport;
using Amazon.Lambda.Serialization.SystemTextJson;
@@ -61,11 +61,16 @@ internal static Task Verify(string source, int expectedTrees = 1)
.DisableDiff()
.ScrubLinesWithReplace(line =>
{
- // replace [GeneratedCode("MinimalLambda.SourceGenerators", "0.0.0")]
- if (line.Contains("GeneratedCode", StringComparison.Ordinal))
- return RegexHelper
- .GeneratedCodeAttributeRegex()
- .Replace(line, """[GeneratedCode("REPLACED", "REPLACED")]""");
+ // replace
+ // [global::System.CodeDom.Compiler.GeneratedCode("MinimalLambda.SourceGenerators",
+ // "0.0.0")]
+ if (
+ line.Contains(
+ "global::System.CodeDom.Compiler.GeneratedCode",
+ StringComparison.Ordinal
+ )
+ )
+ return RegexHelper.GeneratedCodeAttributeRegex().Replace(line, "REPLACED");
// replace [InterceptsLocation(1, "")]
if (line.Contains("InterceptsLocation", StringComparison.Ordinal))
@@ -75,6 +80,7 @@ internal static Task Verify(string source, int expectedTrees = 1)
});
}
+ [RequiresAssemblyFiles("Calls System.Reflection.Assembly.Location")]
internal static (GeneratorDriver driver, Compilation compilation) GenerateFromSource(
string source,
Dictionary? diagnosticsToSuppress = null,
@@ -94,7 +100,13 @@ internal static (GeneratorDriver driver, Compilation compilation) GenerateFromSo
List references =
[
+#if NET10_0_OR_GREATER
+ .. Net100.References.All.ToList(),
+#elif NET9_0
.. Net90.References.All.ToList(),
+#else
+ .. Net80.References.All.ToList(),
+#endif
MetadataReference.CreateFromFile(typeof(LambdaApplication).Assembly.Location),
MetadataReference.CreateFromFile(typeof(FromKeyedServicesAttribute).Assembly.Location),
MetadataReference.CreateFromFile(typeof(ILambdaContext).Assembly.Location),
@@ -104,7 +116,6 @@ .. Net90.References.All.ToList(),
MetadataReference.CreateFromFile(typeof(LambdaBootstrapBuilder).Assembly.Location),
MetadataReference.CreateFromFile(typeof(IOptions<>).Assembly.Location),
MetadataReference.CreateFromFile(typeof(ILambdaInvocationContext).Assembly.Location),
- MetadataReference.CreateFromFile(typeof(APIGatewayProxyResponse).Assembly.Location),
];
var compilationOptions = new CSharpCompilationOptions(
@@ -135,7 +146,7 @@ .. Net90.References.All.ToList(),
internal static partial class RegexHelper
{
- [GeneratedRegex("""\[GeneratedCode\("([^"]+)",\s*"([^"]+)"\)\]""", RegexOptions.None, "en-US")]
+ [GeneratedRegex("""(\d+\.\d+\.\d+\.\d+)""", RegexOptions.None, "en-US")]
internal static partial Regex GeneratedCodeAttributeRegex();
[GeneratedRegex(
diff --git a/tests/MinimalLambda.SourceGenerators.UnitTests/MinimalLambda.SourceGenerators.UnitTests.csproj b/tests/MinimalLambda.SourceGenerators.UnitTests/MinimalLambda.SourceGenerators.UnitTests.csproj
index 5010cb6d..56bd27fd 100644
--- a/tests/MinimalLambda.SourceGenerators.UnitTests/MinimalLambda.SourceGenerators.UnitTests.csproj
+++ b/tests/MinimalLambda.SourceGenerators.UnitTests/MinimalLambda.SourceGenerators.UnitTests.csproj
@@ -1,6 +1,6 @@
- net9.0
+ net8.0;net9.0;net10.0
latest
enable
enable
@@ -14,6 +14,8 @@
+
+
@@ -34,15 +36,10 @@
-
-
-
-
-
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 f1d60061..79505b21 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("REPLACED", "REPLACED")]
+ [global::System.CodeDom.Compiler.GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")]
[AttributeUsage(AttributeTargets.Method, AllowMultiple = true)]
file sealed class InterceptsLocationAttribute : Attribute
{
@@ -29,7 +29,6 @@ public InterceptsLocationAttribute(int version, string data)
namespace MinimalLambda.Generated
{
using System;
- using System.CodeDom.Compiler;
using System.Runtime.CompilerServices;
using System.Threading;
using System.Threading.Tasks;
@@ -37,7 +36,7 @@ namespace MinimalLambda.Generated
using MinimalLambda;
using MinimalLambda.Builder;
- [GeneratedCode("REPLACED", "REPLACED")]
+ [global::System.CodeDom.Compiler.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 d4bb3919..8082a5d4 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("REPLACED", "REPLACED")]
+ [global::System.CodeDom.Compiler.GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")]
[AttributeUsage(AttributeTargets.Method, AllowMultiple = true)]
file sealed class InterceptsLocationAttribute : Attribute
{
@@ -29,7 +29,6 @@ public InterceptsLocationAttribute(int version, string data)
namespace MinimalLambda.Generated
{
using System;
- using System.CodeDom.Compiler;
using System.Runtime.CompilerServices;
using System.Threading;
using System.Threading.Tasks;
@@ -37,7 +36,7 @@ namespace MinimalLambda.Generated
using MinimalLambda;
using MinimalLambda.Builder;
- [GeneratedCode("REPLACED", "REPLACED")]
+ [global::System.CodeDom.Compiler.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 de597596..3d92da48 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("REPLACED", "REPLACED")]
+ [global::System.CodeDom.Compiler.GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")]
[AttributeUsage(AttributeTargets.Method, AllowMultiple = true)]
file sealed class InterceptsLocationAttribute : Attribute
{
@@ -29,7 +29,6 @@ public InterceptsLocationAttribute(int version, string data)
namespace MinimalLambda.Generated
{
using System;
- using System.CodeDom.Compiler;
using System.Runtime.CompilerServices;
using System.Threading;
using System.Threading.Tasks;
@@ -37,7 +36,7 @@ namespace MinimalLambda.Generated
using MinimalLambda;
using MinimalLambda.Builder;
- [GeneratedCode("REPLACED", "REPLACED")]
+ [global::System.CodeDom.Compiler.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 f7661219..35ffe2a2 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("REPLACED", "REPLACED")]
+ [global::System.CodeDom.Compiler.GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")]
[AttributeUsage(AttributeTargets.Method, AllowMultiple = true)]
file sealed class InterceptsLocationAttribute : Attribute
{
@@ -29,7 +29,6 @@ public InterceptsLocationAttribute(int version, string data)
namespace MinimalLambda.Generated
{
using System;
- using System.CodeDom.Compiler;
using System.Runtime.CompilerServices;
using System.Threading;
using System.Threading.Tasks;
@@ -37,7 +36,7 @@ namespace MinimalLambda.Generated
using MinimalLambda;
using MinimalLambda.Builder;
- [GeneratedCode("REPLACED", "REPLACED")]
+ [global::System.CodeDom.Compiler.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 8bba7416..d0c4a47a 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("REPLACED", "REPLACED")]
+ [global::System.CodeDom.Compiler.GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")]
[AttributeUsage(AttributeTargets.Method, AllowMultiple = true)]
file sealed class InterceptsLocationAttribute : Attribute
{
@@ -29,7 +29,6 @@ public InterceptsLocationAttribute(int version, string data)
namespace MinimalLambda.Generated
{
using System;
- using System.CodeDom.Compiler;
using System.Runtime.CompilerServices;
using System.Threading;
using System.Threading.Tasks;
@@ -37,7 +36,7 @@ namespace MinimalLambda.Generated
using MinimalLambda;
using MinimalLambda.Builder;
- [GeneratedCode("REPLACED", "REPLACED")]
+ [global::System.CodeDom.Compiler.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 0683f553..d8373096 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("REPLACED", "REPLACED")]
+ [global::System.CodeDom.Compiler.GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")]
[AttributeUsage(AttributeTargets.Method, AllowMultiple = true)]
file sealed class InterceptsLocationAttribute : Attribute
{
@@ -29,7 +29,6 @@ public InterceptsLocationAttribute(int version, string data)
namespace MinimalLambda.Generated
{
using System;
- using System.CodeDom.Compiler;
using System.Runtime.CompilerServices;
using System.Threading;
using System.Threading.Tasks;
@@ -37,7 +36,7 @@ namespace MinimalLambda.Generated
using MinimalLambda;
using MinimalLambda.Builder;
- [GeneratedCode("REPLACED", "REPLACED")]
+ [global::System.CodeDom.Compiler.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 1d3032cf..345ce2b8 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("REPLACED", "REPLACED")]
+ [global::System.CodeDom.Compiler.GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")]
[AttributeUsage(AttributeTargets.Method, AllowMultiple = true)]
file sealed class InterceptsLocationAttribute : Attribute
{
@@ -29,7 +29,6 @@ public InterceptsLocationAttribute(int version, string data)
namespace MinimalLambda.Generated
{
using System;
- using System.CodeDom.Compiler;
using System.Runtime.CompilerServices;
using System.Threading;
using System.Threading.Tasks;
@@ -37,7 +36,7 @@ namespace MinimalLambda.Generated
using MinimalLambda;
using MinimalLambda.Builder;
- [GeneratedCode("REPLACED", "REPLACED")]
+ [global::System.CodeDom.Compiler.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 d4bb3919..8082a5d4 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("REPLACED", "REPLACED")]
+ [global::System.CodeDom.Compiler.GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")]
[AttributeUsage(AttributeTargets.Method, AllowMultiple = true)]
file sealed class InterceptsLocationAttribute : Attribute
{
@@ -29,7 +29,6 @@ public InterceptsLocationAttribute(int version, string data)
namespace MinimalLambda.Generated
{
using System;
- using System.CodeDom.Compiler;
using System.Runtime.CompilerServices;
using System.Threading;
using System.Threading.Tasks;
@@ -37,7 +36,7 @@ namespace MinimalLambda.Generated
using MinimalLambda;
using MinimalLambda.Builder;
- [GeneratedCode("REPLACED", "REPLACED")]
+ [global::System.CodeDom.Compiler.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 d7e4afc6..bdb69765 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("REPLACED", "REPLACED")]
+ [global::System.CodeDom.Compiler.GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")]
[AttributeUsage(AttributeTargets.Method, AllowMultiple = true)]
file sealed class InterceptsLocationAttribute : Attribute
{
@@ -29,7 +29,6 @@ public InterceptsLocationAttribute(int version, string data)
namespace MinimalLambda.Generated
{
using System;
- using System.CodeDom.Compiler;
using System.Runtime.CompilerServices;
using System.Threading;
using System.Threading.Tasks;
@@ -37,7 +36,7 @@ namespace MinimalLambda.Generated
using MinimalLambda;
using MinimalLambda.Builder;
- [GeneratedCode("REPLACED", "REPLACED")]
+ [global::System.CodeDom.Compiler.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 21a65cd0..9d69a184 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("REPLACED", "REPLACED")]
+ [global::System.CodeDom.Compiler.GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")]
[AttributeUsage(AttributeTargets.Method, AllowMultiple = true)]
file sealed class InterceptsLocationAttribute : Attribute
{
@@ -29,7 +29,6 @@ public InterceptsLocationAttribute(int version, string data)
namespace MinimalLambda.Generated
{
using System;
- using System.CodeDom.Compiler;
using System.Runtime.CompilerServices;
using System.Threading;
using System.Threading.Tasks;
@@ -37,7 +36,7 @@ namespace MinimalLambda.Generated
using MinimalLambda;
using MinimalLambda.Builder;
- [GeneratedCode("REPLACED", "REPLACED")]
+ [global::System.CodeDom.Compiler.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 db04245c..9f2d746a 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("REPLACED", "REPLACED")]
+ [global::System.CodeDom.Compiler.GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")]
[AttributeUsage(AttributeTargets.Method, AllowMultiple = true)]
file sealed class InterceptsLocationAttribute : Attribute
{
@@ -29,7 +29,6 @@ public InterceptsLocationAttribute(int version, string data)
namespace MinimalLambda.Generated
{
using System;
- using System.CodeDom.Compiler;
using System.Runtime.CompilerServices;
using System.Threading;
using System.Threading.Tasks;
@@ -37,7 +36,7 @@ namespace MinimalLambda.Generated
using MinimalLambda;
using MinimalLambda.Builder;
- [GeneratedCode("REPLACED", "REPLACED")]
+ [global::System.CodeDom.Compiler.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 bc7019dc..4b084524 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("REPLACED", "REPLACED")]
+ [global::System.CodeDom.Compiler.GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")]
[AttributeUsage(AttributeTargets.Method, AllowMultiple = true)]
file sealed class InterceptsLocationAttribute : Attribute
{
@@ -29,7 +29,6 @@ public InterceptsLocationAttribute(int version, string data)
namespace MinimalLambda.Generated
{
using System;
- using System.CodeDom.Compiler;
using System.Runtime.CompilerServices;
using System.Threading;
using System.Threading.Tasks;
@@ -37,7 +36,7 @@ namespace MinimalLambda.Generated
using MinimalLambda;
using MinimalLambda.Builder;
- [GeneratedCode("REPLACED", "REPLACED")]
+ [global::System.CodeDom.Compiler.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 f1e15166..a1dceb41 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("REPLACED", "REPLACED")]
+ [global::System.CodeDom.Compiler.GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")]
[AttributeUsage(AttributeTargets.Method, AllowMultiple = true)]
file sealed class InterceptsLocationAttribute : Attribute
{
@@ -29,7 +29,6 @@ public InterceptsLocationAttribute(int version, string data)
namespace MinimalLambda.Generated
{
using System;
- using System.CodeDom.Compiler;
using System.Runtime.CompilerServices;
using System.Threading;
using System.Threading.Tasks;
@@ -37,7 +36,7 @@ namespace MinimalLambda.Generated
using MinimalLambda;
using MinimalLambda.Builder;
- [GeneratedCode("REPLACED", "REPLACED")]
+ [global::System.CodeDom.Compiler.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 0d702ffd..7e4a171d 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("REPLACED", "REPLACED")]
+ [global::System.CodeDom.Compiler.GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")]
[AttributeUsage(AttributeTargets.Method, AllowMultiple = true)]
file sealed class InterceptsLocationAttribute : Attribute
{
@@ -29,7 +29,6 @@ public InterceptsLocationAttribute(int version, string data)
namespace MinimalLambda.Generated
{
using System;
- using System.CodeDom.Compiler;
using System.Runtime.CompilerServices;
using System.Threading;
using System.Threading.Tasks;
@@ -37,7 +36,7 @@ namespace MinimalLambda.Generated
using MinimalLambda;
using MinimalLambda.Builder;
- [GeneratedCode("REPLACED", "REPLACED")]
+ [global::System.CodeDom.Compiler.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 3e603b9a..e1cbf526 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("REPLACED", "REPLACED")]
+ [global::System.CodeDom.Compiler.GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")]
[AttributeUsage(AttributeTargets.Method, AllowMultiple = true)]
file sealed class InterceptsLocationAttribute : Attribute
{
@@ -29,7 +29,6 @@ public InterceptsLocationAttribute(int version, string data)
namespace MinimalLambda.Generated
{
using System;
- using System.CodeDom.Compiler;
using System.Runtime.CompilerServices;
using System.Threading;
using System.Threading.Tasks;
@@ -37,7 +36,7 @@ namespace MinimalLambda.Generated
using MinimalLambda;
using MinimalLambda.Builder;
- [GeneratedCode("REPLACED", "REPLACED")]
+ [global::System.CodeDom.Compiler.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 d7e4afc6..bdb69765 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("REPLACED", "REPLACED")]
+ [global::System.CodeDom.Compiler.GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")]
[AttributeUsage(AttributeTargets.Method, AllowMultiple = true)]
file sealed class InterceptsLocationAttribute : Attribute
{
@@ -29,7 +29,6 @@ public InterceptsLocationAttribute(int version, string data)
namespace MinimalLambda.Generated
{
using System;
- using System.CodeDom.Compiler;
using System.Runtime.CompilerServices;
using System.Threading;
using System.Threading.Tasks;
@@ -37,7 +36,7 @@ namespace MinimalLambda.Generated
using MinimalLambda;
using MinimalLambda.Builder;
- [GeneratedCode("REPLACED", "REPLACED")]
+ [global::System.CodeDom.Compiler.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 46ccb91f..37960d92 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("REPLACED", "REPLACED")]
+ [global::System.CodeDom.Compiler.GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")]
[AttributeUsage(AttributeTargets.Method, AllowMultiple = true)]
file sealed class InterceptsLocationAttribute : Attribute
{
@@ -29,7 +29,6 @@ public InterceptsLocationAttribute(int version, string data)
namespace MinimalLambda.Generated
{
using System;
- using System.CodeDom.Compiler;
using System.Runtime.CompilerServices;
using System.Threading;
using System.Threading.Tasks;
@@ -37,7 +36,7 @@ namespace MinimalLambda.Generated
using MinimalLambda;
using MinimalLambda.Builder;
- [GeneratedCode("REPLACED", "REPLACED")]
+ [global::System.CodeDom.Compiler.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 f149a7e6..5e13b4a7 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("REPLACED", "REPLACED")]
+ [global::System.CodeDom.Compiler.GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")]
[AttributeUsage(AttributeTargets.Method, AllowMultiple = true)]
file sealed class InterceptsLocationAttribute : Attribute
{
@@ -29,7 +29,6 @@ public InterceptsLocationAttribute(int version, string data)
namespace MinimalLambda.Generated
{
using System;
- using System.CodeDom.Compiler;
using System.Runtime.CompilerServices;
using System.Threading;
using System.Threading.Tasks;
@@ -37,7 +36,7 @@ namespace MinimalLambda.Generated
using MinimalLambda;
using MinimalLambda.Builder;
- [GeneratedCode("REPLACED", "REPLACED")]
+ [global::System.CodeDom.Compiler.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 a3d3de41..241f6d2a 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("REPLACED", "REPLACED")]
+ [global::System.CodeDom.Compiler.GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")]
[AttributeUsage(AttributeTargets.Method, AllowMultiple = true)]
file sealed class InterceptsLocationAttribute : Attribute
{
@@ -29,7 +29,6 @@ public InterceptsLocationAttribute(int version, string data)
namespace MinimalLambda.Generated
{
using System;
- using System.CodeDom.Compiler;
using System.Runtime.CompilerServices;
using System.Threading;
using System.Threading.Tasks;
@@ -37,7 +36,7 @@ namespace MinimalLambda.Generated
using MinimalLambda;
using MinimalLambda.Builder;
- [GeneratedCode("REPLACED", "REPLACED")]
+ [global::System.CodeDom.Compiler.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 a3d3de41..241f6d2a 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("REPLACED", "REPLACED")]
+ [global::System.CodeDom.Compiler.GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")]
[AttributeUsage(AttributeTargets.Method, AllowMultiple = true)]
file sealed class InterceptsLocationAttribute : Attribute
{
@@ -29,7 +29,6 @@ public InterceptsLocationAttribute(int version, string data)
namespace MinimalLambda.Generated
{
using System;
- using System.CodeDom.Compiler;
using System.Runtime.CompilerServices;
using System.Threading;
using System.Threading.Tasks;
@@ -37,7 +36,7 @@ namespace MinimalLambda.Generated
using MinimalLambda;
using MinimalLambda.Builder;
- [GeneratedCode("REPLACED", "REPLACED")]
+ [global::System.CodeDom.Compiler.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 fd35bc12..ce029764 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("REPLACED", "REPLACED")]
+ [global::System.CodeDom.Compiler.GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")]
[AttributeUsage(AttributeTargets.Method, AllowMultiple = true)]
file sealed class InterceptsLocationAttribute : Attribute
{
@@ -29,7 +29,6 @@ public InterceptsLocationAttribute(int version, string data)
namespace MinimalLambda.Generated
{
using System;
- using System.CodeDom.Compiler;
using System.Runtime.CompilerServices;
using System.Threading;
using System.Threading.Tasks;
@@ -37,7 +36,7 @@ namespace MinimalLambda.Generated
using MinimalLambda;
using MinimalLambda.Builder;
- [GeneratedCode("REPLACED", "REPLACED")]
+ [global::System.CodeDom.Compiler.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 2c24753c..e2bb3a78 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("REPLACED", "REPLACED")]
+ [global::System.CodeDom.Compiler.GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")]
[AttributeUsage(AttributeTargets.Method, AllowMultiple = true)]
file sealed class InterceptsLocationAttribute : Attribute
{
@@ -29,7 +29,6 @@ public InterceptsLocationAttribute(int version, string data)
namespace MinimalLambda.Generated
{
using System;
- using System.CodeDom.Compiler;
using System.Runtime.CompilerServices;
using System.Threading;
using System.Threading.Tasks;
@@ -37,7 +36,7 @@ namespace MinimalLambda.Generated
using MinimalLambda;
using MinimalLambda.Builder;
- [GeneratedCode("REPLACED", "REPLACED")]
+ [global::System.CodeDom.Compiler.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 b500911d..aacf46ab 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("REPLACED", "REPLACED")]
+ [global::System.CodeDom.Compiler.GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")]
[AttributeUsage(AttributeTargets.Method, AllowMultiple = true)]
file sealed class InterceptsLocationAttribute : Attribute
{
@@ -29,7 +29,6 @@ public InterceptsLocationAttribute(int version, string data)
namespace MinimalLambda.Generated
{
using System;
- using System.CodeDom.Compiler;
using System.Runtime.CompilerServices;
using System.Threading;
using System.Threading.Tasks;
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 b500911d..aacf46ab 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("REPLACED", "REPLACED")]
+ [global::System.CodeDom.Compiler.GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")]
[AttributeUsage(AttributeTargets.Method, AllowMultiple = true)]
file sealed class InterceptsLocationAttribute : Attribute
{
@@ -29,7 +29,6 @@ public InterceptsLocationAttribute(int version, string data)
namespace MinimalLambda.Generated
{
using System;
- using System.CodeDom.Compiler;
using System.Runtime.CompilerServices;
using System.Threading;
using System.Threading.Tasks;
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 f149a7e6..5e13b4a7 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("REPLACED", "REPLACED")]
+ [global::System.CodeDom.Compiler.GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")]
[AttributeUsage(AttributeTargets.Method, AllowMultiple = true)]
file sealed class InterceptsLocationAttribute : Attribute
{
@@ -29,7 +29,6 @@ public InterceptsLocationAttribute(int version, string data)
namespace MinimalLambda.Generated
{
using System;
- using System.CodeDom.Compiler;
using System.Runtime.CompilerServices;
using System.Threading;
using System.Threading.Tasks;
@@ -37,7 +36,7 @@ namespace MinimalLambda.Generated
using MinimalLambda;
using MinimalLambda.Builder;
- [GeneratedCode("REPLACED", "REPLACED")]
+ [global::System.CodeDom.Compiler.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 6d9c431d..e7a46fbd 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("REPLACED", "REPLACED")]
+ [global::System.CodeDom.Compiler.GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")]
[AttributeUsage(AttributeTargets.Method, AllowMultiple = true)]
file sealed class InterceptsLocationAttribute : Attribute
{
@@ -29,7 +29,6 @@ public InterceptsLocationAttribute(int version, string data)
namespace MinimalLambda.Generated
{
using System;
- using System.CodeDom.Compiler;
using System.Runtime.CompilerServices;
using System.Threading;
using System.Threading.Tasks;
@@ -37,7 +36,7 @@ namespace MinimalLambda.Generated
using MinimalLambda;
using MinimalLambda.Builder;
- [GeneratedCode("REPLACED", "REPLACED")]
+ [global::System.CodeDom.Compiler.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 bd9a3ca6..76f3e0a1 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("REPLACED", "REPLACED")]
+ [global::System.CodeDom.Compiler.GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")]
[AttributeUsage(AttributeTargets.Method, AllowMultiple = true)]
file sealed class InterceptsLocationAttribute : Attribute
{
@@ -29,7 +29,6 @@ public InterceptsLocationAttribute(int version, string data)
namespace MinimalLambda.Generated
{
using System;
- using System.CodeDom.Compiler;
using System.Runtime.CompilerServices;
using System.Threading;
using System.Threading.Tasks;
@@ -37,7 +36,7 @@ namespace MinimalLambda.Generated
using MinimalLambda;
using MinimalLambda.Builder;
- [GeneratedCode("REPLACED", "REPLACED")]
+ [global::System.CodeDom.Compiler.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 51cbf87c..f48d3571 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("REPLACED", "REPLACED")]
+ [global::System.CodeDom.Compiler.GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")]
[AttributeUsage(AttributeTargets.Method, AllowMultiple = true)]
file sealed class InterceptsLocationAttribute : Attribute
{
@@ -29,7 +29,6 @@ public InterceptsLocationAttribute(int version, string data)
namespace MinimalLambda.Generated
{
using System;
- using System.CodeDom.Compiler;
using System.Runtime.CompilerServices;
using System.Threading;
using System.Threading.Tasks;
@@ -37,7 +36,7 @@ namespace MinimalLambda.Generated
using MinimalLambda;
using MinimalLambda.Builder;
- [GeneratedCode("REPLACED", "REPLACED")]
+ [global::System.CodeDom.Compiler.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 6d421047..e8a71a8d 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("REPLACED", "REPLACED")]
+ [global::System.CodeDom.Compiler.GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")]
[AttributeUsage(AttributeTargets.Method, AllowMultiple = true)]
file sealed class InterceptsLocationAttribute : Attribute
{
@@ -29,7 +29,6 @@ public InterceptsLocationAttribute(int version, string data)
namespace MinimalLambda.Generated
{
using System;
- using System.CodeDom.Compiler;
using System.Runtime.CompilerServices;
using System.Threading;
using System.Threading.Tasks;
@@ -37,7 +36,7 @@ namespace MinimalLambda.Generated
using MinimalLambda;
using MinimalLambda.Builder;
- [GeneratedCode("REPLACED", "REPLACED")]
+ [global::System.CodeDom.Compiler.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 810865f6..e7472deb 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("REPLACED", "REPLACED")]
+ [global::System.CodeDom.Compiler.GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")]
[AttributeUsage(AttributeTargets.Method, AllowMultiple = true)]
file sealed class InterceptsLocationAttribute : Attribute
{
@@ -29,7 +29,6 @@ public InterceptsLocationAttribute(int version, string data)
namespace MinimalLambda.Generated
{
using System;
- using System.CodeDom.Compiler;
using System.Runtime.CompilerServices;
using System.Threading;
using System.Threading.Tasks;
@@ -37,7 +36,7 @@ namespace MinimalLambda.Generated
using MinimalLambda;
using MinimalLambda.Builder;
- [GeneratedCode("REPLACED", "REPLACED")]
+ [global::System.CodeDom.Compiler.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 d7e4afc6..bdb69765 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("REPLACED", "REPLACED")]
+ [global::System.CodeDom.Compiler.GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")]
[AttributeUsage(AttributeTargets.Method, AllowMultiple = true)]
file sealed class InterceptsLocationAttribute : Attribute
{
@@ -29,7 +29,6 @@ public InterceptsLocationAttribute(int version, string data)
namespace MinimalLambda.Generated
{
using System;
- using System.CodeDom.Compiler;
using System.Runtime.CompilerServices;
using System.Threading;
using System.Threading.Tasks;
@@ -37,7 +36,7 @@ namespace MinimalLambda.Generated
using MinimalLambda;
using MinimalLambda.Builder;
- [GeneratedCode("REPLACED", "REPLACED")]
+ [global::System.CodeDom.Compiler.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 fb24d4df..bb7d973e 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("REPLACED", "REPLACED")]
+ [global::System.CodeDom.Compiler.GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")]
[AttributeUsage(AttributeTargets.Method, AllowMultiple = true)]
file sealed class InterceptsLocationAttribute : Attribute
{
@@ -29,7 +29,6 @@ public InterceptsLocationAttribute(int version, string data)
namespace MinimalLambda.Generated
{
using System;
- using System.CodeDom.Compiler;
using System.Runtime.CompilerServices;
using System.Threading;
using System.Threading.Tasks;
@@ -37,7 +36,7 @@ namespace MinimalLambda.Generated
using MinimalLambda;
using MinimalLambda.Builder;
- [GeneratedCode("REPLACED", "REPLACED")]
+ [global::System.CodeDom.Compiler.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 26ec57e2..f906373c 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("REPLACED", "REPLACED")]
+ [global::System.CodeDom.Compiler.GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")]
[AttributeUsage(AttributeTargets.Method, AllowMultiple = true)]
file sealed class InterceptsLocationAttribute : Attribute
{
@@ -29,7 +29,6 @@ public InterceptsLocationAttribute(int version, string data)
namespace MinimalLambda.Generated
{
using System;
- using System.CodeDom.Compiler;
using System.Runtime.CompilerServices;
using System.Threading;
using System.Threading.Tasks;
@@ -37,7 +36,7 @@ namespace MinimalLambda.Generated
using MinimalLambda;
using MinimalLambda.Builder;
- [GeneratedCode("REPLACED", "REPLACED")]
+ [global::System.CodeDom.Compiler.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 54d1025f..44d8b19d 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("REPLACED", "REPLACED")]
+ [global::System.CodeDom.Compiler.GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")]
[AttributeUsage(AttributeTargets.Method, AllowMultiple = true)]
file sealed class InterceptsLocationAttribute : Attribute
{
@@ -29,7 +29,6 @@ public InterceptsLocationAttribute(int version, string data)
namespace MinimalLambda.Generated
{
using System;
- using System.CodeDom.Compiler;
using System.Runtime.CompilerServices;
using System.Threading;
using System.Threading.Tasks;
@@ -37,7 +36,7 @@ namespace MinimalLambda.Generated
using MinimalLambda;
using MinimalLambda.Builder;
- [GeneratedCode("REPLACED", "REPLACED")]
+ [global::System.CodeDom.Compiler.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 cba71f53..d212a087 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("REPLACED", "REPLACED")]
+ [global::System.CodeDom.Compiler.GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")]
[AttributeUsage(AttributeTargets.Method, AllowMultiple = true)]
file sealed class InterceptsLocationAttribute : Attribute
{
@@ -29,7 +29,6 @@ public InterceptsLocationAttribute(int version, string data)
namespace MinimalLambda.Generated
{
using System;
- using System.CodeDom.Compiler;
using System.Runtime.CompilerServices;
using System.Threading;
using System.Threading.Tasks;
@@ -37,7 +36,7 @@ namespace MinimalLambda.Generated
using MinimalLambda;
using MinimalLambda.Builder;
- [GeneratedCode("REPLACED", "REPLACED")]
+ [global::System.CodeDom.Compiler.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 04098c60..21d6c492 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("REPLACED", "REPLACED")]
+ [global::System.CodeDom.Compiler.GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")]
[AttributeUsage(AttributeTargets.Method, AllowMultiple = true)]
file sealed class InterceptsLocationAttribute : Attribute
{
@@ -29,7 +29,6 @@ public InterceptsLocationAttribute(int version, string data)
namespace MinimalLambda.Generated
{
using System;
- using System.CodeDom.Compiler;
using System.Runtime.CompilerServices;
using System.Threading;
using System.Threading.Tasks;
@@ -37,7 +36,7 @@ namespace MinimalLambda.Generated
using MinimalLambda;
using MinimalLambda.Builder;
- [GeneratedCode("REPLACED", "REPLACED")]
+ [global::System.CodeDom.Compiler.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 72aa562e..18a0af9b 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("REPLACED", "REPLACED")]
+ [global::System.CodeDom.Compiler.GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")]
[AttributeUsage(AttributeTargets.Method, AllowMultiple = true)]
file sealed class InterceptsLocationAttribute : Attribute
{
@@ -29,7 +29,6 @@ public InterceptsLocationAttribute(int version, string data)
namespace MinimalLambda.Generated
{
using System;
- using System.CodeDom.Compiler;
using System.Runtime.CompilerServices;
using System.Threading;
using System.Threading.Tasks;
@@ -37,7 +36,7 @@ namespace MinimalLambda.Generated
using MinimalLambda;
using MinimalLambda.Builder;
- [GeneratedCode("REPLACED", "REPLACED")]
+ [global::System.CodeDom.Compiler.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 ac6f7dac..f9fa1e28 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("REPLACED", "REPLACED")]
+ [global::System.CodeDom.Compiler.GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")]
[AttributeUsage(AttributeTargets.Method, AllowMultiple = true)]
file sealed class InterceptsLocationAttribute : Attribute
{
@@ -29,7 +29,6 @@ public InterceptsLocationAttribute(int version, string data)
namespace MinimalLambda.Generated
{
using System;
- using System.CodeDom.Compiler;
using System.Runtime.CompilerServices;
using System.Threading;
using System.Threading.Tasks;
@@ -37,7 +36,7 @@ namespace MinimalLambda.Generated
using MinimalLambda;
using MinimalLambda.Builder;
- [GeneratedCode("REPLACED", "REPLACED")]
+ [global::System.CodeDom.Compiler.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 f149a7e6..5e13b4a7 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("REPLACED", "REPLACED")]
+ [global::System.CodeDom.Compiler.GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")]
[AttributeUsage(AttributeTargets.Method, AllowMultiple = true)]
file sealed class InterceptsLocationAttribute : Attribute
{
@@ -29,7 +29,6 @@ public InterceptsLocationAttribute(int version, string data)
namespace MinimalLambda.Generated
{
using System;
- using System.CodeDom.Compiler;
using System.Runtime.CompilerServices;
using System.Threading;
using System.Threading.Tasks;
@@ -37,7 +36,7 @@ namespace MinimalLambda.Generated
using MinimalLambda;
using MinimalLambda.Builder;
- [GeneratedCode("REPLACED", "REPLACED")]
+ [global::System.CodeDom.Compiler.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 d4bb3919..8082a5d4 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("REPLACED", "REPLACED")]
+ [global::System.CodeDom.Compiler.GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")]
[AttributeUsage(AttributeTargets.Method, AllowMultiple = true)]
file sealed class InterceptsLocationAttribute : Attribute
{
@@ -29,7 +29,6 @@ public InterceptsLocationAttribute(int version, string data)
namespace MinimalLambda.Generated
{
using System;
- using System.CodeDom.Compiler;
using System.Runtime.CompilerServices;
using System.Threading;
using System.Threading.Tasks;
@@ -37,7 +36,7 @@ namespace MinimalLambda.Generated
using MinimalLambda;
using MinimalLambda.Builder;
- [GeneratedCode("REPLACED", "REPLACED")]
+ [global::System.CodeDom.Compiler.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 e1f70720..e0d822a8 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("REPLACED", "REPLACED")]
+ [global::System.CodeDom.Compiler.GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")]
[AttributeUsage(AttributeTargets.Method, AllowMultiple = true)]
file sealed class InterceptsLocationAttribute : Attribute
{
@@ -29,7 +29,6 @@ public InterceptsLocationAttribute(int version, string data)
namespace MinimalLambda.Generated
{
using System;
- using System.CodeDom.Compiler;
using System.Runtime.CompilerServices;
using System.Threading;
using System.Threading.Tasks;
@@ -37,7 +36,7 @@ namespace MinimalLambda.Generated
using MinimalLambda;
using MinimalLambda.Builder;
- [GeneratedCode("REPLACED", "REPLACED")]
+ [global::System.CodeDom.Compiler.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 6c93c34e..e1fdb069 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("REPLACED", "REPLACED")]
+ [global::System.CodeDom.Compiler.GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")]
[AttributeUsage(AttributeTargets.Method, AllowMultiple = true)]
file sealed class InterceptsLocationAttribute : Attribute
{
@@ -29,7 +29,6 @@ public InterceptsLocationAttribute(int version, string data)
namespace MinimalLambda.Generated
{
using System;
- using System.CodeDom.Compiler;
using System.Runtime.CompilerServices;
using System.Threading;
using System.Threading.Tasks;
@@ -37,7 +36,7 @@ namespace MinimalLambda.Generated
using MinimalLambda;
using MinimalLambda.Builder;
- [GeneratedCode("REPLACED", "REPLACED")]
+ [global::System.CodeDom.Compiler.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 6c93c34e..e1fdb069 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("REPLACED", "REPLACED")]
+ [global::System.CodeDom.Compiler.GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")]
[AttributeUsage(AttributeTargets.Method, AllowMultiple = true)]
file sealed class InterceptsLocationAttribute : Attribute
{
@@ -29,7 +29,6 @@ public InterceptsLocationAttribute(int version, string data)
namespace MinimalLambda.Generated
{
using System;
- using System.CodeDom.Compiler;
using System.Runtime.CompilerServices;
using System.Threading;
using System.Threading.Tasks;
@@ -37,7 +36,7 @@ namespace MinimalLambda.Generated
using MinimalLambda;
using MinimalLambda.Builder;
- [GeneratedCode("REPLACED", "REPLACED")]
+ [global::System.CodeDom.Compiler.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 f149a7e6..5e13b4a7 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("REPLACED", "REPLACED")]
+ [global::System.CodeDom.Compiler.GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")]
[AttributeUsage(AttributeTargets.Method, AllowMultiple = true)]
file sealed class InterceptsLocationAttribute : Attribute
{
@@ -29,7 +29,6 @@ public InterceptsLocationAttribute(int version, string data)
namespace MinimalLambda.Generated
{
using System;
- using System.CodeDom.Compiler;
using System.Runtime.CompilerServices;
using System.Threading;
using System.Threading.Tasks;
@@ -37,7 +36,7 @@ namespace MinimalLambda.Generated
using MinimalLambda;
using MinimalLambda.Builder;
- [GeneratedCode("REPLACED", "REPLACED")]
+ [global::System.CodeDom.Compiler.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 d7e4afc6..bdb69765 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("REPLACED", "REPLACED")]
+ [global::System.CodeDom.Compiler.GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")]
[AttributeUsage(AttributeTargets.Method, AllowMultiple = true)]
file sealed class InterceptsLocationAttribute : Attribute
{
@@ -29,7 +29,6 @@ public InterceptsLocationAttribute(int version, string data)
namespace MinimalLambda.Generated
{
using System;
- using System.CodeDom.Compiler;
using System.Runtime.CompilerServices;
using System.Threading;
using System.Threading.Tasks;
@@ -37,7 +36,7 @@ namespace MinimalLambda.Generated
using MinimalLambda;
using MinimalLambda.Builder;
- [GeneratedCode("REPLACED", "REPLACED")]
+ [global::System.CodeDom.Compiler.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 d4bb3919..8082a5d4 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("REPLACED", "REPLACED")]
+ [global::System.CodeDom.Compiler.GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")]
[AttributeUsage(AttributeTargets.Method, AllowMultiple = true)]
file sealed class InterceptsLocationAttribute : Attribute
{
@@ -29,7 +29,6 @@ public InterceptsLocationAttribute(int version, string data)
namespace MinimalLambda.Generated
{
using System;
- using System.CodeDom.Compiler;
using System.Runtime.CompilerServices;
using System.Threading;
using System.Threading.Tasks;
@@ -37,7 +36,7 @@ namespace MinimalLambda.Generated
using MinimalLambda;
using MinimalLambda.Builder;
- [GeneratedCode("REPLACED", "REPLACED")]
+ [global::System.CodeDom.Compiler.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 6c93c34e..e1fdb069 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("REPLACED", "REPLACED")]
+ [global::System.CodeDom.Compiler.GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")]
[AttributeUsage(AttributeTargets.Method, AllowMultiple = true)]
file sealed class InterceptsLocationAttribute : Attribute
{
@@ -29,7 +29,6 @@ public InterceptsLocationAttribute(int version, string data)
namespace MinimalLambda.Generated
{
using System;
- using System.CodeDom.Compiler;
using System.Runtime.CompilerServices;
using System.Threading;
using System.Threading.Tasks;
@@ -37,7 +36,7 @@ namespace MinimalLambda.Generated
using MinimalLambda;
using MinimalLambda.Builder;
- [GeneratedCode("REPLACED", "REPLACED")]
+ [global::System.CodeDom.Compiler.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 b500911d..aacf46ab 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("REPLACED", "REPLACED")]
+ [global::System.CodeDom.Compiler.GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")]
[AttributeUsage(AttributeTargets.Method, AllowMultiple = true)]
file sealed class InterceptsLocationAttribute : Attribute
{
@@ -29,7 +29,6 @@ public InterceptsLocationAttribute(int version, string data)
namespace MinimalLambda.Generated
{
using System;
- using System.CodeDom.Compiler;
using System.Runtime.CompilerServices;
using System.Threading;
using System.Threading.Tasks;
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 3fc7bd7d..6fd56974 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("REPLACED", "REPLACED")]
+ [global::System.CodeDom.Compiler.GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")]
[AttributeUsage(AttributeTargets.Method, AllowMultiple = true)]
file sealed class InterceptsLocationAttribute : Attribute
{
@@ -29,7 +29,6 @@ public InterceptsLocationAttribute(int version, string data)
namespace MinimalLambda.Generated
{
using System;
- using System.CodeDom.Compiler;
using System.Runtime.CompilerServices;
using System.Threading;
using System.Threading.Tasks;
@@ -37,7 +36,7 @@ namespace MinimalLambda.Generated
using MinimalLambda;
using MinimalLambda.Builder;
- [GeneratedCode("REPLACED", "REPLACED")]
+ [global::System.CodeDom.Compiler.GeneratedCode("MinimalLambda.SourceGenerators", "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 eb56ceeb..a69230bb 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("REPLACED", "REPLACED")]
+ [global::System.CodeDom.Compiler.GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")]
[AttributeUsage(AttributeTargets.Method, AllowMultiple = true)]
file sealed class InterceptsLocationAttribute : Attribute
{
@@ -29,7 +29,6 @@ public InterceptsLocationAttribute(int version, string data)
namespace MinimalLambda.Generated
{
using System;
- using System.CodeDom.Compiler;
using System.Runtime.CompilerServices;
using System.Threading;
using System.Threading.Tasks;
@@ -37,7 +36,7 @@ namespace MinimalLambda.Generated
using MinimalLambda;
using MinimalLambda.Builder;
- [GeneratedCode("REPLACED", "REPLACED")]
+ [global::System.CodeDom.Compiler.GeneratedCode("MinimalLambda.SourceGenerators", "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 f8d3d3e2..6d1e010a 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("REPLACED", "REPLACED")]
+ [global::System.CodeDom.Compiler.GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")]
[AttributeUsage(AttributeTargets.Method, AllowMultiple = true)]
file sealed class InterceptsLocationAttribute : Attribute
{
@@ -29,7 +29,6 @@ public InterceptsLocationAttribute(int version, string data)
namespace MinimalLambda.Generated
{
using System;
- using System.CodeDom.Compiler;
using System.Runtime.CompilerServices;
using System.Threading;
using System.Threading.Tasks;
@@ -37,7 +36,7 @@ namespace MinimalLambda.Generated
using MinimalLambda;
using MinimalLambda.Builder;
- [GeneratedCode("REPLACED", "REPLACED")]
+ [global::System.CodeDom.Compiler.GeneratedCode("MinimalLambda.SourceGenerators", "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 3fc7bd7d..6fd56974 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("REPLACED", "REPLACED")]
+ [global::System.CodeDom.Compiler.GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")]
[AttributeUsage(AttributeTargets.Method, AllowMultiple = true)]
file sealed class InterceptsLocationAttribute : Attribute
{
@@ -29,7 +29,6 @@ public InterceptsLocationAttribute(int version, string data)
namespace MinimalLambda.Generated
{
using System;
- using System.CodeDom.Compiler;
using System.Runtime.CompilerServices;
using System.Threading;
using System.Threading.Tasks;
@@ -37,7 +36,7 @@ namespace MinimalLambda.Generated
using MinimalLambda;
using MinimalLambda.Builder;
- [GeneratedCode("REPLACED", "REPLACED")]
+ [global::System.CodeDom.Compiler.GeneratedCode("MinimalLambda.SourceGenerators", "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 f91188a8..a32ea31c 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("REPLACED", "REPLACED")]
+ [global::System.CodeDom.Compiler.GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")]
[AttributeUsage(AttributeTargets.Method, AllowMultiple = true)]
file sealed class InterceptsLocationAttribute : Attribute
{
@@ -29,7 +29,6 @@ public InterceptsLocationAttribute(int version, string data)
namespace MinimalLambda.Generated
{
using System;
- using System.CodeDom.Compiler;
using System.Runtime.CompilerServices;
using System.Threading;
using System.Threading.Tasks;
@@ -37,7 +36,7 @@ namespace MinimalLambda.Generated
using MinimalLambda;
using MinimalLambda.Builder;
- [GeneratedCode("REPLACED", "REPLACED")]
+ [global::System.CodeDom.Compiler.GeneratedCode("MinimalLambda.SourceGenerators", "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 7a4f10c8..83287fe8 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("REPLACED", "REPLACED")]
+ [global::System.CodeDom.Compiler.GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")]
[AttributeUsage(AttributeTargets.Method, AllowMultiple = true)]
file sealed class InterceptsLocationAttribute : Attribute
{
@@ -29,7 +29,6 @@ public InterceptsLocationAttribute(int version, string data)
namespace MinimalLambda.Generated
{
using System;
- using System.CodeDom.Compiler;
using System.Runtime.CompilerServices;
using System.Threading;
using System.Threading.Tasks;
@@ -37,7 +36,7 @@ namespace MinimalLambda.Generated
using MinimalLambda;
using MinimalLambda.Builder;
- [GeneratedCode("REPLACED", "REPLACED")]
+ [global::System.CodeDom.Compiler.GeneratedCode("MinimalLambda.SourceGenerators", "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 3fc7bd7d..6fd56974 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("REPLACED", "REPLACED")]
+ [global::System.CodeDom.Compiler.GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")]
[AttributeUsage(AttributeTargets.Method, AllowMultiple = true)]
file sealed class InterceptsLocationAttribute : Attribute
{
@@ -29,7 +29,6 @@ public InterceptsLocationAttribute(int version, string data)
namespace MinimalLambda.Generated
{
using System;
- using System.CodeDom.Compiler;
using System.Runtime.CompilerServices;
using System.Threading;
using System.Threading.Tasks;
@@ -37,7 +36,7 @@ namespace MinimalLambda.Generated
using MinimalLambda;
using MinimalLambda.Builder;
- [GeneratedCode("REPLACED", "REPLACED")]
+ [global::System.CodeDom.Compiler.GeneratedCode("MinimalLambda.SourceGenerators", "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 c02b4969..be631e6d 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("REPLACED", "REPLACED")]
+ [global::System.CodeDom.Compiler.GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")]
[AttributeUsage(AttributeTargets.Method, AllowMultiple = true)]
file sealed class InterceptsLocationAttribute : Attribute
{
@@ -29,7 +29,6 @@ public InterceptsLocationAttribute(int version, string data)
namespace MinimalLambda.Generated
{
using System;
- using System.CodeDom.Compiler;
using System.Runtime.CompilerServices;
using System.Threading;
using System.Threading.Tasks;
@@ -37,7 +36,7 @@ namespace MinimalLambda.Generated
using MinimalLambda;
using MinimalLambda.Builder;
- [GeneratedCode("REPLACED", "REPLACED")]
+ [global::System.CodeDom.Compiler.GeneratedCode("MinimalLambda.SourceGenerators", "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 89b06d55..7679f162 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("REPLACED", "REPLACED")]
+ [global::System.CodeDom.Compiler.GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")]
[AttributeUsage(AttributeTargets.Method, AllowMultiple = true)]
file sealed class InterceptsLocationAttribute : Attribute
{
@@ -29,7 +29,6 @@ public InterceptsLocationAttribute(int version, string data)
namespace MinimalLambda.Generated
{
using System;
- using System.CodeDom.Compiler;
using System.Runtime.CompilerServices;
using System.Threading;
using System.Threading.Tasks;
@@ -37,7 +36,7 @@ namespace MinimalLambda.Generated
using MinimalLambda;
using MinimalLambda.Builder;
- [GeneratedCode("REPLACED", "REPLACED")]
+ [global::System.CodeDom.Compiler.GeneratedCode("MinimalLambda.SourceGenerators", "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 5fc3b9fc..e8415e80 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("REPLACED", "REPLACED")]
+ [global::System.CodeDom.Compiler.GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")]
[AttributeUsage(AttributeTargets.Method, AllowMultiple = true)]
file sealed class InterceptsLocationAttribute : Attribute
{
@@ -29,7 +29,6 @@ public InterceptsLocationAttribute(int version, string data)
namespace MinimalLambda.Generated
{
using System;
- using System.CodeDom.Compiler;
using System.Runtime.CompilerServices;
using System.Threading;
using System.Threading.Tasks;
@@ -37,7 +36,7 @@ namespace MinimalLambda.Generated
using MinimalLambda;
using MinimalLambda.Builder;
- [GeneratedCode("REPLACED", "REPLACED")]
+ [global::System.CodeDom.Compiler.GeneratedCode("MinimalLambda.SourceGenerators", "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 5fc3b9fc..e8415e80 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("REPLACED", "REPLACED")]
+ [global::System.CodeDom.Compiler.GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")]
[AttributeUsage(AttributeTargets.Method, AllowMultiple = true)]
file sealed class InterceptsLocationAttribute : Attribute
{
@@ -29,7 +29,6 @@ public InterceptsLocationAttribute(int version, string data)
namespace MinimalLambda.Generated
{
using System;
- using System.CodeDom.Compiler;
using System.Runtime.CompilerServices;
using System.Threading;
using System.Threading.Tasks;
@@ -37,7 +36,7 @@ namespace MinimalLambda.Generated
using MinimalLambda;
using MinimalLambda.Builder;
- [GeneratedCode("REPLACED", "REPLACED")]
+ [global::System.CodeDom.Compiler.GeneratedCode("MinimalLambda.SourceGenerators", "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 3fc7bd7d..6fd56974 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("REPLACED", "REPLACED")]
+ [global::System.CodeDom.Compiler.GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")]
[AttributeUsage(AttributeTargets.Method, AllowMultiple = true)]
file sealed class InterceptsLocationAttribute : Attribute
{
@@ -29,7 +29,6 @@ public InterceptsLocationAttribute(int version, string data)
namespace MinimalLambda.Generated
{
using System;
- using System.CodeDom.Compiler;
using System.Runtime.CompilerServices;
using System.Threading;
using System.Threading.Tasks;
@@ -37,7 +36,7 @@ namespace MinimalLambda.Generated
using MinimalLambda;
using MinimalLambda.Builder;
- [GeneratedCode("REPLACED", "REPLACED")]
+ [global::System.CodeDom.Compiler.GeneratedCode("MinimalLambda.SourceGenerators", "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 ec4c51b0..96e4ef39 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("REPLACED", "REPLACED")]
+ [global::System.CodeDom.Compiler.GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")]
[AttributeUsage(AttributeTargets.Method, AllowMultiple = true)]
file sealed class InterceptsLocationAttribute : Attribute
{
@@ -29,7 +29,6 @@ public InterceptsLocationAttribute(int version, string data)
namespace MinimalLambda.Generated
{
using System;
- using System.CodeDom.Compiler;
using System.Runtime.CompilerServices;
using System.Threading;
using System.Threading.Tasks;
@@ -37,7 +36,7 @@ namespace MinimalLambda.Generated
using MinimalLambda;
using MinimalLambda.Builder;
- [GeneratedCode("REPLACED", "REPLACED")]
+ [global::System.CodeDom.Compiler.GeneratedCode("MinimalLambda.SourceGenerators", "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 225a31b7..dae86938 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("REPLACED", "REPLACED")]
+ [global::System.CodeDom.Compiler.GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")]
[AttributeUsage(AttributeTargets.Method, AllowMultiple = true)]
file sealed class InterceptsLocationAttribute : Attribute
{
@@ -29,7 +29,6 @@ public InterceptsLocationAttribute(int version, string data)
namespace MinimalLambda.Generated
{
using System;
- using System.CodeDom.Compiler;
using System.Runtime.CompilerServices;
using System.Threading;
using System.Threading.Tasks;
@@ -37,7 +36,7 @@ namespace MinimalLambda.Generated
using MinimalLambda;
using MinimalLambda.Builder;
- [GeneratedCode("REPLACED", "REPLACED")]
+ [global::System.CodeDom.Compiler.GeneratedCode("MinimalLambda.SourceGenerators", "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 b164523f..5facbd97 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("REPLACED", "REPLACED")]
+ [global::System.CodeDom.Compiler.GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")]
[AttributeUsage(AttributeTargets.Method, AllowMultiple = true)]
file sealed class InterceptsLocationAttribute : Attribute
{
@@ -29,7 +29,6 @@ public InterceptsLocationAttribute(int version, string data)
namespace MinimalLambda.Generated
{
using System;
- using System.CodeDom.Compiler;
using System.Runtime.CompilerServices;
using System.Threading;
using System.Threading.Tasks;
@@ -37,7 +36,7 @@ namespace MinimalLambda.Generated
using MinimalLambda;
using MinimalLambda.Builder;
- [GeneratedCode("REPLACED", "REPLACED")]
+ [global::System.CodeDom.Compiler.GeneratedCode("MinimalLambda.SourceGenerators", "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 b500911d..aacf46ab 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("REPLACED", "REPLACED")]
+ [global::System.CodeDom.Compiler.GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")]
[AttributeUsage(AttributeTargets.Method, AllowMultiple = true)]
file sealed class InterceptsLocationAttribute : Attribute
{
@@ -29,7 +29,6 @@ public InterceptsLocationAttribute(int version, string data)
namespace MinimalLambda.Generated
{
using System;
- using System.CodeDom.Compiler;
using System.Runtime.CompilerServices;
using System.Threading;
using System.Threading.Tasks;
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 d0984bc6..f38dc0c7 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("REPLACED", "REPLACED")]
+ [global::System.CodeDom.Compiler.GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")]
[AttributeUsage(AttributeTargets.Method, AllowMultiple = true)]
file sealed class InterceptsLocationAttribute : Attribute
{
@@ -29,7 +29,6 @@ public InterceptsLocationAttribute(int version, string data)
namespace MinimalLambda.Generated
{
using System;
- using System.CodeDom.Compiler;
using System.Runtime.CompilerServices;
using System.Threading;
using System.Threading.Tasks;
@@ -37,7 +36,7 @@ namespace MinimalLambda.Generated
using MinimalLambda;
using MinimalLambda.Builder;
- [GeneratedCode("REPLACED", "REPLACED")]
+ [global::System.CodeDom.Compiler.GeneratedCode("MinimalLambda.SourceGenerators", "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 0ca52890..1498df42 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("REPLACED", "REPLACED")]
+ [global::System.CodeDom.Compiler.GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")]
[AttributeUsage(AttributeTargets.Method, AllowMultiple = true)]
file sealed class InterceptsLocationAttribute : Attribute
{
@@ -29,7 +29,6 @@ public InterceptsLocationAttribute(int version, string data)
namespace MinimalLambda.Generated
{
using System;
- using System.CodeDom.Compiler;
using System.Runtime.CompilerServices;
using System.Threading;
using System.Threading.Tasks;
@@ -37,7 +36,7 @@ namespace MinimalLambda.Generated
using MinimalLambda;
using MinimalLambda.Builder;
- [GeneratedCode("REPLACED", "REPLACED")]
+ [global::System.CodeDom.Compiler.GeneratedCode("MinimalLambda.SourceGenerators", "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 157cc7d0..a6fc02e7 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("REPLACED", "REPLACED")]
+ [global::System.CodeDom.Compiler.GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")]
[AttributeUsage(AttributeTargets.Method, AllowMultiple = true)]
file sealed class InterceptsLocationAttribute : Attribute
{
@@ -29,7 +29,6 @@ public InterceptsLocationAttribute(int version, string data)
namespace MinimalLambda.Generated
{
using System;
- using System.CodeDom.Compiler;
using System.Runtime.CompilerServices;
using System.Threading;
using System.Threading.Tasks;
@@ -37,7 +36,7 @@ namespace MinimalLambda.Generated
using MinimalLambda;
using MinimalLambda.Builder;
- [GeneratedCode("REPLACED", "REPLACED")]
+ [global::System.CodeDom.Compiler.GeneratedCode("MinimalLambda.SourceGenerators", "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 a47b6131..dfaf4dbe 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("REPLACED", "REPLACED")]
+ [global::System.CodeDom.Compiler.GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")]
[AttributeUsage(AttributeTargets.Method, AllowMultiple = true)]
file sealed class InterceptsLocationAttribute : Attribute
{
@@ -29,7 +29,6 @@ public InterceptsLocationAttribute(int version, string data)
namespace MinimalLambda.Generated
{
using System;
- using System.CodeDom.Compiler;
using System.Runtime.CompilerServices;
using System.Threading;
using System.Threading.Tasks;
@@ -37,7 +36,7 @@ namespace MinimalLambda.Generated
using MinimalLambda;
using MinimalLambda.Builder;
- [GeneratedCode("REPLACED", "REPLACED")]
+ [global::System.CodeDom.Compiler.GeneratedCode("MinimalLambda.SourceGenerators", "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 7cb6b933..3d04c978 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("REPLACED", "REPLACED")]
+ [global::System.CodeDom.Compiler.GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")]
[AttributeUsage(AttributeTargets.Method, AllowMultiple = true)]
file sealed class InterceptsLocationAttribute : Attribute
{
@@ -29,7 +29,6 @@ public InterceptsLocationAttribute(int version, string data)
namespace MinimalLambda.Generated
{
using System;
- using System.CodeDom.Compiler;
using System.Runtime.CompilerServices;
using System.Threading;
using System.Threading.Tasks;
@@ -37,7 +36,7 @@ namespace MinimalLambda.Generated
using MinimalLambda;
using MinimalLambda.Builder;
- [GeneratedCode("REPLACED", "REPLACED")]
+ [global::System.CodeDom.Compiler.GeneratedCode("MinimalLambda.SourceGenerators", "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 7cb6b933..3d04c978 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("REPLACED", "REPLACED")]
+ [global::System.CodeDom.Compiler.GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")]
[AttributeUsage(AttributeTargets.Method, AllowMultiple = true)]
file sealed class InterceptsLocationAttribute : Attribute
{
@@ -29,7 +29,6 @@ public InterceptsLocationAttribute(int version, string data)
namespace MinimalLambda.Generated
{
using System;
- using System.CodeDom.Compiler;
using System.Runtime.CompilerServices;
using System.Threading;
using System.Threading.Tasks;
@@ -37,7 +36,7 @@ namespace MinimalLambda.Generated
using MinimalLambda;
using MinimalLambda.Builder;
- [GeneratedCode("REPLACED", "REPLACED")]
+ [global::System.CodeDom.Compiler.GeneratedCode("MinimalLambda.SourceGenerators", "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 73991f53..2221e934 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("REPLACED", "REPLACED")]
+ [global::System.CodeDom.Compiler.GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")]
[AttributeUsage(AttributeTargets.Method, AllowMultiple = true)]
file sealed class InterceptsLocationAttribute : Attribute
{
@@ -29,7 +29,6 @@ public InterceptsLocationAttribute(int version, string data)
namespace MinimalLambda.Generated
{
using System;
- using System.CodeDom.Compiler;
using System.Runtime.CompilerServices;
using System.Threading;
using System.Threading.Tasks;
@@ -37,7 +36,7 @@ namespace MinimalLambda.Generated
using MinimalLambda;
using MinimalLambda.Builder;
- [GeneratedCode("REPLACED", "REPLACED")]
+ [global::System.CodeDom.Compiler.GeneratedCode("MinimalLambda.SourceGenerators", "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 96f9ef27..eb933b99 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("REPLACED", "REPLACED")]
+ [global::System.CodeDom.Compiler.GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")]
[AttributeUsage(AttributeTargets.Method, AllowMultiple = true)]
file sealed class InterceptsLocationAttribute : Attribute
{
@@ -29,7 +29,6 @@ public InterceptsLocationAttribute(int version, string data)
namespace MinimalLambda.Generated
{
using System;
- using System.CodeDom.Compiler;
using System.Runtime.CompilerServices;
using System.Threading;
using System.Threading.Tasks;
@@ -37,7 +36,7 @@ namespace MinimalLambda.Generated
using MinimalLambda;
using MinimalLambda.Builder;
- [GeneratedCode("REPLACED", "REPLACED")]
+ [global::System.CodeDom.Compiler.GeneratedCode("MinimalLambda.SourceGenerators", "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 c49919f6..2ab54a3a 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("REPLACED", "REPLACED")]
+ [global::System.CodeDom.Compiler.GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")]
[AttributeUsage(AttributeTargets.Method, AllowMultiple = true)]
file sealed class InterceptsLocationAttribute : Attribute
{
@@ -29,7 +29,6 @@ public InterceptsLocationAttribute(int version, string data)
namespace MinimalLambda.Generated
{
using System;
- using System.CodeDom.Compiler;
using System.Runtime.CompilerServices;
using System.Threading;
using System.Threading.Tasks;
@@ -37,7 +36,7 @@ namespace MinimalLambda.Generated
using MinimalLambda;
using MinimalLambda.Builder;
- [GeneratedCode("REPLACED", "REPLACED")]
+ [global::System.CodeDom.Compiler.GeneratedCode("MinimalLambda.SourceGenerators", "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 3dc29905..9fc2dc04 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("REPLACED", "REPLACED")]
+ [global::System.CodeDom.Compiler.GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")]
[AttributeUsage(AttributeTargets.Method, AllowMultiple = true)]
file sealed class InterceptsLocationAttribute : Attribute
{
@@ -29,7 +29,6 @@ public InterceptsLocationAttribute(int version, string data)
namespace MinimalLambda.Generated
{
using System;
- using System.CodeDom.Compiler;
using System.Runtime.CompilerServices;
using System.Threading;
using System.Threading.Tasks;
@@ -37,7 +36,7 @@ namespace MinimalLambda.Generated
using MinimalLambda;
using MinimalLambda.Builder;
- [GeneratedCode("REPLACED", "REPLACED")]
+ [global::System.CodeDom.Compiler.GeneratedCode("MinimalLambda.SourceGenerators", "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 d5a6e748..28145279 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("REPLACED", "REPLACED")]
+ [global::System.CodeDom.Compiler.GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")]
[AttributeUsage(AttributeTargets.Method, AllowMultiple = true)]
file sealed class InterceptsLocationAttribute : Attribute
{
@@ -29,7 +29,6 @@ public InterceptsLocationAttribute(int version, string data)
namespace MinimalLambda.Generated
{
using System;
- using System.CodeDom.Compiler;
using System.Runtime.CompilerServices;
using System.Threading;
using System.Threading.Tasks;
@@ -37,7 +36,7 @@ namespace MinimalLambda.Generated
using MinimalLambda;
using MinimalLambda.Builder;
- [GeneratedCode("REPLACED", "REPLACED")]
+ [global::System.CodeDom.Compiler.GeneratedCode("MinimalLambda.SourceGenerators", "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 0c5edc76..2f0fd7c9 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("REPLACED", "REPLACED")]
+ [global::System.CodeDom.Compiler.GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")]
[AttributeUsage(AttributeTargets.Method, AllowMultiple = true)]
file sealed class InterceptsLocationAttribute : Attribute
{
@@ -29,7 +29,6 @@ public InterceptsLocationAttribute(int version, string data)
namespace MinimalLambda.Generated
{
using System;
- using System.CodeDom.Compiler;
using System.Runtime.CompilerServices;
using System.Threading;
using System.Threading.Tasks;
@@ -37,7 +36,7 @@ namespace MinimalLambda.Generated
using MinimalLambda;
using MinimalLambda.Builder;
- [GeneratedCode("REPLACED", "REPLACED")]
+ [global::System.CodeDom.Compiler.GeneratedCode("MinimalLambda.SourceGenerators", "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 42a9fa92..7753f04a 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("REPLACED", "REPLACED")]
+ [global::System.CodeDom.Compiler.GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")]
[AttributeUsage(AttributeTargets.Method, AllowMultiple = true)]
file sealed class InterceptsLocationAttribute : Attribute
{
@@ -29,7 +29,6 @@ public InterceptsLocationAttribute(int version, string data)
namespace MinimalLambda.Generated
{
using System;
- using System.CodeDom.Compiler;
using System.Runtime.CompilerServices;
using System.Threading;
using System.Threading.Tasks;
@@ -37,7 +36,7 @@ namespace MinimalLambda.Generated
using MinimalLambda;
using MinimalLambda.Builder;
- [GeneratedCode("REPLACED", "REPLACED")]
+ [global::System.CodeDom.Compiler.GeneratedCode("MinimalLambda.SourceGenerators", "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 abbf30d4..4c232acb 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("REPLACED", "REPLACED")]
+ [global::System.CodeDom.Compiler.GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")]
[AttributeUsage(AttributeTargets.Method, AllowMultiple = true)]
file sealed class InterceptsLocationAttribute : Attribute
{
@@ -29,7 +29,6 @@ public InterceptsLocationAttribute(int version, string data)
namespace MinimalLambda.Generated
{
using System;
- using System.CodeDom.Compiler;
using System.Runtime.CompilerServices;
using System.Threading;
using System.Threading.Tasks;
@@ -37,7 +36,7 @@ namespace MinimalLambda.Generated
using MinimalLambda;
using MinimalLambda.Builder;
- [GeneratedCode("REPLACED", "REPLACED")]
+ [global::System.CodeDom.Compiler.GeneratedCode("MinimalLambda.SourceGenerators", "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 29e8bc51..dd30689a 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("REPLACED", "REPLACED")]
+ [global::System.CodeDom.Compiler.GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")]
[AttributeUsage(AttributeTargets.Method, AllowMultiple = true)]
file sealed class InterceptsLocationAttribute : Attribute
{
@@ -29,7 +29,6 @@ public InterceptsLocationAttribute(int version, string data)
namespace MinimalLambda.Generated
{
using System;
- using System.CodeDom.Compiler;
using System.Runtime.CompilerServices;
using System.Threading;
using System.Threading.Tasks;
@@ -37,7 +36,7 @@ namespace MinimalLambda.Generated
using MinimalLambda;
using MinimalLambda.Builder;
- [GeneratedCode("REPLACED", "REPLACED")]
+ [global::System.CodeDom.Compiler.GeneratedCode("MinimalLambda.SourceGenerators", "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 9b1c8f89..31f82828 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("REPLACED", "REPLACED")]
+ [global::System.CodeDom.Compiler.GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")]
[AttributeUsage(AttributeTargets.Method, AllowMultiple = true)]
file sealed class InterceptsLocationAttribute : Attribute
{
@@ -29,7 +29,6 @@ public InterceptsLocationAttribute(int version, string data)
namespace MinimalLambda.Generated
{
using System;
- using System.CodeDom.Compiler;
using System.Runtime.CompilerServices;
using System.Threading;
using System.Threading.Tasks;
@@ -37,7 +36,7 @@ namespace MinimalLambda.Generated
using MinimalLambda;
using MinimalLambda.Builder;
- [GeneratedCode("REPLACED", "REPLACED")]
+ [global::System.CodeDom.Compiler.GeneratedCode("MinimalLambda.SourceGenerators", "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 778cf915..d5208f9d 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("REPLACED", "REPLACED")]
+ [global::System.CodeDom.Compiler.GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")]
[AttributeUsage(AttributeTargets.Method, AllowMultiple = true)]
file sealed class InterceptsLocationAttribute : Attribute
{
@@ -29,7 +29,6 @@ public InterceptsLocationAttribute(int version, string data)
namespace MinimalLambda.Generated
{
using System;
- using System.CodeDom.Compiler;
using System.Runtime.CompilerServices;
using System.Threading;
using System.Threading.Tasks;
@@ -37,7 +36,7 @@ namespace MinimalLambda.Generated
using MinimalLambda;
using MinimalLambda.Builder;
- [GeneratedCode("REPLACED", "REPLACED")]
+ [global::System.CodeDom.Compiler.GeneratedCode("MinimalLambda.SourceGenerators", "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 21728427..aca3e663 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("REPLACED", "REPLACED")]
+ [global::System.CodeDom.Compiler.GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")]
[AttributeUsage(AttributeTargets.Method, AllowMultiple = true)]
file sealed class InterceptsLocationAttribute : Attribute
{
@@ -29,7 +29,6 @@ public InterceptsLocationAttribute(int version, string data)
namespace MinimalLambda.Generated
{
using System;
- using System.CodeDom.Compiler;
using System.Runtime.CompilerServices;
using System.Threading;
using System.Threading.Tasks;
@@ -37,7 +36,7 @@ namespace MinimalLambda.Generated
using MinimalLambda;
using MinimalLambda.Builder;
- [GeneratedCode("REPLACED", "REPLACED")]
+ [global::System.CodeDom.Compiler.GeneratedCode("MinimalLambda.SourceGenerators", "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 96375840..5e76e9ab 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("REPLACED", "REPLACED")]
+ [global::System.CodeDom.Compiler.GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")]
[AttributeUsage(AttributeTargets.Method, AllowMultiple = true)]
file sealed class InterceptsLocationAttribute : Attribute
{
@@ -29,7 +29,6 @@ public InterceptsLocationAttribute(int version, string data)
namespace MinimalLambda.Generated
{
using System;
- using System.CodeDom.Compiler;
using System.Runtime.CompilerServices;
using System.Threading;
using System.Threading.Tasks;
@@ -37,7 +36,7 @@ namespace MinimalLambda.Generated
using MinimalLambda;
using MinimalLambda.Builder;
- [GeneratedCode("REPLACED", "REPLACED")]
+ [global::System.CodeDom.Compiler.GeneratedCode("MinimalLambda.SourceGenerators", "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 6ae4fc72..0d9446e3 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("REPLACED", "REPLACED")]
+ [global::System.CodeDom.Compiler.GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")]
[AttributeUsage(AttributeTargets.Method, AllowMultiple = true)]
file sealed class InterceptsLocationAttribute : Attribute
{
@@ -29,7 +29,6 @@ public InterceptsLocationAttribute(int version, string data)
namespace MinimalLambda.Generated
{
using System;
- using System.CodeDom.Compiler;
using System.Runtime.CompilerServices;
using System.Threading;
using System.Threading.Tasks;
@@ -37,7 +36,7 @@ namespace MinimalLambda.Generated
using MinimalLambda;
using MinimalLambda.Builder;
- [GeneratedCode("REPLACED", "REPLACED")]
+ [global::System.CodeDom.Compiler.GeneratedCode("MinimalLambda.SourceGenerators", "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 416d46de..3c086068 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("REPLACED", "REPLACED")]
+ [global::System.CodeDom.Compiler.GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")]
[AttributeUsage(AttributeTargets.Method, AllowMultiple = true)]
file sealed class InterceptsLocationAttribute : Attribute
{
@@ -29,7 +29,6 @@ public InterceptsLocationAttribute(int version, string data)
namespace MinimalLambda.Generated
{
using System;
- using System.CodeDom.Compiler;
using System.Runtime.CompilerServices;
using System.Threading;
using System.Threading.Tasks;
@@ -37,7 +36,7 @@ namespace MinimalLambda.Generated
using MinimalLambda;
using MinimalLambda.Builder;
- [GeneratedCode("REPLACED", "REPLACED")]
+ [global::System.CodeDom.Compiler.GeneratedCode("MinimalLambda.SourceGenerators", "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 96375840..5e76e9ab 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("REPLACED", "REPLACED")]
+ [global::System.CodeDom.Compiler.GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")]
[AttributeUsage(AttributeTargets.Method, AllowMultiple = true)]
file sealed class InterceptsLocationAttribute : Attribute
{
@@ -29,7 +29,6 @@ public InterceptsLocationAttribute(int version, string data)
namespace MinimalLambda.Generated
{
using System;
- using System.CodeDom.Compiler;
using System.Runtime.CompilerServices;
using System.Threading;
using System.Threading.Tasks;
@@ -37,7 +36,7 @@ namespace MinimalLambda.Generated
using MinimalLambda;
using MinimalLambda.Builder;
- [GeneratedCode("REPLACED", "REPLACED")]
+ [global::System.CodeDom.Compiler.GeneratedCode("MinimalLambda.SourceGenerators", "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 01183777..23db5e79 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("REPLACED", "REPLACED")]
+ [global::System.CodeDom.Compiler.GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")]
[AttributeUsage(AttributeTargets.Method, AllowMultiple = true)]
file sealed class InterceptsLocationAttribute : Attribute
{
@@ -29,7 +29,6 @@ public InterceptsLocationAttribute(int version, string data)
namespace MinimalLambda.Generated
{
using System;
- using System.CodeDom.Compiler;
using System.Runtime.CompilerServices;
using System.Threading;
using System.Threading.Tasks;
@@ -37,7 +36,7 @@ namespace MinimalLambda.Generated
using MinimalLambda;
using MinimalLambda.Builder;
- [GeneratedCode("REPLACED", "REPLACED")]
+ [global::System.CodeDom.Compiler.GeneratedCode("MinimalLambda.SourceGenerators", "REPLACED")]
file static class UseMiddlewareExtensions
{
[InterceptsLocation(1, "REPLACED")]
diff --git a/tests/MinimalLambda.Testing.UnitTests/Tests/MinimalLambda.Testing.UnitTests/DiLambdaTests.cs b/tests/MinimalLambda.Testing.UnitTests/Tests/MinimalLambda.Testing.UnitTests/DiLambdaTests.cs
index 35fc54cf..fe0bb663 100644
--- a/tests/MinimalLambda.Testing.UnitTests/Tests/MinimalLambda.Testing.UnitTests/DiLambdaTests.cs
+++ b/tests/MinimalLambda.Testing.UnitTests/Tests/MinimalLambda.Testing.UnitTests/DiLambdaTests.cs
@@ -116,6 +116,7 @@ internal async Task DiLambda_ShutdownThrowsException(ILifecycleService lifecycle
initResult.InitStatus.Should().Be(InitStatus.InitCompleted);
var act = async () =>
+ // ReSharper disable once AccessToDisposedClosure
await factory.TestServer.StopAsync(TestContext.Current.CancellationToken);
(await act.Should().ThrowAsync())
diff --git a/tests/MinimalLambda.Testing.UnitTests/Tests/MinimalLambda.Testing.UnitTests/NoResponseLambdaTests.cs b/tests/MinimalLambda.Testing.UnitTests/Tests/MinimalLambda.Testing.UnitTests/NoResponseLambdaTests.cs
index 57741c42..d10f164a 100644
--- a/tests/MinimalLambda.Testing.UnitTests/Tests/MinimalLambda.Testing.UnitTests/NoResponseLambdaTests.cs
+++ b/tests/MinimalLambda.Testing.UnitTests/Tests/MinimalLambda.Testing.UnitTests/NoResponseLambdaTests.cs
@@ -1,6 +1,8 @@
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Hosting;
+// ReSharper disable AccessToDisposedClosure
+
namespace MinimalLambda.Testing.UnitTests;
public class NoResponseLambdaTests
diff --git a/tests/MinimalLambda.Testing.UnitTests/Tests/MinimalLambda.Testing.UnitTests/SimpleLambdaTests.cs b/tests/MinimalLambda.Testing.UnitTests/Tests/MinimalLambda.Testing.UnitTests/SimpleLambdaTests.cs
index 284253f2..96d3976d 100644
--- a/tests/MinimalLambda.Testing.UnitTests/Tests/MinimalLambda.Testing.UnitTests/SimpleLambdaTests.cs
+++ b/tests/MinimalLambda.Testing.UnitTests/Tests/MinimalLambda.Testing.UnitTests/SimpleLambdaTests.cs
@@ -152,6 +152,7 @@ public async Task SimpleLambda_ErrorsArePropagated()
});
var act = async () =>
+ // ReSharper disable once AccessToDisposedClosure
await factory.TestServer.StartAsync(TestContext.Current.CancellationToken);
await act.Should()
@@ -173,7 +174,9 @@ public async Task SimpleLambda_WithPreCanceledToken_CancelsInvocation()
using var cts = new CancellationTokenSource();
await cts.CancelAsync();
+ // ReSharper disable AccessToDisposedClosure
var act = () => factory.TestServer.InvokeAsync("Jonas", cts.Token);
+ // ReSharper restore AccessToDisposedClosure
await act.Should().ThrowAsync();
}
diff --git a/tests/MinimalLambda.UnitTests/Builder/Extensions/LambdaHttpClientServiceCollectionExtensionsTests.cs b/tests/MinimalLambda.UnitTests/Builder/Extensions/LambdaHttpClientServiceCollectionExtensionsTests.cs
index 1a0e6276..a5249884 100644
--- a/tests/MinimalLambda.UnitTests/Builder/Extensions/LambdaHttpClientServiceCollectionExtensionsTests.cs
+++ b/tests/MinimalLambda.UnitTests/Builder/Extensions/LambdaHttpClientServiceCollectionExtensionsTests.cs
@@ -81,7 +81,7 @@ public void AddLambdaBootstrapHttpClient_WithValidFactory_ReturnsServiceCollecti
var serviceCollection = new ServiceCollection();
// Act
- var result = serviceCollection.AddLambdaBootstrapHttpClient((sp, key) => new HttpClient());
+ var result = serviceCollection.AddLambdaBootstrapHttpClient((_, _) => new HttpClient());
// Assert
result.Should().BeSameAs(serviceCollection);
@@ -95,7 +95,7 @@ public void AddLambdaBootstrapHttpClient_WithValidFactory_RegistersKeyedSingleto
var httpClient = new HttpClient();
// Act
- serviceCollection.AddLambdaBootstrapHttpClient((sp, key) => httpClient);
+ serviceCollection.AddLambdaBootstrapHttpClient((_, _) => httpClient);
var provider = serviceCollection.BuildServiceProvider();
// Assert
@@ -188,7 +188,7 @@ public void TryAddLambdaBootstrapHttpClient_WithValidFactory_RegistersKeyedSingl
var httpClient = new HttpClient();
// Act
- serviceCollection.TryAddLambdaBootstrapHttpClient((sp, key) => httpClient);
+ serviceCollection.TryAddLambdaBootstrapHttpClient((_, _) => httpClient);
var provider = serviceCollection.BuildServiceProvider();
// Assert
@@ -207,8 +207,8 @@ public void TryAddLambdaBootstrapHttpClient_WithFactory_WhenAlreadyRegistered_Do
var secondClient = new HttpClient();
// Act
- serviceCollection.TryAddLambdaBootstrapHttpClient((sp, key) => firstClient);
- serviceCollection.TryAddLambdaBootstrapHttpClient((sp, key) => secondClient);
+ serviceCollection.TryAddLambdaBootstrapHttpClient((_, _) => firstClient);
+ serviceCollection.TryAddLambdaBootstrapHttpClient((_, _) => secondClient);
var provider = serviceCollection.BuildServiceProvider();
// Assert
@@ -229,7 +229,7 @@ public void AddLambdaBootstrapHttpClient_EnablesMethodChaining()
// Act
var result = serviceCollection
.AddLambdaBootstrapHttpClient(firstClient)
- .AddLambdaBootstrapHttpClient((sp, key) => secondClient);
+ .AddLambdaBootstrapHttpClient((_, _) => secondClient);
// Assert
result.Should().BeSameAs(serviceCollection);
diff --git a/tests/MinimalLambda.UnitTests/Builder/Extensions/ServiceCollectionExtensionsTests.cs b/tests/MinimalLambda.UnitTests/Builder/Extensions/ServiceCollectionExtensionsTests.cs
index b2e130ef..e277a5ce 100644
--- a/tests/MinimalLambda.UnitTests/Builder/Extensions/ServiceCollectionExtensionsTests.cs
+++ b/tests/MinimalLambda.UnitTests/Builder/Extensions/ServiceCollectionExtensionsTests.cs
@@ -58,7 +58,7 @@ public void AddLambdaHostCoreServices_RegistersLambdaInvocationBuilderFactory()
d.ServiceType == typeof(ILambdaInvocationBuilderFactory)
);
descriptor.Should().NotBeNull();
- descriptor!.ImplementationType.Should().Be();
+ descriptor.ImplementationType.Should().Be();
descriptor.Lifetime.Should().Be(ServiceLifetime.Singleton);
}
@@ -76,7 +76,7 @@ public void AddLambdaHostCoreServices_RegistersLambdaOnInitBuilderFactory()
d.ServiceType == typeof(ILambdaOnInitBuilderFactory)
);
descriptor.Should().NotBeNull();
- descriptor!.ImplementationType.Should().Be();
+ descriptor.ImplementationType.Should().Be();
descriptor.Lifetime.Should().Be(ServiceLifetime.Singleton);
}
@@ -94,7 +94,7 @@ public void AddLambdaHostCoreServices_RegistersLambdaOnShutdownBuilderFactory()
d.ServiceType == typeof(ILambdaOnShutdownBuilderFactory)
);
descriptor.Should().NotBeNull();
- descriptor!.ImplementationType.Should().Be();
+ descriptor.ImplementationType.Should().Be();
descriptor.Lifetime.Should().Be(ServiceLifetime.Singleton);
}
@@ -112,7 +112,7 @@ public void AddLambdaHostCoreServices_RegistersFeatureCollectionFactory()
d.ServiceType == typeof(IFeatureCollectionFactory)
);
descriptor.Should().NotBeNull();
- descriptor!.ImplementationType.Should().Be();
+ descriptor.ImplementationType.Should().Be();
descriptor.Lifetime.Should().Be(ServiceLifetime.Singleton);
}
@@ -130,7 +130,7 @@ public void AddLambdaHostCoreServices_RegistersLambdaHandlerFactory()
d.ServiceType == typeof(ILambdaHandlerFactory)
);
descriptor.Should().NotBeNull();
- descriptor!.ImplementationType.Should().Be();
+ descriptor.ImplementationType.Should().Be();
descriptor.Lifetime.Should().Be(ServiceLifetime.Singleton);
}
@@ -148,7 +148,7 @@ public void AddLambdaHostCoreServices_RegistersLambdaBootstrapOrchestrator()
d.ServiceType == typeof(ILambdaBootstrapOrchestrator)
);
descriptor.Should().NotBeNull();
- descriptor!.ImplementationType.Should().Be();
+ descriptor.ImplementationType.Should().Be();
descriptor.Lifetime.Should().Be(ServiceLifetime.Singleton);
}
@@ -167,7 +167,7 @@ public void AddLambdaHostCoreServices_RegistersHostedService()
&& d.ImplementationType == typeof(LambdaHostedService)
);
descriptor.Should().NotBeNull();
- descriptor!.Lifetime.Should().Be(ServiceLifetime.Singleton);
+ descriptor.Lifetime.Should().Be(ServiceLifetime.Singleton);
}
[Fact]
@@ -184,7 +184,7 @@ public void AddLambdaHostCoreServices_RegistersHostOptionsPostConfiguration()
d.ServiceType == typeof(IPostConfigureOptions)
);
descriptor.Should().NotBeNull();
- descriptor!.ImplementationType.Should().Be();
+ descriptor.ImplementationType.Should().Be();
descriptor.Lifetime.Should().Be(ServiceLifetime.Singleton);
}
@@ -251,7 +251,7 @@ public void TryAddLambdaHostDefaultServices_RegistersLambdaSerializer()
d.ServiceType == typeof(ILambdaSerializer)
);
descriptor.Should().NotBeNull();
- descriptor!.Lifetime.Should().Be(ServiceLifetime.Singleton);
+ descriptor.Lifetime.Should().Be(ServiceLifetime.Singleton);
}
[Fact]
@@ -268,7 +268,7 @@ public void TryAddLambdaHostDefaultServices_RegistersLambdaCancellationFactory()
d.ServiceType == typeof(ILambdaCancellationFactory)
);
descriptor.Should().NotBeNull();
- descriptor!.ImplementationType.Should().Be();
+ descriptor.ImplementationType.Should().Be();
descriptor.Lifetime.Should().Be(ServiceLifetime.Singleton);
}
@@ -342,7 +342,7 @@ public void AddLambdaInvocationContextAccessor_RegistersILambdaInvocationContext
d.ServiceType == typeof(ILambdaInvocationContextAccessor)
);
descriptor.Should().NotBeNull();
- descriptor!.ImplementationType.Should().Be();
+ descriptor.ImplementationType.Should().Be();
descriptor.Lifetime.Should().Be(ServiceLifetime.Singleton);
}
diff --git a/tests/MinimalLambda.UnitTests/Builder/LambdaApplicationTests.cs b/tests/MinimalLambda.UnitTests/Builder/LambdaApplicationTests.cs
index 9e32ad3a..f98d6c59 100644
--- a/tests/MinimalLambda.UnitTests/Builder/LambdaApplicationTests.cs
+++ b/tests/MinimalLambda.UnitTests/Builder/LambdaApplicationTests.cs
@@ -515,7 +515,7 @@ public void OnInit_WithValidHandler_AddsHandler()
// Arrange
var host = CreateHostWithServices();
var app = new LambdaApplication(host);
- LambdaInitDelegate handler = async _ => true;
+ LambdaInitDelegate handler = _ => Task.FromResult(true);
// Act
app.OnInit(handler);
@@ -530,7 +530,7 @@ public void OnInit_ReturnsBuilder()
// Arrange
var host = CreateHostWithServices();
var app = new LambdaApplication(host);
- LambdaInitDelegate handler = async _ => true;
+ LambdaInitDelegate handler = _ => Task.FromResult(true);
// Act
var result = app.OnInit(handler);
@@ -545,7 +545,7 @@ public void OnInit_EnablesMethodChaining()
// Arrange
var host = CreateHostWithServices();
var app = new LambdaApplication(host);
- LambdaInitDelegate handler = async _ => true;
+ LambdaInitDelegate handler = _ => Task.FromResult(true);
// Act
var result = app.OnInit(handler).OnInit(handler);
@@ -561,7 +561,7 @@ public async Task OnInit_Build_ReturnsCallable()
// Arrange
var host = CreateHostWithServices();
var app = new LambdaApplication(host);
- LambdaInitDelegate handler = async _ => true;
+ LambdaInitDelegate handler = _ => Task.FromResult(true);
app.OnInit(handler);
// Act
@@ -688,7 +688,7 @@ public void AllBuilders_CanBeChainedTogether()
var host = CreateHostWithServices();
var app = new LambdaApplication(host);
LambdaInvocationDelegate invocationHandler = async _ => await Task.CompletedTask;
- LambdaInitDelegate initHandler = async _ => true;
+ LambdaInitDelegate initHandler = _ => Task.FromResult(true);
LambdaShutdownDelegate shutdownHandler = async _ => await Task.CompletedTask;
// Act
diff --git a/tests/MinimalLambda.UnitTests/Builder/LambdaOnInitBuilderTests.cs b/tests/MinimalLambda.UnitTests/Builder/LambdaOnInitBuilderTests.cs
index 7cbf71d8..9afaf3b5 100644
--- a/tests/MinimalLambda.UnitTests/Builder/LambdaOnInitBuilderTests.cs
+++ b/tests/MinimalLambda.UnitTests/Builder/LambdaOnInitBuilderTests.cs
@@ -206,7 +206,7 @@ ILambdaLifecycleContextFactory contextFactory
[Theory]
[AutoNSubstituteData]
- internal async Task Build_WithoutHandlers_ReturnsNull(
+ internal void Build_WithoutHandlers_ReturnsNull(
IServiceProvider serviceProvider,
IServiceScopeFactory scopeFactory,
IOptions options,
diff --git a/tests/MinimalLambda.UnitTests/Core/Context/LambdaInvocationContextFactory.cs b/tests/MinimalLambda.UnitTests/Core/Context/LambdaInvocationContextFactory.cs
index 0aac4edc..7a7ff907 100644
--- a/tests/MinimalLambda.UnitTests/Core/Context/LambdaInvocationContextFactory.cs
+++ b/tests/MinimalLambda.UnitTests/Core/Context/LambdaInvocationContextFactory.cs
@@ -127,6 +127,8 @@ LambdaInvocationContextFactory factory
_ = factory.Create(lambdaContext, properties, CancellationToken.None);
// Assert
+
+ // ReSharper disable PossibleMultipleEnumeration
featureCollectionFactory
.Received(1)
.Create(
@@ -136,5 +138,6 @@ LambdaInvocationContextFactory factory
&& providers.Contains(responseFeatureProvider)
)
);
+ // ReSharper restore PossibleMultipleEnumeration
}
}
diff --git a/tests/MinimalLambda.UnitTests/Core/Features/DefaultEventFeatureTests.cs b/tests/MinimalLambda.UnitTests/Core/Features/DefaultEventFeatureTests.cs
index b20d2a86..a6165fc9 100644
--- a/tests/MinimalLambda.UnitTests/Core/Features/DefaultEventFeatureTests.cs
+++ b/tests/MinimalLambda.UnitTests/Core/Features/DefaultEventFeatureTests.cs
@@ -38,7 +38,7 @@ ILambdaInvocationContext context
internal void Constructor_WithNullSerializer_ThrowsArgumentNullException()
{
// Act & Assert
- var act = () => new DefaultEventFeature(null!);
+ var act = () => new DefaultEventFeature();
act.Should().ThrowExactly();
}
diff --git a/tests/MinimalLambda.UnitTests/Core/Features/DefaultFeatureCollectionFactoryTests.cs b/tests/MinimalLambda.UnitTests/Core/Features/DefaultFeatureCollectionFactoryTests.cs
index 254a7e38..ce7943f4 100644
--- a/tests/MinimalLambda.UnitTests/Core/Features/DefaultFeatureCollectionFactoryTests.cs
+++ b/tests/MinimalLambda.UnitTests/Core/Features/DefaultFeatureCollectionFactoryTests.cs
@@ -25,8 +25,9 @@ public void Create_ReturnsNewInstanceEachCall(IEnumerable feat
var factory = new DefaultFeatureCollectionFactory([]);
// Act
- var collection1 = factory.Create(featureProviders);
- var collection2 = factory.Create(featureProviders);
+ var enumerable = featureProviders as IFeatureProvider[] ?? featureProviders.ToArray();
+ var collection1 = factory.Create(enumerable);
+ var collection2 = factory.Create(enumerable);
// Assert
collection1.Should().NotBeSameAs(collection2);
diff --git a/tests/MinimalLambda.UnitTests/Core/Features/DefaultFeatureCollectionTests.cs b/tests/MinimalLambda.UnitTests/Core/Features/DefaultFeatureCollectionTests.cs
index cf13b624..f0d76465 100644
--- a/tests/MinimalLambda.UnitTests/Core/Features/DefaultFeatureCollectionTests.cs
+++ b/tests/MinimalLambda.UnitTests/Core/Features/DefaultFeatureCollectionTests.cs
@@ -1,5 +1,7 @@
using System.Collections;
+// ReSharper disable UnusedAutoPropertyAccessor.Local UnusedVariable
+
namespace MinimalLambda.UnitTests.Core.Features;
[TestSubject(typeof(DefaultFeatureCollection))]
@@ -204,7 +206,7 @@ public void Get_ReturnsFeatureFromProviderWhenNotCached(IFeatureProvider provide
var testFeature = new TestFeature { Value = "from-provider" };
provider
- .TryCreate(typeof(TestFeature), out var feature)
+ .TryCreate(typeof(TestFeature), out _)
.Returns(x =>
{
x[1] = testFeature;
@@ -363,7 +365,7 @@ public void GetEnumerator_ReturnsKeyValuePairCollection()
// Act
var items = new List>();
- var enumerator = collection.GetEnumerator();
+ using var enumerator = collection.GetEnumerator();
while (enumerator.MoveNext())
items.Add(enumerator.Current);
@@ -425,9 +427,10 @@ public void IEnumerable_GetEnumerator_WorksCorrectly()
// Act
var enumerator = ((IEnumerable)collection).GetEnumerator();
+ using var _ = enumerator as IDisposable;
var items = new List