Comments (1)
The issue you refer to was about SA1000 triggering when there were no spaces.
The behaviour you are seeing is by design. If you try Visual Studio's built in formatting (Ctrl K D), you will se that it removes the space between new
and the parenthesis. At least if you are using the default formatting settings. This is the expected formatting according to SA1000:
Dog dog = new(3);
from stylecopanalyzers.
Related Issues (20)
- SA1118 triggers for collection expression when List constructors worked just fine HOT 2
- SA1008, SA1012: false positives for property pattern inside parentheses HOT 3
- System.NullReferenceExceptions with v 1.1.118 HOT 2
- `SA1010` should not fire for collection expressions HOT 2
- Do not warn SA1001 (Commas should be spaced correctly) if comma follows a preprocessor directive HOT 4
- SA1004 false-positive when first token on XML doc line is out keyword from wrapped params in <see cref="...."/>
- Will there be a release? HOT 1
- SA1214 (Readonly fields should appear before non-readonly fields) should not apply to fields when [StructLayout(LayoutKind.Sequential)] is in use.
- SA1010 false positive when instantiating empty array HOT 2
- SA1003 should validate null-coalescing assignment operator HOT 1
- SA1010 Opening square brackets should not be preceded by a space HOT 4
- SA1200 Using directive should appear within a namespace declaration HOT 4
- What would be needed for a new release version? HOT 1
- New rule: don't use string interpolation $ without interpolation expression HOT 3
- How to enable stylecop again? It suddenly stopped working HOT 1
- SA1404 throws NullReferenceException
- SA1611 not throwing warning for additional parameter in the "private" method if documentation not available for it HOT 4
- SA1009 ans SA1024 clashses in the middle of a line HOT 4
- SA1009 - Behavior in Switch expression
- SA1106 false positive on class with no body HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from stylecopanalyzers.