15 references to Type
Microsoft.CodeAnalysis.CSharp (15)
Binder\Binder_Conversions.cs (2)
922
if (sourceTuple.
Type
is NamedTypeSymbol { IsTupleType: true } sourceType)
969
if (!TypeSymbol.Equals(sourceTuple.
Type
, destination, TypeCompareKind.ConsiderEverything2))
Binder\Binder_Expressions.cs (2)
341
sourceTuple.
Type
, // same type to keep original element names
2588
if ((object)tuple.
Type
== null)
Binder\Binder_Statements.cs (1)
2310
if ((object)tuple.
Type
== null)
Binder\Binder_TupleOperators.cs (1)
65
tuple.Syntax, tuple, wasTargetTyped: false, builder.ToImmutableAndFree(), tuple.ArgumentNamesOpt, tuple.InferredNamesOpt, tuple.
Type
, tuple.HasErrors);
Binder\Semantics\OverloadResolution\MethodTypeInference.cs (1)
814
Debug.Assert((object)argument.
Type
== null, "should not need to dig into elements if tuple has natural type");
Compilation\CSharpSemanticModel.cs (2)
2098
type = original.
Type
;
2130
type = convertedTuple.SourceTuple.
Type
;
Generated\BoundNodes.xml.Generated.cs (4)
6312
if (arguments != this.Arguments || argumentNamesOpt != this.ArgumentNamesOpt || inferredNamesOpt != this.InferredNamesOpt || !TypeSymbol.Equals(type, this.
Type
, TypeCompareKind.ConsiderEverything))
11379
TypeSymbol? type = this.VisitType(node.
Type
);
13568
updatedNode = node.Update(arguments, node.ArgumentNamesOpt, node.InferredNamesOpt, node.
Type
);
15904
new TreeDumperNode("type", node.
Type
, null),
Operations\CSharpOperationFactory.cs (2)
2133
BoundTupleLiteral {
Type
: var t } => t,
2134
BoundConvertedTupleLiteral { SourceTuple: {
Type
: var t } } => t,