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;
 }
Example #2
0
 public static void WriteOWORD(OWORD oword, UnsafeWriter unsafeWriter)
 {
     unsafeWriter.Write(oword.loqword);
     unsafeWriter.Write(oword.hiqword);
 }
Example #3
0
 public LocalReference(OWORD owningPsiPersistentIndex, long localDocumentAnchor)
 {
     OwningPsiPersistentIndex = owningPsiPersistentIndex;
     LocalDocumentAnchor      = localDocumentAnchor;
 }