public override bool Equals(object o) { var other = o as ProjectingFieldInfo; return(other != null && Projector == other.Projector && UnderlyingField.Equals(other.UnderlyingField)); }
Cci.ITypeReference Cci.IFieldReference.GetType(EmitContext context) { return(UnderlyingField.GetType(context)); }
public override int GetHashCode() { return(Projector.GetHashCode() ^ UnderlyingField.GetHashCode()); }
protected override MetadataConstant GetCompileTimeValue(EmitContext context) { return(UnderlyingField.GetMetadataConstantValue(context)); }
protected override IEnumerable <CSharpAttributeData> GetCustomAttributesToEmit() { return(UnderlyingField.GetCustomAttributesToEmit()); }
protected override IEnumerable <CSharpAttributeData> GetCustomAttributesToEmit(PEModuleBuilder moduleBuilder) { return(UnderlyingField.GetCustomAttributesToEmit(moduleBuilder)); }
protected override IEnumerable <CSharpAttributeData> GetCustomAttributesToEmit(ModuleCompilationState compilationState) { return(UnderlyingField.GetCustomAttributesToEmit(compilationState)); }
public override bool Equals([NotNullWhen(true)] object?o) { return(o is ProjectingFieldInfo other && Projector == other.Projector && UnderlyingField.Equals(other.UnderlyingField)); }