1 write to Value
System.Private.Windows.Core (1)
Windows.Win32.PCWSTR.g.cs (1)
34
internal PCWSTR(char* value) => this.
Value
= value;
16 references to Value
System.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;
System.Windows.Forms (4)
System\Windows\Forms\ActiveX\AxHost.PropertyBagStream.cs (2)
66
if (pVar is null || pszPropName.
Value
is null)
92
if (pVar is null || pszPropName.
Value
is null)
System\Windows\Forms\ActiveX\Control.ActiveXImpl.PropertyBagStream.cs (2)
51
if (pVar is null || pszPropName.
Value
is null)
70
if (pVar is null || pszPropName.
Value
is null)