11 references to SetItem
Aspire.Hosting (1)
src\Shared\CustomResourceSnapshotExtensions.cs (1)
26return properties.SetItem(i, property with { Value = value });
Aspire.Hosting.Azure (1)
src\Shared\CustomResourceSnapshotExtensions.cs (1)
26return properties.SetItem(i, property with { Value = value });
Microsoft.CodeAnalysis.CSharp (6)
Binder\Binder_Query.cs (3)
470arguments = arguments.SetItem(arguments.Length - 1, MakeQueryClause(join.Into, arguments[arguments.Length - 1], g)); 539arguments = arguments.SetItem(arguments.Length - 1, MakeQueryClause(join.Into, arguments[arguments.Length - 1], g)); 633arguments.SetItem(arguments.Length - 2, MakeQueryClause(from, arguments[arguments.Length - 2], x2, invocation, castInvocation)));
Compilation\SyntaxAndDeclarationManager.cs (1)
580newTrees = syntaxTrees.SetItem(oldOrdinal, newTree);
Lowering\LocalRewriter\LocalRewriter_Call.cs (1)
1028return rewrittenArguments.SetItem(rewrittenArguments.Length - 1, optimized);
Symbols\AnonymousTypes\AnonymousTypeManager.Templates.cs (1)
239genericFieldTypes = genericFieldTypes.SetItem(index, replacement);
Microsoft.Interop.ComInterfaceGenerator (1)
ComInterfaceGenerator.cs (1)
318returnSwappedSignatureElements = returnSwappedSignatureElements.SetItem(i, managedSignatureAsNativeOut);
System.Collections.Immutable (2)
System\Collections\Immutable\ImmutableArray_1.cs (2)
598return self.SetItem(index, newValue); 1175return self.SetItem(index, value);