}
}
+ if (spec == null)
+ return null;
+
++dtype.Position;
tspec[index] = spec;
}
else
mod |= Modifiers.VIRTUAL;
}
+ } else if (parameters.HasExtensionMethodType) {
+ mod |= Modifiers.METHOD_EXTENSION;
}
}
return spec;
var targs = CreateGenericArguments (0, type.GetGenericArguments (), dtype);
+ if (targs == null)
+ return null;
if (declaringType == null) {
// Simple case, no nesting
spec = CreateType (type_def, null, new DynamicTypeReader (), canImportBaseType);