public WrappedFieldSymbol(FieldSymbol underlyingField) { Debug.Assert((object)underlyingField != null); _underlyingField = underlyingField; }
// NOTE: If we do not check HasPointerType, we will unconditionally // bind Type and that may cause infinite recursion. // HasPointerType can use syntax directly and break recursion. internal static TypeSymbol NonPointerType(this FieldSymbol field) => field.HasPointerType ? null : field.Type.TypeSymbol;