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
- NullableBoolConverter.cs
- WebResourceAttribute.cs
- RuntimeArgumentHandle.cs
- ScriptResourceHandler.cs
- ExpressionConverter.cs
- EntityFrameworkVersions.cs
- QueryableDataSourceView.cs
- XmlSubtreeReader.cs
- ProcessProtocolHandler.cs
- Stopwatch.cs
- FontEmbeddingManager.cs
- Decimal.cs
- LinearGradientBrush.cs
- ListViewPagedDataSource.cs
- xmlsaver.cs
- DragEventArgs.cs
- PrintDialog.cs
- ErasingStroke.cs
- ServerReliableChannelBinder.cs
- Binding.cs
- DnsEndPoint.cs
- SqlInternalConnectionTds.cs
- TreeView.cs
- DataGridParentRows.cs
- TextTreeNode.cs
- FilterEventArgs.cs
- XmlEnumAttribute.cs
- FormatConvertedBitmap.cs
- CalloutQueueItem.cs
- ComboBoxRenderer.cs
- FileNotFoundException.cs
- DefaultValueConverter.cs
- TypeExtensions.cs
- FontUnit.cs
- PipelineModuleStepContainer.cs
- ThumbAutomationPeer.cs
- XmlQualifiedName.cs
- ConnectionPoint.cs
- PopOutPanel.cs
- PasswordDeriveBytes.cs
- CodePageUtils.cs
- RequestTimeoutManager.cs
- SecurityPolicySection.cs
- AdapterUtil.cs
- EventItfInfo.cs
- CornerRadius.cs
- DataStreamFromComStream.cs
- login.cs
- TableDetailsCollection.cs
- UniqueSet.cs
- ModuleBuilder.cs
- LinkClickEvent.cs
- StorageInfo.cs
- BeginStoryboard.cs
- QueryStack.cs
- ObjectListItem.cs
- mda.cs
- ElementAtQueryOperator.cs
- WebPartDescription.cs
- OracleCommandSet.cs
- BinaryFormatterWriter.cs
- SqlDataSourceConnectionPanel.cs
- MappingException.cs
- ControlTemplate.cs
- RootBrowserWindowProxy.cs
- StoragePropertyMapping.cs
- QilDataSource.cs
- CustomCategoryAttribute.cs
- FontStyle.cs
- MouseButtonEventArgs.cs
- CounterCreationData.cs
- NullableIntMinMaxAggregationOperator.cs
- RoleService.cs
- MemberDescriptor.cs
- Floater.cs
- BitmapEncoder.cs
- ExpressionParser.cs
- ManipulationCompletedEventArgs.cs
- DebugController.cs
- RichTextBoxAutomationPeer.cs
- BindToObject.cs
- ExpandCollapseIsCheckedConverter.cs
- CheckBoxRenderer.cs
- DataBoundControl.cs
- DataTablePropertyDescriptor.cs
- SQLInt64Storage.cs
- IItemProperties.cs
- NestPullup.cs
- XmlTextWriter.cs
- CqlBlock.cs
- Native.cs
- MouseDevice.cs
- WebPartUserCapability.cs
- TransformerInfo.cs
- NullNotAllowedCollection.cs
- SharedPerformanceCounter.cs
- PrintPreviewControl.cs
- InkPresenterAutomationPeer.cs
- TextRunCache.cs
- WindowsSysHeader.cs