diff --git a/test/OpenTelemetry.Instrumentation.AWSLambda.Tests/SampleHandlers.cs b/test/OpenTelemetry.Instrumentation.AWSLambda.Tests/SampleHandlers.cs index 41843b6084..94bf75053b 100644 --- a/test/OpenTelemetry.Instrumentation.AWSLambda.Tests/SampleHandlers.cs +++ b/test/OpenTelemetry.Instrumentation.AWSLambda.Tests/SampleHandlers.cs @@ -8,30 +8,33 @@ namespace OpenTelemetry.Instrumentation.AWSLambda.Tests; internal class SampleHandlers { // Action - public void SampleHandlerSyncInputAndNoReturn(string str, ILambdaContext context) +#pragma warning disable SA1313 + public void SampleHandlerSyncInputAndNoReturn(string _1, ILambdaContext _2) { } // Func - public string SampleHandlerSyncInputAndReturn(string str, ILambdaContext context) + public string SampleHandlerSyncInputAndReturn(string str, ILambdaContext _2) { return str; } // Func - public async Task SampleHandlerAsyncInputAndNoReturn(string str, ILambdaContext context) + public async Task SampleHandlerAsyncInputAndNoReturn(string _1, ILambdaContext _2) { await Task.Delay(10); } // Func> - public async Task SampleHandlerAsyncInputAndReturn(string str, ILambdaContext context) + public async Task SampleHandlerAsyncInputAndReturn(string str, ILambdaContext _2) { await Task.Delay(10); return str; } - public void SampleHandlerSyncNoReturnException(string str, ILambdaContext context) + // Action + public void SampleHandlerSyncNoReturnException(string str, ILambdaContext _2) +#pragma warning restore SA1313 { throw new Exception(str); }