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
- DefinitionBase.cs
- EdmProperty.cs
- XPathDocumentNavigator.cs
- DataGridViewColumnCollection.cs
- EntityCommandCompilationException.cs
- XmlObjectSerializerReadContext.cs
- ProvidersHelper.cs
- GridViewUpdateEventArgs.cs
- WorkflowTraceTransfer.cs
- MemberMaps.cs
- SqlTriggerContext.cs
- CodeComment.cs
- HtmlInputReset.cs
- DBPropSet.cs
- CommandHelpers.cs
- SqlWebEventProvider.cs
- SendMailErrorEventArgs.cs
- ScriptHandlerFactory.cs
- DesignerSerializerAttribute.cs
- CompleteWizardStep.cs
- diagnosticsswitches.cs
- LOSFormatter.cs
- CaseCqlBlock.cs
- XmlILOptimizerVisitor.cs
- FrameSecurityDescriptor.cs
- ToggleButtonAutomationPeer.cs
- ClientUrlResolverWrapper.cs
- Line.cs
- NameValueConfigurationElement.cs
- Substitution.cs
- ApplicationException.cs
- Hex.cs
- KeyboardEventArgs.cs
- DefaultPrintController.cs
- SQLConvert.cs
- ProxyBuilder.cs
- MapPathBasedVirtualPathProvider.cs
- Int32EqualityComparer.cs
- ExpressionPrefixAttribute.cs
- UInt32Storage.cs
- ElapsedEventArgs.cs
- SymmetricKeyWrap.cs
- LinqDataSourceHelper.cs
- FileDialogCustomPlace.cs
- IntSecurity.cs
- FileLogRecordStream.cs
- SemaphoreSecurity.cs
- CmsInterop.cs
- AutoGeneratedField.cs
- XmlSerializationWriter.cs
- CodeSubDirectoriesCollection.cs
- sqlstateclientmanager.cs
- SystemDiagnosticsSection.cs
- NominalTypeEliminator.cs
- StringSorter.cs
- ThicknessKeyFrameCollection.cs
- UriTemplateCompoundPathSegment.cs
- BlurBitmapEffect.cs
- ImageBrush.cs
- DataGridViewImageCell.cs
- WebPartMovingEventArgs.cs
- DesignColumn.cs
- ConfigurationSectionGroup.cs
- DesignerProperties.cs
- QilGenerator.cs
- RuleCache.cs
- DocumentOutline.cs
- HostedTcpTransportManager.cs
- FlowDocumentScrollViewer.cs
- WindowProviderWrapper.cs
- PageCodeDomTreeGenerator.cs
- XsltCompileContext.cs
- StructuredTypeInfo.cs
- InvokePatternIdentifiers.cs
- DesignerActionUIStateChangeEventArgs.cs
- NativeMethods.cs
- TextViewBase.cs
- ExpressionsCollectionConverter.cs
- InheritanceAttribute.cs
- Queue.cs
- Freezable.cs
- JsonReaderDelegator.cs
- FontNamesConverter.cs
- CodeParameterDeclarationExpressionCollection.cs
- XslNumber.cs
- Message.cs
- ObjectListDataBindEventArgs.cs
- CodeTypeReferenceExpression.cs
- CopyCodeAction.cs
- WorkflowInstanceTerminatedRecord.cs
- SecurityAttributeGenerationHelper.cs
- ColorAnimationUsingKeyFrames.cs
- XmlUTF8TextWriter.cs
- SqlUnionizer.cs
- QueryConverter.cs
- DynamicPropertyReader.cs
- NopReturnReader.cs
- TemplatedWizardStep.cs
- TraceFilter.cs
- FontFamilyValueSerializer.cs