20 references to StringKind
System.Reflection.Metadata (20)
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);
196
return handle.
StringKind
switch
200
_ => throw ExceptionUtilities.UnexpectedValue(handle.
StringKind
),
213
byte[] bytes = handle.
StringKind
switch
217
_ => throw ExceptionUtilities.UnexpectedValue(handle.
StringKind
),
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 (6)
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);