Code:
/ FXUpdate3074 / FXUpdate3074 / 1.1 / untmp / whidbey / QFE / ndp / fx / src / Xml / System / Xml / schema / validationstate.cs / 2 / 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
- InternalControlCollection.cs
- MessageAction.cs
- MembershipUser.cs
- RecognizedAudio.cs
- TabPage.cs
- OdbcFactory.cs
- ClassData.cs
- ProfileSettingsCollection.cs
- OracleMonthSpan.cs
- FlowDocumentReader.cs
- Pointer.cs
- AsyncOperation.cs
- PolyBezierSegment.cs
- WebPageTraceListener.cs
- WebReferencesBuildProvider.cs
- VisualBrush.cs
- Console.cs
- SqlProviderUtilities.cs
- Win32.cs
- EntityTransaction.cs
- Relationship.cs
- InputProcessorProfiles.cs
- ValueConversionAttribute.cs
- LinkButton.cs
- SynchronizationScope.cs
- unsafenativemethodstextservices.cs
- DesignOnlyAttribute.cs
- Mapping.cs
- QueryResponse.cs
- ConsumerConnectionPoint.cs
- TextDpi.cs
- VirtualPathUtility.cs
- IndependentlyAnimatedPropertyMetadata.cs
- WebCodeGenerator.cs
- SevenBitStream.cs
- ImageInfo.cs
- DataServiceExpressionVisitor.cs
- XmlNodeReader.cs
- ObjectTag.cs
- FileDataSource.cs
- URL.cs
- System.Data_BID.cs
- SpecialNameAttribute.cs
- _LoggingObject.cs
- WebPartManagerInternals.cs
- QueryValue.cs
- ObjectStateManagerMetadata.cs
- ConstructorArgumentAttribute.cs
- FrugalList.cs
- ButtonColumn.cs
- XmlSchemaObjectTable.cs
- PrePostDescendentsWalker.cs
- SiteMapDataSource.cs
- RadioButtonBaseAdapter.cs
- BlockCollection.cs
- PackWebRequestFactory.cs
- Gdiplus.cs
- FormView.cs
- CustomLineCap.cs
- GridViewCancelEditEventArgs.cs
- RequestSecurityToken.cs
- SiteMap.cs
- BaseParser.cs
- LoginName.cs
- BamlRecordReader.cs
- MdImport.cs
- ReachDocumentReferenceCollectionSerializer.cs
- Missing.cs
- httpstaticobjectscollection.cs
- linebase.cs
- graph.cs
- WebPartCloseVerb.cs
- RichTextBoxConstants.cs
- ObfuscateAssemblyAttribute.cs
- CompilationRelaxations.cs
- MouseGestureValueSerializer.cs
- odbcmetadatafactory.cs
- SpAudioStreamWrapper.cs
- DetailsViewRowCollection.cs
- DelegateInArgument.cs
- AccessDataSourceView.cs
- CounterNameConverter.cs
- ParsedRoute.cs
- Parsers.cs
- TimeSpanMinutesConverter.cs
- ImageFormatConverter.cs
- DbRetry.cs
- ToolStripDropDownClosingEventArgs.cs
- FirstMatchCodeGroup.cs
- AppDomainFactory.cs
- PasswordBoxAutomationPeer.cs
- Drawing.cs
- XslTransform.cs
- SmiXetterAccessMap.cs
- WebPartDisplayModeCollection.cs
- ListViewPagedDataSource.cs
- DebuggerAttributes.cs
- ConnectionOrientedTransportChannelFactory.cs
- SiteMapProvider.cs
- DefaultTextStoreTextComposition.cs