Not sure if this was a really good idea, but integrated StyleCop rules into the builds. Corrected all except documentation problems.

Signed-off-by: Adrian Conlon <Adrian.conlon@gmail.com>
This commit is contained in:
Adrian Conlon
2019-02-04 23:52:21 +00:00
parent 30aa1b70bf
commit 224000c4c7
53 changed files with 2430 additions and 1575 deletions

View File

@@ -1,4 +1,8 @@
namespace EightBit
// <copyright file="Ram.cs" company="Adrian Conlon">
// Copyright (c) Adrian Conlon. All rights reserved.
// </copyright>
namespace EightBit
{
public class Ram : Rom
{
@@ -7,14 +11,8 @@
{
}
public override sealed ref byte Reference(ushort address)
{
return ref Bytes()[address];
}
public override sealed ref byte Reference(ushort address) => ref this.Bytes()[address];
public new void Poke(ushort address, byte value)
{
base.Poke(address, value);
}
public new void Poke(ushort address, byte value) => base.Poke(address, value);
}
}