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
58 lines
1.5 KiB
C#
58 lines
1.5 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 interface IPersonExtends
|
|
{
|
|
global::ProxyInterfaceSourceGeneratorTests.Source.PersonExtends _Instance { get; }
|
|
|
|
string StaticString { get; set; }
|
|
|
|
string Name { get; set; }
|
|
|
|
string? StringNullable { get; set; }
|
|
|
|
long? NullableLong { get; }
|
|
|
|
object @object { get; set; }
|
|
|
|
bool IsAlive { get; set; }
|
|
|
|
string GetterOnly { get; }
|
|
|
|
string StaticMethod(int x, string y);
|
|
|
|
void Void();
|
|
|
|
string HelloWorld(string name);
|
|
|
|
void WithParams(params string[] values);
|
|
|
|
string Add(string s, string @string);
|
|
|
|
int DefaultValue(int x = 100);
|
|
|
|
void In_Out_Ref1(in int a, out int b, ref int c);
|
|
|
|
bool Generic2<T1, T2>(int x, T1 t1, T2 t2) where T1 : struct where T2 : class, new();
|
|
|
|
global::System.Threading.Tasks.Task Method1Async();
|
|
|
|
global::System.Threading.Tasks.Task<int> Method2Async();
|
|
|
|
global::System.Threading.Tasks.Task<string?> Method3Async();
|
|
|
|
void Dispose();
|
|
}
|
|
}
|
|
#nullable restore |