mirror of
https://github.com/AssetRipper/AssetRipper.git
synced 2025-12-11 20:15:29 +01:00
19 lines
511 B
C#
19 lines
511 B
C#
namespace AssetRipper.AssemblyDumper.AST;
|
|
|
|
internal sealed class PrimitiveNode : Node
|
|
{
|
|
public PrimitiveNode(TypeSignature typeSignature, Node parent) : base(parent)
|
|
{
|
|
TypeSignature = typeSignature;
|
|
}
|
|
|
|
public override TypeSignature TypeSignature { get; }
|
|
|
|
public override bool AnyPPtrs => false;
|
|
|
|
/// <summary>
|
|
/// Byte arrays do not implement <see cref="IEquatable{T}"/>, but other primitive types do.
|
|
/// </summary>
|
|
public override bool Equatable => TypeSignature is not SzArrayTypeSignature;
|
|
}
|