From 00ae085bad8d0c614420cf91832e3d1bf46f148c Mon Sep 17 00:00:00 2001 From: Sean Hall Date: Tue, 20 Apr 2021 00:15:18 -0500 Subject: Use IReadOnlyCollection. --- src/wixext/NetfxExtensionFactory.cs | 4 ++-- src/wixext/NetfxWindowsInstallerBackendExtension.cs | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'src') 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 @@ -// 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 e1404c1a..7d4fe475 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; } } -- cgit v1.2.3-55-g6feb