Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / Xml / System / Xml / schema / validationstate.cs / 1305376 / 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
- CoTaskMemHandle.cs
- WebPartDisplayMode.cs
- DSASignatureFormatter.cs
- Label.cs
- ConnectionsZone.cs
- ValidationHelpers.cs
- ResourcePool.cs
- RoutedEvent.cs
- FormsIdentity.cs
- WindowsSpinner.cs
- ChangeTracker.cs
- AttributedMetaModel.cs
- EntityDataSourceChangedEventArgs.cs
- CatalogPartCollection.cs
- URLBuilder.cs
- InvalidFilterCriteriaException.cs
- BufferedGraphics.cs
- SubpageParaClient.cs
- TableStyle.cs
- SafeCryptoHandles.cs
- NetworkInformationException.cs
- SecurityNegotiationException.cs
- ImmutableObjectAttribute.cs
- WsdlContractConversionContext.cs
- SortedSetDebugView.cs
- Update.cs
- PeerCollaboration.cs
- StateMachine.cs
- _DomainName.cs
- DependencyObject.cs
- ValuePattern.cs
- ColorAnimation.cs
- XmlCDATASection.cs
- UrlAuthorizationModule.cs
- ArraySubsetEnumerator.cs
- RegexMatchCollection.cs
- NamedPipeChannelListener.cs
- Perspective.cs
- InvalidOperationException.cs
- DataSourceIDConverter.cs
- HtmlTable.cs
- NullReferenceException.cs
- OperationResponse.cs
- AnimatedTypeHelpers.cs
- MemoryStream.cs
- AssemblyBuilder.cs
- LinkClickEvent.cs
- SqlConnectionStringBuilder.cs
- RecognizerStateChangedEventArgs.cs
- ModelTypeConverter.cs
- OdbcEnvironmentHandle.cs
- CollectionChangeEventArgs.cs
- SerialPinChanges.cs
- QualifiedId.cs
- XmlBuffer.cs
- PeerChannelListener.cs
- NetCodeGroup.cs
- CapabilitiesState.cs
- UserControl.cs
- ExceptionHelpers.cs
- ImageSource.cs
- _DomainName.cs
- TextAutomationPeer.cs
- XmlCharType.cs
- OLEDB_Util.cs
- WebPartMovingEventArgs.cs
- MergeFailedEvent.cs
- CompiledIdentityConstraint.cs
- XmlValidatingReader.cs
- DefinitionBase.cs
- XmlDictionaryReaderQuotas.cs
- PageRanges.cs
- BamlLocalizableResource.cs
- BaseCollection.cs
- CodeExpressionStatement.cs
- CookieProtection.cs
- Button.cs
- HttpChannelHelper.cs
- PropertyIDSet.cs
- PeerSecurityHelpers.cs
- DrawingGroupDrawingContext.cs
- XhtmlBasicPanelAdapter.cs
- RelationshipDetailsCollection.cs
- FlowStep.cs
- Bits.cs
- WhitespaceRuleReader.cs
- ScriptReference.cs
- LinkUtilities.cs
- CatalogPartDesigner.cs
- DataMisalignedException.cs
- ToolStripLocationCancelEventArgs.cs
- DataGridRowHeaderAutomationPeer.cs
- DefaultEventAttribute.cs
- DateTimeFormatInfoScanner.cs
- EdmItemError.cs
- XmlArrayItemAttribute.cs
- EntitySqlQueryCacheEntry.cs
- QuaternionAnimation.cs
- HierarchicalDataBoundControl.cs
- PrePostDescendentsWalker.cs