Implemented support for static properties

このコミットが含まれているのは:
Sergio Pedri committed 2019-08-18 12:56:09 +02:00
1 親 2eb2ade5ef
コミット 44179ebeb7
3ファイル変更
+16 -23

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

+1 -1
ファイルの表示
@@ -54,7 +54,7 @@ namespace ComputeSharp.Shaders.Translation.Models
/// </summary>
/// <param name="instance">The target instance to use to read the value from</param>
[Pure]
public object GetValue(object instance)
public object GetValue(object? instance)
{
if (Field != null) return Field.GetValue(instance);
if (Property != null) return Property.GetValue(instance);