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