API Browser

Struct

VersionStamp

struct VersionStamp

Namespace: Raven.CodeAnalysis
Assembly: Raven.CodeAnalysis.dll
Source file: VersionStamp.cs

Inheritance: Object → ValueType → VersionStamp
Implements: IComparable<VersionStamp>, IEquatable<VersionStamp>

A cheap, immutable version token similar to Roslyn's VersionStamp. Backed by a 64‑bit tick count (DateTime.UtcNow.Ticks) to avoid Guid allocations yet still provide global uniqueness with ~100‑ns granularity.

Methods

9 items
CompareTo(other: VersionStamp) -> int No summary available. Implements IComparable<VersionStamp>.CompareTo
Static member: Create() -> VersionStamp Creates a new monotonically increasing stamp.
Equals(other: VersionStamp) -> bool No summary available. Implements IEquatable<VersionStamp>.Equals
Equals(obj: object?) -> bool No summary available. Overrides ValueType.Equals
GetHashCode() -> int No summary available. Overrides ValueType.GetHashCode
GetNewerVersion() -> VersionStamp Gets a new Raven.CodeAnalysis.VersionStamp that is guaranteed to be newer than the current instance. This should only be used for the *same* item to move it to a newer version.
GetType() -> Type Gets the System.Type of the current instance. Inherited from Object.GetType
ToDebugString() -> string No summary available.
ToString() -> string No summary available. Overrides ValueType.ToString

Operators

4 items
Static member: operator ==(left: VersionStamp, right: VersionStamp) -> bool No summary available.
Static member: operator >(left: VersionStamp, right: VersionStamp) -> bool No summary available.
Static member: operator !=(left: VersionStamp, right: VersionStamp) -> bool No summary available.
Static member: operator <(left: VersionStamp, right: VersionStamp) -> bool No summary available.