Wiki
Show
Ignore:
Timestamp:
03/05/10 04:41:04 (2 years ago)
Author:
Chuck.Esterbrook
Message:

Fixed: Cobra compile failure on delegates calling .(begin|end)Invoke. ticket:196
Code cleanup. Using IList over List more.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • cobra/trunk/Source/Members.cobra

    r2279 r2299  
    3434    var _parentBox as Box 
    3535    var _docString as String? 
    36     var _isNames as List<of String>? 
     36    var _isNames as IList<of String>? 
    3737    var _attribs as AttributeList 
    3838    var _overloadGroup as MemberOverload? 
     
    4343    var _binaryName as String? 
    4444 
    45     cue init(token as IToken, idToken as IToken, parentBox as Box, name as String, isNames as List<of String>, attribs as AttributeList) 
     45    cue init(token as IToken, idToken as IToken, parentBox as Box, name as String, isNames as IList<of String>, attribs as AttributeList) 
    4646        .init(token, idToken, parentBox, name, isNames, attribs, nil) 
    4747 
    48     cue init(token as IToken, idToken as IToken, parentBox as Box, name as String, isNames as List<of String>, attribs as AttributeList, docString as String?) 
     48    cue init(token as IToken, idToken as IToken, parentBox as Box, name as String, isNames as IList<of String>, attribs as AttributeList, docString as String?) 
    4949        base.init(idToken, name) 
    5050        _idToken = idToken 
     
    655655    var _isCompilerGenerated as bool 
    656656 
    657     cue init(token as IToken, idToken as IToken, box as Box, parentMethod as AbstractMethod?, name as String, paramsList as List<of Param>, isNames as List<of String>, attribs as AttributeList, docString as String) 
     657    cue init(token as IToken, idToken as IToken, box as Box, parentMethod as AbstractMethod?, name as String, paramsList as IList<of Param>, isNames as IList<of String>, attribs as AttributeList, docString as String) 
    658658        base.init(token, idToken, box, name, isNames, attribs, docString) 
    659659        _parentMethod = parentMethod 
    660         _params = paramsList 
     660        _params = List<of Param>(paramsList) 
    661661        _oldExprs = List<of OldExpr>() 
    662662        _locals = List<of LocalVar>() 
     
    10231023    var _implementsType as IType? 
    10241024 
    1025     cue init(token as IToken, idToken as IToken, box as Box, name as String, paramsList as List<of Param>, returnTypeNode as ITypeProxy, implementsTypeNode as ITypeProxy?, isNames as List<of String>, attribs as AttributeList, docString as String) 
     1025    cue init(token as IToken, idToken as IToken, box as Box, name as String, paramsList as IList<of Param>, returnTypeNode as ITypeProxy, implementsTypeNode as ITypeProxy?, isNames as IList<of String>, attribs as AttributeList, docString as String) 
    10261026        .init(token, idToken, box, name, List<of IType>(), paramsList, returnTypeNode, implementsTypeNode, isNames, attribs, docString) 
    10271027 
    1028     cue init(token as IToken, idToken as IToken, box as Box, name as String, genericParams as List<of IType>, paramsList as List<of Param>, returnTypeNode as ITypeProxy, implementsTypeNode as ITypeProxy?, isNames as List<of String>, attribs as AttributeList, docString as String) 
     1028    cue init(token as IToken, idToken as IToken, box as Box, name as String, genericParams as List<of IType>, paramsList as IList<of Param>, returnTypeNode as ITypeProxy, implementsTypeNode as ITypeProxy?, isNames as IList<of String>, attribs as AttributeList, docString as String) 
    10291029        base.init(token, idToken, box, nil, name, paramsList, isNames, attribs, docString) 
    10301030        _genericParams = genericParams 
     
    12191219    var _returnTypeNode as ITypeProxy? 
    12201220 
    1221     cue init(token as IToken, idToken as IToken, box as Box, name as String, isNames as List<of String>, attribs as AttributeList, docString as String?) 
     1221    cue init(token as IToken, idToken as IToken, box as Box, name as String, isNames as IList<of String>, attribs as AttributeList, docString as String?) 
    12221222        base.init(token, idToken, box, name, isNames, attribs, docString) 
    12231223 
    1224     cue init(token as IToken, idToken as IToken, box as Box, name as String, returnTypeOrNode as INode, isNames as List<of String>, attribs as AttributeList, docString as String) 
     1224    cue init(token as IToken, idToken as IToken, box as Box, name as String, returnTypeOrNode as INode, isNames as IList<of String>, attribs as AttributeList, docString as String) 
    12251225        .init(token, idToken, box, name, isNames, attribs, docString) 
    12261226        if returnTypeOrNode inherits IType 
     
    13381338    get xetPartName as String is abstract 
    13391339 
    1340     get isNames as List<of String>? is override 
     1340    get isNames as IList<of String>? is override 
    13411341        # may need to get more sophisticated here if, in the future, we support C#'s somewhat recent ability to put access modifiers on just the set or get part of a property 
    13421342        return _parent.isNames