1 implementation of NarrowedType
Microsoft.CodeAnalysis (1)
Generated\Operations.Generated.cs (1)
8553public ITypeSymbol NarrowedType { get; }
19 references to NarrowedType
Microsoft.CodeAnalysis (10)
Operations\ControlFlowGraphBuilder.cs (10)
7407return new DiscardPatternOperation(pat.InputType, pat.NarrowedType, semanticModel: null, pat.Syntax, IsImplicit(pat)); 7583return new ConstantPatternOperation(VisitRequired(operation.Value), operation.InputType, operation.NarrowedType, semanticModel: null, 7593narrowedType: operation.NarrowedType, 7633narrowedType: operation.NarrowedType, 7645narrowedType: operation.NarrowedType, 7656narrowedType: operation.NarrowedType, 7669operation.NarrowedType, 7681operation.NarrowedType, 7695operation.NarrowedType, 7710operation.NarrowedType,
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (2)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\LanguageServices\CSharpTypeInferenceService.TypeInferrer.cs (2)
1619CreateResult(patternOperation.NarrowedType.IsErrorType() 1621: patternOperation.NarrowedType),
Microsoft.CodeAnalysis.CSharp.Workspaces (2)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\LanguageServices\CSharpTypeInferenceService.TypeInferrer.cs (2)
1619CreateResult(patternOperation.NarrowedType.IsErrorType() 1621: patternOperation.NarrowedType),
Microsoft.CodeAnalysis.Test.Utilities (3)
Compilation\OperationTreeVerifier.cs (2)
89LogType(operation.NarrowedType, $"{nameof(operation.NarrowedType)}");
Compilation\TestOperationVisitor.cs (1)
1367Assert.NotNull(pattern.NarrowedType);
Roslyn.Diagnostics.CSharp.Analyzers (2)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\LanguageServices\CSharpTypeInferenceService.TypeInferrer.cs (2)
1619CreateResult(patternOperation.NarrowedType.IsErrorType() 1621: patternOperation.NarrowedType),