Пример #1
0
 public AssetMethodUsages(string ownerName, string methodName, TextRange textRangeOwnerPsiPersistentIndex, OWORD textRangeOwner, EventHandlerArgumentMode mode, string type, IHierarchyReference targetReference)
 {
     Assertion.Assert(targetReference != null, "targetReference != null");
     Assertion.Assert(methodName != null, "methodName != null");
     OwnerName  = ownerName;
     MethodName = methodName;
     TextRangeOwnerPsiPersistentIndex = textRangeOwnerPsiPersistentIndex;
     TextRangeOwner        = textRangeOwner;
     Mode                  = mode;
     Type                  = type;
     TargetScriptReference = targetReference;
 }
Пример #2
0
 public static void WriteOWORD(OWORD oword, UnsafeWriter unsafeWriter)
 {
     unsafeWriter.Write(oword.loqword);
     unsafeWriter.Write(oword.hiqword);
 }
Пример #3
0
 public LocalReference(OWORD owningPsiPersistentIndex, long localDocumentAnchor)
 {
     OwningPsiPersistentIndex = owningPsiPersistentIndex;
     LocalDocumentAnchor      = localDocumentAnchor;
 }