public override bool Equals(object o) { ProjectingParameterInfo other = o as ProjectingParameterInfo; return(other != null && Projector == other.Projector && UnderlyingParameter.Equals(other.UnderlyingParameter)); }
protected override MetadataConstant GetDefaultValue(EmitContext context) { return(UnderlyingParameter.GetMetadataConstantValue(context)); }
protected override IEnumerable <CSharpAttributeData> GetCustomAttributesToEmit(PEModuleBuilder moduleBuilder) { return(UnderlyingParameter.GetCustomAttributesToEmit(moduleBuilder)); }
protected override IEnumerable <CSharpAttributeData> GetCustomAttributesToEmit() { return(UnderlyingParameter.GetCustomAttributesToEmit()); }
public override int GetHashCode() { return(Projector.GetHashCode() ^ UnderlyingParameter.GetHashCode()); }
public override bool Equals([NotNullWhen(true)] object?o) { return(o is ProjectingParameterInfo other && Projector == other.Projector && UnderlyingParameter.Equals(other.UnderlyingParameter)); }
protected override IEnumerable <CSharpAttributeData> GetCustomAttributesToEmit(ModuleCompilationState compilationState) { return(UnderlyingParameter.GetCustomAttributesToEmit(compilationState)); }
public override bool Equals(object o) { return(o is ProjectingParameterInfo other && Projector == other.Projector && UnderlyingParameter.Equals(other.UnderlyingParameter)); }