Table of Contents

Struct Comdat

Namespace
Ubiquity.NET.Llvm
Assembly
Ubiquity.NET.Llvm.dll

Comdat entry for a module

public readonly struct Comdat : IEquatable<Comdat>
Implements
Inherited Members

Remarks

A COMDAT is a named kind pair to ensure that, within a given module there are no two named COMDATs with different kinds. Ultimately, Comdat is 'owned' by the module, if the module is disposed the Comdats it owns are invalidated. Using a Comdat instance after the module is disposed results in an effective NOP.

Properties

IsNull

Gets a value indicating whether this instance represents a NULL/Invalid Comdat

Kind

Gets or sets the ComdatKind for this Comdat

Name

Gets the name of the Comdat

Methods

Equals(object?)

Indicates whether this instance and a specified object are equal.

Equals(Comdat)

Indicates whether the current object is equal to another object of the same type.

GetHashCode()

Returns the hash code for this instance.

Operators

operator ==(Comdat, Comdat)

Compare two instances for equality

operator !=(Comdat, Comdat)

Compare two instances for equality