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
- DataGridViewCellParsingEventArgs.cs
- SignatureResourcePool.cs
- Point3DCollectionConverter.cs
- XmlConvert.cs
- OpenTypeCommon.cs
- WebHttpSecurityElement.cs
- NamespaceInfo.cs
- TranslateTransform.cs
- SoapFormatterSinks.cs
- DbTransaction.cs
- ControlEvent.cs
- RecordConverter.cs
- RelatedCurrencyManager.cs
- FunctionDescription.cs
- ImageMetadata.cs
- MobileCategoryAttribute.cs
- Speller.cs
- SizeIndependentAnimationStorage.cs
- BooleanExpr.cs
- LoadWorkflowByKeyAsyncResult.cs
- Vector3DAnimation.cs
- HtmlInputText.cs
- XmlDocumentSchema.cs
- ADMembershipProvider.cs
- Control.cs
- DataTableMappingCollection.cs
- StatusBar.cs
- SQLBinary.cs
- Operators.cs
- followingsibling.cs
- ObjectStateEntry.cs
- DateTimeSerializationSection.cs
- ParameterCollection.cs
- RecordManager.cs
- CurrencyManager.cs
- IndexingContentUnit.cs
- WebPartConnectionsCancelEventArgs.cs
- TreeNodeCollection.cs
- StyleHelper.cs
- DockProviderWrapper.cs
- SubpageParagraph.cs
- HtmlContainerControl.cs
- ClientRuntimeConfig.cs
- _ProxyChain.cs
- BulletedList.cs
- PackWebRequestFactory.cs
- streamingZipPartStream.cs
- DataViewManager.cs
- LayoutEvent.cs
- GeneralTransform.cs
- AppDomainFactory.cs
- Point3DIndependentAnimationStorage.cs
- Block.cs
- BamlRecordWriter.cs
- MouseDevice.cs
- WebConfigManager.cs
- ThreadExceptionDialog.cs
- EventLogWatcher.cs
- X500Name.cs
- GACMembershipCondition.cs
- RawStylusSystemGestureInputReport.cs
- CacheEntry.cs
- HybridDictionary.cs
- ArglessEventHandlerProxy.cs
- BuildResult.cs
- CompleteWizardStep.cs
- _ConnectionGroup.cs
- RequiredAttributeAttribute.cs
- NameScope.cs
- documentation.cs
- XmlLoader.cs
- LinearKeyFrames.cs
- XmlCDATASection.cs
- DesignerProperties.cs
- MsmqIntegrationSecurityMode.cs
- AnnotationAdorner.cs
- LeftCellWrapper.cs
- GridViewColumn.cs
- ActiveXHost.cs
- WaitForChangedResult.cs
- ISAPIRuntime.cs
- shaperfactoryquerycacheentry.cs
- NodeInfo.cs
- ExpressionBuilder.cs
- ConfigurationElementCollection.cs
- ActiveXHost.cs
- EventSinkHelperWriter.cs
- SessionStateUtil.cs
- Missing.cs
- DrawToolTipEventArgs.cs
- StyleReferenceConverter.cs
- NCryptSafeHandles.cs
- RelationshipWrapper.cs
- SmtpLoginAuthenticationModule.cs
- XmlStreamStore.cs
- AdapterDictionary.cs
- ListControlActionList.cs
- ComplexBindingPropertiesAttribute.cs
- DbCommandDefinition.cs
- XmlCollation.cs