8 references to MemRead
Microsoft.CodeAnalysis (1)
PEWriter\ExtendedPEBuilder.cs (1)
59
builder.Add(new Section(MvidSectionName, SectionCharacteristics.
MemRead
|
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (4)
Emit\CompilationEmitTests.cs (1)
619
new Section(".mvid", SectionCharacteristics.
MemRead
|
Emit\EmitMetadataTests.cs (3)
2388
Assert.Equal(SectionCharacteristics.ContainsCode | SectionCharacteristics.MemExecute | SectionCharacteristics.
MemRead
, sections[0].SectionCharacteristics);
2399
Assert.Equal(SectionCharacteristics.ContainsInitializedData | SectionCharacteristics.MemDiscardable | SectionCharacteristics.
MemRead
, sections[1].SectionCharacteristics);
2526
Assert.Equal(SectionCharacteristics.ContainsCode | SectionCharacteristics.MemExecute | SectionCharacteristics.
MemRead
, sections[0].SectionCharacteristics);
System.Reflection.Metadata (3)
System\Reflection\PortableExecutable\ManagedPEBuilder.cs (3)
97
builder.Add(new Section(TextSectionName, SectionCharacteristics.
MemRead
| SectionCharacteristics.MemExecute | SectionCharacteristics.ContainsCode));
101
builder.Add(new Section(ResourceSectionName, SectionCharacteristics.
MemRead
| SectionCharacteristics.ContainsInitializedData));
106
builder.Add(new Section(RelocationSectionName, SectionCharacteristics.
MemRead
| SectionCharacteristics.MemDiscardable | SectionCharacteristics.ContainsInitializedData));