Ejemplo n.º 1
0
        protected override void CloneTo(CloneContext clonectx, Expression t)
        {
            NullCoalescingOperator target = (NullCoalescingOperator)t;

            target.left  = left.Clone(clonectx);
            target.right = right.Clone(clonectx);
        }
Ejemplo n.º 2
0
 public virtual object Visit(Nullable.NullCoalescingOperator nullCoalescingOperator)
 {
     return(null);
 }
Ejemplo n.º 3
0
void case_627()
#line 4416 "cs-parser.jay"
{
		if (lang_version < LanguageVersion.ISO_2)
			FeatureIsNotAvailable (GetLocation (yyVals[-1+yyTop]), "null coalescing operator");
			
		yyVal = new Nullable.NullCoalescingOperator ((Expression) yyVals[-2+yyTop], (Expression) yyVals[0+yyTop]);
		lbag.AddLocation (yyVal, GetLocation (yyVals[-1+yyTop]));
	  }
Ejemplo n.º 4
0
void case_633()
#line 5231 "ps-parser.jay"
{
	  	CheckIsPlayScript("?? operator", GetLocation(yyVals[-1+yyTop]));
	  
		if (lang_version < LanguageVersion.ISO_2)
			FeatureIsNotAvailable (GetLocation (yyVals[-1+yyTop]), "null coalescing operator");
			
		yyVal = new Nullable.NullCoalescingOperator ((Expression) yyVals[-2+yyTop], (Expression) yyVals[0+yyTop]);
		lbag.AddLocation (yyVal, GetLocation (yyVals[-1+yyTop]));
	  }