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