in => scoped in

This commit is contained in:
Soreepeong 2025-08-04 20:48:59 +09:00
parent 69a7e5bf02
commit 35c98961b6
3 changed files with 153 additions and 153 deletions

View file

@ -254,7 +254,7 @@ foreach ($sourcePath in $sourcePaths)
$tmp = $overload.Groups[0].Value
$tmp = $referNativeFunction.Replace($tmp, "$( $className )Native.`$1")
$tmp = $referNativeFunctionQualified.Replace($tmp, '$1Native.$2')
$tmp = $tmp -creplace '(?<=Get[A-Za-z0-9_]+\()ref ([A-Za-z*]+) self(?=, |\))', 'this in $1 self'
$tmp = $tmp -creplace '(?<=Get[A-Za-z0-9_]+\()ref ([A-Za-z*]+) self(?=, |\))', 'this scoped in $1 self'
$tmp = $tmp -creplace '(?<=\()(ref )?([A-Za-z*]+) self(?=, |\))', 'this $1$2 self'
$null = $sb.Append($tmp)
}