5 instantiations of Section
Microsoft.CodeAnalysis (1)
PEWriter\ExtendedPEBuilder.cs (1)
59builder.Add(new Section(MvidSectionName, SectionCharacteristics.MemRead |
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (1)
Emit\CompilationEmitTests.cs (1)
619new Section(".mvid", SectionCharacteristics.MemRead |
System.Reflection.Metadata (3)
System\Reflection\PortableExecutable\ManagedPEBuilder.cs (3)
97builder.Add(new Section(TextSectionName, SectionCharacteristics.MemRead | SectionCharacteristics.MemExecute | SectionCharacteristics.ContainsCode)); 101builder.Add(new Section(ResourceSectionName, SectionCharacteristics.MemRead | SectionCharacteristics.ContainsInitializedData)); 106builder.Add(new Section(RelocationSectionName, SectionCharacteristics.MemRead | SectionCharacteristics.MemDiscardable | SectionCharacteristics.ContainsInitializedData));
10 references to Section
Microsoft.CodeAnalysis (2)
PEWriter\ExtendedPEBuilder.cs (2)
51protected override ImmutableArray<Section> CreateSections() 57var builder = ArrayBuilder<Section>.GetInstance(baseSections.Length + 1);
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (1)
Emit\CompilationEmitTests.cs (1)
616protected override ImmutableArray<Section> CreateSections()
System.Reflection.Metadata (7)
System\Reflection\PortableExecutable\ManagedPEBuilder.cs (2)
94protected override ImmutableArray<Section> CreateSections() 96var builder = ImmutableArray.CreateBuilder<Section>(3);
System\Reflection\PortableExecutable\PEBuilder.cs (5)
18private readonly Lazy<ImmutableArray<Section>> _lazySections; 71_lazySections = new Lazy<ImmutableArray<Section>>(CreateSections); 74protected ImmutableArray<Section> GetSections() 85protected abstract ImmutableArray<Section> CreateSections(); 132foreach (var section in sections)