3 instantiations of DeconstructionInfo
Microsoft.CodeAnalysis.CSharp (3)
Compilation\DeconstructionInfo.cs (1)
73: deconstructConversionInfo.SelectAsArray(c => new DeconstructionInfo(BoundNode.GetConversion(c.conversion, c.placeholder)));
Compilation\MemberSemanticModel.cs (2)
1012return new DeconstructionInfo(boundConversion.Conversion); 1030return new DeconstructionInfo(boundDeconstruction.DeconstructionAssignment.Right.Conversion);
29 references to DeconstructionInfo
Microsoft.CodeAnalysis.CSharp (13)
Compilation\CSharpSemanticModel.cs (2)
4830public abstract DeconstructionInfo GetDeconstructionInfo(AssignmentExpressionSyntax node); 4836public abstract DeconstructionInfo GetDeconstructionInfo(ForEachVariableStatementSyntax node);
Compilation\DeconstructionInfo.cs (3)
60public ImmutableArray<DeconstructionInfo> Nested 66return ImmutableArray<DeconstructionInfo>.Empty; 72? ImmutableArray<DeconstructionInfo>.Empty
Compilation\MemberSemanticModel.cs (2)
997public override DeconstructionInfo GetDeconstructionInfo(AssignmentExpressionSyntax node) 1015public override DeconstructionInfo GetDeconstructionInfo(ForEachVariableStatementSyntax node)
Compilation\SpeculativeSemanticModelWithMemberModel.cs (2)
410public override DeconstructionInfo GetDeconstructionInfo(AssignmentExpressionSyntax node) 415public override DeconstructionInfo GetDeconstructionInfo(ForEachVariableStatementSyntax node)
Compilation\SyntaxTreeSemanticModel.cs (2)
2372public override DeconstructionInfo GetDeconstructionInfo(AssignmentExpressionSyntax node) 2378public override DeconstructionInfo GetDeconstructionInfo(ForEachVariableStatementSyntax node)
CSharpExtensions.cs (2)
917public static DeconstructionInfo GetDeconstructionInfo(this SemanticModel? semanticModel, AssignmentExpressionSyntax assignment) 922public static DeconstructionInfo GetDeconstructionInfo(this SemanticModel? semanticModel, ForEachVariableStatementSyntax @foreach)
Microsoft.CodeAnalysis.CSharp.CodeStyle (3)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Services\SemanticFacts\CSharpSemanticFacts.cs (2)
221private static void FlattenDeconstructionMethods(DeconstructionInfo deconstruction, ref TemporaryArray<IMethodSymbol> builder) 226foreach (var nested in deconstruction.Nested)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Utilities\TypeStyle\CSharpTypeStyleHelper.cs (1)
121DeconstructionInfo? deconstructionInfoOpt = null;
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (1)
src\Analyzers\CSharp\CodeFixes\GenerateMethod\GenerateDeconstructMethodCodeFixProvider.cs (1)
66DeconstructionInfo info;
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (7)
CodeGen\CodeGenDeconstructTests.cs (7)
257var deconstructionInfo = model.GetDeconstructionInfo(deconstruction); 280var defaultInfo = model.GetDeconstructionInfo(assignment); 313var deconstructionInfo = model.GetDeconstructionInfo(foreachDeconstruction); 1112var deconstructionInfo = model.GetDeconstructionInfo(deconstruction); 2289var deconstructionInfo = model.GetDeconstructionInfo(deconstruction); 4043var deconstructionInfo = model.GetDeconstructionInfo(deconstructionForeach); 9012var info = model.GetDeconstructionInfo(node);
Microsoft.CodeAnalysis.CSharp.Features (1)
src\Analyzers\CSharp\CodeFixes\GenerateMethod\GenerateDeconstructMethodCodeFixProvider.cs (1)
66DeconstructionInfo info;
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (1)
Semantics\DeconstructionTests.cs (1)
6555var deconstructionInfo = model.GetDeconstructionInfo(assignment);
Microsoft.CodeAnalysis.CSharp.Workspaces (3)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Services\SemanticFacts\CSharpSemanticFacts.cs (2)
221private static void FlattenDeconstructionMethods(DeconstructionInfo deconstruction, ref TemporaryArray<IMethodSymbol> builder) 226foreach (var nested in deconstruction.Nested)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Utilities\TypeStyle\CSharpTypeStyleHelper.cs (1)
121DeconstructionInfo? deconstructionInfoOpt = null;