Symbols\Source\SourceAssemblySymbol.cs (49)
133var importOptions = (compilation.Options.MetadataImportOptions == MetadataImportOptions.All) ?
145if (!compilation.Options.CryptoPublicKey.IsEmpty)
148_lazyStrongNameKeys = StrongNameKeys.Create(compilation.Options.CryptoPublicKey, privateKey: null, hasCounterSignature: false, MessageProvider.Instance);
482string keyFile = _compilation.Options.CryptoKeyFile;
485if (DeclaringCompilation.Options.PublicSign)
496Debug.Assert(!DeclaringCompilation.Options.Errors.IsEmpty);
514string keyContainer = _compilation.Options.CryptoKeyContainer;
527return StrongNameKeys.Create(DeclaringCompilation.Options.StrongNameProvider, keyFile, keyContainer, hasCounterSignature, MessageProvider.Instance);
585if (StrongNameKeys.DiagnosticOpt != null && !_compilation.Options.OutputKind.IsNetModule())
601if (DeclaringCompilation.Options.PublicSign)
603if (_compilation.Options.OutputKind.IsNetModule())
618if (DeclaringCompilation.Options.OutputKind != OutputKind.NetModule &&
619DeclaringCompilation.Options.CryptoPublicKey.IsEmpty &&
622!DeclaringCompilation.Options.PublicSign &&
647CSharpCompilationOptions compilationOptions = compilation.Options;
686CSharpCompilationOptions compilationOptions = compilation.Options;
771if (_compilation.Options.DelaySign.HasValue && (assemblyDelaySignAttributeSetting != ThreeState.Unknown) &&
772(DeclaringCompilation.Options.DelaySign.Value != (assemblyDelaySignAttributeSetting == ThreeState.True)))
777if (_compilation.Options.PublicSign && assemblyDelaySignAttributeSetting == ThreeState.True)
780nameof(_compilation.Options.PublicSign),
784if (!String.IsNullOrEmpty(_compilation.Options.CryptoKeyContainer))
790if (_compilation.Options.OutputKind == OutputKind.NetModule)
800else if (String.Compare(_compilation.Options.CryptoKeyContainer, assemblyKeyContainerAttributeSetting, StringComparison.OrdinalIgnoreCase) != 0)
813if (_compilation.Options.OutputKind == OutputKind.NetModule)
824if (_compilation.Options.PublicSign &&
825!_compilation.Options.OutputKind.IsNetModule() &&
831if (!String.IsNullOrEmpty(_compilation.Options.CryptoKeyFile))
837if (_compilation.Options.OutputKind == OutputKind.NetModule)
847else if (String.Compare(_compilation.Options.CryptoKeyFile, assemblyKeyFileAttributeSetting, StringComparison.OrdinalIgnoreCase) != 0)
850if (_compilation.Options.OutputKind == OutputKind.NetModule)
861if (_compilation.Options.PublicSign &&
862!_compilation.Options.OutputKind.IsNetModule() &&
874if (_compilation.Options.DelaySign.HasValue)
876return _compilation.Options.DelaySign.Value;
880if (_compilation.Options.PublicSign)
988if (_modules.Length > 1 && !_compilation.Options.OutputKind.IsNetModule())
1364if (_compilation.Options.OutputKind.IsNetModule())
1464if (_compilation.Options.OutputKind.IsNetModule())
1815if (_compilation.Options.AllowUnsafe)
1942CSharpCompilationOptions options = _compilation.Options;
2014if (_compilation.Options.OutputKind == OutputKind.NetModule)
2019if (!string.IsNullOrEmpty(_compilation.Options.CryptoKeyContainer) &&
2025var typedConstant = new TypedConstant(stringType, TypedConstantKind.Primitive, _compilation.Options.CryptoKeyContainer);
2029if (!String.IsNullOrEmpty(_compilation.Options.CryptoKeyFile) &&
2035var typedConstant = new TypedConstant(stringType, TypedConstantKind.Primitive, _compilation.Options.CryptoKeyFile);
2182VersionHelper.GenerateVersionFromPatternAndCurrentTime(_compilation.Options.CurrentLocalTime, AssemblyVersionAttributeSetting),
2434if (_compilation.Options.OutputKind.IsApplication())
2659internal override bool IsNetModule() => this._compilation.Options.OutputKind.IsNetModule();
2865else if (!_compilation.Options.OutputKind.IsNetModule())