10 writes to IsReadOnly
Aspire.Hosting.CodeGeneration.Java.Tests (2)
AtsJavaCodeGeneratorTests.cs (2)
2715IsReadOnly = false, 3681IsReadOnly = false,
Aspire.Hosting.RemoteHost (8)
Ats\ExternalCapabilityRegistry.cs (1)
812IsReadOnly = typeRef.IsReadOnly,
AtsCapabilityScanner.cs (7)
1699IsReadOnly = false 2692IsReadOnly = typeRef.IsReadOnly, 2782IsReadOnly = false 2833IsReadOnly = false 2856IsReadOnly = true 2897IsReadOnly = true 2942IsReadOnly = 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)
2581AtsTypeCategory.List => typeRef.IsReadOnly 2584AtsTypeCategory.Dict => typeRef.IsReadOnly 2717if (!typeRef.IsReadOnly) 2724if (!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)
1906else if (TypeScriptApiProjector.IsDictionaryType(callbackParameter.Type) && !callbackParameter.Type.IsReadOnly)
TypeScriptApiProjector.cs (1)
1698AtsTypeCategory.Dict => typeRef.IsReadOnly
Aspire.Hosting.RemoteHost (3)
AtsCapabilityScanner.cs (2)
1390AtsTypeCategory.Dict => typeRef.IsReadOnly 2692IsReadOnly = typeRef.IsReadOnly,
CodeGeneration\CodeGenerationService.cs (1)
154IsReadOnly = t.IsReadOnly,
Aspire.Hosting.RemoteHost.Tests (1)
AtsCapabilityScannerTests.cs (1)
343Assert.True(argumentsParameter.Type?.IsReadOnly);