4 instantiations of ExportedType
Microsoft.CodeAnalysis.CSharp (2)
Emitter\Model\PEModuleBuilder.cs (2)
574builder.Add(new Cci.ExportedType((Cci.ITypeReference)symbol.GetCciAdapter(), parentIndex, isForwarder: false)); 767builder.Add(new Cci.ExportedType(type.GetCciAdapter(), parentIndex, isForwarder: true));
Microsoft.CodeAnalysis.VisualBasic (2)
Emit\PEModuleBuilder.vb (2)
511builder.Add(New Cci.ExportedType(DirectCast(symbol, NamedTypeSymbol).GetCciAdapter(), parentIndex, isForwarder:=False)) 567builderOpt.Add(New Cci.ExportedType(entry.type.GetCciAdapter(), entry.parentIndex, isForwarder:=True))
22 references to ExportedType
Microsoft.CodeAnalysis (5)
Emit\CommonPEModuleBuilder.cs (1)
125public abstract ImmutableArray<Cci.ExportedType> GetExportedTypes(DiagnosticBag diagnostics);
PEWriter\ExportedType.cs (2)
18/// True if this <see cref="ExportedType"/> represents a type forwarder definition, 25/// the index of the <see cref="ExportedType"/> entry that represents the enclosing type.
PEWriter\MetadataWriter.cs (1)
2212foreach (var exportedType in exportedTypes)
PEWriter\ReferenceIndexer.cs (1)
37foreach (var exportedType in module.GetExportedTypes(Context.Diagnostics))
Microsoft.CodeAnalysis.CSharp (9)
Emitter\Model\PEModuleBuilder.cs (9)
43private ImmutableArray<Cci.ExportedType> _lazyExportedTypes; 562private static void GetExportedTypes(NamespaceOrTypeSymbol symbol, int parentIndex, ArrayBuilder<Cci.ExportedType> builder) 591public sealed override ImmutableArray<Cci.ExportedType> GetExportedTypes(DiagnosticBag diagnostics) 612private ImmutableArray<Cci.ExportedType> CalculateExportedTypes() 615var builder = ArrayBuilder<Cci.ExportedType>.GetInstance(); 636internal static HashSet<NamedTypeSymbol> GetForwardedTypes(SourceAssemblySymbol sourceAssembly, ArrayBuilder<Cci.ExportedType>? builder) 650private void ReportExportedTypeNameCollisions(ImmutableArray<Cci.ExportedType> exportedTypes, DiagnosticBag diagnostics) 655foreach (var exportedType in exportedTypes) 720ArrayBuilder<Cci.ExportedType>? builder)
Microsoft.CodeAnalysis.VisualBasic (8)
Emit\PEModuleBuilder.vb (8)
28Private _lazyExportedTypes As ImmutableArray(Of Cci.ExportedType) 385Public NotOverridable Overrides Function GetExportedTypes(diagnostics As DiagnosticBag) As ImmutableArray(Of Cci.ExportedType) 403Private Function CalculateExportedTypes() As ImmutableArray(Of Cci.ExportedType) 404Dim builder = ArrayBuilder(Of Cci.ExportedType).GetInstance() 423Friend Shared Function GetForwardedTypes(sourceAssembly As SourceAssemblySymbol, builderOpt As ArrayBuilder(Of Cci.ExportedType)) As HashSet(Of NamedTypeSymbol) 434Private Sub ReportExportedTypeNameCollisions(exportedTypes As ImmutableArray(Of Cci.ExportedType), diagnostics As DiagnosticBag) 501Private Overloads Sub GetExportedTypes(symbol As NamespaceOrTypeSymbol, parentIndex As Integer, builder As ArrayBuilder(Of Cci.ExportedType)) 528builderOpt As ArrayBuilder(Of Cci.ExportedType))