68 references to WithEmbedInteropTypes
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (3)
Semantics\LambdaTests.cs (3)
418
references: [TestReferences.SymbolsTests.NoPia.StdOleNetFramework.
WithEmbedInteropTypes
(true)],
437
TestReferences.SymbolsTests.NoPia.StdOleNetFramework.
WithEmbedInteropTypes
(true)
449
TestReferences.SymbolsTests.NoPia.StdOleNetFramework.
WithEmbedInteropTypes
(true)
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (31)
Compilation\CompilationAPITests.cs (1)
357
listRef.Add(NetFramework.System.
WithEmbedInteropTypes
(true));
Compilation\ReferenceManagerTests.cs (2)
760
var rEmbed = r1.
WithEmbedInteropTypes
(true);
1733
var refLib = ((MetadataImageReference)lib.EmitToImageReference()).
WithEmbedInteropTypes
(true);
DocumentationComments\DocumentationCommentCompilerTests.cs (2)
6932
var reference = TestReferences.SymbolsTests.NoPia.GeneralPia.
WithEmbedInteropTypes
(false);
6942
var reference = TestReferences.SymbolsTests.NoPia.GeneralPia.
WithEmbedInteropTypes
(true);
Symbols\Metadata\PE\NoPia.cs (18)
366
var pia1CopyLink = TestReferences.SymbolsTests.NoPia.Pia1Copy.
WithEmbedInteropTypes
(true);
367
var pia1CopyRef = TestReferences.SymbolsTests.NoPia.Pia1Copy.
WithEmbedInteropTypes
(false);
748
var pia5Link = TestReferences.SymbolsTests.NoPia.Pia5.
WithEmbedInteropTypes
(true);
749
var pia5Ref = TestReferences.SymbolsTests.NoPia.Pia5.
WithEmbedInteropTypes
(false);
750
var library2Ref = TestReferences.SymbolsTests.NoPia.Library2.
WithEmbedInteropTypes
(false);
751
var library2Link = TestReferences.SymbolsTests.NoPia.Library2.
WithEmbedInteropTypes
(true);
752
var pia1Link = TestReferences.SymbolsTests.NoPia.Pia1.
WithEmbedInteropTypes
(true);
753
var pia1Ref = TestReferences.SymbolsTests.NoPia.Pia1.
WithEmbedInteropTypes
(false);
873
var varALink = TestReferences.SymbolsTests.NoPia.A.
WithEmbedInteropTypes
(true);
874
var varARef = TestReferences.SymbolsTests.NoPia.A.
WithEmbedInteropTypes
(false);
875
var varBLink = TestReferences.SymbolsTests.NoPia.B.
WithEmbedInteropTypes
(true);
876
var varBRef = TestReferences.SymbolsTests.NoPia.B.
WithEmbedInteropTypes
(false);
877
var varCLink = TestReferences.SymbolsTests.NoPia.C.
WithEmbedInteropTypes
(true);
878
var varCRef = TestReferences.SymbolsTests.NoPia.C.
WithEmbedInteropTypes
(false);
879
var varDLink = TestReferences.SymbolsTests.NoPia.D.
WithEmbedInteropTypes
(true);
880
var varDRef = TestReferences.SymbolsTests.NoPia.D.
WithEmbedInteropTypes
(false);
1005
var pia1CopyLink = TestReferences.SymbolsTests.NoPia.Pia1Copy.
WithEmbedInteropTypes
(true);
1006
var pia1CopyRef = TestReferences.SymbolsTests.NoPia.Pia1Copy.
WithEmbedInteropTypes
(false);
Symbols\Metadata\PE\NoPiaInstantiationOfGenericClassAndStruct.cs (1)
555
references: new[] { TestReferences.SymbolsTests.NoPia.GeneralPia.
WithEmbedInteropTypes
(true) });
Symbols\Metadata\PE\NoPiaLocalHideAndTypeSubstitutionTests.cs (1)
76
TestReferences.SymbolsTests.NoPia.GeneralPia.
WithEmbedInteropTypes
(true)
Symbols\Retargeting\NoPia.cs (5)
651
references: new[] { TestReferences.SymbolsTests.NoPia.Pia1.
WithEmbedInteropTypes
(true) });
656
references: new[] { TestReferences.SymbolsTests.NoPia.Pia1.
WithEmbedInteropTypes
(true) });
1284
references: new[] { TestReferences.SymbolsTests.NoPia.Pia1.
WithEmbedInteropTypes
(true) });
1867
references: new MetadataReference[] { MetadataReference.CreateFromImage(pia.EmitToArray()).
WithEmbedInteropTypes
(true) });
1888
references: new[] { TestReferences.SymbolsTests.NoPia.Pia1.
WithEmbedInteropTypes
(true) });
Symbols\SymbolErrorTests.cs (1)
16168
var ref1 = TestReferences.SymbolsTests.NoPia.Microsoft.VisualStudio.MissingPIAAttributes.
WithEmbedInteropTypes
(true);
Microsoft.CodeAnalysis.Rebuild.UnitTests (1)
DeterministicKeyBuilderTests.cs (1)
655
var mscorlib = NetCoreApp.mscorlib.
WithEmbedInteropTypes
(embedInteropTypes);
Microsoft.CodeAnalysis.UnitTests (4)
MetadataReferences\MetadataReferenceTests.cs (4)
270
var r2 = r.
WithEmbedInteropTypes
(false);
281
Assert.Throws<ArgumentException>(() => r.
WithEmbedInteropTypes
(true));
305
var r2 = r.
WithEmbedInteropTypes
(true);
317
var r4 = r.
WithEmbedInteropTypes
(false);
Microsoft.CodeAnalysis.VisualBasic.Semantic.UnitTests (1)
Compilation\ReferenceManagerTests.vb (1)
673
Dim rEmbed = r1.
WithEmbedInteropTypes
(True)
Microsoft.CodeAnalysis.VisualBasic.Symbol.UnitTests (28)
DocumentationComments\DocCommentTests.vb (2)
11772
Dim reference1 = TestReferences.SymbolsTests.NoPia.GeneralPia.
WithEmbedInteropTypes
(False)
11773
Dim reference2 = TestReferences.SymbolsTests.NoPia.GeneralPia.
WithEmbedInteropTypes
(True)
SymbolsTests\Metadata\PE\NoPia.vb (18)
276
Dim pia1CopyLink = TestReferences.SymbolsTests.NoPia.Pia1Copy.
WithEmbedInteropTypes
(True)
277
Dim pia1CopyRef = TestReferences.SymbolsTests.NoPia.Pia1Copy.
WithEmbedInteropTypes
(False)
578
Dim pia5Link = TestReferences.SymbolsTests.NoPia.Pia5.
WithEmbedInteropTypes
(True)
579
Dim pia5Ref = TestReferences.SymbolsTests.NoPia.Pia5.
WithEmbedInteropTypes
(False)
580
Dim library2Ref = TestReferences.SymbolsTests.NoPia.Library2.
WithEmbedInteropTypes
(False)
581
Dim library2Link = TestReferences.SymbolsTests.NoPia.Library2.
WithEmbedInteropTypes
(True)
582
Dim pia1Link = TestReferences.SymbolsTests.NoPia.Pia1.
WithEmbedInteropTypes
(True)
583
Dim pia1Ref = TestReferences.SymbolsTests.NoPia.Pia1.
WithEmbedInteropTypes
(False)
667
Dim varALink = TestReferences.SymbolsTests.NoPia.A.
WithEmbedInteropTypes
(True)
668
Dim varARef = TestReferences.SymbolsTests.NoPia.A.
WithEmbedInteropTypes
(False)
669
Dim varBLink = TestReferences.SymbolsTests.NoPia.B.
WithEmbedInteropTypes
(True)
670
Dim varBRef = TestReferences.SymbolsTests.NoPia.B.
WithEmbedInteropTypes
(False)
671
Dim varCLink = TestReferences.SymbolsTests.NoPia.C.
WithEmbedInteropTypes
(True)
672
Dim varCRef = TestReferences.SymbolsTests.NoPia.C.
WithEmbedInteropTypes
(False)
673
Dim varDLink = TestReferences.SymbolsTests.NoPia.D.
WithEmbedInteropTypes
(True)
674
Dim varDRef = TestReferences.SymbolsTests.NoPia.D.
WithEmbedInteropTypes
(False)
768
Dim pia1CopyLink = TestReferences.SymbolsTests.NoPia.Pia1Copy.
WithEmbedInteropTypes
(True)
769
Dim pia1CopyRef = TestReferences.SymbolsTests.NoPia.Pia1Copy.
WithEmbedInteropTypes
(False)
SymbolsTests\Metadata\PE\NoPiaInstantiationOfGenericClassAndStruct.vb (1)
468
localType = localType.AddReferences(TestReferences.SymbolsTests.NoPia.GeneralPia.
WithEmbedInteropTypes
(True))
SymbolsTests\Retargeting\NoPia.vb (7)
299
references:={TestReferences.SymbolsTests.NoPia.Pia1.
WithEmbedInteropTypes
(True)})
303
references:={TestReferences.SymbolsTests.NoPia.Pia1.
WithEmbedInteropTypes
(True)})
552
references:={TestReferences.SymbolsTests.NoPia.Pia1.
WithEmbedInteropTypes
(True)})
1022
references:={TestReferences.SymbolsTests.NoPia.Pia1.
WithEmbedInteropTypes
(True)})
1664
references:={TestReferences.SymbolsTests.NoPia.StdOleNet40.
WithEmbedInteropTypes
(True)})
1679
TestReferences.SymbolsTests.NoPia.StdOleNet40.
WithEmbedInteropTypes
(True)},
1686
TestReferences.SymbolsTests.NoPia.StdOleNet40.
WithEmbedInteropTypes
(True)},