Code:
/ FXUpdate3074 / FXUpdate3074 / 1.1 / untmp / whidbey / QFE / ndp / fx / src / Xml / System / Xml / schema / validationstate.cs / 2 / 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
- Utils.cs
- _AutoWebProxyScriptWrapper.cs
- mediaeventargs.cs
- DataGridViewCellStateChangedEventArgs.cs
- StringReader.cs
- InstanceDataCollection.cs
- SqlTriggerContext.cs
- ReflectEventDescriptor.cs
- GrabHandleGlyph.cs
- ProgressiveCrcCalculatingStream.cs
- TextTrailingWordEllipsis.cs
- HttpCacheVaryByContentEncodings.cs
- ListItemViewAttribute.cs
- HtmlProps.cs
- StreamedWorkflowDefinitionContext.cs
- ProjectedWrapper.cs
- EntityDataSourceSelectedEventArgs.cs
- JsonQueryStringConverter.cs
- XmlSchemaSimpleType.cs
- VSWCFServiceContractGenerator.cs
- FileSystemInfo.cs
- MergeFailedEvent.cs
- ExecutionEngineException.cs
- CodeMemberField.cs
- ComponentSerializationService.cs
- Module.cs
- MsmqIntegrationAppDomainProtocolHandler.cs
- EndOfStreamException.cs
- DropDownList.cs
- DataGridViewCheckBoxColumn.cs
- QueryComponents.cs
- MatchingStyle.cs
- SqlGenericUtil.cs
- CorrelationInitializer.cs
- AppModelKnownContentFactory.cs
- Connector.cs
- SchemaNames.cs
- NetworkAddressChange.cs
- ImageListImage.cs
- UnsettableComboBox.cs
- TraceData.cs
- MemberPath.cs
- Journal.cs
- XmlSerializerImportOptions.cs
- DocumentGridPage.cs
- ping.cs
- BamlVersionHeader.cs
- ParseChildrenAsPropertiesAttribute.cs
- SingleAnimationUsingKeyFrames.cs
- ExtendedPropertyDescriptor.cs
- HeaderCollection.cs
- RecommendedAsConfigurableAttribute.cs
- FillErrorEventArgs.cs
- HttpVersion.cs
- ContextMenuStrip.cs
- SchemaDeclBase.cs
- Viewport2DVisual3D.cs
- BaseDataListPage.cs
- Funcletizer.cs
- MethodImplAttribute.cs
- RemotingConfiguration.cs
- TransportBindingElementImporter.cs
- ManagementObject.cs
- Encoding.cs
- CustomError.cs
- StrokeCollection.cs
- ActivityDelegate.cs
- ColumnCollection.cs
- ThreadInterruptedException.cs
- LoginCancelEventArgs.cs
- FreezableOperations.cs
- TextServicesDisplayAttribute.cs
- DataAdapter.cs
- ScriptIgnoreAttribute.cs
- _RequestCacheProtocol.cs
- XmlArrayItemAttributes.cs
- ActiveDocumentEvent.cs
- TraceLevelHelper.cs
- GlyphRunDrawing.cs
- PassportAuthentication.cs
- WpfKnownType.cs
- OleDbTransaction.cs
- followingquery.cs
- ObjRef.cs
- DiscoveryRequestHandler.cs
- OperationContext.cs
- PermissionRequestEvidence.cs
- LiteralControl.cs
- FunctionGenerator.cs
- SequenceDesigner.cs
- SecurityElement.cs
- BoundField.cs
- ParseChildrenAsPropertiesAttribute.cs
- PreviewPageInfo.cs
- CachedTypeface.cs
- DefaultTextStore.cs
- CredentialManagerDialog.cs
- XmlNamespaceMapping.cs
- CorrelationManager.cs
- RepeaterDataBoundAdapter.cs