Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / 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
- DynamicValidatorEventArgs.cs
- InvokeAction.cs
- GridErrorDlg.cs
- Events.cs
- InputScopeAttribute.cs
- CursorConverter.cs
- HtmlInputText.cs
- KnownTypesProvider.cs
- DurableInstanceProvider.cs
- UInt32Converter.cs
- ToolStripRenderEventArgs.cs
- SetStoryboardSpeedRatio.cs
- SerializerDescriptor.cs
- ReachDocumentSequenceSerializerAsync.cs
- X509ClientCertificateAuthentication.cs
- WorkflowTraceTransfer.cs
- CustomValidator.cs
- ConfigXmlElement.cs
- ViewLoader.cs
- Attributes.cs
- ListMarkerSourceInfo.cs
- TdsEnums.cs
- EntityObject.cs
- BigInt.cs
- Triplet.cs
- PhonemeEventArgs.cs
- ThousandthOfEmRealDoubles.cs
- TextTreeExtractElementUndoUnit.cs
- SlotInfo.cs
- DataGridViewCellStyleChangedEventArgs.cs
- Literal.cs
- CompiledXpathExpr.cs
- WebPartAddingEventArgs.cs
- ScrollBarAutomationPeer.cs
- CoreSwitches.cs
- CrossSiteScriptingValidation.cs
- Configuration.cs
- MsdtcWrapper.cs
- XmlSchemaAnyAttribute.cs
- BamlRecordReader.cs
- HttpSessionStateBase.cs
- Model3DGroup.cs
- UnhandledExceptionEventArgs.cs
- TrustLevelCollection.cs
- TabItem.cs
- BackStopAuthenticationModule.cs
- cookie.cs
- JsonSerializer.cs
- HasCopySemanticsAttribute.cs
- _CookieModule.cs
- EntityDataSourceMemberPath.cs
- VSWCFServiceContractGenerator.cs
- XmlSerializerSection.cs
- XamlSerializer.cs
- DLinqTableProvider.cs
- XmlSchemaObject.cs
- AuthenticationException.cs
- ComplexObject.cs
- FileRegion.cs
- documentsequencetextview.cs
- ConstraintManager.cs
- SchemaImporterExtensionsSection.cs
- Crypto.cs
- sqlinternaltransaction.cs
- EntitySetBaseCollection.cs
- DragDeltaEventArgs.cs
- NamedElement.cs
- CorruptStoreException.cs
- VariantWrapper.cs
- codemethodreferenceexpression.cs
- PerspectiveCamera.cs
- ReadOnlyMetadataCollection.cs
- MD5CryptoServiceProvider.cs
- TrackBar.cs
- BinaryUtilClasses.cs
- KeyFrames.cs
- CryptoProvider.cs
- LookupNode.cs
- While.cs
- TextRunTypographyProperties.cs
- ResourceContainer.cs
- LocalizableResourceBuilder.cs
- SafeCryptContextHandle.cs
- ReadOnlyPropertyMetadata.cs
- Scripts.cs
- XPathItem.cs
- DynamicValueConverter.cs
- ClockController.cs
- KeySplineConverter.cs
- Span.cs
- DebuggerService.cs
- XsltArgumentList.cs
- RowVisual.cs
- Hashtable.cs
- XmlAttributeProperties.cs
- AspNetCompatibilityRequirementsMode.cs
- _UriSyntax.cs
- WebPartVerb.cs
- AbstractSvcMapFileLoader.cs
- WebEncodingValidator.cs