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
- CompressEmulationStream.cs
- VariableValue.cs
- DataGridViewSelectedColumnCollection.cs
- InternalPolicyElement.cs
- TextAction.cs
- HttpListenerRequest.cs
- TreeNodeStyleCollection.cs
- SchemaDeclBase.cs
- StylusButtonCollection.cs
- SimpleMailWebEventProvider.cs
- DesignerUtils.cs
- DataGridPagerStyle.cs
- SerializationInfoEnumerator.cs
- SEHException.cs
- ColorConverter.cs
- CustomValidator.cs
- InteropAutomationProvider.cs
- ValidationService.cs
- IResourceProvider.cs
- SizeConverter.cs
- DialogDivider.cs
- HuffmanTree.cs
- Separator.cs
- PrimitiveList.cs
- Component.cs
- XpsStructure.cs
- TrackingProfileSerializer.cs
- CodeFieldReferenceExpression.cs
- EntryIndex.cs
- MiniMapControl.xaml.cs
- ColumnMap.cs
- SlipBehavior.cs
- LinkDescriptor.cs
- HistoryEventArgs.cs
- ProcessThreadDesigner.cs
- TextOptions.cs
- AssemblyName.cs
- CodePageEncoding.cs
- ColorBlend.cs
- StatusStrip.cs
- HtmlShim.cs
- CompositeActivityDesigner.cs
- XmlSerializerNamespaces.cs
- ObjectDataSourceEventArgs.cs
- ValidationError.cs
- DataGridTextBoxColumn.cs
- NonVisualControlAttribute.cs
- StringArrayConverter.cs
- MemberPath.cs
- FileDialog_Vista.cs
- RequestDescription.cs
- EntityConnectionStringBuilderItem.cs
- TextProperties.cs
- UpdatePanelTriggerCollection.cs
- SQLBytes.cs
- XamlFigureLengthSerializer.cs
- FontFamilyValueSerializer.cs
- Guid.cs
- HandleExceptionArgs.cs
- GroupStyle.cs
- VScrollProperties.cs
- Util.cs
- EntityDataSource.cs
- XmlNamespaceManager.cs
- NamespaceQuery.cs
- MessageDecoder.cs
- NameValueFileSectionHandler.cs
- ElementsClipboardData.cs
- XmlSerializerAssemblyAttribute.cs
- DataGridPageChangedEventArgs.cs
- AncestorChangedEventArgs.cs
- CodeMethodReturnStatement.cs
- ColumnWidthChangingEvent.cs
- TextParagraphView.cs
- StateItem.cs
- util.cs
- OrthographicCamera.cs
- TextBoxAutoCompleteSourceConverter.cs
- MeasurementDCInfo.cs
- JoinElimination.cs
- EventHandlingScope.cs
- DeploymentExceptionMapper.cs
- ListControl.cs
- ModelItem.cs
- WeakReadOnlyCollection.cs
- Literal.cs
- TransformerInfo.cs
- DBSchemaRow.cs
- EmptyEnumerator.cs
- XPathNodeList.cs
- TextSimpleMarkerProperties.cs
- AtomPub10ServiceDocumentFormatter.cs
- KeyPressEvent.cs
- Update.cs
- SafeFileMapViewHandle.cs
- SafeRightsManagementHandle.cs
- SafeLocalMemHandle.cs
- LogicalTreeHelper.cs
- XslNumber.cs
- OleDbConnectionInternal.cs