PublicApiSymbolIdentity Class
Identifies a symbol across assemblies. The documentation ID alone is not unique: unrelated assemblies, or the builds of the same assembly for several target frameworks, can declare symbols with the same documentation ID.
public sealed class PublicApiSymbolIdentity : IEquatable<PublicApiSymbolIdentity>- Implements
Constructors
| Name | Description |
|---|---|
| PublicApiSymbolIdentity(string, string) | Identifies a symbol across assemblies. The documentation ID alone is not unique: unrelated assemblies, or the builds of the same assembly for several target frameworks, can declare symbols with the same documentation ID. |
PublicApiSymbolIdentity(string, string)
PublicApiSymbolIdentity.csIdentifies a symbol across assemblies. The documentation ID alone is not unique: unrelated assemblies, or the builds of the same assembly for several target frameworks, can declare symbols with the same documentation ID.
Parameters
Scopestring- The scope of the symbol. See
PublicApiAssembly.Scope. DocumentationIdstring- The XML documentation ID of the symbol.
Properties
| Name | Description |
|---|---|
| DocumentationId | The XML documentation ID of the symbol. |
| Scope | The scope of the symbol. See PublicApiAssembly.Scope. |
DocumentationId
PublicApiSymbolIdentity.csThe scope of the symbol. See PublicApiAssembly.Scope.
public string Scope { get; init; }Property value
Methods
| Name | Description |
|---|---|
| Deconstruct(string, string) | |
| Equals(PublicApiSymbolIdentity?) | |
| Equals(object?) | |
| GetHashCode() | |
| ToString() |
Deconstruct(string, string)
Equals overloads
Equals(PublicApiSymbolIdentity?)
public bool Equals(PublicApiSymbolIdentity? other)No documentation is available.
Equals(object?)
GetHashCode()
ToString()
PublicApiSymbolIdentity.csOperators
| Name | Description |
|---|---|
| operator ==(PublicApiSymbolIdentity?, PublicApiSymbolIdentity?) | |
| operator !=(PublicApiSymbolIdentity?, PublicApiSymbolIdentity?) |
operator ==(PublicApiSymbolIdentity?, PublicApiSymbolIdentity?)
public static bool operator ==(PublicApiSymbolIdentity? left, PublicApiSymbolIdentity? right)No documentation is available.
operator !=(PublicApiSymbolIdentity?, PublicApiSymbolIdentity?)
public static bool operator !=(PublicApiSymbolIdentity? left, PublicApiSymbolIdentity? right)No documentation is available.