1 write to Value
Microsoft.Private.Windows.Core (1)
Windows.Win32.PCWSTR.g.cs (1)
34
internal PCWSTR(char* value) => this.
Value
= value;
12 references to Value
Microsoft.Private.Windows.Core (12)
Windows.Win32.PCWSTR.g.cs (11)
36
public static explicit operator char*(PCWSTR value) => value.
Value
;
40
public bool Equals(PCWSTR other) => this.
Value
== other.
Value
;
44
public override int GetHashCode() => unchecked((int)this.
Value
);
54
char* 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(this.
Value
);
74
internal ReadOnlySpan<char> AsSpan() => this.
Value
is null ? default(ReadOnlySpan<char>) : new ReadOnlySpan<char>(this.
Value
, this.Length);
Windows\Win32\Foundation\PCWSTR.cs (1)
8
public bool IsNull =>
Value
is null;