Weaver: ReaderWriterProcessor.ProcessReadersAndWriters renamed to Process for consistency

This commit is contained in:
vis2k 2020-08-22 13:56:52 +02:00
parent 84602aace6
commit 16f8f05abe
2 changed files with 3 additions and 3 deletions

View File

@ -1,3 +1,4 @@
// finds all readers and writers and register them
using System.IO;
using Mono.CecilX;
using UnityEditor.Compilation;
@ -6,8 +7,7 @@ namespace Mirror.Weaver
{
public static class ReaderWriterProcessor
{
// find all readers and writers and register them
public static void ProcessReadersAndWriters(AssemblyDefinition CurrentAssembly)
public static void Process(AssemblyDefinition CurrentAssembly)
{
Readers.Init();
Writers.Init();

View File

@ -300,7 +300,7 @@ static bool Weave(string assName, AssemblyDefinition unityAssembly, AssemblyDefi
WeaverTypes.SetupTargetTypes(unityAssembly, mirrorAssembly, CurrentAssembly);
System.Diagnostics.Stopwatch rwstopwatch = System.Diagnostics.Stopwatch.StartNew();
ReaderWriterProcessor.ProcessReadersAndWriters(CurrentAssembly);
ReaderWriterProcessor.Process(CurrentAssembly);
rwstopwatch.Stop();
Console.WriteLine("Find all reader and writers took " + rwstopwatch.ElapsedMilliseconds + " milliseconds");