9 references to WithEmbedInteropTypes
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (7)
Semantics\BindingTests.cs (4)
1614
comp3 = CreateCompilationWithMscorlib461(source3, new MetadataReference[] { comp2.EmitToImageReference(), comp1.EmitToImageReference().
WithEmbedInteropTypes
(true) });
1670
comp3 = CreateCompilationWithMscorlib461(source3, new MetadataReference[] { comp2.EmitToImageReference(), comp1.EmitToImageReference().
WithEmbedInteropTypes
(true) });
1721
comp3 = CreateCompilationWithMscorlib461(source3, new MetadataReference[] { comp2.EmitToImageReference(), comp1.EmitToImageReference().
WithEmbedInteropTypes
(true) });
1772
comp3 = CreateCompilationWithMscorlib461(source3, new MetadataReference[] { comp2.EmitToImageReference(), comp1.EmitToImageReference().
WithEmbedInteropTypes
(true) });
Semantics\DynamicTests.cs (1)
4044
var compilation2 = CreateCompilation(source2, new[] { reference.
WithEmbedInteropTypes
(true), CSharpRef }, options: TestOptions.ReleaseExe);
Semantics\NullableReferenceTypesTests.cs (2)
2087
var compilation2 = CreateCompilation(source2, new[] { reference.
WithEmbedInteropTypes
(true), CSharpRef }, options: TestOptions.ReleaseExe);
116795
var comp = CreateCompilation(source2, new[] { ref1.
WithEmbedInteropTypes
(true), CSharpRef }, options: WithNullableEnable(TestOptions.ReleaseExe));
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (1)
Symbols\Retargeting\NoPia.cs (1)
2665
var compilation1 = CreateEmptyCompilation(consumer1, references: [Net40.References.mscorlib, piaRef.
WithEmbedInteropTypes
(true)]);
Microsoft.CodeAnalysis.VisualBasic.Symbol.UnitTests (1)
SymbolsTests\Retargeting\NoPia.vb (1)
1723
Dim compilation1 = CreateCompilationWithMscorlib461(consumer1, references:={piaRef.
WithEmbedInteropTypes
(True)}, options:=TestOptions.ReleaseDll)