Skip to content

Commit 803a31a

Browse files
authored
remove one finished TODO comment. (#51741)
1 parent d3042b6 commit 803a31a

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

eng/packages/http-client-csharp-mgmt/generator/Azure.Generator.Management/src/Snippets/ResourceMethodSnippets.cs

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,6 @@ public static List<MethodBodyStatement> CreateDiagnosticScopeStatements(
5757
return statements;
5858
}
5959

60-
// TODO: The generated code has format issue https://github.com/microsoft/typespec/issues/7283
6160
public static MethodBodyStatement CreateRequestContext(
6261
ParameterProvider cancellationTokenParam,
6362
out VariableExpression contextVariable)
@@ -67,11 +66,6 @@ public static MethodBodyStatement CreateRequestContext(
6766
{ Identifier(nameof(RequestContext.CancellationToken)), cancellationTokenParam }
6867
};
6968

70-
// RequestContext context = new RequestContext
71-
// {
72-
// CancellationToken = cancellationToken
73-
// }
74-
// ;
7569
return Declare("context", typeof(RequestContext), New.Instance(typeof(RequestContext), requestContextParams), out contextVariable);
7670
}
7771

0 commit comments

Comments
 (0)