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