Regex.InitializeReferences Method  
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Caution
This API supports obsolete mechanisms for Regex extensibility. It is not supported.
Used by a Regex object generated by the CompileToAssembly method.
protected:
 void InitializeReferences();[System.Obsolete("This API supports obsolete mechanisms for Regex extensibility. It is not supported.", DiagnosticId="SYSLIB0052", UrlFormat="https://aka.ms/dotnet-warnings/{0}")]
protected void InitializeReferences();protected void InitializeReferences();[<System.Obsolete("This API supports obsolete mechanisms for Regex extensibility. It is not supported.", DiagnosticId="SYSLIB0052", UrlFormat="https://aka.ms/dotnet-warnings/{0}")>]
member this.InitializeReferences : unit -> unitmember this.InitializeReferences : unit -> unitProtected Sub InitializeReferences ()- Attributes
Exceptions
References have already been initialized.