public AddAggressiveInliningRewriter(SemanticModel semanticModel, int position, AtCoderAnalyzerConfig config) : base(false) { this.semanticModel = semanticModel; this.position = position; methodImplAttribute = semanticModel.Compilation.GetTypeByMetadataName( System_Runtime_CompilerServices_MethodImplAttribute); methodImplOptions = semanticModel.Compilation.GetTypeByMetadataName( System_Runtime_CompilerServices_MethodImplOptions); aggressiveInliningAttribute = SyntaxHelpers.AggressiveInliningAttribute( methodImplAttribute.ToMinimalDisplayString(semanticModel, position), methodImplOptions.ToMinimalDisplayString(semanticModel, position), config.UseMethodImplNumeric); }