Code:
/ DotNET / DotNET / 8.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
- serverconfig.cs
- HttpSysSettings.cs
- ColorMatrix.cs
- X509Certificate2.cs
- DrawTreeNodeEventArgs.cs
- ComponentDispatcher.cs
- CodeSnippetCompileUnit.cs
- ProfileService.cs
- GAC.cs
- ZipIOZip64EndOfCentralDirectoryBlock.cs
- FastPropertyAccessor.cs
- ConfigXmlSignificantWhitespace.cs
- ConnectionPoint.cs
- XXXInfos.cs
- _SslSessionsCache.cs
- SafeBitVector32.cs
- StyleCollection.cs
- XmlAutoDetectWriter.cs
- XmlSchemaGroupRef.cs
- IndexedEnumerable.cs
- ZipIOFileItemStream.cs
- RSAOAEPKeyExchangeDeformatter.cs
- MetadataArtifactLoaderXmlReaderWrapper.cs
- AuthenticationModuleElementCollection.cs
- ImageSourceConverter.cs
- SwitchCase.cs
- EncoderNLS.cs
- MiniCustomAttributeInfo.cs
- DynamicILGenerator.cs
- DocumentViewerBaseAutomationPeer.cs
- DataSourceXmlAttributeAttribute.cs
- PasswordBoxAutomationPeer.cs
- LinkArea.cs
- MessageLoggingElement.cs
- DockPanel.cs
- SmtpAuthenticationManager.cs
- DynamicPhysicalDiscoSearcher.cs
- ScrollableControl.cs
- OLEDB_Enum.cs
- MostlySingletonList.cs
- ISAPIWorkerRequest.cs
- Substitution.cs
- ValidationManager.cs
- ComplexType.cs
- ToolStripButton.cs
- ObservableDictionary.cs
- HtmlInputHidden.cs
- TextViewBase.cs
- FileNameEditor.cs
- GeneratedView.cs
- DictionaryEntry.cs
- ErrorFormatterPage.cs
- DependencyObjectPropertyDescriptor.cs
- RuntimeVariablesExpression.cs
- TypeAccessException.cs
- DataGridViewLinkColumn.cs
- FieldInfo.cs
- WinCategoryAttribute.cs
- SizeFConverter.cs
- NativeCompoundFileAPIs.cs
- CodeCompileUnit.cs
- BuildProviderAppliesToAttribute.cs
- StringWriter.cs
- ModelVisual3D.cs
- BufferedStream.cs
- HttpWebRequest.cs
- ImmutableObjectAttribute.cs
- HtmlTernaryTree.cs
- InplaceBitmapMetadataWriter.cs
- webbrowsersite.cs
- AuthorizationRule.cs
- NavigationWindow.cs
- WCFModelStrings.Designer.cs
- ObjectStateManager.cs
- FrameworkElementAutomationPeer.cs
- TableLayoutCellPaintEventArgs.cs
- DynamicQueryableWrapper.cs
- AdornerHitTestResult.cs
- CatalogPartCollection.cs
- AncillaryOps.cs
- EventProvider.cs
- EmptyEnumerator.cs
- UserUseLicenseDictionaryLoader.cs
- MetadataArtifactLoaderCompositeFile.cs
- ServicePointManagerElement.cs
- StrokeCollectionDefaultValueFactory.cs
- BinaryWriter.cs
- RuleConditionDialog.cs
- ConfigurationManagerInternal.cs
- UnitySerializationHolder.cs
- TableCellCollection.cs
- XamlPathDataSerializer.cs
- Propagator.ExtentPlaceholderCreator.cs
- TextPointer.cs
- DataGrid.cs
- OletxCommittableTransaction.cs
- XmlSchemaComplexContent.cs
- ErrorTableItemStyle.cs
- KnownColorTable.cs
- WeakReferenceList.cs