20 writes to IsReadOnly
Aspire.Hosting.CodeGeneration.Go.Tests (3)
AtsGoDerivedBuilderTests.cs (2)
622IsReadOnly = true 638IsReadOnly = true
GoGeneratorEscapingTests.cs (1)
123var 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)
2937IsReadOnly = false, 3947IsReadOnly = false,
Aspire.Hosting.Native.CodeGeneration (7)
src\Aspire.Hosting.RemoteHost\AtsCapabilityScanner.cs (7)
1712IsReadOnly = false 2726IsReadOnly = typeRef.IsReadOnly, 2816IsReadOnly = false 2867IsReadOnly = false 2890IsReadOnly = true 2931IsReadOnly = true 2976IsReadOnly = true
Aspire.Hosting.RemoteHost (8)
Ats\ExternalCapabilityRegistry.cs (1)
812IsReadOnly = typeRef.IsReadOnly,
AtsCapabilityScanner.cs (7)
1712IsReadOnly = false 2726IsReadOnly = typeRef.IsReadOnly, 2816IsReadOnly = false 2867IsReadOnly = false 2890IsReadOnly = true 2931IsReadOnly = true 2976IsReadOnly = true
25 references to IsReadOnly
Aspire.Hosting.CodeGeneration.Go (4)
AtsGoCodeGenerator.cs (4)
1518if (capability.ReturnType.IsReadOnly) 2537AtsTypeCategory.List or AtsTypeCategory.Dict => type.IsReadOnly, 3081AtsTypeCategory.List => typeRef.IsReadOnly 3084AtsTypeCategory.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)
1403AtsTypeCategory.Dict => typeRef.IsReadOnly 2726IsReadOnly = typeRef.IsReadOnly,
Aspire.Hosting.RemoteHost (3)
AtsCapabilityScanner.cs (2)
1403AtsTypeCategory.Dict => typeRef.IsReadOnly 2726IsReadOnly = typeRef.IsReadOnly,
CodeGeneration\CodeGenerationService.cs (1)
154IsReadOnly = t.IsReadOnly,
Aspire.Hosting.RemoteHost.Tests (1)
AtsCapabilityScannerTests.cs (1)
343Assert.True(argumentsParameter.Type?.IsReadOnly);