Add missing readonly modifiers

このコミットが含まれているのは:
Sergio Pedri committed 2023-05-17 20:01:19 +02:00
1 親 93867675df
コミット 0fefd20781
21ファイル変更
+33 -30

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

+1 -1
ファイルの表示
@@ -24,7 +24,7 @@ internal struct ShaderBytecodeLoader : IBytecodeLoader
/// <returns>The current <see cref="ICachedShader"/> instance.</returns>
/// <exception cref="InvalidOperationException">Thrown if the shader has not been initialized.</exception>
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public ICachedShader GetCachedShader()
public readonly ICachedShader GetCachedShader()
{
default(InvalidOperationException).ThrowIf(this.cachedShader is null);