Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / Regex / System / Text / RegularExpressions / CompiledRegexRunner.cs / 1305376 / CompiledRegexRunner.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- using System; using System.Diagnostics; using System.Reflection.Emit; #if !SILVERLIGHT namespace System.Text.RegularExpressions { internal sealed class CompiledRegexRunner : RegexRunner { NoParamDelegate goMethod; FindFirstCharDelegate findFirstCharMethod; NoParamDelegate initTrackCountMethod; internal CompiledRegexRunner() {} internal void SetDelegates(NoParamDelegate go, FindFirstCharDelegate firstChar, NoParamDelegate trackCount) { goMethod = go; findFirstCharMethod = firstChar; initTrackCountMethod = trackCount; } protected override void Go() { goMethod(this); } protected override bool FindFirstChar() { return findFirstCharMethod(this); } protected override void InitTrackCount() { initTrackCountMethod(this); } } internal delegate void NoParamDelegate(RegexRunner r); internal delegate bool FindFirstCharDelegate(RegexRunner r); } #endif // 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
- XLinq.cs
- SBCSCodePageEncoding.cs
- EnterpriseServicesHelper.cs
- UnmanagedHandle.cs
- TrackingServices.cs
- TextBreakpoint.cs
- CommonDialog.cs
- DispatcherTimer.cs
- ClrProviderManifest.cs
- Model3D.cs
- ExpandoObject.cs
- validationstate.cs
- StorageConditionPropertyMapping.cs
- RenderingEventArgs.cs
- PropertyIdentifier.cs
- EncryptedKeyHashIdentifierClause.cs
- RemotingSurrogateSelector.cs
- XamlUtilities.cs
- DocComment.cs
- MetadataUtil.cs
- regiisutil.cs
- FixedSOMPageElement.cs
- CompoundFileStreamReference.cs
- HMACSHA256.cs
- DataGridViewRowsAddedEventArgs.cs
- NavigateEvent.cs
- CharUnicodeInfo.cs
- WindowsListViewGroupHelper.cs
- AccessDataSource.cs
- Rect.cs
- SemanticAnalyzer.cs
- SharingService.cs
- SystemTcpStatistics.cs
- HtmlInputButton.cs
- ObjectDataSourceEventArgs.cs
- Window.cs
- MsmqIntegrationSecurity.cs
- HMACRIPEMD160.cs
- PersonalizationProviderHelper.cs
- RotateTransform3D.cs
- ConstraintStruct.cs
- X509CertificateInitiatorClientCredential.cs
- EndPoint.cs
- ReferenceService.cs
- DataServiceKeyAttribute.cs
- BitmapEffectvisualstate.cs
- ViewStateChangedEventArgs.cs
- StringDictionary.cs
- TypeToTreeConverter.cs
- invalidudtexception.cs
- DataComponentNameHandler.cs
- WindowsAuthenticationModule.cs
- BaseResourcesBuildProvider.cs
- SmtpNegotiateAuthenticationModule.cs
- SetStateDesigner.cs
- TypeUtil.cs
- SafeSecurityHandles.cs
- ByteKeyFrameCollection.cs
- IsolatedStorageException.cs
- OutputWindow.cs
- DataGridParentRows.cs
- XmlSchemaComplexContent.cs
- WebContext.cs
- SocketAddress.cs
- EntitySqlQueryCacheKey.cs
- EventHandlersDesigner.cs
- SqlAggregateChecker.cs
- ParameterModifier.cs
- CardSpaceException.cs
- XhtmlStyleClass.cs
- InlineCategoriesDocument.cs
- _NegoStream.cs
- InstanceKey.cs
- StreamInfo.cs
- DoubleKeyFrameCollection.cs
- SQLResource.cs
- InvariantComparer.cs
- AppliedDeviceFiltersDialog.cs
- DelegateSerializationHolder.cs
- OleDbFactory.cs
- SizeLimitedCache.cs
- BeginEvent.cs
- Stroke.cs
- ConnectionConsumerAttribute.cs
- WebPartEditorOkVerb.cs
- QueryOptionExpression.cs
- ReceiveActivityValidator.cs
- RawContentTypeMapper.cs
- ResolveNameEventArgs.cs
- KeyboardDevice.cs
- UiaCoreApi.cs
- XmlValidatingReaderImpl.cs
- DisplayMemberTemplateSelector.cs
- ServiceModelConfiguration.cs
- Int32Collection.cs
- FileEnumerator.cs
- SafeNativeMethodsCLR.cs
- ObjectSecurity.cs
- ScriptServiceAttribute.cs
- XDRSchema.cs