1 implementation of IPropertySubpatternOperation
Microsoft.CodeAnalysis (1)
Generated\Operations.Generated.cs (1)
9086internal sealed partial class PropertySubpatternOperation : Operation, IPropertySubpatternOperation
22 references to IPropertySubpatternOperation
Microsoft.CodeAnalysis (9)
Generated\OperationKind.Generated.cs (1)
244/// <summary>Indicates an <see cref="IPropertySubpatternOperation"/>.</summary>
Generated\Operations.Generated.cs (6)
2990ImmutableArray<IPropertySubpatternOperation> PropertySubpatterns { get; } 8854internal RecursivePatternOperation(ITypeSymbol matchedType, ISymbol? deconstructSymbol, ImmutableArray<IPatternOperation> deconstructionSubpatterns, ImmutableArray<IPropertySubpatternOperation> propertySubpatterns, ISymbol? declaredSymbol, ITypeSymbol inputType, ITypeSymbol narrowedType, SemanticModel? semanticModel, SyntaxNode syntax, bool isImplicit) 8866public ImmutableArray<IPropertySubpatternOperation> PropertySubpatterns { get; } 10731public override IOperation VisitPropertySubpattern(IPropertySubpatternOperation operation, object? argument) 10958public virtual void VisitPropertySubpattern(IPropertySubpatternOperation operation) => DefaultVisit(operation); 11094public virtual TResult? VisitPropertySubpattern(IPropertySubpatternOperation operation, TArgument argument) => DefaultVisit(operation, argument);
Operations\ControlFlowGraphBuilder.cs (2)
7408operation.PropertySubpatterns.SelectAsArray((p, @this) => (IPropertySubpatternOperation)@this.VisitRequired(p), this), 7417public override IOperation VisitPropertySubpattern(IPropertySubpatternOperation operation, int? argument)
Microsoft.CodeAnalysis.CodeStyle (1)
OperationExtensions.cs (1)
106case IPropertySubpatternOperation _:
Microsoft.CodeAnalysis.CSharp (6)
Operations\CSharpOperationFactory.cs (6)
2442ImmutableArray<IPropertySubpatternOperation> propertySubpatterns = boundRecursivePattern.Properties is { IsDefault: false } properties 2444: ImmutableArray<IPropertySubpatternOperation>.Empty; 2468propertySubpatterns: ImmutableArray<IPropertySubpatternOperation>.Empty, 2707internal IPropertySubpatternOperation CreatePropertySubpattern(BoundPropertySubpattern subpattern, ITypeSymbol matchedType) 2726IPropertySubpatternOperation? result = createPropertySubpattern(member.Symbol, pattern, inputType, nameSyntax, isSingle: member.Receiver is null); 2747IPropertySubpatternOperation createPropertySubpattern(Symbol? symbol, IPatternOperation pattern, ITypeSymbol receiverType, SyntaxNode nameSyntax, bool isSingle)
Microsoft.CodeAnalysis.Test.Utilities (5)
Compilation\OperationTreeVerifier.cs (2)
2005public override void VisitPropertySubpattern(IPropertySubpatternOperation operation) 2007LogString(nameof(IPropertySubpatternOperation));
Compilation\TestOperationVisitor.cs (3)
1492foreach (var subpat in operation.PropertySubpatterns) 1494Assert.True(subpat is IPropertySubpatternOperation); 1503public override void VisitPropertySubpattern(IPropertySubpatternOperation operation)
Microsoft.CodeAnalysis.Workspaces (1)
OperationExtensions.cs (1)
106case IPropertySubpatternOperation _: