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
- DataGridViewDataConnection.cs
- DataColumnPropertyDescriptor.cs
- Int32AnimationUsingKeyFrames.cs
- RuleInfoComparer.cs
- ProgressBar.cs
- HScrollBar.cs
- BamlTreeUpdater.cs
- GPRECTF.cs
- UnmanagedMemoryStream.cs
- QuaternionKeyFrameCollection.cs
- ColorAnimationUsingKeyFrames.cs
- InputBindingCollection.cs
- MetadataWorkspace.cs
- Mapping.cs
- RetrieveVirtualItemEventArgs.cs
- PropertyPathConverter.cs
- SQLGuidStorage.cs
- WindowsIPAddress.cs
- CollectionBuilder.cs
- BoolExpressionVisitors.cs
- CompiledXpathExpr.cs
- PtsHelper.cs
- CharStorage.cs
- LineBreak.cs
- ObjectResult.cs
- shaperfactoryquerycacheentry.cs
- _Rfc2616CacheValidators.cs
- FixedSchema.cs
- CheckBoxBaseAdapter.cs
- TextPointerBase.cs
- SignatureToken.cs
- ComponentRenameEvent.cs
- DynamicQueryStringParameter.cs
- PrivilegeNotHeldException.cs
- ContainerParagraph.cs
- DescendentsWalker.cs
- GuidelineCollection.cs
- BinaryFormatter.cs
- SessionStateContainer.cs
- TextureBrush.cs
- SoapEnvelopeProcessingElement.cs
- ObjectQueryProvider.cs
- FirstMatchCodeGroup.cs
- CqlGenerator.cs
- XamlSerializer.cs
- Bidi.cs
- SqlFactory.cs
- PeerResolverBindingElement.cs
- XmlWriterTraceListener.cs
- EdmRelationshipNavigationPropertyAttribute.cs
- BridgeDataReader.cs
- OdbcParameterCollection.cs
- TextFormattingConverter.cs
- CssTextWriter.cs
- CapabilitiesPattern.cs
- ArithmeticException.cs
- RadioButtonFlatAdapter.cs
- SspiWrapper.cs
- SoapAttributeOverrides.cs
- FeatureSupport.cs
- DesignerActionVerbList.cs
- SqlWebEventProvider.cs
- RemoteHelper.cs
- ParserContext.cs
- WorkItem.cs
- LicFileLicenseProvider.cs
- HttpCacheVary.cs
- RuntimeEnvironment.cs
- SQLRoleProvider.cs
- DecoratedNameAttribute.cs
- CurrencyWrapper.cs
- AsyncPostBackErrorEventArgs.cs
- FormatterServicesNoSerializableCheck.cs
- HtmlEncodedRawTextWriter.cs
- AsyncStreamReader.cs
- FormatSettings.cs
- ShaperBuffers.cs
- TextStore.cs
- TableCellCollection.cs
- ResourceExpressionEditorSheet.cs
- _NegoStream.cs
- CodeArrayIndexerExpression.cs
- SmtpException.cs
- ProviderConnectionPoint.cs
- ObjectItemAssemblyLoader.cs
- MaterializeFromAtom.cs
- TextParaLineResult.cs
- CompilerGeneratedAttribute.cs
- BinaryObjectInfo.cs
- ADMembershipUser.cs
- SelectionChangedEventArgs.cs
- ResourceDictionary.cs
- TraceContextEventArgs.cs
- XmlQueryOutput.cs
- BlurEffect.cs
- ColumnResult.cs
- ValueSerializer.cs
- DeferrableContent.cs
- Size3DConverter.cs
- UIElementParaClient.cs