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
- StringSorter.cs
- SqlError.cs
- AdRotator.cs
- basenumberconverter.cs
- CustomAttributeBuilder.cs
- Maps.cs
- EnumUnknown.cs
- DataGridViewLinkColumn.cs
- TrustLevel.cs
- ProcessHostFactoryHelper.cs
- QilBinary.cs
- TrackBarDesigner.cs
- PointLight.cs
- UpdatePanel.cs
- ChtmlPhoneCallAdapter.cs
- ExpressionPrefixAttribute.cs
- SettingsPropertyNotFoundException.cs
- NativeMethods.cs
- XmlCDATASection.cs
- OleDbTransaction.cs
- SmtpReplyReaderFactory.cs
- ByteAnimationUsingKeyFrames.cs
- ObjectItemNoOpAssemblyLoader.cs
- ToolStripComboBox.cs
- StrokeIntersection.cs
- ElementAction.cs
- SyndicationSerializer.cs
- CodeGenerator.cs
- AssemblyLoader.cs
- IndexingContentUnit.cs
- MLangCodePageEncoding.cs
- StrongNameUtility.cs
- ReadOnlyCollectionBase.cs
- OleDbPermission.cs
- SecurityException.cs
- SmtpException.cs
- CharacterString.cs
- BoundField.cs
- SQLBytesStorage.cs
- MulticastIPAddressInformationCollection.cs
- SiteMembershipCondition.cs
- CodeGotoStatement.cs
- SocketElement.cs
- TreeView.cs
- ComponentCommands.cs
- DetectEofStream.cs
- ReachDocumentReferenceCollectionSerializerAsync.cs
- PrtCap_Public.cs
- TimelineClockCollection.cs
- AnnotationAdorner.cs
- TextTreeText.cs
- SafeBuffer.cs
- SelectionChangedEventArgs.cs
- ClaimTypeElement.cs
- KeyNotFoundException.cs
- VectorAnimationBase.cs
- unsafenativemethodsother.cs
- IdentityNotMappedException.cs
- MainMenu.cs
- RoleManagerModule.cs
- EntityEntry.cs
- RenderingEventArgs.cs
- ValidationHelper.cs
- RequestBringIntoViewEventArgs.cs
- DataGridToolTip.cs
- HttpCookieCollection.cs
- AnnotationAuthorChangedEventArgs.cs
- SendMessageRecord.cs
- CustomUserNameSecurityTokenAuthenticator.cs
- KnownIds.cs
- MonitorWrapper.cs
- ClassicBorderDecorator.cs
- Funcletizer.cs
- TreeWalker.cs
- HttpChannelListener.cs
- FileStream.cs
- DynamicILGenerator.cs
- SqlDataSourceRefreshSchemaForm.cs
- DecimalAnimationBase.cs
- CheckBox.cs
- IPAddressCollection.cs
- ValidateNames.cs
- SecureUICommand.cs
- Substitution.cs
- WindowsFormsHostAutomationPeer.cs
- CommunicationException.cs
- DataSourceXmlTextReader.cs
- TypeResolvingOptions.cs
- MetadataItem.cs
- CodeIndexerExpression.cs
- BufferedWebEventProvider.cs
- Button.cs
- ConfigLoader.cs
- FunctionImportMapping.cs
- TerminateSequence.cs
- querybuilder.cs
- BitmapFrame.cs
- DeploymentExceptionMapper.cs
- DataServiceExpressionVisitor.cs
- ModelUIElement3D.cs