PublicApiMetadataOrigin Class
Identifies the metadata entity a symbol was read from. A metadata token is only meaningful within the module that owns it, so it is always paired with the module version ID (MVID). Tokens are not stable across builds.
public sealed class PublicApiMetadataOrigin : IEquatable<PublicApiMetadataOrigin>- Implements
Constructors
| Name | Description |
|---|---|
| PublicApiMetadataOrigin(Guid, string, int) | Identifies the metadata entity a symbol was read from. A metadata token is only meaningful within the module that owns it, so it is always paired with the module version ID (MVID). Tokens are not stable across builds. |
PublicApiMetadataOrigin(Guid, string, int)
PublicApiMetadataOrigin.csIdentifies the metadata entity a symbol was read from. A metadata token is only meaningful within the module that owns it, so it is always paired with the module version ID (MVID). Tokens are not stable across builds.
Properties
| Name | Description |
|---|---|
| MetadataToken | The metadata token of the entity (e.g. a TypeDef, MethodDef, Field, Property or Event token). |
| ModuleName | The name of the module that defines the entity (e.g. MyLibrary.dll). |
| ModuleVersionId | The MVID of the module that defines the entity. |
MetadataToken
PublicApiMetadataOrigin.csModuleName
PublicApiMetadataOrigin.csModuleVersionId
PublicApiMetadataOrigin.csMethods
| Name | Description |
|---|---|
| Deconstruct(Guid, string, int) | |
| Equals(PublicApiMetadataOrigin?) | |
| Equals(object?) | |
| GetHashCode() | |
| ToString() |
Deconstruct(Guid, string, int)
Equals overloads
Equals(PublicApiMetadataOrigin?)
public bool Equals(PublicApiMetadataOrigin? other)No documentation is available.
Equals(object?)
GetHashCode()
ToString()
Operators
| Name | Description |
|---|---|
| operator ==(PublicApiMetadataOrigin?, PublicApiMetadataOrigin?) | |
| operator !=(PublicApiMetadataOrigin?, PublicApiMetadataOrigin?) |
operator ==(PublicApiMetadataOrigin?, PublicApiMetadataOrigin?)
public static bool operator ==(PublicApiMetadataOrigin? left, PublicApiMetadataOrigin? right)No documentation is available.
operator !=(PublicApiMetadataOrigin?, PublicApiMetadataOrigin?)
public static bool operator !=(PublicApiMetadataOrigin? left, PublicApiMetadataOrigin? right)No documentation is available.