MessageLocationExtensions.Write Method (MessageSource, SymAspectInstance, SeverityType, String, Object[]) |
Namespace: PostSharp.Extensibility
Assembly: PostSharp.Compiler.Engine (in PostSharp.Compiler.Engine.dll) Version: 2023.0.3.0 (2023.0.3.0)
public static void Write( this MessageSource messageSource, SymAspectInstance codeElement, SeverityType severity, string messageId, params Object[] arguments )
Parameters
- messageSource
- Type: MessageSource
A MessageSource. - codeElement
- Type: PostSharp.Sdk.WeavingSymbols.SymAspectInstance
Source code artifact that caused the message. - severity
- Type: SeverityType
Message severity (fatal error, error, info, debug). - messageId
- Type: System.String
Identifier of the message type. - arguments
- Type: System.Object[]
Array of arguments used to format the message text, or null if this message has no argument.