30 references to ldtoken
ILCompiler.Compiler (21)
Compiler\Dataflow\CompilerGeneratedState.cs (2)
170
case ILOpcode.
ldtoken
:
484
case ILOpcode.
ldtoken
:
Compiler\Dataflow\MethodBodyScanner.cs (1)
529
case ILOpcode.
ldtoken
:
Compiler\SubstitutedILProvider.cs (1)
1117
if (opcode != ILOpcode.
ldtoken
)
Compiler\TypePreinit.cs (1)
1006
case ILOpcode.
ldtoken
:
IL\RvaIntrinsicPatternAnalyzer.cs (2)
61
else if (opcode == ILOpcode.
ldtoken
)
82
if (opcode == ILOpcode.
ldtoken
)
IL\Stubs\StartupCode\StartupCodeMainMethod.cs (1)
101
codeStream.Emit(ILOpcode.
ldtoken
, emitter.NewToken(entrypointModule.GetGlobalModuleType()));
IL\TypeEqualityPatternAnalyzer.cs (2)
77
if (opcode == ILOpcode.
ldtoken
)
87
if (opcode == ILOpcode.
ldtoken
)
parent\parent\Common\TypeSystem\IL\ILImporter.cs (2)
177
case ILOpcode.
ldtoken
:
800
case ILOpcode.
ldtoken
:
parent\parent\Common\TypeSystem\IL\Stubs\AssemblyGetExecutingAssemblyMethodThunk.cs (1)
79
codeStream.Emit(ILOpcode.
ldtoken
, emit.NewToken(moduleType));
parent\parent\Common\TypeSystem\IL\Stubs\GetCanonTypeIntrinsic.cs (1)
27
codeStream.Emit(ILOpcode.
ldtoken
, emitter.NewToken(context.CanonType));
parent\parent\Common\TypeSystem\IL\Stubs\MethodBaseGetCurrentMethodThunk.cs (2)
76
codeStream.Emit(ILOpcode.
ldtoken
, emit.NewToken(Method));
81
codeStream.Emit(ILOpcode.
ldtoken
, emit.NewToken(Method.OwningType));
parent\parent\Common\TypeSystem\Interop\IL\Marshaller.Aot.cs (4)
683
codeStream.Emit(ILOpcode.
ldtoken
, emitter.NewToken(ManagedType));
785
codeStream.Emit(ILOpcode.
ldtoken
, emitter.NewToken(ManagedType));
1243
fnptrLoadStream.Emit(ILOpcode.
ldtoken
, emitter.NewToken(ManagedType));
1244
fnptrLoadStream.Emit(ILOpcode.
ldtoken
, emitter.NewToken(marshallerType));
src\runtime\src\coreclr\tools\Common\Compiler\GenericCycleDetection\GraphBuilder.cs (1)
420
case ILOpcode.
ldtoken
:
ILCompiler.ReadyToRun (4)
Compiler\ReadyToRunCompilationModuleGroupBase.cs (1)
698
case ILOpcode.
ldtoken
:
IBC\MIbcProfileParser.cs (2)
210
case ILOpcode.
ldtoken
:
382
case ILOpcode.
ldtoken
:
src\runtime\src\coreclr\tools\Common\Compiler\GenericCycleDetection\GraphBuilder.cs (1)
420
case ILOpcode.
ldtoken
:
ILCompiler.RyuJit (2)
parent\ILCompiler.ReadyToRun\IBC\MIbcProfileParser.cs (2)
210
case ILOpcode.
ldtoken
:
382
case ILOpcode.
ldtoken
:
ILCompiler.TypeSystem (3)
parent\parent\Common\TypeSystem\IL\ILDisassembler.cs (1)
366
case ILOpcode.
ldtoken
:
parent\parent\Common\TypeSystem\IL\ILStackHelper.cs (1)
100
case ILOpcode.
ldtoken
:
parent\parent\Common\TypeSystem\IL\ILTokenReplacer.cs (1)
72
case ILOpcode.
ldtoken
: