Microsoft\Scripting\Actions\DynamicMetaObject.cs (18)
54ContractUtils.RequiresNotNull(expression, "expression");
55ContractUtils.RequiresNotNull(restrictions, "restrictions");
148ContractUtils.RequiresNotNull(binder, "binder");
158ContractUtils.RequiresNotNull(binder, "binder");
169ContractUtils.RequiresNotNull(binder, "binder");
179ContractUtils.RequiresNotNull(binder, "binder");
190ContractUtils.RequiresNotNull(binder, "binder");
202ContractUtils.RequiresNotNull(binder, "binder");
213ContractUtils.RequiresNotNull(binder, "binder");
224ContractUtils.RequiresNotNull(binder, "binder");
235ContractUtils.RequiresNotNull(binder, "binder");
246ContractUtils.RequiresNotNull(binder, "binder");
256ContractUtils.RequiresNotNull(binder, "binder");
267ContractUtils.RequiresNotNull(binder, "binder");
286ContractUtils.RequiresNotNull(objects, "objects");
291ContractUtils.RequiresNotNull(mo, "objects");
293ContractUtils.RequiresNotNull(expr, "objects");
311ContractUtils.RequiresNotNull(expression, "expression");
Microsoft\Scripting\Actions\ExpandoObject.cs (15)
277ContractUtils.RequiresNotNull(key, "key");
355ContractUtils.RequiresNotNull(array, "array");
356ContractUtils.RequiresArrayRange(array, arrayIndex, _expandoCount, "arrayIndex", "Count");
481ContractUtils.RequiresNotNull(array, "array");
482ContractUtils.RequiresArrayRange(array, arrayIndex, _expandoCount, "arrayIndex", "Count");
561ContractUtils.RequiresNotNull(key, "key");
572ContractUtils.RequiresNotNull(key, "key");
580ContractUtils.RequiresNotNull(key, "key");
636ContractUtils.RequiresNotNull(array, "array");
637ContractUtils.RequiresArrayRange(array, arrayIndex, _count, "arrayIndex", "Count");
731ContractUtils.RequiresNotNull(binder, "binder");
742ContractUtils.RequiresNotNull(binder, "binder");
753ContractUtils.RequiresNotNull(binder, "binder");
754ContractUtils.RequiresNotNull(value, "value");
781ContractUtils.RequiresNotNull(binder, "binder");
Microsoft\Scripting\Ast\DynamicExpression.cs (23)
132throw ContractUtils.Unreachable;
150throw ContractUtils.Unreachable;
171throw ContractUtils.Unreachable;
175get { throw ContractUtils.Unreachable; }
704ContractUtils.RequiresNotNull(delegateType, "delegateType");
705ContractUtils.RequiresNotNull(binder, "binder");
730ContractUtils.RequiresNotNull(delegateType, "delegateType");
731ContractUtils.RequiresNotNull(binder, "binder");
759ContractUtils.RequiresNotNull(delegateType, "delegateType");
760ContractUtils.RequiresNotNull(binder, "binder");
791ContractUtils.RequiresNotNull(delegateType, "delegateType");
792ContractUtils.RequiresNotNull(binder, "binder");
826ContractUtils.RequiresNotNull(delegateType, "delegateType");
827ContractUtils.RequiresNotNull(binder, "binder");
890ContractUtils.RequiresNotNull(binder, "binder");
927ContractUtils.RequiresNotNull(binder, "binder");
969ContractUtils.RequiresNotNull(binder, "binder");
1016ContractUtils.RequiresNotNull(binder, "binder");
1064ContractUtils.RequiresNotNull(arguments, "arguments");
1065ContractUtils.RequiresNotNull(returnType, "returnType");
1068ContractUtils.RequiresNotEmpty(args, "args");
1073ContractUtils.RequiresNotNull(binder, "binder");
1098ContractUtils.RequiresNotNull(type, "type");
Microsoft\Scripting\Ast\LambdaExpression.cs (10)
138ContractUtils.RequiresNotNull(debugInfoGenerator, "debugInfoGenerator");
166ContractUtils.RequiresNotNull(debugInfoGenerator, "debugInfoGenerator");
171ContractUtils.RequiresNotNull(method, "method");
172ContractUtils.Requires(method.IsStatic, "method");
209ContractUtils.RequiresNotNull(debugInfoGenerator, "debugInfoGenerator");
464ContractUtils.RequiresNotNull(body, "body");
474ContractUtils.RequiresNotNull(param, "parameter");
521ContractUtils.RequiresNotNull(delegateType, "delegateType");
661ContractUtils.RequiresNotEmpty(typeArgs, "typeArgs");
662ContractUtils.RequiresNotNullItems(typeArgs, "typeArgs");
Microsoft\Scripting\Ast\ListInitExpression.cs (10)
134ContractUtils.RequiresNotNull(newExpression, "newExpression");
135ContractUtils.RequiresNotNull(initializers, "initializers");
146ContractUtils.RequiresNotNull(newExpression, "newExpression");
147ContractUtils.RequiresNotNull(initializers, "initializers");
169ContractUtils.RequiresNotNull(newExpression, "newExpression");
170ContractUtils.RequiresNotNull(initializers, "initializers");
185ContractUtils.RequiresNotNull(newExpression, "newExpression");
186ContractUtils.RequiresNotNull(initializers, "initializers");
227ContractUtils.RequiresNotNull(newExpression, "newExpression");
228ContractUtils.RequiresNotNull(initializers, "initializers");
Microsoft\Scripting\Ast\MethodCallExpression.cs (40)
105throw ContractUtils.Unreachable;
124throw ContractUtils.Unreachable;
130throw ContractUtils.Unreachable;
134get { throw ContractUtils.Unreachable; }
523ContractUtils.RequiresNotNull(method, "method");
524ContractUtils.RequiresNotNull(arg0, "arg0");
543ContractUtils.RequiresNotNull(method, "method");
544ContractUtils.RequiresNotNull(arg0, "arg0");
545ContractUtils.RequiresNotNull(arg1, "arg1");
566ContractUtils.RequiresNotNull(method, "method");
567ContractUtils.RequiresNotNull(arg0, "arg0");
568ContractUtils.RequiresNotNull(arg1, "arg1");
569ContractUtils.RequiresNotNull(arg2, "arg2");
592ContractUtils.RequiresNotNull(method, "method");
593ContractUtils.RequiresNotNull(arg0, "arg0");
594ContractUtils.RequiresNotNull(arg1, "arg1");
595ContractUtils.RequiresNotNull(arg2, "arg2");
596ContractUtils.RequiresNotNull(arg3, "arg3");
622ContractUtils.RequiresNotNull(method, "method");
623ContractUtils.RequiresNotNull(arg0, "arg0");
624ContractUtils.RequiresNotNull(arg1, "arg1");
625ContractUtils.RequiresNotNull(arg2, "arg2");
626ContractUtils.RequiresNotNull(arg3, "arg3");
627ContractUtils.RequiresNotNull(arg4, "arg4");
692ContractUtils.RequiresNotNull(method, "method");
693ContractUtils.RequiresNotNull(arg0, "arg0");
694ContractUtils.RequiresNotNull(arg1, "arg1");
720ContractUtils.RequiresNotNull(method, "method");
721ContractUtils.RequiresNotNull(arg0, "arg0");
722ContractUtils.RequiresNotNull(arg1, "arg1");
723ContractUtils.RequiresNotNull(arg2, "arg2");
752ContractUtils.RequiresNotNull(instance, "instance");
753ContractUtils.RequiresNotNull(methodName, "methodName");
775ContractUtils.RequiresNotNull(type, "type");
776ContractUtils.RequiresNotNull(methodName, "methodName");
793ContractUtils.RequiresNotNull(method, "method");
883throw ContractUtils.Unreachable;
907throw ContractUtils.Unreachable;
979ContractUtils.RequiresNotNull(arg, "argument");
1027ContractUtils.RequiresNotNull(indexes, "indexes");
Microsoft\Scripting\Compiler\ILGen.cs (19)
101ContractUtils.RequiresNotNull(type, "type");
135ContractUtils.RequiresNotNull(type, "type");
163ContractUtils.RequiresNotNull(type, "type");
212ContractUtils.RequiresNotNull(type, "type");
254ContractUtils.RequiresNotNull(type, "type");
265ContractUtils.RequiresNotNull(fi, "fi");
275ContractUtils.RequiresNotNull(fi, "fi");
285ContractUtils.RequiresNotNull(fi, "fi");
296ContractUtils.RequiresNotNull(ci, "ci");
307ContractUtils.RequiresNotNull(type, "type");
308ContractUtils.RequiresNotNull(paramTypes, "paramTypes");
324ContractUtils.RequiresNotNull(value, "value");
525throw ContractUtils.Unreachable;
602throw ContractUtils.Unreachable;
895ContractUtils.RequiresNotNull(items, "items");
912ContractUtils.RequiresNotNull(elementType, "elementType");
913ContractUtils.RequiresNotNull(emit, "emit");
934ContractUtils.RequiresNotNull(arrayType, "arrayType");
1043throw ContractUtils.Unreachable;
Microsoft\Scripting\Utils\ReadOnlyCollectionBuilder.cs (11)
65ContractUtils.Requires(capacity >= 0, "capacity");
74ContractUtils.Requires(collection != null, "collection");
100ContractUtils.Requires(value >= _size, "value");
140ContractUtils.Requires(index <= _size, "index");
158ContractUtils.Requires(index >= 0 && index < _size, "index");
175ContractUtils.Requires(index < _size, "index");
179ContractUtils.Requires(index < _size, "index");
357ContractUtils.RequiresNotNull(array, "array");
358ContractUtils.Requires(array.Rank == 1, "array");
390ContractUtils.Requires(index >= 0, "index");
391ContractUtils.Requires(count >= 0, "count");