Пример #1
0
 internal TypeParser(ParserOptions parserOptions) : base(parserOptions)
 {
     _typeRefParser       = new TypeRefParser(new StrangerTypeParser(parserOptions), parserOptions);
     _typeParameterParser = new TypeParameterParser(_typeRefParser, parserOptions);
     _eventParser         = new EventParser(_typeRefParser, parserOptions);
     _fieldParser         = new FieldParser(_typeRefParser, parserOptions);
     _methodParser        = new MethodParser(_typeParameterParser, _typeRefParser, parserOptions);
     _propertyParser      = new PropertyParser(_typeRefParser, parserOptions);
 }
Пример #2
0
 internal TypeParser(ParserOptions parserOptions)
     : base(parserOptions)
 {
     _typeRefParser = new TypeRefParser(new StrangerTypeParser(parserOptions), parserOptions);
     _typeParameterParser = new TypeParameterParser(_typeRefParser, parserOptions);
     _eventParser = new EventParser(_typeRefParser, parserOptions);
     _fieldParser = new FieldParser(_typeRefParser, parserOptions);
     _methodParser = new MethodParser(_typeParameterParser, _typeRefParser, parserOptions);
     _propertyParser = new PropertyParser(_typeRefParser, parserOptions);
 }