17 references to IsVirtual
System.Reflection.Metadata (17)
System\Reflection\Metadata\Ecma335\MetadataTokens.cs (1)
187public static int GetHeapOffset(StringHandle handle) => handle.IsVirtual ? -1 : handle.GetHeapOffset();
System\Reflection\Metadata\Internal\NamespaceCache.cs (1)
78Debug.Assert(!handleContainingSegment.IsVirtual);
System\Reflection\Metadata\Internal\StringHeap.cs (10)
149return handle.IsVirtual ? GetVirtualHandleString(handle, utf8Decoder) : GetNonVirtualString(handle, utf8Decoder, prefixOpt: null); 154return handle.IsVirtual ? GetVirtualHandleMemoryBlock(handle) : GetNonVirtualStringMemoryBlock(handle); 194Debug.Assert(handle.IsVirtual); 206Debug.Assert(handle.IsVirtual); 233if (handle.IsVirtual) 251if (handle.IsVirtual) 270if (handle.IsVirtual) 290Debug.Assert(!rawHandle.IsVirtual); 309Debug.Assert(!rawHandle.IsVirtual); 319Debug.Assert(!rawHandle.IsVirtual);
System\Reflection\Metadata\MetadataReader.WinMD.cs (2)
513Debug.Assert(!namespaceHandle.IsVirtual && !nameHandle.IsVirtual);
System\Reflection\Metadata\TypeSystem\Handles.TypeSystem.cs (3)
2383Debug.Assert(!IsVirtual || StringKind == StringKind.WinRTPrefixed); 2389Debug.Assert(IsVirtual && StringKind != StringKind.WinRTPrefixed); 2395Debug.Assert(IsNil || IsVirtual && StringKind == StringKind.Virtual);