2 writes to Size
System.Reflection.Metadata (2)
85 references to Size
BuildValidator (3)
Crossgen2Tasks (1)
Microsoft.CodeAnalysis.CSharp.CommandLine.UnitTests (1)
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (51)
Emit\EmitMetadataTests.cs (42)
2276Assert.Equal(0xc, peHeader.BaseRelocationTableDirectory.Size);
2278Assert.Equal(0, peHeader.BoundImportTableDirectory.Size);
2280Assert.Equal(0, peHeader.CertificateTableDirectory.Size);
2282Assert.Equal(0, peHeader.CopyrightTableDirectory.Size);
2284Assert.Equal(0x48, peHeader.CorHeaderTableDirectory.Size);
2286Assert.Equal(0x1C, peHeader.DebugTableDirectory.Size);
2288Assert.Equal(0, peHeader.ExceptionTableDirectory.Size);
2290Assert.Equal(0, peHeader.ExportTableDirectory.Size);
2292Assert.Equal(0x8, peHeader.ImportAddressTableDirectory.Size);
2294Assert.Equal(0x4f, peHeader.ImportTableDirectory.Size);
2296Assert.Equal(0, peHeader.LoadConfigTableDirectory.Size);
2298Assert.Equal(0, peHeader.ResourceTableDirectory.Size);
2300Assert.Equal(0, peHeader.ThreadLocalStorageTableDirectory.Size);
2306var importAddressTableDirectoryBytes = new byte[peHeader.ImportAddressTableDirectory.Size];
2319var importTableDirectoryBytes = new byte[peHeader.ImportTableDirectory.Size];
2365Assert.Equal(0, corHeader.CodeManagerTableDirectory.Size);
2367Assert.Equal(0, corHeader.ExportAddressTableJumpsDirectory.Size);
2369Assert.Equal(0, corHeader.ManagedNativeHeaderDirectory.Size);
2371Assert.Equal(0x02b8, corHeader.MetadataDirectory.Size);
2373Assert.Equal(0, corHeader.ResourcesDirectory.Size);
2375Assert.Equal(0, corHeader.StrongNameSignatureDirectory.Size);
2377Assert.Equal(0, corHeader.VtableFixupsDirectory.Size);
2463Assert.Equal(0, peHeader.BaseRelocationTableDirectory.Size);
2465Assert.Equal(0, peHeader.BoundImportTableDirectory.Size);
2467Assert.Equal(0, peHeader.CertificateTableDirectory.Size);
2469Assert.Equal(0, peHeader.CopyrightTableDirectory.Size);
2471Assert.Equal(0x48, peHeader.CorHeaderTableDirectory.Size);
2473Assert.Equal(0x1C, peHeader.DebugTableDirectory.Size);
2475Assert.Equal(0, peHeader.ExceptionTableDirectory.Size);
2477Assert.Equal(0, peHeader.ExportTableDirectory.Size);
2479Assert.Equal(0, peHeader.ImportAddressTableDirectory.Size);
2481Assert.Equal(0, peHeader.ImportTableDirectory.Size);
2483Assert.Equal(0, peHeader.LoadConfigTableDirectory.Size);
2485Assert.Equal(0, peHeader.ResourceTableDirectory.Size);
2487Assert.Equal(0, peHeader.ThreadLocalStorageTableDirectory.Size);
2503Assert.Equal(0, corHeader.CodeManagerTableDirectory.Size);
2505Assert.Equal(0, corHeader.ExportAddressTableJumpsDirectory.Size);
2507Assert.Equal(0, corHeader.ManagedNativeHeaderDirectory.Size);
2509Assert.Equal(0x02d0, corHeader.MetadataDirectory.Size);
2511Assert.Equal(0, corHeader.ResourcesDirectory.Size);
2513Assert.Equal(0, corHeader.StrongNameSignatureDirectory.Size);
2515Assert.Equal(0, corHeader.VtableFixupsDirectory.Size);
Microsoft.CodeAnalysis.Test.Utilities (3)
Microsoft.CodeAnalysis.VisualBasic.CommandLine.UnitTests (1)
Microsoft.CodeAnalysis.VisualBasic.Emit.UnitTests (1)
Microsoft.DotNet.Arcade.Sdk (1)
Microsoft.DotNet.GenFacades (1)
Microsoft.DotNet.SignTool (1)
SemanticSearch.BuildTask (1)
System.Reflection.Metadata (20)