示例#1
0
 private object DoGetSetterBody(CsIndexer member)
 {
     return member.SetterBody;
 }
示例#2
0
 private object DoGetGetterAccess(CsIndexer member)
 {
     return member.GetterAccess != 0 ? member.GetterAccess.ToString().ToLower() : null;
 }
示例#3
0
 private object DoGetSetterAttributes(CsIndexer member)
 {
     return member.SetterAttributes;
 }
示例#4
0
 private object DoGetReturnType(CsIndexer member)
 {
     return member.ReturnType;
 }
示例#5
0
 private object DoGetParameters(CsIndexer member)
 {
     return member.Parameters;
 }
示例#6
0
 private object DoGetHasSetter(CsIndexer member)
 {
     return member.HasSetter;
 }
        private bool DoHasIndexer(CsIndexer[] members, string name, string[] types)
        {
            foreach (var member in members)
            {
                if (member.Name == name && DoParametersMatch(member.Parameters, types))
                    return true;
            }

            return false;
        }