1 write to IsImageOwner
Microsoft.CodeAnalysis (1)
MetadataReference\Metadata.cs (1)
41this.IsImageOwner = isImageOwner;
20 references to IsImageOwner
Microsoft.CodeAnalysis (4)
MetadataReference\AssemblyMetadata.cs (3)
212if (!modules[i].IsImageOwner) 286if (!IsImageOwner) 375if (previousData == Data.Disposed || !this.IsImageOwner)
MetadataReference\ModuleMetadata.cs (1)
292if (IsImageOwner)
Microsoft.CodeAnalysis.Scripting.Desktop.UnitTests (1)
MetadataShadowCopyProviderTests.cs (1)
93Assert.False(sc1.Metadata.IsImageOwner, "Copy expected");
Microsoft.CodeAnalysis.UnitTests (15)
MetadataReferences\AssemblyMetadataTests.cs (12)
97Assert.True(a.IsImageOwner, "Assembly should own the image"); 98Assert.True(m1.IsImageOwner, "Module should own the image"); 99Assert.True(m2.IsImageOwner, "Module should own the image"); 100Assert.True(m3.IsImageOwner, "Module should own the image"); 103Assert.False(copy1.IsImageOwner, "Assembly should not own the image"); 104Assert.False(copy1.GetModules()[0].IsImageOwner, "Module should not own the image"); 105Assert.False(copy1.GetModules()[1].IsImageOwner, "Module should not own the image"); 106Assert.False(copy1.GetModules()[2].IsImageOwner, "Module should not own the image"); 113Assert.False(copy2.IsImageOwner, "Assembly should not own the image"); 114Assert.False(copy2.GetModules()[0].IsImageOwner, "Module should not own the image"); 115Assert.False(copy2.GetModules()[1].IsImageOwner, "Module should not own the image"); 116Assert.False(copy2.GetModules()[2].IsImageOwner, "Module should not own the image");
MetadataReferences\ModuleMetadataTests.cs (3)
145Assert.True(m.IsImageOwner, "Metadata should own the image"); 146Assert.False(copy1.IsImageOwner, "Copy should not own the image"); 147Assert.False(copy2.IsImageOwner, "Copy should not own the image");