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
- SeverityFilter.cs
- DataSourceSelectArguments.cs
- Visual.cs
- DataGridView.cs
- ByteAnimationUsingKeyFrames.cs
- BooleanAnimationUsingKeyFrames.cs
- AgileSafeNativeMemoryHandle.cs
- FilterElement.cs
- PixelShader.cs
- DateTime.cs
- DataSourceComponent.cs
- OleDbDataAdapter.cs
- ViewGenerator.cs
- AtlasWeb.Designer.cs
- SmiGettersStream.cs
- ButtonField.cs
- TextBoxLine.cs
- Invariant.cs
- DataGridItemCollection.cs
- XPathPatternParser.cs
- XmlSchemaElement.cs
- WindowInteropHelper.cs
- ResourcePermissionBase.cs
- InvalidPipelineStoreException.cs
- TraceLog.cs
- BitmapSourceSafeMILHandle.cs
- BigInt.cs
- safex509handles.cs
- TypeExtensionSerializer.cs
- ErrorFormatter.cs
- DataBindingHandlerAttribute.cs
- DirtyTextRange.cs
- RSAPKCS1SignatureFormatter.cs
- OleDbFactory.cs
- TypePropertyEditor.cs
- EntityDataSourceContextCreatingEventArgs.cs
- BaseCodePageEncoding.cs
- __ComObject.cs
- XPathSelectionIterator.cs
- PermissionToken.cs
- QueryResults.cs
- QueryGenerator.cs
- Win32.cs
- GridView.cs
- XmlExpressionDumper.cs
- SqlUnionizer.cs
- StandardBindingCollectionElement.cs
- FileSystemWatcher.cs
- NativeMethods.cs
- StringAnimationBase.cs
- MimeWriter.cs
- ImageButton.cs
- WebPartEditVerb.cs
- TimeZoneInfo.cs
- AssemblyNameProxy.cs
- IISMapPath.cs
- glyphs.cs
- ActivityExecutionContextCollection.cs
- EventsTab.cs
- DataBinder.cs
- TextContainer.cs
- SchemaTableColumn.cs
- FocusWithinProperty.cs
- SqlConnectionPoolProviderInfo.cs
- ScriptResourceAttribute.cs
- WizardPanel.cs
- CapabilitiesState.cs
- QilXmlWriter.cs
- MatchAttribute.cs
- CustomSignedXml.cs
- validationstate.cs
- TreeViewBindingsEditorForm.cs
- AppSecurityManager.cs
- XmlNamespaceDeclarationsAttribute.cs
- EndOfStreamException.cs
- Cursors.cs
- XmlDocumentType.cs
- MergeExecutor.cs
- ITextView.cs
- OSFeature.cs
- SqlNamer.cs
- SR.cs
- StructuralObject.cs
- MemberMaps.cs
- SoapReflectionImporter.cs
- LiteralText.cs
- GuidTagList.cs
- CqlParserHelpers.cs
- AsymmetricAlgorithm.cs
- AsyncPostBackErrorEventArgs.cs
- XmlChildEnumerator.cs
- FormatSettings.cs
- ProcessModule.cs
- XPathBuilder.cs
- EventLog.cs
- TextParagraphProperties.cs
- Utils.cs
- XPathDocumentNavigator.cs
- InputProcessorProfiles.cs
- WindowsEditBox.cs