20 references to VisitType
Microsoft.CodeAnalysis.CSharp (20)
Binder\Binder_Symbols.cs (1)
1136
type.
VisitType
((typePart, argTuple, isNested) =>
FlowAnalysis\NullableWalker.cs (1)
3641
return type.
VisitType
((t, unused1, unused2) => canIgnoreType(t), (object?)null) is object;
Lowering\LocalRewriter\DelegateCacheRewriter.cs (1)
208
=> type.
VisitType
(s_typeParameterSymbolCollector, result, visitCustomModifiers: true);
Symbols\Compilation_WellKnownMembers.cs (1)
1027
twa.Type.
VisitType
(visitor, (transformFlagsBuilder, addCustomModifierFlags));
Symbols\ConstraintsHelper.cs (1)
521
type.
VisitType
(s_checkConstraintsSingleTypeFunc, args);
Symbols\Source\SourceMemberContainerSymbol.cs (1)
1907
var resultType = type.
VisitType
(
Symbols\Source\SourceMemberContainerSymbol_ImplementationChecks.cs (1)
1192
return (object)typeSymbol.
VisitType
((currentTypeSymbol, unused1, unused2) => currentTypeSymbol.IsErrorType(), (object)null) != null;
Symbols\SymbolExtensions.cs (1)
234
return type.
VisitType
(s_hasInvalidTypeParameterFunc, containingSymbol) is null;
Symbols\TypeSymbolExtensions.cs (12)
1199
var result = type.
VisitType
(s_containsTypeParameterPredicate, parameter);
1210
var result = type.
VisitType
(s_isTypeParameterWithSpecificContainerPredicate, parameterContainer);
1219
var result = type.
VisitType
(s_containsTypeParametersPredicate, parameters);
1228
var result = type.
VisitType
(s_containsMethodTypeParameterPredicate, null);
1240
var result = type.
VisitType
(s_containsDynamicPredicate, null, canDigThroughNullable: true);
1248
var result = type.
VisitType
((type, unused1, unused2) => type.IsNativeIntegerWrapperType, (object?)null, canDigThroughNullable: true);
1259
var result = type.
VisitType
((type, unused1, unused2) => type.IsErrorType(), (object?)null, canDigThroughNullable: true);
1267
type.
VisitType
((TypeSymbol t, object? _1, bool _2) => t.IsTupleType, null) is object;
1273
type.
VisitType
((TypeSymbol t, object? _1, bool _2) => !t.TupleElementNames.IsDefault, null) is object;
1279
type.
VisitType
((TypeSymbol t, object? _, bool _) => t.IsFunctionPointer(), null) is object;
1282
type.
VisitType
((TypeSymbol t, object? _, bool _) => t.TypeKind is TypeKind.Pointer or TypeKind.FunctionPointer, null) is object;
1481
var foundType = type.
VisitType
(predicate: (type, _, _) => type is NamedTypeSymbol { IsFileLocal: true }, arg: (object?)null);