- 17 2月, 2015 6 次提交
-
-
由 Andrew Casey 提交于
Remove debug output cluttering the test results.
-
由 Andrew Casey 提交于
Fixes #512
-
由 Andrew Casey 提交于
Automated checkin: update Concord binaries from \\cpvsbuild\drops\dev14\VSPro_1\raw\22613.00 to version 22616.00.
-
由 Jared Parsons 提交于
Add an .editorconfig file
-
由 David Poeschl 提交于
Improve project load/unload performance around linked file mapping
-
由 Stephen Toub 提交于
Avoid unnecessary boxing with String.Concat
-
- 16 2月, 2015 1 次提交
-
-
由 Stephen Toub 提交于
When string concatenation encounters non-strings (e.g. path + '/', name + someInt32, etc.), it calls overloads of String.Concat that accept objects. These overloads then just call ToString on each of the objects, mapping to the C# spec which states that "any non-string argument is converted to its string representation by invoking the virtual ToString method inherited from type object." When any of the individual items being concatenated is a value type, that object first gets boxed to be passed to String.Concat as an object, only to then have ToString called on the boxed object. This commit changes the local rewriter for string concatenation to test whether an argument is of an appropriate type, and if it is, to call ToString on it directly, rather than first boxing it. This can then affect which overload of Concat is used, as the type of the argument has changed to be String. The primary benefit of this is saving the allocation per value-type item. There are some secondary benefits, as well; for example, as there is a four-string overload of Concat but no four-object overload of Concat, if this optimization is able to force all of the items to be strings, the four-string overload can be used rather than allocating an object array for the inputs and then another string array for the resulting strings (inside of Concat). This commit also includes an additional optimization specific to const chars; rather than doing a ToString call at run time, we can do it at compile-time and emit a literal string instead of a literal char, saving both the boxing and the string allocation at run time.
-
- 15 2月, 2015 6 次提交
-
-
由 Stephen Toub 提交于
Minor tweaks to avoid some allocations
-
由 Jared Parsons 提交于
Fix format
-
由 beep boop 提交于
This type was mistakenly not formatted when the code was added to GitHub.
-
由 beep boop 提交于
These were mistakenly omitted when these files were originally pushed to GitHub.
-
由 Stephen Toub 提交于
Fix up some places where: - Char literals were used in string concatenation, resulting in boxing and string allocations that could be avoided if a string literal were used instead - Value types were used in string concatenation, resulting in unnecessary boxing allocations
-
由 Andy Gocke 提交于
Reduce C# emit test allocations
-
- 14 2月, 2015 27 次提交
-
-
由 Heejae Chang 提交于
preserve encoding over temporary storage
-
-
由 Andy Gocke 提交于
-
由 Tomas Matousek 提交于
-
由 Tomas Matousek 提交于
-
由 Tomas Matousek 提交于
-
由 Tomas Matousek 提交于
-
由 Tomas Matousek 提交于
-
由 Tomas Matousek 提交于
-
由 Tomas Matousek 提交于
-
-
由 Heejae Chang 提交于
some code clean up based on PR feedback
-
由 Tomas Matousek 提交于
-
由 Tomas Matousek 提交于
-
由 Tomas Matousek 提交于
-
由 Andy Gocke 提交于
This change reduces the VM used and memory allocated in the emit tests by moving the WinRT tests to their own DLL and removing the extra mscorlib reference. The cause of most of the allocations in the Emit unit tests was serializing the WinRT assemblies across app domains. There were three reasons the DLLs needed to be serialized: 1) PeVerify currently requires a separate app domain to be used if any of the references of the assembly to be verified have already been loaded into the current app domain and have a different MVID. 2) The WinRT tests all use a separate version of mscorlib, so they will all reference an assembly with a different MVID than the one loaded. 3) Most of the WinRT tests were accidentally pulling two references to mscorlib, also always leading to a conflict. All of these issues should be resolved. The CSharp.Emit unit tests now allocated 400 MB less and have > 100 MB smaller peak VM. Fixes #386.
-
由 Dustin Campbell 提交于
Code review feedback for PR #488
-
由 Tomas Matousek 提交于
-
由 Tomas Matousek 提交于
-
由 Manish Vasani 提交于
Fix #251: Preview Changes dialog always shows additional files as empty
-
由 Andy Gocke 提交于
-
由 Dustin Campbell 提交于
-
由 Dustin Campbell 提交于
-
由 Srivatsn Narayanan 提交于
Fixing the assembly name of BasicSystemRuntimeAnalyzers project which ha...
-
由 Srivatsn Narayanan 提交于
Fixing the assembly name of BasicSystemRuntimeAnalyzers project which had the same name as another project (copy\paste error)
-
由 Dustin Campbell 提交于
Fix Code Model bug reported by @carlos-j-quintero
-
由 Jason Malinowski 提交于
Unify VS Setup
-