20 references to StringKind
System.Reflection.Metadata (20)
System\Reflection\Metadata\Internal\StringHeap.cs (14)
164Debug.Assert(handle.StringKind != StringKind.Virtual); 166char otherTerminator = handle.StringKind == StringKind.DotTerminated ? '.' : '\0'; 172Debug.Assert(handle.StringKind != StringKind.Virtual); 174char otherTerminator = handle.StringKind == StringKind.DotTerminated ? '.' : '\0'; 183Debug.Assert(handle.StringKind != StringKind.Virtual); 196return handle.StringKind switch 200_ => throw ExceptionUtilities.UnexpectedValue(handle.StringKind), 213byte[] bytes = handle.StringKind switch 217_ => throw ExceptionUtilities.UnexpectedValue(handle.StringKind), 262char otherTerminator = handle.StringKind == StringKind.DotTerminated ? '.' : '\0'; 281char otherTerminator = handle.StringKind == StringKind.DotTerminated ? '.' : '\0'; 291Debug.Assert(rawHandle.StringKind != StringKind.DotTerminated, "Not supported"); 310Debug.Assert(rawHandle.StringKind != StringKind.DotTerminated, "Not supported"); 320Debug.Assert(rawHandle.StringKind != StringKind.DotTerminated, "Not supported");
System\Reflection\Metadata\TypeSystem\Handles.TypeSystem.cs (6)
2325Debug.Assert(StringKind == StringKind.Plain); 2331Debug.Assert(StringKind == StringKind.Plain); 2337Debug.Assert(StringKind == StringKind.Plain); 2383Debug.Assert(!IsVirtual || StringKind == StringKind.WinRTPrefixed); 2389Debug.Assert(IsVirtual && StringKind != StringKind.WinRTPrefixed); 2395Debug.Assert(IsNil || IsVirtual && StringKind == StringKind.Virtual);