protected bool Equals(LocalReference other) { if (LocalDocumentAnchor == 0 && other.LocalDocumentAnchor == 0) { return(true); } return(LocalDocumentAnchor == other.LocalDocumentAnchor && OwnerId == other.OwnerId); }
public static void WriteTo(this LocalReference localReference, UnsafeWriter writer) { writer.Write(0); AssetUtils.WriteOWORD(localReference.OwningPsiPersistentIndex, writer); writer.Write(localReference.LocalDocumentAnchor); }
public bool Equals(LocalReference other) { return(LocalDocumentAnchor == other.LocalDocumentAnchor && OwningPsiPersistentIndex == other.OwningPsiPersistentIndex); }
private static void Write(UnsafeWriter writer, LocalReference value) { writer.Write(value.OwnerId); writer.Write(value.LocalDocumentAnchor); }