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