public void IsUnchanged() => AssertFile.Contains( "api-netcoreapp2_1.txt", ApiGenerator .GeneratePublicApi( typeof(Targets).Assembly, typeof(Targets).Assembly.GetExportedTypes().Where(type => !type.Namespace.Contains("Internal")).ToArray()) .Replace(Environment.NewLine, "\r\n"));
public void IsUnchanged() => AssertFile.Contains( #if NETCOREAPP3_1 "../../../api-netcoreapp3_1.txt", #endif #if NET472 "../../../api-net472.txt", #endif typeof(ScenarioAttribute).Assembly.GeneratePublicApi());
public void IsUnchanged() => AssertFile.Contains( "api.txt", typeof(Targets).Assembly .GeneratePublicApi( new ApiGeneratorOptions { IncludeTypes = typeof(Targets).Assembly.GetExportedTypes() .Where(type => type.Namespace != null && !type.Namespace.Contains("Internal")) .ToArray() }) .Replace(Environment.NewLine, "\r\n"));
public void IsUnchanged() => AssertFile.Contains( "../../../api.txt", ApiGenerator.GeneratePublicApi(typeof(Command).Assembly).Replace(Environment.NewLine, "\r\n"));
public void IsUnchanged() => AssertFile.Contains( #if NETCOREAPP2_2 "../../../api-netcoreapp2_2.txt", #endif ApiGenerator.GeneratePublicApi(typeof(Command).Assembly).Replace(Environment.NewLine, "\r\n"));