33 references to callvirt
ILCompiler.Compiler (25)
Compiler\Dataflow\CompilerGeneratedState.cs (2)
172
case ILOpcode.
callvirt
:
486
case ILOpcode.
callvirt
:
Compiler\Dataflow\MethodBodyScanner.cs (1)
760
case ILOpcode.
callvirt
:
Compiler\SubstitutedILProvider.cs (5)
739
case ILOpcode.
callvirt
:
743
if (opcode == ILOpcode.
callvirt
&& callee.IsVirtual)
808
if (opcode == ILOpcode.call || opcode == ILOpcode.
callvirt
)
815
&& ((opcode != ILOpcode.
callvirt
&& !method.Signature.IsStatic) || !method.IsVirtual))
820
if (((opcode != ILOpcode.
callvirt
&& !method.Signature.IsStatic) || !method.IsVirtual)
Compiler\TypePreinit.cs (2)
479
case ILOpcode.
callvirt
:
525
if (opcode == ILOpcode.
callvirt
)
IL\ILImporter.Scanner.cs (4)
390
if (opcode is (not ILOpcode.call) and (not ILOpcode.
callvirt
)
561
if (opcode is ILOpcode.call or ILOpcode.
callvirt
&& _canonMethod.IsAsyncCall())
601
case ILOpcode.
callvirt
:
816
else if ((opcode != ILOpcode.
callvirt
&& opcode != ILOpcode.ldvirtftn) || resolvedConstraint)
IL\TypeEqualityPatternAnalyzer.cs (1)
162
=> opcode is ILOpcode.call or ILOpcode.
callvirt
&& methodIL.GetObject(reader.PeekILToken()) is MethodDesc method
parent\parent\Common\TypeSystem\IL\ILImporter.cs (2)
154
case ILOpcode.
callvirt
:
609
case ILOpcode.
callvirt
:
parent\parent\Common\TypeSystem\IL\Stubs\DelegateThunks.cs (2)
386
codeStream.Emit(ILOpcode.
callvirt
, emitter.NewToken(_delegateInfo.InvokeMethod.InstantiateAsOpen()));
592
codeStream.Emit(ILOpcode.
callvirt
, emitter.NewToken(invokeMethod));
parent\parent\Common\TypeSystem\IL\Stubs\PInvokeILEmitter.cs (1)
204
callsiteSetupCodeStream.Emit(ILOpcode.
callvirt
, emitter.NewToken(invokeMethod));
parent\parent\Common\TypeSystem\Interop\IL\Marshaller.Aot.cs (4)
1273
codeStream.Emit(ILOpcode.
callvirt
, emitter.NewToken(manageToNativeMethod));
1302
codeStream.Emit(ILOpcode.
callvirt
, emitter.NewToken(marshalNativeToManagedMethod));
1320
codeStream.Emit(ILOpcode.
callvirt
, emitter.NewToken(cleanupManagedDataMethod));
1337
codeStream.Emit(ILOpcode.
callvirt
, emitter.NewToken(cleanupNativeDataMethod));
src\runtime\src\coreclr\tools\Common\Compiler\GenericCycleDetection\GraphBuilder.cs (1)
400
case ILOpcode.
callvirt
:
ILCompiler.ReadyToRun (4)
Compiler\ProfileDataManager.cs (2)
194
if (opcode is ILOpcode.call or ILOpcode.
callvirt
)
207
if (opcode != ILOpcode.
callvirt
&& !isDelegateInvoke)
Compiler\ReadyToRunCompilationModuleGroupBase.cs (1)
691
case ILOpcode.
callvirt
:
src\runtime\src\coreclr\tools\Common\Compiler\GenericCycleDetection\GraphBuilder.cs (1)
400
case ILOpcode.
callvirt
:
ILCompiler.TypeSystem (4)
parent\parent\Common\TypeSystem\IL\ILDisassembler.cs (1)
343
case ILOpcode.
callvirt
:
parent\parent\Common\TypeSystem\IL\ILStackHelper.cs (1)
248
case ILOpcode.
callvirt
:
parent\parent\Common\TypeSystem\IL\ILTokenReplacer.cs (1)
49
case ILOpcode.
callvirt
:
parent\parent\Common\TypeSystem\IL\UnsafeAccessors.cs (1)
771
codeStream.Emit(ILOpcode.
callvirt
, emit.NewToken(context.TargetMethod));