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)
147
if (constraintType.
IsTypeOf
("System", "Enum"))
162
else if (staticType.IsSealed || staticType.
IsTypeOf
("System", "Delegate") || staticType.TypeKind == TypeKind.Array)
181
else if (staticType.
IsTypeOf
("System", "Enum"))
TrimAnalysis\TrimAnalysisVisitor.cs (3)
165
case "EmptyTypes" when field.ContainingType.
IsTypeOf
("System", "Type"):
167
case "ArrayField" when field.ContainingType.
IsTypeOf
("Mono.Linker.Tests.Cases.DataFlow", "WriteArrayField"):
172
case "Empty" when field.ContainingType.
IsTypeOf
("System", "String"):
TrimAnalysis\TypeProxy.cs (1)
35
public bool IsTypeOf(string @namespace, string name) => Type.
IsTypeOf
(@namespace, name);