Skip to content

Commit a63c4be

Browse files
committed
Better diff
1 parent 83f6a73 commit a63c4be

28 files changed

Lines changed: 28 additions & 28 deletions

src/CodeAnalysis.Extensions/Extensions/CodeAnalysisExtensions.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,4 +26,4 @@ private static class InnerNamespaces
2626

2727
internal const string SystemTextJsonSerialization = "System.Text.Json.Serialization";
2828
}
29-
}
29+
}

src/CodeAnalysis.Extensions/Extensions/Ext.AsStringSourceCodeOr.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,4 @@ private static string InnerWrapStringSourceCode(string source)
1515
var encodedString = source.Replace("\"", "\\\"");
1616
return $"\"{encodedString}\"";
1717
}
18-
}
18+
}

src/CodeAnalysis.Extensions/Extensions/Ext.Attribute.GetConstructorArgumentValue.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,4 @@ partial class CodeAnalysisExtensions
1717

1818
return attributeData?.ConstructorArguments[constructorOrder].Value;
1919
}
20-
}
20+
}

src/CodeAnalysis.Extensions/Extensions/Ext.Attribute.GetNamedArgumentValue.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,4 @@ bool IsNameMatched(KeyValuePair<string, TypedConstant> pair)
1818
=>
1919
string.Equals(pair.Key, propertyName, CodeLineComparison);
2020
}
21-
}
21+
}

src/CodeAnalysis.Extensions/Extensions/Ext.GetCollectionType.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,4 +80,4 @@ static bool IsCurrentProperty(IPropertySymbol propertySymbol)
8080
=>
8181
string.Equals(propertySymbol.Name, "Current", CodeLineComparison);
8282
}
83-
}
83+
}

src/CodeAnalysis.Extensions/Extensions/Ext.GetDisplayedData.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,4 +95,4 @@ static string GetName(DisplayedTypeData typeData)
9595

9696
return null;
9797
}
98-
}
98+
}

src/CodeAnalysis.Extensions/Extensions/Ext.GetEnumFields.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,4 +23,4 @@ static bool IsNameNotEmpty(IFieldSymbol fieldSymbol)
2323
=>
2424
string.IsNullOrEmpty(fieldSymbol.Name) is false;
2525
}
26-
}
26+
}

src/CodeAnalysis.Extensions/Extensions/Ext.GetEnumUnderlyingType.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,4 @@ partial class CodeAnalysisExtensions
77
public static INamedTypeSymbol? GetEnumUnderlyingType(this ITypeSymbol typeSymbol)
88
=>
99
typeSymbol is INamedTypeSymbol namedTypeSymbol ? namedTypeSymbol.EnumUnderlyingType : null;
10-
}
10+
}

src/CodeAnalysis.Extensions/Extensions/Ext.GetJsonProperties.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,4 +33,4 @@ static bool IsJsonIgnoreAttribute(AttributeData attributeData)
3333
return attributeData.InnerGetNamedArgumentValue("Condition") is null or 1;
3434
}
3535
}
36-
}
36+
}

src/CodeAnalysis.Extensions/Extensions/Ext.GetJsonPropertyName.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,4 +26,4 @@ static bool IsJsonPropertyNameAttribute(AttributeData attributeData)
2626
=>
2727
InnerIsType(attributeData.AttributeClass, "System.Text.Json.Serialization", "JsonPropertyNameAttribute");
2828
}
29-
}
29+
}

0 commit comments

Comments
 (0)