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
- DeflateStream.cs
- SafeBitVector32.cs
- XmlHierarchicalDataSourceView.cs
- ContentDisposition.cs
- SoapAttributes.cs
- PingReply.cs
- X509CertificateCollection.cs
- StrictAndMessageFilter.cs
- CancellationToken.cs
- TreeNodeEventArgs.cs
- OleDbStruct.cs
- CryptoApi.cs
- InlineCategoriesDocument.cs
- TransformedBitmap.cs
- SocketInformation.cs
- LazyInitializer.cs
- FieldCollectionEditor.cs
- UrlMapping.cs
- UdpDiscoveryEndpointElement.cs
- xmlfixedPageInfo.cs
- Config.cs
- DrawingContextDrawingContextWalker.cs
- TableDetailsCollection.cs
- PolyLineSegment.cs
- ExceptionWrapper.cs
- RolePrincipal.cs
- AggregateNode.cs
- VectorConverter.cs
- ConfigXmlSignificantWhitespace.cs
- FieldAccessException.cs
- TableLayoutColumnStyleCollection.cs
- LoginName.cs
- DbProviderFactory.cs
- ProxyAttribute.cs
- DBProviderConfigurationHandler.cs
- DisplayClaim.cs
- OlePropertyStructs.cs
- _SafeNetHandles.cs
- WebPartConnectionsCancelVerb.cs
- ComponentCommands.cs
- Control.cs
- SessionStateUtil.cs
- MenuEventArgs.cs
- DataBindingValueUIHandler.cs
- StatusBar.cs
- RadialGradientBrush.cs
- AttachedPropertyMethodSelector.cs
- TextStore.cs
- DoubleStorage.cs
- MonthCalendar.cs
- ObjectFactoryCodeDomTreeGenerator.cs
- TextAdaptor.cs
- JournalEntry.cs
- ToolStripProgressBar.cs
- SchemaMerger.cs
- BamlLocalizableResourceKey.cs
- AutomationAttributeInfo.cs
- CompoundFileStorageReference.cs
- EncoderFallback.cs
- FunctionMappingTranslator.cs
- CatalogPart.cs
- MenuItemStyle.cs
- NoResizeHandleGlyph.cs
- SqlUtils.cs
- SerializationUtilities.cs
- SmtpReplyReader.cs
- WebEvents.cs
- XmlSortKeyAccumulator.cs
- TrackingSection.cs
- SqlDataReader.cs
- Point3DKeyFrameCollection.cs
- unsafenativemethodsother.cs
- NotificationContext.cs
- HttpCookieCollection.cs
- ContextMenu.cs
- ServiceBehaviorElement.cs
- SchemaCollectionCompiler.cs
- InputProcessorProfilesLoader.cs
- IgnoreFileBuildProvider.cs
- HttpHandlerAction.cs
- BrowserCapabilitiesFactoryBase.cs
- CompressionTransform.cs
- NamespaceList.cs
- CodeObject.cs
- Switch.cs
- Int32EqualityComparer.cs
- WinCategoryAttribute.cs
- assemblycache.cs
- ValueExpressions.cs
- InstanceCreationEditor.cs
- ScrollEventArgs.cs
- MarkedHighlightComponent.cs
- Transform3DGroup.cs
- GridToolTip.cs
- ServiceHostFactory.cs
- SettingsProviderCollection.cs
- ControlHelper.cs
- ProvidersHelper.cs
- WebInvokeAttribute.cs
- NameSpaceExtractor.cs