< Summary

Class:Azure.Storage.Files.Shares.ShareErrors
Assembly:Azure.Storage.Files.Shares
File(s):C:\Git\azure-sdk-for-net\sdk\storage\Azure.Storage.Files.Shares\src\ShareErrors.cs
Covered lines:0
Uncovered lines:1
Coverable lines:1
Total lines:13
Line coverage:0% (0 of 1)
Covered branches:0
Total branches:0

Metrics

MethodCyclomatic complexity Line coverage Branch coverage
InvalidPermissionJson(...)-0%100%

File(s)

C:\Git\azure-sdk-for-net\sdk\storage\Azure.Storage.Files.Shares\src\ShareErrors.cs

#LineLine coverage
 1// Copyright (c) Microsoft Corporation. All rights reserved.
 2// Licensed under the MIT License.
 3
 4using System.Text.Json;
 5
 6namespace Azure.Storage.Files.Shares
 7{
 8    internal static class ShareErrors
 9    {
 10        public static JsonException InvalidPermissionJson(string json) =>
 011            throw new JsonException("Expected { \"permission\": \"...\" }, not " + json);
 12    }
 13}

Methods/Properties

InvalidPermissionJson(...)