15 references to new
ILLink.RoslynAnalyzer (15)
TrimAnalysis\FieldValue.cs (1)
27StaticType = new(fieldType);
TrimAnalysis\HandleCallAction.cs (4)
183AddReturnValue(new SystemTypeValue(new(staticType))); 252yield return new SystemTypeValue(new TypeProxy(nestedType)); 273baseType = new TypeProxy(type.Type.BaseType); 306resolvedType = new TypeProxy(foundType);
TrimAnalysis\MethodReturnValue.cs (1)
27StaticType = new(isNewObj ? methodSymbol.ContainingType : methodSymbol.ReturnType);
TrimAnalysis\ParameterProxy.cs (1)
71public TypeProxy ParameterType => new TypeProxy(ParameterSymbol?.Type ?? Method.Method.ContainingType);
TrimAnalysis\RequireDynamicallyAccessedMembersAction.cs (1)
59type = new TypeProxy(foundType);
TrimAnalysis\SingleValueExtensions.cs (7)
22new NullableValueWithDynamicallyAccessedMembers(new TypeProxy(type), 25TypeKind.Error => new SystemTypeValue(new TypeProxy(type)), 27new NullableSystemTypeValue(new TypeProxy(type), new SystemTypeValue(new TypeProxy(underlyingType))), 34SymbolKind.NamedType => new SystemTypeValue(new TypeProxy(type)), 36SymbolKind.ArrayType => new SystemTypeValue(new TypeProxy(type.BaseType!)), 37SymbolKind.FunctionPointerType => new SystemTypeValue(new TypeProxy(type)),