Use IReadOnlyCollection.
Sean Hall committed
Apr 19, 2021 at 23:53 UTC
7ec19f5d7cc8b5c75ac4a12969a1feae1f93545e
2 files changed
+3
-3
src/wixext/UtilExtensionFactory.cs
+2
-2
@@ -1,4 +1,4 @@
1
-// Copyright (c) .NET Foundation and contributors. All rights reserved. Licensed under the Microsoft Reciprocal License. See LICENSE.TXT file in the project root for full license information.
1
+// Copyright (c) .NET Foundation and contributors. All rights reserved. Licensed under the Microsoft Reciprocal License. See LICENSE.TXT file in the project root for full license information.
2
3
namespace WixToolset.Util
4
{
@@ -8,7 +8,7 @@ namespace WixToolset.Util
8
9
public class UtilExtensionFactory : BaseExtensionFactory
10
{
11
- protected override IEnumerable<Type> ExtensionTypes => new[]
11
+ protected override IReadOnlyCollection<Type> ExtensionTypes => new[]
12
{
13
typeof(UtilCompiler),
14
typeof(UtilExtensionData),
src/wixext/UtilWindowsInstallerBackendExtension.cs
+1
-1
@@ -8,6 +8,6 @@ namespace WixToolset.Util
8
9
public class UtilWindowsInstallerBackendBinderExtension : BaseWindowsInstallerBackendBinderExtension
10
{
11
- public override IEnumerable<TableDefinition> TableDefinitions => UtilTableDefinitions.All;
11
+ public override IReadOnlyCollection<TableDefinition> TableDefinitions => UtilTableDefinitions.All;
12
}
13
}