diff --git a/Windows.Forms/Resources/ResourceFile.cs b/Windows.Forms/Resources/ResourceFile.cs index 5dd6c938..fbbb58cc 100644 --- a/Windows.Forms/Resources/ResourceFile.cs +++ b/Windows.Forms/Resources/ResourceFile.cs @@ -127,7 +127,7 @@ namespace Vanara.Resources /// Gets the resource names. /// The type. /// - public IList GetResourceNames(SafeResourceId type) => EnumResourceNamesEx(hLib, type); + public IReadOnlyList GetResourceNames(SafeResourceId type) => EnumResourceNamesEx(hLib, type); /// Gets the bitmap. /// The name.