Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / ndp / fx / src / Xml / System / Xml / schema / validationstate.cs / 1 / validationstate.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //[....] //----------------------------------------------------------------------------- namespace System.Xml.Schema { using System; using System.Collections; using System.Collections.Generic; using System.Runtime.InteropServices; [StructLayout(LayoutKind.Explicit)] internal struct StateUnion { [FieldOffset(0)] public int State; //DFA [FieldOffset(0)] public int AllElementsRequired; //AllContentValidator [FieldOffset(0)] public int CurPosIndex; //NFAContentValidator [FieldOffset(0)] public int NumberOfRunningPos; //RangeContentValidator } internal sealed class ValidationState { public bool IsNill; public bool IsDefault; public bool NeedValidateChildren; // whether need to validate the children of this element public bool CheckRequiredAttribute; //PSVI public bool ValidationSkipped; public int Depth; // The validation state public XmlSchemaContentProcessing ProcessContents; public XmlSchemaValidity Validity; public SchemaElementDecl ElementDecl; // ElementDecl public SchemaElementDecl ElementDeclBeforeXsi; //elementDecl before its changed by that of xsi:type's public string LocalName; public string Namespace; public ConstraintStruct[] Constr; public StateUnion CurrentState; //For content model validation public bool HasMatched; // whether the element has been verified correctly //For NFAs public BitSet[] CurPos = new BitSet[2]; //For all public BitSet AllElementsSet; //For MinMaxNFA public ListRunningPositions; public bool TooComplex; }; } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //------------------------------------------------------------------------------ // // Copyright (c) Microsoft Corporation. All rights reserved. // //[....] //----------------------------------------------------------------------------- namespace System.Xml.Schema { using System; using System.Collections; using System.Collections.Generic; using System.Runtime.InteropServices; [StructLayout(LayoutKind.Explicit)] internal struct StateUnion { [FieldOffset(0)] public int State; //DFA [FieldOffset(0)] public int AllElementsRequired; //AllContentValidator [FieldOffset(0)] public int CurPosIndex; //NFAContentValidator [FieldOffset(0)] public int NumberOfRunningPos; //RangeContentValidator } internal sealed class ValidationState { public bool IsNill; public bool IsDefault; public bool NeedValidateChildren; // whether need to validate the children of this element public bool CheckRequiredAttribute; //PSVI public bool ValidationSkipped; public int Depth; // The validation state public XmlSchemaContentProcessing ProcessContents; public XmlSchemaValidity Validity; public SchemaElementDecl ElementDecl; // ElementDecl public SchemaElementDecl ElementDeclBeforeXsi; //elementDecl before its changed by that of xsi:type's public string LocalName; public string Namespace; public ConstraintStruct[] Constr; public StateUnion CurrentState; //For content model validation public bool HasMatched; // whether the element has been verified correctly //For NFAs public BitSet[] CurPos = new BitSet[2]; //For all public BitSet AllElementsSet; //For MinMaxNFA public ListRunningPositions; public bool TooComplex; }; } // File provided for Reference Use Only by Microsoft Corporation (c) 2007.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- GridViewSelectEventArgs.cs
- OleDbDataAdapter.cs
- DrawingAttributes.cs
- AnonymousIdentificationSection.cs
- SecurityManager.cs
- PointUtil.cs
- BaseCodeDomTreeGenerator.cs
- EncryptedKey.cs
- BroadcastEventHelper.cs
- LocalTransaction.cs
- TerminatorSinks.cs
- ValidationResults.cs
- TreeViewBindingsEditor.cs
- FreeFormDragDropManager.cs
- CommentEmitter.cs
- XmlNamespaceDeclarationsAttribute.cs
- PackagePart.cs
- SqlResolver.cs
- XPathNodeInfoAtom.cs
- WebHttpBindingElement.cs
- ReadOnlyHierarchicalDataSource.cs
- DiscoveryClientRequestChannel.cs
- Claim.cs
- IPEndPointCollection.cs
- DataGridToolTip.cs
- GeneratedContractType.cs
- DropShadowBitmapEffect.cs
- AssociatedControlConverter.cs
- SystemColors.cs
- MediaElementAutomationPeer.cs
- PointCollection.cs
- ViewStateException.cs
- SafeNativeMethods.cs
- SmiEventSink.cs
- MessageBox.cs
- ScrollChrome.cs
- ToolboxControl.cs
- LifetimeServices.cs
- GeneralTransform3DTo2DTo3D.cs
- TableRow.cs
- ToolboxCategoryItems.cs
- MessageDecoder.cs
- SqlUtils.cs
- SqlProvider.cs
- NetworkAddressChange.cs
- SHA1CryptoServiceProvider.cs
- ProtocolsSection.cs
- ValuePatternIdentifiers.cs
- safemediahandle.cs
- OrderByBuilder.cs
- ParameterToken.cs
- SafeNativeMethods.cs
- SpStreamWrapper.cs
- RenderOptions.cs
- ConstructorBuilder.cs
- DecimalAnimationUsingKeyFrames.cs
- CorrelationService.cs
- IndentedTextWriter.cs
- StatusBarItem.cs
- SqlFlattener.cs
- SQLUtility.cs
- XhtmlTextWriter.cs
- LocatorBase.cs
- SrgsText.cs
- EntityProviderServices.cs
- PrintingPermission.cs
- SrgsText.cs
- PageWrapper.cs
- ItemsPanelTemplate.cs
- OdbcStatementHandle.cs
- ASCIIEncoding.cs
- CorrelationValidator.cs
- ProtocolViolationException.cs
- XmlAttributeCache.cs
- PageThemeBuildProvider.cs
- OutputChannelBinder.cs
- ResourcesBuildProvider.cs
- StringResourceManager.cs
- ExtensionSurface.cs
- StreamingContext.cs
- ManagementObjectCollection.cs
- TrustManager.cs
- PropertiesTab.cs
- X509ChainElement.cs
- OrderedDictionary.cs
- ComponentResourceManager.cs
- TableParaClient.cs
- HeaderedItemsControl.cs
- SystemThemeKey.cs
- NetDispatcherFaultException.cs
- ColumnMapProcessor.cs
- AuthStoreRoleProvider.cs
- TextModifierScope.cs
- HMACSHA384.cs
- OptimalBreakSession.cs
- InvalidFilterCriteriaException.cs
- RayHitTestParameters.cs
- TabControlCancelEvent.cs
- ChannelRequirements.cs
- Menu.cs