예제 #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;
 }
예제 #7
0
        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;
        }