6 references to ToReadOnly
System.Linq.Expressions (6)
System\Linq\Expressions\BinaryExpression.cs (3)
252
IndexExpression tempIndex = Expression.MakeIndex(tempObj, index.Indexer, tempArgs.
ToReadOnly
());
269
return Expression.Block(vars.
ToReadOnly
(), exprs.
ToReadOnly
());
System\Linq\Expressions\Compiler\LambdaCompiler.Statements.cs (1)
744
Expression.Switch(node.Type, switchIndex, node.DefaultBody, null, cases.
ToReadOnly
())
System\Runtime\CompilerServices\CallSite.cs (2)
654
vars.
ToReadOnly
(),
655
body.
ToReadOnly
()