39d85588e6
* 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
38 lines
1.1 KiB
C#
38 lines
1.1 KiB
C#
//----------------------------------------------------------------------------------------
|
|
// <auto-generated>
|
|
// This code was generated by https://github.com/StefH/ProxyInterfaceSourceGenerator.
|
|
//
|
|
// Changes to this file may cause incorrect behavior and will be lost if
|
|
// the code is regenerated.
|
|
// </auto-generated>
|
|
//----------------------------------------------------------------------------------------
|
|
|
|
#nullable enable
|
|
using System;
|
|
|
|
namespace ProxyInterfaceSourceGeneratorTests.Source
|
|
{
|
|
public partial class HumanProxy : global::ProxyInterfaceSourceGeneratorTests.Source.IHuman
|
|
{
|
|
public global::ProxyInterfaceSourceGeneratorTests.Source.Human _Instance { get; }
|
|
|
|
public bool IsAlive { get => _Instance.IsAlive; set => _Instance.IsAlive = value; }
|
|
|
|
public string GetterOnly { get => _Instance.GetterOnly; }
|
|
|
|
public void Dispose()
|
|
{
|
|
_Instance.Dispose();
|
|
}
|
|
|
|
|
|
public HumanProxy(global::ProxyInterfaceSourceGeneratorTests.Source.Human instance)
|
|
{
|
|
_Instance = instance;
|
|
|
|
|
|
|
|
}
|
|
}
|
|
}
|
|
#nullable restore |