1 write to Value
System.Private.Windows.Core (1)
Windows.Win32.PCSTR.g.cs (1)
34 internal PCSTR(byte* value) => this.Value = value;
11 references to Value
System.Private.Windows.Core (11)
Windows.Win32.PCSTR.g.cs (11)
36 public static implicit operator byte*(PCSTR value) => value.Value; 40 public bool Equals(PCSTR other) => this.Value == other.Value; 44 public override int GetHashCode() => unchecked((int)this.Value); 54 byte* p = this.Value; 59 return checked((int)(p - this.Value)); 67 /// <returns>A <see langword="string"/>, or <see langword="null"/> if <see cref="Value"/> is <see langword="null"/>.</returns> 68 public override string ToString() => this.Value is null ? null : new string((sbyte*)this.Value, 0, this.Length, global::System.Text.Encoding.Default); 74 internal ReadOnlySpan<byte> AsSpan() => this.Value is null ? default(ReadOnlySpan<byte>) : new ReadOnlySpan<byte>(this.Value, this.Length);