23 references to ModuleDefinition
Microsoft.CodeAnalysis (6)
MetadataReader\MetadataDecoder.cs (1)
589if (tokenResolutionScope == EntityHandle.ModuleDefinition)
PEWriter\MetadataWriter.cs (1)
2090AddCustomAttributesToTable(EntityHandle.ModuleDefinition, module.GetSourceModuleAttributes());
PEWriter\MetadataWriter.PortablePdb.cs (4)
478parent: EntityHandle.ModuleDefinition, 863parent: EntityHandle.ModuleDefinition, 933parent: EntityHandle.ModuleDefinition, 1011parent: EntityHandle.ModuleDefinition,
Microsoft.CodeAnalysis.CSharp (1)
Symbols\Metadata\PE\PEModuleSymbol.cs (1)
214return EntityHandle.ModuleDefinition;
Microsoft.CodeAnalysis.CSharp.Emit2.UnitTests (3)
PDB\PDBSourceLinkTests.cs (1)
94(from cdiHandle in pdbReader.GetCustomDebugInformation(EntityHandle.ModuleDefinition)
PDB\PortablePdbTests.cs (2)
312(from cdiHandle in pdbReader.GetCustomDebugInformation(EntityHandle.ModuleDefinition) 355(from cdiHandle in pdbReader.GetCustomDebugInformation(EntityHandle.ModuleDefinition)
Microsoft.CodeAnalysis.ExpressionEvaluator.ExpressionCompiler (1)
PDB\MethodDebugInfo.Portable.cs (1)
397defaultNamespace = TryGetCustomDebugInformation(reader, EntityHandle.ModuleDefinition, PortableCustomDebugInfoKinds.DefaultNamespace, out info)
Microsoft.CodeAnalysis.Features (2)
PdbSourceDocument\DocumentDebugInfoReader.cs (2)
70foreach (var cdiHandle in _pdbReader.GetCustomDebugInformation(EntityHandle.ModuleDefinition)) 110foreach (var handle in _pdbReader.GetCustomDebugInformation(EntityHandle.ModuleDefinition))
Microsoft.CodeAnalysis.Rebuild (1)
CompilationOptionsReader.cs (1)
429var blobs = from cdiHandle in PdbReader.GetCustomDebugInformation(EntityHandle.ModuleDefinition)
Microsoft.CodeAnalysis.Test.Utilities (1)
PDB\DeterministicBuildCompilationTestHelpers.cs (1)
99return (from cdiHandle in pdbReader.GetCustomDebugInformation(EntityHandle.ModuleDefinition)
Microsoft.CodeAnalysis.VisualBasic (3)
Symbols\Metadata\PE\PEModuleSymbol.vb (3)
144Me.LoadCustomAttributes(EntityHandle.ModuleDefinition, _lazyCustomAttributes) 502DeriveCompilerFeatureRequiredAttributeDiagnostic(Me, Me, EntityHandle.ModuleDefinition, CompilerFeatureRequiredFeatures.None, New MetadataDecoder(Me)), 524Dim experimentalData = _module.TryDecodeExperimentalAttributeData(EntityHandle.ModuleDefinition, New MetadataDecoder(Me))
Microsoft.CodeAnalysis.VisualBasic.Emit.UnitTests (2)
PDB\PortablePdbTests.vb (2)
206(From cdiHandle In pdbReader.GetCustomDebugInformation(EntityHandle.ModuleDefinition) 243(From cdiHandle In pdbReader.GetCustomDebugInformation(EntityHandle.ModuleDefinition)
System.Reflection.Metadata (3)
System\Reflection\Metadata\Ecma335\MetadataBuilder.Tables.cs (1)
384return EntityHandle.ModuleDefinition;
System\Reflection\Metadata\TypeSystem\ModuleDefinition.cs (1)
60return new CustomAttributeHandleCollection(_reader, EntityHandle.ModuleDefinition);
System\Reflection\Metadata\TypeSystem\TypeReference.cs (1)
48/// <item><description><see cref="EntityHandle.ModuleDefinition"/>, if the target type is defined in the current module. This should not occur in a CLI compressed metadata module.</description></item>