16 references to WithRuntimeMetadataVersion
Microsoft.CodeAnalysis.CSharp.Emit2.UnitTests (1)
Emit\NumericIntPtrTests.cs (1)
6899
var verifier = CompileAndVerify(comp, emitOptions: EmitOptions.Default.
WithRuntimeMetadataVersion
("0.0.0.0"), verify: Verification.Skipped);
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (13)
Semantics\InitOnlyMemberTests.cs (1)
4816
var emitOptions = EmitOptions.Default.
WithRuntimeMetadataVersion
("0.0.0.0");
Semantics\NativeIntegerTests.cs (5)
1138
var ref1 = comp.EmitToImageReference(EmitOptions.Default.
WithRuntimeMetadataVersion
("0.0.0.0"));
1470
verifyReference(comp.EmitToImageReference(EmitOptions.Default.
WithRuntimeMetadataVersion
("0.0.0.0")), includesIEquatable: true);
1496
verifyReference(comp.EmitToImageReference(EmitOptions.Default.
WithRuntimeMetadataVersion
("0.0.0.0")), includesIEquatable: false);
4598
var refA = comp.EmitToImageReference(options: EmitOptions.Default.
WithRuntimeMetadataVersion
("4.0.0.0"));
10378
var verifier = CompileAndVerify(comp, emitOptions: EmitOptions.Default.
WithRuntimeMetadataVersion
("0.0.0.0"), verify: Verification.Skipped);
Semantics\RefFieldTests.cs (2)
27147
var ref0 = comp.EmitToImageReference(Microsoft.CodeAnalysis.Emit.EmitOptions.Default.
WithRuntimeMetadataVersion
("0.0.0.0"));
27272
var ref0 = comp.EmitToImageReference(Microsoft.CodeAnalysis.Emit.EmitOptions.Default.
WithRuntimeMetadataVersion
("0.0.0.0"));
Semantics\ValueTupleTests.cs (5)
445
comp.VerifyEmitDiagnostics(EmitOptions.Default.
WithRuntimeMetadataVersion
("0.0.0.0"));
496
comp.VerifyEmitDiagnostics(EmitOptions.Default.
WithRuntimeMetadataVersion
("0.0.0.0"));
547
comp.VerifyEmitDiagnostics(EmitOptions.Default.
WithRuntimeMetadataVersion
("0.0.0.0"));
595
comp.VerifyEmitDiagnostics(EmitOptions.Default.
WithRuntimeMetadataVersion
("0.0.0.0"));
638
comp.VerifyEmitDiagnostics(EmitOptions.Default.
WithRuntimeMetadataVersion
("0.0.0.0"));
Microsoft.CodeAnalysis.Test.Utilities (1)
Mocks\Silverlight.cs (1)
94
var mscorlib = mscorlibCompilation.EmitToStream(EmitOptions.Default.
WithRuntimeMetadataVersion
("v4.0.30319"));
Microsoft.CodeAnalysis.UnitTests (1)
Emit\EmitOptionsTests.cs (1)
58
TestProperty((old, value) => old.
WithRuntimeMetadataVersion
(value), opt => opt.RuntimeMetadataVersion, "v12345");