Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / 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
- PaintValueEventArgs.cs
- CodeVariableReferenceExpression.cs
- FlowDocumentScrollViewerAutomationPeer.cs
- AcceleratedTokenAuthenticator.cs
- MaterialCollection.cs
- CompositeKey.cs
- FreezableOperations.cs
- TimeSpanMinutesOrInfiniteConverter.cs
- EditorZoneBase.cs
- HtmlCalendarAdapter.cs
- WeakEventManager.cs
- UpDownBase.cs
- TextHidden.cs
- SortDescriptionCollection.cs
- ZeroOpNode.cs
- Array.cs
- GridToolTip.cs
- ToolTip.cs
- ClientSettings.cs
- PeerCustomResolverElement.cs
- SqlDataSourceCommandEventArgs.cs
- DebugViewWriter.cs
- PersistenceContext.cs
- XmlMembersMapping.cs
- DataGridViewRowHeaderCell.cs
- InkCanvasFeedbackAdorner.cs
- cache.cs
- Helpers.cs
- MarshalByRefObject.cs
- SqlMetaData.cs
- PathStreamGeometryContext.cs
- TriggerAction.cs
- TextTreeRootTextBlock.cs
- FixedSOMFixedBlock.cs
- SqlError.cs
- JsonDeserializer.cs
- EventProviderClassic.cs
- HttpRuntimeSection.cs
- QueryHandler.cs
- EntityDataSourceContainerNameItem.cs
- RightsDocument.cs
- CacheMemory.cs
- ConfigDefinitionUpdates.cs
- _DomainName.cs
- ProcessModule.cs
- DataControlFieldCollection.cs
- SqlUtils.cs
- TypeBuilder.cs
- MinimizableAttributeTypeConverter.cs
- Parallel.cs
- DesignerProperties.cs
- DataViewManagerListItemTypeDescriptor.cs
- XPathPatternParser.cs
- MissingMemberException.cs
- ColorAnimationBase.cs
- BaseDataBoundControl.cs
- ThrowOnMultipleAssignment.cs
- ConsoleEntryPoint.cs
- RadioButtonStandardAdapter.cs
- SqlXmlStorage.cs
- RightsManagementPermission.cs
- FileClassifier.cs
- DaylightTime.cs
- EntityType.cs
- SortQuery.cs
- ProcessManager.cs
- BinaryReader.cs
- DataFormat.cs
- InternalSafeNativeMethods.cs
- HwndHost.cs
- HtmlTableCellCollection.cs
- ServiceDescriptionReflector.cs
- Content.cs
- GeometryValueSerializer.cs
- ValidatingPropertiesEventArgs.cs
- HostedAspNetEnvironment.cs
- HorizontalAlignConverter.cs
- CompositeControl.cs
- LinqDataSourceInsertEventArgs.cs
- AppDomainManager.cs
- XPathDocumentBuilder.cs
- TraceContext.cs
- TextElementEnumerator.cs
- SqlMethodTransformer.cs
- SQLUtility.cs
- Exceptions.cs
- Hex.cs
- CapabilitiesAssignment.cs
- PropVariant.cs
- CompilerParameters.cs
- VectorAnimation.cs
- VirtualizingPanel.cs
- FontNameConverter.cs
- SqlGatherProducedAliases.cs
- TypeSystem.cs
- PartialClassGenerationTaskInternal.cs
- XmlComment.cs
- CallbackHandler.cs
- TypedTableGenerator.cs
- FormsIdentity.cs