33 references to Any
Aspire.Hosting.CodeGeneration.Go (3)
AtsGoCodeGenerator.cs (3)
2535AtsTypeCategory.Primitive => type.TypeId is not (AtsConstants.Any or AtsConstants.ReferenceExpressionTypeId), 3140&& typeRef.TypeId is not (AtsConstants.Void or AtsConstants.Any or AtsConstants.CancellationToken); 3172AtsConstants.Any => "any",
Aspire.Hosting.CodeGeneration.Java (1)
AtsJavaCodeGenerator.cs (1)
2671AtsConstants.Any => "Object",
Aspire.Hosting.CodeGeneration.Python (2)
AtsPythonCodeGenerator.cs (2)
247&& typeRef.TypeId is not (AtsConstants.Void or AtsConstants.Any or AtsConstants.CancellationToken); 258AtsConstants.Any => "typing.Any",
Aspire.Hosting.CodeGeneration.Rust (3)
AtsRustCodeGenerator.cs (3)
1019AtsConstants.Any => "Value", 1045AtsConstants.Any => "&Value", 1064&& typeRef.TypeId is not (AtsConstants.Void or AtsConstants.Any or AtsConstants.CancellationToken);
Aspire.Hosting.CodeGeneration.TypeScript (2)
TypeScriptApiProjector.cs (2)
1715return typeRef.TypeId is AtsConstants.Void or AtsConstants.Any or AtsConstants.CancellationToken 1768AtsConstants.Any => "any",
Aspire.Hosting.Native.CodeGeneration (10)
src\Aspire.Hosting.RemoteHost\AtsCapabilityScanner.cs (10)
1704: new AtsTypeRef { TypeId = AtsConstants.Any, Category = AtsTypeCategory.Primitive }; 1731propertyTypeRef = new AtsTypeRef { TypeId = AtsConstants.Any, Category = AtsTypeCategory.Primitive }; 2473return AtsConstants.Any; 2478return AtsConstants.DictTypeId(AtsConstants.String, AtsConstants.Any); 2483return AtsConstants.ListTypeId(AtsConstants.Any); 2804return new AtsTypeRef { TypeId = AtsConstants.Any, ClrType = type, Category = AtsTypeCategory.Primitive }; 2811TypeId = AtsConstants.DictTypeId(AtsConstants.String, AtsConstants.Any), 2815ValueType = new AtsTypeRef { TypeId = AtsConstants.Any, ClrType = typeof(object), Category = AtsTypeCategory.Primitive }, 2824TypeId = AtsConstants.ListTypeId(AtsConstants.Any), 2827ElementType = new AtsTypeRef { TypeId = AtsConstants.Any, ClrType = typeof(object), Category = AtsTypeCategory.Primitive }
Aspire.Hosting.RemoteHost (11)
Ats\AtsMarshaller.cs (1)
150if (typeRef.TypeId == TypeSystem.AtsConstants.Any)
AtsCapabilityScanner.cs (10)
1704: new AtsTypeRef { TypeId = AtsConstants.Any, Category = AtsTypeCategory.Primitive }; 1731propertyTypeRef = new AtsTypeRef { TypeId = AtsConstants.Any, Category = AtsTypeCategory.Primitive }; 2473return AtsConstants.Any; 2478return AtsConstants.DictTypeId(AtsConstants.String, AtsConstants.Any); 2483return AtsConstants.ListTypeId(AtsConstants.Any); 2804return new AtsTypeRef { TypeId = AtsConstants.Any, ClrType = type, Category = AtsTypeCategory.Primitive }; 2811TypeId = AtsConstants.DictTypeId(AtsConstants.String, AtsConstants.Any), 2815ValueType = new AtsTypeRef { TypeId = AtsConstants.Any, ClrType = typeof(object), Category = AtsTypeCategory.Primitive }, 2824TypeId = AtsConstants.ListTypeId(AtsConstants.Any), 2827ElementType = new AtsTypeRef { TypeId = AtsConstants.Any, ClrType = typeof(object), Category = AtsTypeCategory.Primitive }
Aspire.TypeSystem (1)
AtsConstants.cs (1)
318Guid or Uri or Any or CancellationToken => true,