Use fully qualified names to reduce namespace clashes. (#68)

* Use fully qualified names to reduce namespace clashes.

* Small code style fixes.

* Make properties in ProxyData immutable.

* Remove clutter by joining TrimEnd() to previous line.

* Introduce Extension method to retrieve ITypeSymbol FullyQualifiedDisplayString

* Fixed some code issues.

* Fixed method call in BaseGenerator

* Refactor metadata name
This commit is contained in:
David
2024-04-28 10:25:50 +02:00
committed by GitHub
parent 68864378d0
commit 39d85588e6
56 changed files with 1123 additions and 1146 deletions
@@ -13,20 +13,12 @@ using System;
public partial class NoNamespaceProxy : INoNamespace
{
public ProxyInterfaceSourceGeneratorTests.Source.NoNamespace _Instance { get; }
public global::ProxyInterfaceSourceGeneratorTests.Source.NoNamespace _Instance { get; }
public bool Test { get => _Instance.Test; set => _Instance.Test = value; }
public NoNamespaceProxy(ProxyInterfaceSourceGeneratorTests.Source.NoNamespace instance)
public NoNamespaceProxy(global::ProxyInterfaceSourceGeneratorTests.Source.NoNamespace instance)
{
_Instance = instance;