17 references to StrongBox
Microsoft.CodeAnalysis.CSharp (1)
CodeGen\EmitStatement.cs (1)
453var fallThrough = new StrongBox<object?>();
Microsoft.CodeAnalysis.CSharp.Scripting.UnitTests (3)
InteractiveSessionTests.cs (3)
2028var globals = new StrongBox<CancellationTokenSource>(); 2062var globals = new StrongBox<CancellationTokenSource>(); 2096var globals = new StrongBox<CancellationTokenSource>();
Microsoft.CodeAnalysis.Scripting (1)
Script.cs (1)
582var exceptionOpt = (catchExceptionOpt != null) ? new StrongBox<Exception>() : null;
Microsoft.CodeAnalysis.Workspaces.Test.Utilities (1)
TestExportJoinableTaskContext+DenyExecutionSynchronizationContext.cs (1)
60_failedTransfer = failedTransfer ?? new StrongBox<ExceptionDispatchInfo>();
Microsoft.CodeAnalysis.Workspaces.UnitTests (1)
SolutionTests\SolutionTests.cs (1)
98=> OnceEnumerableImpl(new StrongBox<int>(), items);
Microsoft.VisualStudio.LanguageServices.CSharp (4)
EditorConfigSettings\DataProvider\Whitespace\CSharpWhitespaceSettingsProvider.cs (2)
51var spaceBetweenParenthesesValue = new StrongBox<SpacePlacementWithinParentheses>(); 77var newLineBeforeOpenBraceValue = new StrongBox<NewLineBeforeOpenBracePlacement>();
Options\Formatting\NewLinesViewModel.cs (1)
209var newLineBeforeOpenBraceValue = new StrongBox<NewLineBeforeOpenBracePlacement>();
Options\Formatting\SpacingViewModel.cs (1)
126var spaceBetweenParenthesesStorage = new StrongBox<SpacePlacementWithinParentheses>();
System.Linq.Expressions (2)
System\Linq\Expressions\Compiler\LambdaCompiler.cs (1)
291return Utils.GetStrongBoxValueField(Expression.Constant(new StrongBox<T>()));
System\Linq\Expressions\Interpreter\LocalAccess.cs (1)
322frame.Data[_index] = new StrongBox<object>();
System.Private.CoreLib (1)
src\libraries\System.Private.CoreLib\src\System\Threading\SemaphoreSlim.cs (1)
163m_lockObjAndDisposed = new StrongBox<bool>();
System.Text.Encodings.Web (1)
System\Text\Encodings\Web\TextEncoderSettings.cs (1)
227StrongBox<AllowedBmpCodePointsBitmap> newBitmap = new StrongBox<AllowedBmpCodePointsBitmap>();
System.Threading.Tasks.Dataflow (1)
Base\DataflowBlock.cs (1)
1918var boxedCompleted = new StrongBox<Task>();
System.Windows.Forms.UI.IntegrationTests (1)
Infra\DenyExecutionSynchronizationContext.cs (1)
24_failedTransfer = failedTransfer ?? new StrongBox<ExceptionDispatchInfo>();