< Summary

Class:Azure.Core.CodeGenSuppressAttribute
Assembly:Azure.ResourceManager.Compute
File(s):C:\Git\azure-sdk-for-net\sdk\core\Azure.Core\src\Shared\AutoRest\CodeGenSuppressAttribute.cs
Covered lines:0
Uncovered lines:6
Coverable lines:6
Total lines:20
Line coverage:0% (0 of 6)
Covered branches:0
Total branches:0

Metrics

MethodCyclomatic complexity Line coverage Branch coverage
get_Member()-0%100%
get_Parameters()-0%100%
.ctor(...)-0%100%

File(s)

C:\Git\azure-sdk-for-net\sdk\core\Azure.Core\src\Shared\AutoRest\CodeGenSuppressAttribute.cs

#LineLine coverage
 1// Copyright (c) Microsoft Corporation. All rights reserved.
 2// Licensed under the MIT License.
 3
 4using System;
 5
 6namespace Azure.Core
 7{
 8    [AttributeUsage(AttributeTargets.Class | AttributeTargets.Enum | AttributeTargets.Struct, AllowMultiple = true)]
 9    internal class CodeGenSuppressAttribute : Attribute
 10    {
 011        public string Member { get; }
 012        public Type[] Parameters { get; }
 13
 014        public CodeGenSuppressAttribute(string member, params Type[] parameters)
 15        {
 016            Member = member;
 017            Parameters = parameters;
 018        }
 19    }
 20}