示例#1
0
 public WrappedFieldSymbol(FieldSymbol underlyingField)
 {
     Debug.Assert((object)underlyingField != null);
     _underlyingField = underlyingField;
 }
示例#2
0
 // 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;