Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion src/Autofac/Module.cs
Original file line number Diff line number Diff line change
Expand Up @@ -52,18 +52,17 @@
/// <see cref="Module"/>.
/// </summary>
[SuppressMessage("Design", "CA1065:Do not raise exceptions in unexpected locations", Justification = "Prevent breaking change")]
protected virtual Assembly ThisAssembly

Check failure on line 55 in src/Autofac/Module.cs

View workflow job for this annotation

GitHub Actions / build / build

; expected

Check failure on line 55 in src/Autofac/Module.cs

View workflow job for this annotation

GitHub Actions / build / build

; expected
{
get

Check failure on line 56 in src/Autofac/Module.cs

View workflow job for this annotation

GitHub Actions / dotnet-format / dotnet-format

The name 'get' does not exist in the current context.

Check failure on line 56 in src/Autofac/Module.cs

View workflow job for this annotation

GitHub Actions / dotnet-format / dotnet-format

The name 'get' does not exist in the current context.

Check failure on line 56 in src/Autofac/Module.cs

View workflow job for this annotation

GitHub Actions / dotnet-format / dotnet-format

The name 'get' does not exist in the current context.

Check failure on line 56 in src/Autofac/Module.cs

View workflow job for this annotation

GitHub Actions / dotnet-format / dotnet-format

The name 'get' does not exist in the current context.
{

Check failure on line 57 in src/Autofac/Module.cs

View workflow job for this annotation

GitHub Actions / build / build

Invalid token '{' in a member declaration

Check failure on line 57 in src/Autofac/Module.cs

View workflow job for this annotation

GitHub Actions / build / build

Invalid token '{' in a member declaration
var thisType = GetType();

Check warning on line 58 in src/Autofac/Module.cs

View workflow job for this annotation

GitHub Actions / dotnet-format / dotnet-format

Naming rule violation: Missing prefix: '_'

Check warning on line 58 in src/Autofac/Module.cs

View workflow job for this annotation

GitHub Actions / dotnet-format / dotnet-format

Naming rule violation: Missing prefix: '_'

Check warning on line 58 in src/Autofac/Module.cs

View workflow job for this annotation

GitHub Actions / dotnet-format / dotnet-format

Naming rule violation: Missing prefix: '_'

Check warning on line 58 in src/Autofac/Module.cs

View workflow job for this annotation

GitHub Actions / dotnet-format / dotnet-format

Naming rule violation: Missing prefix: '_'

Check warning on line 58 in src/Autofac/Module.cs

View workflow job for this annotation

GitHub Actions / dotnet-format / dotnet-format

Naming rule violation: Missing prefix: '_'

Check warning on line 58 in src/Autofac/Module.cs

View workflow job for this annotation

GitHub Actions / dotnet-format / dotnet-format

Naming rule violation: Missing prefix: '_'

Check warning on line 58 in src/Autofac/Module.cs

View workflow job for this annotation

GitHub Actions / dotnet-format / dotnet-format

Naming rule violation: Missing prefix: '_'

Check warning on line 58 in src/Autofac/Module.cs

View workflow job for this annotation

GitHub Actions / dotnet-format / dotnet-format

Naming rule violation: Missing prefix: '_'
var baseType = thisType.BaseType;

Check warning on line 59 in src/Autofac/Module.cs

View workflow job for this annotation

GitHub Actions / dotnet-format / dotnet-format

Naming rule violation: Missing prefix: '_'

Check warning on line 59 in src/Autofac/Module.cs

View workflow job for this annotation

GitHub Actions / dotnet-format / dotnet-format

Naming rule violation: Missing prefix: '_'

Check warning on line 59 in src/Autofac/Module.cs

View workflow job for this annotation

GitHub Actions / dotnet-format / dotnet-format

Naming rule violation: Missing prefix: '_'

Check warning on line 59 in src/Autofac/Module.cs

View workflow job for this annotation

GitHub Actions / dotnet-format / dotnet-format

Naming rule violation: Missing prefix: '_'

Check warning on line 59 in src/Autofac/Module.cs

View workflow job for this annotation

GitHub Actions / dotnet-format / dotnet-format

Naming rule violation: Missing prefix: '_'

Check warning on line 59 in src/Autofac/Module.cs

View workflow job for this annotation

GitHub Actions / dotnet-format / dotnet-format

Naming rule violation: Missing prefix: '_'

Check warning on line 59 in src/Autofac/Module.cs

View workflow job for this annotation

GitHub Actions / dotnet-format / dotnet-format

Naming rule violation: Missing prefix: '_'

Check warning on line 59 in src/Autofac/Module.cs

View workflow job for this annotation

GitHub Actions / dotnet-format / dotnet-format

Naming rule violation: Missing prefix: '_'
if (baseType != typeof(Module))

Check failure on line 60 in src/Autofac/Module.cs

View workflow job for this annotation

GitHub Actions / build / build

Invalid token ')' in a member declaration

Check failure on line 60 in src/Autofac/Module.cs

View workflow job for this annotation

GitHub Actions / build / build

Tuple must contain at least two elements.

Check failure on line 60 in src/Autofac/Module.cs

View workflow job for this annotation

GitHub Actions / build / build

Invalid token '!=' in a member declaration

Check failure on line 60 in src/Autofac/Module.cs

View workflow job for this annotation

GitHub Actions / build / build

) expected

Check failure on line 60 in src/Autofac/Module.cs

View workflow job for this annotation

GitHub Actions / build / build

Tuple must contain at least two elements.

Check failure on line 60 in src/Autofac/Module.cs

View workflow job for this annotation

GitHub Actions / build / build

Invalid token 'if' in a member declaration

Check failure on line 60 in src/Autofac/Module.cs

View workflow job for this annotation

GitHub Actions / dotnet-format / dotnet-format

The name 'baseType' does not exist in the current context.

Check failure on line 60 in src/Autofac/Module.cs

View workflow job for this annotation

GitHub Actions / dotnet-format / dotnet-format

The name 'baseType' does not exist in the current context.

Check failure on line 60 in src/Autofac/Module.cs

View workflow job for this annotation

GitHub Actions / build / build

Invalid token ')' in a member declaration

Check failure on line 60 in src/Autofac/Module.cs

View workflow job for this annotation

GitHub Actions / build / build

Tuple must contain at least two elements.

Check failure on line 60 in src/Autofac/Module.cs

View workflow job for this annotation

GitHub Actions / build / build

Invalid token '!=' in a member declaration

Check failure on line 60 in src/Autofac/Module.cs

View workflow job for this annotation

GitHub Actions / build / build

) expected

