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