diff options
author | Sean Hall <r.sean.hall@gmail.com> | 2021-04-20 00:15:18 -0500 |
---|---|---|
committer | Sean Hall <r.sean.hall@gmail.com> | 2021-04-20 00:17:22 -0500 |
commit | 00ae085bad8d0c614420cf91832e3d1bf46f148c (patch) | |
tree | 9329dadd4066c6f812bc9f51d34e975d10baa2fa | |
parent | 873fc6cdedade39c393d7e2f87cf4beacf9024cd (diff) | |
download | wix-00ae085bad8d0c614420cf91832e3d1bf46f148c.tar.gz wix-00ae085bad8d0c614420cf91832e3d1bf46f148c.tar.bz2 wix-00ae085bad8d0c614420cf91832e3d1bf46f148c.zip |
Use IReadOnlyCollection.
-rw-r--r-- | global.json | 2 | ||||
-rw-r--r-- | src/wixext/NetfxExtensionFactory.cs | 4 | ||||
-rw-r--r-- | src/wixext/NetfxWindowsInstallerBackendExtension.cs | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/global.json b/global.json index 83ab5c51..616b0b8c 100644 --- a/global.json +++ b/global.json | |||
@@ -1,5 +1,5 @@ | |||
1 | { | 1 | { |
2 | "msbuild-sdks": { | 2 | "msbuild-sdks": { |
3 | "WixToolset.Sdk": "4.0.0-build-0209" | 3 | "WixToolset.Sdk": "4.0.0-build-0210" |
4 | } | 4 | } |
5 | } | 5 | } |
diff --git a/src/wixext/NetfxExtensionFactory.cs b/src/wixext/NetfxExtensionFactory.cs index 910c1ac1..fe618460 100644 --- a/src/wixext/NetfxExtensionFactory.cs +++ b/src/wixext/NetfxExtensionFactory.cs | |||
@@ -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 | 2 | ||
3 | namespace WixToolset.Netfx | 3 | namespace WixToolset.Netfx |
4 | { | 4 | { |
@@ -8,7 +8,7 @@ namespace WixToolset.Netfx | |||
8 | 8 | ||
9 | public class NetfxExtensionFactory : BaseExtensionFactory | 9 | public class NetfxExtensionFactory : BaseExtensionFactory |
10 | { | 10 | { |
11 | protected override IEnumerable<Type> ExtensionTypes => new[] | 11 | protected override IReadOnlyCollection<Type> ExtensionTypes => new[] |
12 | { | 12 | { |
13 | typeof(NetfxCompiler), | 13 | typeof(NetfxCompiler), |
14 | typeof(NetfxExtensionData), | 14 | typeof(NetfxExtensionData), |
diff --git a/src/wixext/NetfxWindowsInstallerBackendExtension.cs b/src/wixext/NetfxWindowsInstallerBackendExtension.cs index e1404c1a..7d4fe475 100644 --- a/src/wixext/NetfxWindowsInstallerBackendExtension.cs +++ b/src/wixext/NetfxWindowsInstallerBackendExtension.cs | |||
@@ -8,6 +8,6 @@ namespace WixToolset.Netfx | |||
8 | 8 | ||
9 | public class NetfxWindowsInstallerBackendBinderExtension : BaseWindowsInstallerBackendBinderExtension | 9 | public class NetfxWindowsInstallerBackendBinderExtension : BaseWindowsInstallerBackendBinderExtension |
10 | { | 10 | { |
11 | public override IEnumerable<TableDefinition> TableDefinitions => NetfxTableDefinitions.All; | 11 | public override IReadOnlyCollection<TableDefinition> TableDefinitions => NetfxTableDefinitions.All; |
12 | } | 12 | } |
13 | } | 13 | } |