10 references to IsSimpleType
Aspire.Hosting.RemoteHost (1)
Ats\AtsMarshaller.cs (1)
107
return
IsSimpleType
(underlying);
Aspire.Hosting.RemoteHost.Tests (9)
AtsMarshallerTests.cs (9)
49
Assert.True(AtsMarshaller.
IsSimpleType
(type));
55
Assert.True(AtsMarshaller.
IsSimpleType
(typeof(int?)));
56
Assert.True(AtsMarshaller.
IsSimpleType
(typeof(bool?)));
57
Assert.True(AtsMarshaller.
IsSimpleType
(typeof(DateTime?)));
63
Assert.True(AtsMarshaller.
IsSimpleType
(typeof(TestEnum)));
69
Assert.False(AtsMarshaller.
IsSimpleType
(typeof(object)));
70
Assert.False(AtsMarshaller.
IsSimpleType
(typeof(List<int>)));
71
Assert.False(AtsMarshaller.
IsSimpleType
(typeof(TestClass)));
296
Assert.True(AtsMarshaller.
IsSimpleType
(type));