- 24 12月, 2014 40 次提交
-
-
由 AlekseyTs 提交于
VB Unstructured Exception Handling: Finish work to comply with requirement that IL shall only differ between Release and Debug. Enable/fix all Unstructured Exception Handling unit-tests. ***NO_CI*** (changeset 1386638)
-
由 mattwar 提交于
-
由 manishv 提交于
Fix for bug 1095705: The analyzer driver makes duplicate callbacks for FieldDeclarationSyntax nodes (https://roslyn.codeplex.com/workitem/462) We ended up making duplicate callbacks for field declarations for syntax analyzers, as the declaring node for the decl is the variable declarator within the field declaration. Fix is to make sure that we compute the topmost node used for syntax analysis for declarations. Fixes codeplex issue 462. (changeset 1386620)
-
由 angocke 提交于
This changeset introduces the concept of a "global" nuget package. The references to the NuGet packages are inserted into the Open VSL.Settings.targets file, which is imported into every project in Roslyn. This ensures that every project automatically gets these "global" packages. (changeset 1386548)
-
由 acasey 提交于
The expression compiler always allows unsafe code, so we introduce a global unsafe context into the binder chain. Unfortunately, "await" is not allowed in unsafe contexts. We specifically suppress the error (CS4004) because not introducing a global unsafe context would require the suppression of far more unsafe-region-required errors. There is no corresponding issue in VB, which lacks unsafe contexts. CR: chucks; ngafter; alekseyt (changeset 1386533)
-
由 jaredpar 提交于
Paul alerted me to a bug in the first change I made to VBCSCompiler. I caused it to ignore its keepAlive value in certain situations. This went unnoticed because there wasn't a test covering this and I fixed it, inadvertently, in a subsequent change. This change adds a series of unit tests to track this scenario and other related ones. Additionally it changed the compiler to thread through the response file path. The method of calculating the path in a static property using Assembly.GetEntryAssembly does not work in xUnit. Now that the value is threaded through xUnit can pass in any directory it chooses. Whether or not the file is on disk at that location is immaterial, compilers already have to handle the absence of this file. ***NO_CI*** (changeset 1386527)
-
由 KevinRansom 提交于
Mainly: 1. disables some tests that fail in the OSS branch. 2. Fakesigns the diagnostics implementation assemblies 3. Fakesign the TestResourcesProprietary dll, which is deployed via nuget. (changeset 1386520)
-
由 acasey 提交于
Covers both ObsoleteAttribute and DeprecatedAttribute. CR: chucks; ngafter; alekseyt (changeset 1386517)
-
由 AlekseyTs 提交于
Anonymous Type.ToString() implementation should use overload of String.Format that takes IFormatProvider. Also, C# implementation should explicitly call Object.ToString on each property value before passing it to the Format function, this ensures compatibility with code generated by native compiler. ***NO_CI*** (changeset 1386476)
-
由 AlekseyTs 提交于
***NO_CI*** (changeset 1386442)
-
由 TomasMatousek 提交于
EnC: Fixes synthesized member merging. The previous impl didn't handle case of adding non-syntheszed member after updating a method that generates a synthesized type (state machine). (changeset 1386078)
-
由 nmgafter 提交于
-
由 VSadov 提交于
***NO_CI*** (changeset 1385867)
-
由 mattwar 提交于
-
由 angocke 提交于
-
由 srivatsn 提交于
When only a simple name is allowed in a context the expander shouldn't try to expand anything. Teach the expander that in C#, a MemberBindingExpression(the thing that follows ?) can only have a simplename after it. In VB, this is just a memberaccess and so the expander already knows what to do. (changeset 1385689)
-
由 ChuckStoner 提交于
-
由 pgavlin 提交于
This brings us back on par with Dev12. ***NO_CI*** (changeset 1385660)
-
由 TomasMatousek 提交于
Updates System.Collections.Immutable and System.Metadata.Reader to versions 1.1.33-beta and 1.0.18-beta, respectively. Updates VSMEF to the latest build from VSPRO_1. A few code fixes: - ImmutableArrayInterop is gone - in product we used in a couple of places where we now just create a copy of the byte[] (MetadataWriter) - test infrastructure uses a workaround with explicitly laid out union to avoid copies of large metadata blobs - EditorTestApp class was incorrectly importing MEF components resulting in a cycle. The new VSMEF reports such errors. (changeset 1385613)
-
由 pgavlin 提交于
The Color Color handling in the binder originally used lookup to decide the meaning of an ambiguous identifier as a simple name or type name instead of binding. This was done for two reasons: - Binding is more expensive than lookup - Binding may have side effects that are undesirable depending on how the Color Color binding is ultimately resolved Unfortunately, this is not correct: the meaning of an identifier as outlined in the spec is defined by binding. This caused the compiler to incorrectly fail to recognize Color Color in situations where a simple name or type name lookup is ambiguous but a bind of the same is not. This change replaces the lookups used in Color Color with binds, which brings Roslyn's behavior back in line with Dev12 and the spec in cases that fit such cases. This change is likely to be slightly perf-positive in cases involving a simple name that does not bind to a symbol that qualifies for the Color Color rule: in this case, the old code performed a lookup followed by a bind, whereas the new code simply performs a bind and returns the result. There is likely to be a perf penalty in a true Color Color case, however, as the bound node is larger and the new code is unconditionally binding the type even in the case where the type will not be used (whereas the old code would simply look up the type). ***NO_CI*** (changeset 1385215)
-
由 jasonmalinowski 提交于
These projects were already consuming these packages in the project files, but didn't declare so in the packages.config. This brings stuff more up to sync. (changeset 1385208)
-
由 TomasMatousek 提交于
The IDE and the compiler didn't agree on the breakpoint span for VB let clauses. Fixes the IDE to match the compiler. (changeset 1385141)
-
由 jasonmalinowski 提交于
This API was left in by accident from the portable MEF switch. It creates a container that is empty since it's looking for MEFv1 attributes in a MEFv2 assembly. Any use of the resulting HostServices will just fail. CR: mavasani; jaredpar (changeset 1385133)
-
由 angocke 提交于
Change the hardcoded version style to include the full Roslyn semantic version, rather than just the major version number. ***NO_CI*** (changeset 1385097)
-
由 angocke 提交于
***NO_CI*** (changeset 1384854)
-
由 BalajiKris 提交于
Fixes bug 1069237 - conflict resolution doesn't work inside expression bodied lambdas. (changeset 1384823)
-
由 nmgafter 提交于
Reword quoted overload resolution rule to align with proposed spec text. (Comment change only) (changeset 1384807)
-
由 manishv 提交于
Fix for bug 1094337: Remove /option switch in command line compilers and remove global options and culture on AnalyzerOptions Remove "/option" command line switch added for custom key-value pair analyzer options. There is no way to specify these options in the msbuild project file, so we will just revert the command line support and add it back once the end-to-end scenario is implemented for analyzer options. Additionally, also remove the Culture passed into the analyzer options. Diagnostic analyzer authors need not report localized diagnostics, just localizable diagnostics, which can be localized for any given culture by the analyzer host (IDE/command line compiler). (changeset 1384781)
-
由 manishv 提交于
Fix for bug 1089200: Previewless subclasses of CodeActionWithOptions should not require empty override of ComputeOperationsAsync(CancellationToken) Override ComputeOperationsAsync(CancellationToken) in CodeActionWithOptions to return empty operations. Additionally, add an internal virtual GetOperationsCoreAsync on CodeAction, which is overriden in CodeActionWithOptions to invoke GetOperations(options, cancellationToken). This avoids code action hosts to explicitly check for CodeAction's runtime type to get code action operations. (changeset 1384776)
-
由 AlekseyTs 提交于
C#: Do not bind constructor initializer for an “external” constructor, report an error if constructor initializer is present in code. This prevents unexpected diagnostics. Fixes #386. ***NO_CI*** (changeset 1384736)
-
由 jaredpar 提交于
The documentation for PortableExecutableReference::CreateDocumentationProvider appears to be incorrect. It suggests the method can only be called once per instance which is inconsistent with the usage in the property DocumentationProvider. Updated documentation to match the usage behavior. (changeset 1384654)
-
由 nmgafter 提交于
-
由 AlekseyTs 提交于
Metadata: associate custom attributes with correct rows in generic parameters metadata table. Fixes #121. (changeset 1384436)
-
由 manishv 提交于
Fix for bug 1036352: Update preview dialog to be able to display all types of changes including added / removed documents, changes to additional documents, references etc. Add support for references and additional document changes to preview changes dialog. (changeset 1384198)
-
由 manishv 提交于
-
由 TomasMatousek 提交于
Add an overload of EmitDifferent that doesn't take isAddedSymbol - we only need isAddedSymbol temporarily until CLR bug 1094313 is fixed. It will be simpler to remove/obsolete the overload once it's not needed. (changeset 1384161)
-
由 mattwar 提交于
-
由 TomasMatousek 提交于
Due to CLR bug 1094313 the added members can't be referenced from another assembly. For now we report a rude edit if we detect a MemberRef or TypeRef to a symbol added during debugging. (changeset 1384081)
-
由 wochae 提交于
Porting the recent C# changes to support EnC for VB Async and Iterator. (changeset 1384053)
-
由 pgavlin 提交于
Many uses of MultiDictionary incur unnecessary overhead due to double-lookup or key enumeration and value lookup patterns and unnecessary allocations. This change enables single-lookup patterns, removes a number of allocations from typical uses of MultiDictionary, and cuts the surface area down to what it actually used by the product. ***NO_CI*** (changeset 1384052)
-