mirror of
https://github.com/MoleskiCoder/EightBitNet.git
synced 2025-11-27 18:17:38 +00:00
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:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user