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
- _ProxyChain.cs
- TableColumn.cs
- ApplicationManager.cs
- Rethrow.cs
- AnchoredBlock.cs
- NavigationPropertyAccessor.cs
- SrgsElementFactoryCompiler.cs
- RecordsAffectedEventArgs.cs
- SortKey.cs
- DisposableCollectionWrapper.cs
- _IPv4Address.cs
- remotingproxy.cs
- AuthenticationException.cs
- WeakEventTable.cs
- ProxyElement.cs
- HtmlElement.cs
- TextServicesProperty.cs
- ProcessModuleCollection.cs
- ComponentCollection.cs
- XPathAxisIterator.cs
- Int32Storage.cs
- CollectionViewGroupRoot.cs
- ListCommandEventArgs.cs
- Splitter.cs
- DbException.cs
- SendMailErrorEventArgs.cs
- BamlStream.cs
- AutoGeneratedFieldProperties.cs
- LocalizedNameDescriptionPair.cs
- FileFormatException.cs
- DataSvcMapFileSerializer.cs
- ProviderUtil.cs
- ServiceOperationParameter.cs
- SingleSelectRootGridEntry.cs
- ContentPlaceHolderDesigner.cs
- LazyInitializer.cs
- Subtree.cs
- WinInet.cs
- TextServicesManager.cs
- XmlSchemaSimpleType.cs
- XmlSortKey.cs
- CheckBoxFlatAdapter.cs
- Constraint.cs
- CngProvider.cs
- ProtocolInformationReader.cs
- SrgsNameValueTag.cs
- TableStyle.cs
- StateInitializationDesigner.cs
- ScriptRegistrationManager.cs
- DockPatternIdentifiers.cs
- ImageFormatConverter.cs
- MissingMethodException.cs
- SynchronizationContext.cs
- mansign.cs
- SafeSecurityHandles.cs
- AdapterDictionary.cs
- SqlUDTStorage.cs
- SchemaImporterExtensionElementCollection.cs
- TableLayoutCellPaintEventArgs.cs
- HtmlInputSubmit.cs
- EdmProperty.cs
- XmlSchemaParticle.cs
- Decorator.cs
- HttpCacheVaryByContentEncodings.cs
- DefaultAsyncDataDispatcher.cs
- MetaTable.cs
- Freezable.cs
- StaticTextPointer.cs
- OptimizedTemplateContent.cs
- Duration.cs
- AppDomainProtocolHandler.cs
- MenuEventArgs.cs
- PrintDocument.cs
- Command.cs
- CountdownEvent.cs
- WebUtil.cs
- BitmapEffectGroup.cs
- MulticastDelegate.cs
- HashAlgorithm.cs
- ModelFunction.cs
- UnsafeNativeMethodsCLR.cs
- MetadataUtilsSmi.cs
- DashStyle.cs
- _FtpControlStream.cs
- DefaultValueAttribute.cs
- UInt32Converter.cs
- CommandPlan.cs
- ContextProperty.cs
- BaseValidatorDesigner.cs
- SingleAnimationBase.cs
- EmptyQuery.cs
- FreezableOperations.cs
- XamlTemplateSerializer.cs
- ButtonChrome.cs
- ObjectViewEntityCollectionData.cs
- SystemKeyConverter.cs
- RegexCharClass.cs
- NullReferenceException.cs
- EventPrivateKey.cs
- LocalizedNameDescriptionPair.cs