Code:
/ FX-1434 / FX-1434 / 1.0 / untmp / whidbey / REDBITS / 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.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- ToolStripItemImageRenderEventArgs.cs
- Point3DCollectionValueSerializer.cs
- ManagementOptions.cs
- ListBoxAutomationPeer.cs
- ElementFactory.cs
- SqlWebEventProvider.cs
- LogWriteRestartAreaState.cs
- MasterPageBuildProvider.cs
- SizeConverter.cs
- __Filters.cs
- DesigntimeLicenseContext.cs
- PropertyItem.cs
- TableRowCollection.cs
- InputBinder.cs
- HighContrastHelper.cs
- ContentPathSegment.cs
- DocumentSequenceHighlightLayer.cs
- ReadOnlyDataSource.cs
- MimeFormImporter.cs
- SessionStateUtil.cs
- MemberAccessException.cs
- HTTPNotFoundHandler.cs
- PropertyItem.cs
- IteratorFilter.cs
- OdbcUtils.cs
- SystemWebExtensionsSectionGroup.cs
- CryptoHandle.cs
- ObjectDataSourceChooseTypePanel.cs
- FormParameter.cs
- ProtocolReflector.cs
- SubordinateTransaction.cs
- ExceptionAggregator.cs
- ThreadAbortException.cs
- SettingsPropertyIsReadOnlyException.cs
- PassportAuthenticationEventArgs.cs
- FormViewPageEventArgs.cs
- OperationGenerator.cs
- XmlValueConverter.cs
- ResourceDictionaryCollection.cs
- Transform.cs
- DynamicRenderer.cs
- SoundPlayerAction.cs
- RuleSetDialog.Designer.cs
- SoapAttributeOverrides.cs
- SettingsBase.cs
- MessageEncodingBindingElementImporter.cs
- util.cs
- DataGridViewCellStyle.cs
- CounterCreationData.cs
- MatrixConverter.cs
- CheckStoreFileValidityRequest.cs
- SizeIndependentAnimationStorage.cs
- SafeFileMappingHandle.cs
- ErrorTableItemStyle.cs
- ReadOnlyAttribute.cs
- DataListCommandEventArgs.cs
- EnumerableWrapperWeakToStrong.cs
- HitTestWithGeometryDrawingContextWalker.cs
- ObjectViewFactory.cs
- RectangleHotSpot.cs
- ProxyAttribute.cs
- SchemaNotation.cs
- TaskFileService.cs
- ErrorsHelper.cs
- SecurityElement.cs
- NumberFunctions.cs
- Certificate.cs
- CompositeDataBoundControl.cs
- MarkupProperty.cs
- ObjectPersistData.cs
- ToolBarButtonClickEvent.cs
- HMACSHA1.cs
- GeometryModel3D.cs
- Vector3DAnimation.cs
- SafeRightsManagementHandle.cs
- ClientRoleProvider.cs
- IItemContainerGenerator.cs
- AsyncDataRequest.cs
- StringPropertyBuilder.cs
- SHA256.cs
- XmlException.cs
- CodeValidator.cs
- NameValueFileSectionHandler.cs
- RadioButtonList.cs
- PingOptions.cs
- ComponentDispatcherThread.cs
- ToolStripMenuItemCodeDomSerializer.cs
- _UriSyntax.cs
- MultiPageTextView.cs
- MobileControlBuilder.cs
- XmlElementCollection.cs
- MissingFieldException.cs
- CookieHandler.cs
- SqlIdentifier.cs
- TextTreeUndo.cs
- AnnotationHighlightLayer.cs
- ProcessInfo.cs
- RelationshipEndMember.cs
- WeakReadOnlyCollection.cs
- ITextView.cs