1 implementation of IPropertySubpatternOperation
Microsoft.CodeAnalysis (1)
Generated\Operations.Generated.cs (1)
9459internal sealed partial class PropertySubpatternOperation : Operation, IPropertySubpatternOperation
23 references to IPropertySubpatternOperation
ILLink.RoslynAnalyzer (1)
IOperationExtensions.cs (1)
91 case IPropertySubpatternOperation:
Microsoft.CodeAnalysis (9)
Generated\OperationKind.Generated.cs (1)
244/// <summary>Indicates an <see cref="IPropertySubpatternOperation"/>.</summary>
Generated\Operations.Generated.cs (6)
3235ImmutableArray<IPropertySubpatternOperation> PropertySubpatterns { get; } 9227internal RecursivePatternOperation(ITypeSymbol matchedType, ISymbol? deconstructSymbol, ImmutableArray<IPatternOperation> deconstructionSubpatterns, ImmutableArray<IPropertySubpatternOperation> propertySubpatterns, ISymbol? declaredSymbol, ITypeSymbol inputType, ITypeSymbol narrowedType, SemanticModel? semanticModel, SyntaxNode syntax, bool isImplicit) 9239public ImmutableArray<IPropertySubpatternOperation> PropertySubpatterns { get; } 11281public override IOperation VisitPropertySubpattern(IPropertySubpatternOperation operation, object? argument) 11523public virtual void VisitPropertySubpattern(IPropertySubpatternOperation operation) => DefaultVisit(operation); 11662public virtual TResult? VisitPropertySubpattern(IPropertySubpatternOperation operation, TArgument argument) => DefaultVisit(operation, argument);
Operations\ControlFlowGraphBuilder.cs (2)
7674operation.PropertySubpatterns.SelectAsArray((p, @this) => (IPropertySubpatternOperation)@this.VisitRequired(p), this), 7683public override IOperation VisitPropertySubpattern(IPropertySubpatternOperation operation, int? argument)
Microsoft.CodeAnalysis.CodeStyle (1)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\OperationExtensions.cs (1)
108case IPropertySubpatternOperation:
Microsoft.CodeAnalysis.CSharp (6)
Operations\CSharpOperationFactory.cs (6)
2559ImmutableArray<IPropertySubpatternOperation> propertySubpatterns = boundRecursivePattern.Properties is { IsDefault: false } properties 2561: ImmutableArray<IPropertySubpatternOperation>.Empty; 2585propertySubpatterns: ImmutableArray<IPropertySubpatternOperation>.Empty, 2852internal IPropertySubpatternOperation CreatePropertySubpattern(BoundPropertySubpattern subpattern, ITypeSymbol matchedType) 2871IPropertySubpatternOperation? result = createPropertySubpattern(member.Symbol, pattern, inputType, nameSyntax, isSingle: member.Receiver is null); 2892IPropertySubpatternOperation createPropertySubpattern(Symbol? symbol, IPatternOperation pattern, ITypeSymbol receiverType, SyntaxNode nameSyntax, bool isSingle)
Microsoft.CodeAnalysis.Test.Utilities (5)
Compilation\OperationTreeVerifier.cs (2)
2043public override void VisitPropertySubpattern(IPropertySubpatternOperation operation) 2045LogString(nameof(IPropertySubpatternOperation));
Compilation\TestOperationVisitor.cs (3)
1510foreach (var subpat in operation.PropertySubpatterns) 1512Assert.True(subpat is IPropertySubpatternOperation); 1521public override void VisitPropertySubpattern(IPropertySubpatternOperation operation)
Microsoft.CodeAnalysis.Workspaces (1)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\OperationExtensions.cs (1)
108case IPropertySubpatternOperation: