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
- HtmlInputText.cs
- MappingSource.cs
- wgx_sdk_version.cs
- EllipseGeometry.cs
- FamilyMapCollection.cs
- CodeMemberMethod.cs
- AutomationPropertyInfo.cs
- BitmapEffectDrawing.cs
- XmlSerializationGeneratedCode.cs
- ChangeProcessor.cs
- ByteStack.cs
- CrossSiteScriptingValidation.cs
- URI.cs
- __Filters.cs
- DecimalConstantAttribute.cs
- RSAPKCS1SignatureDeformatter.cs
- DefaultSection.cs
- XsltArgumentList.cs
- TypeListConverter.cs
- DataBinding.cs
- ObjectManager.cs
- ListBoxAutomationPeer.cs
- DataGridViewCellStyleChangedEventArgs.cs
- BinaryFormatterWriter.cs
- ContentFileHelper.cs
- ChangeNode.cs
- XmlTypeAttribute.cs
- _SslState.cs
- HwndHost.cs
- TextBlockAutomationPeer.cs
- InputBinding.cs
- FullTextLine.cs
- SafeNativeMethodsCLR.cs
- TreeNodeEventArgs.cs
- WsatServiceCertificate.cs
- SystemKeyConverter.cs
- SubstitutionList.cs
- OdbcHandle.cs
- DependencyPropertyHelper.cs
- RSAProtectedConfigurationProvider.cs
- AggregateException.cs
- SID.cs
- RoleManagerModule.cs
- ImportDesigner.xaml.cs
- StatusBarPanel.cs
- MethodCallTranslator.cs
- Win32.cs
- EdmConstants.cs
- ValidationSummary.cs
- dataSvcMapFileLoader.cs
- AssemblyBuilderData.cs
- CustomValidator.cs
- SqlClientWrapperSmiStreamChars.cs
- Range.cs
- Rect3D.cs
- CompoundFileIOPermission.cs
- BaseTreeIterator.cs
- TransformCollection.cs
- ObjectHelper.cs
- linebase.cs
- ConsoleCancelEventArgs.cs
- Form.cs
- QilBinary.cs
- AttributeProviderAttribute.cs
- PageAsyncTask.cs
- SourceFileBuildProvider.cs
- DropTarget.cs
- SapiGrammar.cs
- RenderDataDrawingContext.cs
- StopStoryboard.cs
- SafeHandles.cs
- ObjectDataSourceView.cs
- CallContext.cs
- WebPartDisplayModeCollection.cs
- NominalTypeEliminator.cs
- MethodExpr.cs
- DesignerView.Commands.cs
- AsymmetricAlgorithm.cs
- SafeNativeMethods.cs
- JapaneseCalendar.cs
- FormParameter.cs
- DbDataSourceEnumerator.cs
- EventLogPermissionEntry.cs
- OdbcTransaction.cs
- ProcessingInstructionAction.cs
- ItemsPresenter.cs
- DoWhile.cs
- AQNBuilder.cs
- diagnosticsswitches.cs
- RoleServiceManager.cs
- MobileControlsSectionHelper.cs
- wpf-etw.cs
- HtmlWindowCollection.cs
- StopStoryboard.cs
- SchemeSettingElement.cs
- TextDecorationLocationValidation.cs
- WS2007FederationHttpBinding.cs
- MemberExpression.cs
- DBSqlParserTableCollection.cs
- DispatcherHookEventArgs.cs