22 references to StringKind
System.Reflection.Metadata (22)
System\Reflection\Metadata\Internal\StringHeap.cs (14)
164
Debug.Assert(handle.StringKind !=
StringKind
.Virtual);
166
char otherTerminator = handle.StringKind ==
StringKind
.DotTerminated ? '.' : '\0';
172
Debug.Assert(handle.StringKind !=
StringKind
.Virtual);
174
char otherTerminator = handle.StringKind ==
StringKind
.DotTerminated ? '.' : '\0';
183
Debug.Assert(handle.StringKind !=
StringKind
.Virtual);
198
StringKind
.Virtual => GetVirtualString(handle.GetVirtualIndex()),
199
StringKind
.WinRTPrefixed => GetNonVirtualString(handle, utf8Decoder, MetadataReader.WinRTPrefix),
215
StringKind
.Virtual => Encoding.UTF8.GetBytes(GetVirtualString(handle.GetVirtualIndex())),
216
StringKind
.WinRTPrefixed => GetNonVirtualStringBytes(handle, MetadataReader.WinRTPrefix),
262
char otherTerminator = handle.StringKind ==
StringKind
.DotTerminated ? '.' : '\0';
281
char otherTerminator = handle.StringKind ==
StringKind
.DotTerminated ? '.' : '\0';
291
Debug.Assert(rawHandle.StringKind !=
StringKind
.DotTerminated, "Not supported");
310
Debug.Assert(rawHandle.StringKind !=
StringKind
.DotTerminated, "Not supported");
320
Debug.Assert(rawHandle.StringKind !=
StringKind
.DotTerminated, "Not supported");
System\Reflection\Metadata\TypeSystem\Handles.TypeSystem.cs (8)
2325
Debug.Assert(StringKind ==
StringKind
.Plain);
2331
Debug.Assert(StringKind ==
StringKind
.Plain);
2337
Debug.Assert(StringKind ==
StringKind
.Plain);
2383
Debug.Assert(!IsVirtual || StringKind ==
StringKind
.WinRTPrefixed);
2389
Debug.Assert(IsVirtual && StringKind !=
StringKind
.WinRTPrefixed);
2395
Debug.Assert(IsNil || IsVirtual && StringKind ==
StringKind
.Virtual);
2399
internal
StringKind
StringKind
2401
get { return (
StringKind
)(_value >> HeapHandleType.OffsetBitCount); }