9 writes to IsReadOnly
Aspire.Hosting.CodeGeneration.Java.Tests (2)
AtsJavaCodeGeneratorTests.cs (2)
623IsReadOnly = false, 700IsReadOnly = false,
Aspire.Hosting.RemoteHost (7)
AtsCapabilityScanner.cs (7)
1625IsReadOnly = false 2611IsReadOnly = typeRef.IsReadOnly, 2700IsReadOnly = false 2751IsReadOnly = false 2774IsReadOnly = true 2815IsReadOnly = true 2860IsReadOnly = true
22 references to IsReadOnly
Aspire.Hosting.CodeGeneration.Go (3)
AtsGoCodeGenerator.cs (3)
870if (capability.ReturnType.IsReadOnly) 2095AtsTypeCategory.List => typeRef.IsReadOnly 2098AtsTypeCategory.Dict => typeRef.IsReadOnly
Aspire.Hosting.CodeGeneration.Java (4)
AtsJavaCodeGenerator.cs (4)
2500AtsTypeCategory.List => typeRef.IsReadOnly 2503AtsTypeCategory.Dict => typeRef.IsReadOnly 2634if (!typeRef.IsReadOnly) 2641if (!typeRef.IsReadOnly)
Aspire.Hosting.CodeGeneration.Python (1)
AtsPythonCodeGenerator.cs (1)
225AtsTypeCategory.Dict => typeRef.IsReadOnly
Aspire.Hosting.CodeGeneration.Rust (8)
AtsRustCodeGenerator.cs (8)
615else if (returnTypeRef?.Category == AtsTypeCategory.Dict && returnTypeRef.IsReadOnly == false) 621else if (returnTypeRef?.Category == AtsTypeCategory.List && returnTypeRef.IsReadOnly == false) 918AtsTypeCategory.List => typeRef.IsReadOnly 921AtsTypeCategory.Dict => typeRef.IsReadOnly 1064&& (typeRef.Category == AtsTypeCategory.Array || (typeRef.Category == AtsTypeCategory.List && typeRef.IsReadOnly)) 1070&& ((typeRef.Category == AtsTypeCategory.List && !typeRef.IsReadOnly) 1071|| (typeRef.Category == AtsTypeCategory.Dict && !typeRef.IsReadOnly)); 1109if (!typeRef.IsReadOnly)
Aspire.Hosting.CodeGeneration.TypeScript (2)
AtsTypeScriptCodeGenerator.cs (1)
1936else if (TypeScriptApiProjector.IsDictionaryType(callbackParameter.Type) && !callbackParameter.Type.IsReadOnly)
TypeScriptApiProjector.cs (1)
1694AtsTypeCategory.Dict => typeRef.IsReadOnly
Aspire.Hosting.RemoteHost (3)
AtsCapabilityScanner.cs (2)
1316AtsTypeCategory.Dict => typeRef.IsReadOnly 2611IsReadOnly = typeRef.IsReadOnly,
CodeGeneration\CodeGenerationService.cs (1)
144IsReadOnly = t.IsReadOnly,
Aspire.Hosting.RemoteHost.Tests (1)
AtsCapabilityScannerTests.cs (1)
316Assert.True(argumentsParameter.Type?.IsReadOnly);