From c0db7fce380bb428c713de8369373f8da23694f8 Mon Sep 17 00:00:00 2001 From: vis2k Date: Mon, 20 Sep 2021 18:53:12 +0800 Subject: [PATCH] syntax --- .../Editor/Weaver/Processors/PropertySiteProcessor.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Assets/Mirror/Editor/Weaver/Processors/PropertySiteProcessor.cs b/Assets/Mirror/Editor/Weaver/Processors/PropertySiteProcessor.cs index 7a11ca0b4..297d822e0 100644 --- a/Assets/Mirror/Editor/Weaver/Processors/PropertySiteProcessor.cs +++ b/Assets/Mirror/Editor/Weaver/Processors/PropertySiteProcessor.cs @@ -53,10 +53,10 @@ static void ProcessSiteMethod(WeaverLists weaverLists, MethodDefinition md) if (md.Body != null && md.Body.Instructions != null) { - for (int iCount = 0; iCount < md.Body.Instructions.Count;) + for (int i = 0; i < md.Body.Instructions.Count;) { - Instruction instr = md.Body.Instructions[iCount]; - iCount += ProcessInstruction(weaverLists, md, instr, iCount); + Instruction instr = md.Body.Instructions[i]; + i += ProcessInstruction(weaverLists, md, instr, i); } } }