2 writes to BaseAddress
Microsoft.CodeAnalysis (2)
Emit\EmitOptions.cs (2)
239BaseAddress = baseAddress; 471return new EmitOptions(this) { BaseAddress = value };
26 references to BaseAddress
Microsoft.CodeAnalysis (7)
Compilation\Compilation.cs (1)
2232ulong baseAddress = unchecked(emitOptions.BaseAddress + 0x8000) & (requires64Bit ? 0xffffffffffff0000 : 0x00000000ffff0000);
Compilation\DeterministicKeyBuilder.cs (1)
412writer.WriteInvariant("baseAddress", options.BaseAddress);
Emit\EmitOptions.cs (5)
257other.BaseAddress, 287BaseAddress == other.BaseAddress && 306Hash.Combine(BaseAddress.GetHashCode(), 466if (BaseAddress == value)
Microsoft.CodeAnalysis.UnitTests (2)
Emit\EmitOptionsTests.cs (2)
55TestProperty((old, value) => old.WithBaseAddress(value), opt => opt.BaseAddress, 100UL); 85nameof(EmitOptions.BaseAddress),
Microsoft.CodeAnalysis.VisualBasic.CommandLine.UnitTests (17)
CommandLineTests.vb (17)
4892Assert.Equal(CType(0, ULong), parsedArgs.EmitOptions.BaseAddress) 4894Assert.Equal(CType(&H1024, ULong), parsedArgs.EmitOptions.BaseAddress) 4896Assert.Equal(CType(&H2048, ULong), parsedArgs.EmitOptions.BaseAddress) 4898Assert.Equal(CType(&H4096, ULong), parsedArgs.EmitOptions.BaseAddress) 4900Assert.Equal(CType(&H8192, ULong), parsedArgs.EmitOptions.BaseAddress) 4904Assert.Equal(CType(&H200, ULong), parsedArgs.EmitOptions.BaseAddress) 4906Assert.Equal(CType(&H400, ULong), parsedArgs.EmitOptions.BaseAddress) 4908Assert.Equal(CType(&H800, ULong), parsedArgs.EmitOptions.BaseAddress) 4910Assert.Equal(CType(&H1000, ULong), parsedArgs.EmitOptions.BaseAddress) 4912Assert.Equal(ULong.MaxValue, parsedArgs.EmitOptions.BaseAddress) 4914Assert.Equal(ULong.MaxValue, parsedArgs.EmitOptions.BaseAddress) 4918Assert.Equal(CType(0, ULong), parsedArgs.EmitOptions.BaseAddress) 4920Assert.Equal(CType(&H1024, ULong), parsedArgs.EmitOptions.BaseAddress) 4922Assert.Equal(CType(&H2048, ULong), parsedArgs.EmitOptions.BaseAddress) 4924Assert.Equal(CType(&H4096, ULong), parsedArgs.EmitOptions.BaseAddress) 4926Assert.Equal(CType(&H8192, ULong), parsedArgs.EmitOptions.BaseAddress) 4930Assert.Equal(CType(0, ULong), parsedArgs.EmitOptions.BaseAddress)