Containing type for synthesized dynamic operators

Topics: APIs
Aug 26, 2014 at 5:46 PM
dynamic a = null, b = null;
dynamic c = a + b;
The BinaryExpressionSyntax representing the addition will have an associated symbol
Method dynamic dynamic.op_Addition(dynamic left, System.Int32 right)
However, this symbol has null as its containing type. I would expect the containing type to be the dynamic type (or in worst case object), just like for synthesized addition of int, the synthesized operator reports int as its containing type.