Use IReadOnlyCollection.
Sean Hall committed
Apr 20, 2021 at 00:15 UTC
00ae085bad8d0c614420cf91832e3d1bf46f148c
3 files changed
+4
-4
global.json
+1
-1
@@ -1,5 +1,5 @@
1
{
2
"msbuild-sdks": {
3
- "WixToolset.Sdk": "4.0.0-build-0209"
3
+ "WixToolset.Sdk": "4.0.0-build-0210"
4
}
5
}
src/wixext/NetfxExtensionFactory.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.Netfx
4
{
@@ -8,7 +8,7 @@ namespace WixToolset.Netfx
8
9
public class NetfxExtensionFactory : BaseExtensionFactory
10
{
11
- protected override IEnumerable<Type> ExtensionTypes => new[]
11
+ protected override IReadOnlyCollection<Type> ExtensionTypes => new[]
12
{
13
typeof(NetfxCompiler),
14
typeof(NetfxExtensionData),
src/wixext/NetfxWindowsInstallerBackendExtension.cs
+1
-1
@@ -8,6 +8,6 @@ namespace WixToolset.Netfx
8
9
public class NetfxWindowsInstallerBackendBinderExtension : BaseWindowsInstallerBackendBinderExtension
10
{
11
- public override IEnumerable<TableDefinition> TableDefinitions => NetfxTableDefinitions.All;
11
+ public override IReadOnlyCollection<TableDefinition> TableDefinitions => NetfxTableDefinitions.All;
12
}
13
}