Method Comdat
Comdat(GlobalObject, string)
Sets a named Comdat for a GlobalObject
public static GlobalObject Comdat(this GlobalObject self, string name)
Parameters
self
GlobalObjectGlobal to get the Comdat for
name
stringname of the ComDat
Returns
- GlobalObject
self
for fluent use
Remarks
This finds a Comdat in the ParentModule of the object if it exists or creates a new one if it doesn't and assigns the Comdat property with the Comdat.
Comdat(GlobalObject, string, ComdatKind)
Sets a named Comdat for a GlobalObject
public static GlobalObject Comdat(this GlobalObject self, string name, ComdatKind kind)
Parameters
self
GlobalObjectGlobal to get the Comdat for
name
stringname of the Comdat
kind
ComdatKindId of Comdat to create if it doesn't exist already
Returns
- GlobalObject
self
for fluent use
Remarks
This finds a Comdat in the ParentModule of the object if it exists or creates a new one if it doesn't and assigns the Comdat property with the Comdat.
- See Also