Remove unnecessary "this."
This commit is contained in:
parent
841323aeb6
commit
3b41c8a45d
183 changed files with 429 additions and 429 deletions
|
@ -555,9 +555,9 @@ namespace ChocolArm64
|
|||
|
||||
public InstInfo(int mask, int value, AInst inst)
|
||||
{
|
||||
this.Mask = mask;
|
||||
this.Value = value;
|
||||
this.Inst = inst;
|
||||
Mask = mask;
|
||||
Value = value;
|
||||
Inst = inst;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -20,8 +20,8 @@ namespace ChocolArm64
|
|||
|
||||
public AThread(ATranslator translator, AMemory memory, long entryPoint)
|
||||
{
|
||||
this._translator = translator;
|
||||
this.Memory = memory;
|
||||
_translator = translator;
|
||||
Memory = memory;
|
||||
|
||||
ThreadState = new AThreadState();
|
||||
|
||||
|
|
|
@ -40,7 +40,7 @@ namespace ChocolArm64
|
|||
|
||||
if (Params == null) throw new ArgumentNullException(nameof(Params));
|
||||
|
||||
this.Method = method;
|
||||
Method = method;
|
||||
this.Params = Params.AsReadOnly();
|
||||
|
||||
_callers = new HashSet<long>();
|
||||
|
@ -126,7 +126,7 @@ namespace ChocolArm64
|
|||
|
||||
public void SetType(ATranslatedSubType type)
|
||||
{
|
||||
this._type = type;
|
||||
_type = type;
|
||||
|
||||
if (type == ATranslatedSubType.SubTier0) _needsReJit = true;
|
||||
}
|
||||
|
|
|
@ -31,15 +31,15 @@ namespace ChocolArm64
|
|||
|
||||
public CacheBucket(ATranslatedSub subroutine, LinkedListNode<long> node, int size)
|
||||
{
|
||||
this.Subroutine = subroutine;
|
||||
this.Size = size;
|
||||
Subroutine = subroutine;
|
||||
Size = size;
|
||||
|
||||
UpdateNode(node);
|
||||
}
|
||||
|
||||
public void UpdateNode(LinkedListNode<long> node)
|
||||
{
|
||||
this.Node = node;
|
||||
Node = node;
|
||||
|
||||
Timestamp = Environment.TickCount;
|
||||
}
|
||||
|
|
|
@ -19,7 +19,7 @@ namespace ChocolArm64.Decoder
|
|||
|
||||
public ABlock(long position) : this()
|
||||
{
|
||||
this.Position = position;
|
||||
Position = position;
|
||||
}
|
||||
|
||||
public AOpCode GetLastOp()
|
||||
|
|
|
@ -15,8 +15,8 @@ namespace ChocolArm64.Decoder
|
|||
|
||||
public AOpCode(AInst inst, long position, int opCode)
|
||||
{
|
||||
this.Position = position;
|
||||
this.RawOpCode = opCode;
|
||||
Position = position;
|
||||
RawOpCode = opCode;
|
||||
|
||||
RegisterSize = ARegisterSize.Int64;
|
||||
|
||||
|
|
|
@ -20,7 +20,7 @@ namespace ChocolArm64.Decoder
|
|||
return;
|
||||
}
|
||||
|
||||
this.Shift = shift;
|
||||
Shift = shift;
|
||||
|
||||
Rm = (opCode >> 16) & 0x1f;
|
||||
ShiftType = (AShiftType)((opCode >> 22) & 0x3);
|
||||
|
|
|
@ -27,7 +27,7 @@ namespace ChocolArm64.Decoder
|
|||
Rd = (opCode >> 0) & 0x1f;
|
||||
imm = (opCode >> 13) & 0xff;
|
||||
|
||||
this.Imm = ADecoderHelper.DecodeImm8Float(imm, type);
|
||||
Imm = ADecoderHelper.DecodeImm8Float(imm, type);
|
||||
}
|
||||
}
|
||||
}
|
|
@ -79,7 +79,7 @@ namespace ChocolArm64.Decoder
|
|||
Size = 0;
|
||||
}
|
||||
|
||||
this.Imm = imm;
|
||||
Imm = imm;
|
||||
|
||||
RegisterSize = ((opCode >> 30) & 1) != 0
|
||||
? ARegisterSize.Simd128
|
||||
|
|
|
@ -82,9 +82,9 @@ namespace ChocolArm64.Decoder
|
|||
}
|
||||
}
|
||||
|
||||
this.Index = index;
|
||||
this.SElems = sElems;
|
||||
this.Size = scale;
|
||||
Index = index;
|
||||
SElems = sElems;
|
||||
Size = scale;
|
||||
|
||||
Extend64 = false;
|
||||
|
||||
|
|
|
@ -8,7 +8,7 @@ namespace ChocolArm64.Events
|
|||
|
||||
public ACpuTraceEventArgs(long position)
|
||||
{
|
||||
this.Position = position;
|
||||
Position = position;
|
||||
}
|
||||
}
|
||||
}
|
|
@ -9,8 +9,8 @@ namespace ChocolArm64.Events
|
|||
|
||||
public AInstExceptionEventArgs(long position, int id)
|
||||
{
|
||||
this.Position = position;
|
||||
this.Id = id;
|
||||
Position = position;
|
||||
Id = id;
|
||||
}
|
||||
}
|
||||
}
|
|
@ -9,8 +9,8 @@ namespace ChocolArm64.Events
|
|||
|
||||
public AInstUndefinedEventArgs(long position, int rawOpCode)
|
||||
{
|
||||
this.Position = position;
|
||||
this.RawOpCode = rawOpCode;
|
||||
Position = position;
|
||||
RawOpCode = rawOpCode;
|
||||
}
|
||||
}
|
||||
}
|
|
@ -8,7 +8,7 @@ namespace ChocolArm64.Events
|
|||
|
||||
public AInvalidAccessEventArgs(long position)
|
||||
{
|
||||
this.Position = position;
|
||||
Position = position;
|
||||
}
|
||||
}
|
||||
}
|
|
@ -12,9 +12,9 @@ namespace ChocolArm64.Instruction
|
|||
|
||||
public AInst(AInstInterpreter interpreter, AInstEmitter emitter, Type type)
|
||||
{
|
||||
this.Interpreter = interpreter;
|
||||
this.Emitter = emitter;
|
||||
this.Type = type;
|
||||
Interpreter = interpreter;
|
||||
Emitter = emitter;
|
||||
Type = type;
|
||||
}
|
||||
}
|
||||
}
|
|
@ -38,7 +38,7 @@ namespace ChocolArm64.Memory
|
|||
|
||||
public bool HasExclusiveAccess(long position)
|
||||
{
|
||||
return this.Position == position && ExState;
|
||||
return Position == position && ExState;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -60,7 +60,7 @@ namespace ChocolArm64.Memory
|
|||
|
||||
_observedPages = new ConcurrentDictionary<long, IntPtr>();
|
||||
|
||||
this.Ram = ram;
|
||||
Ram = ram;
|
||||
|
||||
_ramPtr = (byte*)ram;
|
||||
|
||||
|
|
|
@ -11,8 +11,8 @@ namespace ChocolArm64.State
|
|||
|
||||
public ARegister(int index, ARegisterType type)
|
||||
{
|
||||
this.Index = index;
|
||||
this.Type = type;
|
||||
Index = index;
|
||||
Type = type;
|
||||
}
|
||||
|
||||
public override int GetHashCode()
|
||||
|
|
|
@ -27,7 +27,7 @@ namespace ChocolArm64.Translation
|
|||
|
||||
public AILEmitter(ABlock[] graph, ABlock root, string subName)
|
||||
{
|
||||
this._subName = subName;
|
||||
_subName = subName;
|
||||
|
||||
_locals = new Dictionary<ARegister, int>();
|
||||
|
||||
|
@ -50,7 +50,7 @@ namespace ChocolArm64.Translation
|
|||
block.Branch = GetBlock(Array.IndexOf(graph, graph[index].Branch));
|
||||
}
|
||||
|
||||
this._root = _ilBlocks[Array.IndexOf(graph, root)];
|
||||
_root = _ilBlocks[Array.IndexOf(graph, root)];
|
||||
}
|
||||
|
||||
public AILBlock GetIlBlock(int index)
|
||||
|
|
|
@ -46,9 +46,9 @@ namespace ChocolArm64.Translation
|
|||
ABlock root,
|
||||
string subName)
|
||||
{
|
||||
this._cache = cache ?? throw new ArgumentNullException(nameof(cache));
|
||||
this._graph = graph ?? throw new ArgumentNullException(nameof(graph));
|
||||
this._root = root ?? throw new ArgumentNullException(nameof(root));
|
||||
_cache = cache ?? throw new ArgumentNullException(nameof(cache));
|
||||
_graph = graph ?? throw new ArgumentNullException(nameof(graph));
|
||||
_root = root ?? throw new ArgumentNullException(nameof(root));
|
||||
|
||||
_labels = new Dictionary<long, AILLabel>();
|
||||
|
||||
|
|
|
@ -8,7 +8,7 @@ namespace ChocolArm64.Translation
|
|||
|
||||
public AILOpCode(OpCode ilOp)
|
||||
{
|
||||
this._ilOp = ilOp;
|
||||
_ilOp = ilOp;
|
||||
}
|
||||
|
||||
public void Emit(AILEmitter context)
|
||||
|
|
|
@ -9,8 +9,8 @@ namespace ChocolArm64.Translation
|
|||
|
||||
public AILOpCodeBranch(OpCode ilOp, AILLabel label)
|
||||
{
|
||||
this._ilOp = ilOp;
|
||||
this._label = label;
|
||||
_ilOp = ilOp;
|
||||
_label = label;
|
||||
}
|
||||
|
||||
public void Emit(AILEmitter context)
|
||||
|
|
|
@ -9,7 +9,7 @@ namespace ChocolArm64.Translation
|
|||
|
||||
public AILOpCodeCall(MethodInfo mthdInfo)
|
||||
{
|
||||
this._mthdInfo = mthdInfo;
|
||||
_mthdInfo = mthdInfo;
|
||||
}
|
||||
|
||||
public void Emit(AILEmitter context)
|
||||
|
|
|
@ -28,27 +28,27 @@ namespace ChocolArm64.Translation
|
|||
|
||||
private AILOpCodeConst(ConstType type)
|
||||
{
|
||||
this._type = type;
|
||||
_type = type;
|
||||
}
|
||||
|
||||
public AILOpCodeConst(int value) : this(ConstType.Int32)
|
||||
{
|
||||
this._value = new ImmVal { I4 = value };
|
||||
_value = new ImmVal { I4 = value };
|
||||
}
|
||||
|
||||
public AILOpCodeConst(long value) : this(ConstType.Int64)
|
||||
{
|
||||
this._value = new ImmVal { I8 = value };
|
||||
_value = new ImmVal { I8 = value };
|
||||
}
|
||||
|
||||
public AILOpCodeConst(float value) : this(ConstType.Single)
|
||||
{
|
||||
this._value = new ImmVal { R4 = value };
|
||||
_value = new ImmVal { R4 = value };
|
||||
}
|
||||
|
||||
public AILOpCodeConst(double value) : this(ConstType.Double)
|
||||
{
|
||||
this._value = new ImmVal { R8 = value };
|
||||
_value = new ImmVal { R8 = value };
|
||||
}
|
||||
|
||||
public void Emit(AILEmitter context)
|
||||
|
|
|
@ -13,9 +13,9 @@ namespace ChocolArm64.Translation
|
|||
|
||||
public AILOpCodeLoad(int index, AIoType ioType, ARegisterSize registerSize = 0)
|
||||
{
|
||||
this.Index = index;
|
||||
this.IoType = ioType;
|
||||
this.RegisterSize = registerSize;
|
||||
Index = index;
|
||||
IoType = ioType;
|
||||
RegisterSize = registerSize;
|
||||
}
|
||||
|
||||
public void Emit(AILEmitter context)
|
||||
|
|
|
@ -6,7 +6,7 @@ namespace ChocolArm64.Translation
|
|||
|
||||
public AILOpCodeLog(string text)
|
||||
{
|
||||
this._text = text;
|
||||
_text = text;
|
||||
}
|
||||
|
||||
public void Emit(AILEmitter context)
|
||||
|
|
|
@ -13,9 +13,9 @@ namespace ChocolArm64.Translation
|
|||
|
||||
public AILOpCodeStore(int index, AIoType ioType, ARegisterSize registerSize = 0)
|
||||
{
|
||||
this.Index = index;
|
||||
this.IoType = ioType;
|
||||
this.RegisterSize = registerSize;
|
||||
Index = index;
|
||||
IoType = ioType;
|
||||
RegisterSize = registerSize;
|
||||
}
|
||||
|
||||
public void Emit(AILEmitter context)
|
||||
|
|
|
@ -38,9 +38,9 @@ namespace Ryujinx.Audio.OpenAL
|
|||
|
||||
public Track(int sampleRate, ALFormat format, ReleaseCallback callback)
|
||||
{
|
||||
this.SampleRate = sampleRate;
|
||||
this.Format = format;
|
||||
this._callback = callback;
|
||||
SampleRate = sampleRate;
|
||||
Format = format;
|
||||
_callback = callback;
|
||||
|
||||
State = PlaybackState.Stopped;
|
||||
|
||||
|
|
|
@ -11,9 +11,9 @@ namespace Ryujinx.Common.Logging
|
|||
|
||||
public LogEventArgs(LogLevel level, TimeSpan time, string message)
|
||||
{
|
||||
this.Level = level;
|
||||
this.Time = time;
|
||||
this.Message = message;
|
||||
Level = level;
|
||||
Time = time;
|
||||
Message = message;
|
||||
}
|
||||
}
|
||||
}
|
|
@ -13,10 +13,10 @@ namespace Ryujinx.Graphics.Gal
|
|||
float blue,
|
||||
float alpha)
|
||||
{
|
||||
this.Red = red;
|
||||
this.Green = green;
|
||||
this.Blue = blue;
|
||||
this.Alpha = alpha;
|
||||
Red = red;
|
||||
Green = green;
|
||||
Blue = blue;
|
||||
Alpha = alpha;
|
||||
}
|
||||
}
|
||||
}
|
|
@ -29,16 +29,16 @@ namespace Ryujinx.Graphics.Gal
|
|||
GalTextureSource zSource = GalTextureSource.Blue,
|
||||
GalTextureSource wSource = GalTextureSource.Alpha)
|
||||
{
|
||||
this.Width = width;
|
||||
this.Height = height;
|
||||
this.TileWidth = tileWidth;
|
||||
this.GobBlockHeight = gobBlockHeight;
|
||||
this.Layout = layout;
|
||||
this.Format = format;
|
||||
this.XSource = xSource;
|
||||
this.YSource = ySource;
|
||||
this.ZSource = zSource;
|
||||
this.WSource = wSource;
|
||||
Width = width;
|
||||
Height = height;
|
||||
TileWidth = tileWidth;
|
||||
GobBlockHeight = gobBlockHeight;
|
||||
Layout = layout;
|
||||
Format = format;
|
||||
XSource = xSource;
|
||||
YSource = ySource;
|
||||
ZSource = zSource;
|
||||
WSource = wSource;
|
||||
|
||||
Pitch = ImageUtils.GetPitch(format, width);
|
||||
}
|
||||
|
|
|
@ -21,13 +21,13 @@ namespace Ryujinx.Graphics.Gal
|
|||
GalTextureMipFilter mipFilter,
|
||||
GalColorF borderColor)
|
||||
{
|
||||
this.AddressU = addressU;
|
||||
this.AddressV = addressV;
|
||||
this.AddressP = addressP;
|
||||
this.MinFilter = minFilter;
|
||||
this.MagFilter = magFilter;
|
||||
this.MipFilter = mipFilter;
|
||||
this.BorderColor = borderColor;
|
||||
AddressU = addressU;
|
||||
AddressV = addressV;
|
||||
AddressP = addressP;
|
||||
MinFilter = minFilter;
|
||||
MagFilter = magFilter;
|
||||
MipFilter = mipFilter;
|
||||
BorderColor = borderColor;
|
||||
}
|
||||
}
|
||||
}
|
|
@ -23,13 +23,13 @@ namespace Ryujinx.Graphics.Gal
|
|||
GalVertexAttribType type,
|
||||
bool isBgra)
|
||||
{
|
||||
this.Index = index;
|
||||
this.IsConst = isConst;
|
||||
this.Pointer = pointer;
|
||||
this.Offset = offset;
|
||||
this.Size = size;
|
||||
this.Type = type;
|
||||
this.IsBgra = isBgra;
|
||||
Index = index;
|
||||
IsConst = isConst;
|
||||
Pointer = pointer;
|
||||
Offset = offset;
|
||||
Size = size;
|
||||
Type = type;
|
||||
IsBgra = isBgra;
|
||||
}
|
||||
}
|
||||
}
|
|
@ -19,8 +19,8 @@ namespace Ryujinx.Graphics.Gal.OpenGL
|
|||
|
||||
public ImageHandler(int handle, GalImage image)
|
||||
{
|
||||
this.Handle = handle;
|
||||
this.Image = image;
|
||||
Handle = handle;
|
||||
Image = image;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -22,9 +22,9 @@ namespace Ryujinx.Graphics.Gal.OpenGL
|
|||
|
||||
public CacheBucket(T value, long dataSize, LinkedListNode<long> node)
|
||||
{
|
||||
this.Value = value;
|
||||
this.DataSize = dataSize;
|
||||
this.Node = node;
|
||||
Value = value;
|
||||
DataSize = dataSize;
|
||||
Node = node;
|
||||
|
||||
Timestamp = Environment.TickCount;
|
||||
}
|
||||
|
@ -44,7 +44,7 @@ namespace Ryujinx.Graphics.Gal.OpenGL
|
|||
{
|
||||
if (deleteValueCallback == null) throw new ArgumentNullException(nameof(deleteValueCallback));
|
||||
|
||||
this._deleteValueCallback = deleteValueCallback;
|
||||
_deleteValueCallback = deleteValueCallback;
|
||||
|
||||
_cache = new Dictionary<long, CacheBucket>();
|
||||
|
||||
|
|
|
@ -85,9 +85,9 @@ namespace Ryujinx.Graphics.Gal.OpenGL
|
|||
|
||||
public OGLPipeline(OGLConstBuffer buffer, OGLRasterizer rasterizer, OGLShader shader)
|
||||
{
|
||||
this._buffer = buffer;
|
||||
this._rasterizer = rasterizer;
|
||||
this._shader = shader;
|
||||
_buffer = buffer;
|
||||
_rasterizer = rasterizer;
|
||||
_shader = shader;
|
||||
|
||||
//These values match OpenGL's defaults
|
||||
_old = new GalPipelineState
|
||||
|
|
|
@ -20,10 +20,10 @@ namespace Ryujinx.Graphics.Gal.OpenGL
|
|||
|
||||
public Rect(int x, int y, int width, int height)
|
||||
{
|
||||
this.X = x;
|
||||
this.Y = y;
|
||||
this.Width = width;
|
||||
this.Height = height;
|
||||
X = x;
|
||||
Y = y;
|
||||
Width = width;
|
||||
Height = height;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -100,7 +100,7 @@ namespace Ryujinx.Graphics.Gal.OpenGL
|
|||
|
||||
_viewports = new float[RenderTargetsCount * 4];
|
||||
|
||||
this._texture = texture;
|
||||
_texture = texture;
|
||||
|
||||
texture.TextureDeleted += TextureDeletionHandler;
|
||||
}
|
||||
|
@ -247,8 +247,8 @@ namespace Ryujinx.Graphics.Gal.OpenGL
|
|||
|
||||
public void SetTransform(bool flipX, bool flipY, int top, int left, int right, int bottom)
|
||||
{
|
||||
this._flipX = flipX;
|
||||
this._flipY = flipY;
|
||||
_flipX = flipX;
|
||||
_flipY = flipY;
|
||||
|
||||
_cropTop = top;
|
||||
_cropLeft = left;
|
||||
|
|
|
@ -27,7 +27,7 @@ namespace Ryujinx.Graphics.Gal.OpenGL
|
|||
|
||||
public OGLShader(OGLConstBuffer buffer)
|
||||
{
|
||||
this._buffer = buffer;
|
||||
_buffer = buffer;
|
||||
|
||||
_stages = new ConcurrentDictionary<long, OGLShaderStage>();
|
||||
|
||||
|
|
|
@ -32,10 +32,10 @@ namespace Ryujinx.Graphics.Gal.OpenGL
|
|||
IEnumerable<ShaderDeclInfo> constBufferUsage,
|
||||
IEnumerable<ShaderDeclInfo> textureUsage)
|
||||
{
|
||||
this.Type = type;
|
||||
this.Code = code;
|
||||
this.ConstBufferUsage = constBufferUsage;
|
||||
this.TextureUsage = textureUsage;
|
||||
Type = type;
|
||||
Code = code;
|
||||
ConstBufferUsage = constBufferUsage;
|
||||
TextureUsage = textureUsage;
|
||||
}
|
||||
|
||||
public void Compile()
|
||||
|
|
|
@ -13,8 +13,8 @@ namespace Ryujinx.Graphics.Gal.OpenGL
|
|||
|
||||
public OGLStreamBuffer(BufferTarget target, long size)
|
||||
{
|
||||
this.Target = target;
|
||||
this.Size = size;
|
||||
Target = target;
|
||||
Size = size;
|
||||
|
||||
Handle = GL.GenBuffer();
|
||||
|
||||
|
|
|
@ -83,7 +83,7 @@ namespace Ryujinx.Graphics.Gal.Shader
|
|||
|
||||
private GlslDecl(GalShaderType shaderType)
|
||||
{
|
||||
this.ShaderType = shaderType;
|
||||
ShaderType = shaderType;
|
||||
|
||||
_mCbTextures = new Dictionary<ShaderIrOp, ShaderDeclInfo>();
|
||||
|
||||
|
|
|
@ -14,9 +14,9 @@ namespace Ryujinx.Graphics.Gal.Shader
|
|||
IEnumerable<ShaderDeclInfo> textures,
|
||||
IEnumerable<ShaderDeclInfo> uniforms)
|
||||
{
|
||||
this.Code = code;
|
||||
this.Textures = textures;
|
||||
this.Uniforms = uniforms;
|
||||
Code = code;
|
||||
Textures = textures;
|
||||
Uniforms = uniforms;
|
||||
}
|
||||
}
|
||||
}
|
|
@ -7,8 +7,8 @@ namespace Ryujinx.Graphics.Gal.Shader
|
|||
|
||||
public ShaderIrAsg(ShaderIrNode dst, ShaderIrNode src)
|
||||
{
|
||||
this.Dst = dst;
|
||||
this.Src = src;
|
||||
Dst = dst;
|
||||
Src = src;
|
||||
}
|
||||
}
|
||||
}
|
|
@ -16,7 +16,7 @@ namespace Ryujinx.Graphics.Gal.Shader
|
|||
|
||||
public ShaderIrBlock(int position)
|
||||
{
|
||||
this.Position = position;
|
||||
Position = position;
|
||||
|
||||
Sources = new List<ShaderIrBlock>();
|
||||
|
||||
|
|
|
@ -6,7 +6,7 @@ namespace Ryujinx.Graphics.Gal.Shader
|
|||
|
||||
public ShaderIrCmnt(string comment)
|
||||
{
|
||||
this.Comment = comment;
|
||||
Comment = comment;
|
||||
}
|
||||
}
|
||||
}
|
|
@ -9,9 +9,9 @@ namespace Ryujinx.Graphics.Gal.Shader
|
|||
|
||||
public ShaderIrCond(ShaderIrNode pred, ShaderIrNode child, bool not)
|
||||
{
|
||||
this.Pred = pred;
|
||||
this.Child = child;
|
||||
this.Not = not;
|
||||
Pred = pred;
|
||||
Child = child;
|
||||
Not = not;
|
||||
}
|
||||
}
|
||||
}
|
|
@ -6,7 +6,7 @@
|
|||
|
||||
public ShaderIrMetaIpa(ShaderIpaMode mode)
|
||||
{
|
||||
this.Mode = mode;
|
||||
Mode = mode;
|
||||
}
|
||||
}
|
||||
}
|
|
@ -6,7 +6,7 @@ namespace Ryujinx.Graphics.Gal.Shader
|
|||
|
||||
public ShaderIrMetaTex(int elem)
|
||||
{
|
||||
this.Elem = elem;
|
||||
Elem = elem;
|
||||
}
|
||||
}
|
||||
}
|
|
@ -8,8 +8,8 @@ namespace Ryujinx.Graphics.Gal.Shader
|
|||
|
||||
public ShaderIrMetaTexq(ShaderTexqInfo info, int elem)
|
||||
{
|
||||
this.Info = info;
|
||||
this.Elem = elem;
|
||||
Info = info;
|
||||
Elem = elem;
|
||||
}
|
||||
}
|
||||
}
|
|
@ -15,11 +15,11 @@ namespace Ryujinx.Graphics.Gal.Shader
|
|||
ShaderIrNode operandC = null,
|
||||
ShaderIrMeta metaData = null)
|
||||
{
|
||||
this.Inst = inst;
|
||||
this.OperandA = operandA;
|
||||
this.OperandB = operandB;
|
||||
this.OperandC = operandC;
|
||||
this.MetaData = metaData;
|
||||
Inst = inst;
|
||||
OperandA = operandA;
|
||||
OperandB = operandB;
|
||||
OperandC = operandC;
|
||||
MetaData = metaData;
|
||||
}
|
||||
}
|
||||
}
|
|
@ -8,8 +8,8 @@ namespace Ryujinx.Graphics.Gal.Shader
|
|||
|
||||
public ShaderIrOperAbuf(int offs, ShaderIrNode vertex)
|
||||
{
|
||||
this.Offs = offs;
|
||||
this.Vertex = vertex;
|
||||
Offs = offs;
|
||||
Vertex = vertex;
|
||||
}
|
||||
}
|
||||
}
|
|
@ -9,9 +9,9 @@ namespace Ryujinx.Graphics.Gal.Shader
|
|||
|
||||
public ShaderIrOperCbuf(int index, int pos, ShaderIrNode offs = null)
|
||||
{
|
||||
this.Index = index;
|
||||
this.Pos = pos;
|
||||
this.Offs = offs;
|
||||
Index = index;
|
||||
Pos = pos;
|
||||
Offs = offs;
|
||||
}
|
||||
}
|
||||
}
|
|
@ -12,7 +12,7 @@ namespace Ryujinx.Graphics.Gal.Shader
|
|||
|
||||
public ShaderIrOperGpr(int index)
|
||||
{
|
||||
this.Index = index;
|
||||
Index = index;
|
||||
}
|
||||
|
||||
public static ShaderIrOperGpr MakeTemporary(int index = 0)
|
||||
|
|
|
@ -6,7 +6,7 @@ namespace Ryujinx.Graphics.Gal.Shader
|
|||
|
||||
public ShaderIrOperImm(int value)
|
||||
{
|
||||
this.Value = value;
|
||||
Value = value;
|
||||
}
|
||||
}
|
||||
}
|
|
@ -6,7 +6,7 @@ namespace Ryujinx.Graphics.Gal.Shader
|
|||
|
||||
public ShaderIrOperImmf(float value)
|
||||
{
|
||||
this.Value = value;
|
||||
Value = value;
|
||||
}
|
||||
}
|
||||
}
|
|
@ -11,7 +11,7 @@ namespace Ryujinx.Graphics.Gal.Shader
|
|||
|
||||
public ShaderIrOperPred(int index)
|
||||
{
|
||||
this.Index = index;
|
||||
Index = index;
|
||||
}
|
||||
}
|
||||
}
|
|
@ -14,8 +14,8 @@ namespace Ryujinx.Graphics.Gal.Shader
|
|||
|
||||
public ShaderDecodeEntry(ShaderDecodeFunc func, int xBits)
|
||||
{
|
||||
this.Func = func;
|
||||
this.XBits = xBits;
|
||||
Func = func;
|
||||
XBits = xBits;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -16,11 +16,11 @@ namespace Ryujinx.Graphics.Gal
|
|||
int cbuf = 0,
|
||||
int size = 1)
|
||||
{
|
||||
this.Name = name;
|
||||
this.Index = index;
|
||||
this.IsCb = isCb;
|
||||
this.Cbuf = cbuf;
|
||||
this.Size = size;
|
||||
Name = name;
|
||||
Index = index;
|
||||
IsCb = isCb;
|
||||
Cbuf = cbuf;
|
||||
Size = size;
|
||||
}
|
||||
|
||||
internal void Enlarge(int newSize)
|
||||
|
|
|
@ -23,7 +23,7 @@ namespace Ryujinx.Graphics
|
|||
|
||||
public GpuResourceManager(NvGpu gpu)
|
||||
{
|
||||
this._gpu = gpu;
|
||||
_gpu = gpu;
|
||||
|
||||
_uploadedKeys = new HashSet<long>[(int)NvGpuBufferType.Count];
|
||||
|
||||
|
|
|
@ -61,8 +61,8 @@ namespace Ryujinx.Graphics
|
|||
|
||||
public MacroInterpreter(NvGpuFifo pFifo, INvGpuEngine engine)
|
||||
{
|
||||
this._pFifo = pFifo;
|
||||
this._engine = engine;
|
||||
_pFifo = pFifo;
|
||||
_engine = engine;
|
||||
|
||||
Fifo = new Queue<int>();
|
||||
|
||||
|
|
|
@ -15,9 +15,9 @@ namespace Ryujinx.Graphics.Memory
|
|||
|
||||
public NvGpuPBEntry(int method, int subChannel, params int[] arguments)
|
||||
{
|
||||
this.Method = method;
|
||||
this.SubChannel = subChannel;
|
||||
this._mArguments = arguments;
|
||||
Method = method;
|
||||
SubChannel = subChannel;
|
||||
_mArguments = arguments;
|
||||
}
|
||||
}
|
||||
}
|
|
@ -34,7 +34,7 @@ namespace Ryujinx.Graphics.Memory
|
|||
|
||||
public NvGpuVmm(AMemory memory)
|
||||
{
|
||||
this.Memory = memory;
|
||||
Memory = memory;
|
||||
|
||||
_cache = new NvGpuVmmCache();
|
||||
|
||||
|
|
|
@ -17,7 +17,7 @@ namespace Ryujinx.Graphics
|
|||
|
||||
public NvGpu(IGalRenderer renderer)
|
||||
{
|
||||
this.Renderer = renderer;
|
||||
Renderer = renderer;
|
||||
|
||||
ResourceManager = new GpuResourceManager(this);
|
||||
|
||||
|
|
|
@ -26,7 +26,7 @@ namespace Ryujinx.Graphics
|
|||
|
||||
public NvGpuEngine2d(NvGpu gpu)
|
||||
{
|
||||
this._gpu = gpu;
|
||||
_gpu = gpu;
|
||||
|
||||
Registers = new int[0xe00];
|
||||
|
||||
|
|
|
@ -29,7 +29,7 @@ namespace Ryujinx.Graphics
|
|||
|
||||
public NvGpuEngine3d(NvGpu gpu)
|
||||
{
|
||||
this._gpu = gpu;
|
||||
_gpu = gpu;
|
||||
|
||||
Registers = new int[0xe00];
|
||||
|
||||
|
|
|
@ -14,7 +14,7 @@ namespace Ryujinx.Graphics
|
|||
|
||||
public NvGpuEngineM2mf(NvGpu gpu)
|
||||
{
|
||||
this._gpu = gpu;
|
||||
_gpu = gpu;
|
||||
|
||||
Registers = new int[0x1d6];
|
||||
|
||||
|
|
|
@ -16,7 +16,7 @@ namespace Ryujinx.Graphics
|
|||
|
||||
public NvGpuEngineP2mf(NvGpu gpu)
|
||||
{
|
||||
this._gpu = gpu;
|
||||
_gpu = gpu;
|
||||
|
||||
Registers = new int[0x80];
|
||||
|
||||
|
|
|
@ -29,7 +29,7 @@ namespace Ryujinx.Graphics
|
|||
|
||||
public CachedMacro(NvGpuFifo pFifo, INvGpuEngine engine, int position)
|
||||
{
|
||||
this.Position = position;
|
||||
Position = position;
|
||||
|
||||
_interpreter = new MacroInterpreter(pFifo, engine);
|
||||
}
|
||||
|
@ -54,7 +54,7 @@ namespace Ryujinx.Graphics
|
|||
|
||||
public NvGpuFifo(NvGpu gpu)
|
||||
{
|
||||
this._gpu = gpu;
|
||||
_gpu = gpu;
|
||||
|
||||
_bufferQueue = new ConcurrentQueue<(NvGpuVmm, NvGpuPBEntry[])>();
|
||||
|
||||
|
|
|
@ -28,10 +28,10 @@ namespace Ryujinx.Graphics.Texture
|
|||
|
||||
public ImageDescriptor(int bytesPerPixel, int blockWidth, int blockHeight, TargetBuffer target)
|
||||
{
|
||||
this.BytesPerPixel = bytesPerPixel;
|
||||
this.BlockWidth = blockWidth;
|
||||
this.BlockHeight = blockHeight;
|
||||
this.Target = target;
|
||||
BytesPerPixel = bytesPerPixel;
|
||||
BlockWidth = blockWidth;
|
||||
BlockHeight = blockHeight;
|
||||
Target = target;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -252,7 +252,7 @@ namespace Ryujinx.Graphics.Texture
|
|||
|
||||
ImageDescriptor desc = GetImageDescriptor(image.Format);
|
||||
|
||||
(int width, int height) = ImageUtils.GetImageSizeInBlocks(image);
|
||||
(int width, int height) = GetImageSizeInBlocks(image);
|
||||
|
||||
int bytesPerPixel = desc.BytesPerPixel;
|
||||
|
||||
|
|
|
@ -7,8 +7,8 @@ namespace Ryujinx.Graphics.Texture
|
|||
|
||||
public LinearSwizzle(int pitch, int bpp)
|
||||
{
|
||||
this._pitch = pitch;
|
||||
this._bpp = bpp;
|
||||
_pitch = pitch;
|
||||
_bpp = bpp;
|
||||
}
|
||||
|
||||
public int GetSwizzleOffset(int x, int y)
|
||||
|
|
|
@ -9,9 +9,9 @@ namespace Ryujinx.Graphics
|
|||
|
||||
public ValueRange(long start, long end, T value = default(T))
|
||||
{
|
||||
this.Start = start;
|
||||
this.End = end;
|
||||
this.Value = value;
|
||||
Start = start;
|
||||
End = end;
|
||||
Value = value;
|
||||
}
|
||||
}
|
||||
}
|
|
@ -18,11 +18,11 @@ namespace Ryujinx.HLE.FileSystem
|
|||
UInt128 userId,
|
||||
SaveSpaceId saveSpaceId)
|
||||
{
|
||||
this.TitleId = titleId;
|
||||
this.UserId = userId;
|
||||
this.SaveId = saveId;
|
||||
this.SaveDataType = saveDataType;
|
||||
this.SaveSpaceId = saveSpaceId;
|
||||
TitleId = titleId;
|
||||
UserId = userId;
|
||||
SaveId = saveId;
|
||||
SaveDataType = saveDataType;
|
||||
SaveSpaceId = saveSpaceId;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -9,8 +9,8 @@ namespace Ryujinx.HLE.HOS.Diagnostics.Demangler.Ast
|
|||
|
||||
public ArraySubscriptingExpression(BaseNode leftNode, BaseNode subscript) : base(NodeType.ArraySubscriptingExpression)
|
||||
{
|
||||
this._leftNode = leftNode;
|
||||
this._subscript = subscript;
|
||||
_leftNode = leftNode;
|
||||
_subscript = subscript;
|
||||
}
|
||||
|
||||
public override void PrintLeft(TextWriter writer)
|
||||
|
|
|
@ -10,14 +10,14 @@ namespace Ryujinx.HLE.HOS.Diagnostics.Demangler.Ast
|
|||
|
||||
public ArrayType(BaseNode Base, BaseNode dimensionExpression = null) : base(NodeType.ArrayType)
|
||||
{
|
||||
this._base = Base;
|
||||
this._dimensionExpression = dimensionExpression;
|
||||
_base = Base;
|
||||
_dimensionExpression = dimensionExpression;
|
||||
}
|
||||
|
||||
public ArrayType(BaseNode Base, string dimensionString) : base(NodeType.ArrayType)
|
||||
{
|
||||
this._base = Base;
|
||||
this._dimensionString = dimensionString;
|
||||
_base = Base;
|
||||
_dimensionString = dimensionString;
|
||||
}
|
||||
|
||||
public override bool HasRightPart()
|
||||
|
|
|
@ -64,7 +64,7 @@ namespace Ryujinx.HLE.HOS.Diagnostics.Demangler.Ast
|
|||
|
||||
public BaseNode(NodeType type)
|
||||
{
|
||||
this.Type = type;
|
||||
Type = type;
|
||||
}
|
||||
|
||||
public virtual void Print(TextWriter writer)
|
||||
|
|
|
@ -10,9 +10,9 @@ namespace Ryujinx.HLE.HOS.Diagnostics.Demangler.Ast
|
|||
|
||||
public BinaryExpression(BaseNode leftPart, string name, BaseNode rightPart) : base(NodeType.BinaryExpression)
|
||||
{
|
||||
this._leftPart = leftPart;
|
||||
this._name = name;
|
||||
this._rightPart = rightPart;
|
||||
_leftPart = leftPart;
|
||||
_name = name;
|
||||
_rightPart = rightPart;
|
||||
}
|
||||
|
||||
public override void PrintLeft(TextWriter writer)
|
||||
|
|
|
@ -10,9 +10,9 @@ namespace Ryujinx.HLE.HOS.Diagnostics.Demangler.Ast
|
|||
|
||||
public BracedExpression(BaseNode element, BaseNode expression, bool isArrayExpression) : base(NodeType.BracedExpression)
|
||||
{
|
||||
this._element = element;
|
||||
this._expression = expression;
|
||||
this._isArrayExpression = isArrayExpression;
|
||||
_element = element;
|
||||
_expression = expression;
|
||||
_isArrayExpression = isArrayExpression;
|
||||
}
|
||||
|
||||
public override void PrintLeft(TextWriter writer)
|
||||
|
|
|
@ -10,9 +10,9 @@ namespace Ryujinx.HLE.HOS.Diagnostics.Demangler.Ast
|
|||
|
||||
public BracedRangeExpression(BaseNode firstNode, BaseNode lastNode, BaseNode expression) : base(NodeType.BracedRangeExpression)
|
||||
{
|
||||
this._firstNode = firstNode;
|
||||
this._lastNode = lastNode;
|
||||
this._expression = expression;
|
||||
_firstNode = firstNode;
|
||||
_lastNode = lastNode;
|
||||
_expression = expression;
|
||||
}
|
||||
|
||||
public override void PrintLeft(TextWriter writer)
|
||||
|
|
|
@ -9,7 +9,7 @@ namespace Ryujinx.HLE.HOS.Diagnostics.Demangler.Ast
|
|||
|
||||
public CallExpression(BaseNode callee, List<BaseNode> nodes) : base(nodes, NodeType.CallExpression)
|
||||
{
|
||||
this._callee = callee;
|
||||
_callee = callee;
|
||||
}
|
||||
|
||||
public override void PrintLeft(TextWriter writer)
|
||||
|
|
|
@ -10,9 +10,9 @@ namespace Ryujinx.HLE.HOS.Diagnostics.Demangler.Ast
|
|||
|
||||
public CastExpression(string kind, BaseNode to, BaseNode @from) : base(NodeType.CastExpression)
|
||||
{
|
||||
this._kind = kind;
|
||||
this._to = to;
|
||||
this._from = @from;
|
||||
_kind = kind;
|
||||
_to = to;
|
||||
_from = @from;
|
||||
}
|
||||
|
||||
public override void PrintLeft(TextWriter writer)
|
||||
|
|
|
@ -10,9 +10,9 @@ namespace Ryujinx.HLE.HOS.Diagnostics.Demangler.Ast
|
|||
|
||||
public ConditionalExpression(BaseNode conditionNode, BaseNode thenNode, BaseNode elseNode) : base(NodeType.ConditionalExpression)
|
||||
{
|
||||
this._thenNode = thenNode;
|
||||
this._conditionNode = conditionNode;
|
||||
this._elseNode = elseNode;
|
||||
_thenNode = thenNode;
|
||||
_conditionNode = conditionNode;
|
||||
_elseNode = elseNode;
|
||||
}
|
||||
|
||||
public override void PrintLeft(TextWriter writer)
|
||||
|
|
|
@ -9,8 +9,8 @@ namespace Ryujinx.HLE.HOS.Diagnostics.Demangler.Ast
|
|||
|
||||
public ConversionExpression(BaseNode typeNode, BaseNode expressions) : base(NodeType.ConversionExpression)
|
||||
{
|
||||
this._typeNode = typeNode;
|
||||
this._expressions = expressions;
|
||||
_typeNode = typeNode;
|
||||
_expressions = expressions;
|
||||
}
|
||||
|
||||
public override void PrintLeft(TextWriter writer)
|
||||
|
|
|
@ -8,7 +8,7 @@ namespace Ryujinx.HLE.HOS.Diagnostics.Demangler.Ast
|
|||
|
||||
public CtorDtorNameType(BaseNode name, bool isDestructor) : base(NodeType.CtorDtorNameType, name)
|
||||
{
|
||||
this._isDestructor = isDestructor;
|
||||
_isDestructor = isDestructor;
|
||||
}
|
||||
|
||||
public override void PrintLeft(TextWriter writer)
|
||||
|
|
|
@ -9,8 +9,8 @@ namespace Ryujinx.HLE.HOS.Diagnostics.Demangler.Ast
|
|||
|
||||
public CtorVtableSpecialName(BaseNode firstType, BaseNode secondType) : base(NodeType.CtorVtableSpecialName)
|
||||
{
|
||||
this._firstType = firstType;
|
||||
this._secondType = secondType;
|
||||
_firstType = firstType;
|
||||
_secondType = secondType;
|
||||
}
|
||||
|
||||
public override void PrintLeft(TextWriter writer)
|
||||
|
|
|
@ -9,8 +9,8 @@ namespace Ryujinx.HLE.HOS.Diagnostics.Demangler.Ast
|
|||
|
||||
public DeleteExpression(BaseNode child, bool isGlobal, bool isArrayExpression) : base(NodeType.DeleteExpression, child)
|
||||
{
|
||||
this._isGlobal = isGlobal;
|
||||
this._isArrayExpression = isArrayExpression;
|
||||
_isGlobal = isGlobal;
|
||||
_isArrayExpression = isArrayExpression;
|
||||
}
|
||||
|
||||
public override void PrintLeft(TextWriter writer)
|
||||
|
|
|
@ -8,7 +8,7 @@ namespace Ryujinx.HLE.HOS.Diagnostics.Demangler.Ast
|
|||
|
||||
public ElaboratedType(string elaborated, BaseNode type) : base(NodeType.ElaboratedType, type)
|
||||
{
|
||||
this._elaborated = elaborated;
|
||||
_elaborated = elaborated;
|
||||
}
|
||||
|
||||
public override void PrintLeft(TextWriter writer)
|
||||
|
|
|
@ -10,9 +10,9 @@ namespace Ryujinx.HLE.HOS.Diagnostics.Demangler.Ast
|
|||
|
||||
public EnclosedExpression(string prefix, BaseNode expression, string postfix) : base(NodeType.EnclosedExpression)
|
||||
{
|
||||
this._prefix = prefix;
|
||||
this._expression = expression;
|
||||
this._postfix = postfix;
|
||||
_prefix = prefix;
|
||||
_expression = expression;
|
||||
_postfix = postfix;
|
||||
}
|
||||
|
||||
public override void PrintLeft(TextWriter writer)
|
||||
|
|
|
@ -13,12 +13,12 @@ namespace Ryujinx.HLE.HOS.Diagnostics.Demangler.Ast
|
|||
|
||||
public EncodedFunction(BaseNode name, BaseNode Params, BaseNode cv, BaseNode Ref, BaseNode attrs, BaseNode ret) : base(NodeType.NameType)
|
||||
{
|
||||
this._name = name;
|
||||
this._params = Params;
|
||||
this._cv = cv;
|
||||
this._ref = Ref;
|
||||
this._attrs = attrs;
|
||||
this._ret = ret;
|
||||
_name = name;
|
||||
_params = Params;
|
||||
_cv = cv;
|
||||
_ref = Ref;
|
||||
_attrs = attrs;
|
||||
_ret = ret;
|
||||
}
|
||||
|
||||
public override void PrintLeft(TextWriter writer)
|
||||
|
|
|
@ -11,10 +11,10 @@ namespace Ryujinx.HLE.HOS.Diagnostics.Demangler.Ast
|
|||
|
||||
public FoldExpression(bool isLeftFold, string operatorName, BaseNode expression, BaseNode initializer) : base(NodeType.FunctionParameter)
|
||||
{
|
||||
this._isLeftFold = isLeftFold;
|
||||
this._operatorName = operatorName;
|
||||
this._expression = expression;
|
||||
this._initializer = initializer;
|
||||
_isLeftFold = isLeftFold;
|
||||
_operatorName = operatorName;
|
||||
_expression = expression;
|
||||
_initializer = initializer;
|
||||
}
|
||||
|
||||
public override void PrintLeft(TextWriter writer)
|
||||
|
|
|
@ -10,7 +10,7 @@ namespace Ryujinx.HLE.HOS.Diagnostics.Demangler.Ast
|
|||
|
||||
public ForwardTemplateReference(int index) : base(NodeType.ForwardTemplateReference)
|
||||
{
|
||||
this._index = index;
|
||||
_index = index;
|
||||
}
|
||||
|
||||
public override string GetName()
|
||||
|
|
|
@ -8,7 +8,7 @@ namespace Ryujinx.HLE.HOS.Diagnostics.Demangler.Ast
|
|||
|
||||
public FunctionParameter(string number) : base(NodeType.FunctionParameter)
|
||||
{
|
||||
this._number = number;
|
||||
_number = number;
|
||||
}
|
||||
|
||||
public override void PrintLeft(TextWriter writer)
|
||||
|
|
|
@ -12,11 +12,11 @@ namespace Ryujinx.HLE.HOS.Diagnostics.Demangler.Ast
|
|||
|
||||
public FunctionType(BaseNode returnType, BaseNode Params, BaseNode cvQualifier, SimpleReferenceType referenceQualifier, BaseNode exceptionSpec) : base(NodeType.FunctionType)
|
||||
{
|
||||
this._returnType = returnType;
|
||||
this._params = Params;
|
||||
this._cvQualifier = cvQualifier;
|
||||
this._referenceQualifier = referenceQualifier;
|
||||
this._exceptionSpec = exceptionSpec;
|
||||
_returnType = returnType;
|
||||
_params = Params;
|
||||
_cvQualifier = cvQualifier;
|
||||
_referenceQualifier = referenceQualifier;
|
||||
_exceptionSpec = exceptionSpec;
|
||||
}
|
||||
|
||||
public override void PrintLeft(TextWriter writer)
|
||||
|
|
|
@ -10,8 +10,8 @@ namespace Ryujinx.HLE.HOS.Diagnostics.Demangler.Ast
|
|||
|
||||
public InitListExpression(BaseNode typeNode, List<BaseNode> nodes) : base(NodeType.InitListExpression)
|
||||
{
|
||||
this._typeNode = typeNode;
|
||||
this._nodes = nodes;
|
||||
_typeNode = typeNode;
|
||||
_nodes = nodes;
|
||||
}
|
||||
|
||||
public override void PrintLeft(TextWriter writer)
|
||||
|
|
|
@ -8,7 +8,7 @@ namespace Ryujinx.HLE.HOS.Diagnostics.Demangler.Ast
|
|||
|
||||
public IntegerCastExpression(BaseNode type, string number) : base(NodeType.IntegerCastExpression, type)
|
||||
{
|
||||
this._number = number;
|
||||
_number = number;
|
||||
}
|
||||
|
||||
public override void PrintLeft(TextWriter writer)
|
||||
|
|
|
@ -9,8 +9,8 @@ namespace Ryujinx.HLE.HOS.Diagnostics.Demangler.Ast
|
|||
|
||||
public IntegerLiteral(string litteralName, string litteralValue) : base(NodeType.IntegerLiteral)
|
||||
{
|
||||
this._litteralValue = litteralValue;
|
||||
this._litteralName = litteralName;
|
||||
_litteralValue = litteralValue;
|
||||
_litteralName = litteralName;
|
||||
}
|
||||
|
||||
public override void PrintLeft(TextWriter writer)
|
||||
|
|
|
@ -9,8 +9,8 @@ namespace Ryujinx.HLE.HOS.Diagnostics.Demangler.Ast
|
|||
|
||||
public LocalName(BaseNode encoding, BaseNode entity) : base(NodeType.LocalName)
|
||||
{
|
||||
this._encoding = encoding;
|
||||
this._entity = entity;
|
||||
_encoding = encoding;
|
||||
_entity = entity;
|
||||
}
|
||||
|
||||
public override void PrintLeft(TextWriter writer)
|
||||
|
|
|
@ -10,9 +10,9 @@ namespace Ryujinx.HLE.HOS.Diagnostics.Demangler.Ast
|
|||
|
||||
public MemberExpression(BaseNode leftNode, string kind, BaseNode rightNode) : base(NodeType.MemberExpression)
|
||||
{
|
||||
this._leftNode = leftNode;
|
||||
this._kind = kind;
|
||||
this._rightNode = rightNode;
|
||||
_leftNode = leftNode;
|
||||
_kind = kind;
|
||||
_rightNode = rightNode;
|
||||
}
|
||||
|
||||
public override void PrintLeft(TextWriter writer)
|
||||
|
|
|
@ -8,12 +8,12 @@ namespace Ryujinx.HLE.HOS.Diagnostics.Demangler.Ast
|
|||
|
||||
public NameType(string nameValue, NodeType type) : base(type)
|
||||
{
|
||||
this._nameValue = nameValue;
|
||||
_nameValue = nameValue;
|
||||
}
|
||||
|
||||
public NameType(string nameValue) : base(NodeType.NameType)
|
||||
{
|
||||
this._nameValue = nameValue;
|
||||
_nameValue = nameValue;
|
||||
}
|
||||
|
||||
public override string GetName()
|
||||
|
|
|
@ -9,8 +9,8 @@ namespace Ryujinx.HLE.HOS.Diagnostics.Demangler.Ast
|
|||
|
||||
public NameTypeWithTemplateArguments(BaseNode prev, BaseNode templateArgument) : base(NodeType.NameTypeWithTemplateArguments)
|
||||
{
|
||||
this._prev = prev;
|
||||
this._templateArgument = templateArgument;
|
||||
_prev = prev;
|
||||
_templateArgument = templateArgument;
|
||||
}
|
||||
|
||||
public override string GetName()
|
||||
|
|
|
@ -8,7 +8,7 @@ namespace Ryujinx.HLE.HOS.Diagnostics.Demangler.Ast
|
|||
|
||||
public NestedName(BaseNode name, BaseNode type) : base(NodeType.NestedName, type)
|
||||
{
|
||||
this._name = name;
|
||||
_name = name;
|
||||
}
|
||||
|
||||
public override string GetName()
|
||||
|
|
|
@ -13,12 +13,12 @@ namespace Ryujinx.HLE.HOS.Diagnostics.Demangler.Ast
|
|||
|
||||
public NewExpression(NodeArray expressions, BaseNode typeNode, NodeArray initializers, bool isGlobal, bool isArrayExpression) : base(NodeType.NewExpression)
|
||||
{
|
||||
this._expressions = expressions;
|
||||
this._typeNode = typeNode;
|
||||
this._initializers = initializers;
|
||||
_expressions = expressions;
|
||||
_typeNode = typeNode;
|
||||
_initializers = initializers;
|
||||
|
||||
this._isGlobal = isGlobal;
|
||||
this._isArrayExpression = isArrayExpression;
|
||||
_isGlobal = isGlobal;
|
||||
_isArrayExpression = isArrayExpression;
|
||||
}
|
||||
|
||||
public override void PrintLeft(TextWriter writer)
|
||||
|
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Add table
Reference in a new issue