Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / 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. // //[....] //----------------------------------------------------------------------------- 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
- COAUTHIDENTITY.cs
- QuotaThrottle.cs
- GeneratedContractType.cs
- StoreConnection.cs
- CounterSample.cs
- Certificate.cs
- WindowsEditBox.cs
- InstanceKeyNotReadyException.cs
- CLSCompliantAttribute.cs
- odbcmetadatafactory.cs
- InfocardExtendedInformationEntry.cs
- OneOfTypeConst.cs
- MaxValueConverter.cs
- OneToOneMappingSerializer.cs
- DynamicILGenerator.cs
- SymbolEqualComparer.cs
- Stack.cs
- TableRow.cs
- bidPrivateBase.cs
- XmlQuerySequence.cs
- TypefaceMetricsCache.cs
- DataSetSchema.cs
- DbConnectionPoolCounters.cs
- ScrollChrome.cs
- EventSetter.cs
- NativeMethods.cs
- ToolBar.cs
- altserialization.cs
- SqlParameterizer.cs
- GeneralTransformGroup.cs
- SpeakInfo.cs
- DataGridViewAutoSizeColumnModeEventArgs.cs
- MenuItemStyleCollectionEditor.cs
- _NegotiateClient.cs
- WebBrowserPermission.cs
- Html32TextWriter.cs
- MsmqIntegrationAppDomainProtocolHandler.cs
- PropertyManager.cs
- WebPartConnectionsCancelEventArgs.cs
- HtmlTable.cs
- SerialPinChanges.cs
- HeaderedContentControl.cs
- StaticSiteMapProvider.cs
- VSWCFServiceContractGenerator.cs
- Parameter.cs
- PrintEvent.cs
- ObjectSecurity.cs
- TraceData.cs
- tibetanshape.cs
- GridViewSortEventArgs.cs
- Command.cs
- FontCacheLogic.cs
- LongValidator.cs
- MenuStrip.cs
- TypeUsageBuilder.cs
- TemplateBindingExpressionConverter.cs
- IpcPort.cs
- Pointer.cs
- SmiEventSink_Default.cs
- DelegateTypeInfo.cs
- QilLiteral.cs
- UrlPropertyAttribute.cs
- GenericAuthenticationEventArgs.cs
- GcHandle.cs
- SmiEventSink_Default.cs
- SqlWriter.cs
- DataGridViewCellFormattingEventArgs.cs
- WindowsGraphics2.cs
- MimeFormReflector.cs
- XmlSchemaAttributeGroup.cs
- CompositeFontInfo.cs
- ScrollBarAutomationPeer.cs
- BackgroundWorker.cs
- XmlIncludeAttribute.cs
- WebPartMovingEventArgs.cs
- DropDownList.cs
- RepeatButtonAutomationPeer.cs
- SafeThreadHandle.cs
- Converter.cs
- StylusTouchDevice.cs
- RtfToken.cs
- SoapInteropTypes.cs
- Highlights.cs
- NamedPipeTransportSecurityElement.cs
- CharKeyFrameCollection.cs
- DtdParser.cs
- DtrList.cs
- MediaContextNotificationWindow.cs
- ComponentCollection.cs
- CompiledRegexRunnerFactory.cs
- TextTreeUndo.cs
- UIElementAutomationPeer.cs
- StylusCollection.cs
- XmlWrappingReader.cs
- PreviewKeyDownEventArgs.cs
- RenderData.cs
- ReadOnlyDictionary.cs
- XmlRawWriterWrapper.cs
- SerialPort.cs
- DataControlLinkButton.cs