Code:
/ FXUpdate3074 / FXUpdate3074 / 1.1 / untmp / whidbey / QFE / ndp / fx / src / Xml / System / Xml / schema / validationstate.cs / 2 / 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
- EntityCollection.cs
- MasterPageParser.cs
- TextParagraphProperties.cs
- SqlCommand.cs
- DbDataAdapter.cs
- GeometryConverter.cs
- ListParagraph.cs
- NetPeerTcpBinding.cs
- CompositeControl.cs
- UInt32Storage.cs
- UnwrappedTypesXmlSerializerManager.cs
- DataServiceException.cs
- SiteOfOriginPart.cs
- MetadataPropertyAttribute.cs
- WebPartPersonalization.cs
- ResourcePool.cs
- Module.cs
- AuditLevel.cs
- SerialErrors.cs
- ServiceTimeoutsElement.cs
- PropertyExpression.cs
- ProjectionPruner.cs
- HttpCookie.cs
- LinearQuaternionKeyFrame.cs
- MetadataArtifactLoaderResource.cs
- RelationshipNavigation.cs
- VisualStyleTypesAndProperties.cs
- ComponentResourceManager.cs
- TaiwanLunisolarCalendar.cs
- GridPattern.cs
- CompareInfo.cs
- Brush.cs
- TextServicesDisplayAttribute.cs
- XmlWrappingReader.cs
- CommonDialog.cs
- QueryCacheManager.cs
- UnsafeNativeMethods.cs
- XmlValueConverter.cs
- SingleTagSectionHandler.cs
- Geometry.cs
- BrowserCapabilitiesFactory.cs
- _NetworkingPerfCounters.cs
- ServiceChannel.cs
- DescendentsWalker.cs
- XhtmlTextWriter.cs
- SharedConnectionListener.cs
- EntityPropertyMappingAttribute.cs
- PlatformNotSupportedException.cs
- VisualBasicSettingsHandler.cs
- CommonDialog.cs
- FileClassifier.cs
- TextDecorationLocationValidation.cs
- HWStack.cs
- PagesSection.cs
- UserControlAutomationPeer.cs
- CFGGrammar.cs
- KeyProperty.cs
- ClientBuildManagerCallback.cs
- util.cs
- UpdateManifestForBrowserApplication.cs
- WindowsRebar.cs
- RenderData.cs
- RepeaterCommandEventArgs.cs
- UserPreferenceChangingEventArgs.cs
- FindResponse.cs
- IncrementalHitTester.cs
- FtpWebRequest.cs
- DbModificationCommandTree.cs
- FixedBufferAttribute.cs
- Brushes.cs
- DataRecordInfo.cs
- ObjectConverter.cs
- ListViewItem.cs
- ListViewItem.cs
- OleDbInfoMessageEvent.cs
- TextSelectionHighlightLayer.cs
- basecomparevalidator.cs
- FixedSOMPage.cs
- ApplicationFileParser.cs
- CheckBoxField.cs
- ConditionalDesigner.cs
- SmtpDigestAuthenticationModule.cs
- ExpandCollapseIsCheckedConverter.cs
- EndpointPerformanceCounters.cs
- ServiceReference.cs
- TextViewSelectionProcessor.cs
- DataSourceSelectArguments.cs
- ProfileModule.cs
- ClassHandlersStore.cs
- RichTextBoxConstants.cs
- ResolveRequestResponseAsyncResult.cs
- DoubleSumAggregationOperator.cs
- SamlDoNotCacheCondition.cs
- LogLogRecordHeader.cs
- BindStream.cs
- DataObjectAttribute.cs
- ByteConverter.cs
- TimeoutException.cs
- XmlSchemaAttributeGroupRef.cs
- XmlUnspecifiedAttribute.cs