public MethodInvocationSpec(IClrElementName DeclaringTypeName, ClrMethodName MethodName, bool IsStatic, params MethodArgumentValueSpec[] ArgumentValues ) { this.TypeName = DeclaringTypeName; this.MethodName = MethodName; this.IsStatic = IsStatic; this.ArgumentValues = rovalues(ArgumentValues); }
public MethodSignature ( ClrMethodName Name, ClrTypeReference ReturnType = null, IEnumerable <MethodParameterSpec> MethodParameters = null, IEnumerable <TypeParameter> TypeParameters = null, CodeDocumentationSpec Documentation = null ) : base(Name, Documentation: Documentation, AccessLevel: ClrAccessKind.Default) { this.MethodName = Name; this.ReturnType = ReturnType; this.MethodParameters = rovalues(MethodParameters).OrderBy(x => x.Position).ToList(); this.TypeParameters = rovalues(TypeParameters).OrderBy(x => x.Position).ToList(); }