diff --git a/CSharpDriver.sln.DotSettings b/CSharpDriver.sln.DotSettings new file mode 100644 index 00000000000..d8e974a6b84 --- /dev/null +++ b/CSharpDriver.sln.DotSettings @@ -0,0 +1,214 @@ + + + + True + True + Equals for base class + True + typeName() + -1 + 0 + True + 2.0 + InCSharpTypeMember + + + + eq + True + public override bool Equals(object obj) => + Equals(obj as $type_name$); + + public bool Equals($type_name$ other) + { + if (object.ReferenceEquals(other, null)) { return false; } + if (object.ReferenceEquals(this, other)) { return true; } + return + GetType().Equals(other.GetType()) && + // compare members here. + $END$; + } + 0 + False + 1 + /* Copyright 2010-present MongoDB Inc. +* +* Licensed under the Apache License, Version 2.0 (the "License"); +* you may not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +*/ + +namespace $NAMESPACE$ +{ + public class $CLASS$ {$END$} +} + False + 1 + 0 + /* Copyright 2010-present MongoDB Inc. +* +* Licensed under the Apache License, Version 2.0 (the "License"); +* you may not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +*/ + +namespace $NAMESPACE$ +{ + public record $RECORD$($END$); +} + True + True + Equals for derived class + True + typeName() + -1 + 0 + True + 2.0 + InCSharpTypeMember + + + + eq + True + public override bool Equals(object obj) => + Equals(obj as $type_name$); + + public bool Equals($type_name$ other) + { + if (object.ReferenceEquals(other, null)) { return false; } + if (object.ReferenceEquals(this, other)) { return true; } + return + base.Equals(other) && + // compare members here. + $END$; + } + False + 0 + 1 + /* Copyright 2010-present MongoDB Inc. +* +* Licensed under the Apache License, Version 2.0 (the "License"); +* you may not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +*/ + +namespace $NAMESPACE$ +{ + public interface $INTERFACE$ {$END$} +} + 0 + False + 1 + /* Copyright 2010-present MongoDB Inc. +* +* Licensed under the Apache License, Version 2.0 (the "License"); +* you may not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +*/ + +namespace $NAMESPACE$ +{ + public enum $ENUM$ {$END$} +} + False + 1 + 0 + /* Copyright 2010-present MongoDB Inc. +* +* Licensed under the Apache License, Version 2.0 (the "License"); +* you may not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +*/ + +namespace $NAMESPACE$ +{ + public struct $STRUCT$ {$END$} +} + + True + True + Equals for non-polymorpic class + True + typeName() + -1 + 0 + True + 2.0 + InCSharpTypeMember + eq + True + public override bool Equals(object obj) => + Equals(obj as $type_name$); + + public bool Equals($type_name$ other) + { + if (object.ReferenceEquals(other, null)) { return false; } + if (object.ReferenceEquals(this, other)) { return true; } + + // compare members here + return $END$; + } + True + public override bool Equals(object obj) => + obj is $type_name$ other && Equals(other); + + public bool Equals($type_name$ other) + { + // compare members here + return $END$; + } + True + True + + + + True + InCSharpTypeMember + 2.0 + eq + Equals for struct + True + 0 + typeName() + -1