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
- ServiceDescriptionImporter.cs
- D3DImage.cs
- RSAOAEPKeyExchangeDeformatter.cs
- COM2FontConverter.cs
- MailWebEventProvider.cs
- SqlFunctionAttribute.cs
- EntityModelSchemaGenerator.cs
- SqlClientPermission.cs
- MruCache.cs
- AttachedPropertyBrowsableAttribute.cs
- PeerInvitationResponse.cs
- EventListenerClientSide.cs
- Stack.cs
- StrictModeSecurityHeaderElementInferenceEngine.cs
- WebPartTransformerAttribute.cs
- MapPathBasedVirtualPathProvider.cs
- XmlSchemaDocumentation.cs
- ReferencedAssembly.cs
- _AcceptOverlappedAsyncResult.cs
- EmptyQuery.cs
- FileVersion.cs
- Binding.cs
- SqlAliasesReferenced.cs
- KeysConverter.cs
- InvokeBase.cs
- NameValueSectionHandler.cs
- SqlDataSourceFilteringEventArgs.cs
- TopClause.cs
- GeneralTransformCollection.cs
- ScaleTransform3D.cs
- AppDomainManager.cs
- KeyInstance.cs
- NullToBooleanConverter.cs
- ContentIterators.cs
- ContextStaticAttribute.cs
- DocumentGridPage.cs
- TextTreeFixupNode.cs
- RegularExpressionValidator.cs
- LiteralText.cs
- ListView.cs
- DesignerCategoryAttribute.cs
- DataColumnMappingCollection.cs
- ParserStack.cs
- TimeSpanMinutesConverter.cs
- ProxyHelper.cs
- SchemaTableColumn.cs
- ExpressionBinding.cs
- FixedLineResult.cs
- TextDecoration.cs
- ErrorHandler.cs
- RenderTargetBitmap.cs
- LineServicesCallbacks.cs
- BindingNavigator.cs
- RSAOAEPKeyExchangeFormatter.cs
- DebugView.cs
- LocalValueEnumerator.cs
- ApplicationId.cs
- HttpRuntime.cs
- ValueConversionAttribute.cs
- SelectedDatesCollection.cs
- SqlRewriteScalarSubqueries.cs
- JsonQNameDataContract.cs
- Terminate.cs
- querybuilder.cs
- BulletedListEventArgs.cs
- OperandQuery.cs
- DispatcherSynchronizationContext.cs
- _DigestClient.cs
- TextFormatterImp.cs
- SineEase.cs
- ProfileSettings.cs
- StaticExtensionConverter.cs
- CharAnimationBase.cs
- ToolStripDropDownClosingEventArgs.cs
- Int64KeyFrameCollection.cs
- Effect.cs
- ModelTreeManager.cs
- DtdParser.cs
- BufferBuilder.cs
- RowTypeElement.cs
- EnlistmentState.cs
- CommandBinding.cs
- NamedObject.cs
- ProcessManager.cs
- SamlAudienceRestrictionCondition.cs
- ReceiveMessageContent.cs
- ConditionCollection.cs
- SqlFormatter.cs
- ExpressionServices.cs
- AssertHelper.cs
- TypedTableBase.cs
- ComplusTypeValidator.cs
- DesignerCommandSet.cs
- BamlTreeMap.cs
- ReachSerializableProperties.cs
- RefreshPropertiesAttribute.cs
- Vector3DIndependentAnimationStorage.cs
- DataPagerCommandEventArgs.cs
- MembershipValidatePasswordEventArgs.cs
- EventProxy.cs