# Roslyn Analyzers

MassTransit has a code analyzer which detects and provides code fixes which can be helpful to identify potential issues.

Package: MassTransit.Analyzers (opens new window)

# Message Initializers

Message Initializers are used to initialize a message without having to create a backing class.

The analyzer supports methods that accept an object values argument, including:

  • ISendEndpoint.Send<T>(object values)
  • IPublishEndpoint.Publish<T>(object values)
  • ConsumeContext.RespondAsync<T>(object values)