Ejemplo n.º 1
0
 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);
 }
Ejemplo n.º 3
0
 public bool Equals(LocalReference other)
 {
     return(LocalDocumentAnchor == other.LocalDocumentAnchor && OwningPsiPersistentIndex == other.OwningPsiPersistentIndex);
 }
Ejemplo n.º 4
0
 private static void Write(UnsafeWriter writer, LocalReference value)
 {
     writer.Write(value.OwnerId);
     writer.Write(value.LocalDocumentAnchor);
 }