1 write to Value
Microsoft.VisualStudio.Extensibility.Testing.Xunit (1)
Windows.Win32.PCWSTR.g.cs (1)
33
internal PCWSTR(char* value) => this.
Value
= value;
11 references to Value
Microsoft.VisualStudio.Extensibility.Testing.Xunit (11)
Windows.Win32.PCWSTR.g.cs (11)
35
public static explicit operator char*(PCWSTR value) => value.
Value
;
39
public bool Equals(PCWSTR other) => this.
Value
== other.
Value
;
43
public override int GetHashCode() => unchecked((int)this.
Value
);
53
char* p = this.
Value
;
58
return checked((int)(p - this.
Value
));
66
/// <returns>A <see langword="string"/>, or <see langword="null"/> if <see cref="
Value
"/> is <see langword="null"/>.</returns>
67
public override string ToString() => this.
Value
is null ? null : new string(this.
Value
);
73
internal ReadOnlySpan<char> AsSpan() => this.
Value
is null ? default(ReadOnlySpan<char>) : new ReadOnlySpan<char>(this.
Value
, this.Length);