20 references to VisitType
Microsoft.CodeAnalysis.CSharp (20)
Binder\Binder_Symbols.cs (1)
1144
type.
VisitType
((typePart, argTuple, isNested) =>
FlowAnalysis\NullableWalker.cs (1)
3722
return type.
VisitType
((t, unused1, unused2) => canIgnoreType(t), (object?)null) is object;
Lowering\LocalRewriter\DelegateCacheRewriter.cs (1)
223
=> 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)
1934
var resultType = type.
VisitType
(
Symbols\Source\SourceMemberContainerSymbol_ImplementationChecks.cs (1)
1193
return (object)typeSymbol.
VisitType
((currentTypeSymbol, unused1, unused2) => currentTypeSymbol.IsErrorType(), (object)null) != null;
Symbols\SymbolExtensions.cs (1)
221
return type.
VisitType
(s_hasInvalidTypeParameterFunc, containingSymbol) is null;
Symbols\TypeSymbolExtensions.cs (12)
1200
var result = type.
VisitType
(s_containsTypeParameterPredicate, parameter);
1211
var result = type.
VisitType
(s_isTypeParameterWithSpecificContainerPredicate, parameterContainer);
1220
var result = type.
VisitType
(s_containsTypeParametersPredicate, parameters);
1229
var result = type.
VisitType
(s_containsMethodTypeParameterPredicate, null);
1241
var result = type.
VisitType
(s_containsDynamicPredicate, null, canDigThroughNullable: true);
1249
var result = type.
VisitType
((type, unused1, unused2) => type.IsNativeIntegerWrapperType, (object?)null, canDigThroughNullable: true);
1260
var result = type.
VisitType
((type, unused1, unused2) => type.IsErrorType(), (object?)null, canDigThroughNullable: true);
1268
type.
VisitType
((TypeSymbol t, object? _1, bool _2) => t.IsTupleType, null) is object;
1274
type.
VisitType
((TypeSymbol t, object? _1, bool _2) => !t.TupleElementNames.IsDefault, null) is object;
1280
type.
VisitType
((TypeSymbol t, object? _, bool _) => t.IsFunctionPointer(), null) is object;
1283
type.
VisitType
((TypeSymbol t, object? _, bool _) => t.TypeKind is TypeKind.Pointer or TypeKind.FunctionPointer, null) is object;
1482
var foundType = type.
VisitType
(predicate: (type, _, _) => type is NamedTypeSymbol { IsFileLocal: true }, arg: (object?)null);