C# Class Squared.Util.RegexExtensions.RegexLeak

ファイルを表示 Open project: sq/Fracture

Public Methods

Method Description
Fix ( Regex regex ) : void

Works around the string reference leak in the implementation of System.Text.RegularExpressions.Regex.

Private Methods

Method Description
RegexLeak ( ) : System

Method Details

Fix() public static method

Works around the string reference leak in the implementation of System.Text.RegularExpressions.Regex.
public static Fix ( Regex regex ) : void
regex System.Text.RegularExpressions.Regex The regex you want to ensure has no reference to your strings.
return void