Exemplo n.º 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;
 }
Exemplo n.º 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;
 }
Exemplo n.º 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;
        }
Exemplo n.º 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);
 }
Exemplo n.º 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;
        }
Exemplo n.º 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);
 }
Exemplo n.º 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);
 }