ICorProfilerInfo8::IsFunctionDynamic Method
Determines if a function does not have associated metadata.
Syntax
HRESULT IsFunctionDynamic( [in] FunctionID functionId,
[out] BOOL *isDynamic);
Parameters
functionId
[in] The FunctionID
that identifies the function in question.
isDynamic
[out] A pointer to a BOOL
that will contain a value indicating if the function has no metadata.
Remarks
A function is considered dynamic if it has no metadata. Certain methods like IL Stubs or LCG Methods do not have associated metadata that can be retrieved using the IMetaDataImport APIs. These methods can be encountered by profilers through instruction pointers or by listening to ICorProfilerCallback::DynamicMethodJITCompilationStarted.
Requirements
Platforms: See System Requirements.
Header: CorProf.idl, CorProf.h
Library: CorGuids.lib
.NET Framework Versions: Available since 4.7.2