private TypeParameterConstraintKind GetDeclaredConstraints() { // @t-mawind // Add in 'struct' if this is a concept witness. // This used to be done through a synthesised symbol, but now we // have more explicit syntax it has to be done here--ugly! var ownerConstraints = _owner.GetTypeParameterConstraints(this.Ordinal); return(IsConceptWitness ? (ownerConstraints | TypeParameterConstraintKind.ValueType) : ownerConstraints); }
private TypeParameterConstraintKind GetDeclaredConstraints() { return(_owner.GetTypeParameterConstraints(this.Ordinal)); }