Skip to content

Commit 8a6fd7a

Browse files
CopilotYunchuWang
andcommitted
Address code review feedback - use traditional HashSet syntax
Co-authored-by: YunchuWang <[email protected]>
1 parent 43d2be4 commit 8a6fd7a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/Abstractions/DurableTaskRegistry.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,17 +34,17 @@ public sealed partial class DurableTaskRegistry
3434
/// <summary>
3535
/// Gets the types of registered activities.
3636
/// </summary>
37-
internal HashSet<Type> ActivityTypes { get; } = [];
37+
internal HashSet<Type> ActivityTypes { get; } = new HashSet<Type>();
3838

3939
/// <summary>
4040
/// Gets the types of registered orchestrators.
4141
/// </summary>
42-
internal HashSet<Type> OrchestratorTypes { get; } = [];
42+
internal HashSet<Type> OrchestratorTypes { get; } = new HashSet<Type>();
4343

4444
/// <summary>
4545
/// Gets the types of registered entities.
4646
/// </summary>
47-
internal HashSet<Type> EntityTypes { get; } = [];
47+
internal HashSet<Type> EntityTypes { get; } = new HashSet<Type>();
4848

4949
/// <summary>
5050
/// Registers an activity factory.

0 commit comments

Comments
 (0)