9 instantiations of InstructionEncoder
ILAssembler (1)
EntityRegistry.cs (1)
1302
public InstructionEncoder MethodBody { get; } =
new
(new BlobBuilder(), new ControlFlowBuilder());
ILCompiler.Compiler (7)
Compiler\MstatObjectDumper.cs (7)
33
private readonly InstructionEncoder _types = new
InstructionEncoder
(new BlobBuilder());
34
private readonly InstructionEncoder _fieldRvas = new
InstructionEncoder
(new BlobBuilder());
35
private readonly InstructionEncoder _frozenObjects = new
InstructionEncoder
(new BlobBuilder());
36
private readonly InstructionEncoder _manifestResources = new
InstructionEncoder
(new BlobBuilder());
165
var methods = new
InstructionEncoder
(new BlobBuilder());
176
var blobs = new
InstructionEncoder
(new BlobBuilder());
183
var 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)
1302
public
InstructionEncoder
MethodBody { get; } = new(new BlobBuilder(), new ControlFlowBuilder());
InstructionEncoderExtensions.cs (1)
12
public static void MarkLabel(this
InstructionEncoder
encoder, LabelHandle label, int ilOffset)
ILCompiler.Compiler (8)
Compiler\MstatObjectDumper.cs (7)
33
private readonly
InstructionEncoder
_types = new InstructionEncoder(new BlobBuilder());
34
private readonly
InstructionEncoder
_fieldRvas = new InstructionEncoder(new BlobBuilder());
35
private readonly
InstructionEncoder
_frozenObjects = new InstructionEncoder(new BlobBuilder());
36
private readonly
InstructionEncoder
_manifestResources = new InstructionEncoder(new BlobBuilder());
165
var
methods = new InstructionEncoder(new BlobBuilder());
176
var
blobs = new InstructionEncoder(new BlobBuilder());
183
var
deduplicatedMethods = new InstructionEncoder(new BlobBuilder());
src\runtime\src\coreclr\tools\Common\TypeSystem\MetadataEmitter\TypeSystemMetadataEmitter.cs (1)
78
public MethodDefinitionHandle AddGlobalMethod(string name,
InstructionEncoder
il, int maxStack)
ILCompiler.ReadyToRun (1)
src\runtime\src\coreclr\tools\Common\TypeSystem\MetadataEmitter\TypeSystemMetadataEmitter.cs (1)
78
public MethodDefinitionHandle AddGlobalMethod(string name,
InstructionEncoder
il, int maxStack)
System.Reflection.Emit (2)
System\Reflection\Emit\ILGeneratorImpl.cs (2)
19
private readonly
InstructionEncoder
_il;
51
internal
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)
138
InstructionEncoder
instructionEncoder,
161
InstructionEncoder
instructionEncoder,
System\Reflection\Metadata\Ecma335\Encoding\SwitchInstructionEncoder.cs (4)
12
/// See <see cref="
InstructionEncoder
.Switch(int)"/> for usage guidelines.
16
private readonly
InstructionEncoder
_encoder;
20
internal 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)"/>.