Check failure on line 60 in src/Autofac/Module.cs

View workflow job for this annotation

GitHub Actions / build / build

Tuple must contain at least two elements.

Check failure on line 60 in src/Autofac/Module.cs

View workflow job for this annotation

GitHub Actions / build / build

Invalid token 'if' in a member declaration

Check failure on line 60 in src/Autofac/Module.cs

View workflow job for this annotation

GitHub Actions / dotnet-format / dotnet-format

The name 'baseType' does not exist in the current context.

Check failure on line 60 in src/Autofac/Module.cs

View workflow job for this annotation

GitHub Actions / dotnet-format / dotnet-format

The name 'baseType' does not exist in the current context.
{
throw new InvalidOperationException(string.Format(CultureInfo.CurrentCulture, ModuleResources.ThisAssemblyUnavailable, thisType, baseType));

Check failure on line 62 in src/Autofac/Module.cs

View workflow job for this annotation

GitHub Actions / build / build

Syntax error, ',' expected

Check failure on line 62 in src/Autofac/Module.cs

View workflow job for this annotation

GitHub Actions / build / build

Identifier expected

Check failure on line 62 in src/Autofac/Module.cs

View workflow job for this annotation

GitHub Actions / build / build

Syntax error, ',' expected

Check failure on line 62 in src/Autofac/Module.cs

View workflow job for this annotation

GitHub Actions / build / build

Identifier expected
}

Check warning on line 63 in src/Autofac/Module.cs

View workflow job for this annotation

GitHub Actions / dotnet-format / dotnet-format

Closing brace should be followed by blank line

Check warning on line 63 in src/Autofac/Module.cs

View workflow job for this annotation

GitHub Actions / dotnet-format / dotnet-format

Closing brace should be followed by blank line

return thisType.Assembly;

Check failure on line 65 in src/Autofac/Module.cs

View workflow job for this annotation

GitHub Actions / dotnet-format / dotnet-format

The name 'Assembly' does not exist in the current context.

Check failure on line 65 in src/Autofac/Module.cs

View workflow job for this annotation

GitHub Actions / dotnet-format / dotnet-format

The name 'thisType' does not exist in the current context.

Check failure on line 65 in src/Autofac/Module.cs

View workflow job for this annotation

GitHub Actions / dotnet-format / dotnet-format

The name 'thisType.Assembly' does not exist in the current context.

Check failure on line 65 in src/Autofac/Module.cs

View workflow job for this annotation

GitHub Actions / dotnet-format / dotnet-format

The name 'Assembly' does not exist in the current context.

Check failure on line 65 in src/Autofac/Module.cs

View workflow job for this annotation

GitHub Actions / dotnet-format / dotnet-format

The name 'thisType' does not exist in the current context.

Check failure on line 65 in src/Autofac/Module.cs

View workflow job for this annotation

GitHub Actions / dotnet-format / dotnet-format

The name 'thisType.Assembly' does not exist in the current context.

Check failure on line 65 in src/Autofac/Module.cs

View workflow job for this annotation

GitHub Actions / dotnet-format / dotnet-format

The name 'Assembly' does not exist in the current context.

Check failure on line 65 in src/Autofac/Module.cs

View workflow job for this annotation

GitHub Actions / dotnet-format / dotnet-format

The name 'thisType' does not exist in the current context.

Check failure on line 65 in src/Autofac/Module.cs

View workflow job for this annotation

GitHub Actions / dotnet-format / dotnet-format

The name 'thisType.Assembly' does not exist in the current context.

Check failure on line 65 in src/Autofac/Module.cs

View workflow job for this annotation

GitHub Actions / dotnet-format / dotnet-format

The name 'Assembly' does not exist in the current context.

Check failure on line 65 in src/Autofac/Module.cs

View workflow job for this annotation

GitHub Actions / dotnet-format / dotnet-format

The name 'thisType' does not exist in the current context.

Check failure on line 65 in src/Autofac/Module.cs

View workflow job for this annotation

GitHub Actions / dotnet-format / dotnet-format

The name 'thisType.Assembly' does not exist in the current context.
}
}

Expand Down Expand Up @@ -147,3 +146,3 @@
(sender, e) => AttachToRegistrationSource(e.ComponentRegistry, e.RegistrationSource);
}
}
Loading