34 references to ldarg_0
ILCompiler.Compiler (21)
Compiler\Dataflow\MethodBodyScanner.cs (2)
486case ILOpcode.ldarg_0: 499_ => opcode - ILOpcode.ldarg_0
Compiler\TypePreinit.cs (2)
972case ILOpcode.ldarg_0: 983_ => opcode - ILOpcode.ldarg_0,
IL\Stubs\StartupCode\StartupCodeMainMethod.cs (1)
91codeStream.Emit(ILOpcode.ldarg_0); // argc
IL\TypeEqualityPatternAnalyzer.cs (1)
166=> opcode is (>= ILOpcode.ldloc_0 and <= ILOpcode.ldloc_3) or (>= ILOpcode.ldarg_0 and <= ILOpcode.ldarg_3)
parent\parent\Common\TypeSystem\IL\ILImporter.cs (2)
370case ILOpcode.ldarg_0: 374ImportLoadVar(opCode - ILOpcode.ldarg_0, true);
parent\parent\Common\TypeSystem\IL\NativeAotILProvider.cs (2)
205(byte)ILOpcode.ldarg_0, 243(byte)ILOpcode.ldarg_0,
parent\parent\Common\TypeSystem\IL\Stubs\UnsafeIntrinsics.cs (11)
24return new ILStubMethodIL(method, new byte[] { (byte)ILOpcode.ldarg_0, (byte)ILOpcode.conv_u, (byte)ILOpcode.ret }, Array.Empty<LocalVariableDefinition>(), null); 27return new ILStubMethodIL(method, new byte[] { (byte)ILOpcode.ldarg_0, (byte)ILOpcode.ret }, Array.Empty<LocalVariableDefinition>(), null); 31return new ILStubMethodIL(method, new byte[] { (byte)ILOpcode.ldarg_0, (byte)ILOpcode.ldarg_1, (byte)ILOpcode.add, (byte)ILOpcode.ret }, Array.Empty<LocalVariableDefinition>(), null); 53(byte)ILOpcode.ldarg_0, (byte)ILOpcode.ldarg_1, 59(byte)ILOpcode.ldarg_0, (byte)ILOpcode.ldarg_1, 65(byte)ILOpcode.ldarg_0, (byte)ILOpcode.ldarg_1, 71(byte)ILOpcode.ldarg_1, (byte)ILOpcode.ldarg_0, 82(byte)ILOpcode.ldarg_0, 91return new ILStubMethodIL(method, new byte[] { (byte)ILOpcode.ldarg_0, (byte)ILOpcode.ldarg_1, (byte)ILOpcode.sub, (byte)ILOpcode.ret }, Array.Empty<LocalVariableDefinition>(), null); 111codeStream.Emit(ILOpcode.ldarg_0); 126codeStream.Emit(ILOpcode.ldarg_0);
ILCompiler.ReadyToRun (11)
parent\parent\Common\TypeSystem\IL\Stubs\UnsafeIntrinsics.cs (11)
24return new ILStubMethodIL(method, new byte[] { (byte)ILOpcode.ldarg_0, (byte)ILOpcode.conv_u, (byte)ILOpcode.ret }, Array.Empty<LocalVariableDefinition>(), null); 27return new ILStubMethodIL(method, new byte[] { (byte)ILOpcode.ldarg_0, (byte)ILOpcode.ret }, Array.Empty<LocalVariableDefinition>(), null); 31return new ILStubMethodIL(method, new byte[] { (byte)ILOpcode.ldarg_0, (byte)ILOpcode.ldarg_1, (byte)ILOpcode.add, (byte)ILOpcode.ret }, Array.Empty<LocalVariableDefinition>(), null); 53(byte)ILOpcode.ldarg_0, (byte)ILOpcode.ldarg_1, 59(byte)ILOpcode.ldarg_0, (byte)ILOpcode.ldarg_1, 65(byte)ILOpcode.ldarg_0, (byte)ILOpcode.ldarg_1, 71(byte)ILOpcode.ldarg_1, (byte)ILOpcode.ldarg_0, 82(byte)ILOpcode.ldarg_0, 91return new ILStubMethodIL(method, new byte[] { (byte)ILOpcode.ldarg_0, (byte)ILOpcode.ldarg_1, (byte)ILOpcode.sub, (byte)ILOpcode.ret }, Array.Empty<LocalVariableDefinition>(), null); 111codeStream.Emit(ILOpcode.ldarg_0); 126codeStream.Emit(ILOpcode.ldarg_0);
ILCompiler.TypeSystem (2)
parent\parent\Common\TypeSystem\IL\ILStackHelper.cs (1)
102case ILOpcode.ldarg_0:
parent\parent\Common\TypeSystem\IL\Stubs\ILEmitter.cs (1)
118Emit((ILOpcode)(ILOpcode.ldarg_0 + index));