Metalama icon indicating copy to clipboard operation
Metalama copied to clipboard

Metalama is a Roslyn-based meta-programming framework. Use this repo to report bugs or ask questions.

Results 16 Metalama issues
Sort by recently updated
recently updated
newest added

Hello, I am using the `OverrideMethodAspect` of the Metalama framework to create a logging attribute. It works and I can build in my Visual Studio 2022 and run the app(I...

It would be great to have support for Rider the same way we now have in the Visual Studio Plugin. That would benefit for non-Windows .NET developers.

enhancement

I'm running into an issue with builds on my personal machine (MacBook w/ Apple Silicon) failing due to being unable to find 'Global\Metalama.Configuration'. I've tried to Google my way through...

Especially as Metalama is capable of producing whole new properties, fields and methods to classes (and in the future hopefully, whole classes as well) and since the output can be...

enhancement

![image](https://github.com/postsharp/Metalama/assets/20780337/8cf3e6f8-7622-4a73-af57-ac158aaa296b) It would be useful to have code coverage highlighting for classes with aspects applied. Ideally, highlights would appear in the Metalama diff for the transformed code. Although, just showing...

enhancement

I'd like to be write an aspect to generate classes implementing data access interfaces. Currently (2023.1) my code won't work: ## Example interface ```cs interface IPerson { string Name {...

enhancement

I suggest that calling `Invoke` on an `IMethod` directly, without using `With( InvokerOptions )` should report a diagnostic warning. This is in the spirit of more modern C# globalization warnings...

enhancement

Today, one might write a statement along the lines of (contrived): ```cs var sampleBuilder = new StatementBuilder(); sampleBuilder.AppendVerbatim("var abc = "); sampleBuilder.AppendLiteral(123); sampleBuilder.AppendVerbatim(";"); meta.InsertStatement(sampleBuilder.ToStatement()); ``` This is fine as it'll...

enhancement

I'm applying a TypeAspect to a class that looks like: ```cs public class MyDoodad { } ``` My aspect starts by assigning the type parameters to separate variables. Herein was...

enhancement

For testing purposes, I've got my aspect and its related classes in one project, some dummy entities in another project and my unit tests in a third project. I was...

enhancement