15 references to GetWellKnownType
Microsoft.CodeAnalysis.CSharp (15)
Binder\Binder_Await.cs (1)
412var INotifyCompletion = GetWellKnownType(WellKnownType.System_Runtime_CompilerServices_INotifyCompletion, diagnostics, node);
Binder\Binder_Constraints.cs (1)
268GetWellKnownType(WellKnownType.System_Runtime_InteropServices_UnmanagedType, diagnostics, typeSyntax);
Binder\Binder_Expressions.cs (7)
1233TypeSymbol typeType = this.GetWellKnownType(WellKnownType.System_Type, diagnostics, node); 1357return new BoundTypeOfOperator(node, boundType, null, this.GetWellKnownType(WellKnownType.System_Type, diagnostics, node), hasError); 2353TypeSymbol indexType = GetWellKnownType(WellKnownType.System_Index, diagnostics, node); 2389TypeSymbol rangeType = GetWellKnownType(WellKnownType.System_Range, diagnostics, node); 2460TypeSymbol indexType = GetWellKnownType(WellKnownType.System_Index, diagnostics, operand); 3898var spanType = GetWellKnownType(WellKnownType.System_Span_T, diagnostics, node); 6286var type = GetWellKnownType(WellKnownType.System_ReadOnlySpan_T, diagnostics, node).Construct(GetSpecialType(SpecialType.System_Byte, diagnostics, node));
Binder\Binder_Patterns.cs (2)
224var systemRangeType = GetWellKnownType(WellKnownType.System_Range, diagnostics, node); 383var systemIndexType = GetWellKnownType(WellKnownType.System_Index, diagnostics, node);
Binder\Binder_Statements.cs (1)
425boundExpr = GenerateConversionForAssignment(GetWellKnownType(WellKnownType.System_Exception, diagnostics, exprSyntax), boundExpr, diagnostics);
Binder\ForEachLoopBinder.cs (1)
594? this.GetWellKnownType(WellKnownType.System_Threading_Tasks_ValueTask, diagnostics, this._syntax)
Symbols\Source\ParameterHelpers.cs (1)
971var modifierType = binder.GetWellKnownType(modifier, diagnostics, syntax);
Symbols\Source\SourceDelegateMethodSymbol.cs (1)
293var modifierType = binder.GetWellKnownType(WellKnownType.System_Runtime_InteropServices_InAttribute, diagnostics, syntax.ReturnType);