Exemplo n.º 1
0
 private void Callout_FoundName (string prefix, string name)
 {
     TypeNameFrame item = new TypeNameFrame {
         Name = name
     };
     string str = this._prefixResolver(prefix);
     if (str == null) {
         throw new TypeNameParserException(SR.Get("PrefixNotFound", new object[] { prefix }));
     }
     item.Namespace = str;
     this._stack.Push(item);
 }
Exemplo n.º 2
0
 private void StartStack ()
 {
     this._stack = new Stack<TypeNameFrame>();
     TypeNameFrame item = new TypeNameFrame();
     this._stack.Push(item);
 }