20 writes to IsReadOnly
Aspire.Hosting.CodeGeneration.Go.Tests (3)
AtsGoDerivedBuilderTests.cs (2)
621IsReadOnly = true 637IsReadOnly = true
GoGeneratorEscapingTests.cs (1)
99var lookupType = new AtsTypeRef { TypeId = "Tests/Dict<string,string>", Category = AtsTypeCategory.Dict, KeyType = stringType, ValueType = stringType, IsReadOnly = true };
Aspire.Hosting.CodeGeneration.Java.Tests (2)
AtsJavaCodeGeneratorTests.cs (2)
2715IsReadOnly = false, 3725IsReadOnly = false,
Aspire.Hosting.Native.CodeGeneration (7)
src\Aspire.Hosting.RemoteHost\AtsCapabilityScanner.cs (7)
1699IsReadOnly = false 2713IsReadOnly = typeRef.IsReadOnly, 2803IsReadOnly = false 2854IsReadOnly = false 2877IsReadOnly = true 2918IsReadOnly = true 2963IsReadOnly = true
Aspire.Hosting.RemoteHost (8)
Ats\ExternalCapabilityRegistry.cs (1)
812IsReadOnly = typeRef.IsReadOnly,
AtsCapabilityScanner.cs (7)
1699IsReadOnly = false 2713IsReadOnly = typeRef.IsReadOnly, 2803IsReadOnly = false 2854IsReadOnly = false 2877IsReadOnly = true 2918IsReadOnly = true 2963IsReadOnly = true
24 references to IsReadOnly
Aspire.Hosting.CodeGeneration.Go (3)
AtsGoCodeGenerator.cs (3)
1246if (capability.ReturnType.IsReadOnly) 2617AtsTypeCategory.List => typeRef.IsReadOnly 2620AtsTypeCategory.Dict => typeRef.IsReadOnly
Aspire.Hosting.CodeGeneration.Java (4)
AtsJavaCodeGenerator.cs (4)
2582AtsTypeCategory.List => typeRef.IsReadOnly 2585AtsTypeCategory.Dict => typeRef.IsReadOnly 2718if (!typeRef.IsReadOnly) 2725if (!typeRef.IsReadOnly)
Aspire.Hosting.CodeGeneration.Python (1)
AtsPythonCodeGenerator.cs (1)
229AtsTypeCategory.Dict => typeRef.IsReadOnly
Aspire.Hosting.CodeGeneration.Rust (8)
AtsRustCodeGenerator.cs (8)
617else if (returnTypeRef?.Category == AtsTypeCategory.Dict && returnTypeRef.IsReadOnly == false) 623else if (returnTypeRef?.Category == AtsTypeCategory.List && returnTypeRef.IsReadOnly == false) 920AtsTypeCategory.List => typeRef.IsReadOnly 923AtsTypeCategory.Dict => typeRef.IsReadOnly 1073&& (typeRef.Category == AtsTypeCategory.Array || (typeRef.Category == AtsTypeCategory.List && typeRef.IsReadOnly)) 1079&& ((typeRef.Category == AtsTypeCategory.List && !typeRef.IsReadOnly) 1080|| (typeRef.Category == AtsTypeCategory.Dict && !typeRef.IsReadOnly)); 1118if (!typeRef.IsReadOnly)
Aspire.Hosting.CodeGeneration.TypeScript (2)
AtsTypeScriptCodeGenerator.cs (1)
1930else if (TypeScriptApiProjector.IsDictionaryType(callbackParameter.Type) && !callbackParameter.Type.IsReadOnly)
TypeScriptApiProjector.cs (1)
1698AtsTypeCategory.Dict => typeRef.IsReadOnly
Aspire.Hosting.Native.CodeGeneration (2)
src\Aspire.Hosting.RemoteHost\AtsCapabilityScanner.cs (2)
1390AtsTypeCategory.Dict => typeRef.IsReadOnly 2713IsReadOnly = typeRef.IsReadOnly,
Aspire.Hosting.RemoteHost (3)
AtsCapabilityScanner.cs (2)
1390AtsTypeCategory.Dict => typeRef.IsReadOnly 2713IsReadOnly = typeRef.IsReadOnly,
CodeGeneration\CodeGenerationService.cs (1)
154IsReadOnly = t.IsReadOnly,
Aspire.Hosting.RemoteHost.Tests (1)
AtsCapabilityScannerTests.cs (1)
343Assert.True(argumentsParameter.Type?.IsReadOnly);