111 references to Call
mscorlib (22)
system\reflection\emit\dynamicilgenerator.cs (1)
318
if (!(opcode.Equals(OpCodes.
Call
) || opcode.Equals(OpCodes.Callvirt) || opcode.Equals(OpCodes.Newobj)))
system\reflection\emit\ilgenerator.cs (7)
492
if (opcode.Equals(OpCodes.
Call
) || opcode.Equals(OpCodes.Callvirt) || opcode.Equals(OpCodes.Newobj))
612
if (!(opcode.Equals(OpCodes.
Call
) || opcode.Equals(OpCodes.Callvirt) || opcode.Equals(OpCodes.Newobj)))
700
Contract.Assert(opcode.Equals(OpCodes.
Call
) ||
708
Contract.Assert(opcode.Equals(OpCodes.
Call
) ||
1189
Emit(OpCodes.
Call
, mi);
1206
Emit(OpCodes.
Call
, prop);
1238
Emit(OpCodes.
Call
, prop);
system\reflection\emit\typebuilder.cs (1)
1838
il.Emit(OpCodes.
Call
,con);
system\runtime\interopservices\tceadaptergen\eventproviderwriter.cs (12)
157
il.Emit(OpCodes.
Call
, MonitorEnterMethod);
168
il.Emit( OpCodes.
Call
, mbInitSrcItf );
224
il.Emit( OpCodes.
Call
, MonitorExitMethod );
321
il.Emit(OpCodes.
Call
, MonitorEnterMethod);
401
il.Emit( OpCodes.
Call
, ReleaseComObjectMethod );
450
il.Emit(OpCodes.
Call
, MonitorExitMethod);
524
il.Emit( OpCodes.
Call
, ByteArrayGUIDCons );
571
il.Emit( OpCodes.
Call
, DefaultBaseClsCons );
639
il.Emit(OpCodes.
Call
, MonitorEnterMethod);
708
il.Emit( OpCodes.
Call
, ReleaseComObjectMethod );
730
il.Emit(OpCodes.
Call
, MonitorExitMethod);
762
il.Emit( OpCodes.
Call
, SuppressFinalizeMethod );
system\runtime\interopservices\tceadaptergen\eventsinkhelperwriter.cs (1)
271
il.Emit( OpCodes.
Call
, DefaultBaseClsCons );
System (3)
regex\system\text\regularexpressions\RegexCompiler.cs (3)
548
_ilg.Emit(OpCodes.
Call
, mt);
3208
_ilg.Emit(OpCodes.
Call
, typeof(Regex).GetConstructor(BindingFlags.Public | BindingFlags.NonPublic | BindingFlags.Instance,
3285
_ilg.Emit(OpCodes.
Call
, defCtorBuilder);
System.Activities (1)
System\Activities\Debugger\StateManager.cs (1)
672
ilGenerator.EmitCall(OpCodes.
Call
, islandWorkerMethodInfo, null);
System.Configuration (2)
System\Configuration\TypeUtil.cs (2)
137
ilGen.Emit(OpCodes.
Call
, typeof(Activator).GetMethod("CreateInstance", new Type[] { typeof(Type), typeof(bool) })); // stack = { retVal }
166
ilGen.Emit(OpCodes.
Call
, typeof(Delegate).GetMethod("CreateDelegate", new Type[] { typeof(Type), typeof(MethodInfo) })); // stack = { retVal }
System.Core (17)
Microsoft\Scripting\Compiler\CompilerScope.cs (2)
202
lc.IL.Emit(OpCodes.
Call
, typeof(RuntimeOps).GetMethod("CreateRuntimeVariables", new[] { typeof(object[]), typeof(long[]) }));
208
lc.IL.Emit(OpCodes.
Call
, typeof(RuntimeOps).GetMethod("CreateRuntimeVariables", Type.EmptyTypes));
Microsoft\Scripting\Compiler\ILGen.cs (6)
257
il.Emit(OpCodes.
Call
, typeof(Type).GetMethod("GetTypeFromHandle"));
515
il.Emit(OpCodes.
Call
, typeof(MethodBase).GetMethod("GetMethodFromHandle", new Type[] { typeof(RuntimeMethodHandle), typeof(RuntimeTypeHandle) }));
517
il.Emit(OpCodes.
Call
, typeof(MethodBase).GetMethod("GetMethodFromHandle", new Type[] { typeof(RuntimeMethodHandle) }));
869
il.Emit(OpCodes.
Call
, mi);
876
il.Emit(OpCodes.
Call
, mi);
883
il.Emit(OpCodes.
Call
, mi);
Microsoft\Scripting\Compiler\LambdaCompiler.Expressions.cs (4)
279
_ilg.Emit(OpCodes.
Call
, node.Object.Type.GetMethod("Get", BindingFlags.Public | BindingFlags.Instance));
293
_ilg.Emit(OpCodes.
Call
, node.Object.Type.GetMethod("Set", BindingFlags.Public | BindingFlags.Instance));
345
OpCode callOp = UseVirtual(mi) ? OpCodes.Callvirt : OpCodes.
Call
;
382
OpCode callOp = UseVirtual(method) ? OpCodes.Callvirt : OpCodes.
Call
;
Microsoft\Scripting\Compiler\LambdaCompiler.Logical.cs (4)
285
_ilg.Emit(OpCodes.
Call
, opFalse);
303
_ilg.Emit(OpCodes.
Call
, b.Method);
412
_ilg.Emit(OpCodes.
Call
, opTrue);
430
_ilg.Emit(OpCodes.
Call
, b.Method);
Microsoft\Scripting\Compiler\LambdaCompiler.Unary.cs (1)
49
_ilg.Emit(OpCodes.
Call
, typeof(RuntimeOps).GetMethod("Quote"));
System.Data.Entity (30)
System\Data\Metadata\Edm\LightweightCodeGenerator.cs (6)
228
gen.Emit(mi.IsVirtual ? OpCodes.Callvirt : OpCodes.
Call
, mi);
242
gen.Emit(OpCodes.
Call
, realType.GetMethod("get_HasValue"));
246
gen.Emit(OpCodes.
Call
, realType.GetMethod("get_Value"));
376
gen.Emit(mi.IsVirtual ? OpCodes.Callvirt : OpCodes.
Call
, mi); // .Property =
385
gen.Emit(OpCodes.
Call
, typeof(Type).GetMethod("GetTypeFromHandle", BindingFlags.Static | BindingFlags.Public));
389
gen.Emit(OpCodes.
Call
, typeof(EntityUtil).GetMethod("ThrowSetInvalidValue", BindingFlags.Static | BindingFlags.NonPublic, null, new Type[] { typeof(object),typeof(Type),typeof(string),typeof(string)},null));
System\Data\Objects\Internal\EntityProxyFactory.cs (24)
747
gen.Emit(OpCodes.
Call
, baseGetter);
767
generator.Emit(OpCodes.
Call
, baseSetter);
906
generator.Emit(OpCodes.
Call
, baseGetter); // call to base property getter
915
generator.Emit(OpCodes.
Call
, baseGetter); // call to base property getter
994
gen.Emit(OpCodes.
Call
, s_StringEquals);
997
gen.Emit(OpCodes.
Call
, _baseGetters[i].GetGetMethod(true));
1017
gen.Emit(OpCodes.
Call
, s_StringEquals);
1022
gen.Emit(OpCodes.
Call
, _baseSetters[i].GetSetMethod(true));
1261
generator.Emit(OpCodes.
Call
, baseGetter);
1270
generator.Emit(OpCodes.
Call
, baseGetter);
1282
generator.Emit(OpCodes.
Call
, baseGetter);
1284
generator.Emit(OpCodes.
Call
, op_inequality);
1291
generator.Emit(OpCodes.
Call
, baseGetter);
1301
generator.Emit(OpCodes.
Call
, s_ObjectEquals);
1328
generator.Emit(OpCodes.
Call
, _entityMemberChanging);
1331
generator.Emit(OpCodes.
Call
, baseSetter);
1334
generator.Emit(OpCodes.
Call
, _entityMemberChanged);
1381
generator.Emit(OpCodes.
Call
, _getRelationshipManager);
1392
generator.Emit(OpCodes.
Call
, baseProperty.GetSetMethod(true));
1461
generator.Emit(OpCodes.
Call
, s_CreateRelationshipManager);
1644
generator.Emit(OpCodes.
Call
, getTypeFromHandle);
1652
generator.Emit(OpCodes.
Call
, _getObjectDataMethod);
1674
generator.Emit(OpCodes.
Call
, _serializationConstructor);
1683
generator.Emit(OpCodes.
Call
, getTypeFromHandle);
System.Data.Linq (18)
Mapping\Accessors.cs (1)
118
gen.Emit(OpCodes.
Call
, pi.GetSetMethod(true));
SqlClient\Reader\ObjectReaderCompiler.cs (17)
929
return (mi.IsStatic || mi.DeclaringType.IsValueType) ? OpCodes.
Call
: OpCodes.Callvirt;
1354
gen.Emit(OpCodes.
Call
, miCreateGroup);
1602
gen.Emit(OpCodes.
Call
, miCast);
1609
gen.Emit(OpCodes.
Call
, miConvert);
1617
gen.Emit(OpCodes.
Call
, miFirst);
1653
gen.Emit(OpCodes.
Call
, miFirst);
1669
gen.Emit(OpCodes.
Call
, miAsQueryable);
1687
gen.Emit(OpCodes.
Call
, miAsQueryable);
1703
gen.Emit(OpCodes.
Call
, miCreateOrderedEnumerable);
1750
gen.Emit(OpCodes.
Call
, miToArray);
1783
gen.Emit(OpCodes.
Call
, miGetTypeFromHandle);
1786
gen.Emit(OpCodes.
Call
, miChangeType);
2088
gen.Emit(OpCodes.
Call
, typeof(Type).GetMethod(
2095
gen.Emit(OpCodes.
Call
, mi);
2143
gen.Emit(OpCodes.
Call
, mi);
2148
gen.Emit(OpCodes.
Call
, mi);
2153
gen.Emit(OpCodes.
Call
, mi);
System.Data.Services (4)
System\Data\Services\Providers\ObjectContextServiceProvider.cs (1)
2363
generator.Emit(System.Reflection.Emit.OpCodes.
Call
, genericMethod);
System\Data\Services\Providers\ReflectionServiceProvider.cs (1)
323
generator.Emit(System.Reflection.Emit.OpCodes.
Call
, getValueMethod);
System\Data\Services\Serializers\SyndicationSerializer.cs (2)
802
generator.Emit(OpCodes.
Call
, resourceType.GetPropertyInfo(property).GetGetMethod());
811
generator.Emit(OpCodes.
Call
, methodWritePrimitiveValue);
System.Data.SqlXml (3)
System\Xml\Xsl\IlGen\GenerateHelper.cs (3)
809
OpCode opcode = meth.IsVirtual || meth.IsAbstract ? OpCodes.Callvirt : OpCodes.
Call
;
831
OpCode opcode = meth.IsVirtual || meth.IsAbstract ? OpCodes.Callvirt : OpCodes.
Call
;
1574
Debug.Assert(!opcode.Equals(OpCodes.
Call
) && !opcode.Equals(OpCodes.Callvirt), "Use Call so that debug information will be output correctly.");
System.Runtime.Serialization (4)
System\Runtime\Serialization\CodeGenerator.cs (4)
644
ilGen.Emit(OpCodes.
Call
, methodInfo);
650
ilGen.Emit(OpCodes.
Call
, methodInfo);
658
ilGen.Emit(OpCodes.
Call
, ctor);
1749
ilGen.Emit(OpCodes.
Call
, XmlFormatGeneratorStatics.TraceInstructionMethod);
System.ServiceModel (3)
System\ServiceModel\Dispatcher\CodeGenerator.cs (3)
266
ilGen.Emit(OpCodes.
Call
, methodInfo);
272
ilGen.Emit(OpCodes.
Call
, methodInfo);
1090
ilGen.Emit(OpCodes.
Call
, OperationInvokerTrace.TraceInstructionMethod);
System.Web.Extensions (2)
UI\WebControls\Dynamic.cs (2)
383
gen.EmitCall(OpCodes.
Call
, ct.GetMethod("get_Default"), null);
408
gen.EmitCall(OpCodes.
Call
, ct.GetMethod("get_Default"), null);
System.Xml (2)
System\Xml\Serialization\CodeGenerator.cs (2)
614
ilGen.Emit(OpCodes.
Call
, methodInfo);
619
ilGen.Emit(OpCodes.
Call
, ctor);