10 references to IsTypeOf
ILLink.RoslynAnalyzer (10)
COMAnalyzer.cs (2)
105
typeSymbol.
IsTypeOf
("System.Text", "StringBuilder"))
121
else if (typeSymbol.
IsTypeOf
("System", "MulticastDelegate"))
ISymbolExtensions.cs (1)
203
if (typeSymbol.
IsTypeOf
(ns, type))
TrimAnalysis\HandleCallAction.cs (3)
151
if (constraintType.
IsTypeOf
("System", "Enum"))
166
else if (staticType.IsSealed || staticType.
IsTypeOf
("System", "Delegate") || staticType.TypeKind == TypeKind.Array)
185
else if (staticType.
IsTypeOf
("System", "Enum"))
TrimAnalysis\TrimAnalysisVisitor.cs (3)
172
case "EmptyTypes" when field.ContainingType.
IsTypeOf
("System", "Type"):
174
case "ArrayField" when field.ContainingType.
IsTypeOf
("Mono.Linker.Tests.Cases.DataFlow", "WriteArrayField"):
179
case "Empty" when field.ContainingType.
IsTypeOf
("System", "String"):
TrimAnalysis\TypeProxy.cs (1)
35
public bool IsTypeOf(string @namespace, string name) => Type.
IsTypeOf
(@namespace, name);