10 references to IsSimpleType
Aspire.Hosting.RemoteHost (1)
Ats\AtsMarshaller.cs (1)
124
return
IsSimpleType
(underlying);
Aspire.Hosting.RemoteHost.Tests (9)
AtsMarshallerTests.cs (9)
94
Assert.True(AtsMarshaller.
IsSimpleType
(type));
100
Assert.True(AtsMarshaller.
IsSimpleType
(typeof(int?)));
101
Assert.True(AtsMarshaller.
IsSimpleType
(typeof(bool?)));
102
Assert.True(AtsMarshaller.
IsSimpleType
(typeof(DateTime?)));
108
Assert.True(AtsMarshaller.
IsSimpleType
(typeof(TestEnum)));
114
Assert.False(AtsMarshaller.
IsSimpleType
(typeof(object)));
115
Assert.False(AtsMarshaller.
IsSimpleType
(typeof(List<int>)));
116
Assert.False(AtsMarshaller.
IsSimpleType
(typeof(TestClass)));
448
Assert.True(AtsMarshaller.
IsSimpleType
(type));