Home
Discussion Forums
Tutorials & Source Code
Developer Blogs
Developer Events
Developer Jobs
Labs
We need you!
We're working hard on the next version of Developer Fusion -
Let us know
what you think we should be up to!
The Labs
\
Source Viewer
\
SSCLI
\
System.Globalization
\ CultureTableHeader
Object Browser
Solution Explorer
SSCLI
Expand
Microsoft.Win32
Expand
Microsoft.Win32.SafeHandles
Expand
System
Expand
System.Runtime.Hosting
Expand
System.Runtime.InteropServices
Expand
System.Runtime.CompilerServices
Expand
System.Collections
Expand
System.Collections.Generic
Expand
System.Collections.ObjectModel
Expand
System.Configuration.Assemblies
Expand
System.Diagnostics
Expand
System.Diagnostics.CodeAnalysis
Expand
System.Diagnostics.SymbolStore
Expand
System.Globalization
Expand
__DateBuffer
Expand
BaseInfoTable
Expand
BidiCategory
Expand
Calendar
Expand
CalendarAlgorithmType
Expand
CalendarId
Expand
CalendarTable
Expand
CalendarTableData
Expand
CalendarWeekRule
Expand
CharUnicodeInfo
Expand
ChineseLunisolarCalendar
Expand
CodePageDataItem
Expand
CompareInfo
Expand
CompareOptions
Expand
CultureData
Expand
CultureFlags
Expand
CultureInfo
Expand
CultureNameOffsetItem
Expand
CultureTable
Expand
CultureTableData
Expand
CultureTableHeader
Expand
CultureTableItem
Expand
CultureTableRecord
Expand
CultureTypes
Expand
DateMapping
Expand
DateTimeFormatFlags
Expand
DateTimeFormatInfo
Expand
DateTimeFormatInfoScanner
Expand
DateTimeStyles
Expand
DaylightTime
Expand
DigitShapes
Expand
DigitValues
Expand
DTFIUserOverrideValues
Expand
EastAsianLunisolarCalendar
Expand
EncodingTable
Expand
EndianessHeader
Expand
EraInfo
Expand
ExceptionTableItem
Expand
FORMATFLAGS
Expand
FoundDatePattern
Expand
GlobalizationAssembly
Expand
GregorianCalendar
Expand
GregorianCalendarHelper
Expand
GregorianCalendarTypes
Expand
HebrewCalendar
Expand
HebrewNumber
Expand
HebrewNumberParsingContext
Expand
HebrewNumberParsingState
Expand
HebrewToken
Expand
HebrewValue
Expand
HijriCalendar
Expand
HS
Expand
IdnMapping
Expand
IDOffsetItem
Expand
IetfNameOffsetItem
Expand
InternalCodePageDataItem
Expand
InternalEncodingDataItem
Expand
JapaneseCalendar
Expand
JapaneseLunisolarCalendar
Expand
JulianCalendar
Expand
KoreanCalendar
Expand
KoreanLunisolarCalendar
Expand
MemoryMapFile
Expand
MonthNameStyles
Expand
NumberFormatInfo
Expand
NumberStyles
Expand
PersianCalendar
Expand
RegionInfo
Expand
RegionNameOffsetItem
Expand
SortKey
Expand
StringInfo
Expand
TaiwanCalendar
Expand
TaiwanLunisolarCalendar
Expand
TextElementEnumerator
Expand
TextInfo
Expand
TextInfoDataHeader
Expand
ThaiBuddhistCalendar
Expand
TokenHashValue
Expand
UmAlQuraCalendar
Expand
UnicodeCategory
Expand
UnicodeDataHeader
Expand
System.IO
Expand
System.IO.IsolatedStorage
Expand
System.Reflection
Expand
System.Reflection.Cache
Expand
System.Reflection.Emit
Expand
System.Resources
Expand
System.Runtime
Expand
System.Runtime.InteropServices.Expando
Expand
System.Runtime.ConstrainedExecution
Expand
System.Runtime.Remoting.Activation
Expand
System.Runtime.Remoting.Messaging
Expand
System.Runtime.Remoting.Channels
Expand
System.Runtime.Remoting.Lifetime
Expand
System.Runtime.Remoting
Expand
System.Runtime.Remoting.Contexts
Expand
System.Runtime.Remoting.Proxies
Expand
System.Runtime.Remoting.Metadata
Expand
System.Runtime.Remoting.Metadata.W3cXsd2001
Expand
System.Runtime.Remoting.Services
Expand
System.Runtime.Serialization
Expand
System.Runtime.Serialization.Formatters
Expand
System.Runtime.Serialization.Formatters.Binary
Expand
System.Runtime.Versioning
Expand
System.Security
Expand
System.Security.Cryptography
Expand
System.Security.Cryptography.X509Certificates
Expand
System.Security.Permissions
Expand
System.Security.Policy
Expand
System.Security.Principal
Expand
System.Security.Util
Expand
System.Text
Expand
System.Threading
Expand
System.Runtime.Remoting.Channels.Http
Expand
System.Runtime.Remoting.Channels.Tcp
Expand
System.Runtime.Remoting.MetadataServices
Expand
System.Runtime.Serialization.Formatters.Soap.Xml
Expand
System.Runtime.Serialization.Formatters.Soap
Expand
Microsoft.Tools.Caspol
Expand
Microsoft.Tools.Build
Expand
Microsoft.CSharp
Expand
System.CodeDom
Expand
System.CodeDom.Compiler
Expand
System.Collections.Specialized
Expand
System.ComponentModel
Expand
System.ComponentModel.Design
Expand
System.ComponentModel.Design.Serialization
Expand
System.Configuration
Expand
System.Web
Expand
System.Configuration.Provider
Expand
System.Configuration.Internal
Expand
System.Internal
Expand
System.Windows.Forms
Expand
System.Net
Expand
System.Net.Sockets
Expand
System.Net.NetworkInformation
Expand
System.Net.ComImports
Expand
System.Net.Security
Expand
System.Net.Cache
Expand
System.Net.Configuration
Expand
System.Text.RegularExpressions
Expand
System.Tools
Expand
System.IO.Compression
Expand
System.IO.Ports
Expand
System.Security.AccessControl
Expand
System.Xml
Expand
System.Xml.XPath.DataBinding
Expand
System.Xml.Schema
Expand
System.Xml.Serialization
Expand
System.Xml.Serialization.Advanced
Expand
System.Xml.Serialization.Configuration
Expand
System.Xml.XPath
Expand
System.Xml.Xsl
Expand
System.Xml.Xsl.IlGen
Expand
System.Xml.Xsl.Qil
Expand
System.Xml.Xsl.Runtime
Expand
System.Xml.Xsl.XPath
Expand
System.Xml.Xsl.Xslt
Expand
System.Xml.Xsl.XsltOld
Expand
System.Xml.Xsl.XsltOld.Debugger
Expand
Microsoft.JScript
Expand
Microsoft.Vsa
Expand
Microsoft.JScript.Vsa
C#
VB.NET
// ==++==
//
//
// Copyright (c) 2006 Microsoft Corporation. All rights reserved.
//
// The use and distribution terms for this software are contained in the file
// named license.txt, which can be found in the root of this distribution.
// By using this software in any fashion, you are agreeing to be bound by the
// terms of this license.
//
// You must not remove this notice, or any other, from this software.
//
//
// ==--==
// The file is autogenerated by nlpgen.pl.
// DO NOT EDIT THIS FILE MANUALLY.
// DO NOT EDIT THIS FILE MANUALLY.
// DO NOT EDIT THIS FILE MANUALLY.
namespace
System.Globalization
{
using
System.Runtime.InteropServices
;
////////////////////////////////////////////////////////////////////////
//
// This header is in the beginning of the data table, and it contains offset
// which point to little-Endian and big-Endian versions of the real header
// (BaseInfoHeader) and the headers will contain offset to different data
// of little-Endian and big-Endian.
//
////////////////////////////////////////////////////////////////////////
// StructLayout is needed here otherwise compiler can re-arrange the fields.
[StructLayout(LayoutKind.Sequential, Pack = 2)]
internal
struct
EndianessHeader
{
internal
uint
leOffset;
// DWORD: The offset (from the beginning of the file) to LE BaseInfoHeader. This might be a value of 0 if one version is in the table.
internal
uint
beOffset;
// DWORD: The offset (from the beginning of the file) to BE BaseInfoHeader. This might be a value of 0 if one version is in the table.
}
//
//
//
[StructLayout(LayoutKind.Sequential, Pack = 2)]
internal
struct
CultureTableHeader
{
// Generic header information
internal
uint
version;
// DWORD version
internal
ushort
hash0;
// WORD[8]
internal
ushort
hash1;
internal
ushort
hash2;
internal
ushort
hash3;
internal
ushort
hash4;
internal
ushort
hash5;
internal
ushort
hash6;
internal
ushort
hash7;
internal
ushort
headerSize;
// WORD: The size of the header ((bytes) irrelevent right now because all of our sections have offsets)
// Culture Table Data
internal
ushort
numLcidItems;
// WORD: The number of items in the LCID index.
internal
ushort
numCultureItems;
// WORD: The number of culture data items in the table.
internal
ushort
sizeCultureItem;
// WORD: The total size of each culture data item (bytes)
internal
uint
offsetToCultureItemData;
// DWORD: The offset (from the beginning of the file) to the culture data items (bytes).
// Culture Table Indexing Data
internal
ushort
numCultureNames;
// WORD: The number of items in culture name index table.
internal
ushort
numRegionNames;
// WORD: The number of items in region name index table.
internal
uint
cultureIDTableOffset;
// DWORD: Offset (in bytes) to Culture LCID Offset Table. The offset is related to the beginning of the file (in bytes).
internal
uint
cultureNameTableOffset;
// DWORD: Offset (in bytes) to Culture Name (en-us) Offset Table. The offset is related to the beginning of the file (bytes).
internal
uint
regionNameTableOffset;
// DWORD: Offset (in bytes) to Region Name (us) Offset Table. The offset is related to the beginning of the file (bytes).
// Calendar Table Data
internal
ushort
numCalendarItems;
// WORD: The number of calendar data items in the table.
internal
ushort
sizeCalendarItem;
// WORD: The total size of each calendar data item (bytes)
internal
uint
offsetToCalendarItemData;
// DWORD: The offset (from the beginning of the file) to the calendar data items (bytes).
// Data Pool
internal
uint
offsetToDataPool;
// DWORD: Offset (bytes) to the Data Pool (for strings, etc.)
// Ietf Name Index
internal
ushort
numIetfNames;
// WORD: The number of IETF names in the IETF name index table.
internal
ushort
Unused_Padding;
// WORD: Keep it short aligned.
internal
uint
ietfNameTableOffset;
// DWORD: Offset (in bytes) to the ietf name Offset Table
}
}
Developer Fusion