Code:
/ DotNET / DotNET / 8.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
- MexTcpBindingElement.cs
- Set.cs
- MsmqIntegrationAppDomainProtocolHandler.cs
- GPRECT.cs
- ClusterSafeNativeMethods.cs
- PersistenceTypeAttribute.cs
- XamlReader.cs
- CompensationDesigner.cs
- RedistVersionInfo.cs
- FixedPageAutomationPeer.cs
- Line.cs
- PageSettings.cs
- WebPartConnectionsEventArgs.cs
- InternalDuplexBindingElement.cs
- SoapExtensionReflector.cs
- SqlExpressionNullability.cs
- DelimitedListTraceListener.cs
- ConfigurationLoaderException.cs
- ExceptionHandlersDesigner.cs
- EmptyCollection.cs
- PersonalizablePropertyEntry.cs
- StylusDownEventArgs.cs
- TTSVoice.cs
- XmlElement.cs
- XmlIncludeAttribute.cs
- SignatureDescription.cs
- InnerItemCollectionView.cs
- RoutedEventArgs.cs
- ApplicationHost.cs
- FileStream.cs
- EmbeddedMailObject.cs
- PerfCounters.cs
- CodeRegionDirective.cs
- HostingEnvironmentSection.cs
- ContainerActivationHelper.cs
- UInt32Storage.cs
- PerspectiveCamera.cs
- ButtonBaseAdapter.cs
- GraphicsContext.cs
- ValueTable.cs
- ObjRef.cs
- TrackingProvider.cs
- UIElementParagraph.cs
- PreservationFileReader.cs
- QilScopedVisitor.cs
- SystemEvents.cs
- TreeNodeSelectionProcessor.cs
- ResourceAssociationTypeEnd.cs
- Comparer.cs
- ConfigsHelper.cs
- SrgsNameValueTag.cs
- VisualStateGroup.cs
- GeneralTransform3DGroup.cs
- XmlMapping.cs
- ThreadPool.cs
- BindingExpression.cs
- CreateUserWizard.cs
- ReachSerializableProperties.cs
- KeyManager.cs
- NumericUpDown.cs
- DebugViewWriter.cs
- Int32Animation.cs
- ProcessModuleCollection.cs
- IdSpace.cs
- DataSourceControl.cs
- ContentPresenter.cs
- WebPartConnection.cs
- EventProviderWriter.cs
- ExplicitDiscriminatorMap.cs
- SecurityState.cs
- XmlNamedNodeMap.cs
- PropertyChangedEventManager.cs
- NonClientArea.cs
- BinaryObjectInfo.cs
- Console.cs
- SolidColorBrush.cs
- UserControlCodeDomTreeGenerator.cs
- SerialStream.cs
- BindingMAnagerBase.cs
- RemoteHelper.cs
- SettingsBindableAttribute.cs
- CompilerGeneratedAttribute.cs
- PartialCachingAttribute.cs
- NativeRightsManagementAPIsStructures.cs
- SchemaObjectWriter.cs
- BypassElement.cs
- ImageField.cs
- OdbcConnectionStringbuilder.cs
- OciHandle.cs
- LocatorPartList.cs
- DataConnectionHelper.cs
- GeneralTransform3DTo2DTo3D.cs
- HyperLinkColumn.cs
- ComponentEvent.cs
- Trace.cs
- DesignerPerfEventProvider.cs
- FixedFindEngine.cs
- BindingContext.cs
- AvTraceFormat.cs
- AssemblyBuilderData.cs