Code:
/ DotNET / DotNET / 8.0 / untmp / whidbey / REDBITS / 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.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- ColorTranslator.cs
- XPathLexer.cs
- ObjectContextServiceProvider.cs
- SqlClientWrapperSmiStream.cs
- TextPointer.cs
- OperationCanceledException.cs
- ByValueEqualityComparer.cs
- JsonReader.cs
- TextReader.cs
- ContextInformation.cs
- DbParameterHelper.cs
- EditingCoordinator.cs
- ToolStripSplitStackLayout.cs
- ZipIORawDataFileBlock.cs
- CodeChecksumPragma.cs
- XmlAnyAttributeAttribute.cs
- PolyQuadraticBezierSegment.cs
- TypeViewSchema.cs
- DecoderNLS.cs
- ConcurrencyMode.cs
- DeadLetterQueue.cs
- FileIOPermission.cs
- DependencyPropertyConverter.cs
- DataShape.cs
- Soap12ProtocolReflector.cs
- Monitor.cs
- DeviceOverridableAttribute.cs
- Bits.cs
- HebrewCalendar.cs
- CodePrimitiveExpression.cs
- BitmapInitialize.cs
- Variant.cs
- PopupRoot.cs
- graph.cs
- FilteredAttributeCollection.cs
- ActivationServices.cs
- CommaDelimitedStringAttributeCollectionConverter.cs
- RayMeshGeometry3DHitTestResult.cs
- DeferredElementTreeState.cs
- FunctionCommandText.cs
- RootBrowserWindowProxy.cs
- SafeEventLogReadHandle.cs
- UnsafeNativeMethodsPenimc.cs
- DateTimePicker.cs
- AppSettingsExpressionBuilder.cs
- WebRequest.cs
- InputBinding.cs
- ReadOnlyHierarchicalDataSource.cs
- PackUriHelper.cs
- ColorConvertedBitmapExtension.cs
- IndependentAnimationStorage.cs
- ConnectionStringsExpressionBuilder.cs
- DataControlPagerLinkButton.cs
- Pair.cs
- MatrixAnimationUsingPath.cs
- SamlEvidence.cs
- MembershipSection.cs
- CssStyleCollection.cs
- DataSourceSelectArguments.cs
- Rotation3DAnimation.cs
- ArrayConverter.cs
- SourceItem.cs
- LogStore.cs
- InputBinding.cs
- Renderer.cs
- PersonalizationProviderCollection.cs
- HtmlInputReset.cs
- SigningCredentials.cs
- Behavior.cs
- PlainXmlSerializer.cs
- BamlTreeUpdater.cs
- Vector3DKeyFrameCollection.cs
- StringValidator.cs
- CancellationToken.cs
- BitmapMetadataEnumerator.cs
- TypeConverter.cs
- AlphabeticalEnumConverter.cs
- IRCollection.cs
- AsnEncodedData.cs
- HierarchicalDataBoundControlAdapter.cs
- StringCollection.cs
- DayRenderEvent.cs
- SystemWebExtensionsSectionGroup.cs
- MarkupExtensionParser.cs
- SessionIDManager.cs
- ParallelTimeline.cs
- EventLogPermissionEntryCollection.cs
- RelatedImageListAttribute.cs
- AssemblyCache.cs
- TransformerInfo.cs
- ConfigErrorGlyph.cs
- SectionInformation.cs
- WSSecurityOneDotOneReceiveSecurityHeader.cs
- AnimationLayer.cs
- ButtonChrome.cs
- SettingsBase.cs
- SendSecurityHeader.cs
- MappingException.cs
- SchemaTableColumn.cs
- SecurityAlgorithmSuiteConverter.cs