9 instantiations of InstructionEncoder
ILAssembler (1)
EntityRegistry.cs (1)
1302public InstructionEncoder MethodBody { get; } = new(new BlobBuilder(), new ControlFlowBuilder());
ILCompiler.Compiler (7)
Compiler\MstatObjectDumper.cs (7)
33private readonly InstructionEncoder _types = new InstructionEncoder(new BlobBuilder()); 34private readonly InstructionEncoder _fieldRvas = new InstructionEncoder(new BlobBuilder()); 35private readonly InstructionEncoder _frozenObjects = new InstructionEncoder(new BlobBuilder()); 36private readonly InstructionEncoder _manifestResources = new InstructionEncoder(new BlobBuilder()); 165var methods = new InstructionEncoder(new BlobBuilder()); 176var blobs = new InstructionEncoder(new BlobBuilder()); 183var deduplicatedMethods = new InstructionEncoder(new BlobBuilder());
System.Reflection.Emit (1)
System\Reflection\Emit\ILGeneratorImpl.cs (1)
44_il = new InstructionEncoder(_builder, _cfBuilder);
23 references to InstructionEncoder
ILAssembler (2)
EntityRegistry.cs (1)
1302public InstructionEncoder MethodBody { get; } = new(new BlobBuilder(), new ControlFlowBuilder());
InstructionEncoderExtensions.cs (1)
12public static void MarkLabel(this InstructionEncoder encoder, LabelHandle label, int ilOffset)
ILCompiler.Compiler (8)
Compiler\MstatObjectDumper.cs (7)
33private readonly InstructionEncoder _types = new InstructionEncoder(new BlobBuilder()); 34private readonly InstructionEncoder _fieldRvas = new InstructionEncoder(new BlobBuilder()); 35private readonly InstructionEncoder _frozenObjects = new InstructionEncoder(new BlobBuilder()); 36private readonly InstructionEncoder _manifestResources = new InstructionEncoder(new BlobBuilder()); 165var methods = new InstructionEncoder(new BlobBuilder()); 176var blobs = new InstructionEncoder(new BlobBuilder()); 183var deduplicatedMethods = new InstructionEncoder(new BlobBuilder());
src\runtime\src\coreclr\tools\Common\TypeSystem\MetadataEmitter\TypeSystemMetadataEmitter.cs (1)
78public MethodDefinitionHandle AddGlobalMethod(string name, InstructionEncoder il, int maxStack)
ILCompiler.ReadyToRun (1)
src\runtime\src\coreclr\tools\Common\TypeSystem\MetadataEmitter\TypeSystemMetadataEmitter.cs (1)
78public MethodDefinitionHandle AddGlobalMethod(string name, InstructionEncoder il, int maxStack)
System.Reflection.Emit (2)
System\Reflection\Emit\ILGeneratorImpl.cs (2)
19private readonly InstructionEncoder _il; 51internal InstructionEncoder Instructions => _il;
System.Reflection.Metadata (10)
System\Reflection\Metadata\Ecma335\Encoding\InstructionEncoder.cs (2)
32/// Must be specified to be able to use some of the control-flow factory methods of <see cref="InstructionEncoder"/>, 435/// Before using this <see cref="InstructionEncoder"/> in any other way,
System\Reflection\Metadata\Ecma335\Encoding\MethodBodyStreamEncoder.cs (2)
138InstructionEncoder instructionEncoder, 161InstructionEncoder instructionEncoder,
System\Reflection\Metadata\Ecma335\Encoding\SwitchInstructionEncoder.cs (4)
12/// See <see cref="InstructionEncoder.Switch(int)"/> for usage guidelines. 16private readonly InstructionEncoder _encoder; 20internal SwitchInstructionEncoder(InstructionEncoder encoder, int ilOffset, int instructionEnd) 32/// See <see cref="InstructionEncoder.Switch(int)"/> for usage guidelines.
System\Reflection\Metadata\Ecma335\MetadataBuilder.Heaps.cs (2)
468/// Handle may be used in <see cref="InstructionEncoder.LoadString(UserStringHandle)"/>. 492/// May be used in <see cref="InstructionEncoder.LoadString(UserStringHandle)"/>.