if (t.Delegates != null)
foreach (Delegate de in t.Delegates)
de.GenerateDocComment (t);
- if (t.Enums != null)
- foreach (Enum en in t.Enums)
- en.GenerateDocComment (t);
if (t.Constants != null)
foreach (Const c in t.Constants)
case "void":
return typeof (void);
}
- FullNamedExpression e = ds.LookupType (identifier, mc.Location, false);
+ FullNamedExpression e = ds.LookupNamespaceOrType (identifier, mc.Location, false);
if (e != null) {
if (!(e is TypeExpr))
return null;
static bool IsOverride (PropertyInfo deriv_prop, PropertyInfo base_prop)
{
- if (!Invocation.IsAncestralType (base_prop.DeclaringType, deriv_prop.DeclaringType))
+ if (!MethodGroupExpr.IsAncestralType (base_prop.DeclaringType, deriv_prop.DeclaringType))
return false;
Type [] deriv_pd = TypeManager.GetArgumentTypes (deriv_prop);
continue;
MethodBase my = ml [j] as MethodBase;
if (mx != null && my != null &&
- Invocation.IsOverride (my, mx)) {
+ MethodGroupExpr.IsOverride (my, mx)) {
overriden = true;
break;
}
// Returns a string that represents the signature for this
// member which should be used in XML documentation.
//
- public static string GetMethodDocCommentName (MethodCore mc, DeclSpace ds)
+ public static string GetMethodDocCommentName (MemberCore mc, Parameters parameters, DeclSpace ds)
{
- Parameter [] plist = mc.Parameters.FixedParameters;
+ Parameter [] plist = parameters.FixedParameters;
string paramSpec = String.Empty;
if (plist != null) {
StringBuilder psb = new StringBuilder ();
public void GenerateDocComment ()
{
TypeContainer root = RootContext.ToplevelTypes;
- if (root.Interfaces != null)
- foreach (Interface i in root.Interfaces)
- DocUtil.GenerateTypeDocComment (i, null);
if (root.Types != null)
foreach (TypeContainer tc in root.Types)
if (root.Delegates != null)
foreach (Delegate d in root.Delegates)
DocUtil.GenerateDocComment (d, null);
-
- if (root.Enums != null)
- foreach (Enum e in root.Enums)
- e.GenerateDocComment (null);
-
}
}
}