コード例 #1
0
 /// <summary>
 /// Indicates whether the two parameter is equivalent to the specified parameter, meaning it has the same type and modifiers (name and default value are ignored).
 /// </summary>
 internal bool IsEquivalentTo(ParameterData other) =>
 IsTypeDynamic == other.IsTypeDynamic &&
 IsParamsArray == other.IsParamsArray &&
 Modifer == other.Modifer &&
 Type == other.Type;
コード例 #2
0
 /// <summary>
 /// Indicates whether a new parameter of the same type and name is logically the same member as the current parameter, just from a newer build.
 /// </summary>
 internal bool IsEquivalentToNewParameter(ParameterData newParameter, AssemblyFamily newAssemblyFamily) =>
 IsTypeDynamic == newParameter.IsTypeDynamic &&
 IsParamsArray == newParameter.IsParamsArray &&
 Modifer == newParameter.Modifer &&
 Type.IsEquivalentToNew(newParameter.Type, newAssemblyFamily);
コード例 #3
0
 /// <summary>
 /// The visit implementation for <see cref="ParameterData"/> instances.
 /// </summary>
 public virtual void VisitParameterData(ParameterData item)
 {
     this.DefaultVisit(item);
 }