public XMethodReference(IMethodDeclaration methodDecl) { this.methodDeclaration = new WeakReference(methodDecl); this.name = methodDecl.Name; this.declaringType = methodDecl.DeclaringType; this.returnType = methodDecl.ReturnType; this.parameters = methodDecl.Parameters; }
private bool CheckMethodReturnType(IMethodReturnType o, IMethodReturnType n) { if ( !o.Attributes.Compare(n.Attributes, CheckCustomAttribute) || (o.Type.ToString() != n.Type.ToString()) ) { Reason += "Method return type"; return(false); } return(true); }
private bool CheckMethodReturnType(IMethodReturnType o, IMethodReturnType n) { if ( !CheckCollection <ICustomAttributeCollection, ICustomAttribute>( CheckCustomAttribute, o.Attributes, n.Attributes) || (o.Type.ToString() != n.Type.ToString()) ) { ReasonCode += "Method return type"; return(false); } return(true); }
public virtual void VisitMethodReturnType(IMethodReturnType value) { VisitCustomAttributeCollection(value.Attributes); VisitType(value.Type); }
private bool CheckMethodReturnType(IMethodReturnType o, IMethodReturnType n) { if ( !o.Attributes.Compare(n.Attributes, CheckCustomAttribute) || (o.Type.ToString() != n.Type.ToString()) ) { Reason += "Method return type"; return false; } return true; }
public override void VisitMethodReturnType(IMethodReturnType value) { }
public virtual void VisitMethodReturnType(IMethodReturnType value) { this.VisitCustomAttributeCollection(value.Attributes); this.VisitType(value.Type); }
public virtual IMethodReturnType TransformMethodReturnType(IMethodReturnType value) { this.InsituTransformCustomAttributeCollection(value.Attributes); return value; }