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
- srgsitem.cs
- DbException.cs
- NumericExpr.cs
- LayoutEditorPart.cs
- basevalidator.cs
- ArgumentDesigner.xaml.cs
- NumericUpDownAcceleration.cs
- WindowsContainer.cs
- ScriptingWebServicesSectionGroup.cs
- FloaterBaseParaClient.cs
- VectorConverter.cs
- StorageRoot.cs
- ReflectionPermission.cs
- NativeObjectSecurity.cs
- TextBox.cs
- AddInController.cs
- QuaternionRotation3D.cs
- DropSourceBehavior.cs
- XsdDuration.cs
- ForeignConstraint.cs
- BasicExpressionVisitor.cs
- WebHttpDispatchOperationSelector.cs
- ContentPlaceHolderDesigner.cs
- WaveHeader.cs
- RawAppCommandInputReport.cs
- SpeechRecognitionEngine.cs
- SQLByteStorage.cs
- TextEditorParagraphs.cs
- NaturalLanguageHyphenator.cs
- DateTimeValueSerializerContext.cs
- httpserverutility.cs
- X509Certificate2Collection.cs
- SimplePropertyEntry.cs
- HttpApplication.cs
- UnknownBitmapEncoder.cs
- SamlConditions.cs
- IntegerFacetDescriptionElement.cs
- MessageQueueKey.cs
- GradientStop.cs
- EmptyTextWriter.cs
- CheckBoxBaseAdapter.cs
- CachingHintValidation.cs
- FieldToken.cs
- ConsoleEntryPoint.cs
- Variant.cs
- cache.cs
- ProvidersHelper.cs
- XmlExpressionDumper.cs
- CustomErrorsSection.cs
- XmlTextWriter.cs
- UserControl.cs
- EventManager.cs
- SemanticResolver.cs
- SerializationException.cs
- Pen.cs
- SocketPermission.cs
- SoapReflector.cs
- Math.cs
- WindowsIPAddress.cs
- MissingSatelliteAssemblyException.cs
- UserControlBuildProvider.cs
- DataMember.cs
- ReflectPropertyDescriptor.cs
- SharedPerformanceCounter.cs
- Setter.cs
- BindStream.cs
- ToolStripItemClickedEventArgs.cs
- WaitHandle.cs
- ListenerPerfCounters.cs
- PrinterSettings.cs
- OrderedDictionaryStateHelper.cs
- TextContainer.cs
- EntitySet.cs
- QilInvoke.cs
- LocalBuilder.cs
- TCPListener.cs
- HostingPreferredMapPath.cs
- COSERVERINFO.cs
- OleAutBinder.cs
- HtmlString.cs
- Control.cs
- columnmapkeybuilder.cs
- TypeInfo.cs
- EnumConverter.cs
- BindingContext.cs
- DataGridViewColumnConverter.cs
- GenericUriParser.cs
- RSAPKCS1KeyExchangeFormatter.cs
- DrawToolTipEventArgs.cs
- ColumnPropertiesGroup.cs
- CompositionAdorner.cs
- ListContractAdapter.cs
- LocatorManager.cs
- DataGridViewCellParsingEventArgs.cs
- GregorianCalendarHelper.cs
- ReceiveContextCollection.cs
- cryptoapiTransform.cs
- CheckBox.cs
- NopReturnReader.cs
- SecurityUtils.cs