mirror of
https://github.com/MoleskiCoder/EightBitNet.git
synced 2026-04-26 17:17:49 +00:00
.net 9 analysis
This commit is contained in:
@@ -1,6 +1,5 @@
|
||||
namespace M6502.Symbols
|
||||
{
|
||||
using System.Collections;
|
||||
using System.Diagnostics;
|
||||
|
||||
public class IdentifiableSection : Section
|
||||
|
||||
@@ -23,6 +23,7 @@
|
||||
|
||||
protected static ReflectedSectionProperties GetSectionProperties(System.Type type)
|
||||
{
|
||||
ArgumentNullException.ThrowIfNull(type);
|
||||
var obtained = SectionPropertiesCache.TryGetValue(type, out var properties);
|
||||
Debug.Assert(obtained, $"Section properties for {type.Name} have not been built");
|
||||
Debug.Assert(properties is not null);
|
||||
|
||||
@@ -1,7 +1,5 @@
|
||||
namespace M6502.Symbols
|
||||
{
|
||||
using System.Collections.Generic;
|
||||
|
||||
// sym id = 16, name = "solve", addrsize = absolute, size = 274, scope = 0, def = 94,ref=144+17+351,val=0xF314,seg=6,type=lab
|
||||
[Section("symbol", "Symbols")]
|
||||
public sealed class Symbol(Parser container) : NamedSection(container)
|
||||
|
||||
@@ -11,7 +11,7 @@ namespace M6502.Test
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
internal class Board : Bus
|
||||
internal sealed class Board : Bus
|
||||
{
|
||||
private readonly Configuration configuration;
|
||||
private readonly Ram ram = new(0x10000);
|
||||
|
||||
Reference in New Issue
Block a user