Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / Xml / System / Xml / schema / validationstate.cs / 1305376 / 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.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- DrawListViewItemEventArgs.cs
- ScalarOps.cs
- InnerItemCollectionView.cs
- DecoderBestFitFallback.cs
- DictionarySectionHandler.cs
- AssemblyAttributes.cs
- ProxyFragment.cs
- ContentPosition.cs
- Hashtable.cs
- Repeater.cs
- SemaphoreSecurity.cs
- ProxyWebPart.cs
- FileRecordSequenceCompletedAsyncResult.cs
- XmlSiteMapProvider.cs
- UserControlCodeDomTreeGenerator.cs
- MimeParameters.cs
- PolyLineSegment.cs
- TagMapInfo.cs
- ProtocolsConfigurationHandler.cs
- SHA512.cs
- FixedHighlight.cs
- SafeIUnknown.cs
- TrackingProfileCache.cs
- ObjectContext.cs
- ComponentConverter.cs
- FormattedTextSymbols.cs
- SchemaInfo.cs
- StringCollectionEditor.cs
- ChannelServices.cs
- ArgumentOutOfRangeException.cs
- ParseElementCollection.cs
- recordstatescratchpad.cs
- sitestring.cs
- HtmlInputImage.cs
- FirstQueryOperator.cs
- DefaultDialogButtons.cs
- WorkflowView.cs
- SessionParameter.cs
- StubHelpers.cs
- Scripts.cs
- ConfigurationSectionGroup.cs
- SessionIDManager.cs
- EntityUtil.cs
- IsolationInterop.cs
- RuleAction.cs
- CursorConverter.cs
- DecoderReplacementFallback.cs
- PersonalizationDictionary.cs
- TextUtf8RawTextWriter.cs
- SettingsPropertyValue.cs
- OneOfConst.cs
- Rotation3D.cs
- TextElementEnumerator.cs
- Vector3DCollection.cs
- XPathPatternBuilder.cs
- VisualStyleRenderer.cs
- VectorConverter.cs
- Odbc32.cs
- mediaeventargs.cs
- XmlValueConverter.cs
- ButtonFieldBase.cs
- SettingsPropertyCollection.cs
- HtmlUtf8RawTextWriter.cs
- DynamicDiscoveryDocument.cs
- StylusPointPropertyUnit.cs
- StaticExtension.cs
- CallbackDebugBehavior.cs
- DataColumnMappingCollection.cs
- Baml2006Reader.cs
- ExtensionWindowHeader.cs
- DataServiceException.cs
- ProxyWebPartManager.cs
- DataListItemCollection.cs
- LeafCellTreeNode.cs
- ConnectionStringsExpressionBuilder.cs
- WindowsListViewSubItem.cs
- ICspAsymmetricAlgorithm.cs
- TrackingProfileSerializer.cs
- BindValidator.cs
- Preprocessor.cs
- SettingsBindableAttribute.cs
- KeySpline.cs
- HttpCapabilitiesSectionHandler.cs
- InvokeGenerator.cs
- CurrencyManager.cs
- ImpersonationContext.cs
- validationstate.cs
- TreeViewItem.cs
- AesManaged.cs
- CheckoutException.cs
- WindowsProgressbar.cs
- HttpModuleActionCollection.cs
- ListItem.cs
- TypeConverterHelper.cs
- DefaultPropertiesToSend.cs
- WmpBitmapEncoder.cs
- DllNotFoundException.cs
- ListViewGroupConverter.cs
- StylusLogic.cs
- RequestNavigateEventArgs.cs