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
- DiscoveryVersionConverter.cs
- PropertyPathConverter.cs
- WSHttpBindingCollectionElement.cs
- _PooledStream.cs
- Italic.cs
- Pts.cs
- QueuePathDialog.cs
- EventLogPermissionEntryCollection.cs
- RoutedEvent.cs
- ElementsClipboardData.cs
- BindUriHelper.cs
- FixedSOMPage.cs
- GenericPrincipal.cs
- PropertyRef.cs
- CalculatedColumn.cs
- ExceptionHelpers.cs
- PagesSection.cs
- ApplicationHost.cs
- TdsValueSetter.cs
- DetectEofStream.cs
- Rules.cs
- XmlSerializerSection.cs
- LineBreak.cs
- SmiEventSink_DeferedProcessing.cs
- SatelliteContractVersionAttribute.cs
- StyleXamlParser.cs
- AsyncPostBackTrigger.cs
- Floater.cs
- StorageMappingItemCollection.cs
- CommandPlan.cs
- RequestSecurityTokenForRemoteTokenFactory.cs
- InputMethodStateTypeInfo.cs
- RowVisual.cs
- BaseParaClient.cs
- NetPeerTcpBindingCollectionElement.cs
- ExpressionLink.cs
- WebBrowserDocumentCompletedEventHandler.cs
- UnauthorizedWebPart.cs
- CounterSampleCalculator.cs
- ReferencedCollectionType.cs
- ProtocolsConfiguration.cs
- Point3DAnimationUsingKeyFrames.cs
- MaskedTextBoxDesignerActionList.cs
- dataobject.cs
- OdbcError.cs
- VariableAction.cs
- PolyQuadraticBezierSegment.cs
- BaseDataListDesigner.cs
- SoapIgnoreAttribute.cs
- DefaultTextStoreTextComposition.cs
- RuntimeConfig.cs
- DataGridViewImageColumn.cs
- CFStream.cs
- Merger.cs
- TraceHwndHost.cs
- TraceSwitch.cs
- CardSpacePolicyElement.cs
- TcpChannelHelper.cs
- AnnotationDocumentPaginator.cs
- Vector3DAnimationBase.cs
- WebControlParameterProxy.cs
- ListItemCollection.cs
- DeclarativeCatalogPart.cs
- SHA384Managed.cs
- DownloadProgressEventArgs.cs
- SystemDiagnosticsSection.cs
- HashUtility.cs
- Container.cs
- HtmlInputText.cs
- TextParentUndoUnit.cs
- ExpressionBindings.cs
- PerfCounterSection.cs
- SQLByte.cs
- XPathAncestorQuery.cs
- PrintEvent.cs
- XmlSignatureManifest.cs
- StrokeNodeOperations2.cs
- Repeater.cs
- DockPanel.cs
- RelationalExpressions.cs
- BehaviorEditorPart.cs
- DataGridViewCellStyle.cs
- _DomainName.cs
- FilteredXmlReader.cs
- RowsCopiedEventArgs.cs
- DefaultPropertyAttribute.cs
- LicenseContext.cs
- LongSumAggregationOperator.cs
- OletxDependentTransaction.cs
- UnicodeEncoding.cs
- RepeaterCommandEventArgs.cs
- NetCodeGroup.cs
- basevalidator.cs
- BamlResourceSerializer.cs
- XmlDocumentSurrogate.cs
- MethodRental.cs
- WebMethodAttribute.cs
- ImmutableCollection.cs
- BitmapDecoder.cs
- FilteredAttributeCollection.cs