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