private void CodegenMembers(ICodegenContext context)
 {
     if (_codegenCache == null)
     {
         _codegenCache = context.MakeMember(typeof(CopyOnWriteList <DynamicPropertyDescriptor>), typeof(DynamicPropertyDescriptor), _cache);
         _codegenThis  = context.MakeMember(typeof(DynamicPropertyGetterBase), this);
         _codegenEventAdapterService = context.MakeMember(typeof(EventAdapterService), _eventAdapterService);
     }
     context.AddMember(_codegenCache);
     context.AddMember(_codegenThis);
     context.AddMember(_codegenEventAdapterService);
 }
 private void GenerateParserMember(ICodegenContext context)
 {
     if (_codegenParser == null)
     {
         _codegenParser = context.MakeMember(typeof(SimpleTypeParser), _parser);
     }
     context.AddMember(_codegenParser);
 }