コード例 #1
0
        public override bool Equals(object o)
        {
            ProjectingParameterInfo other = o as ProjectingParameterInfo;

            return(other != null &&
                   Projector == other.Projector &&
                   UnderlyingParameter.Equals(other.UnderlyingParameter));
        }
コード例 #2
0
 protected override MetadataConstant GetDefaultValue(EmitContext context)
 {
     return(UnderlyingParameter.GetMetadataConstantValue(context));
 }
コード例 #3
0
 protected override IEnumerable <CSharpAttributeData> GetCustomAttributesToEmit(PEModuleBuilder moduleBuilder)
 {
     return(UnderlyingParameter.GetCustomAttributesToEmit(moduleBuilder));
 }
コード例 #4
0
 protected override IEnumerable <CSharpAttributeData> GetCustomAttributesToEmit()
 {
     return(UnderlyingParameter.GetCustomAttributesToEmit());
 }
コード例 #5
0
 public override int GetHashCode()
 {
     return(Projector.GetHashCode() ^ UnderlyingParameter.GetHashCode());
 }
コード例 #6
0
 public override bool Equals([NotNullWhen(true)] object?o)
 {
     return(o is ProjectingParameterInfo other &&
            Projector == other.Projector &&
            UnderlyingParameter.Equals(other.UnderlyingParameter));
 }
コード例 #7
0
 protected override IEnumerable <CSharpAttributeData> GetCustomAttributesToEmit(ModuleCompilationState compilationState)
 {
     return(UnderlyingParameter.GetCustomAttributesToEmit(compilationState));
 }
コード例 #8
0
 public override bool Equals(object o)
 {
     return(o is ProjectingParameterInfo other &&
            Projector == other.Projector &&
            UnderlyingParameter.Equals(other.UnderlyingParameter));
 }