Skip to content

Commit e059629

Browse files
authored
Enable IDE0060 (#40461)
* Enable IDE0060 Contributes to #24055
1 parent 6378cda commit e059629

File tree

52 files changed

+121
-159
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

52 files changed

+121
-159
lines changed

.editorconfig

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -245,6 +245,10 @@ dotnet_diagnostic.IDE0055.severity = suggestion
245245
# IDE0059: Unnecessary assignment to a value
246246
dotnet_diagnostic.IDE0059.severity = warning
247247

248+
# IDE0060: Remove unused parameter
249+
dotnet_code_quality_unused_parameters = non_public
250+
dotnet_diagnostic.IDE0060.severity = warning
251+
248252
# IDE0062: Make local function static
249253
dotnet_diagnostic.IDE0062.severity = warning
250254

@@ -259,7 +263,7 @@ dotnet_diagnostic.IDE0161.severity = warning
259263
dotnet_style_allow_multiple_blank_lines_experimental = false
260264
dotnet_diagnostic.IDE2000.severity = warning
261265

262-
[{eng/tools/**.cs,**/{test,samples,perf}/**.cs}]
266+
[{eng/tools/**.cs,**/{test,testassets,samples,Samples,perf}/**.cs}]
263267
# CA1018: Mark attributes with AttributeUsageAttribute
264268
dotnet_diagnostic.CA1018.severity = suggestion
265269
# CA1507: Use nameof to express symbol names
@@ -312,6 +316,8 @@ dotnet_diagnostic.IDE0044.severity = suggestion
312316
dotnet_diagnostic.IDE0051.severity = suggestion
313317
# IDE0059: Unnecessary assignment to a value
314318
dotnet_diagnostic.IDE0059.severity = suggestion
319+
# IDE0060: Remove unused parameters
320+
dotnet_diagnostic.IDE0060.severity = suggestion
315321
# IDE0062: Make local function static
316322
dotnet_diagnostic.IDE0062.severity = suggestion
317323

@@ -327,6 +333,8 @@ dotnet_diagnostic.CA1822.severity = silent
327333
dotnet_diagnostic.IDE0011.severity = silent
328334
# IDE0055: Fix formatting
329335
dotnet_diagnostic.IDE0055.severity = silent
336+
# IDE0060: Remove unused parameters
337+
dotnet_diagnostic.IDE0060.severity = silent
330338
# IDE0062: Make local function static
331339
dotnet_diagnostic.IDE0062.severity = silent
332340
# IDE0161: Convert to file-scoped namespace

src/Components/Components/src/BindConverter.cs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ public static class BindConverter
3939
[SuppressMessage("ApiDesign", "RS0026:Do not add multiple public overloads with optional parameters", Justification = "Required to maintain compatibility")]
4040
public static string? FormatValue(string? value, CultureInfo? culture = null) => FormatStringValueCore(value, culture);
4141

42-
private static string? FormatStringValueCore(string? value, CultureInfo? culture)
42+
private static string? FormatStringValueCore(string? value, CultureInfo? _)
4343
{
4444
return value;
4545
}
@@ -61,7 +61,7 @@ public static bool FormatValue(bool value, CultureInfo? culture = null)
6161
}
6262

6363
// Used with generics
64-
private static object FormatBoolValueCore(bool value, CultureInfo? culture)
64+
private static object FormatBoolValueCore(bool value, CultureInfo? _)
6565
{
6666
// Formatting for bool is special-cased. We need to produce a boolean value for conditional attributes
6767
// to work.
@@ -85,7 +85,7 @@ private static object FormatBoolValueCore(bool value, CultureInfo? culture)
8585
}
8686

8787
// Used with generics
88-
private static object? FormatNullableBoolValueCore(bool? value, CultureInfo? culture)
88+
private static object? FormatNullableBoolValueCore(bool? value, CultureInfo? _)
8989
{
9090
// Formatting for bool is special-cased. We need to produce a boolean value for conditional attributes
9191
// to work.
@@ -662,7 +662,7 @@ private static string FormatTimeOnlyValueCore(TimeOnly value, CultureInfo? cultu
662662
return value.Value.ToString(culture ?? CultureInfo.CurrentCulture);
663663
}
664664

665-
private static string? FormatEnumValueCore<T>(T value, CultureInfo? culture)
665+
private static string? FormatEnumValueCore<T>(T value, CultureInfo? _)
666666
{
667667
if (value == null)
668668
{
@@ -1600,7 +1600,7 @@ private static bool ConvertToNullableGuidCore(object? obj, CultureInfo? culture,
16001600
return true;
16011601
}
16021602

1603-
private static bool ConvertToEnum<T>(object? obj, CultureInfo? culture, out T value) where T : struct, Enum
1603+
private static bool ConvertToEnum<T>(object? obj, CultureInfo? _, out T value) where T : struct, Enum
16041604
{
16051605
var text = (string?)obj;
16061606
if (string.IsNullOrEmpty(text))
@@ -1625,7 +1625,7 @@ private static bool ConvertToEnum<T>(object? obj, CultureInfo? culture, out T va
16251625
return true;
16261626
}
16271627

1628-
private static bool ConvertToNullableEnum<T>(object? obj, CultureInfo? culture, out T? value) where T : struct, Enum
1628+
private static bool ConvertToNullableEnum<T>(object? obj, CultureInfo? _, out T? value) where T : struct, Enum
16291629
{
16301630
var text = (string?)obj;
16311631
if (string.IsNullOrEmpty(text))

src/Components/Server/src/BlazorPack/Requires.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ internal static void NotNull(object arg, string paramName)
99
{
1010
if (arg == null)
1111
{
12-
throw new ArgumentNullException(nameof(paramName));
12+
throw new ArgumentNullException(paramName);
1313
}
1414
}
1515

src/Components/Web/src/Forms/InputFile/BrowserFileStream.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ public override async ValueTask<int> ReadAsync(Memory<byte> buffer, Cancellation
7676
return 0;
7777
}
7878

79-
var bytesRead = await CopyFileDataIntoBuffer(_position, buffer.Slice(0, maxBytesToRead), cancellationToken);
79+
var bytesRead = await CopyFileDataIntoBuffer(buffer.Slice(0, maxBytesToRead), cancellationToken);
8080

8181
_position += bytesRead;
8282

@@ -98,7 +98,7 @@ private async Task<Stream> OpenReadStreamAsync(CancellationToken cancellationTok
9898
cancellationToken: cancellationToken);
9999
}
100100

101-
private async ValueTask<int> CopyFileDataIntoBuffer(long sourceOffset, Memory<byte> destination, CancellationToken cancellationToken)
101+
private async ValueTask<int> CopyFileDataIntoBuffer(Memory<byte> destination, CancellationToken cancellationToken)
102102
{
103103
var stream = await OpenReadStreamTask;
104104
_copyFileDataCts = CancellationTokenSource.CreateLinkedTokenSource(cancellationToken);

src/Components/WebAssembly/Server/src/TargetPickerUi.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ Ensure your browser is running with debugging enabled.
8787
if (matchingTabs.Count == 1)
8888
{
8989
// We know uniquely which tab to debug, so just redirect
90-
var devToolsUrlWithProxy = GetDevToolsUrlWithProxy(request, matchingTabs.Single());
90+
var devToolsUrlWithProxy = GetDevToolsUrlWithProxy(matchingTabs.Single());
9191
context.Response.Redirect(devToolsUrlWithProxy);
9292
}
9393
else if (matchingTabs.Count == 0)
@@ -134,7 +134,7 @@ await context.Response.WriteAsync(@"
134134

135135
foreach (var tab in matchingTabs)
136136
{
137-
var devToolsUrlWithProxy = GetDevToolsUrlWithProxy(request, tab);
137+
var devToolsUrlWithProxy = GetDevToolsUrlWithProxy(tab);
138138
await context.Response.WriteAsync(
139139
$"<a class='inspectable-page' href='{WebUtility.HtmlEncode(devToolsUrlWithProxy)}'>"
140140
+ $"<h3>{WebUtility.HtmlEncode(tab.Title)}</h3>{WebUtility.HtmlEncode(tab.Url)}"
@@ -143,7 +143,7 @@ await context.Response.WriteAsync(
143143
}
144144
}
145145

146-
private string GetDevToolsUrlWithProxy(HttpRequest request, BrowserTab tabToDebug)
146+
private string GetDevToolsUrlWithProxy(BrowserTab tabToDebug)
147147
{
148148
var underlyingV8Endpoint = new Uri(tabToDebug.WebSocketDebuggerUrl);
149149
var proxyEndpoint = new Uri(_debugProxyUrl);

src/Components/WebView/WebView/src/IpcReceiver.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ public async Task OnMessageReceivedAsync(PageContext pageContext, string message
5252
BeginInvokeDotNet(pageContext, args[0].GetString(), args[1].GetString(), args[2].GetString(), args[3].GetInt64(), args[4].GetString());
5353
break;
5454
case IpcCommon.IncomingMessageType.EndInvokeJS:
55-
EndInvokeJS(pageContext, args[0].GetInt64(), args[1].GetBoolean(), args[2].GetString());
55+
EndInvokeJS(pageContext, args[2].GetString());
5656
break;
5757
case IpcCommon.IncomingMessageType.ReceiveByteArrayFromJS:
5858
ReceiveByteArrayFromJS(pageContext, args[0].GetInt32(), args[1].GetBytesFromBase64());
@@ -77,7 +77,7 @@ private static void BeginInvokeDotNet(PageContext pageContext, string callId, st
7777
argsJson);
7878
}
7979

80-
private static void EndInvokeJS(PageContext pageContext, long asyncHandle, bool succeeded, string argumentsOrError)
80+
private static void EndInvokeJS(PageContext pageContext, string argumentsOrError)
8181
{
8282
DotNetDispatcher.EndInvokeJS(pageContext.JSRuntime, argumentsOrError);
8383
}

src/DataProtection/DataProtection/src/KeyManagement/DefaultKeyResolver.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,11 +41,11 @@ internal sealed class DefaultKeyResolver : IDefaultKeyResolver
4141
/// </remarks>
4242
private readonly TimeSpan _maxServerToServerClockSkew;
4343

44-
public DefaultKeyResolver(IOptions<KeyManagementOptions> keyManagementOptions)
45-
: this(keyManagementOptions, NullLoggerFactory.Instance)
44+
public DefaultKeyResolver()
45+
: this(NullLoggerFactory.Instance)
4646
{ }
4747

48-
public DefaultKeyResolver(IOptions<KeyManagementOptions> keyManagementOptions, ILoggerFactory loggerFactory)
48+
public DefaultKeyResolver(ILoggerFactory loggerFactory)
4949
{
5050
_keyPropagationWindow = KeyManagementOptions.KeyPropagationWindow;
5151
_maxServerToServerClockSkew = KeyManagementOptions.MaxServerClockSkew;

src/DataProtection/DataProtection/test/KeyManagement/DefaultKeyResolverTests.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -239,8 +239,7 @@ public void ResolveDefaultKeyPolicy_FallbackKey_NoNonRevokedKeysBeforePriorPropa
239239

240240
private static IDefaultKeyResolver CreateDefaultKeyResolver()
241241
{
242-
var options = Options.Create(new KeyManagementOptions());
243-
return new DefaultKeyResolver(options, NullLoggerFactory.Instance);
242+
return new DefaultKeyResolver(NullLoggerFactory.Instance);
244243
}
245244

246245
private static IKey CreateKey(string activationDate, string expirationDate, string creationDate = null, bool isRevoked = false, bool createEncryptorThrows = false)

src/Http/Routing/src/DefaultLinkGenerator.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@ internal sealed partial class DefaultLinkGenerator : LinkGenerator, IDisposable
3333
private readonly Func<RouteEndpoint, TemplateBinder> _createTemplateBinder;
3434

3535
public DefaultLinkGenerator(
36-
ParameterPolicyFactory parameterPolicyFactory,
3736
TemplateBinderFactory binderFactory,
3837
EndpointDataSource dataSource,
3938
IOptions<RouteOptions> routeOptions,

src/Http/Routing/src/Matching/ILEmitTrieFactory.cs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,10 +32,10 @@ public static Func<string, int, int, int> Create(
3232
typeof(int),
3333
new[] { typeof(string), typeof(int), typeof(int), });
3434

35-
GenerateMethodBody(method.GetILGenerator(), defaultDestination, exitDestination, entries, vectorize);
35+
GenerateMethodBody(method.GetILGenerator(), defaultDestination, entries, vectorize);
3636

3737
#if IL_EMIT_SAVE_ASSEMBLY
38-
SaveAssembly(method.GetILGenerator(), defaultDestination, exitDestination, entries, vectorize);
38+
SaveAssembly(method.GetILGenerator(), defaultDestination, entries, vectorize);
3939
#endif
4040

4141
return (Func<string, int, int, int>)method.CreateDelegate(typeof(Func<string, int, int, int>));
@@ -59,7 +59,6 @@ internal static bool ShouldVectorize((string text, int destination)[] entries)
5959
private static void GenerateMethodBody(
6060
ILGenerator il,
6161
int defaultDestination,
62-
int exitDestination,
6362
(string text, int destination)[] entries,
6463
bool? vectorize)
6564
{

src/Http/Routing/src/Template/TemplateBinder.cs

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -582,11 +582,9 @@ private bool TryBindValuesCore(UriBuildingContext context, RouteValueDictionary
582582
// for format, so we remove '.' and generate 5.
583583
if (!context.Accept(converted, parameterPart.EncodeSlashes))
584584
{
585-
RoutePatternSeparatorPart? nullablePart;
586-
if (j != 0 && parameterPart.IsOptional && (nullablePart = parts[j - 1] as RoutePatternSeparatorPart) != null)
585+
if (j != 0 && parameterPart.IsOptional && parts[j - 1] is RoutePatternSeparatorPart)
587586
{
588-
separatorPart = nullablePart;
589-
context.Remove(separatorPart.Content);
587+
context.Remove();
590588
}
591589
else
592590
{

src/Http/Routing/src/Tree/LinkGenerationDecisionTree.cs

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ public IList<OutboundMatchResult> GetMatches(RouteValueDictionary values, RouteV
7171
{
7272
var results = new List<OutboundMatchResult>();
7373
Walk(results, values, ambientValues ?? EmptyAmbientValues, _root, isFallbackPath: false);
74-
ProcessConventionalEntries(results, values, ambientValues ?? EmptyAmbientValues);
74+
ProcessConventionalEntries(results);
7575
results.Sort(OutboundMatchResultComparer.Instance);
7676
return results;
7777
}
@@ -159,10 +159,7 @@ private void Walk(
159159
}
160160
}
161161

162-
private void ProcessConventionalEntries(
163-
List<OutboundMatchResult> results,
164-
RouteValueDictionary values,
165-
RouteValueDictionary ambientvalues)
162+
private void ProcessConventionalEntries(List<OutboundMatchResult> results)
166163
{
167164
for (var i = 0; i < _conventionalEntries.Count; i++)
168165
{

src/Http/Routing/src/UriBuildingContext.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
namespace Microsoft.AspNetCore.Routing;
1111

1212
[DebuggerDisplay("{DebuggerToString(),nq}")]
13-
internal class UriBuildingContext
13+
internal sealed class UriBuildingContext
1414
{
1515
// Holds the 'accepted' parts of the path.
1616
private readonly StringBuilder _path;
@@ -133,7 +133,7 @@ public bool Accept(string? value, bool encodeSlashes)
133133
return true;
134134
}
135135

136-
public void Remove(string literal)
136+
public void Remove()
137137
{
138138
Debug.Assert(_lastValueOffset != -1, "Cannot invoke Remove more than once.");
139139
_path.Length = _lastValueOffset;

src/Http/Routing/test/UnitTests/LinkGeneratorTestBase.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,6 @@ private protected DefaultLinkGenerator CreateLinkGenerator(
7171
var routeOptions = serviceProvider.GetRequiredService<IOptions<RouteOptions>>();
7272

7373
return new DefaultLinkGenerator(
74-
new DefaultParameterPolicyFactory(routeOptions, serviceProvider),
7574
serviceProvider.GetRequiredService<TemplateBinderFactory>(),
7675
new CompositeEndpointDataSource(routeOptions.Value.EndpointDataSources),
7776
routeOptions,

src/Identity/ApiAuthorization.IdentityServer/src/Configuration/ConfigureClients.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ internal IEnumerable<Client> GetClients()
5252
yield return GetLocalSPA(name, definition);
5353
break;
5454
case ApplicationProfiles.NativeApp:
55-
yield return GetNativeApp(name, definition);
55+
yield return GetNativeApp(name);
5656
break;
5757
default:
5858
throw new InvalidOperationException($"Type '{definition.Profile}' is not supported.");
@@ -97,7 +97,7 @@ private static Client GetSPA(string name, ClientDefinition definition)
9797
return client.Build();
9898
}
9999

100-
private static Client GetNativeApp(string name, ClientDefinition definition)
100+
private static Client GetNativeApp(string name)
101101
{
102102
var client = ClientBuilder.NativeApp(name)
103103
.FromConfiguration();

src/Logging.AzureAppServices/src/BatchingLogger.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ public bool IsEnabled(LogLevel logLevel)
2828
return _provider.IsEnabled;
2929
}
3030

31-
public void Log<TState>(DateTimeOffset timestamp, LogLevel logLevel, EventId eventId, TState state, Exception exception, Func<TState, Exception, string> formatter)
31+
public void Log<TState>(DateTimeOffset timestamp, LogLevel logLevel, EventId _, TState state, Exception exception, Func<TState, Exception, string> formatter)
3232
{
3333
if (!IsEnabled(logLevel))
3434
{

src/Middleware/Spa/SpaProxy/src/SpaProxyLaunchManager.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -299,7 +299,7 @@ private void LaunchStopScriptMacOS(int spaProcessId)
299299
}
300300
}
301301

302-
public Task StopAsync(CancellationToken cancellationToken)
302+
public Task StopAsync()
303303
{
304304
Dispose(true);
305305
return Task.CompletedTask;

src/Middleware/WebSockets/src/HandshakeHelpers.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ public static bool ParseDeflateOptions(ReadOnlySpan<char> extension, bool server
147147
}
148148

149149
hasClientMaxWindowBits = true;
150-
if (!ParseWindowBits(value, WebSocketDeflateConstants.ClientMaxWindowBits, out var clientMaxWindowBits))
150+
if (!ParseWindowBits(value, out var clientMaxWindowBits))
151151
{
152152
return false;
153153
}
@@ -192,7 +192,7 @@ public static bool ParseDeflateOptions(ReadOnlySpan<char> extension, bool server
192192
}
193193

194194
hasServerMaxWindowBits = true;
195-
if (!ParseWindowBits(value, WebSocketDeflateConstants.ServerMaxWindowBits, out var parsedServerMaxWindowBits))
195+
if (!ParseWindowBits(value, out var parsedServerMaxWindowBits))
196196
{
197197
return false;
198198
}
@@ -211,7 +211,7 @@ public static bool ParseDeflateOptions(ReadOnlySpan<char> extension, bool server
211211
parsedOptions.ServerMaxWindowBits = Math.Min(parsedServerMaxWindowBits ?? 15, serverMaxWindowBits);
212212
}
213213

214-
static bool ParseWindowBits(ReadOnlySpan<char> value, string propertyName, out int? parsedValue)
214+
static bool ParseWindowBits(ReadOnlySpan<char> value, out int? parsedValue)
215215
{
216216
var startIndex = value.IndexOf('=');
217217

src/Mvc/Mvc.Api.Analyzers/src/ActualApiResponseMetadataFactory.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@ public static class ActualApiResponseMetadataFactory
2323
internal static bool TryGetActualResponseMetadata(
2424
in ApiControllerSymbolCache symbolCache,
2525
IMethodBodyBaseOperation methodBody,
26-
CancellationToken cancellationToken,
2726
out IList<ActualApiResponseMetadata> actualResponseMetadata)
2827
{
2928
var localActualResponseMetadata = new List<ActualApiResponseMetadata>();

src/Mvc/Mvc.Api.Analyzers/src/AddResponseTypeAttributeCodeFixAction.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ private static Dictionary<int, string> GetStatusCodeConstants(INamedTypeSymbol s
170170
{
171171
var operation = (IMethodBodyBaseOperation)context.SemanticModel.GetOperation(context.MethodSyntax, context.CancellationToken);
172172

173-
if (!ActualApiResponseMetadataFactory.TryGetActualResponseMetadata(context.SymbolCache, operation, context.CancellationToken, out var actualResponseMetadata))
173+
if (!ActualApiResponseMetadataFactory.TryGetActualResponseMetadata(context.SymbolCache, operation, out var actualResponseMetadata))
174174
{
175175
// If we cannot parse metadata correctly, don't offer fixes.
176176
return Array.Empty<(int, ITypeSymbol?)>();

src/Mvc/Mvc.Api.Analyzers/src/ApiConventionAnalyzer.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ private static void InitializeWorker(CompilationStartAnalysisContext compilation
4545
}
4646

4747
var declaredResponseMetadata = SymbolApiResponseMetadataProvider.GetDeclaredResponseMetadata(symbolCache, method);
48-
var hasUnreadableStatusCodes = !ActualApiResponseMetadataFactory.TryGetActualResponseMetadata(symbolCache, (IMethodBodyOperation)operationStartContext.Operation, operationStartContext.CancellationToken, out var actualResponseMetadata);
48+
var hasUnreadableStatusCodes = !ActualApiResponseMetadataFactory.TryGetActualResponseMetadata(symbolCache, (IMethodBodyOperation)operationStartContext.Operation, out var actualResponseMetadata);
4949

5050
var hasUndocumentedStatusCodes = false;
5151
foreach (var actualMetadata in actualResponseMetadata)

src/Mvc/Mvc.Api.Analyzers/test/ActualApiResponseMetadataFactoryTest.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -328,7 +328,7 @@ public async Task TryGetActualResponseMetadata_ActionWithActionResultOfTReturnin
328328
var methodSyntax = (MethodDeclarationSyntax)syntaxTree.GetRoot().FindNode(method.Locations[0].SourceSpan);
329329
var methodOperation = (IMethodBodyBaseOperation)compilation.GetSemanticModel(syntaxTree).GetOperation(methodSyntax);
330330

331-
var result = ActualApiResponseMetadataFactory.TryGetActualResponseMetadata(symbolCache, methodOperation, CancellationToken.None, out var responseMetadatas);
331+
var result = ActualApiResponseMetadataFactory.TryGetActualResponseMetadata(symbolCache, methodOperation, out var responseMetadatas);
332332

333333
return (result, responseMetadatas, testSource);
334334
}

0 commit comments

Comments
 (0)