1 write to Type
Microsoft.CodeAnalysis.CSharp (1)
Generated\BoundNodes.xml.Generated.cs (1)
8589
this.
Type
= type;
17 references to Type
Microsoft.CodeAnalysis.CSharp (17)
Binder\Binder_Patterns.cs (3)
1911
memberType = member.
Type
;
1916
TypeSymbol receiverType = member.Receiver?.
Type
?? inputType;
1946
symbol = BindPropertyPatternMember(receiver.
Type
.StrippedType(), name, ref hasErrors, diagnostics);
Binder\DecisionDagBuilder.cs (4)
350
public TypeSymbol GetInputType() => UnionValue?.
Type
?? DagTemp.Type;
786
if (unionValue.
Type
.Equals(type, TypeCompareKind.AllIgnoreOptions) &&
882
if (constantValue.IsString && (inputInfo.UnionValue?.
Type
?? inputInfo.DagTemp.Type).IsSpanOrReadOnlySpanChar())
1042
input = (BoundDagTemp)MakeConvertToType((TestInputOutputInfo)input, member.Syntax, member.Receiver.
Type
.StrippedType(), isExplicitTest: false, tests);
Binder\RefSafetyAnalysis.cs (1)
720
return member.
Type
.IsRefLikeOrAllowsRefLikeType() ? valEscape : SafeContext.CallingMethod;
Compilation\CSharpSemanticModel.cs (2)
2045
return new CSharpTypeInfo(member.
Type
, member.
Type
, nullability: default, convertedNullability: default, Conversion.Identity);
FlowAnalysis\AbstractFlowPass.cs (1)
957
{
Type
.SpecialType: SpecialType.System_Object, Symbol: var possibleUnionValueSymbol } and
FlowAnalysis\NullableWalker_Patterns.cs (1)
214
LearnFromAnyNullPatterns(getExtendedPropertySlot(member, inputSlot), member.
Type
, subpattern.Pattern);
Generated\BoundNodes.xml.Generated.cs (4)
8601
if (receiver != this.Receiver || !Symbols.SymbolEqualityComparer.ConsiderEverything.Equals(symbol, this.Symbol) || !TypeSymbol.Equals(type, this.
Type
, TypeCompareKind.ConsiderEverything))
12609
TypeSymbol? type = this.VisitType(node.
Type
);
15300
return node.Update(receiver, symbol, node.
Type
);
17562
new TreeDumperNode("type", node.
Type
, null),
Operations\CSharpOperationFactory.cs (1)
2994
=> member.Receiver?.
Type
.StrippedType().GetPublicSymbol() ?? matchedType;