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
- HwndMouseInputProvider.cs
- Array.cs
- BinHexEncoding.cs
- Executor.cs
- SqlBulkCopyColumnMappingCollection.cs
- XPathNode.cs
- HiddenFieldPageStatePersister.cs
- CodeBlockBuilder.cs
- WindowsRichEditRange.cs
- RowCache.cs
- Debug.cs
- HttpProfileGroupBase.cs
- ObjectListFieldCollection.cs
- Parsers.cs
- DateTimeConverter2.cs
- ButtonColumn.cs
- DropTarget.cs
- FontUnitConverter.cs
- RemotingConfiguration.cs
- RemoteWebConfigurationHostStream.cs
- XmlValidatingReaderImpl.cs
- StretchValidation.cs
- PublisherIdentityPermission.cs
- GradientStop.cs
- Tag.cs
- KeyValuePair.cs
- EditorZone.cs
- Binding.cs
- XamlFigureLengthSerializer.cs
- _SecureChannel.cs
- EntityStoreSchemaGenerator.cs
- CapabilitiesUse.cs
- Operand.cs
- EditBehavior.cs
- ScrollChrome.cs
- RichTextBox.cs
- ResourceDescriptionAttribute.cs
- SafeTimerHandle.cs
- TextTreeInsertUndoUnit.cs
- Effect.cs
- MembershipUser.cs
- CustomAttributeFormatException.cs
- Utils.cs
- FontInfo.cs
- MaterialCollection.cs
- XmlJsonReader.cs
- ExceptionUtil.cs
- ListViewDataItem.cs
- CodeTypeDeclaration.cs
- _AutoWebProxyScriptWrapper.cs
- VirtualPathProvider.cs
- MbpInfo.cs
- RealizationContext.cs
- QilInvokeEarlyBound.cs
- BindingNavigatorDesigner.cs
- MimeMapping.cs
- FragmentQuery.cs
- MouseActionConverter.cs
- PropertyDescriptorCollection.cs
- Completion.cs
- UInt16.cs
- AbandonedMutexException.cs
- UserInitiatedNavigationPermission.cs
- ProbeMatchesCD1.cs
- DeferredTextReference.cs
- Queue.cs
- Cursors.cs
- ObjectConverter.cs
- SafeRightsManagementQueryHandle.cs
- WindowAutomationPeer.cs
- CorrelationValidator.cs
- RemoteHelper.cs
- CompiledIdentityConstraint.cs
- ActivationProxy.cs
- SafeCertificateContext.cs
- BrowserCapabilitiesFactoryBase.cs
- TagMapInfo.cs
- HotSpotCollection.cs
- XmlSchemaSearchPattern.cs
- arc.cs
- XmlSchemaAppInfo.cs
- MarshalByValueComponent.cs
- PathFigureCollectionValueSerializer.cs
- OleDbSchemaGuid.cs
- XmlWrappingWriter.cs
- PartialCachingAttribute.cs
- ComponentSerializationService.cs
- WebPartZoneBase.cs
- SystemFonts.cs
- RelatedView.cs
- PrintEvent.cs
- MobileControlBuilder.cs
- ExpressionPrefixAttribute.cs
- CompositeScriptReferenceEventArgs.cs
- CompositeDataBoundControl.cs
- Cloud.cs
- WebPartManager.cs
- RectAnimationClockResource.cs
- ClientSideProviderDescription.cs
- GridEntry.cs