124 references to Object
System.Activities (39)
Microsoft\VisualBasic\Activities\VisualBasicDesignerHelper.cs (3)
509FindTypeReferences(arrayIndex.Object, typeReferences); 526if (methodCall.Object != null) 528FindTypeReferences(methodCall.Object, typeReferences);
Microsoft\VisualBasic\Activities\VisualBasicHelper.cs (4)
929expr1 = Rewrite(arrayIndex.Object, lambdaParameters, out abort); 964expr1 = Rewrite(methodCall.Object, lambdaParameters, out abort); 1275return FindParameter(arrayIndex.Object) ?? FindParameter(arrayIndex.Arguments); 1282return FindParameter(methodCall.Object) ?? FindParameter(methodCall.Arguments);
System\Activities\Expressions\ExpressionServices.cs (21)
92return TryConvertArgumentValue<TResult>(methodCallExpressionBody.Object as MemberExpression, throwOnError, out result); 243if (methodCallExpressionBody.Object == null) 254MethodInfo specializedHandle = TryConvertIndexerReferenceHandle.MakeGenericMethod(methodCallExpressionBody.Object.Type, typeof(TResult)); 269Fx.Assert(methodCallExpressionBody.Object != null, "Indexer must have a target object"); 273string operandError = TryConvert<TOperand>(methodCallExpressionBody.Object, throwOnError, out operand); 293string operandError = TryConvertReference<TOperand>(methodCallExpressionBody.Object, throwOnError, out operandReference); 316if (methodCallExpression.Object == null) 327string errorString = TryConvert<Array>(methodCallExpression.Object, throwOnError, out operand); 364if (methodCallExpression.Object is MemberExpression) 366MemberExpression member = methodCallExpression.Object as MemberExpression; 409Expression<Func<Variable>> funcExpression = Expression.Lambda<Func<Variable>>(methodCallExpression.Object); 511if (methodCallExpression.Object is MemberExpression) 513MemberExpression member = methodCallExpression.Object as MemberExpression; 551Expression<Func<Variable>> funcExpression = Expression.Lambda<Func<Variable>>(methodCallExpression.Object); 606Expression<Func<DelegateArgument>> funcExpression = Expression.Lambda<Func<DelegateArgument>>(methodCallExpression.Object); 661Expression<Func<DelegateArgument>> funcExpression = Expression.Lambda<Func<DelegateArgument>>(methodCallExpression.Object); 752if (methodCallExpression.Object is MemberExpression) 754MemberExpression member = methodCallExpression.Object as MemberExpression; 1305if (methodCallExpression.Object == null) 1316object[] parameters = new object[] { methodCallExpression.Object, false, throwOnError, null }; 1317error = TryConvertArgumentExpressionHandle.MakeGenericMethod(methodCallExpression.Object.Type).Invoke(null, parameters) as string;
System\Activities\ExpressionUtilities.cs (11)
210return new ArgumentFactory<T>(callExpression.Object, expression.Parameters); 521this.targetObjectFunction = ExpressionUtilities.Compile<object>(callExpression.Object, expression.Parameters); 666callExpression.Object, expression.Parameters); 1041hasChanged |= TryRewriteLambdaExpression(methodCall.Object, out other, publicAccessor); 1456if (TryGetInlinedArgumentReference(originalExpression, originalExpression.Object, out inlinedReference, publicAccessor, isLocationExpression)) 1482if (TryGetInlinedArgumentReference(originalExpression, originalExpression.Object, out inlinedReference, publicAccessor, true)) 1516if (TryGetInlinedLocationReference(originalExpression, originalExpression.Object, out inlinedReference, publicAccessor, isLocationExpression)) 1542if (TryGetInlinedLocationReference(originalExpression, originalExpression.Object, out inlinedReference, publicAccessor, true)) 1697newExpression = Expression.Call(originalExpression.Object, activityContextGetValueGenericMethod.MakeGenericMethod(returnType), Expression.Constant(inlinedReference, typeof(LocationReference))); 1720newExpression = Expression.Call(originalExpression.Object, activityContextGetLocationGenericMethod.MakeGenericMethod(returnType), Expression.Constant(inlinedReference, typeof(LocationReference))); 1965bool hasChanged = TryRewriteLambdaExpression(methodCall.Object, out objectExpression, publicAccessor);
System.Core (19)
Microsoft\Scripting\Ast\DebugViewWriter.cs (2)
774if (node.Object != null) { 775ParenthesizedVisit(node, node.Object);
Microsoft\Scripting\Ast\Expression.DebuggerProxy.cs (1)
312public Expression Object { get { return _node.Object; } }
Microsoft\Scripting\Ast\ExpressionStringBuilder.cs (1)
519Expression ob = node.Object;
Microsoft\Scripting\Ast\ExpressionVisitor.cs (2)
414Expression o = Visit(node.Object); 416if (o == node.Object && a == null) {
Microsoft\Scripting\Ast\MethodCallExpression.cs (2)
94/// <param name="object">The <see cref="Object" /> property of the result.</param> 98if (@object == Object && arguments == Arguments) {
Microsoft\Scripting\Compiler\LambdaCompiler.Address.cs (4)
170node.Object.Type.IsArray && 171node.Method == node.Object.Type.GetMethod("Get", BindingFlags.Public | BindingFlags.Instance)) { 173MethodInfo mi = node.Object.Type.GetMethod("Address", BindingFlags.Public | BindingFlags.Instance); 175EmitMethodCall(node.Object, mi, node);
Microsoft\Scripting\Compiler\LambdaCompiler.Expressions.cs (1)
307EmitMethodCall(node.Object, node.Method, node, flags);
Microsoft\Scripting\Compiler\StackSpiller.cs (2)
416cr.Add(node.Object); 421RequireNotRefInstance(node.Object);
System\Linq\Expressions\ExpressionVisitor.cs (2)
164Expression obj = this.Visit(m.Object); 166if (obj != m.Object || args != m.Arguments) {
System\Linq\SequenceQuery.cs (2)
192Expression obj = this.Visit(m.Object); 196if (obj != m.Object || args != m.Arguments) {
System.Data.Entity (34)
System\Data\Common\Internal\Materialization\CoordinatorScratchpad.cs (6)
399if (test != null && test.Object != null 400&& typeof(DbDataReader).IsAssignableFrom(test.Object.Type) 403if (ifFalse != null && (ifFalse.Object != null && typeof(DbDataReader).IsAssignableFrom(ifFalse.Object.Type) || IsUserExpressionMethod(ifFalse.Method))) 514if (m.Object != null && typeof(DbDataReader).IsAssignableFrom(m.Object.Type))
System\Data\Objects\ELinq\EntityExpressionVisitor.cs (2)
192Expression obj = this.Visit(m.Object); 194if (obj != m.Object || args != m.Arguments)
System\Data\Objects\ELinq\ExpressionConverter.cs (1)
1361Expression inputExpression = call.Object;
System\Data\Objects\ELinq\LinqExpressionNormalizer.cs (4)
267return CreateRelationalOperator(ExpressionType.Equal, m.Object, m.Arguments[0]); 277return CreateCompareExpression(m.Object, m.Arguments[0]); 293return Expression.Call(enumerableContainsMethod, m.Object, m.Arguments[0]); 324result = Expression.Call(callExpression.Object, callExpression.Method, normalizedArguments);
System\Data\Objects\ELinq\MethodCallTranslator.cs (18)
78return ContainsTranslator.TranslateContains(parent, linq.Object, linq.Arguments[0]); 434Debug.Assert(call.Object != null && call.Arguments.Count == 1 && call.Arguments[0] != null && call.Arguments[0].Type.Equals(typeof(string)), "Invalid Include arguments?"); 435CqtExpression queryExpression = parent.TranslateExpression(call.Object); 470Debug.Assert(call.Object != null && call.Arguments.Count == 1 && call.Arguments[0] != null && call.Arguments[0].Type.Equals(typeof(MergeOption)), "Invalid MergeAs arguments?"); 487LinqExpression inputQuery = RemoveConvertToObjectQuery(call.Object); 506Debug.Assert(call.Object != null && call.Arguments.Count == 1 && call.Arguments[0] != null && call.Arguments[0].Type.Equals(typeof(Span)), "Invalid IncludeSpan arguments?"); 509LinqExpression inputQuery = RemoveConvertToObjectQuery(call.Object); 863Debug.Assert(call.Object != null, "Instance method without this"); 865arguments.Add(call.Object); 1019DbFunctionExpression indexOfExpression = parent.TranslateIntoCanonicalFunction(ExpressionConverter.IndexOf, call, call.Arguments[0], call.Object); 1110DbExpression target = parent.TranslateExpression(call.Object); 1147DbExpression thisString = parent.TranslateExpression(call.Object); 1227DbExpression thisString = parent.TranslateExpression(call.Object); 1332return parent.TranslateIntoCanonicalFunction(_canonicalFunctionName, call, call.Object); 1669if (null != call.Object) 1673CqtExpression left = this.TranslateLeft(parent, call.Object); 2023if (null != call.Object) 2027CqtExpression operand = parent.TranslateSet(call.Object);
System\Data\Objects\ELinq\SpatialMethodCallTranslator.cs (3)
239Debug.Assert(call.Object == null, "Static method call with instance argument?"); 244Debug.Assert(call.Object != null, "Instance method call with no instance argument?"); 245arguments = new[] { call.Object }.Concat(call.Arguments).ToArray();
System.Data.Linq (7)
DataShape.cs (1)
197this.Visit(m.Object);
SqlClient\Query\Funcletizer.cs (2)
291Expression obj = this.Visit(m.Object); 293if (obj != m.Object || args != m.Arguments) {
SqlClient\Query\QueryConverter.cs (4)
1908CheckContext(this.VisitExpression(mc.Object)); 1935return this.VisitContains(mc.Object, mc.Arguments[0]); 1939SqlExpression obj = VisitExpression(mc.Object); 1996CheckContext(this.VisitExpression(mc.Object));
System.Data.Services (3)
parent\Client\System\Data\Services\Client\ALinq\ALinqExpressionVisitor.cs (2)
329Expression obj = this.Visit(m.Object); 331if (obj != m.Object || args != m.Arguments)
System\Data\Services\Internal\PropertyAccessVisitor.cs (1)
74return Expression.Call(m.Object, m.Method, operand, m.Arguments[1]);
System.Data.Services.Client (22)
System\Data\Services\Client\ALinq\ALinqExpressionVisitor.cs (2)
329Expression obj = this.Visit(m.Object); 331if (obj != m.Object || args != m.Arguments)
System\Data\Services\Client\ALinq\ExpressionNormalizer.cs (3)
349return CreateRelationalOperator(ExpressionType.Equal, visited.Object, visited.Arguments[0]); 367return CreateCompareExpression(visited.Object, visited.Arguments[0]); 404result = Expression.Call(callExpression.Object, callExpression.Method, normalizedArguments);
System\Data\Services\Client\ALinq\ExpressionWriter.cs (5)
211Debug.Assert(m.Object != null, "m.Object != null"); 215this.Visit(m.Object); 219if (m.Object != null) 221this.Visit(m.Object); 226if (m.Object != null)
System\Data\Services\Client\ALinq\ProjectionAnalyzer.cs (6)
419if ((m.Object != null && IsDisallowedExpressionForMethodCall(m.Object)) 653if ((m.Object != null && IsDisallowedExpressionForMethodCall(m.Object)) 667if ((m.Object != null ? ClientType.CheckElementTypeIsEntity(m.Object.Type) : false)
System\Data\Services\Client\ALinq\ResourceBinder.cs (3)
851Expression obj = StripConvert(mce.Object); 871Expression obj = StripConvert(mce.Object); 901Expression obj = StripConvert(mce.Object);
System\Data\Services\Client\ProjectionPlanCompiler.cs (3)
953Debug.Assert(call.Object == null, "call.Object == null -- otherwise this isn't a call to a static Select method"); 1013Debug.Assert(call.Object == null, "call.Object == null -- otherwise this isn't a call to a static ToList method"); 1037Debug.Assert(call.Object == null, "call.Object == null -- otherwise this isn't the supported Select or ToList methods");