Code:
/ 4.0 / 4.0 / 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. //------------------------------------------------------------------------------ // // 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
- ListCollectionView.cs
- ProtectedConfigurationProviderCollection.cs
- UITypeEditor.cs
- ObjectToModelValueConverter.cs
- CodeExpressionStatement.cs
- DataColumnCollection.cs
- PermissionAttributes.cs
- XmlJsonReader.cs
- UrlAuthFailureHandler.cs
- DataObjectMethodAttribute.cs
- TextBoxBase.cs
- Operator.cs
- ToggleProviderWrapper.cs
- ConstructorNeedsTagAttribute.cs
- PageStatePersister.cs
- ActivityDefaults.cs
- XslTransform.cs
- DataListCommandEventArgs.cs
- MimeWriter.cs
- SafeNativeMethods.cs
- MarkupCompiler.cs
- Merger.cs
- StringArrayConverter.cs
- IdnElement.cs
- DesignSurfaceCollection.cs
- UpWmlMobileTextWriter.cs
- DrawingImage.cs
- PageDeviceFont.cs
- DataFormats.cs
- HitTestParameters3D.cs
- ResourceContainer.cs
- TextTreeInsertUndoUnit.cs
- TrustLevel.cs
- UpDownEvent.cs
- GridViewHeaderRowPresenterAutomationPeer.cs
- DiagnosticTraceSource.cs
- IsolatedStorage.cs
- AsymmetricAlgorithm.cs
- XmlSchemaAttributeGroup.cs
- MessageDescriptionCollection.cs
- ACL.cs
- GeneratedContractType.cs
- OleDbInfoMessageEvent.cs
- GridView.cs
- SqlComparer.cs
- AddInProcess.cs
- Matrix.cs
- CustomErrorsSection.cs
- Font.cs
- SQLGuid.cs
- TypographyProperties.cs
- CodeTypeReference.cs
- DataObject.cs
- DataError.cs
- AstTree.cs
- Logging.cs
- MTConfigUtil.cs
- LinearGradientBrush.cs
- EventDescriptor.cs
- _KerberosClient.cs
- ModelTreeEnumerator.cs
- StreamResourceInfo.cs
- StyleSelector.cs
- DataGridViewColumnEventArgs.cs
- TextSearch.cs
- ObjectDataSourceStatusEventArgs.cs
- HtmlContainerControl.cs
- SqlCharStream.cs
- DesignerForm.cs
- ConfigPathUtility.cs
- Matrix3DConverter.cs
- Parameter.cs
- FlowLayoutSettings.cs
- ComponentChangedEvent.cs
- WriteTimeStream.cs
- Stack.cs
- counter.cs
- AssociationEndMember.cs
- Keywords.cs
- SizeKeyFrameCollection.cs
- PolicyManager.cs
- ItemsControl.cs
- ArrayExtension.cs
- RegexFCD.cs
- AsyncResult.cs
- DiscoveryEndpointElement.cs
- HtmlLiteralTextAdapter.cs
- XmlSchemaExternal.cs
- NegationPusher.cs
- XmlDataLoader.cs
- InitializationEventAttribute.cs
- RelatedCurrencyManager.cs
- XmlEncodedRawTextWriter.cs
- Events.cs
- OrthographicCamera.cs
- XamlSerializer.cs
- CursorConverter.cs
- PerformanceCounterPermission.cs
- safesecurityhelperavalon.cs
- SafeFindHandle.cs