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