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