From 00ae085bad8d0c614420cf91832e3d1bf46f148c Mon Sep 17 00:00:00 2001 From: Sean Hall Date: Tue, 20 Apr 2021 00:15:18 -0500 Subject: [PATCH] Use IReadOnlyCollection. --- global.json | 2 +- src/wixext/NetfxExtensionFactory.cs | 4 ++-- src/wixext/NetfxWindowsInstallerBackendExtension.cs | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/global.json b/global.json index 83ab5c5..616b0b8 100644 --- a/global.json +++ b/global.json @@ -1,5 +1,5 @@ { "msbuild-sdks": { - "WixToolset.Sdk": "4.0.0-build-0209" + "WixToolset.Sdk": "4.0.0-build-0210" } } diff --git a/src/wixext/NetfxExtensionFactory.cs b/src/wixext/NetfxExtensionFactory.cs index 910c1ac..fe61846 100644 --- a/src/wixext/NetfxExtensionFactory.cs +++ b/src/wixext/NetfxExtensionFactory.cs @@ -1,4 +1,4 @@ -// 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. +// 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. namespace WixToolset.Netfx { @@ -8,7 +8,7 @@ namespace WixToolset.Netfx public class NetfxExtensionFactory : BaseExtensionFactory { - protected override IEnumerable ExtensionTypes => new[] + protected override IReadOnlyCollection ExtensionTypes => new[] { typeof(NetfxCompiler), typeof(NetfxExtensionData), diff --git a/src/wixext/NetfxWindowsInstallerBackendExtension.cs b/src/wixext/NetfxWindowsInstallerBackendExtension.cs index e1404c1..7d4fe47 100644 --- a/src/wixext/NetfxWindowsInstallerBackendExtension.cs +++ b/src/wixext/NetfxWindowsInstallerBackendExtension.cs @@ -8,6 +8,6 @@ namespace WixToolset.Netfx public class NetfxWindowsInstallerBackendBinderExtension : BaseWindowsInstallerBackendBinderExtension { - public override IEnumerable TableDefinitions => NetfxTableDefinitions.All; + public override IReadOnlyCollection TableDefinitions => NetfxTableDefinitions.All; } }