/
githubmirror
/
roslyn
Обзор
Документация
Войти
/
githubmirror
/
roslyn
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
src/Compilers/Test/Core/Compilation/ThrowingStrongNameFileSystem.cs
24 строки
785 B
Tomas Matousek
Move
23 окт 2020, 21:06
23 окт 2020, 21:06
d49cd2b
Код
Авторство
О чём код?
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. #nullable disable using System; using System.Collections.Generic; using System.IO; using System.Reflection; using System.Text; using Microsoft.CodeAnalysis; namespace Roslyn.Test.Utilities { internal sealed class ThrowingStrongNameFileSystem : StrongNameFileSystem { internal static new readonly ThrowingStrongNameFileSystem Instance = new ThrowingStrongNameFileSystem(); internal override bool FileExists(string fullPath) => throw new IOException(); internal override byte[] ReadAllBytes(string fullPath) => throw new IOException(); } }