9 writes to IsReadOnly
Aspire.Hosting.CodeGeneration.Java.Tests (2)
AtsJavaCodeGeneratorTests.cs (2)
2663IsReadOnly = false, 3629IsReadOnly = false,
Aspire.Hosting.RemoteHost (7)
AtsCapabilityScanner.cs (7)
1625IsReadOnly = false 2611IsReadOnly = typeRef.IsReadOnly, 2701IsReadOnly = false 2752IsReadOnly = false 2775IsReadOnly = true 2816IsReadOnly = true 2861IsReadOnly = true
22 references to IsReadOnly
Aspire.Hosting.CodeGeneration.Go (3)
AtsGoCodeGenerator.cs (3)
880if (capability.ReturnType.IsReadOnly) 2111AtsTypeCategory.List => typeRef.IsReadOnly 2114AtsTypeCategory.Dict => typeRef.IsReadOnly
Aspire.Hosting.CodeGeneration.Java (4)
AtsJavaCodeGenerator.cs (4)
2562AtsTypeCategory.List => typeRef.IsReadOnly 2565AtsTypeCategory.Dict => typeRef.IsReadOnly 2698if (!typeRef.IsReadOnly) 2705if (!typeRef.IsReadOnly)
Aspire.Hosting.CodeGeneration.Python (1)
AtsPythonCodeGenerator.cs (1)
229AtsTypeCategory.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 1071&& (typeRef.Category == AtsTypeCategory.Array || (typeRef.Category == AtsTypeCategory.List && typeRef.IsReadOnly)) 1077&& ((typeRef.Category == AtsTypeCategory.List && !typeRef.IsReadOnly) 1078|| (typeRef.Category == AtsTypeCategory.Dict && !typeRef.IsReadOnly)); 1116if (!typeRef.IsReadOnly)
Aspire.Hosting.CodeGeneration.TypeScript (2)
AtsTypeScriptCodeGenerator.cs (1)
1894else 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)
145IsReadOnly = t.IsReadOnly,
Aspire.Hosting.RemoteHost.Tests (1)
AtsCapabilityScannerTests.cs (1)
330Assert.True(argumentsParameter.Type?.IsReadOnly);