mirror of
https://github.com/claunia/Claunia.RsrcFork.git
synced 2025-12-16 19:24:46 +00:00
Use file-scoped namespaces.
This commit is contained in:
@@ -29,8 +29,8 @@ using System.IO;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
|
||||
namespace Claunia.RsrcFork.CLI
|
||||
{
|
||||
namespace Claunia.RsrcFork.CLI;
|
||||
|
||||
class MainClass
|
||||
{
|
||||
public static void Main(string[] args)
|
||||
@@ -148,4 +148,3 @@ namespace Claunia.RsrcFork.CLI
|
||||
Console.WriteLine("\tClaunia.RsrcFork.CLI.EXE -x -o output.dir resourcefork.bin - Extracts all resources to output.dir");
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -28,8 +28,8 @@ using System.IO;
|
||||
using NUnit.Framework;
|
||||
using Resources;
|
||||
|
||||
namespace Claunia.RsrcFork.Test
|
||||
{
|
||||
namespace Claunia.RsrcFork.Test;
|
||||
|
||||
[TestFixture]
|
||||
public class Test
|
||||
{
|
||||
@@ -228,4 +228,3 @@ namespace Claunia.RsrcFork.Test
|
||||
Assert.IsNull(vers);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -27,8 +27,8 @@
|
||||
using System;
|
||||
using System.Text;
|
||||
|
||||
namespace Claunia.RsrcFork
|
||||
{
|
||||
namespace Claunia.RsrcFork;
|
||||
|
||||
/// <summary>
|
||||
/// Contains convertes between .NET and Pascal strings. Only ASCII supported right now.
|
||||
/// </summary>
|
||||
@@ -67,4 +67,3 @@ namespace Claunia.RsrcFork
|
||||
return PStr;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -30,8 +30,8 @@ using System.IO;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
|
||||
namespace Claunia.RsrcFork
|
||||
{
|
||||
namespace Claunia.RsrcFork;
|
||||
|
||||
/// <summary>
|
||||
/// This class represents a resource type.
|
||||
/// </summary>
|
||||
@@ -178,4 +178,3 @@ namespace Claunia.RsrcFork
|
||||
public long length;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -28,8 +28,8 @@ using System.Collections.Generic;
|
||||
using System.IO;
|
||||
using System.Linq;
|
||||
|
||||
namespace Claunia.RsrcFork
|
||||
{
|
||||
namespace Claunia.RsrcFork;
|
||||
|
||||
/// <summary>
|
||||
/// This class represents a resource fork.
|
||||
/// </summary>
|
||||
@@ -188,4 +188,3 @@ namespace Claunia.RsrcFork
|
||||
/// <param name="OSType">OSType.</param>
|
||||
public bool ContainsKey(uint OSType) => resourceTypeList.ContainsKey(OSType);
|
||||
}
|
||||
}
|
||||
@@ -28,8 +28,8 @@ using System;
|
||||
using System.Linq;
|
||||
using Claunia.RsrcFork;
|
||||
|
||||
namespace Resources
|
||||
{
|
||||
namespace Resources;
|
||||
|
||||
/// <summary>
|
||||
/// This class handles the "VERS" resource fork
|
||||
/// </summary>
|
||||
@@ -152,4 +152,3 @@ namespace Resources
|
||||
public string VersionMessage;
|
||||
#endregion
|
||||
}
|
||||
}
|
||||
@@ -24,8 +24,8 @@
|
||||
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||
// THE SOFTWARE.
|
||||
|
||||
namespace Claunia.RsrcFork
|
||||
{
|
||||
namespace Claunia.RsrcFork;
|
||||
|
||||
struct ResourceHeader
|
||||
{
|
||||
/// <summary>
|
||||
@@ -117,4 +117,3 @@ namespace Claunia.RsrcFork
|
||||
/// </summary>
|
||||
public uint handle;
|
||||
}
|
||||
}
|
||||
@@ -28,8 +28,8 @@ using System;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
|
||||
namespace Claunia.RsrcFork
|
||||
{
|
||||
namespace Claunia.RsrcFork;
|
||||
|
||||
/// <summary>
|
||||
/// This class contains static methods for OSTYPE handling.
|
||||
/// </summary>
|
||||
@@ -703,4 +703,3 @@ namespace Claunia.RsrcFork
|
||||
return GetName(type);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user