1 implementation of NarrowedType
Microsoft.CodeAnalysis (1)
Generated\Operations.Generated.cs (1)
8515public ITypeSymbol NarrowedType { get; }
17 references to NarrowedType
Microsoft.CodeAnalysis (10)
Operations\ControlFlowGraphBuilder.cs (10)
7380return new DiscardPatternOperation(pat.InputType, pat.NarrowedType, semanticModel: null, pat.Syntax, IsImplicit(pat)); 7550return new ConstantPatternOperation(VisitRequired(operation.Value), operation.InputType, operation.NarrowedType, semanticModel: null, 7560narrowedType: operation.NarrowedType, 7600narrowedType: operation.NarrowedType, 7612narrowedType: operation.NarrowedType, 7623narrowedType: operation.NarrowedType, 7636operation.NarrowedType, 7648operation.NarrowedType, 7662operation.NarrowedType, 7677operation.NarrowedType,
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (2)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\LanguageServices\CSharpTypeInferenceService.TypeInferrer.cs (2)
1541CreateResult(patternOperation.NarrowedType.IsErrorType() 1543: patternOperation.NarrowedType),
Microsoft.CodeAnalysis.CSharp.Workspaces (2)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\LanguageServices\CSharpTypeInferenceService.TypeInferrer.cs (2)
1541CreateResult(patternOperation.NarrowedType.IsErrorType() 1543: patternOperation.NarrowedType),
Microsoft.CodeAnalysis.Test.Utilities (3)
Compilation\OperationTreeVerifier.cs (2)
89LogType(operation.NarrowedType, $"{nameof(operation.NarrowedType)}");
Compilation\TestOperationVisitor.cs (1)
1360Assert.NotNull(pattern.NarrowedType);