3 instantiations of DocumentHandle
System.Reflection.Metadata (3)
84 references to DocumentHandle
Microsoft.CodeAnalysis (15)
PEWriter\MetadataWriter.PortablePdb.cs (15)
54private readonly Dictionary<DebugSourceDocument, DocumentHandle> _documentIndex = new Dictionary<DebugSourceDocument, DocumentHandle>();
71BlobHandle sequencePointsBlob = SerializeSequencePoints(localSignatureHandleOpt, bodyOpt.SequencePoints, _documentIndex, out var singleDocumentHandle);
629Dictionary<DebugSourceDocument, DocumentHandle> documentIndex,
630out DocumentHandle singleDocumentHandle)
634singleDocumentHandle = default(DocumentHandle);
647singleDocumentHandle = (previousDocument != null) ? GetOrAddDocument(previousDocument, documentIndex) : default(DocumentHandle);
654var documentHandle = GetOrAddDocument(currentDocument, documentIndex);
743private DocumentHandle GetOrAddDocument(DebugSourceDocument document, Dictionary<DebugSourceDocument, DocumentHandle> index)
745if (index.TryGetValue(document, out var documentHandle))
753private DocumentHandle AddDocument(DebugSourceDocument document, Dictionary<DebugSourceDocument, DocumentHandle> index)
755DocumentHandle documentHandle;
1024var handle = GetOrAddDocument(document, _documentIndex);
Microsoft.CodeAnalysis.CSharp.CommandLine.UnitTests (1)
Microsoft.CodeAnalysis.ExpressionEvaluator.ExpressionCompiler (1)
Microsoft.CodeAnalysis.Features (12)
PdbSourceDocument\SymbolSourceDocumentFinder.cs (8)
14public static HashSet<DocumentHandle> FindDocumentHandles(EntityHandle handle, MetadataReader dllReader, MetadataReader pdbReader)
16var docList = new HashSet<DocumentHandle>();
40private static void ProcessMethodDef(MethodDefinitionHandle methodDefHandle, MetadataReader dllReader, MetadataReader pdbReader, HashSet<DocumentHandle> docList, bool processDeclaringType)
72private static void ProcessEventDef(EventDefinitionHandle eventDefHandle, MetadataReader dllReader, MetadataReader pdbReader, HashSet<DocumentHandle> docList)
97private static void ProcessPropertyDef(PropertyDefinitionHandle propertyDefHandle, MetadataReader dllReader, MetadataReader pdbReader, HashSet<DocumentHandle> docList)
117private static void ProcessFieldDef(FieldDefinitionHandle fieldDefHandle, MetadataReader dllReader, MetadataReader pdbReader, HashSet<DocumentHandle> docList)
124private static void ProcessTypeDef(TypeDefinitionHandle typeDefHandle, MetadataReader dllReader, MetadataReader pdbReader, HashSet<DocumentHandle> docList, bool processContainingType = true)
154private static void AddDocumentsFromTypeDefinitionDocuments(TypeDefinitionHandle typeDefHandle, MetadataReader pdbReader, HashSet<DocumentHandle> docList)
Microsoft.CodeAnalysis.Rebuild (4)
Microsoft.CodeAnalysis.Test.Utilities (1)
System.Reflection.Emit (4)
System.Reflection.Metadata (45)
System.Reflection.MetadataLoadContext (1)