CorOpenFlags class Null safety Enum

Contains flag values that control metadata behavior upon opening manifest files.

Constructors

CorOpenFlags()

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
A string representation of this object. [...]
inherited

Operators

operator ==(Object other) bool
The equality operator. [...]
inherited

Constants

ofCacheImage → const int
Obsolete. This flag is ignored.
0x00000004
ofCopyMemory → const int
Indicates that the file should be read into memory. Metadata should maintain its own copy.
0x00000002
ofManifestMetadata → const int
Obsolete. This flag is ignored.
0x00000008
ofNoTransform → const int
Indicates that automatic transforms of .winmd files should be disabled. In other words, the projection of a Windows Runtime type to a .NET Framework type should be disabled.
0x00001000
ofNoTypeLib → const int
Obsolete. This flag is ignored.
0x00000080
ofRead → const int
Indicates that the file should be opened for reading only.
0x00000000
ofReadOnly → const int
Indicates that the file should be opened for reading, and that a call to QueryInterface for an IMetaDataEmit cannot be made.
0x00000010
ofReadWriteMask → const int
A mask for reading and writing.
0x00000001
ofReserved → const int
Reserved for internal use.
0xffffff40
ofReserved1 → const int
Reserved for internal use.
0x00000100
ofReserved2 → const int
Reserved for internal use.
0x00000200
ofTakeOwnership → const int
Indicates that the memory was allocated using a call to CoTaskMemAlloc and will be freed by the metadata.
0x00000020
ofWrite → const int
Indicates that the file should be opened for writing.
0x00000001