Minor code tweaks

このコミットが含まれているのは:
Sergio Pedri committed 2019-09-23 19:39:49 +02:00
1 親 8d9f444a75
コミット f92309a498
3ファイル変更
+9 -7

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

+1 -1
ファイルの表示
@@ -24,7 +24,7 @@ namespace ComputeSharp.Shaders.Mappings
"unsigned", "vector", "vertexfragment", "zero"
};
private static Regex _KeywordsRegex;
private static Regex? _KeywordsRegex;
/// <summary>
/// The <see cref="Regex"/> to use to match variable names
+1 -1
ファイルの表示
@@ -13,7 +13,7 @@ namespace ComputeSharp.Shaders.Mappings
/// </summary>
internal static class HlslKnownMethods
{
private static IReadOnlyDictionary<string, string> _KnownMethods;
private static IReadOnlyDictionary<string, string>? _KnownMethods;
/// <summary>
/// The mapping of supported known methods to HLSL methods