why dictionay read blocked by AllowClr false

Jun 19, 2012 at 11:10 PM

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