经常在c#的函数上方看到[MonoTODO]定义,请教高手MonoTODO是属于哪个命名空间,有啥作用?比如:
[MonoTODO]
public static bool IsDefined(ParameterInfo element, Type attributeType, bool inherit)
{
CheckParameters(element, attributeType); if (element.IsDefined(attributeType, inherit))
return true; // FIXME: MS walks up the inheritance chain in some crazy way
return IsDefined(element.Member, attributeType, inherit);
}
[MonoTODO]
public static bool IsDefined(ParameterInfo element, Type attributeType, bool inherit)
{
CheckParameters(element, attributeType); if (element.IsDefined(attributeType, inherit))
return true; // FIXME: MS walks up the inheritance chain in some crazy way
return IsDefined(element.Member, attributeType, inherit);
}
MonoTODO的作用主要是用来标示为完成或需要修改的代码,不过我并没有用过Mono,大概是带有这种属性的方法在Mono的开发环境中或者生成文档时会有特别的提示?