Skip to content

Commit

Permalink
Cleanup spacing & formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
scott-ferguson-unity committed Jan 24, 2020
1 parent df63b27 commit 4d82dab
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 6 deletions.
6 changes: 3 additions & 3 deletions Mono.Cecil.Cil/MethodBody.cs
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ public MetadataToken LocalVarToken {
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;
}
Expand All @@ -79,9 +79,9 @@ public bool HasVariables {
}

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;
}
Expand Down
2 changes: 1 addition & 1 deletion Mono.Cecil/SecurityDeclaration.cs
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ void Resolve ()
if (resolved)
return;

module.Read (this, (declaration, reader) => reader.ReadSecurityDeclarationSignature (declaration));
module.Read (this, (declaration, reader) => reader.ReadSecurityDeclarationSignature (declaration));
resolved = true;
}
}
Expand Down
3 changes: 1 addition & 2 deletions Mono.Collections.Generic/ReadOnlyCollection.cs
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,7 @@ public sealed class ReadOnlyCollection<T> : Collection<T>, ICollection<T>, IList
static ReadOnlyCollection<T> empty;

public static ReadOnlyCollection<T> Empty {
get
{
get {
if (empty != null)
return empty;

Expand Down

0 comments on commit 4d82dab

Please sign in to comment.