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
- DesigntimeLicenseContextSerializer.cs
- ConfigurationValue.cs
- WinEventWrap.cs
- DrawingBrush.cs
- SafeRightsManagementQueryHandle.cs
- RuleProcessor.cs
- EntityDataSourceValidationException.cs
- CategoryNameCollection.cs
- MetadataItemEmitter.cs
- CaseCqlBlock.cs
- TracedNativeMethods.cs
- NativeCppClassAttribute.cs
- PowerStatus.cs
- MarkupExtensionSerializer.cs
- SQLString.cs
- Visual3D.cs
- ImportCatalogPart.cs
- ToolboxItemAttribute.cs
- TagPrefixInfo.cs
- HtmlTable.cs
- DataGridViewColumn.cs
- propertyentry.cs
- QilPatternFactory.cs
- XMLDiffLoader.cs
- Int64.cs
- EmptyStringExpandableObjectConverter.cs
- ContextMenuAutomationPeer.cs
- WebPartConnectVerb.cs
- ActivationServices.cs
- ControlLocalizer.cs
- CompositeDispatchFormatter.cs
- ScrollEventArgs.cs
- CheckBox.cs
- StaticSiteMapProvider.cs
- ErasingStroke.cs
- GuidelineCollection.cs
- ResolveCriteriaApril2005.cs
- odbcmetadatafactory.cs
- Point3DCollectionConverter.cs
- FilterException.cs
- HyperlinkAutomationPeer.cs
- CaseInsensitiveHashCodeProvider.cs
- DataRelation.cs
- Viewport3DVisual.cs
- ServiceXNameTypeConverter.cs
- DispatcherObject.cs
- PieceDirectory.cs
- DependencyPropertyAttribute.cs
- IndexerNameAttribute.cs
- ModuleConfigurationInfo.cs
- IndexedEnumerable.cs
- SHA384.cs
- SQLGuid.cs
- DBNull.cs
- XmlSchemaSimpleType.cs
- OperandQuery.cs
- ObjectManager.cs
- MULTI_QI.cs
- TdsParserSafeHandles.cs
- CustomAttribute.cs
- InstanceContext.cs
- TextReturnReader.cs
- DrawToolTipEventArgs.cs
- xdrvalidator.cs
- ReturnValue.cs
- LocalIdKeyIdentifierClause.cs
- NavigateEvent.cs
- WindowProviderWrapper.cs
- ContentFileHelper.cs
- Viewport3DVisual.cs
- EventLogEntry.cs
- GeneralTransform2DTo3DTo2D.cs
- BasePropertyDescriptor.cs
- DynamicActivityProperty.cs
- DesignerCommandAdapter.cs
- ReflectionServiceProvider.cs
- LicFileLicenseProvider.cs
- AnimationClockResource.cs
- FloatUtil.cs
- FrameworkContextData.cs
- SemanticBasicElement.cs
- RenamedEventArgs.cs
- BindingObserver.cs
- MD5CryptoServiceProvider.cs
- PropertiesTab.cs
- PinnedBufferMemoryStream.cs
- SingleQueryOperator.cs
- DataGridColumnCollection.cs
- MouseWheelEventArgs.cs
- smtppermission.cs
- COM2ColorConverter.cs
- ReadOnlyDictionary.cs
- XmlSchemaParticle.cs
- AnnotationMap.cs
- EventManager.cs
- SecurityManager.cs
- BitStream.cs
- ArrayEditor.cs
- HijriCalendar.cs
- ObjectAnimationBase.cs