13 references to new
ILLink.RoslynAnalyzer (13)
TrimAnalysis\FieldValue.cs (1)
27StaticType = new(fieldType);
TrimAnalysis\HandleCallAction.cs (3)
178AddReturnValue(new SystemTypeValue(new(staticType))); 247yield return new SystemTypeValue(new TypeProxy(nestedType)); 268baseType = new TypeProxy(type.Type.BaseType);
TrimAnalysis\MethodReturnValue.cs (1)
27StaticType = new(isNewObj ? methodSymbol.ContainingType : methodSymbol.ReturnType);
TrimAnalysis\ParameterProxy.cs (2)
49? new TypeProxy(Method.Method.ContainingType) 50: new TypeProxy(Method.Method.Parameters[MetadataIndex].Type);
TrimAnalysis\SingleValueExtensions.cs (6)
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!)),