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
- SqlNodeTypeOperators.cs
- Style.cs
- DefaultTextStoreTextComposition.cs
- Token.cs
- ProjectionCamera.cs
- SocketInformation.cs
- Oid.cs
- SatelliteContractVersionAttribute.cs
- IdentityReference.cs
- SqlNodeAnnotations.cs
- HttpProxyTransportBindingElement.cs
- QilIterator.cs
- MeasurementDCInfo.cs
- XmlQualifiedName.cs
- HttpCapabilitiesSectionHandler.cs
- SessionIDManager.cs
- Control.cs
- HttpProfileGroupBase.cs
- BindingExpressionBase.cs
- WebBrowserContainer.cs
- ToolStripStatusLabel.cs
- QilIterator.cs
- WsiProfilesElementCollection.cs
- Error.cs
- ElementAction.cs
- IOThreadTimer.cs
- OrderPreservingPipeliningMergeHelper.cs
- SchemaMapping.cs
- ConfigXmlAttribute.cs
- ActivitySurrogateSelector.cs
- FormCollection.cs
- SystemResourceKey.cs
- DataStreams.cs
- ApplicationHost.cs
- DataSetSchema.cs
- baseaxisquery.cs
- ExpressionParser.cs
- C14NUtil.cs
- HierarchicalDataSourceDesigner.cs
- Timer.cs
- VersionedStream.cs
- CounterSampleCalculator.cs
- XmlDocumentSchema.cs
- RectKeyFrameCollection.cs
- SolidBrush.cs
- SqlWriter.cs
- JsonGlobals.cs
- ViewKeyConstraint.cs
- EdmProperty.cs
- TagMapInfo.cs
- CrossAppDomainChannel.cs
- ClientUtils.cs
- XPathParser.cs
- Visual3D.cs
- DesignTable.cs
- ImageBrush.cs
- IntSumAggregationOperator.cs
- SBCSCodePageEncoding.cs
- UIElementPropertyUndoUnit.cs
- PrePrepareMethodAttribute.cs
- AttachedPropertyBrowsableAttribute.cs
- Dynamic.cs
- XmlSchemaImport.cs
- PostBackTrigger.cs
- IPEndPoint.cs
- AssemblyBuilder.cs
- AdCreatedEventArgs.cs
- TypeValidationEventArgs.cs
- BitmapEffectDrawingContent.cs
- BinaryVersion.cs
- DataServiceRequestOfT.cs
- UniqueContractNameValidationBehavior.cs
- BindUriHelper.cs
- StateItem.cs
- sqlcontext.cs
- RootBuilder.cs
- CodeGeneratorOptions.cs
- CommonProperties.cs
- ConfigurationProperty.cs
- ListChangedEventArgs.cs
- InstancePersistenceException.cs
- ImpersonateTokenRef.cs
- CacheHelper.cs
- ByteStreamMessageEncoder.cs
- SafeFreeMibTable.cs
- Config.cs
- PlaceHolder.cs
- RecipientInfo.cs
- TempFiles.cs
- coordinator.cs
- CDSCollectionETWBCLProvider.cs
- ResourceCategoryAttribute.cs
- WpfXamlMember.cs
- IntegerFacetDescriptionElement.cs
- InvokePatternIdentifiers.cs
- FixedSOMTable.cs
- TagPrefixCollection.cs
- ServiceReference.cs
- Profiler.cs
- RunInstallerAttribute.cs