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
73 lines
2.7 KiB
C#
73 lines
2.7 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 IPerson
|
|
{
|
|
new global::ProxyInterfaceSourceGeneratorTests.Source.Person _Instance { get; }
|
|
|
|
[System.ComponentModel.DataAnnotations.DisplayAttribute(Prompt = "MyStruct Indexer")]
|
|
global::ProxyInterfaceSourceGeneratorTests.Source.MyStruct this[int i] { get; set; }
|
|
|
|
global::ProxyInterfaceSourceGeneratorTests.Source.MyStruct this[int i, string s] { get; set; }
|
|
|
|
[System.ComponentModel.DataAnnotations.DisplayAttribute(ResourceType = typeof(System.Threading.PeriodicTimer))]
|
|
string Name { get; set; }
|
|
|
|
string? StringNullable { get; set; }
|
|
|
|
long? NullableLong { get; }
|
|
|
|
object @object { get; set; }
|
|
|
|
global::System.Collections.Generic.IList<global::ProxyInterfaceSourceGeneratorTests.Source.IHuman> AddHuman(global::ProxyInterfaceSourceGeneratorTests.Source.IHuman h);
|
|
|
|
void Void();
|
|
|
|
string HelloWorld(string name);
|
|
|
|
string HelloWorld2(string? name = "x");
|
|
|
|
string HelloWorld3(char? ch = 'c');
|
|
|
|
string HelloWorld4(char ch);
|
|
|
|
string HelloWorld5(char? ch);
|
|
|
|
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);
|
|
|
|
double[,] Out_MultiDimensionIssue54(out double[,] x);
|
|
|
|
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();
|
|
|
|
[System.ComponentModel.DataAnnotations.DisplayAttribute(Name = "M3")]
|
|
global::System.Threading.Tasks.Task<string?> Method3Async();
|
|
|
|
void CreateInvokeHttpClient(int i = 5, string? appId = null, global::System.Collections.Generic.IReadOnlyDictionary<string, string>? metadata = null, global::System.Threading.CancellationToken token = default(System.Threading.CancellationToken));
|
|
|
|
bool TryParse(string s1, [System.Diagnostics.CodeAnalysis.NotNullWhenAttribute(true)] params int[]? ii);
|
|
|
|
bool TryParse(string s2, [System.Diagnostics.CodeAnalysis.NotNullWhenAttribute(true)] out int? i);
|
|
}
|
|
}
|
|
#nullable restore |