public EXPRFIELDINFO CreateFieldInfo(FieldSymbol field, AggregateType fieldType)
        {
            Debug.Assert(field != null);
            Debug.Assert(fieldType != null);
            EXPRFIELDINFO rval = new EXPRFIELDINFO();

            rval.kind  = ExpressionKind.EK_FIELDINFO;
            rval.type  = GetTypes().GetOptPredefAgg(PredefinedType.PT_FIELDINFO).getThisType();;
            rval.flags = 0;
            rval.Init(field, fieldType);
            return(rval);
        }
Пример #2
0
 public EXPRFIELDINFO CreateFieldInfo(FieldSymbol field, AggregateType fieldType)
 {
     Debug.Assert(field != null);
     Debug.Assert(fieldType != null);
     EXPRFIELDINFO rval = new EXPRFIELDINFO();
     rval.kind = ExpressionKind.EK_FIELDINFO;
     rval.type = GetTypes().GetOptPredefAgg(PredefinedType.PT_FIELDINFO).getThisType(); ;
     rval.flags = 0;
     rval.Init(field, fieldType);
     return rval;
 }