Use explicit types everywhere

このコミットが含まれているのは:
Sergio Pedri committed 2022-10-15 09:10:18 -07:00
1 親 27c629f3b4
コミット 16c0fc9aab
74ファイル変更
+455 -446

検索条件に一致するファイルはありません

+1 -1
ファイルの表示
@@ -12,7 +12,7 @@ partial class HlslKnownKeywords
static partial void AddKnownKeywords(ICollection<string> knownKeywords)
{
// D2D1 intrinsics method names
foreach (var method in typeof(D2D).GetMethods(BindingFlags.Public | BindingFlags.Static))
foreach (MethodInfo? method in typeof(D2D).GetMethods(BindingFlags.Public | BindingFlags.Static))
{
string name = method.GetCustomAttribute<HlslIntrinsicNameAttribute>()?.Name ?? method.Name;
+1 -1
ファイルの表示
@@ -26,7 +26,7 @@ partial class HlslKnownMethods
static partial void AddKnownMethods(IDictionary<string, string> knownMethods)
{
// Programmatically load mappings from the D2D1 class as well
foreach (var method in
foreach (MethodInfo? method in
from method in typeof(D2D).GetMethods(BindingFlags.Public | BindingFlags.Static)
group method by method.Name
into groups