Exemplo 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);
        }
Exemplo n.º 2
0
 public virtual object Visit(Nullable.NullCoalescingOperator nullCoalescingOperator)
 {
     return(null);
 }
Exemplo 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]));
	  }
Exemplo 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]));
	  }