Code:
/ 4.0 / 4.0 / untmp / 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.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- GridPattern.cs
- RelatedPropertyManager.cs
- UpdatePanelTrigger.cs
- GlobalizationAssembly.cs
- TypedCompletedAsyncResult.cs
- ChooseAction.cs
- BaseTemplateParser.cs
- RuleInfoComparer.cs
- ExtendedPropertyDescriptor.cs
- PageHandlerFactory.cs
- TextTreeFixupNode.cs
- Soap12ServerProtocol.cs
- DiscardableAttribute.cs
- ListViewDeletedEventArgs.cs
- InputLangChangeRequestEvent.cs
- Int32CollectionValueSerializer.cs
- Decoder.cs
- ParserHooks.cs
- PerfCounters.cs
- RegexWorker.cs
- PropertyToken.cs
- Expression.cs
- FieldAccessException.cs
- StandardBindingElement.cs
- DataGridViewSelectedColumnCollection.cs
- LogicalExpr.cs
- WebEventTraceProvider.cs
- RemotingServices.cs
- OleDbParameter.cs
- SpeechDetectedEventArgs.cs
- Int64KeyFrameCollection.cs
- ImportOptions.cs
- DetailsViewRowCollection.cs
- MethodImplAttribute.cs
- DataGridViewAccessibleObject.cs
- Peer.cs
- OleDbWrapper.cs
- SqlWorkflowPersistenceService.cs
- TaskExtensions.cs
- ReferencedAssembly.cs
- Expressions.cs
- AnnotationStore.cs
- MonthCalendar.cs
- DbExpressionVisitor_TResultType.cs
- BufferedStream.cs
- StyleXamlParser.cs
- WebPartCatalogCloseVerb.cs
- CommunicationException.cs
- ProxyManager.cs
- BindingWorker.cs
- PagePropertiesChangingEventArgs.cs
- TableParagraph.cs
- TransformerConfigurationWizardBase.cs
- TextEffectResolver.cs
- RangeValidator.cs
- PropertyIdentifier.cs
- ResourceDisplayNameAttribute.cs
- View.cs
- Attributes.cs
- SmtpDigestAuthenticationModule.cs
- DesignerTextViewAdapter.cs
- ZoomPercentageConverter.cs
- GridViewDeleteEventArgs.cs
- DesignerVerb.cs
- OpenFileDialog.cs
- HtmlInputButton.cs
- HighlightComponent.cs
- IndentTextWriter.cs
- NeutralResourcesLanguageAttribute.cs
- SafeSystemMetrics.cs
- ModifierKeysConverter.cs
- SingleAnimation.cs
- ByteViewer.cs
- BufferCache.cs
- XmlSecureResolver.cs
- GeneralTransform3D.cs
- CheckBoxStandardAdapter.cs
- ProcessThread.cs
- _HelperAsyncResults.cs
- ConnectionManagementElement.cs
- GraphicsPathIterator.cs
- XsltContext.cs
- SourceSwitch.cs
- PhoneCall.cs
- DispatchChannelSink.cs
- WebBrowserBase.cs
- ControlCommandSet.cs
- TimeSpanValidatorAttribute.cs
- METAHEADER.cs
- ApplicationDirectory.cs
- DataPointer.cs
- TreeNode.cs
- CharKeyFrameCollection.cs
- PixelShader.cs
- ConditionChanges.cs
- WorkflowApplicationEventArgs.cs
- MarkupProperty.cs
- AbandonedMutexException.cs
- ToolStripCustomTypeDescriptor.cs
- ValueQuery.cs