Search Results for

    Show / Hide Table of Contents

    Class SuppressionDescriptor

    Inheritance
    object
    SuppressionDescriptor
    Implements
    IEquatable<SuppressionDescriptor>
    Inherited Members
    object.GetType()
    object.ToString()
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    Namespace: Microsoft.CodeAnalysis
    Assembly: Microsoft.CodeAnalysis.dll
    Syntax
    public sealed class SuppressionDescriptor : IEquatable<SuppressionDescriptor?>

    Constructors

    SuppressionDescriptor(string, string, LocalizableString)

    Declaration
    public SuppressionDescriptor(string id, string suppressedDiagnosticId, LocalizableString justification)
    Parameters
    Type Name Description
    string id
    string suppressedDiagnosticId
    LocalizableString justification

    SuppressionDescriptor(string, string, string)

    Declaration
    public SuppressionDescriptor(string id, string suppressedDiagnosticId, string justification)
    Parameters
    Type Name Description
    string id
    string suppressedDiagnosticId
    string justification

    Properties

    Id

    Declaration
    public string Id { get; }
    Property Value
    Type Description
    string

    Justification

    Declaration
    public LocalizableString Justification { get; }
    Property Value
    Type Description
    LocalizableString

    SuppressedDiagnosticId

    Declaration
    public string SuppressedDiagnosticId { get; }
    Property Value
    Type Description
    string

    Methods

    Equals(SuppressionDescriptor?)

    Declaration
    public bool Equals(SuppressionDescriptor? other)
    Parameters
    Type Name Description
    SuppressionDescriptor other
    Returns
    Type Description
    bool

    Equals(object?)

    Declaration
    public override bool Equals(object? obj)
    Parameters
    Type Name Description
    object obj
    Returns
    Type Description
    bool
    Overrides
    object.Equals(object)

    GetHashCode()

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    int
    Overrides
    object.GetHashCode()

    Implements

    IEquatable<T>
    In this article
    Back to top Generated by DocFX | Copyright (c) 2018- The NUnit Project - Licensed under CC BY-NC-SA 4.0