Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / 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
- TextPointer.cs
- PageCopyCount.cs
- MultiPropertyDescriptorGridEntry.cs
- SignatureSummaryDialog.cs
- DataGridToolTip.cs
- ItemsPanelTemplate.cs
- ProfileProvider.cs
- Application.cs
- WebService.cs
- securitycriticaldataClass.cs
- RemoteHelper.cs
- ShaderEffect.cs
- latinshape.cs
- XsltConvert.cs
- MessageQueuePermissionAttribute.cs
- RootBrowserWindowProxy.cs
- SingleSelectRootGridEntry.cs
- DocumentManager.cs
- CustomError.cs
- PrivilegedConfigurationManager.cs
- HatchBrush.cs
- SQLBytes.cs
- LongValidatorAttribute.cs
- Rect3DValueSerializer.cs
- KeyValuePair.cs
- TypeNameParser.cs
- HttpConfigurationContext.cs
- ToolStripSystemRenderer.cs
- SparseMemoryStream.cs
- shaperfactoryquerycacheentry.cs
- SqlProfileProvider.cs
- DbProviderServices.cs
- SerialErrors.cs
- ClientUtils.cs
- Baml2006ReaderContext.cs
- Subset.cs
- FeatureAttribute.cs
- __Error.cs
- CapabilitiesPattern.cs
- _NTAuthentication.cs
- AnimationException.cs
- WebPartEditorCancelVerb.cs
- ExpressionBinding.cs
- TextRunCache.cs
- CodeGen.cs
- CacheMode.cs
- TextFormatter.cs
- ButtonPopupAdapter.cs
- UrlMapping.cs
- WorkflowOperationAsyncResult.cs
- DataServiceContext.cs
- NetworkInterface.cs
- SamlAuthenticationStatement.cs
- TextOptionsInternal.cs
- HelpOperationInvoker.cs
- HttpResponseInternalWrapper.cs
- PtsPage.cs
- MarkupCompilePass1.cs
- TokenBasedSetEnumerator.cs
- ColorAnimationUsingKeyFrames.cs
- BadImageFormatException.cs
- WindowsGraphicsCacheManager.cs
- IndicCharClassifier.cs
- ConfigurationManagerHelper.cs
- EncodingTable.cs
- HwndPanningFeedback.cs
- ResourceAttributes.cs
- MediaSystem.cs
- ClientSponsor.cs
- TextRangeAdaptor.cs
- NamespaceCollection.cs
- WpfXamlLoader.cs
- GAC.cs
- Point4DConverter.cs
- UnsafeNativeMethods.cs
- PriorityQueue.cs
- _TransmitFileOverlappedAsyncResult.cs
- DataControlFieldsEditor.cs
- Stylus.cs
- RuntimeHelpers.cs
- EntitySetDataBindingList.cs
- GcHandle.cs
- Repeater.cs
- NullReferenceException.cs
- InfoCardSymmetricAlgorithm.cs
- CollectionBuilder.cs
- ValidationSummary.cs
- SpinLock.cs
- AttributeXamlType.cs
- IList.cs
- sqlpipe.cs
- FieldTemplateUserControl.cs
- GridViewRowPresenter.cs
- CancellableEnumerable.cs
- WasAdminWrapper.cs
- ParseHttpDate.cs
- NavigationPropertyEmitter.cs
- GridViewDeletedEventArgs.cs
- UndoEngine.cs
- PlainXmlDeserializer.cs