writeInt32AsUInt16os0x010b;// Always 0x10B (see Section 23.1).
writeInt32AsUInt16ospeOptionalHeaderByte;// ECMA spec says 6, some binaries, e.g. fscmanaged.exe say 7, Whidbey binaries say 8
writeInt32ostextSectionPhysSize;// Size of the code (text) section, or the sum of all code sections if there are multiple sections.
// 000000a0
// 000000a0
writeInt32osdataSectionPhysSize;// Size of the initialized data section, or the sum of all such sections if there are multiple data sections.
writeInt32os0x00;// Size of the uninitialized data section, or the sum of all such sections if there are multiple unitinitalized data sections.
writeInt32osentrypointCodeChunk.addr;// RVA of entry point , needs to point to bytes 0xFF 0x25 followed by the RVA+!0x4000000 in a section marked execute/read for EXEs or 0 for DLLs e.g. 0x0000b57e
// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
// the purpose of the 'Impl' factoring is so that you can put a breakpoint on the non-Impl code just below, and get a breakpoint for all implementations of error loggers
// The 'Impl' factoring enables a developer to place a breakpoint at the non-Impl
// code just below and get a breakpoint for all error logger implementations.
abstractWarnSinkImpl:PhasedError->unit
abstractErrorSinkImpl:PhasedError->unit
memberthis.WarnSinkerr=
...
...
@@ -232,7 +233,7 @@ type ErrorLogger(nameForDebugging:string) =
/// The list of items in the cache. Youngest is at the end of the list.
...
...
@@ -194,7 +194,8 @@ type internal MruCache<'TKey,'TValue when 'TValue : not struct>(keepStrongly, ar
/// List helpers
[<Sealed>]
typeinternalList=
/// Return a new list with one element for each unique 'TKey. Multiple 'TValues are flattened. The original order of the first instance of 'TKey is preserved.
/// Return a new list with one element for each unique 'TKey. Multiple 'TValues are flattened.
/// The original order of the first instance of 'TKey is preserved.
/// Return a new list with one element for each unique 'TKey. Multiple 'TValues are flattened. The original order of the first instance of 'TKey is preserved.
/// Return a new list with one element for each unique 'TKey. Multiple 'TValues are flattened.
/// The original order of the first instance of 'TKey is preserved.
// Note that ProgramFilesX86 is correct for both x86 and x64 architectures (the reference assemblies are always in the 32-bit location, which is PF(x86) on an x64 machine)
// NOTE: that ProgramFilesX86 is correct for both x86 and x64 architectures
// (the reference assemblies are always in the 32-bit location, which is PF(x86) on an x64 machine)