1 write to Types
Aspire.TypeSystem (1)
AttributeDataReader.cs (1)
322Types = [.. types]
9 references to Types
Aspire.Hosting.Native.CodeGeneration (3)
src\Aspire.Hosting.RemoteHost\AtsCapabilityScanner.cs (3)
3395if (unionAttr.Types.Length < 2) 3398$"[AspireUnion] on {context} has {unionAttr.Types.Length} type(s). Union must have at least 2 types."); 3403foreach (var memberType in unionAttr.Types)
Aspire.Hosting.RemoteHost (3)
AtsCapabilityScanner.cs (3)
3395if (unionAttr.Types.Length < 2) 3398$"[AspireUnion] on {context} has {unionAttr.Types.Length} type(s). Union must have at least 2 types."); 3403foreach (var memberType in unionAttr.Types)
Aspire.Hosting.RemoteHost.Tests (3)
AttributeDataReaderTests.cs (3)
104Assert.Equal(2, result.Types.Length); 105Assert.Contains(typeof(string), result.Types); 106Assert.Contains(typeof(int), result.Types);