Header menu logo F# Compiler Guide

ILReaderOptions Type

Record fields

Record Field Description

metadataOnly

Full Usage: metadataOnly

Field type: MetadataOnlyFlag

Only open a metadata reader for the metadata portion of the .NET binary without keeping alive any data associated with the PE reader - IL code will not be available (mdBody in ILMethodDef will return NotAvailable) - Managed resources will be reported back as ILResourceLocation.LocalIn (as always) - Native resources will not be available (none will be returned) - Static data associated with fields will not be available

Field type: MetadataOnlyFlag

pdbDirPath

Full Usage: pdbDirPath

Field type: string option
Field type: string option

reduceMemoryUsage

Full Usage: reduceMemoryUsage

Field type: ReduceMemoryFlag
Field type: ReduceMemoryFlag

tryGetMetadataSnapshot

Full Usage: tryGetMetadataSnapshot

Field type: ILReaderTryGetMetadataSnapshot

A function to call to try to get an object that acts as a snapshot of the metadata section of a .NET binary, and from which we can read the metadata. Only used when metadataOnly=true.

Field type: ILReaderTryGetMetadataSnapshot

Type something to start searching.