17 references to GetWellKnownType
Microsoft.CodeAnalysis.CSharp (17)
Binder\Binder_Symbols.cs (2)
1775NamedTypeSymbol typeSymbol = compilation.GetWellKnownType(type); 1787NamedTypeSymbol typeSymbol = this.Compilation.GetWellKnownType(type);
Binder\Semantics\Conversions\ConversionsBase.cs (1)
1711&& ReferenceEquals(namedType.OriginalDefinition, compilation.GetWellKnownType(spanType)))
Emitter\Model\PEAssemblyBuilder.cs (1)
610var result = _sourceAssembly.DeclaringCompilation.GetWellKnownType(type);
FlowAnalysis\NullableWalker.cs (1)
11003NamedTypeSymbol spanType = compilation.GetWellKnownType(wellKnownSpan);
Lowering\LocalRewriter\LocalRewriter_CollectionExpression.cs (2)
677if (TypeSymbol.Equals(spreadTypeOriginalDefinition, this._compilation.GetWellKnownType(wellKnownType), TypeCompareKind.AllIgnoreOptions)) 925if (spreadOperandAsSpan.Type!.OriginalDefinition.Equals(this._compilation.GetWellKnownType(wellKnownSpanType))
Lowering\SyntheticBoundNodeFactory.cs (1)
302NamedTypeSymbol wellKnownType = Compilation.GetWellKnownType(wt);
Symbols\Compilation_WellKnownMembers.cs (4)
226var wkType = GetWellKnownType(wellKnownType); 242return GetWellKnownType(wellknownType); 667var userDefinedAttribute = GetWellKnownType(attributeType); 1254return type.Equals(_compilation.GetWellKnownType(wellKnownId), TypeCompareKind.IgnoreNullableModifiersForReferenceTypes);
Symbols\Synthesized\ReadOnlyListType\SynthesizedReadOnlyListTypeSymbol.cs (1)
161diagnosticInfo = compilation.GetWellKnownType(type).GetUseSiteInfo().DiagnosticInfo;
Symbols\Tuples\TupleTypeSymbol.cs (4)
80NamedTypeSymbol firstTupleType = compilation.GetWellKnownType(GetTupleType(remainder)); 89chainedTupleType = compilation.GetWellKnownType(GetTupleType(ValueTupleRestPosition)); 268NamedTypeSymbol firstTupleType = compilation.GetWellKnownType(GetTupleType(remainder)); 273NamedTypeSymbol chainedTupleType = compilation.GetWellKnownType(GetTupleType(ValueTupleRestPosition));