Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / 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. // //[....] //----------------------------------------------------------------------------- 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
- TextTreeUndoUnit.cs
- BevelBitmapEffect.cs
- ComponentManagerBroker.cs
- DetailsViewInsertEventArgs.cs
- PixelFormat.cs
- MethodToken.cs
- XmlDeclaration.cs
- GridViewColumnCollection.cs
- DataChangedEventManager.cs
- CodeValidator.cs
- TreeNodeCollection.cs
- StrongNameMembershipCondition.cs
- HttpInputStream.cs
- ButtonChrome.cs
- ProcessHostMapPath.cs
- DataGridViewCellMouseEventArgs.cs
- MetadataUtilsSmi.cs
- ParentQuery.cs
- IpcManager.cs
- SystemWebExtensionsSectionGroup.cs
- TabPage.cs
- MultiBindingExpression.cs
- Pts.cs
- System.Data_BID.cs
- ViewUtilities.cs
- BigInt.cs
- ShapeTypeface.cs
- ImplicitInputBrush.cs
- NameNode.cs
- FlowDocumentScrollViewerAutomationPeer.cs
- SchemaContext.cs
- BamlRecords.cs
- RowToParametersTransformer.cs
- DesignerForm.cs
- Matrix3DConverter.cs
- LockCookie.cs
- StringResourceManager.cs
- OdbcConnection.cs
- Internal.cs
- WindowsListViewGroupHelper.cs
- Effect.cs
- BoundField.cs
- ServiceChannelFactory.cs
- SafeProcessHandle.cs
- XmlQualifiedName.cs
- SQLRoleProvider.cs
- CancellationToken.cs
- TreeNodeClickEventArgs.cs
- PrintDialogDesigner.cs
- OleServicesContext.cs
- TextRunCache.cs
- SatelliteContractVersionAttribute.cs
- RuntimeCompatibilityAttribute.cs
- FontWeight.cs
- Matrix.cs
- EnvelopedPkcs7.cs
- UICuesEvent.cs
- StylusCaptureWithinProperty.cs
- DiscoveryClientReferences.cs
- KeyProperty.cs
- RectAnimationBase.cs
- PropertyGridView.cs
- FormParameter.cs
- AccessibilityHelperForVista.cs
- LinqDataSourceContextEventArgs.cs
- TableAdapterManagerGenerator.cs
- AsymmetricSignatureFormatter.cs
- Separator.cs
- BaseHashHelper.cs
- Dispatcher.cs
- BaseWebProxyFinder.cs
- Subtree.cs
- URLMembershipCondition.cs
- WindowShowOrOpenTracker.cs
- ClientTargetCollection.cs
- DataServiceClientException.cs
- EventProxy.cs
- MouseWheelEventArgs.cs
- FillErrorEventArgs.cs
- WebExceptionStatus.cs
- DiscriminatorMap.cs
- EnumValidator.cs
- LinqDataSourceDisposeEventArgs.cs
- FrameAutomationPeer.cs
- TypeConverterHelper.cs
- QueryOperationResponseOfT.cs
- SystemWebSectionGroup.cs
- GeometryCombineModeValidation.cs
- _NTAuthentication.cs
- FastEncoderWindow.cs
- CounterCreationData.cs
- Base64WriteStateInfo.cs
- SimpleParser.cs
- CodeComment.cs
- ViewStateException.cs
- OrderByBuilder.cs
- WebPartEditVerb.cs
- NetPipeSection.cs
- FilteredSchemaElementLookUpTable.cs
- AncestorChangedEventArgs.cs