why dictionay read blocked by AllowClr false

Jun 20, 2012 at 12:10 AM

running

var k = dict['foo']

fails if allowclr is false (dict loaded with engine.SetParameter)

but

dict['foo'] = k;

is perfectly acceptable

as is

var k = dict.Keys

seems odd to pick on native indexer read as being not allowed