10 references to IsTypeOf
ILLink.RoslynAnalyzer (10)
COMAnalyzer.cs (2)
97
typeSymbol.
IsTypeOf
("System.Text", "StringBuilder")) {
108
} else if (typeSymbol.
IsTypeOf
("System", "MulticastDelegate")) {
ISymbolExtensions.cs (1)
192
if (typeSymbol.
IsTypeOf
(ns, type))
TrimAnalysis\HandleCallAction.cs (3)
95
if (constraintType.
IsTypeOf
("System", "Enum"))
106
} else if (staticType.IsSealed || staticType.
IsTypeOf
("System", "Delegate") || staticType.TypeKind == TypeKind.Array) {
123
} else if (staticType.
IsTypeOf
("System", "Enum")) {
TrimAnalysis\TrimAnalysisVisitor.cs (3)
159
case "EmptyTypes" when field.ContainingType.
IsTypeOf
("System", "Type"):
161
case "ArrayField" when field.ContainingType.
IsTypeOf
("Mono.Linker.Tests.Cases.DataFlow", "WriteArrayField"):
166
case "Empty" when field.ContainingType.
IsTypeOf
("System", "String"): {
TrimAnalysis\TypeProxy.cs (1)
34
public bool IsTypeOf (string @namespace, string name) => Type.
IsTypeOf
(@namespace, name);