1 implementation of NarrowedType
Microsoft.CodeAnalysis (1)
Generated\Operations.Generated.cs (1)
8555public ITypeSymbol NarrowedType { get; }
16 references to NarrowedType
Microsoft.CodeAnalysis (10)
Operations\ControlFlowGraphBuilder.cs (10)
7416return new DiscardPatternOperation(pat.InputType, pat.NarrowedType, semanticModel: null, pat.Syntax, IsImplicit(pat)); 7592return new ConstantPatternOperation(VisitRequired(operation.Value), operation.InputType, operation.NarrowedType, semanticModel: null, 7602narrowedType: operation.NarrowedType, 7642narrowedType: operation.NarrowedType, 7654narrowedType: operation.NarrowedType, 7665narrowedType: operation.NarrowedType, 7678operation.NarrowedType, 7690operation.NarrowedType, 7704operation.NarrowedType, 7719operation.NarrowedType,
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (2)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\LanguageServices\CSharpTypeInferenceService.TypeInferrer.cs (2)
1619CreateResult(patternOperation.NarrowedType.IsErrorType() 1621: patternOperation.NarrowedType),
Microsoft.CodeAnalysis.CSharp.Workspaces (2)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\LanguageServices\CSharpTypeInferenceService.TypeInferrer.cs (2)
1619CreateResult(patternOperation.NarrowedType.IsErrorType() 1621: patternOperation.NarrowedType),
Roslyn.Diagnostics.CSharp.Analyzers (2)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\LanguageServices\CSharpTypeInferenceService.TypeInferrer.cs (2)
1619CreateResult(patternOperation.NarrowedType.IsErrorType() 1621: patternOperation.NarrowedType),