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
- ClientFormsIdentity.cs
- Certificate.cs
- GZipStream.cs
- SeverityFilter.cs
- ObjectQueryExecutionPlan.cs
- EpmCustomContentDeSerializer.cs
- RotateTransform3D.cs
- WCFServiceClientProxyGenerator.cs
- ParallelActivityDesigner.cs
- TagMapInfo.cs
- HandlerMappingMemo.cs
- DelegatedStream.cs
- _NestedSingleAsyncResult.cs
- ScrollChangedEventArgs.cs
- DocumentPageTextView.cs
- FileSystemEventArgs.cs
- StatusBarItemAutomationPeer.cs
- MenuScrollingVisibilityConverter.cs
- ControlCodeDomSerializer.cs
- XamlReader.cs
- MailAddress.cs
- SqlVisitor.cs
- UserControl.cs
- SectionRecord.cs
- SoapRpcMethodAttribute.cs
- NativeObjectSecurity.cs
- PresentationSource.cs
- externdll.cs
- Misc.cs
- ConnectionProviderAttribute.cs
- DocumentPropertiesDialog.cs
- BasicKeyConstraint.cs
- ImageDesigner.cs
- PolicyChain.cs
- OdbcCommand.cs
- Repeater.cs
- X509WindowsSecurityToken.cs
- BamlRecords.cs
- UInt32Storage.cs
- TrustManager.cs
- AncestorChangedEventArgs.cs
- GatewayIPAddressInformationCollection.cs
- ResourceDefaultValueAttribute.cs
- ZoneIdentityPermission.cs
- OdbcConnectionString.cs
- Vector3D.cs
- ProviderSettings.cs
- ColorBuilder.cs
- HistoryEventArgs.cs
- ClientRolePrincipal.cs
- AnonymousIdentificationSection.cs
- CellConstantDomain.cs
- PropertySegmentSerializationProvider.cs
- DataControlCommands.cs
- Vector3DKeyFrameCollection.cs
- CodeTryCatchFinallyStatement.cs
- TogglePatternIdentifiers.cs
- ProfileGroupSettingsCollection.cs
- RoutedCommand.cs
- DetailsViewPageEventArgs.cs
- UmAlQuraCalendar.cs
- ControlBindingsCollection.cs
- ValueType.cs
- StringDictionaryCodeDomSerializer.cs
- AttachInfo.cs
- TrackingProfileDeserializationException.cs
- SamlAttributeStatement.cs
- OracleConnectionFactory.cs
- DataKey.cs
- IFlowDocumentViewer.cs
- cookie.cs
- XPathScanner.cs
- NavigationPropertyEmitter.cs
- Brush.cs
- AnnotationResourceCollection.cs
- ProviderUtil.cs
- ZoomComboBox.cs
- BinaryConverter.cs
- VectorAnimation.cs
- CompareInfo.cs
- AspNetSynchronizationContext.cs
- ListControlConvertEventArgs.cs
- TransformCryptoHandle.cs
- ApplicationManager.cs
- HandlerBase.cs
- PersonalizablePropertyEntry.cs
- HttpModulesSection.cs
- DbParameterCollectionHelper.cs
- IndependentlyAnimatedPropertyMetadata.cs
- FormViewInsertedEventArgs.cs
- SmiGettersStream.cs
- OfTypeExpression.cs
- DataGridViewRowHeaderCell.cs
- SqlFileStream.cs
- MD5.cs
- LinkDescriptor.cs
- WsdlBuildProvider.cs
- SqlCommand.cs
- ConnectionsZone.cs
- PropagationProtocolsTracing.cs