| 1 | using System.Reflection; |
| 2 | using Microsoft.CodeAnalysis; |
| 3 | |
| 4 | namespace Godot.SourceGenerators.Tests; |
| 5 | |
| 6 | public static class Extensions |
| 7 | { |
| 8 | public static MetadataReference CreateMetadataReference(this Assembly assembly) |
| 9 | { |
| 10 | return MetadataReference.CreateFromFile(assembly.Location); |
| 11 | } |
| 12 | } |