Пример #1
0
 internal ForwardRef(ForwardRef next, String name, String prefix, String id, int line, int col, bool implied, ForwardRef.Type type) {
     Next = next;
     Name = name;
     Prefix = prefix;
     ID = id;
     Line = line;
     Col = col;
     Implied = implied;
     RefType = type;
 }
Пример #2
0
 internal ForwardRef(ForwardRef next, String name, String prefix, String id, int line, int col, bool implied, ForwardRef.Type type)
 {
     Next    = next;
     Name    = name;
     Prefix  = prefix;
     ID      = id;
     Line    = line;
     Col     = col;
     Implied = implied;
     RefType = type;
 }
Пример #3
0
        internal void CheckForwardRefs(ValidationEventHandler eventhandler)
        {
            ForwardRef next = forwardRefs;

            while (next != null)
            {
                next.Check(this, null, eventhandler);
                ForwardRef ptr = next.Next;
                next.Next = null; // unhook each object so it is cleaned up by Garbage Collector
                next      = ptr;
            }

            // not needed any more.
            forwardRefs = null;
        }
Пример #4
0
 internal void AddForwardRef(String name, String prefix, String id, int line, int col, bool implied, ForwardRef.Type type)
 {
     forwardRefs = new ForwardRef(forwardRefs, name, prefix, id, line, col, implied, type);
 }
Пример #5
0
        private void CheckForwardRefs() {
            ForwardRef next = forwardRefs;

            while (next != null) {
                next.Check(null, this, validationEventHandler);
                ForwardRef ptr = next.Next;
                next.Next = null; // unhook each object so it is cleaned up by Garbage Collector
                next = ptr;
            }

            // not needed any more.
            forwardRefs = null;
        }
Пример #6
0
 private void AddForwardRef(string name, string prefix, string id, int line, int col, bool implied, ForwardRef.Type type) {
     forwardRefs = new ForwardRef(forwardRefs, name, prefix, id, line, col, implied, type);
 }
Пример #7
0
 internal void AddForwardRef(String name, String prefix, String id, int line, int col, bool implied, ForwardRef.Type type) {
     forwardRefs = new ForwardRef(forwardRefs, name, prefix, id, line, col, implied, type);
 }