public ObsoleteAttributeData(ObsoleteAttributeKind kind, string? message, bool isError, string? diagnosticId, string? urlFormat) { Kind = kind; Message = message; IsError = isError; DiagnosticId = diagnosticId; UrlFormat = urlFormat; }
internal ObsoleteAttributeData DecodeObsoleteAttribute(ObsoleteAttributeKind kind) { switch (kind) { case ObsoleteAttributeKind.Obsolete: return(DecodeObsoleteAttribute()); case ObsoleteAttributeKind.Deprecated: return(DecodeDeprecatedAttribute()); case ObsoleteAttributeKind.Experimental: return(DecodeExperimentalAttribute()); default: throw ExceptionUtilities.UnexpectedValue(kind); } }
public ObsoleteAttributeData(ObsoleteAttributeKind kind, string message, bool isError) { Kind = kind; Message = message; IsError = isError; }