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