13 references to TestProperty
Microsoft.CodeAnalysis.UnitTests (13)
Emit\EmitOptionsTests.cs (13)
54TestProperty((old, value) => old.WithFileAlignment(value), opt => opt.FileAlignment, 2048);
55TestProperty((old, value) => old.WithBaseAddress(value), opt => opt.BaseAddress, 100UL);
56TestProperty((old, value) => old.WithHighEntropyVirtualAddressSpace(value), opt => opt.HighEntropyVirtualAddressSpace, true);
57TestProperty((old, value) => old.WithSubsystemVersion(value), opt => opt.SubsystemVersion, SubsystemVersion.Windows2000);
58TestProperty((old, value) => old.WithRuntimeMetadataVersion(value), opt => opt.RuntimeMetadataVersion, "v12345");
59TestProperty((old, value) => old.WithPdbFilePath(value), opt => opt.PdbFilePath, @"c:\temp\a.pdb");
60TestProperty((old, value) => old.WithPdbChecksumAlgorithm(value), opt => opt.PdbChecksumAlgorithm, new HashAlgorithmName());
61TestProperty((old, value) => old.WithPdbChecksumAlgorithm(value), opt => opt.PdbChecksumAlgorithm, HashAlgorithmName.SHA384);
62TestProperty((old, value) => old.WithOutputNameOverride(value), opt => opt.OutputNameOverride, @"x.dll");
63TestProperty((old, value) => old.WithDebugInformationFormat(value), opt => opt.DebugInformationFormat,
65TestProperty((old, value) => old.WithTolerateErrors(value), opt => opt.TolerateErrors, true);
66TestProperty((old, value) => old.WithIncludePrivateMembers(value), opt => opt.IncludePrivateMembers, false);
67TestProperty((old, value) => old.WithInstrumentationKinds(value), opt => opt.InstrumentationKinds, ImmutableArray.Create(InstrumentationKind.TestCoverage));