1 write to _exports
ILAssembler (1)
ILAssemblerPEBuilder.cs (1)
126
_exports
= exports.IsDefault ? ImmutableArray<ExportInfo>.Empty : exports;
14 references to _exports
ILAssembler (14)
ILAssemblerPEBuilder.cs (14)
204
if ((
_exports
.Length > 0 || !_dataLabelFixups.IsEmpty || HasTlsData) && !hasRelocationSection)
284
foreach (ExportInfo _ in
_exports
)
352
if (
_exports
.Length > 0)
548
Debug.Assert(_exportStubs.Count ==
_exports
.Length);
550
for (int i = 0; i <
_exports
.Length; i++)
552
ExportInfo export =
_exports
[i];
574
int baseOrdinal =
_exports
.Min(export => export.Ordinal);
575
int maxOrdinal =
_exports
.Max(export => export.Ordinal);
579
ExportInfo[] sortedExports =
_exports
.ToArray();
592
int ordinalTableOffset = checked(namePointerTableOffset + (
_exports
.Length * sizeof(int)));
593
int exportNamesOffset = checked(ordinalTableOffset + (
_exports
.Length * sizeof(ushort)));
605
builder.WriteInt32(
_exports
.Length);
611
for (int i = 0; i <
_exports
.Length; i++)
613
int functionIndex =
_exports
[i].Ordinal - baseOrdinal;