Code:
/ FX-1434 / FX-1434 / 1.0 / untmp / whidbey / REDBITS / 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.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- TreeNodeCollection.cs
- SvcMapFile.cs
- DataBinding.cs
- DocumentViewerConstants.cs
- PackWebRequest.cs
- NativeWindow.cs
- DataMemberFieldEditor.cs
- FileAuthorizationModule.cs
- ToolBarPanel.cs
- DynamicValidator.cs
- StandardCommands.cs
- XamlPathDataSerializer.cs
- IPEndPoint.cs
- CodeGroup.cs
- BuildProviderUtils.cs
- AppSettingsSection.cs
- ToolBar.cs
- COM2IDispatchConverter.cs
- MruCache.cs
- TableRowGroup.cs
- XmlQueryTypeFactory.cs
- AnnotationHelper.cs
- UnaryNode.cs
- Code.cs
- ISO2022Encoding.cs
- SessionState.cs
- XmlCharCheckingReader.cs
- UnsafeNativeMethods.cs
- DynamicRenderer.cs
- SymbolMethod.cs
- ConfigXmlAttribute.cs
- HtmlTernaryTree.cs
- RegexNode.cs
- ArrangedElement.cs
- XmlTypeMapping.cs
- InputQueueChannelAcceptor.cs
- ModelItemImpl.cs
- SspiWrapper.cs
- TextSimpleMarkerProperties.cs
- XsdBuilder.cs
- DbProviderServices.cs
- MatrixTransform.cs
- RequestSecurityTokenForGetBrowserToken.cs
- GridViewCancelEditEventArgs.cs
- BounceEase.cs
- DynamicQueryableWrapper.cs
- OleDbMetaDataFactory.cs
- ValidationRule.cs
- FileRecordSequenceCompletedAsyncResult.cs
- TransactionManager.cs
- TraceSource.cs
- IndexedGlyphRun.cs
- NameGenerator.cs
- DoubleLink.cs
- TaskFileService.cs
- XsltSettings.cs
- RayMeshGeometry3DHitTestResult.cs
- SoapObjectInfo.cs
- JavaScriptString.cs
- ServiceModelEnumValidator.cs
- Application.cs
- AssemblyName.cs
- CheckBoxField.cs
- AlignmentXValidation.cs
- ToolStripPanel.cs
- ObjectStateEntryDbDataRecord.cs
- DiscardableAttribute.cs
- SafeNativeMethods.cs
- TimeoutValidationAttribute.cs
- OdbcFactory.cs
- Pool.cs
- DataBindingHandlerAttribute.cs
- SqlMethodAttribute.cs
- TreeNodeEventArgs.cs
- EntityCodeGenerator.cs
- SmtpMail.cs
- VisualBrush.cs
- StandardOleMarshalObject.cs
- DbCommandDefinition.cs
- InvalidCommandTreeException.cs
- Viewport2DVisual3D.cs
- Publisher.cs
- DynamicPropertyHolder.cs
- SystemBrushes.cs
- WmlPageAdapter.cs
- TransformGroup.cs
- isolationinterop.cs
- DataColumnMapping.cs
- DataExpression.cs
- ManipulationStartedEventArgs.cs
- BaseTemplateParser.cs
- TableStyle.cs
- RectValueSerializer.cs
- ScriptServiceAttribute.cs
- TreeIterators.cs
- _ConnectionGroup.cs
- ScriptRegistrationManager.cs
- IgnoreFileBuildProvider.cs
- SerializableAttribute.cs
- CompressStream.cs