24 references to IsBoxing
Microsoft.CodeAnalysis.CSharp (2)
Lowering\LocalRewriter\LocalRewriter.PatternLocalRewriter.cs (1)
485(conv.IsIdentity || conv.Kind == ConversionKind.ImplicitReference || conv.IsBoxing) &&
Symbols\Source\ParameterHelpers.cs (1)
795conversion.IsBoxing)
Microsoft.CodeAnalysis.CSharp.CodeStyle (8)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Simplification\Simplifiers\CastSimplifier.cs (4)
367if (rewrittenConversion.IsBoxing) 522if (originalConversion.IsBoxing && rewrittenConversion.IsBoxing && 1034if (parentConversion.Exists && parentConversion.IsBoxing)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Utilities\SpeculationAnalyzer.cs (4)
413if (originalConversion.IsBoxing != newConversion.IsBoxing) 550if (originalConvertedTypeConversion.IsBoxing && newExpressionConvertedTypeConversion.IsBoxing)
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (4)
Semantics\DynamicTests.cs (4)
10586Assert.True(model.GetDeconstructionInfo(assignment) is { Method: not null, Conversion: null, Nested: [{ Method: null, Conversion: { IsBoxing: true }, Nested: [] }, _] }); 10734Assert.True(model.GetDeconstructionInfo(assignment) is { Method: not null, Conversion: null, Nested: [{ Method: null, Conversion: { IsBoxing: true }, Nested: [] }, _] }); 11004Assert.True(model.GetDeconstructionInfo(assignment) is { Method: not null, Conversion: null, Nested: [{ Method: null, Conversion: { IsBoxing: true }, Nested: [] }, _] }); 11211Assert.True(model.GetDeconstructionInfo(assignment) is { Method: null, Conversion: null, Nested: [{ Method: not null, Conversion: null, Nested: [{ Method: null, Conversion: { IsBoxing: true }, Nested: [] }, _] }, _] });
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (2)
Compilation\GetSemanticInfoTests.cs (1)
715Assert.True(conv.IsBoxing);
Compilation\SemanticModelGetSemanticInfoTests.cs (1)
7731Assert.True(semanticInfo.ImplicitConversion.IsBoxing);
Microsoft.CodeAnalysis.CSharp.Workspaces (8)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Simplification\Simplifiers\CastSimplifier.cs (4)
367if (rewrittenConversion.IsBoxing) 522if (originalConversion.IsBoxing && rewrittenConversion.IsBoxing && 1034if (parentConversion.Exists && parentConversion.IsBoxing)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Utilities\SpeculationAnalyzer.cs (4)
413if (originalConversion.IsBoxing != newConversion.IsBoxing) 550if (originalConvertedTypeConversion.IsBoxing && newExpressionConvertedTypeConversion.IsBoxing)