88 references to EmbedInteropTypes
Microsoft.CodeAnalysis (9)
Compilation\DeterministicKeyBuilder.cs (1)
370writer.Write("embedInteropTypes", properties.EmbedInteropTypes);
MetadataReference\CompilationReference.cs (1)
70/// <param name="value">The new value for <see cref="MetadataReferenceProperties.EmbedInteropTypes"/>.</param>
MetadataReference\MetadataImageReference.cs (1)
68if (Properties.EmbedInteropTypes)
MetadataReference\MetadataReference.cs (1)
58/// <param name="value">The new value for <see cref="MetadataReferenceProperties.EmbedInteropTypes"/>.</param>
MetadataReference\MetadataReferenceProperties.cs (1)
104/// Returns <see cref="MetadataReferenceProperties"/> with <see cref="EmbedInteropTypes"/> set to specified value.
MetadataReference\PortableExecutableReference.cs (1)
97/// <param name="value">The new value for <see cref="MetadataReferenceProperties.EmbedInteropTypes"/>.</param>
PEWriter\MetadataWriter.PortablePdb.cs (1)
989byte kindAndEmbedInteropTypes = (byte)(portableReference.Properties.EmbedInteropTypes
ReferenceManager\CommonReferenceManager.Binding.cs (1)
587peReference.Properties.EmbedInteropTypes);
ReferenceManager\CommonReferenceManager.Resolution.cs (1)
357peReference.Properties.EmbedInteropTypes);
Microsoft.CodeAnalysis.CSharp (3)
Symbols\ReferenceManager.cs (3)
93var result = new AssemblyDataForCompilation(csReference.Compilation, csReference.Properties.EmbedInteropTypes); 105if (primaryReference.Properties.EmbedInteropTypes != duplicateReference.Properties.EmbedInteropTypes)
Microsoft.CodeAnalysis.CSharp.CommandLine.UnitTests (5)
CommandLineTests.cs (5)
1197Where((res) => res.Properties.EmbedInteropTypes). 1204Where((res) => res.Properties.EmbedInteropTypes). 1275Where((res) => !res.Properties.EmbedInteropTypes). 1282Where((res) => !res.Properties.EmbedInteropTypes). 2704Assert.Equal(expectedEmbed, result.Properties.EmbedInteropTypes);
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (22)
Compilation\CompilationAPITests.cs (1)
367Assert.True(ref1.Properties.EmbedInteropTypes);
Compilation\ReferenceManagerTests.cs (3)
910Assert.False(dr1.Properties.EmbedInteropTypes); 911Assert.False(dr2.Properties.EmbedInteropTypes); 912Assert.False(dr3.Properties.EmbedInteropTypes);
Symbols\Metadata\PE\NoPia.cs (12)
755Assert.True(pia1Link.Properties.EmbedInteropTypes); 756Assert.False(pia1Ref.Properties.EmbedInteropTypes); 757Assert.True(pia5Link.Properties.EmbedInteropTypes); 758Assert.False(pia5Ref.Properties.EmbedInteropTypes); 759Assert.True(library2Link.Properties.EmbedInteropTypes); 760Assert.False(library2Ref.Properties.EmbedInteropTypes); 1110Assert.True(pia5Link.Properties.EmbedInteropTypes); 1111Assert.False(pia5Ref.Properties.EmbedInteropTypes); 1118Assert.True(pia1Link.Properties.EmbedInteropTypes); 1119Assert.False(pia1Ref.Properties.EmbedInteropTypes); 1126Assert.True(library2Link.Properties.EmbedInteropTypes); 1127Assert.False(library2Ref.Properties.EmbedInteropTypes);
Symbols\Source\PropertyTests.cs (6)
2614Assert.False(comp.ExternalReferences[1].Properties.EmbedInteropTypes); 2632Assert.False(comp.ExternalReferences[1].Properties.EmbedInteropTypes); 2650Assert.True(comp.ExternalReferences[1].Properties.EmbedInteropTypes); 2668Assert.True(comp.ExternalReferences[1].Properties.EmbedInteropTypes); 2707Assert.True(comp.ExternalReferences[1].Properties.EmbedInteropTypes); 2725Assert.True(comp.ExternalReferences[1].Properties.EmbedInteropTypes);
Microsoft.CodeAnalysis.InteractiveHost (1)
Interactive\Core\InteractiveHost.Service.cs (1)
552Debug.Assert(cmdLineReference.Properties.Kind == MetadataImageKind.Assembly && !cmdLineReference.Properties.EmbedInteropTypes);
Microsoft.CodeAnalysis.Rebuild (1)
CompilationOptionsReader.cs (1)
328if (metadataReference.Properties.EmbedInteropTypes != metadataReferenceInfo.EmbedInteropTypes)
Microsoft.CodeAnalysis.Test.Utilities (1)
PDB\TestMetadataReferenceInfo.cs (1)
49metadataReference.Properties.EmbedInteropTypes);
Microsoft.CodeAnalysis.UnitTests (25)
MetadataReferences\MetadataReferencePropertiesTests.cs (3)
22Assert.False(m.EmbedInteropTypes); 27Assert.True(m.EmbedInteropTypes); 32Assert.False(m.EmbedInteropTypes);
MetadataReferences\MetadataReferenceTests.cs (22)
106Assert.False(r.Properties.EmbedInteropTypes); 137Assert.False(r.Properties.EmbedInteropTypes); 153Assert.False(r.Properties.EmbedInteropTypes); 169Assert.False(r.Properties.EmbedInteropTypes); 192Assert.False(r.Properties.EmbedInteropTypes); 212Assert.False(r.Properties.EmbedInteropTypes); 229Assert.True(r.Properties.EmbedInteropTypes); 261Assert.False(r.Properties.EmbedInteropTypes); 300Assert.True(r.Properties.EmbedInteropTypes); 312Assert.Equal(r.Properties.EmbedInteropTypes, r3.Properties.EmbedInteropTypes); 320Assert.False(r4.Properties.EmbedInteropTypes); 328Assert.False(r5.Properties.EmbedInteropTypes); 333Assert.True(r6.Properties.EmbedInteropTypes); 342Assert.False(r.Properties.EmbedInteropTypes); 348Assert.False(r1.Properties.EmbedInteropTypes); 354Assert.True(r2.Properties.EmbedInteropTypes); 360Assert.True(r3.Properties.EmbedInteropTypes); 373Assert.False(r.Properties.EmbedInteropTypes); 379Assert.False(r1.Properties.EmbedInteropTypes); 385Assert.True(r2.Properties.EmbedInteropTypes); 391Assert.True(r3.Properties.EmbedInteropTypes);
Microsoft.CodeAnalysis.VisualBasic (2)
CommandLine\VisualBasicCommandLineArguments.vb (1)
86If Not refProps.EmbedInteropTypes AndAlso refProps.Kind = MetadataImageKind.Assembly Then
Symbols\ReferenceManager.vb (1)
116Dim result As New AssemblyDataForCompilation(vbReference.Compilation, vbReference.Properties.EmbedInteropTypes)
Microsoft.CodeAnalysis.VisualBasic.Symbol.UnitTests (12)
SymbolsTests\Metadata\PE\NoPia.vb (12)
584Assert.True(pia1Link.Properties.EmbedInteropTypes) 585Assert.False(pia1Ref.Properties.EmbedInteropTypes) 586Assert.True(pia5Link.Properties.EmbedInteropTypes) 587Assert.False(pia5Ref.Properties.EmbedInteropTypes) 588Assert.True(library2Link.Properties.EmbedInteropTypes) 589Assert.False(library2Ref.Properties.EmbedInteropTypes) 849Assert.True(pia5Link.Properties.EmbedInteropTypes) 850Assert.False(pia5Ref.Properties.EmbedInteropTypes) 856Assert.True(pia1Link.Properties.EmbedInteropTypes) 857Assert.False(pia1Ref.Properties.EmbedInteropTypes) 863Assert.True(library2Link.Properties.EmbedInteropTypes) 864Assert.False(library2Ref.Properties.EmbedInteropTypes)
Microsoft.CodeAnalysis.Workspaces (7)
Serialization\SerializedPortableExecutableReference.cs (1)
64EmbedInteropTypes={this.Properties.EmbedInteropTypes}
Serialization\SerializerService_Reference.cs (1)
309writer.WriteBoolean(properties.EmbedInteropTypes);
Workspace\ProjectSystem\ProjectSystemProjectFactory.cs (3)
566var projectReference = new ProjectReference(projectIdToReference, peReference.Properties.Aliases, peReference.Properties.EmbedInteropTypes); 709embedInteropTypes: properties.EmbedInteropTypes); 742convertedProject.ProjectReference.EmbedInteropTypes == properties.EmbedInteropTypes &&
Workspace\Solution\SolutionCompilationState.SkeletonReferenceSet.cs (1)
45embedInteropTypes: properties.EmbedInteropTypes,
Workspace\Workspace.cs (1)
1479var newProjRef = new ProjectReference(matchingProjectId, pemeta.Properties.Aliases, pemeta.Properties.EmbedInteropTypes);