add csharpier
This commit is contained in:
@@ -9,18 +9,12 @@ namespace ProxyInterfaceSourceGeneratorTests.Source
|
||||
// Operator : implicit
|
||||
public static implicit operator OperatorTest(string name)
|
||||
{
|
||||
return new()
|
||||
{
|
||||
Name = name
|
||||
};
|
||||
return new() { Name = name };
|
||||
}
|
||||
|
||||
|
||||
public static implicit operator OperatorTest(int? id)
|
||||
{
|
||||
return new()
|
||||
{
|
||||
Id = id
|
||||
};
|
||||
return new() { Id = id };
|
||||
}
|
||||
|
||||
// Operator : explicit
|
||||
@@ -43,4 +37,4 @@ namespace ProxyInterfaceSourceGeneratorTests.Source
|
||||
var s = (string)operatorTest;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user