@@ -1561,6 +1561,42 @@ public void TestProtocolList10 ()
15611561 Assert . AreEqual ( 2 , ret . Protocols . Count ) ;
15621562 }
15631563
1564+ [ Test ]
1565+ public void VariableInitializationExpression0 ( )
1566+ {
1567+ var tld = Decomposer . Decompose ( "_$s8Presentr0A10ControllerC0027shouldSwipeTopstorage_mvFAh33_9D6ACB2CCC4A4980BDBB65F0F301220BLLSbSgvpfi" , false ) ;
1568+ Assert . IsNotNull ( tld , "failed decomposition" ) ;
1569+ var tlf = tld as TLFunction ;
1570+ Assert . IsNotNull ( tlf , "not a function" ) ;
1571+ }
1572+
1573+ [ Test ]
1574+ public void VariableInitializationExpression1 ( )
1575+ {
1576+ var tld = Decomposer . Decompose ( "_$s8Presentr0A10ControllerC0030shouldSwipeBottomstorage_cDAEi33_9D6ACB2CCC4A4980BDBB65F0F301220BLLSbSgvpfi" , false ) ;
1577+ Assert . IsNotNull ( tld , "failed decomposition" ) ;
1578+ var tlf = tld as TLFunction ;
1579+ Assert . IsNotNull ( tlf , "not a function" ) ;
1580+ }
1581+
1582+ [ Test ]
1583+ public void VariableInitializationExpression2 ( )
1584+ {
1585+ var tld = Decomposer . Decompose ( "_$s8Presentr0A10ControllerC0030shouldSwipeBottomstorage_cDAEi33_9D6ACB2CCC4A4980BDBB65F0F301220BLLSbSgvpfi" , false ) ;
1586+ Assert . IsNotNull ( tld , "failed decomposition" ) ;
1587+ var tlf = tld as TLFunction ;
1588+ Assert . IsNotNull ( tlf , "not a function" ) ;
1589+ }
1590+
1591+ [ Test ]
1592+ public void MethodDescriptor0 ( )
1593+ {
1594+ var tld = Decomposer . Decompose ( "_$s8Presentr0A10ControllerC013presentedViewB0010presentingdB016presentationType12roundCorners12cornerRadius10dropShadow13backgroundTap14dismissOnSwipe0pqR9Direction0N5Color0N7Opacity14blurBackground0V5Style06customwD0019keyboardTranslationG00P8Animated27contextFrameForPresentation014outsideContextO0ACSo06UIViewB0C_AWSgAA012PresentationG0OSbSg12CoreGraphics7CGFloatVAA0aM0VSgAA0wO6ActionOSbAA07DismissrS0OSo7UIColorCSfSbSo012UIBlurEffectX0VSo6UIViewCSgAA019KeyboardTranslationG0OSbSo6CGRectVSgA7_tcfCTq" , false ) ;
1595+ Assert . IsNotNull ( tld , "failed decomposition" ) ;
1596+ var methodDesc = tld as TLMethodDescriptor ;
1597+ Assert . IsNotNull ( methodDesc , "not a method descriptor" ) ;
1598+ }
1599+
15641600 [ Test ]
15651601 public void TestExtensionDescriptor ( )
15661602 {
0 commit comments