Add explicit discards to all value returning expressions
このコミットが含まれているのは:
1 親
38adbe6087
コミット
9343ac7f7b
47ファイル変更
+144
-144
検索条件に一致するファイルはありません
+4
-4
@@ -96,12 +96,12 @@ partial class IShaderGenerator
|
||||
|
||||
void AppendLF()
|
||||
{
|
||||
textBuilder.Append('\n');
|
||||
_ = textBuilder.Append('\n');
|
||||
}
|
||||
|
||||
void AppendLine(string text)
|
||||
{
|
||||
textBuilder.Append(text);
|
||||
_ = textBuilder.Append(text);
|
||||
}
|
||||
|
||||
void AppendParsedStatement(string text)
|
||||
@@ -117,7 +117,7 @@ partial class IShaderGenerator
|
||||
{
|
||||
string hlslSource = textBuilder.ToString();
|
||||
|
||||
textBuilder.Append(hlslSource);
|
||||
_ = textBuilder.Append(hlslSource);
|
||||
|
||||
sizeHint += textBuilder.Length;
|
||||
|
||||
@@ -133,7 +133,7 @@ partial class IShaderGenerator
|
||||
MemberAccessExpression(SyntaxKind.SimpleMemberAccessExpression, IdentifierName("builder"), IdentifierName("Append")))
|
||||
.AddArgumentListArguments(Argument(LiteralExpression(SyntaxKind.StringLiteralExpression, hlslSourceLiteralExpression)))));
|
||||
|
||||
textBuilder.Clear();
|
||||
_ = textBuilder.Clear();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
新しいイシューから参照
ユーザーをブロックする