diff options
author | Scott Ferguson <scott.ferguson@unity3d.com> | 2020-01-24 21:09:33 +0300 |
---|---|---|
committer | Scott Ferguson <scott.ferguson@unity3d.com> | 2020-01-24 21:09:33 +0300 |
commit | 4d82dabe506147f34eecc4acf10168330689c96a (patch) | |
tree | 66d858e55d4b66126fa9ea5ddb14ef77e8f89c9b /Mono.Cecil.Cil | |
parent | df63b279ada3d41e1e95e77c3bc2b4139d178f4b (diff) |
Cleanup spacing & formatting
Diffstat (limited to 'Mono.Cecil.Cil')
-rw-r--r-- | Mono.Cecil.Cil/MethodBody.cs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Mono.Cecil.Cil/MethodBody.cs b/Mono.Cecil.Cil/MethodBody.cs index ea57288..ba3024d 100644 --- a/Mono.Cecil.Cil/MethodBody.cs +++ b/Mono.Cecil.Cil/MethodBody.cs @@ -55,7 +55,7 @@ namespace Mono.Cecil.Cil { public Collection<Instruction> Instructions { get { if (instructions == null) - Interlocked.CompareExchange (ref instructions, new InstructionCollection(method), null); + Interlocked.CompareExchange (ref instructions, new InstructionCollection (method), null); return instructions; } @@ -79,9 +79,9 @@ namespace Mono.Cecil.Cil { } public Collection<VariableDefinition> Variables { - get { + get { if (variables == null) - Interlocked.CompareExchange (ref variables, new VariableDefinitionCollection(), null); + Interlocked.CompareExchange (ref variables, new VariableDefinitionCollection (), null); return variables; } |