60 references to Callvirt
mscorlib (20)
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 (6)
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)))
701
opcode.Equals(OpCodes.
Callvirt
),
709
opcode.Equals(OpCodes.
Callvirt
) ||
1219
Emit(OpCodes.
Callvirt
, mi);
1256
Emit(OpCodes.
Callvirt
, mi);
system\runtime\interopservices\tceadaptergen\eventproviderwriter.cs (12)
190
il.Emit( OpCodes.
Callvirt
, CPAdviseMethod );
210
il.Emit( OpCodes.
Callvirt
, ArrayListAddMethod );
334
il.Emit( OpCodes.
Callvirt
, ArrayListSizeGetMethod );
353
il.Emit( OpCodes.
Callvirt
, ArrayListItemGetMethod );
370
il.Emit( OpCodes.
Callvirt
, DelegateEqualsMethod );
381
il.Emit( OpCodes.
Callvirt
, ArrayListRemoveMethod );
389
il.Emit( OpCodes.
Callvirt
, CPUnadviseMethod );
532
il.Emit( OpCodes.
Callvirt
, CPCFindCPMethod );
657
il.Emit( OpCodes.
Callvirt
, ArrayListSizeGetMethod );
676
il.Emit( OpCodes.
Callvirt
, ArrayListItemGetMethod );
686
il.Emit( OpCodes.
Callvirt
, CPUnadviseMethod );
757
il.Emit( OpCodes.
Callvirt
, FinalizeMethod );
system\runtime\interopservices\tceadaptergen\eventsinkhelperwriter.cs (1)
179
il.Emit( OpCodes.
Callvirt
, DelegateInvokeMethod );
System (1)
regex\system\text\regularexpressions\RegexCompiler.cs (1)
541
_ilg.Emit(OpCodes.
Callvirt
, mt);
System.Core (8)
Microsoft\Scripting\Compiler\LambdaCompiler.Expressions.cs (5)
345
OpCode callOp = UseVirtual(mi) ? OpCodes.
Callvirt
: OpCodes.Call;
346
if (callOp == OpCodes.
Callvirt
&& objectType.IsValueType) {
382
OpCode callOp = UseVirtual(method) ? OpCodes.
Callvirt
: OpCodes.Call;
383
if (callOp == OpCodes.
Callvirt
&& objectType.IsValueType) {
510
_ilg.Emit(OpCodes.
Callvirt
, invoke);
Microsoft\Scripting\Compiler\LambdaCompiler.Lambda.cs (1)
104
_ilg.Emit(OpCodes.
Callvirt
, typeof(MethodInfo).GetMethod("CreateDelegate", new Type[] { typeof(Type), typeof(object) }));
Microsoft\Scripting\Compiler\LambdaCompiler.Logical.cs (2)
141
_ilg.Emit(OpCodes.
Callvirt
, b.Conversion.Type.GetMethod("Invoke"));
187
_ilg.Emit(OpCodes.
Callvirt
, b.Conversion.Type.GetMethod("Invoke"));
System.Data.Entity (19)
System\Data\Metadata\Edm\LightweightCodeGenerator.cs (4)
137
gen.Emit(OpCodes.
Callvirt
, mi); // .Property =
228
gen.Emit(mi.IsVirtual ? OpCodes.
Callvirt
: OpCodes.Call, mi);
376
gen.Emit(mi.IsVirtual ? OpCodes.
Callvirt
: OpCodes.Call, mi); // .Property =
445
gen.Emit(OpCodes.
Callvirt
, typeof(ReflectionPermission).GetMethod("Demand"));
System\Data\Objects\Internal\EntityProxyFactory.cs (15)
912
generator.Emit(OpCodes.
Callvirt
, interceptorInvoke); // call to interceptor delegate with (this, value)
1165
generator.Emit(OpCodes.
Callvirt
, s_IEntityWrapper_GetEntity);
1169
generator.Emit(OpCodes.
Callvirt
, s_GetRelationshipManager);
1181
generator.Emit(OpCodes.
Callvirt
, getRelatedCollection);
1182
generator.Emit(OpCodes.
Callvirt
, navProperty.Value.GetSetMethod(true));
1272
generator.Emit(OpCodes.
Callvirt
, s_Func_object_object_bool_Invoke);
1338
generator.Emit(OpCodes.
Callvirt
, s_Action_Invoke);
1357
generator.Emit(OpCodes.
Callvirt
, _getRelationshipManager);
1360
generator.Emit(OpCodes.
Callvirt
, specificGetRelatedReference);
1362
generator.Emit(OpCodes.
Callvirt
, specificEntityReferenceSetValue);
1384
generator.Emit(OpCodes.
Callvirt
, s_GetRelatedEnd);
1416
generator.Emit(OpCodes.
Callvirt
, s_EntityMemberChanging);
1430
generator.Emit(OpCodes.
Callvirt
, s_EntityMemberChanged);
1645
generator.Emit(OpCodes.
Callvirt
, addValue);
1684
generator.Emit(OpCodes.
Callvirt
, getValue);
System.Data.Linq (2)
SqlClient\Reader\ObjectReaderCompiler.cs (2)
917
if (mc.Object != null && TypeSystem.IsNullableType(mc.Object.ClrType) && callOpCode == OpCodes.
Callvirt
){
929
return (mi.IsStatic || mi.DeclaringType.IsValueType) ? OpCodes.Call : OpCodes.
Callvirt
;
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 (1)
System\Runtime\Serialization\CodeGenerator.cs (1)
638
ilGen.Emit(OpCodes.
Callvirt
, methodInfo);
System.ServiceModel (1)
System\ServiceModel\Dispatcher\CodeGenerator.cs (1)
260
ilGen.Emit(OpCodes.
Callvirt
, methodInfo);
System.Web (2)
Util\FastPropertyAccessor.cs (2)
138
il.EmitCall(OpCodes.
Callvirt
, getterMethodInfo, null);
239
il.EmitCall(OpCodes.
Callvirt
, setterMethodInfo, null);
System.Web.Extensions (2)
UI\WebControls\Dynamic.cs (2)
388
gen.EmitCall(OpCodes.
Callvirt
, ct.GetMethod("Equals", new Type[] { ft, ft }), null);
411
gen.EmitCall(OpCodes.
Callvirt
, ct.GetMethod("GetHashCode", new Type[] { ft }), null);
System.Xml (1)
System\Xml\Serialization\CodeGenerator.cs (1)
612
ilGen.Emit(OpCodes.
Callvirt
, methodInfo);