Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / 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. // //[....] //----------------------------------------------------------------------------- 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
- KeyedCollection.cs
- HttpCapabilitiesBase.cs
- OrderablePartitioner.cs
- Image.cs
- ModifyActivitiesPropertyDescriptor.cs
- TimelineCollection.cs
- XmlComment.cs
- WaitHandle.cs
- KeyboardNavigation.cs
- Rectangle.cs
- MethodInfo.cs
- UnsafeNativeMethods.cs
- SafeLocalAllocation.cs
- NegatedCellConstant.cs
- PersonalizationStateQuery.cs
- XmlSchemaAny.cs
- AdapterDictionary.cs
- dtdvalidator.cs
- EnumMemberAttribute.cs
- GridViewColumnCollection.cs
- WebHttpBindingElement.cs
- SiteMapPath.cs
- TimeZoneInfo.cs
- ModelService.cs
- SeekStoryboard.cs
- LinkUtilities.cs
- WorkflowViewService.cs
- ReadWriteObjectLock.cs
- SharedConnectionInfo.cs
- HtmlControl.cs
- DefaultSerializationProviderAttribute.cs
- WS2007HttpBinding.cs
- DataGridViewHeaderCell.cs
- WSSecurityOneDotOneReceiveSecurityHeader.cs
- NullRuntimeConfig.cs
- SerialPort.cs
- IndexerHelper.cs
- RelationshipEndCollection.cs
- IndexedEnumerable.cs
- Version.cs
- RelationshipType.cs
- CorrelationService.cs
- TextPattern.cs
- HttpEncoder.cs
- GB18030Encoding.cs
- ValidationSummary.cs
- SelectedDatesCollection.cs
- IdentityNotMappedException.cs
- PasswordRecovery.cs
- WebPartConnectionsConnectVerb.cs
- PropertyMapper.cs
- TaiwanLunisolarCalendar.cs
- ConfigurationStrings.cs
- EntityConnection.cs
- SecurityDescriptor.cs
- BamlResourceSerializer.cs
- PageRanges.cs
- HttpTransportSecurityElement.cs
- DataBindEngine.cs
- BamlBinaryReader.cs
- ToolboxDataAttribute.cs
- RecordManager.cs
- OleDbPropertySetGuid.cs
- EntitySqlQueryCacheKey.cs
- arc.cs
- MsmqTransportElement.cs
- HtmlImage.cs
- ComPlusServiceLoader.cs
- Constraint.cs
- Version.cs
- DispatcherProcessingDisabled.cs
- BitmapCache.cs
- Zone.cs
- ProcessStartInfo.cs
- RowToFieldTransformer.cs
- UInt64Converter.cs
- HostDesigntimeLicenseContext.cs
- FlowLayout.cs
- CachedRequestParams.cs
- ArgumentNullException.cs
- WebBrowserUriTypeConverter.cs
- RelatedPropertyManager.cs
- DurableRuntimeValidator.cs
- DbMetaDataColumnNames.cs
- UserPersonalizationStateInfo.cs
- MSAAWinEventWrap.cs
- RtType.cs
- WebBrowsableAttribute.cs
- CheckableControlBaseAdapter.cs
- DataProtection.cs
- SrgsToken.cs
- Decorator.cs
- _BaseOverlappedAsyncResult.cs
- BufferedWebEventProvider.cs
- ShaderRenderModeValidation.cs
- DecimalFormatter.cs
- ClientUrlResolverWrapper.cs
- FunctionNode.cs
- counter.cs
- FragmentNavigationEventArgs.cs