Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / 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
- TraceContextEventArgs.cs
- LogArchiveSnapshot.cs
- StylusEditingBehavior.cs
- FlagsAttribute.cs
- ErrorInfoXmlDocument.cs
- PaintEvent.cs
- BrowserDefinitionCollection.cs
- WindowsScrollBarBits.cs
- ScrollContentPresenter.cs
- UndirectedGraph.cs
- DesignerActionService.cs
- DetailsViewInsertedEventArgs.cs
- AsyncPostBackErrorEventArgs.cs
- HttpWebRequest.cs
- TemplateControlBuildProvider.cs
- PageAsyncTaskManager.cs
- CollectionsUtil.cs
- DesignerImageAdapter.cs
- GridProviderWrapper.cs
- ValueTypeFixupInfo.cs
- HierarchicalDataSourceControl.cs
- AppendHelper.cs
- DataFormats.cs
- MdiWindowListItemConverter.cs
- TaskDesigner.cs
- OdbcDataAdapter.cs
- EntityDataSourceDesigner.cs
- embossbitmapeffect.cs
- Stackframe.cs
- DataGridViewTextBoxEditingControl.cs
- PropertyGrid.cs
- CompressedStack.cs
- SkipQueryOptionExpression.cs
- InfoCardSymmetricAlgorithm.cs
- DispatcherTimer.cs
- SQLInt16Storage.cs
- HwndSource.cs
- CompiledWorkflowDefinitionContext.cs
- NativeMethods.cs
- RotateTransform.cs
- Brushes.cs
- IPAddressCollection.cs
- AxHost.cs
- ManipulationCompletedEventArgs.cs
- DataBinder.cs
- SystemResourceHost.cs
- PkcsMisc.cs
- Msmq4SubqueuePoisonHandler.cs
- DbgCompiler.cs
- SemaphoreSecurity.cs
- SelectionWordBreaker.cs
- ColumnMapTranslator.cs
- TimeoutValidationAttribute.cs
- HttpCapabilitiesSectionHandler.cs
- rsa.cs
- InvokeWebServiceDesigner.cs
- WebConfigManager.cs
- AsyncDataRequest.cs
- StringUtil.cs
- OleCmdHelper.cs
- EraserBehavior.cs
- ArraySegment.cs
- DbConnectionHelper.cs
- ScriptIgnoreAttribute.cs
- NameValueCollection.cs
- PixelShader.cs
- PrintPreviewControl.cs
- ToolStripKeyboardHandlingService.cs
- SqlDependency.cs
- DateTimeFormatInfoScanner.cs
- WindowsListViewGroup.cs
- ControlCachePolicy.cs
- ReferenceEqualityComparer.cs
- MethodRental.cs
- Semaphore.cs
- RangeExpression.cs
- DataServiceProcessingPipeline.cs
- ValidationEventArgs.cs
- Util.cs
- ToolBarPanel.cs
- ContentElement.cs
- WebZone.cs
- DatatypeImplementation.cs
- ConfigXmlComment.cs
- Model3D.cs
- COM2FontConverter.cs
- DataColumnMappingCollection.cs
- SqlTriggerContext.cs
- SoapSchemaExporter.cs
- DateTimeFormat.cs
- Table.cs
- NewItemsContextMenuStrip.cs
- SecurityCriticalDataForSet.cs
- CompositeFontInfo.cs
- CompatibleComparer.cs
- EntityDataSourceViewSchema.cs
- NetMsmqBinding.cs
- SchemaCollectionCompiler.cs
- Dump.cs
- InternalControlCollection.cs