Added support for captured local functions cast to delegates
このコミットが含まれているのは:
1 親
a91b44a329
コミット
e512c5839e
2ファイル変更
+19
-5
検索条件に一致するファイルはありません
@@ -208,7 +208,7 @@ namespace ComputeSharp.Shaders.Translation
|
||||
{
|
||||
string
|
||||
sourceCode = DecompileMethodOrDeclaringType(methodInfo, true),
|
||||
methodFixedCode = sourceCode.Replace(methodInfo.Name, methodInfo.Name.Replace("<", string.Empty).Replace(">", "_")),
|
||||
methodFixedCode = sourceCode.Replace(methodInfo.Name, Regex.Replace(methodInfo.Name, "[<>|]", "_")),
|
||||
prototype = methodFixedCode.Split(Environment.NewLine)[0],
|
||||
commentedSourceCode = $"// {methodInfo.Name}{Environment.NewLine}{methodFixedCode}",
|
||||
inFixedSourceCode = Regex.Replace(commentedSourceCode, @"(?<!\w)in ", string.Empty),
|
||||
|
||||
新しいイシューから参照
ユーザーをブロックする