Use explicit types everywhere
このコミットが含まれているのは:
1 親
27c629f3b4
コミット
16c0fc9aab
74ファイル変更
+455
-446
検索条件に一致するファイルはありません
@@ -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;
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
新しいイシューから参照
ユーザーをブロックする